diff --git a/LSP-tailwindcss.sublime-settings b/LSP-tailwindcss.sublime-settings index 1484cbc..8d21fa7 100644 --- a/LSP-tailwindcss.sublime-settings +++ b/LSP-tailwindcss.sublime-settings @@ -3,6 +3,11 @@ "tailwindCSS.colorDecorators": true, "tailwindCSS.emmetCompletions": false, "tailwindCSS.includeLanguages": {}, + "tailwindCSS.files.exclude": [ + "**/.git/**", + "**/node_modules/**", + "**/.hg/**" + ], "tailwindCSS.classAttributes": [ "class", "className", diff --git a/language-server/package-lock.json b/language-server/package-lock.json index c074bca..2e0bba7 100644 --- a/language-server/package-lock.json +++ b/language-server/package-lock.json @@ -1,6 +1,6 @@ { "name": "vscode-tailwindcss", - "version": "0.7.4", + "version": "0.7.7", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -155,9 +155,9 @@ "dev": true }, "css-select": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/css-select/-/css-select-4.2.0.tgz", - "integrity": "sha512-6YVG6hsH9yIb/si3Th/is8Pex7qnVHO6t7q7U6TIUnkQASGbS8tnUDBftnPynLNnuUl/r2+PTd0ekiiq7R0zJw==", + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/css-select/-/css-select-4.2.1.tgz", + "integrity": "sha512-/aUslKhzkTNCQUB2qTX84lVmfia9NyjP3WpDGtj/WxhwBzWBYUV3DgUpurHTme8UTPcPlAD1DJ+b0nN/t50zDQ==", "dev": true, "requires": { "boolbase": "^1.0.0", @@ -365,9 +365,9 @@ "dev": true }, "minimatch": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", - "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", + "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", "dev": true, "requires": { "brace-expansion": "^1.1.7" diff --git a/language-server/package.json b/language-server/package.json index 8b9356c..4e41602 100644 --- a/language-server/package.json +++ b/language-server/package.json @@ -5,7 +5,7 @@ "preview": true, "author": "Brad Cornes ", "license": "MIT", - "version": "0.7.4", + "version": "0.7.7", "homepage": "https://github.com/tailwindlabs/tailwindcss-intellisense", "bugs": { "url": "https://github.com/tailwindlabs/tailwindcss-intellisense/issues", @@ -119,6 +119,18 @@ "default": {}, "markdownDescription": "Enable features in languages that are not supported by default. Add a mapping here between the new language and an already supported language.\n E.g.: `{\"plaintext\": \"html\"}`" }, + "tailwindCSS.files.exclude": { + "type": "array", + "items": { + "type": "string" + }, + "default": [ + "**/.git/**", + "**/node_modules/**", + "**/.hg/**" + ], + "markdownDescription": "Configure glob patterns to exclude from all IntelliSense features. Inherits all glob patterns from the `#files.exclude#` setting." + }, "tailwindCSS.classAttributes": { "type": "array", "items": { diff --git a/language-server/server/tailwindServer.js b/language-server/server/tailwindServer.js index 69ff78a..91026ff 100644 --- a/language-server/server/tailwindServer.js +++ b/language-server/server/tailwindServer.js @@ -1,56 +1,56 @@ -(()=>{var __webpack_modules__={3319:(e,t,n)=>{e.exports=require(n.ab+"prebuilds/darwin-arm64/node.napi.glibc.node")},9181:(e,t,n)=>{e.exports=require(n.ab+"prebuilds/darwin-x64/node.napi.glibc.node")},3110:(e,t,n)=>{e.exports=require(n.ab+"prebuilds/linux-x64/node.napi.glibc.node")},456:(e,t,n)=>{e.exports=require(n.ab+"prebuilds/linux-x64/node.napi.musl.node")},7972:(e,t,n)=>{e.exports=require(n.ab+"prebuilds/win32-x64/node.napi.glibc.node")},1088:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createFileSystemAdapter=t.FILE_SYSTEM_ADAPTER=void 0;const r=n(5747);t.FILE_SYSTEM_ADAPTER={lstat:r.lstat,stat:r.stat,lstatSync:r.lstatSync,statSync:r.statSync,readdir:r.readdir,readdirSync:r.readdirSync},t.createFileSystemAdapter=function(e){return void 0===e?t.FILE_SYSTEM_ADAPTER:Object.assign(Object.assign({},t.FILE_SYSTEM_ADAPTER),e)}},4919:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IS_SUPPORT_READDIR_WITH_FILE_TYPES=void 0;const n=process.versions.node.split(".");if(void 0===n[0]||void 0===n[1])throw new Error("Unexpected behavior. The 'process.versions.node' variable has invalid value: "+process.versions.node);const r=Number.parseInt(n[0],10),i=Number.parseInt(n[1],10),s=r>10,o=10===r&&i>=10;t.IS_SUPPORT_READDIR_WITH_FILE_TYPES=s||o},7552:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Settings=t.scandirSync=t.scandir=void 0;const r=n(7091),i=n(1328),s=n(3022);function o(e={}){return e instanceof s.default?e:new s.default(e)}t.Settings=s.default,t.scandir=function(e,t,n){"function"!=typeof t?r.read(e,o(t),n):r.read(e,o(),t)},t.scandirSync=function(e,t){const n=o(t);return i.read(e,n)}},7091:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.readdir=t.readdirWithFileTypes=t.read=void 0;const r=n(2580),i=n(1188),s=n(4919),o=n(8047),a=n(4845);function c(e,t,n){t.fs.readdir(e,{withFileTypes:!0},(r,s)=>{if(null!==r)return void u(n,r);const c=s.map(n=>({dirent:n,name:n.name,path:a.joinPathSegments(e,n.name,t.pathSegmentSeparator)}));if(!t.followSymbolicLinks)return void h(n,c);const l=c.map(e=>function(e,t){return n=>{e.dirent.isSymbolicLink()?t.fs.stat(e.path,(r,i)=>{if(null!==r)return t.throwErrorOnBrokenSymbolicLink?void n(r):void n(null,e);e.dirent=o.fs.createDirentFromStats(e.name,i),n(null,e)}):n(null,e)}}(e,t));i(l,(e,t)=>{null===e?h(n,t):u(n,e)})})}function l(e,t,n){t.fs.readdir(e,(s,c)=>{if(null!==s)return void u(n,s);const l=c.map(n=>{const i=a.joinPathSegments(e,n,t.pathSegmentSeparator);return e=>{r.stat(i,t.fsStatSettings,(r,s)=>{if(null!==r)return void e(r);const a={name:n,path:i,dirent:o.fs.createDirentFromStats(n,s)};t.stats&&(a.stats=s),e(null,a)})}});i(l,(e,t)=>{null===e?h(n,t):u(n,e)})})}function u(e,t){e(t)}function h(e,t){e(null,t)}t.read=function(e,t,n){t.stats||!s.IS_SUPPORT_READDIR_WITH_FILE_TYPES?l(e,t,n):c(e,t,n)},t.readdirWithFileTypes=c,t.readdir=l},4845:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.joinPathSegments=void 0,t.joinPathSegments=function(e,t,n){return e.endsWith(n)?e+t:e+n+t}},1328:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.readdir=t.readdirWithFileTypes=t.read=void 0;const r=n(2580),i=n(4919),s=n(8047),o=n(4845);function a(e,t){return t.fs.readdirSync(e,{withFileTypes:!0}).map(n=>{const r={dirent:n,name:n.name,path:o.joinPathSegments(e,n.name,t.pathSegmentSeparator)};if(r.dirent.isSymbolicLink()&&t.followSymbolicLinks)try{const e=t.fs.statSync(r.path);r.dirent=s.fs.createDirentFromStats(r.name,e)}catch(e){if(t.throwErrorOnBrokenSymbolicLink)throw e}return r})}function c(e,t){return t.fs.readdirSync(e).map(n=>{const i=o.joinPathSegments(e,n,t.pathSegmentSeparator),a=r.statSync(i,t.fsStatSettings),c={name:n,path:i,dirent:s.fs.createDirentFromStats(n,a)};return t.stats&&(c.stats=a),c})}t.read=function(e,t){return!t.stats&&i.IS_SUPPORT_READDIR_WITH_FILE_TYPES?a(e,t):c(e,t)},t.readdirWithFileTypes=a,t.readdir=c},3022:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(5622),i=n(2580),s=n(1088);t.default=class{constructor(e={}){this._options=e,this.followSymbolicLinks=this._getValue(this._options.followSymbolicLinks,!1),this.fs=s.createFileSystemAdapter(this._options.fs),this.pathSegmentSeparator=this._getValue(this._options.pathSegmentSeparator,r.sep),this.stats=this._getValue(this._options.stats,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!0),this.fsStatSettings=new i.Settings({followSymbolicLink:this.followSymbolicLinks,fs:this.fs,throwErrorOnBrokenSymbolicLink:this.throwErrorOnBrokenSymbolicLink})}_getValue(e,t){return null!=e?e:t}}},7876:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createDirentFromStats=void 0;class n{constructor(e,t){this.name=e,this.isBlockDevice=t.isBlockDevice.bind(t),this.isCharacterDevice=t.isCharacterDevice.bind(t),this.isDirectory=t.isDirectory.bind(t),this.isFIFO=t.isFIFO.bind(t),this.isFile=t.isFile.bind(t),this.isSocket=t.isSocket.bind(t),this.isSymbolicLink=t.isSymbolicLink.bind(t)}}t.createDirentFromStats=function(e,t){return new n(e,t)}},8047:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fs=void 0;const r=n(7876);t.fs=r},7650:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createFileSystemAdapter=t.FILE_SYSTEM_ADAPTER=void 0;const r=n(5747);t.FILE_SYSTEM_ADAPTER={lstat:r.lstat,stat:r.stat,lstatSync:r.lstatSync,statSync:r.statSync},t.createFileSystemAdapter=function(e){return void 0===e?t.FILE_SYSTEM_ADAPTER:Object.assign(Object.assign({},t.FILE_SYSTEM_ADAPTER),e)}},2580:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.statSync=t.stat=t.Settings=void 0;const r=n(5939),i=n(105),s=n(2466);function o(e={}){return e instanceof s.default?e:new s.default(e)}t.Settings=s.default,t.stat=function(e,t,n){"function"!=typeof t?r.read(e,o(t),n):r.read(e,o(),t)},t.statSync=function(e,t){const n=o(t);return i.read(e,n)}},5939:(e,t)=>{"use strict";function n(e,t){e(t)}function r(e,t){e(null,t)}Object.defineProperty(t,"__esModule",{value:!0}),t.read=void 0,t.read=function(e,t,i){t.fs.lstat(e,(s,o)=>{null===s?o.isSymbolicLink()&&t.followSymbolicLink?t.fs.stat(e,(e,s)=>{if(null!==e)return t.throwErrorOnBrokenSymbolicLink?void n(i,e):void r(i,o);t.markSymbolicLink&&(s.isSymbolicLink=()=>!0),r(i,s)}):r(i,o):n(i,s)})}},105:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.read=void 0,t.read=function(e,t){const n=t.fs.lstatSync(e);if(!n.isSymbolicLink()||!t.followSymbolicLink)return n;try{const n=t.fs.statSync(e);return t.markSymbolicLink&&(n.isSymbolicLink=()=>!0),n}catch(e){if(!t.throwErrorOnBrokenSymbolicLink)return n;throw e}}},2466:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(7650);t.default=class{constructor(e={}){this._options=e,this.followSymbolicLink=this._getValue(this._options.followSymbolicLink,!0),this.fs=r.createFileSystemAdapter(this._options.fs),this.markSymbolicLink=this._getValue(this._options.markSymbolicLink,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!0)}_getValue(e,t){return null!=e?e:t}}},803:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Settings=t.walkStream=t.walkSync=t.walk=void 0;const r=n(6887),i=n(7499),s=n(6875),o=n(8265);function a(e={}){return e instanceof o.default?e:new o.default(e)}t.Settings=o.default,t.walk=function(e,t,n){"function"!=typeof t?new r.default(e,a(t)).read(n):new r.default(e,a()).read(t)},t.walkSync=function(e,t){const n=a(t);return new s.default(e,n).read()},t.walkStream=function(e,t){const n=a(t);return new i.default(e,n).read()}},6887:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(6203);t.default=class{constructor(e,t){this._root=e,this._settings=t,this._reader=new r.default(this._root,this._settings),this._storage=[]}read(e){this._reader.onError(t=>{!function(e,t){e(t)}(e,t)}),this._reader.onEntry(e=>{this._storage.push(e)}),this._reader.onEnd(()=>{!function(e,t){e(null,t)}(e,this._storage)}),this._reader.read()}}},7499:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2413),i=n(6203);t.default=class{constructor(e,t){this._root=e,this._settings=t,this._reader=new i.default(this._root,this._settings),this._stream=new r.Readable({objectMode:!0,read:()=>{},destroy:()=>{this._reader.isDestroyed||this._reader.destroy()}})}read(){return this._reader.onError(e=>{this._stream.emit("error",e)}),this._reader.onEntry(e=>{this._stream.push(e)}),this._reader.onEnd(()=>{this._stream.push(null)}),this._reader.read(),this._stream}}},6875:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(1214);t.default=class{constructor(e,t){this._root=e,this._settings=t,this._reader=new r.default(this._root,this._settings)}read(){return this._reader.read()}}},6203:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(8614),i=n(7552),s=n(2696),o=n(7628),a=n(3402);class c extends a.default{constructor(e,t){super(e,t),this._settings=t,this._scandir=i.scandir,this._emitter=new r.EventEmitter,this._queue=s(this._worker.bind(this),this._settings.concurrency),this._isFatalError=!1,this._isDestroyed=!1,this._queue.drain=()=>{this._isFatalError||this._emitter.emit("end")}}read(){return this._isFatalError=!1,this._isDestroyed=!1,setImmediate(()=>{this._pushToQueue(this._root,this._settings.basePath)}),this._emitter}get isDestroyed(){return this._isDestroyed}destroy(){if(this._isDestroyed)throw new Error("The reader is already destroyed");this._isDestroyed=!0,this._queue.killAndDrain()}onEntry(e){this._emitter.on("entry",e)}onError(e){this._emitter.once("error",e)}onEnd(e){this._emitter.once("end",e)}_pushToQueue(e,t){const n={directory:e,base:t};this._queue.push(n,e=>{null!==e&&this._handleError(e)})}_worker(e,t){this._scandir(e.directory,this._settings.fsScandirSettings,(n,r)=>{if(null===n){for(const t of r)this._handleEntry(t,e.base);t(null,void 0)}else t(n,void 0)})}_handleError(e){!this._isDestroyed&&o.isFatalError(this._settings,e)&&(this._isFatalError=!0,this._isDestroyed=!0,this._emitter.emit("error",e))}_handleEntry(e,t){if(this._isDestroyed||this._isFatalError)return;const n=e.path;void 0!==t&&(e.path=o.joinPathSegments(t,e.name,this._settings.pathSegmentSeparator)),o.isAppliedFilter(this._settings.entryFilter,e)&&this._emitEntry(e),e.dirent.isDirectory()&&o.isAppliedFilter(this._settings.deepFilter,e)&&this._pushToQueue(n,void 0===t?void 0:e.path)}_emitEntry(e){this._emitter.emit("entry",e)}}t.default=c},7628:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.joinPathSegments=t.replacePathSegmentSeparator=t.isAppliedFilter=t.isFatalError=void 0,t.isFatalError=function(e,t){return null===e.errorFilter||!e.errorFilter(t)},t.isAppliedFilter=function(e,t){return null===e||e(t)},t.replacePathSegmentSeparator=function(e,t){return e.split(/[/\\]/).join(t)},t.joinPathSegments=function(e,t,n){return""===e?t:e.endsWith(n)?e+t:e+n+t}},3402:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(7628);t.default=class{constructor(e,t){this._root=e,this._settings=t,this._root=r.replacePathSegmentSeparator(e,t.pathSegmentSeparator)}}},1214:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(7552),i=n(7628),s=n(3402);class o extends s.default{constructor(){super(...arguments),this._scandir=r.scandirSync,this._storage=[],this._queue=new Set}read(){return this._pushToQueue(this._root,this._settings.basePath),this._handleQueue(),this._storage}_pushToQueue(e,t){this._queue.add({directory:e,base:t})}_handleQueue(){for(const e of this._queue.values())this._handleDirectory(e.directory,e.base)}_handleDirectory(e,t){try{const n=this._scandir(e,this._settings.fsScandirSettings);for(const e of n)this._handleEntry(e,t)}catch(e){this._handleError(e)}}_handleError(e){if(i.isFatalError(this._settings,e))throw e}_handleEntry(e,t){const n=e.path;void 0!==t&&(e.path=i.joinPathSegments(t,e.name,this._settings.pathSegmentSeparator)),i.isAppliedFilter(this._settings.entryFilter,e)&&this._pushToStorage(e),e.dirent.isDirectory()&&i.isAppliedFilter(this._settings.deepFilter,e)&&this._pushToQueue(n,void 0===t?void 0:e.path)}_pushToStorage(e){this._storage.push(e)}}t.default=o},8265:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(5622),i=n(7552);t.default=class{constructor(e={}){this._options=e,this.basePath=this._getValue(this._options.basePath,void 0),this.concurrency=this._getValue(this._options.concurrency,Number.POSITIVE_INFINITY),this.deepFilter=this._getValue(this._options.deepFilter,null),this.entryFilter=this._getValue(this._options.entryFilter,null),this.errorFilter=this._getValue(this._options.errorFilter,null),this.pathSegmentSeparator=this._getValue(this._options.pathSegmentSeparator,r.sep),this.fsScandirSettings=new i.Settings({followSymbolicLinks:this._options.followSymbolicLinks,fs:this._options.fs,pathSegmentSeparator:this._options.pathSegmentSeparator,stats:this._options.stats,throwErrorOnBrokenSymbolicLink:this._options.throwErrorOnBrokenSymbolicLink})}_getValue(e,t){return null!=e?e:t}}},1033:(e,t,n)=>{var r=n(108),i=n(6738),s=r.Parser.extend(n(4374)).extend(n(4456)).extend(n(3771)).extend(n(6562)).extend(n(1506).ZP),o=s.extend(n(1138)).extend(n(2839));function a(e){return e||(e={}),i({ecmaVersion:2020,allowHashBang:!0,allowReturnOutsideFunction:!0},e)}function c(e){return e||(e={}),"module"===e.sourceType?o:s}e.exports=i(r,{parse:function(e,t){return c(t).parse(e,a(t))},parseExpressionAt:function(e,t,n){return c(n).parseExpressionAt(e,t,a(n))},tokenizer:function(e,t){return c(t).tokenizer(e,a(t))}})},4374:(e,t,n)=>{"use strict";var r=n(108),i=r.tokTypes,s=r.isIdentifierStart;e.exports=function(e){return function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.parseLiteral=function(t){var n=e.prototype.parseLiteral.call(this,t);return 110==n.raw.charCodeAt(n.raw.length-1)&&(n.bigint=this.getNumberInput(n.start,n.end)),n},t.prototype.readRadixNumber=function(e){var t=this.pos;this.pos+=2;var n=this.readInt(e);if(null===n&&this.raise(this.start+2,"Expected number in radix "+e),110==this.input.charCodeAt(this.pos)){var r=this.getNumberInput(t,this.pos);n="undefined"!=typeof BigInt?BigInt(r):null,++this.pos}else s(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");return this.finishToken(i.num,n)},t.prototype.readNumber=function(t){var n=this.pos;if(t)return e.prototype.readNumber.call(this,t);if(48===this.input.charCodeAt(n)&&110!==this.input.charCodeAt(n+1))return e.prototype.readNumber.call(this,t);if(null===this.readInt(10)&&this.raise(n,"Invalid number"),110!=this.input.charCodeAt(this.pos))return this.pos=n,e.prototype.readNumber.call(this,t);var r=this.getNumberInput(n,this.pos),s="undefined"!=typeof BigInt?BigInt(r):null;return++this.pos,this.finishToken(i.num,s)},t.prototype.getNumberInput=function(t,n){return e.prototype.getNumberInput?e.prototype.getNumberInput.call(this,t,n):this.input.slice(t,n)},t}(e)}},4456:(e,t,n)=>{"use strict";var r=n(108).tokTypes,i=n(107);function s(e){if(this.eat(r.eq)){var t=this._inFieldValue;this._inFieldValue=!0,e.value=this.parseExpression(),this._inFieldValue=t}else e.value=null}e.exports=function(e){return function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.parseClassElement=function(t){if(this.options.ecmaVersion>=8&&(this.type==r.name||this.type==this.privateNameToken||this.type==r.bracketL||this.type==r.string)){var n=this._branch();if(n.type==r.bracketL){var i=0;do{n.eat(r.bracketL)?++i:n.eat(r.bracketR)?--i:n.next()}while(i>0)}else n.next();if(n.type==r.eq||n.canInsertSemicolon()||n.type==r.semi){var o=this.startNode();return this.type==this.privateNameToken?this.parsePrivateClassElementName(o):this.parsePropertyName(o),("Identifier"===o.key.type&&"constructor"===o.key.name||"Literal"===o.key.type&&"constructor"===o.key.value)&&this.raise(o.key.start,"Classes may not have a field called constructor"),s.call(this,o),this.finishNode(o,"FieldDefinition"),this.semicolon(),o}}return e.prototype.parseClassElement.apply(this,arguments)},t.prototype.parseIdent=function(t,n){var r=e.prototype.parseIdent.call(this,t,n);return this._inFieldValue&&"arguments"==r.name&&this.raise(r.start,"A class field initializer may not contain arguments"),r},t}(e=i(e))}},1506:(e,t,n)=>{"use strict";var r=function(){function e(e,t){for(var n=0;n{"use strict";var r=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,i=n(108).tokTypes;e.exports=function(e){return function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.parseExport=function(t,n){r.lastIndex=this.pos;var s=r.exec(this.input);if("*"!==this.input.charAt(this.pos+s[0].length))return e.prototype.parseExport.call(this,t,n);this.next();var o=this.startNode();return this.expect(i.star),this.eatContextual("as")&&(t.declaration=null,o.exported=this.parseIdent(!0),this.checkExport(n,o.exported.name,this.lastTokStart),t.specifiers=[this.finishNode(o,"ExportNamespaceSpecifier")]),this.expectContextual("from"),this.type!==i.string&&this.unexpected(),t.source=this.parseExprAtom(),this.semicolon(),this.finishNode(t,t.specifiers?"ExportNamedDeclaration":"ExportAllDeclaration")},t}(e)}},2839:(e,t,n)=>{"use strict";var r=n(108).tokTypes,i=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,s=function(e){i.lastIndex=e.pos;var t=i.exec(e.input),n=e.pos+t[0].length;return"."===e.input.slice(n,n+1)};e.exports=function(e){return function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.parseExprAtom=function(t){if(this.type!==r._import||!s(this))return e.prototype.parseExprAtom.call(this,t);this.options.allowImportExportEverywhere||this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'");var n=this.startNode();return n.meta=this.parseIdent(!0),this.expect(r.dot),n.property=this.parseIdent(!0),"meta"!==n.property.name&&this.raiseRecoverable(n.property.start,"The only valid meta property for import is import.meta"),this.finishNode(n,"MetaProperty")},t.prototype.parseStatement=function(t,n,i){if(this.type!==r._import||!s(this))return e.prototype.parseStatement.call(this,t,n,i);var o=this.startNode(),a=this.parseExpression();return this.parseExpressionStatement(o,a)},t}(e)}},6562:e=>{"use strict";e.exports=function(e){return function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.readInt=function(t,n){if(null!=n)return e.prototype.readInt.call(this,t,n);for(var r=this.pos,i=0,s=!1;;){var o=this.input.charCodeAt(this.pos),a=void 0;if(o>=97)a=o-97+10;else{if(95==o){s||this.raise(this.pos,"Invalid numeric separator"),++this.pos,s=!1;continue}a=o>=65?o-65+10:o>=48&&o<=57?o-48:1/0}if(a>=t)break;++this.pos,i=i*t+a,s=!0}return this.pos===r?null:(s||this.raise(this.pos-1,"Invalid numeric separator"),i)},t.prototype.readNumber=function(t){var n=e.prototype.readNumber.call(this,t),r=this.end-this.start>=2&&48===this.input.charCodeAt(this.start),i=this.getNumberInput(this.start,this.end);return i.length{"use strict";var r=n(108);var i=r.tokTypes,s=r.TokenType;e.exports=function(e){if(e.prototype.parsePrivateName)return e;for(var t=e;t&&t!==r.Parser;)t=t.__proto__;if(t!==r.Parser)throw new Error("acorn-private-class-elements does not support mixing different acorn copies");return(e=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype._branch=function(){return this.__branch=this.__branch||new e({ecmaVersion:this.options.ecmaVersion},this.input),this.__branch.end=this.end,this.__branch.pos=this.pos,this.__branch.type=this.type,this.__branch.value=this.value,this.__branch.containsEsc=this.containsEsc,this.__branch},t.prototype.parsePrivateClassElementName=function(e){e.computed=!1,e.key=this.parsePrivateName(),"constructor"==e.key.name&&this.raise(e.key.start,"Classes may not have a private element named constructor");var t={get:"set",set:"get"}[e.kind],n=this._privateBoundNamesStack[this._privateBoundNamesStack.length-1];return Object.prototype.hasOwnProperty.call(n,e.key.name)&&n[e.key.name]!==t&&this.raise(e.start,"Duplicate private element"),n[e.key.name]=e.kind||!0,delete this._unresolvedPrivateNamesStack[this._unresolvedPrivateNamesStack.length-1][e.key.name],e.key},t.prototype.parsePrivateName=function(){var e=this.startNode();return e.name=this.value,this.next(),this.finishNode(e,"PrivateName"),"never"==this.options.allowReserved&&this.checkUnreserved(e),e},t.prototype.getTokenFromCode=function(t){if(35===t){++this.pos;var n=this.readWord1();return this.finishToken(this.privateNameToken,n)}return e.prototype.getTokenFromCode.call(this,t)},t.prototype.parseClass=function(t,n){this._privateBoundNamesStack=this._privateBoundNamesStack||[];var r=Object.create(this._privateBoundNamesStack[this._privateBoundNamesStack.length-1]||null);this._privateBoundNamesStack.push(r),this._unresolvedPrivateNamesStack=this._unresolvedPrivateNamesStack||[];var i=Object.create(null);this._unresolvedPrivateNamesStack.push(i);var s=e.prototype.parseClass.call(this,t,n);if(this._privateBoundNamesStack.pop(),this._unresolvedPrivateNamesStack.pop(),this._unresolvedPrivateNamesStack.length)Object.assign(this._unresolvedPrivateNamesStack[this._unresolvedPrivateNamesStack.length-1],i);else{var o=Object.keys(i);o.length&&(o.sort((function(e,t){return i[e]-i[t]})),this.raise(i[o[0]],"Usage of undeclared private name"))}return s},t.prototype.parseSubscript=function(t,n,r,s,o){if(!this.eat(i.dot))return e.prototype.parseSubscript.call(this,t,n,r,s,o);var a=this.startNodeAt(n,r);return a.object=t,a.computed=!1,this.type==this.privateNameToken?(a.property=this.parsePrivateName(),this._privateBoundNamesStack.length&&this._privateBoundNamesStack[this._privateBoundNamesStack.length-1][a.property.name]||(this._unresolvedPrivateNamesStack[this._unresolvedPrivateNamesStack.length-1][a.property.name]=a.property.start)):a.property=this.parseIdent(!0),this.finishNode(a,"MemberExpression")},t.prototype.parseMaybeUnary=function(t,n){var r=e.prototype.parseMaybeUnary.call(this,t,n);return"delete"==r.operator&&"MemberExpression"==r.argument.type&&"PrivateName"==r.argument.property.type&&this.raise(r.start,"Private elements may not be deleted"),r},t}(e)).prototype.privateNameToken=new s("privateName"),e}},3771:(e,t,n)=>{"use strict";var r=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,i=n(108).tokTypes;function s(e){if(this.eat(i.eq)){var t=this._inStaticFieldValue;this._inStaticFieldValue=!0,e.value=this.parseExpression(),this._inStaticFieldValue=t}else e.value=null}var o=n(107);e.exports=function(e){return function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.parseClassElement=function(t){var n=this;if(this.eat(i.semi))return null;var o=this.startNode(),a=function(e,t){void 0===t&&(t=!1);var r=n.start,s=n.startLoc;return!!n.eatContextual(e)&&(!(n.type===i.parenL||t&&n.canInsertSemicolon())||(o.key&&n.unexpected(),o.computed=!1,o.key=n.startNodeAt(r,s),o.key.name=e,n.finishNode(o.key,"Identifier"),!1))};if(o.static=a("static"),!o.static)return e.prototype.parseClassElement.apply(this,arguments);var c=this.eat(i.star),l=!1;if(!c)if(this.options.ecmaVersion>=8&&this.isContextual("async")){r.lastIndex=this.pos;var u=r.exec(this.input),h=this.input.charAt(this.pos+u[0].length);if(";"===h||"="===h)return o.key=this.parseIdent(!0),o.computed=!1,s.call(this,o),this.finishNode(o,"FieldDefinition"),this.semicolon(),o;this.options.ecmaVersion>=8&&a("async",!0)&&(l=!0,c=this.options.ecmaVersion>=9&&this.eat(i.star))}else a("get")?o.kind="get":a("set")&&(o.kind="set");if(this.type===this.privateNameToken){if(this.parsePrivateClassElementName(o),this.type!==i.parenL)return"prototype"===o.key.name&&this.raise(o.key.start,"Classes may not have a private static property named prototype"),s.call(this,o),this.finishNode(o,"FieldDefinition"),this.semicolon(),o}else o.key||(this.parsePropertyName(o),"prototype"!==(o.key.name||o.key.value)||o.computed||this.raise(o.key.start,"Classes may not have a static property named prototype"));return o.kind||(o.kind="method"),this.parseClassMethod(o,c,l),o.kind||"constructor"!==(o.key.name||o.key.value)||o.computed||this.raise(o.key.start,"Classes may not have a static field named constructor"),"get"===o.kind&&0!==o.value.params.length&&this.raiseRecoverable(o.value.start,"getter should have no params"),"set"===o.kind&&1!==o.value.params.length&&this.raiseRecoverable(o.value.start,"setter should have exactly one param"),"set"===o.kind&&"RestElement"===o.value.params[0].type&&this.raiseRecoverable(o.value.params[0].start,"Setter cannot use rest params"),o},t.prototype.parseClassMethod=function(t,n,r,o){return n||r||"method"!=t.kind||!t.static||this.options.ecmaVersion<8||this.type==i.parenL?e.prototype.parseClassMethod.apply(this,arguments):(s.call(this,t),delete t.kind,t=this.finishNode(t,"FieldDefinition"),this.semicolon(),t)},t.prototype.parseIdent=function(t,n){var r=e.prototype.parseIdent.call(this,t,n);return this._inStaticFieldValue&&"arguments"==r.name&&this.raise(r.start,"A static class field initializer may not contain arguments"),r},t}(o(e))}},9530:(e,t,n)=>{var r=n(6738),i=n(2332),s=r(i.base);s.Import=function(){},t.simple=function(e,t,n,r,o){return i.simple(e,t,n||s,r,o)},t.ancestor=function(e,t,n,r){return i.ancestor(e,t,n||s,r)},t.recursive=function(e,t,n,r,o){return i.recursive(e,t,n,r||s,o)},t.full=function(e,t,n,r,o){return i.full(e,t,n||s,r,o)},t.fullAncestor=function(e,t,n,r){return i.fullAncestor(e,t,n||s,r)},t.findNodeAt=function(e,t,n,r,o,a){return i.findNodeAt(e,t,n,r,o||s,a)},t.findNodeAround=function(e,t,n,r,o){return i.findNodeAround(e,t,n,r||s,o)},t.findNodeAfter=function(e,t,n,r,o){return i.findNodeAfter(e,t,n,r||s,o)},t.findNodeBefore=function(e,t,n,r,o){return i.findNodeBefore(e,t,n,r||s,o)},t.make=function(e,t){return i.make(e,t||s)},t.base=s},2332:function(e,t){!function(e){"use strict";function t(e){return"string"==typeof e?function(t){return t===e}:e||function(){return!0}}var n=function(e,t){this.node=e,this.state=t},r=Object.create||function(e){function t(){}return t.prototype=e,new t};function i(e,t){var n=r(t||a);for(var i in e)n[i]=e[i];return n}function s(e,t,n){n(e,t)}function o(e,t,n){}var a={};a.Program=a.BlockStatement=function(e,t,n){for(var r=0,i=e.body;r=r&&i(c,t))throw new n(t,o);s[c](t,o,e)}}(e,o)}catch(e){if(e instanceof n)return e;throw e}},e.findNodeAround=function(e,r,i,s,o){i=t(i),s||(s=a);try{!function e(t,o,a){var c=a||t.type;if(!(t.start>r||t.end=i)&&o[l](t,a,e),(null==r||t.start===r)&&(null==i||t.end===i)&&s(l,t))throw new n(t,a)}(e,c)}catch(e){if(e instanceof n)return e;throw e}},e.findNodeBefore=function(e,r,i,s,o){var c;return i=t(i),s||(s=a),function e(t,o,a){if(!(t.start>r)){var l=a||t.type;t.end<=r&&(!c||c.node.ende)return!1;if((n+=t[r+1])>=e)return!0}}function p(e,t){return e<65?36===e:e<91||(e<97?95===e:e<123||(e<=65535?e>=170&&a.test(String.fromCharCode(e)):!1!==t&&h(e,l)))}function d(e,t){return e<48?36===e:e<58||!(e<65)&&(e<91||(e<97?95===e:e<123||(e<=65535?e>=170&&c.test(String.fromCharCode(e)):!1!==t&&(h(e,l)||h(e,u)))))}var f=function(e,t){void 0===t&&(t={}),this.label=e,this.keyword=t.keyword,this.beforeExpr=!!t.beforeExpr,this.startsExpr=!!t.startsExpr,this.isLoop=!!t.isLoop,this.isAssign=!!t.isAssign,this.prefix=!!t.prefix,this.postfix=!!t.postfix,this.binop=t.binop||null,this.updateContext=null};function m(e,t){return new f(e,{beforeExpr:!0,binop:t})}var g={beforeExpr:!0},v={startsExpr:!0},y={};function b(e,t){return void 0===t&&(t={}),t.keyword=e,y[e]=new f(e,t)}var _={num:new f("num",v),regexp:new f("regexp",v),string:new f("string",v),name:new f("name",v),eof:new f("eof"),bracketL:new f("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new f("]"),braceL:new f("{",{beforeExpr:!0,startsExpr:!0}),braceR:new f("}"),parenL:new f("(",{beforeExpr:!0,startsExpr:!0}),parenR:new f(")"),comma:new f(",",g),semi:new f(";",g),colon:new f(":",g),dot:new f("."),question:new f("?",g),questionDot:new f("?."),arrow:new f("=>",g),template:new f("template"),invalidTemplate:new f("invalidTemplate"),ellipsis:new f("...",g),backQuote:new f("`",v),dollarBraceL:new f("${",{beforeExpr:!0,startsExpr:!0}),eq:new f("=",{beforeExpr:!0,isAssign:!0}),assign:new f("_=",{beforeExpr:!0,isAssign:!0}),incDec:new f("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new f("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:m("||",1),logicalAND:m("&&",2),bitwiseOR:m("|",3),bitwiseXOR:m("^",4),bitwiseAND:m("&",5),equality:m("==/!=/===/!==",6),relational:m("/<=/>=",7),bitShift:m("<>/>>>",8),plusMin:new f("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:m("%",10),star:m("*",10),slash:m("/",10),starstar:new f("**",{beforeExpr:!0}),coalesce:m("??",1),_break:b("break"),_case:b("case",g),_catch:b("catch"),_continue:b("continue"),_debugger:b("debugger"),_default:b("default",g),_do:b("do",{isLoop:!0,beforeExpr:!0}),_else:b("else",g),_finally:b("finally"),_for:b("for",{isLoop:!0}),_function:b("function",v),_if:b("if"),_return:b("return",g),_switch:b("switch"),_throw:b("throw",g),_try:b("try"),_var:b("var"),_const:b("const"),_while:b("while",{isLoop:!0}),_with:b("with"),_new:b("new",{beforeExpr:!0,startsExpr:!0}),_this:b("this",v),_super:b("super",v),_class:b("class",v),_extends:b("extends",g),_export:b("export"),_import:b("import",v),_null:b("null",v),_true:b("true",v),_false:b("false",v),_in:b("in",{beforeExpr:!0,binop:7}),_instanceof:b("instanceof",{beforeExpr:!0,binop:7}),_typeof:b("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:b("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:b("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},w=/\r\n?|\n|\u2028|\u2029/,x=new RegExp(w.source,"g");function k(e,t){return 10===e||13===e||!t&&(8232===e||8233===e)}var E=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,S=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,C=Object.prototype,R=C.hasOwnProperty,T=C.toString;function A(e,t){return R.call(e,t)}var P=Array.isArray||function(e){return"[object Array]"===T.call(e)};function O(e){return new RegExp("^(?:"+e.replace(/ /g,"|")+")$")}var I=function(e,t){this.line=e,this.column=t};I.prototype.offset=function(e){return new I(this.line,this.column+e)};var N=function(e,t,n){this.start=t,this.end=n,null!==e.sourceFile&&(this.source=e.sourceFile)};function D(e,t){for(var n=1,r=0;;){x.lastIndex=r;var i=x.exec(e);if(!(i&&i.index=2015&&(t.ecmaVersion-=2009),null==t.allowReserved&&(t.allowReserved=t.ecmaVersion<5),P(t.onToken)){var r=t.onToken;t.onToken=function(e){return r.push(e)}}return P(t.onComment)&&(t.onComment=function(e,t){return function(n,r,i,s,o,a){var c={type:n?"Block":"Line",value:r,start:i,end:s};e.locations&&(c.loc=new N(this,o,a)),e.ranges&&(c.range=[i,s]),t.push(c)}}(t,t.onComment)),t}function j(e,t){return 2|(e?4:0)|(t?8:0)}var q=function(e,n,i){this.options=e=L(e),this.sourceFile=e.sourceFile,this.keywords=O(r[e.ecmaVersion>=6?6:"module"===e.sourceType?"5module":5]);var s="";if(!0!==e.allowReserved){for(var o=e.ecmaVersion;!(s=t[o]);o--);"module"===e.sourceType&&(s+=" await")}this.reservedWords=O(s);var a=(s?s+" ":"")+t.strict;this.reservedWordsStrict=O(a),this.reservedWordsStrictBind=O(a+" "+t.strictBind),this.input=String(n),this.containsEsc=!1,i?(this.pos=i,this.lineStart=this.input.lastIndexOf("\n",i-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(w).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=_.eof,this.value=null,this.start=this.end=this.pos,this.startLoc=this.endLoc=this.curPosition(),this.lastTokEndLoc=this.lastTokStartLoc=null,this.lastTokStart=this.lastTokEnd=this.pos,this.context=this.initialContext(),this.exprAllowed=!0,this.inModule="module"===e.sourceType,this.strict=this.inModule||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.yieldPos=this.awaitPos=this.awaitIdentPos=0,this.labels=[],this.undefinedExports={},0===this.pos&&e.allowHashBang&&"#!"===this.input.slice(0,2)&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(1),this.regexpState=null},F={inFunction:{configurable:!0},inGenerator:{configurable:!0},inAsync:{configurable:!0},allowSuper:{configurable:!0},allowDirectSuper:{configurable:!0},treatFunctionsAsVar:{configurable:!0}};q.prototype.parse=function(){var e=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(e)},F.inFunction.get=function(){return(2&this.currentVarScope().flags)>0},F.inGenerator.get=function(){return(8&this.currentVarScope().flags)>0},F.inAsync.get=function(){return(4&this.currentVarScope().flags)>0},F.allowSuper.get=function(){return(64&this.currentThisScope().flags)>0},F.allowDirectSuper.get=function(){return(128&this.currentThisScope().flags)>0},F.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())},q.prototype.inNonArrowFunction=function(){return(2&this.currentThisScope().flags)>0},q.extend=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];for(var n=this,r=0;r=,?^&]/.test(i)||"!"===i&&"="===this.input.charAt(r+1))}e+=t[0].length,S.lastIndex=e,e+=S.exec(this.input)[0].length,";"===this.input[e]&&e++}},$.eat=function(e){return this.type===e&&(this.next(),!0)},$.isContextual=function(e){return this.type===_.name&&this.value===e&&!this.containsEsc},$.eatContextual=function(e){return!!this.isContextual(e)&&(this.next(),!0)},$.expectContextual=function(e){this.eatContextual(e)||this.unexpected()},$.canInsertSemicolon=function(){return this.type===_.eof||this.type===_.braceR||w.test(this.input.slice(this.lastTokEnd,this.start))},$.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},$.semicolon=function(){this.eat(_.semi)||this.insertSemicolon()||this.unexpected()},$.afterTrailingComma=function(e,t){if(this.type===e)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),t||this.next(),!0},$.expect=function(e){this.eat(e)||this.unexpected()},$.unexpected=function(e){this.raise(null!=e?e:this.start,"Unexpected token")},$.checkPatternErrors=function(e,t){if(e){e.trailingComma>-1&&this.raiseRecoverable(e.trailingComma,"Comma is not permitted after the rest element");var n=t?e.parenthesizedAssign:e.parenthesizedBind;n>-1&&this.raiseRecoverable(n,"Parenthesized pattern")}},$.checkExpressionErrors=function(e,t){if(!e)return!1;var n=e.shorthandAssign,r=e.doubleProto;if(!t)return n>=0||r>=0;n>=0&&this.raise(n,"Shorthand property assignments are valid only in destructuring patterns"),r>=0&&this.raiseRecoverable(r,"Redefinition of __proto__ property")},$.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos=6&&this.unexpected(),this.parseFunctionStatement(s,!1,!e);case _._class:return e&&this.unexpected(),this.parseClass(s,!0);case _._if:return this.parseIfStatement(s);case _._return:return this.parseReturnStatement(s);case _._switch:return this.parseSwitchStatement(s);case _._throw:return this.parseThrowStatement(s);case _._try:return this.parseTryStatement(s);case _._const:case _._var:return r=r||this.value,e&&"var"!==r&&this.unexpected(),this.parseVarStatement(s,r);case _._while:return this.parseWhileStatement(s);case _._with:return this.parseWithStatement(s);case _.braceL:return this.parseBlock(!0,s);case _.semi:return this.parseEmptyStatement(s);case _._export:case _._import:if(this.options.ecmaVersion>10&&i===_._import){S.lastIndex=this.pos;var o=S.exec(this.input),a=this.pos+o[0].length,c=this.input.charCodeAt(a);if(40===c||46===c)return this.parseExpressionStatement(s,this.parseExpression())}return this.options.allowImportExportEverywhere||(t||this.raise(this.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),i===_._import?this.parseImport(s):this.parseExport(s,n);default:if(this.isAsyncFunction())return e&&this.unexpected(),this.next(),this.parseFunctionStatement(s,!0,!e);var l=this.value,u=this.parseExpression();return i===_.name&&"Identifier"===u.type&&this.eat(_.colon)?this.parseLabeledStatement(s,l,u,e):this.parseExpressionStatement(s,u)}},B.parseBreakContinueStatement=function(e,t){var n="break"===t;this.next(),this.eat(_.semi)||this.insertSemicolon()?e.label=null:this.type!==_.name?this.unexpected():(e.label=this.parseIdent(),this.semicolon());for(var r=0;r=6?this.eat(_.semi):this.semicolon(),this.finishNode(e,"DoWhileStatement")},B.parseForStatement=function(e){this.next();var t=this.options.ecmaVersion>=9&&(this.inAsync||!this.inFunction&&this.options.allowAwaitOutsideFunction)&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(W),this.enterScope(0),this.expect(_.parenL),this.type===_.semi)return t>-1&&this.unexpected(t),this.parseFor(e,null);var n=this.isLet();if(this.type===_._var||this.type===_._const||n){var r=this.startNode(),i=n?"let":this.value;return this.next(),this.parseVar(r,!0,i),this.finishNode(r,"VariableDeclaration"),(this.type===_._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&1===r.declarations.length?(this.options.ecmaVersion>=9&&(this.type===_._in?t>-1&&this.unexpected(t):e.await=t>-1),this.parseForIn(e,r)):(t>-1&&this.unexpected(t),this.parseFor(e,r))}var s=new z,o=this.parseExpression(!0,s);return this.type===_._in||this.options.ecmaVersion>=6&&this.isContextual("of")?(this.options.ecmaVersion>=9&&(this.type===_._in?t>-1&&this.unexpected(t):e.await=t>-1),this.toAssignable(o,!1,s),this.checkLVal(o),this.parseForIn(e,o)):(this.checkExpressionErrors(s,!0),t>-1&&this.unexpected(t),this.parseFor(e,o))},B.parseFunctionStatement=function(e,t,n){return this.next(),this.parseFunction(e,G|(n?0:K),!1,t)},B.parseIfStatement=function(e){return this.next(),e.test=this.parseParenExpression(),e.consequent=this.parseStatement("if"),e.alternate=this.eat(_._else)?this.parseStatement("if"):null,this.finishNode(e,"IfStatement")},B.parseReturnStatement=function(e){return this.inFunction||this.options.allowReturnOutsideFunction||this.raise(this.start,"'return' outside of function"),this.next(),this.eat(_.semi)||this.insertSemicolon()?e.argument=null:(e.argument=this.parseExpression(),this.semicolon()),this.finishNode(e,"ReturnStatement")},B.parseSwitchStatement=function(e){var t;this.next(),e.discriminant=this.parseParenExpression(),e.cases=[],this.expect(_.braceL),this.labels.push(U),this.enterScope(0);for(var n=!1;this.type!==_.braceR;)if(this.type===_._case||this.type===_._default){var r=this.type===_._case;t&&this.finishNode(t,"SwitchCase"),e.cases.push(t=this.startNode()),t.consequent=[],this.next(),r?t.test=this.parseExpression():(n&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),n=!0,t.test=null),this.expect(_.colon)}else t||this.unexpected(),t.consequent.push(this.parseStatement(null));return this.exitScope(),t&&this.finishNode(t,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(e,"SwitchStatement")},B.parseThrowStatement=function(e){return this.next(),w.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),e.argument=this.parseExpression(),this.semicolon(),this.finishNode(e,"ThrowStatement")};var V=[];B.parseTryStatement=function(e){if(this.next(),e.block=this.parseBlock(),e.handler=null,this.type===_._catch){var t=this.startNode();if(this.next(),this.eat(_.parenL)){t.param=this.parseBindingAtom();var n="Identifier"===t.param.type;this.enterScope(n?32:0),this.checkLVal(t.param,n?4:2),this.expect(_.parenR)}else this.options.ecmaVersion<10&&this.unexpected(),t.param=null,this.enterScope(0);t.body=this.parseBlock(!1),this.exitScope(),e.handler=this.finishNode(t,"CatchClause")}return e.finalizer=this.eat(_._finally)?this.parseBlock():null,e.handler||e.finalizer||this.raise(e.start,"Missing catch or finally clause"),this.finishNode(e,"TryStatement")},B.parseVarStatement=function(e,t){return this.next(),this.parseVar(e,!1,t),this.semicolon(),this.finishNode(e,"VariableDeclaration")},B.parseWhileStatement=function(e){return this.next(),e.test=this.parseParenExpression(),this.labels.push(W),e.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(e,"WhileStatement")},B.parseWithStatement=function(e){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),e.object=this.parseParenExpression(),e.body=this.parseStatement("with"),this.finishNode(e,"WithStatement")},B.parseEmptyStatement=function(e){return this.next(),this.finishNode(e,"EmptyStatement")},B.parseLabeledStatement=function(e,t,n,r){for(var i=0,s=this.labels;i=0;a--){var c=this.labels[a];if(c.statementStart!==e.start)break;c.statementStart=this.start,c.kind=o}return this.labels.push({name:t,kind:o,statementStart:this.start}),e.body=this.parseStatement(r?-1===r.indexOf("label")?r+"label":r:"label"),this.labels.pop(),e.label=n,this.finishNode(e,"LabeledStatement")},B.parseExpressionStatement=function(e,t){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")},B.parseBlock=function(e,t,n){for(void 0===e&&(e=!0),void 0===t&&(t=this.startNode()),t.body=[],this.expect(_.braceL),e&&this.enterScope(0);this.type!==_.braceR;){var r=this.parseStatement(null);t.body.push(r)}return n&&(this.strict=!1),this.next(),e&&this.exitScope(),this.finishNode(t,"BlockStatement")},B.parseFor=function(e,t){return e.init=t,this.expect(_.semi),e.test=this.type===_.semi?null:this.parseExpression(),this.expect(_.semi),e.update=this.type===_.parenR?null:this.parseExpression(),this.expect(_.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,"ForStatement")},B.parseForIn=function(e,t){var n=this.type===_._in;return this.next(),"VariableDeclaration"===t.type&&null!=t.declarations[0].init&&(!n||this.options.ecmaVersion<8||this.strict||"var"!==t.kind||"Identifier"!==t.declarations[0].id.type)?this.raise(t.start,(n?"for-in":"for-of")+" loop variable declaration may not have an initializer"):"AssignmentPattern"===t.type&&this.raise(t.start,"Invalid left-hand side in for-loop"),e.left=t,e.right=n?this.parseExpression():this.parseMaybeAssign(),this.expect(_.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,n?"ForInStatement":"ForOfStatement")},B.parseVar=function(e,t,n){for(e.declarations=[],e.kind=n;;){var r=this.startNode();if(this.parseVarId(r,n),this.eat(_.eq)?r.init=this.parseMaybeAssign(t):"const"!==n||this.type===_._in||this.options.ecmaVersion>=6&&this.isContextual("of")?"Identifier"===r.id.type||t&&(this.type===_._in||this.isContextual("of"))?r.init=null:this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):this.unexpected(),e.declarations.push(this.finishNode(r,"VariableDeclarator")),!this.eat(_.comma))break}return e},B.parseVarId=function(e,t){e.id=this.parseBindingAtom(),this.checkLVal(e.id,"var"===t?1:2,!1)};var G=1,K=2;B.parseFunction=function(e,t,n,r){this.initFunction(e),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!r)&&(this.type===_.star&&t&K&&this.unexpected(),e.generator=this.eat(_.star)),this.options.ecmaVersion>=8&&(e.async=!!r),t&G&&(e.id=4&t&&this.type!==_.name?null:this.parseIdent(),!e.id||t&K||this.checkLVal(e.id,this.strict||e.generator||e.async?this.treatFunctionsAsVar?1:2:3));var i=this.yieldPos,s=this.awaitPos,o=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(j(e.async,e.generator)),t&G||(e.id=this.type===_.name?this.parseIdent():null),this.parseFunctionParams(e),this.parseFunctionBody(e,n,!1),this.yieldPos=i,this.awaitPos=s,this.awaitIdentPos=o,this.finishNode(e,t&G?"FunctionDeclaration":"FunctionExpression")},B.parseFunctionParams=function(e){this.expect(_.parenL),e.params=this.parseBindingList(_.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()},B.parseClass=function(e,t){this.next();var n=this.strict;this.strict=!0,this.parseClassId(e,t),this.parseClassSuper(e);var r=this.startNode(),i=!1;for(r.body=[],this.expect(_.braceL);this.type!==_.braceR;){var s=this.parseClassElement(null!==e.superClass);s&&(r.body.push(s),"MethodDefinition"===s.type&&"constructor"===s.kind&&(i&&this.raise(s.start,"Duplicate constructor in the same class"),i=!0))}return this.strict=n,this.next(),e.body=this.finishNode(r,"ClassBody"),this.finishNode(e,t?"ClassDeclaration":"ClassExpression")},B.parseClassElement=function(e){var t=this;if(this.eat(_.semi))return null;var n=this.startNode(),r=function(e,r){void 0===r&&(r=!1);var i=t.start,s=t.startLoc;return!(!t.eatContextual(e)||(t.type===_.parenL||r&&t.canInsertSemicolon())&&(n.key&&t.unexpected(),n.computed=!1,n.key=t.startNodeAt(i,s),n.key.name=e,t.finishNode(n.key,"Identifier"),1))};n.kind="method",n.static=r("static");var i=this.eat(_.star),s=!1;i||(this.options.ecmaVersion>=8&&r("async",!0)?(s=!0,i=this.options.ecmaVersion>=9&&this.eat(_.star)):r("get")?n.kind="get":r("set")&&(n.kind="set")),n.key||this.parsePropertyName(n);var o=n.key,a=!1;return n.computed||n.static||!("Identifier"===o.type&&"constructor"===o.name||"Literal"===o.type&&"constructor"===o.value)?n.static&&"Identifier"===o.type&&"prototype"===o.name&&this.raise(o.start,"Classes may not have a static property named prototype"):("method"!==n.kind&&this.raise(o.start,"Constructor can't have get/set modifier"),i&&this.raise(o.start,"Constructor can't be a generator"),s&&this.raise(o.start,"Constructor can't be an async method"),n.kind="constructor",a=e),this.parseClassMethod(n,i,s,a),"get"===n.kind&&0!==n.value.params.length&&this.raiseRecoverable(n.value.start,"getter should have no params"),"set"===n.kind&&1!==n.value.params.length&&this.raiseRecoverable(n.value.start,"setter should have exactly one param"),"set"===n.kind&&"RestElement"===n.value.params[0].type&&this.raiseRecoverable(n.value.params[0].start,"Setter cannot use rest params"),n},B.parseClassMethod=function(e,t,n,r){return e.value=this.parseMethod(t,n,r),this.finishNode(e,"MethodDefinition")},B.parseClassId=function(e,t){this.type===_.name?(e.id=this.parseIdent(),t&&this.checkLVal(e.id,2,!1)):(!0===t&&this.unexpected(),e.id=null)},B.parseClassSuper=function(e){e.superClass=this.eat(_._extends)?this.parseExprSubscripts():null},B.parseExport=function(e,t){if(this.next(),this.eat(_.star))return this.options.ecmaVersion>=11&&(this.eatContextual("as")?(e.exported=this.parseIdent(!0),this.checkExport(t,e.exported.name,this.lastTokStart)):e.exported=null),this.expectContextual("from"),this.type!==_.string&&this.unexpected(),e.source=this.parseExprAtom(),this.semicolon(),this.finishNode(e,"ExportAllDeclaration");if(this.eat(_._default)){var n;if(this.checkExport(t,"default",this.lastTokStart),this.type===_._function||(n=this.isAsyncFunction())){var r=this.startNode();this.next(),n&&this.next(),e.declaration=this.parseFunction(r,4|G,!1,n)}else if(this.type===_._class){var i=this.startNode();e.declaration=this.parseClass(i,"nullableID")}else e.declaration=this.parseMaybeAssign(),this.semicolon();return this.finishNode(e,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement())e.declaration=this.parseStatement(null),"VariableDeclaration"===e.declaration.type?this.checkVariableExport(t,e.declaration.declarations):this.checkExport(t,e.declaration.id.name,e.declaration.id.start),e.specifiers=[],e.source=null;else{if(e.declaration=null,e.specifiers=this.parseExportSpecifiers(t),this.eatContextual("from"))this.type!==_.string&&this.unexpected(),e.source=this.parseExprAtom();else{for(var s=0,o=e.specifiers;s=6&&e)switch(e.type){case"Identifier":this.inAsync&&"await"===e.name&&this.raise(e.start,"Cannot use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"RestElement":break;case"ObjectExpression":e.type="ObjectPattern",n&&this.checkPatternErrors(n,!0);for(var r=0,i=e.properties;r=8&&!s&&"async"===o.name&&!this.canInsertSemicolon()&&this.eat(_._function))return this.parseFunction(this.startNodeAt(r,i),0,!1,!0);if(n&&!this.canInsertSemicolon()){if(this.eat(_.arrow))return this.parseArrowExpression(this.startNodeAt(r,i),[o],!1);if(this.options.ecmaVersion>=8&&"async"===o.name&&this.type===_.name&&!s)return o=this.parseIdent(!1),!this.canInsertSemicolon()&&this.eat(_.arrow)||this.unexpected(),this.parseArrowExpression(this.startNodeAt(r,i),[o],!0)}return o;case _.regexp:var a=this.value;return(t=this.parseLiteral(a.value)).regex={pattern:a.pattern,flags:a.flags},t;case _.num:case _.string:return this.parseLiteral(this.value);case _._null:case _._true:case _._false:return(t=this.startNode()).value=this.type===_._null?null:this.type===_._true,t.raw=this.type.keyword,this.next(),this.finishNode(t,"Literal");case _.parenL:var c=this.start,l=this.parseParenAndDistinguishExpression(n);return e&&(e.parenthesizedAssign<0&&!this.isSimpleAssignTarget(l)&&(e.parenthesizedAssign=c),e.parenthesizedBind<0&&(e.parenthesizedBind=c)),l;case _.bracketL:return t=this.startNode(),this.next(),t.elements=this.parseExprList(_.bracketR,!0,!0,e),this.finishNode(t,"ArrayExpression");case _.braceL:return this.parseObj(!1,e);case _._function:return t=this.startNode(),this.next(),this.parseFunction(t,0);case _._class:return this.parseClass(this.startNode(),!1);case _._new:return this.parseNew();case _.backQuote:return this.parseTemplate();case _._import:return this.options.ecmaVersion>=11?this.parseExprImport():this.unexpected();default:this.unexpected()}},Q.parseExprImport=function(){var e=this.startNode();this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword import");var t=this.parseIdent(!0);switch(this.type){case _.parenL:return this.parseDynamicImport(e);case _.dot:return e.meta=t,this.parseImportMeta(e);default:this.unexpected()}},Q.parseDynamicImport=function(e){if(this.next(),e.source=this.parseMaybeAssign(),!this.eat(_.parenR)){var t=this.start;this.eat(_.comma)&&this.eat(_.parenR)?this.raiseRecoverable(t,"Trailing comma is not allowed in import()"):this.unexpected(t)}return this.finishNode(e,"ImportExpression")},Q.parseImportMeta=function(e){this.next();var t=this.containsEsc;return e.property=this.parseIdent(!0),"meta"!==e.property.name&&this.raiseRecoverable(e.property.start,"The only valid meta property for import is 'import.meta'"),t&&this.raiseRecoverable(e.start,"'import.meta' must not contain escaped characters"),"module"!==this.options.sourceType&&this.raiseRecoverable(e.start,"Cannot use 'import.meta' outside a module"),this.finishNode(e,"MetaProperty")},Q.parseLiteral=function(e){var t=this.startNode();return t.value=e,t.raw=this.input.slice(this.start,this.end),110===t.raw.charCodeAt(t.raw.length-1)&&(t.bigint=t.raw.slice(0,-1).replace(/_/g,"")),this.next(),this.finishNode(t,"Literal")},Q.parseParenExpression=function(){this.expect(_.parenL);var e=this.parseExpression();return this.expect(_.parenR),e},Q.parseParenAndDistinguishExpression=function(e){var t,n=this.start,r=this.startLoc,i=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var s,o=this.start,a=this.startLoc,c=[],l=!0,u=!1,h=new z,p=this.yieldPos,d=this.awaitPos;for(this.yieldPos=0,this.awaitPos=0;this.type!==_.parenR;){if(l?l=!1:this.expect(_.comma),i&&this.afterTrailingComma(_.parenR,!0)){u=!0;break}if(this.type===_.ellipsis){s=this.start,c.push(this.parseParenItem(this.parseRestBinding())),this.type===_.comma&&this.raise(this.start,"Comma is not permitted after the rest element");break}c.push(this.parseMaybeAssign(!1,h,this.parseParenItem))}var f=this.start,m=this.startLoc;if(this.expect(_.parenR),e&&!this.canInsertSemicolon()&&this.eat(_.arrow))return this.checkPatternErrors(h,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=p,this.awaitPos=d,this.parseParenArrowList(n,r,c);c.length&&!u||this.unexpected(this.lastTokStart),s&&this.unexpected(s),this.checkExpressionErrors(h,!0),this.yieldPos=p||this.yieldPos,this.awaitPos=d||this.awaitPos,c.length>1?((t=this.startNodeAt(o,a)).expressions=c,this.finishNodeAt(t,"SequenceExpression",f,m)):t=c[0]}else t=this.parseParenExpression();if(this.options.preserveParens){var g=this.startNodeAt(n,r);return g.expression=t,this.finishNode(g,"ParenthesizedExpression")}return t},Q.parseParenItem=function(e){return e},Q.parseParenArrowList=function(e,t,n){return this.parseArrowExpression(this.startNodeAt(e,t),n)};var X=[];Q.parseNew=function(){this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword new");var e=this.startNode(),t=this.parseIdent(!0);if(this.options.ecmaVersion>=6&&this.eat(_.dot)){e.meta=t;var n=this.containsEsc;return e.property=this.parseIdent(!0),"target"!==e.property.name&&this.raiseRecoverable(e.property.start,"The only valid meta property for new is 'new.target'"),n&&this.raiseRecoverable(e.start,"'new.target' must not contain escaped characters"),this.inNonArrowFunction()||this.raiseRecoverable(e.start,"'new.target' can only be used in functions"),this.finishNode(e,"MetaProperty")}var r=this.start,i=this.startLoc,s=this.type===_._import;return e.callee=this.parseSubscripts(this.parseExprAtom(),r,i,!0),s&&"ImportExpression"===e.callee.type&&this.raise(r,"Cannot use new with import()"),this.eat(_.parenL)?e.arguments=this.parseExprList(_.parenR,this.options.ecmaVersion>=8,!1):e.arguments=X,this.finishNode(e,"NewExpression")},Q.parseTemplateElement=function(e){var t=e.isTagged,n=this.startNode();return this.type===_.invalidTemplate?(t||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),n.value={raw:this.value,cooked:null}):n.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,"\n"),cooked:this.value},this.next(),n.tail=this.type===_.backQuote,this.finishNode(n,"TemplateElement")},Q.parseTemplate=function(e){void 0===e&&(e={});var t=e.isTagged;void 0===t&&(t=!1);var n=this.startNode();this.next(),n.expressions=[];var r=this.parseTemplateElement({isTagged:t});for(n.quasis=[r];!r.tail;)this.type===_.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(_.dollarBraceL),n.expressions.push(this.parseExpression()),this.expect(_.braceR),n.quasis.push(r=this.parseTemplateElement({isTagged:t}));return this.next(),this.finishNode(n,"TemplateLiteral")},Q.isAsyncProp=function(e){return!e.computed&&"Identifier"===e.key.type&&"async"===e.key.name&&(this.type===_.name||this.type===_.num||this.type===_.string||this.type===_.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===_.star)&&!w.test(this.input.slice(this.lastTokEnd,this.start))},Q.parseObj=function(e,t){var n=this.startNode(),r=!0,i={};for(n.properties=[],this.next();!this.eat(_.braceR);){if(r)r=!1;else if(this.expect(_.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(_.braceR))break;var s=this.parseProperty(e,t);e||this.checkPropClash(s,i,t),n.properties.push(s)}return this.finishNode(n,e?"ObjectPattern":"ObjectExpression")},Q.parseProperty=function(e,t){var n,r,i,s,o=this.startNode();if(this.options.ecmaVersion>=9&&this.eat(_.ellipsis))return e?(o.argument=this.parseIdent(!1),this.type===_.comma&&this.raise(this.start,"Comma is not permitted after the rest element"),this.finishNode(o,"RestElement")):(this.type===_.parenL&&t&&(t.parenthesizedAssign<0&&(t.parenthesizedAssign=this.start),t.parenthesizedBind<0&&(t.parenthesizedBind=this.start)),o.argument=this.parseMaybeAssign(!1,t),this.type===_.comma&&t&&t.trailingComma<0&&(t.trailingComma=this.start),this.finishNode(o,"SpreadElement"));this.options.ecmaVersion>=6&&(o.method=!1,o.shorthand=!1,(e||t)&&(i=this.start,s=this.startLoc),e||(n=this.eat(_.star)));var a=this.containsEsc;return this.parsePropertyName(o),!e&&!a&&this.options.ecmaVersion>=8&&!n&&this.isAsyncProp(o)?(r=!0,n=this.options.ecmaVersion>=9&&this.eat(_.star),this.parsePropertyName(o,t)):r=!1,this.parsePropertyValue(o,e,n,r,i,s,t,a),this.finishNode(o,"Property")},Q.parsePropertyValue=function(e,t,n,r,i,s,o,a){if((n||r)&&this.type===_.colon&&this.unexpected(),this.eat(_.colon))e.value=t?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,o),e.kind="init";else if(this.options.ecmaVersion>=6&&this.type===_.parenL)t&&this.unexpected(),e.kind="init",e.method=!0,e.value=this.parseMethod(n,r);else if(t||a||!(this.options.ecmaVersion>=5)||e.computed||"Identifier"!==e.key.type||"get"!==e.key.name&&"set"!==e.key.name||this.type===_.comma||this.type===_.braceR||this.type===_.eq)this.options.ecmaVersion>=6&&!e.computed&&"Identifier"===e.key.type?((n||r)&&this.unexpected(),this.checkUnreserved(e.key),"await"!==e.key.name||this.awaitIdentPos||(this.awaitIdentPos=i),e.kind="init",t?e.value=this.parseMaybeDefault(i,s,e.key):this.type===_.eq&&o?(o.shorthandAssign<0&&(o.shorthandAssign=this.start),e.value=this.parseMaybeDefault(i,s,e.key)):e.value=e.key,e.shorthand=!0):this.unexpected();else{(n||r)&&this.unexpected(),e.kind=e.key.name,this.parsePropertyName(e),e.value=this.parseMethod(!1);var c="get"===e.kind?0:1;if(e.value.params.length!==c){var l=e.value.start;"get"===e.kind?this.raiseRecoverable(l,"getter should have no params"):this.raiseRecoverable(l,"setter should have exactly one param")}else"set"===e.kind&&"RestElement"===e.value.params[0].type&&this.raiseRecoverable(e.value.params[0].start,"Setter cannot use rest params")}},Q.parsePropertyName=function(e){if(this.options.ecmaVersion>=6){if(this.eat(_.bracketL))return e.computed=!0,e.key=this.parseMaybeAssign(),this.expect(_.bracketR),e.key;e.computed=!1}return e.key=this.type===_.num||this.type===_.string?this.parseExprAtom():this.parseIdent("never"!==this.options.allowReserved)},Q.initFunction=function(e){e.id=null,this.options.ecmaVersion>=6&&(e.generator=e.expression=!1),this.options.ecmaVersion>=8&&(e.async=!1)},Q.parseMethod=function(e,t,n){var r=this.startNode(),i=this.yieldPos,s=this.awaitPos,o=this.awaitIdentPos;return this.initFunction(r),this.options.ecmaVersion>=6&&(r.generator=e),this.options.ecmaVersion>=8&&(r.async=!!t),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(64|j(t,r.generator)|(n?128:0)),this.expect(_.parenL),r.params=this.parseBindingList(_.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(r,!1,!0),this.yieldPos=i,this.awaitPos=s,this.awaitIdentPos=o,this.finishNode(r,"FunctionExpression")},Q.parseArrowExpression=function(e,t,n){var r=this.yieldPos,i=this.awaitPos,s=this.awaitIdentPos;return this.enterScope(16|j(n,!1)),this.initFunction(e),this.options.ecmaVersion>=8&&(e.async=!!n),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,e.params=this.toAssignableList(t,!0),this.parseFunctionBody(e,!0,!1),this.yieldPos=r,this.awaitPos=i,this.awaitIdentPos=s,this.finishNode(e,"ArrowFunctionExpression")},Q.parseFunctionBody=function(e,t,n){var r=t&&this.type!==_.braceL,i=this.strict,s=!1;if(r)e.body=this.parseMaybeAssign(),e.expression=!0,this.checkParams(e,!1);else{var o=this.options.ecmaVersion>=7&&!this.isSimpleParamList(e.params);i&&!o||(s=this.strictDirective(this.end))&&o&&this.raiseRecoverable(e.start,"Illegal 'use strict' directive in function with non-simple parameter list");var a=this.labels;this.labels=[],s&&(this.strict=!0),this.checkParams(e,!i&&!s&&!t&&!n&&this.isSimpleParamList(e.params)),this.strict&&e.id&&this.checkLVal(e.id,5),e.body=this.parseBlock(!1,void 0,s&&!i),e.expression=!1,this.adaptDirectivePrologue(e.body.body),this.labels=a}this.exitScope()},Q.isSimpleParamList=function(e){for(var t=0,n=e;t-1||i.functions.indexOf(e)>-1||i.var.indexOf(e)>-1,i.lexical.push(e),this.inModule&&1&i.flags&&delete this.undefinedExports[e]}else if(4===t)this.currentScope().lexical.push(e);else if(3===t){var s=this.currentScope();r=this.treatFunctionsAsVar?s.lexical.indexOf(e)>-1:s.lexical.indexOf(e)>-1||s.var.indexOf(e)>-1,s.functions.push(e)}else for(var o=this.scopeStack.length-1;o>=0;--o){var a=this.scopeStack[o];if(a.lexical.indexOf(e)>-1&&!(32&a.flags&&a.lexical[0]===e)||!this.treatFunctionsAsVarInScope(a)&&a.functions.indexOf(e)>-1){r=!0;break}if(a.var.push(e),this.inModule&&1&a.flags&&delete this.undefinedExports[e],3&a.flags)break}r&&this.raiseRecoverable(n,"Identifier '"+e+"' has already been declared")},Z.checkLocalExport=function(e){-1===this.scopeStack[0].lexical.indexOf(e.name)&&-1===this.scopeStack[0].var.indexOf(e.name)&&(this.undefinedExports[e.name]=e)},Z.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]},Z.currentVarScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(3&t.flags)return t}},Z.currentThisScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(3&t.flags&&!(16&t.flags))return t}};var te=function(e,t,n){this.type="",this.start=t,this.end=0,e.options.locations&&(this.loc=new N(e,n)),e.options.directSourceFile&&(this.sourceFile=e.options.directSourceFile),e.options.ranges&&(this.range=[t,0])},ne=q.prototype;function re(e,t,n,r){return e.type=t,e.end=n,this.options.locations&&(e.loc.end=r),this.options.ranges&&(e.range[1]=n),e}ne.startNode=function(){return new te(this,this.start,this.startLoc)},ne.startNodeAt=function(e,t){return new te(this,e,t)},ne.finishNode=function(e,t){return re.call(this,e,t,this.lastTokEnd,this.lastTokEndLoc)},ne.finishNodeAt=function(e,t,n,r){return re.call(this,e,t,n,r)};var ie=function(e,t,n,r,i){this.token=e,this.isExpr=!!t,this.preserveSpace=!!n,this.override=r,this.generator=!!i},se={b_stat:new ie("{",!1),b_expr:new ie("{",!0),b_tmpl:new ie("${",!1),p_stat:new ie("(",!1),p_expr:new ie("(",!0),q_tmpl:new ie("`",!0,!0,(function(e){return e.tryReadTemplateToken()})),f_stat:new ie("function",!1),f_expr:new ie("function",!0),f_expr_gen:new ie("function",!0,!1,null,!0),f_gen:new ie("function",!1,!1,null,!0)},oe=q.prototype;oe.initialContext=function(){return[se.b_stat]},oe.braceIsBlock=function(e){var t=this.curContext();return t===se.f_expr||t===se.f_stat||(e!==_.colon||t!==se.b_stat&&t!==se.b_expr?e===_._return||e===_.name&&this.exprAllowed?w.test(this.input.slice(this.lastTokEnd,this.start)):e===_._else||e===_.semi||e===_.eof||e===_.parenR||e===_.arrow||(e===_.braceL?t===se.b_stat:e!==_._var&&e!==_._const&&e!==_.name&&!this.exprAllowed):!t.isExpr)},oe.inGeneratorContext=function(){for(var e=this.context.length-1;e>=1;e--){var t=this.context[e];if("function"===t.token)return t.generator}return!1},oe.updateContext=function(e){var t,n=this.type;n.keyword&&e===_.dot?this.exprAllowed=!1:(t=n.updateContext)?t.call(this,e):this.exprAllowed=n.beforeExpr},_.parenR.updateContext=_.braceR.updateContext=function(){if(1!==this.context.length){var e=this.context.pop();e===se.b_stat&&"function"===this.curContext().token&&(e=this.context.pop()),this.exprAllowed=!e.isExpr}else this.exprAllowed=!0},_.braceL.updateContext=function(e){this.context.push(this.braceIsBlock(e)?se.b_stat:se.b_expr),this.exprAllowed=!0},_.dollarBraceL.updateContext=function(){this.context.push(se.b_tmpl),this.exprAllowed=!0},_.parenL.updateContext=function(e){var t=e===_._if||e===_._for||e===_._with||e===_._while;this.context.push(t?se.p_stat:se.p_expr),this.exprAllowed=!0},_.incDec.updateContext=function(){},_._function.updateContext=_._class.updateContext=function(e){!e.beforeExpr||e===_.semi||e===_._else||e===_._return&&w.test(this.input.slice(this.lastTokEnd,this.start))||(e===_.colon||e===_.braceL)&&this.curContext()===se.b_stat?this.context.push(se.f_stat):this.context.push(se.f_expr),this.exprAllowed=!1},_.backQuote.updateContext=function(){this.curContext()===se.q_tmpl?this.context.pop():this.context.push(se.q_tmpl),this.exprAllowed=!1},_.star.updateContext=function(e){if(e===_._function){var t=this.context.length-1;this.context[t]===se.f_expr?this.context[t]=se.f_expr_gen:this.context[t]=se.f_gen}this.exprAllowed=!0},_.name.updateContext=function(e){var t=!1;this.options.ecmaVersion>=6&&e!==_.dot&&("of"===this.value&&!this.exprAllowed||"yield"===this.value&&this.inGeneratorContext())&&(t=!0),this.exprAllowed=t};var ae="ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS",ce=ae+" Extended_Pictographic",le={9:ae,10:ce,11:ce},ue="Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu",he="Adlam Adlm Ahom Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb",pe=he+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",de={9:he,10:pe,11:pe+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho"},fe={};function me(e){var t=fe[e]={binary:O(le[e]+" "+ue),nonBinary:{General_Category:O(ue),Script:O(de[e])}};t.nonBinary.Script_Extensions=t.nonBinary.Script,t.nonBinary.gc=t.nonBinary.General_Category,t.nonBinary.sc=t.nonBinary.Script,t.nonBinary.scx=t.nonBinary.Script_Extensions}me(9),me(10),me(11);var ge=q.prototype,ve=function(e){this.parser=e,this.validFlags="gim"+(e.options.ecmaVersion>=6?"uy":"")+(e.options.ecmaVersion>=9?"s":""),this.unicodeProperties=fe[e.options.ecmaVersion>=11?11:e.options.ecmaVersion],this.source="",this.flags="",this.start=0,this.switchU=!1,this.switchN=!1,this.pos=0,this.lastIntValue=0,this.lastStringValue="",this.lastAssertionIsQuantifiable=!1,this.numCapturingParens=0,this.maxBackReference=0,this.groupNames=[],this.backReferenceNames=[]};function ye(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode(55296+(e>>10),56320+(1023&e)))}function be(e){return 36===e||e>=40&&e<=43||46===e||63===e||e>=91&&e<=94||e>=123&&e<=125}function _e(e){return e>=65&&e<=90||e>=97&&e<=122}function we(e){return _e(e)||95===e}function xe(e){return we(e)||ke(e)}function ke(e){return e>=48&&e<=57}function Ee(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function Se(e){return e>=65&&e<=70?e-65+10:e>=97&&e<=102?e-97+10:e-48}function Ce(e){return e>=48&&e<=55}ve.prototype.reset=function(e,t,n){var r=-1!==n.indexOf("u");this.start=0|e,this.source=t+"",this.flags=n,this.switchU=r&&this.parser.options.ecmaVersion>=6,this.switchN=r&&this.parser.options.ecmaVersion>=9},ve.prototype.raise=function(e){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+e)},ve.prototype.at=function(e,t){void 0===t&&(t=!1);var n=this.source,r=n.length;if(e>=r)return-1;var i=n.charCodeAt(e);if(!t&&!this.switchU||i<=55295||i>=57344||e+1>=r)return i;var s=n.charCodeAt(e+1);return s>=56320&&s<=57343?(i<<10)+s-56613888:i},ve.prototype.nextIndex=function(e,t){void 0===t&&(t=!1);var n=this.source,r=n.length;if(e>=r)return r;var i,s=n.charCodeAt(e);return!t&&!this.switchU||s<=55295||s>=57344||e+1>=r||(i=n.charCodeAt(e+1))<56320||i>57343?e+1:e+2},ve.prototype.current=function(e){return void 0===e&&(e=!1),this.at(this.pos,e)},ve.prototype.lookahead=function(e){return void 0===e&&(e=!1),this.at(this.nextIndex(this.pos,e),e)},ve.prototype.advance=function(e){void 0===e&&(e=!1),this.pos=this.nextIndex(this.pos,e)},ve.prototype.eat=function(e,t){return void 0===t&&(t=!1),this.current(t)===e&&(this.advance(t),!0)},ge.validateRegExpFlags=function(e){for(var t=e.validFlags,n=e.flags,r=0;r-1&&this.raise(e.start,"Duplicate regular expression flag")}},ge.validateRegExpPattern=function(e){this.regexp_pattern(e),!e.switchN&&this.options.ecmaVersion>=9&&e.groupNames.length>0&&(e.switchN=!0,this.regexp_pattern(e))},ge.regexp_pattern=function(e){e.pos=0,e.lastIntValue=0,e.lastStringValue="",e.lastAssertionIsQuantifiable=!1,e.numCapturingParens=0,e.maxBackReference=0,e.groupNames.length=0,e.backReferenceNames.length=0,this.regexp_disjunction(e),e.pos!==e.source.length&&(e.eat(41)&&e.raise("Unmatched ')'"),(e.eat(93)||e.eat(125))&&e.raise("Lone quantifier brackets")),e.maxBackReference>e.numCapturingParens&&e.raise("Invalid escape");for(var t=0,n=e.backReferenceNames;t=9&&(n=e.eat(60)),e.eat(61)||e.eat(33))return this.regexp_disjunction(e),e.eat(41)||e.raise("Unterminated group"),e.lastAssertionIsQuantifiable=!n,!0}return e.pos=t,!1},ge.regexp_eatQuantifier=function(e,t){return void 0===t&&(t=!1),!!this.regexp_eatQuantifierPrefix(e,t)&&(e.eat(63),!0)},ge.regexp_eatQuantifierPrefix=function(e,t){return e.eat(42)||e.eat(43)||e.eat(63)||this.regexp_eatBracedQuantifier(e,t)},ge.regexp_eatBracedQuantifier=function(e,t){var n=e.pos;if(e.eat(123)){var r=0,i=-1;if(this.regexp_eatDecimalDigits(e)&&(r=e.lastIntValue,e.eat(44)&&this.regexp_eatDecimalDigits(e)&&(i=e.lastIntValue),e.eat(125)))return-1!==i&&i=9?this.regexp_groupSpecifier(e):63===e.current()&&e.raise("Invalid group"),this.regexp_disjunction(e),e.eat(41))return e.numCapturingParens+=1,!0;e.raise("Unterminated group")}return!1},ge.regexp_eatExtendedAtom=function(e){return e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)||this.regexp_eatInvalidBracedQuantifier(e)||this.regexp_eatExtendedPatternCharacter(e)},ge.regexp_eatInvalidBracedQuantifier=function(e){return this.regexp_eatBracedQuantifier(e,!0)&&e.raise("Nothing to repeat"),!1},ge.regexp_eatSyntaxCharacter=function(e){var t=e.current();return!!be(t)&&(e.lastIntValue=t,e.advance(),!0)},ge.regexp_eatPatternCharacters=function(e){for(var t=e.pos,n=0;-1!==(n=e.current())&&!be(n);)e.advance();return e.pos!==t},ge.regexp_eatExtendedPatternCharacter=function(e){var t=e.current();return!(-1===t||36===t||t>=40&&t<=43||46===t||63===t||91===t||94===t||124===t||(e.advance(),0))},ge.regexp_groupSpecifier=function(e){if(e.eat(63)){if(this.regexp_eatGroupName(e))return-1!==e.groupNames.indexOf(e.lastStringValue)&&e.raise("Duplicate capture group name"),void e.groupNames.push(e.lastStringValue);e.raise("Invalid group")}},ge.regexp_eatGroupName=function(e){if(e.lastStringValue="",e.eat(60)){if(this.regexp_eatRegExpIdentifierName(e)&&e.eat(62))return!0;e.raise("Invalid capture group name")}return!1},ge.regexp_eatRegExpIdentifierName=function(e){if(e.lastStringValue="",this.regexp_eatRegExpIdentifierStart(e)){for(e.lastStringValue+=ye(e.lastIntValue);this.regexp_eatRegExpIdentifierPart(e);)e.lastStringValue+=ye(e.lastIntValue);return!0}return!1},ge.regexp_eatRegExpIdentifierStart=function(e){var t=e.pos,n=this.options.ecmaVersion>=11,r=e.current(n);return e.advance(n),92===r&&this.regexp_eatRegExpUnicodeEscapeSequence(e,n)&&(r=e.lastIntValue),function(e){return p(e,!0)||36===e||95===e}(r)?(e.lastIntValue=r,!0):(e.pos=t,!1)},ge.regexp_eatRegExpIdentifierPart=function(e){var t=e.pos,n=this.options.ecmaVersion>=11,r=e.current(n);return e.advance(n),92===r&&this.regexp_eatRegExpUnicodeEscapeSequence(e,n)&&(r=e.lastIntValue),function(e){return d(e,!0)||36===e||95===e||8204===e||8205===e}(r)?(e.lastIntValue=r,!0):(e.pos=t,!1)},ge.regexp_eatAtomEscape=function(e){return!!(this.regexp_eatBackReference(e)||this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)||e.switchN&&this.regexp_eatKGroupName(e))||(e.switchU&&(99===e.current()&&e.raise("Invalid unicode escape"),e.raise("Invalid escape")),!1)},ge.regexp_eatBackReference=function(e){var t=e.pos;if(this.regexp_eatDecimalEscape(e)){var n=e.lastIntValue;if(e.switchU)return n>e.maxBackReference&&(e.maxBackReference=n),!0;if(n<=e.numCapturingParens)return!0;e.pos=t}return!1},ge.regexp_eatKGroupName=function(e){if(e.eat(107)){if(this.regexp_eatGroupName(e))return e.backReferenceNames.push(e.lastStringValue),!0;e.raise("Invalid named reference")}return!1},ge.regexp_eatCharacterEscape=function(e){return this.regexp_eatControlEscape(e)||this.regexp_eatCControlLetter(e)||this.regexp_eatZero(e)||this.regexp_eatHexEscapeSequence(e)||this.regexp_eatRegExpUnicodeEscapeSequence(e,!1)||!e.switchU&&this.regexp_eatLegacyOctalEscapeSequence(e)||this.regexp_eatIdentityEscape(e)},ge.regexp_eatCControlLetter=function(e){var t=e.pos;if(e.eat(99)){if(this.regexp_eatControlLetter(e))return!0;e.pos=t}return!1},ge.regexp_eatZero=function(e){return 48===e.current()&&!ke(e.lookahead())&&(e.lastIntValue=0,e.advance(),!0)},ge.regexp_eatControlEscape=function(e){var t=e.current();return 116===t?(e.lastIntValue=9,e.advance(),!0):110===t?(e.lastIntValue=10,e.advance(),!0):118===t?(e.lastIntValue=11,e.advance(),!0):102===t?(e.lastIntValue=12,e.advance(),!0):114===t&&(e.lastIntValue=13,e.advance(),!0)},ge.regexp_eatControlLetter=function(e){var t=e.current();return!!_e(t)&&(e.lastIntValue=t%32,e.advance(),!0)},ge.regexp_eatRegExpUnicodeEscapeSequence=function(e,t){void 0===t&&(t=!1);var n,r=e.pos,i=t||e.switchU;if(e.eat(117)){if(this.regexp_eatFixedHexDigits(e,4)){var s=e.lastIntValue;if(i&&s>=55296&&s<=56319){var o=e.pos;if(e.eat(92)&&e.eat(117)&&this.regexp_eatFixedHexDigits(e,4)){var a=e.lastIntValue;if(a>=56320&&a<=57343)return e.lastIntValue=1024*(s-55296)+(a-56320)+65536,!0}e.pos=o,e.lastIntValue=s}return!0}if(i&&e.eat(123)&&this.regexp_eatHexDigits(e)&&e.eat(125)&&(n=e.lastIntValue)>=0&&n<=1114111)return!0;i&&e.raise("Invalid unicode escape"),e.pos=r}return!1},ge.regexp_eatIdentityEscape=function(e){if(e.switchU)return!!this.regexp_eatSyntaxCharacter(e)||!!e.eat(47)&&(e.lastIntValue=47,!0);var t=e.current();return!(99===t||e.switchN&&107===t||(e.lastIntValue=t,e.advance(),0))},ge.regexp_eatDecimalEscape=function(e){e.lastIntValue=0;var t=e.current();if(t>=49&&t<=57){do{e.lastIntValue=10*e.lastIntValue+(t-48),e.advance()}while((t=e.current())>=48&&t<=57);return!0}return!1},ge.regexp_eatCharacterClassEscape=function(e){var t=e.current();if(function(e){return 100===e||68===e||115===e||83===e||119===e||87===e}(t))return e.lastIntValue=-1,e.advance(),!0;if(e.switchU&&this.options.ecmaVersion>=9&&(80===t||112===t)){if(e.lastIntValue=-1,e.advance(),e.eat(123)&&this.regexp_eatUnicodePropertyValueExpression(e)&&e.eat(125))return!0;e.raise("Invalid property name")}return!1},ge.regexp_eatUnicodePropertyValueExpression=function(e){var t=e.pos;if(this.regexp_eatUnicodePropertyName(e)&&e.eat(61)){var n=e.lastStringValue;if(this.regexp_eatUnicodePropertyValue(e)){var r=e.lastStringValue;return this.regexp_validateUnicodePropertyNameAndValue(e,n,r),!0}}if(e.pos=t,this.regexp_eatLoneUnicodePropertyNameOrValue(e)){var i=e.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(e,i),!0}return!1},ge.regexp_validateUnicodePropertyNameAndValue=function(e,t,n){A(e.unicodeProperties.nonBinary,t)||e.raise("Invalid property name"),e.unicodeProperties.nonBinary[t].test(n)||e.raise("Invalid property value")},ge.regexp_validateUnicodePropertyNameOrValue=function(e,t){e.unicodeProperties.binary.test(t)||e.raise("Invalid property name")},ge.regexp_eatUnicodePropertyName=function(e){var t=0;for(e.lastStringValue="";we(t=e.current());)e.lastStringValue+=ye(t),e.advance();return""!==e.lastStringValue},ge.regexp_eatUnicodePropertyValue=function(e){var t=0;for(e.lastStringValue="";xe(t=e.current());)e.lastStringValue+=ye(t),e.advance();return""!==e.lastStringValue},ge.regexp_eatLoneUnicodePropertyNameOrValue=function(e){return this.regexp_eatUnicodePropertyValue(e)},ge.regexp_eatCharacterClass=function(e){if(e.eat(91)){if(e.eat(94),this.regexp_classRanges(e),e.eat(93))return!0;e.raise("Unterminated character class")}return!1},ge.regexp_classRanges=function(e){for(;this.regexp_eatClassAtom(e);){var t=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassAtom(e)){var n=e.lastIntValue;!e.switchU||-1!==t&&-1!==n||e.raise("Invalid character class"),-1!==t&&-1!==n&&t>n&&e.raise("Range out of order in character class")}}},ge.regexp_eatClassAtom=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatClassEscape(e))return!0;if(e.switchU){var n=e.current();(99===n||Ce(n))&&e.raise("Invalid class escape"),e.raise("Invalid escape")}e.pos=t}var r=e.current();return 93!==r&&(e.lastIntValue=r,e.advance(),!0)},ge.regexp_eatClassEscape=function(e){var t=e.pos;if(e.eat(98))return e.lastIntValue=8,!0;if(e.switchU&&e.eat(45))return e.lastIntValue=45,!0;if(!e.switchU&&e.eat(99)){if(this.regexp_eatClassControlLetter(e))return!0;e.pos=t}return this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)},ge.regexp_eatClassControlLetter=function(e){var t=e.current();return!(!ke(t)&&95!==t||(e.lastIntValue=t%32,e.advance(),0))},ge.regexp_eatHexEscapeSequence=function(e){var t=e.pos;if(e.eat(120)){if(this.regexp_eatFixedHexDigits(e,2))return!0;e.switchU&&e.raise("Invalid escape"),e.pos=t}return!1},ge.regexp_eatDecimalDigits=function(e){var t=e.pos,n=0;for(e.lastIntValue=0;ke(n=e.current());)e.lastIntValue=10*e.lastIntValue+(n-48),e.advance();return e.pos!==t},ge.regexp_eatHexDigits=function(e){var t=e.pos,n=0;for(e.lastIntValue=0;Ee(n=e.current());)e.lastIntValue=16*e.lastIntValue+Se(n),e.advance();return e.pos!==t},ge.regexp_eatLegacyOctalEscapeSequence=function(e){if(this.regexp_eatOctalDigit(e)){var t=e.lastIntValue;if(this.regexp_eatOctalDigit(e)){var n=e.lastIntValue;t<=3&&this.regexp_eatOctalDigit(e)?e.lastIntValue=64*t+8*n+e.lastIntValue:e.lastIntValue=8*t+n}else e.lastIntValue=t;return!0}return!1},ge.regexp_eatOctalDigit=function(e){var t=e.current();return Ce(t)?(e.lastIntValue=t-48,e.advance(),!0):(e.lastIntValue=0,!1)},ge.regexp_eatFixedHexDigits=function(e,t){var n=e.pos;e.lastIntValue=0;for(var r=0;r>10),56320+(1023&e)))}Te.next=function(e){!e&&this.type.keyword&&this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword "+this.type.keyword),this.options.onToken&&this.options.onToken(new Re(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()},Te.getToken=function(){return this.next(),new Re(this)},"undefined"!=typeof Symbol&&(Te[Symbol.iterator]=function(){var e=this;return{next:function(){var t=e.getToken();return{done:t.type===_.eof,value:t}}}}),Te.curContext=function(){return this.context[this.context.length-1]},Te.nextToken=function(){var e=this.curContext();return e&&e.preserveSpace||this.skipSpace(),this.start=this.pos,this.options.locations&&(this.startLoc=this.curPosition()),this.pos>=this.input.length?this.finishToken(_.eof):e.override?e.override(this):void this.readToken(this.fullCharCodeAtPos())},Te.readToken=function(e){return p(e,this.options.ecmaVersion>=6)||92===e?this.readWord():this.getTokenFromCode(e)},Te.fullCharCodeAtPos=function(){var e=this.input.charCodeAt(this.pos);return e<=55295||e>=57344?e:(e<<10)+this.input.charCodeAt(this.pos+1)-56613888},Te.skipBlockComment=function(){var e,t=this.options.onComment&&this.curPosition(),n=this.pos,r=this.input.indexOf("*/",this.pos+=2);if(-1===r&&this.raise(this.pos-2,"Unterminated comment"),this.pos=r+2,this.options.locations)for(x.lastIndex=n;(e=x.exec(this.input))&&e.index8&&e<14||e>=5760&&E.test(String.fromCharCode(e))))break e;++this.pos}}},Te.finishToken=function(e,t){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var n=this.type;this.type=e,this.value=t,this.updateContext(n)},Te.readToken_dot=function(){var e=this.input.charCodeAt(this.pos+1);if(e>=48&&e<=57)return this.readNumber(!0);var t=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&46===e&&46===t?(this.pos+=3,this.finishToken(_.ellipsis)):(++this.pos,this.finishToken(_.dot))},Te.readToken_slash=function(){var e=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):61===e?this.finishOp(_.assign,2):this.finishOp(_.slash,1)},Te.readToken_mult_modulo_exp=function(e){var t=this.input.charCodeAt(this.pos+1),n=1,r=42===e?_.star:_.modulo;return this.options.ecmaVersion>=7&&42===e&&42===t&&(++n,r=_.starstar,t=this.input.charCodeAt(this.pos+2)),61===t?this.finishOp(_.assign,n+1):this.finishOp(r,n)},Te.readToken_pipe_amp=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?this.options.ecmaVersion>=12&&61===this.input.charCodeAt(this.pos+2)?this.finishOp(_.assign,3):this.finishOp(124===e?_.logicalOR:_.logicalAND,2):61===t?this.finishOp(_.assign,2):this.finishOp(124===e?_.bitwiseOR:_.bitwiseAND,1)},Te.readToken_caret=function(){return 61===this.input.charCodeAt(this.pos+1)?this.finishOp(_.assign,2):this.finishOp(_.bitwiseXOR,1)},Te.readToken_plus_min=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?45!==t||this.inModule||62!==this.input.charCodeAt(this.pos+2)||0!==this.lastTokEnd&&!w.test(this.input.slice(this.lastTokEnd,this.pos))?this.finishOp(_.incDec,2):(this.skipLineComment(3),this.skipSpace(),this.nextToken()):61===t?this.finishOp(_.assign,2):this.finishOp(_.plusMin,1)},Te.readToken_lt_gt=function(e){var t=this.input.charCodeAt(this.pos+1),n=1;return t===e?(n=62===e&&62===this.input.charCodeAt(this.pos+2)?3:2,61===this.input.charCodeAt(this.pos+n)?this.finishOp(_.assign,n+1):this.finishOp(_.bitShift,n)):33!==t||60!==e||this.inModule||45!==this.input.charCodeAt(this.pos+2)||45!==this.input.charCodeAt(this.pos+3)?(61===t&&(n=2),this.finishOp(_.relational,n)):(this.skipLineComment(4),this.skipSpace(),this.nextToken())},Te.readToken_eq_excl=function(e){var t=this.input.charCodeAt(this.pos+1);return 61===t?this.finishOp(_.equality,61===this.input.charCodeAt(this.pos+2)?3:2):61===e&&62===t&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(_.arrow)):this.finishOp(61===e?_.eq:_.prefix,1)},Te.readToken_question=function(){var e=this.options.ecmaVersion;if(e>=11){var t=this.input.charCodeAt(this.pos+1);if(46===t){var n=this.input.charCodeAt(this.pos+2);if(n<48||n>57)return this.finishOp(_.questionDot,2)}if(63===t)return e>=12&&61===this.input.charCodeAt(this.pos+2)?this.finishOp(_.assign,3):this.finishOp(_.coalesce,2)}return this.finishOp(_.question,1)},Te.getTokenFromCode=function(e){switch(e){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(_.parenL);case 41:return++this.pos,this.finishToken(_.parenR);case 59:return++this.pos,this.finishToken(_.semi);case 44:return++this.pos,this.finishToken(_.comma);case 91:return++this.pos,this.finishToken(_.bracketL);case 93:return++this.pos,this.finishToken(_.bracketR);case 123:return++this.pos,this.finishToken(_.braceL);case 125:return++this.pos,this.finishToken(_.braceR);case 58:return++this.pos,this.finishToken(_.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(_.backQuote);case 48:var t=this.input.charCodeAt(this.pos+1);if(120===t||88===t)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(111===t||79===t)return this.readRadixNumber(8);if(98===t||66===t)return this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(!1);case 34:case 39:return this.readString(e);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(e);case 124:case 38:return this.readToken_pipe_amp(e);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(e);case 60:case 62:return this.readToken_lt_gt(e);case 61:case 33:return this.readToken_eq_excl(e);case 63:return this.readToken_question();case 126:return this.finishOp(_.prefix,1)}this.raise(this.pos,"Unexpected character '"+Pe(e)+"'")},Te.finishOp=function(e,t){var n=this.input.slice(this.pos,this.pos+t);return this.pos+=t,this.finishToken(e,n)},Te.readRegexp=function(){for(var e,t,n=this.pos;;){this.pos>=this.input.length&&this.raise(n,"Unterminated regular expression");var r=this.input.charAt(this.pos);if(w.test(r)&&this.raise(n,"Unterminated regular expression"),e)e=!1;else{if("["===r)t=!0;else if("]"===r&&t)t=!1;else if("/"===r&&!t)break;e="\\"===r}++this.pos}var i=this.input.slice(n,this.pos);++this.pos;var s=this.pos,o=this.readWord1();this.containsEsc&&this.unexpected(s);var a=this.regexpState||(this.regexpState=new ve(this));a.reset(n,i,o),this.validateRegExpFlags(a),this.validateRegExpPattern(a);var c=null;try{c=new RegExp(i,o)}catch(e){}return this.finishToken(_.regexp,{pattern:i,flags:o,value:c})},Te.readInt=function(e,t,n){for(var r=this.options.ecmaVersion>=12&&void 0===t,i=n&&48===this.input.charCodeAt(this.pos),s=this.pos,o=0,a=0,c=0,l=null==t?1/0:t;c=97?u-97+10:u>=65?u-65+10:u>=48&&u<=57?u-48:1/0)>=e)break;a=u,o=o*e+h}}return r&&95===a&&this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits"),this.pos===s||null!=t&&this.pos-s!==t?null:o},Te.readRadixNumber=function(e){var t=this.pos;this.pos+=2;var n=this.readInt(e);return null==n&&this.raise(this.start+2,"Expected number in radix "+e),this.options.ecmaVersion>=11&&110===this.input.charCodeAt(this.pos)?(n=Ae(this.input.slice(t,this.pos)),++this.pos):p(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(_.num,n)},Te.readNumber=function(e){var t=this.pos;e||null!==this.readInt(10,void 0,!0)||this.raise(t,"Invalid number");var n=this.pos-t>=2&&48===this.input.charCodeAt(t);n&&this.strict&&this.raise(t,"Invalid number");var r=this.input.charCodeAt(this.pos);if(!n&&!e&&this.options.ecmaVersion>=11&&110===r){var i=Ae(this.input.slice(t,this.pos));return++this.pos,p(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(_.num,i)}n&&/[89]/.test(this.input.slice(t,this.pos))&&(n=!1),46!==r||n||(++this.pos,this.readInt(10),r=this.input.charCodeAt(this.pos)),69!==r&&101!==r||n||(43!==(r=this.input.charCodeAt(++this.pos))&&45!==r||++this.pos,null===this.readInt(10)&&this.raise(t,"Invalid number")),p(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var s,o=(s=this.input.slice(t,this.pos),n?parseInt(s,8):parseFloat(s.replace(/_/g,"")));return this.finishToken(_.num,o)},Te.readCodePoint=function(){var e;if(123===this.input.charCodeAt(this.pos)){this.options.ecmaVersion<6&&this.unexpected();var t=++this.pos;e=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,e>1114111&&this.invalidStringToken(t,"Code point out of bounds")}else e=this.readHexChar(4);return e},Te.readString=function(e){for(var t="",n=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var r=this.input.charCodeAt(this.pos);if(r===e)break;92===r?(t+=this.input.slice(n,this.pos),t+=this.readEscapedChar(!1),n=this.pos):(k(r,this.options.ecmaVersion>=10)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return t+=this.input.slice(n,this.pos++),this.finishToken(_.string,t)};var Oe={};Te.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(e){if(e!==Oe)throw e;this.readInvalidTemplateToken()}this.inTemplateElement=!1},Te.invalidStringToken=function(e,t){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw Oe;this.raise(e,t)},Te.readTmplToken=function(){for(var e="",t=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var n=this.input.charCodeAt(this.pos);if(96===n||36===n&&123===this.input.charCodeAt(this.pos+1))return this.pos!==this.start||this.type!==_.template&&this.type!==_.invalidTemplate?(e+=this.input.slice(t,this.pos),this.finishToken(_.template,e)):36===n?(this.pos+=2,this.finishToken(_.dollarBraceL)):(++this.pos,this.finishToken(_.backQuote));if(92===n)e+=this.input.slice(t,this.pos),e+=this.readEscapedChar(!0),t=this.pos;else if(k(n)){switch(e+=this.input.slice(t,this.pos),++this.pos,n){case 13:10===this.input.charCodeAt(this.pos)&&++this.pos;case 10:e+="\n";break;default:e+=String.fromCharCode(n)}this.options.locations&&(++this.curLine,this.lineStart=this.pos),t=this.pos}else++this.pos}},Te.readInvalidTemplateToken=function(){for(;this.pos=48&&t<=55){var r=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],i=parseInt(r,8);return i>255&&(r=r.slice(0,-1),i=parseInt(r,8)),this.pos+=r.length-1,t=this.input.charCodeAt(this.pos),"0"===r&&56!==t&&57!==t||!this.strict&&!e||this.invalidStringToken(this.pos-1-r.length,e?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(i)}return k(t)?"":String.fromCharCode(t)}},Te.readHexChar=function(e){var t=this.pos,n=this.readInt(16,e);return null===n&&this.invalidStringToken(t,"Bad character escape sequence"),n},Te.readWord1=function(){this.containsEsc=!1;for(var e="",t=!0,n=this.pos,r=this.options.ecmaVersion>=6;this.pos{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(9138),i=n(4458),s={returnIndex:!1},o=(e,t,n,r)=>{const s=Array.isArray(n),o=s?n[0]:n;if(!s&&"string"!=typeof o)throw new TypeError("anymatch: second argument must be a string: got "+Object.prototype.toString.call(o));const a=i(o);for(let e=0;e{if(null==e)throw new TypeError("anymatch: specify first argument");const i="boolean"==typeof n?{returnIndex:n}:n,a=i.returnIndex||!1,c=(l=e,Array.isArray(l)?l:[l]);var l;const u=c.filter(e=>"string"==typeof e&&"!"===e.charAt(0)).map(e=>e.slice(1)).map(e=>r(e,i)),h=c.filter(e=>"string"!=typeof e||"string"==typeof e&&"!"!==e.charAt(0)).map(e=>((e,t)=>{if("function"==typeof e)return e;if("string"==typeof e){const n=r(e,t);return t=>e===t||n(t)}return e instanceof RegExp?t=>e.test(t):e=>!1})(e,i));return null==t?(e,t=!1)=>o(h,u,e,"boolean"==typeof t&&t):o(h,u,t,a)};a.default=a,e.exports=a},3353:e=>{"use strict";function t(e,t,i){e instanceof RegExp&&(e=n(e,i)),t instanceof RegExp&&(t=n(t,i));var s=r(e,t,i);return s&&{start:s[0],end:s[1],pre:i.slice(0,s[0]),body:i.slice(s[0]+e.length,s[1]),post:i.slice(s[1]+t.length)}}function n(e,t){var n=t.match(e);return n?n[0]:null}function r(e,t,n){var r,i,s,o,a,c=n.indexOf(e),l=n.indexOf(t,c+1),u=c;if(c>=0&&l>0){if(e===t)return[c,l];for(r=[],s=n.length;u>=0&&!a;)u==c?(r.push(u),c=n.indexOf(e,u+1)):1==r.length?a=[r.pop(),l]:((i=r.pop())=0?c:l;r.length&&(a=[s,o])}return a}e.exports=t,t.range=r},5670:(e,t,n)=>{e.exports=n(2265)},3197:(e,t,n)=>{var r=n(4527),i=n(3353);e.exports=function(e){if(!e)return[];"{}"===e.substr(0,2)&&(e="\\{\\}"+e.substr(2));return function e(t,n){var s=[],o=i("{","}",t);if(!o||/\$$/.test(o.pre))return[t];var c,l=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(o.body),h=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(o.body),g=l||h,v=o.body.indexOf(",")>=0;if(!g&&!v)return o.post.match(/,.*\}/)?(t=o.pre+"{"+o.body+a+o.post,e(t)):[t];if(g)c=o.body.split(/\.\./);else{if(1===(c=function e(t){if(!t)return[""];var n=[],r=i("{","}",t);if(!r)return t.split(",");var s=r.pre,o=r.body,a=r.post,c=s.split(",");c[c.length-1]+="{"+o+"}";var l=e(a);a.length&&(c[c.length-1]+=l.shift(),c.push.apply(c,l));return n.push.apply(n,c),n}(o.body)).length)if(1===(c=e(c[0],!1).map(p)).length)return(_=o.post.length?e(o.post,!1):[""]).map((function(e){return o.pre+c[0]+e}))}var y,b=o.pre,_=o.post.length?e(o.post,!1):[""];if(g){var w=u(c[0]),x=u(c[1]),k=Math.max(c[0].length,c[1].length),E=3==c.length?Math.abs(u(c[2])):1,S=f;x0){var P=new Array(A+1).join("0");T=R<0?"-"+P+T.slice(1):P+T}}y.push(T)}}else y=r(c,(function(t){return e(t,!1)}));for(var O=0;O=t}},538:(e,t,n)=>{"use strict";const r=n(9200),i=n(3668),s=n(5961),o=n(9594),a=(e,t={})=>{let n=[];if(Array.isArray(e))for(let r of e){let e=a.create(r,t);Array.isArray(e)?n.push(...e):n.push(e)}else n=[].concat(a.create(e,t));return t&&!0===t.expand&&!0===t.nodupes&&(n=[...new Set(n)]),n};a.parse=(e,t={})=>o(e,t),a.stringify=(e,t={})=>r("string"==typeof e?a.parse(e,t):e,t),a.compile=(e,t={})=>("string"==typeof e&&(e=a.parse(e,t)),i(e,t)),a.expand=(e,t={})=>{"string"==typeof e&&(e=a.parse(e,t));let n=s(e,t);return!0===t.noempty&&(n=n.filter(Boolean)),!0===t.nodupes&&(n=[...new Set(n)]),n},a.create=(e,t={})=>""===e||e.length<3?[e]:!0!==t.expand?a.compile(e,t):a.expand(e,t),e.exports=a},3668:(e,t,n)=>{"use strict";const r=n(3488),i=n(4691);e.exports=(e,t={})=>{let n=(e,s={})=>{let o=i.isInvalidBrace(s),a=!0===e.invalid&&!0===t.escapeInvalid,c=!0===o||!0===a,l=!0===t.escapeInvalid?"\\":"",u="";if(!0===e.isOpen)return l+e.value;if(!0===e.isClose)return l+e.value;if("open"===e.type)return c?l+e.value:"(";if("close"===e.type)return c?l+e.value:")";if("comma"===e.type)return"comma"===e.prev.type?"":c?e.value:"|";if(e.value)return e.value;if(e.nodes&&e.ranges>0){let n=i.reduce(e.nodes),s=r(...n,{...t,wrap:!1,toRegex:!0});if(0!==s.length)return n.length>1&&s.length>1?`(${s})`:s}if(e.nodes)for(let t of e.nodes)u+=n(t,e);return u};return n(e)}},5529:e=>{"use strict";e.exports={MAX_LENGTH:65536,CHAR_0:"0",CHAR_9:"9",CHAR_UPPERCASE_A:"A",CHAR_LOWERCASE_A:"a",CHAR_UPPERCASE_Z:"Z",CHAR_LOWERCASE_Z:"z",CHAR_LEFT_PARENTHESES:"(",CHAR_RIGHT_PARENTHESES:")",CHAR_ASTERISK:"*",CHAR_AMPERSAND:"&",CHAR_AT:"@",CHAR_BACKSLASH:"\\",CHAR_BACKTICK:"`",CHAR_CARRIAGE_RETURN:"\r",CHAR_CIRCUMFLEX_ACCENT:"^",CHAR_COLON:":",CHAR_COMMA:",",CHAR_DOLLAR:"$",CHAR_DOT:".",CHAR_DOUBLE_QUOTE:'"',CHAR_EQUAL:"=",CHAR_EXCLAMATION_MARK:"!",CHAR_FORM_FEED:"\f",CHAR_FORWARD_SLASH:"/",CHAR_HASH:"#",CHAR_HYPHEN_MINUS:"-",CHAR_LEFT_ANGLE_BRACKET:"<",CHAR_LEFT_CURLY_BRACE:"{",CHAR_LEFT_SQUARE_BRACKET:"[",CHAR_LINE_FEED:"\n",CHAR_NO_BREAK_SPACE:" ",CHAR_PERCENT:"%",CHAR_PLUS:"+",CHAR_QUESTION_MARK:"?",CHAR_RIGHT_ANGLE_BRACKET:">",CHAR_RIGHT_CURLY_BRACE:"}",CHAR_RIGHT_SQUARE_BRACKET:"]",CHAR_SEMICOLON:";",CHAR_SINGLE_QUOTE:"'",CHAR_SPACE:" ",CHAR_TAB:"\t",CHAR_UNDERSCORE:"_",CHAR_VERTICAL_LINE:"|",CHAR_ZERO_WIDTH_NOBREAK_SPACE:"\ufeff"}},5961:(e,t,n)=>{"use strict";const r=n(3488),i=n(9200),s=n(4691),o=(e="",t="",n=!1)=>{let r=[];if(e=[].concat(e),!(t=[].concat(t)).length)return e;if(!e.length)return n?s.flatten(t).map(e=>`{${e}}`):t;for(let i of e)if(Array.isArray(i))for(let e of i)r.push(o(e,t,n));else for(let e of t)!0===n&&"string"==typeof e&&(e=`{${e}}`),r.push(Array.isArray(e)?o(i,e,n):i+e);return s.flatten(r)};e.exports=(e,t={})=>{let n=void 0===t.rangeLimit?1e3:t.rangeLimit,a=(e,c={})=>{e.queue=[];let l=c,u=c.queue;for(;"brace"!==l.type&&"root"!==l.type&&l.parent;)l=l.parent,u=l.queue;if(e.invalid||e.dollar)return void u.push(o(u.pop(),i(e,t)));if("brace"===e.type&&!0!==e.invalid&&2===e.nodes.length)return void u.push(o(u.pop(),["{}"]));if(e.nodes&&e.ranges>0){let a=s.reduce(e.nodes);if(s.exceedsLimit(...a,t.step,n))throw new RangeError("expanded array length exceeds range limit. Use options.rangeLimit to increase or disable the limit.");let c=r(...a,t);return 0===c.length&&(c=i(e,t)),u.push(o(u.pop(),c)),void(e.nodes=[])}let h=s.encloseBrace(e),p=e.queue,d=e;for(;"brace"!==d.type&&"root"!==d.type&&d.parent;)d=d.parent,p=d.queue;for(let t=0;t{"use strict";const r=n(9200),{MAX_LENGTH:i,CHAR_BACKSLASH:s,CHAR_BACKTICK:o,CHAR_COMMA:a,CHAR_DOT:c,CHAR_LEFT_PARENTHESES:l,CHAR_RIGHT_PARENTHESES:u,CHAR_LEFT_CURLY_BRACE:h,CHAR_RIGHT_CURLY_BRACE:p,CHAR_LEFT_SQUARE_BRACKET:d,CHAR_RIGHT_SQUARE_BRACKET:f,CHAR_DOUBLE_QUOTE:m,CHAR_SINGLE_QUOTE:g,CHAR_NO_BREAK_SPACE:v,CHAR_ZERO_WIDTH_NOBREAK_SPACE:y}=n(5529);e.exports=(e,t={})=>{if("string"!=typeof e)throw new TypeError("Expected a string");let n=t||{},b="number"==typeof n.maxLength?Math.min(i,n.maxLength):i;if(e.length>b)throw new SyntaxError(`Input length (${e.length}), exceeds max characters (${b})`);let _,w={type:"root",input:e,nodes:[]},x=[w],k=w,E=w,S=0,C=e.length,R=0,T=0;const A=()=>e[R++],P=e=>{if("text"===e.type&&"dot"===E.type&&(E.type="text"),!E||"text"!==E.type||"text"!==e.type)return k.nodes.push(e),e.parent=k,e.prev=E,E=e,e;E.value+=e.value};for(P({type:"bos"});R0){if(k.ranges>0){k.ranges=0;let e=k.nodes.shift();k.nodes=[e,{type:"text",value:r(k)}]}P({type:"comma",value:_}),k.commas++}else if(_===c&&T>0&&0===k.commas){let e=k.nodes;if(0===T||0===e.length){P({type:"text",value:_});continue}if("dot"===E.type){if(k.range=[],E.value+=_,E.type="range",3!==k.nodes.length&&5!==k.nodes.length){k.invalid=!0,k.ranges=0,E.type="text";continue}k.ranges++,k.args=[];continue}if("range"===E.type){e.pop();let t=e[e.length-1];t.value+=E.value+_,E=t,k.ranges--;continue}P({type:"dot",value:_})}else P({type:"text",value:_});else{if("brace"!==k.type){P({type:"text",value:_});continue}let e="close";k=x.pop(),k.close=!0,P({type:e,value:_}),T--,k=x[x.length-1]}else{T++;let e=E.value&&"$"===E.value.slice(-1)||!0===k.dollar;k=P({type:"brace",open:!0,close:!1,dollar:e,depth:T,commas:0,ranges:0,nodes:[]}),x.push(k),P({type:"open",value:_})}else{let e,n=_;for(!0!==t.keepQuotes&&(_="");R{e.nodes||("open"===e.type&&(e.isOpen=!0),"close"===e.type&&(e.isClose=!0),e.nodes||(e.type="text"),e.invalid=!0)});let e=x[x.length-1],t=e.nodes.indexOf(k);e.nodes.splice(t,1,...k.nodes)}}while(x.length>0);return P({type:"eos"}),w}},9200:(e,t,n)=>{"use strict";const r=n(4691);e.exports=(e,t={})=>{let n=(e,i={})=>{let s=t.escapeInvalid&&r.isInvalidBrace(i),o=!0===e.invalid&&!0===t.escapeInvalid,a="";if(e.value)return(s||o)&&r.isOpenOrClose(e)?"\\"+e.value:e.value;if(e.value)return e.value;if(e.nodes)for(let t of e.nodes)a+=n(t);return a};return n(e)}},4691:(e,t)=>{"use strict";t.isInteger=e=>"number"==typeof e?Number.isInteger(e):"string"==typeof e&&""!==e.trim()&&Number.isInteger(Number(e)),t.find=(e,t)=>e.nodes.find(e=>e.type===t),t.exceedsLimit=(e,n,r=1,i)=>!1!==i&&(!(!t.isInteger(e)||!t.isInteger(n))&&(Number(n)-Number(e))/Number(r)>=i),t.escapeNode=(e,t=0,n)=>{let r=e.nodes[t];r&&(n&&r.type===n||"open"===r.type||"close"===r.type)&&!0!==r.escaped&&(r.value="\\"+r.value,r.escaped=!0)},t.encloseBrace=e=>"brace"===e.type&&(e.commas>>0+e.ranges>>0==0&&(e.invalid=!0,!0)),t.isInvalidBrace=e=>"brace"===e.type&&(!(!0!==e.invalid&&!e.dollar)||(e.commas>>0+e.ranges>>0==0||!0!==e.open||!0!==e.close)&&(e.invalid=!0,!0)),t.isOpenOrClose=e=>"open"===e.type||"close"===e.type||(!0===e.open||!0===e.close),t.reduce=e=>e.reduce((e,t)=>("text"===t.type&&e.push(t.value),"range"===t.type&&(t.type="text"),e),[]),t.flatten=(...e)=>{const t=[],n=e=>{for(let r=0;r{"use strict";const{builtinModules:r}=n(2282),i=["sys"];e.exports=(r||Object.keys(process.binding("natives"))).filter(e=>!/^_|^(internal|v8|node-inspect)\/|\//.test(e)&&!i.includes(e)).sort()},3002:(e,t,n)=>{"use strict";const{EventEmitter:r}=n(8614),i=n(5747),s=n(5622),{promisify:o}=n(1669),a=n(5316),c=n(2056).default,l=n(7507),u=n(4042),h=n(538),p=n(4458),d=n(7900),f=n(6314),{EV_ALL:m,EV_READY:g,EV_ADD:v,EV_CHANGE:y,EV_UNLINK:b,EV_ADD_DIR:_,EV_UNLINK_DIR:w,EV_RAW:x,EV_ERROR:k,STR_CLOSE:E,STR_END:S,BACK_SLASH_RE:C,DOUBLE_SLASH_RE:R,SLASH_OR_BACK_SLASH_RE:T,DOT_RE:A,REPLACER_RE:P,SLASH:O,SLASH_SLASH:I,BRACE_START:N,BANG:D,ONE_DOT:M,TWO_DOTS:L,GLOBSTAR:j,SLASH_GLOBSTAR:q,ANYMATCH_OPTS:F,STRING_TYPE:$,FUNCTION_TYPE:H,EMPTY_STR:z,EMPTY_FN:B,isWindows:W,isMacos:U}=n(3821),V=o(i.stat),G=o(i.readdir),K=(e=[])=>Array.isArray(e)?e:[e],Y=(e,t=[])=>(e.forEach(e=>{Array.isArray(e)?Y(e,t):t.push(e)}),t),Q=e=>{const t=Y(K(e));if(!t.every(e=>typeof e===$))throw new TypeError("Non-string provided as watch path: "+t);return t.map(J)},X=e=>{let t=e.replace(C,O),n=!1;for(t.startsWith(I)&&(n=!0);t.match(R);)t=t.replace(R,O);return n&&(t=O+t),t},J=e=>X(s.normalize(X(e))),Z=(e=z)=>t=>typeof t!==$?t:J(s.isAbsolute(t)?t:s.join(e,t)),ee=(e,t)=>void 0===e[t];class te{constructor(e,t){this.path=e,this._removeWatcher=t,this.items=new Set}add(e){const{items:t}=this;t&&e!==M&&e!==L&&t.add(e)}async remove(e){const{items:t}=this;if(!t)return;if(t.delete(e),t.size>0)return;const n=this.path;try{await G(n)}catch(e){this._removeWatcher&&this._removeWatcher(s.dirname(n),s.basename(n))}}has(e){const{items:t}=this;if(t)return t.has(e)}getChildren(){const{items:e}=this;if(e)return[...e.values()]}dispose(){this.items.clear(),delete this.path,delete this._removeWatcher,delete this.items,Object.freeze(this)}}class ne{constructor(e,t,n,r){this.fsw=r,this.path=e=e.replace(P,z),this.watchPath=t,this.fullWatchPath=s.resolve(t),this.hasGlob=t!==e,e===z&&(this.hasGlob=!1),this.globSymlink=!(!this.hasGlob||!n)&&void 0,this.globFilter=!!this.hasGlob&&c(e,void 0,F),this.dirParts=this.getDirParts(e),this.dirParts.forEach(e=>{e.length>1&&e.pop()}),this.followSymlinks=n,this.statMethod=n?"stat":"lstat"}checkGlobSymlink(e){return void 0===this.globSymlink&&(this.globSymlink=e.fullParentDir!==this.fullWatchPath&&{realPath:e.fullParentDir,linkPath:this.fullWatchPath}),this.globSymlink?e.fullPath.replace(this.globSymlink.realPath,this.globSymlink.linkPath):e.fullPath}entryPath(e){return s.join(this.watchPath,s.relative(this.watchPath,this.checkGlobSymlink(e)))}filterPath(e){const{stats:t}=e;if(t&&t.isSymbolicLink())return this.filterDir(e);const n=this.entryPath(e);return(!this.hasGlob||typeof this.globFilter!==H||this.globFilter(n))&&this.fsw._isntIgnored(n,t)&&this.fsw._hasReadPermissions(t)}getDirParts(e){if(!this.hasGlob)return[];const t=[];return(e.includes(N)?h.expand(e):[e]).forEach(e=>{t.push(s.relative(this.watchPath,e).split(T))}),t}filterDir(e){if(this.hasGlob){const t=this.getDirParts(this.checkGlobSymlink(e));let n=!1;this.unmatchedGlob=!this.dirParts.some(e=>e.every((e,r)=>(e===j&&(n=!0),n||!t[0][r]||c(e,t[0][r],F))))}return!this.unmatchedGlob&&this.fsw._isntIgnored(this.entryPath(e),e.stats)}}class re extends r{constructor(e){super();const t={};e&&Object.assign(t,e),this._watched=new Map,this._closers=new Map,this._ignoredPaths=new Set,this._throttled=new Map,this._symlinkPaths=new Map,this._streams=new Set,this.closed=!1,ee(t,"persistent")&&(t.persistent=!0),ee(t,"ignoreInitial")&&(t.ignoreInitial=!1),ee(t,"ignorePermissionErrors")&&(t.ignorePermissionErrors=!1),ee(t,"interval")&&(t.interval=100),ee(t,"binaryInterval")&&(t.binaryInterval=300),ee(t,"disableGlobbing")&&(t.disableGlobbing=!1),t.enableBinaryInterval=t.binaryInterval!==t.interval,ee(t,"useFsEvents")&&(t.useFsEvents=!t.usePolling),f.canUse()||(t.useFsEvents=!1),ee(t,"usePolling")&&!t.useFsEvents&&(t.usePolling=U);const n=process.env.CHOKIDAR_USEPOLLING;if(void 0!==n){const e=n.toLowerCase();t.usePolling="false"!==e&&"0"!==e&&("true"===e||"1"===e||!!e)}const r=process.env.CHOKIDAR_INTERVAL;r&&(t.interval=Number.parseInt(r,10)),ee(t,"atomic")&&(t.atomic=!t.usePolling&&!t.useFsEvents),t.atomic&&(this._pendingUnlinks=new Map),ee(t,"followSymlinks")&&(t.followSymlinks=!0),ee(t,"awaitWriteFinish")&&(t.awaitWriteFinish=!1),!0===t.awaitWriteFinish&&(t.awaitWriteFinish={});const i=t.awaitWriteFinish;i&&(i.stabilityThreshold||(i.stabilityThreshold=2e3),i.pollInterval||(i.pollInterval=100),this._pendingWrites=new Map),t.ignored&&(t.ignored=K(t.ignored));let s=0;this._emitReady=()=>{s++,s>=this._readyCount&&(this._emitReady=B,this._readyEmitted=!0,process.nextTick(()=>this.emit(g)))},this._emitRaw=(...e)=>this.emit(x,...e),this._readyEmitted=!1,this.options=t,t.useFsEvents?this._fsEventsHandler=new f(this):this._nodeFsHandler=new d(this),Object.freeze(t)}add(e,t,n){const{cwd:r,disableGlobbing:i}=this.options;this.closed=!1;let o=Q(e);return r&&(o=o.map(e=>{const t=((e,t)=>s.isAbsolute(e)?e:e.startsWith(D)?D+s.join(t,e.slice(1)):s.join(t,e))(e,r);return i||!u(e)?t:p(t)})),o=o.filter(e=>e.startsWith(D)?(this._ignoredPaths.add(e.slice(1)),!1):(this._ignoredPaths.delete(e),this._ignoredPaths.delete(e+q),this._userIgnored=void 0,!0)),this.options.useFsEvents&&this._fsEventsHandler?(this._readyCount||(this._readyCount=o.length),this.options.persistent&&(this._readyCount*=2),o.forEach(e=>this._fsEventsHandler._addToFsEvents(e))):(this._readyCount||(this._readyCount=0),this._readyCount+=o.length,Promise.all(o.map(async e=>{const r=await this._nodeFsHandler._addToNodeFs(e,!n,0,0,t);return r&&this._emitReady(),r})).then(e=>{this.closed||e.filter(e=>e).forEach(e=>{this.add(s.dirname(e),s.basename(t||e))})})),this}unwatch(e){if(this.closed)return this;const t=Q(e),{cwd:n}=this.options;return t.forEach(e=>{s.isAbsolute(e)||this._closers.has(e)||(n&&(e=s.join(n,e)),e=s.resolve(e)),this._closePath(e),this._ignoredPaths.add(e),this._watched.has(e)&&this._ignoredPaths.add(e+q),this._userIgnored=void 0}),this}close(){if(this.closed)return this._closePromise;this.closed=!0,this.removeAllListeners();const e=[];return this._closers.forEach(t=>t.forEach(t=>{const n=t();n instanceof Promise&&e.push(n)})),this._streams.forEach(e=>e.destroy()),this._userIgnored=void 0,this._readyCount=0,this._readyEmitted=!1,this._watched.forEach(e=>e.dispose()),["closers","watched","streams","symlinkPaths","throttled"].forEach(e=>{this["_"+e].clear()}),this._closePromise=e.length?Promise.all(e).then(()=>{}):Promise.resolve(),this._closePromise}getWatched(){const e={};return this._watched.forEach((t,n)=>{const r=this.options.cwd?s.relative(this.options.cwd,n):n;e[r||M]=t.getChildren().sort()}),e}emitWithAll(e,t){this.emit(...t),e!==k&&this.emit(m,...t)}async _emit(e,t,n,r,i){if(this.closed)return;const o=this.options;W&&(t=s.normalize(t)),o.cwd&&(t=s.relative(o.cwd,t));const a=[e,t];void 0!==i?a.push(n,r,i):void 0!==r?a.push(n,r):void 0!==n&&a.push(n);const c=o.awaitWriteFinish;let l;if(c&&(l=this._pendingWrites.get(t)))return l.lastChange=new Date,this;if(o.atomic){if(e===b)return this._pendingUnlinks.set(t,a),setTimeout(()=>{this._pendingUnlinks.forEach((e,t)=>{this.emit(...e),this.emit(m,...e),this._pendingUnlinks.delete(t)})},"number"==typeof o.atomic?o.atomic:100),this;e===v&&this._pendingUnlinks.has(t)&&(e=a[0]=y,this._pendingUnlinks.delete(t))}if(c&&(e===v||e===y)&&this._readyEmitted){const n=(t,n)=>{t?(e=a[0]=k,a[1]=t,this.emitWithAll(e,a)):n&&(a.length>2?a[2]=n:a.push(n),this.emitWithAll(e,a))};return this._awaitWriteFinish(t,c.stabilityThreshold,e,n),this}if(e===y){if(!this._throttle(y,t,50))return this}if(o.alwaysStat&&void 0===n&&(e===v||e===_||e===y)){const e=o.cwd?s.join(o.cwd,t):t;let n;try{n=await V(e)}catch(e){}if(!n||this.closed)return;a.push(n)}return this.emitWithAll(e,a),this}_handleError(e){const t=e&&e.code;return e&&"ENOENT"!==t&&"ENOTDIR"!==t&&(!this.options.ignorePermissionErrors||"EPERM"!==t&&"EACCES"!==t)&&this.emit(k,e),e||this.closed}_throttle(e,t,n){this._throttled.has(e)||this._throttled.set(e,new Map);const r=this._throttled.get(e),i=r.get(t);if(i)return i.count++,!1;let s;const o=()=>{const e=r.get(t),n=e?e.count:0;return r.delete(t),clearTimeout(s),e&&clearTimeout(e.timeoutObject),n};s=setTimeout(o,n);const a={timeoutObject:s,clear:o,count:0};return r.set(t,a),a}_incrReadyCount(){return this._readyCount++}_awaitWriteFinish(e,t,n,r){let o,a=e;this.options.cwd&&!s.isAbsolute(e)&&(a=s.join(this.options.cwd,e));const c=new Date,l=n=>{i.stat(a,(i,s)=>{if(i||!this._pendingWrites.has(e))return void(i&&"ENOENT"!==i.code&&r(i));const a=Number(new Date);n&&s.size!==n.size&&(this._pendingWrites.get(e).lastChange=a),a-this._pendingWrites.get(e).lastChange>=t?(this._pendingWrites.delete(e),r(void 0,s)):o=setTimeout(l,this.options.awaitWriteFinish.pollInterval,s)})};this._pendingWrites.has(e)||(this._pendingWrites.set(e,{lastChange:c,cancelWait:()=>(this._pendingWrites.delete(e),clearTimeout(o),n)}),o=setTimeout(l,this.options.awaitWriteFinish.pollInterval))}_getGlobIgnored(){return[...this._ignoredPaths.values()]}_isIgnored(e,t){if(this.options.atomic&&A.test(e))return!0;if(!this._userIgnored){const{cwd:e}=this.options,t=this.options.ignored,n=t&&t.map(Z(e)),r=K(n).filter(e=>typeof e===$&&!u(e)).map(e=>e+q),i=this._getGlobIgnored().map(Z(e)).concat(n,r);this._userIgnored=c(i,void 0,F)}return this._userIgnored([e,t])}_isntIgnored(e,t){return!this._isIgnored(e,t)}_getWatchHelpers(e,t){const n=t||this.options.disableGlobbing||!u(e)?e:l(e),r=this.options.followSymlinks;return new ne(e,n,r,this)}_getWatchedDir(e){this._boundRemove||(this._boundRemove=this._remove.bind(this));const t=s.resolve(e);return this._watched.has(t)||this._watched.set(t,new te(t,this._boundRemove)),this._watched.get(t)}_hasReadPermissions(e){if(this.options.ignorePermissionErrors)return!0;const t=511&(e&&Number.parseInt(e.mode,10)),n=Number.parseInt(t.toString(8)[0],10);return Boolean(4&n)}_remove(e,t,n){const r=s.join(e,t),i=s.resolve(r);if(n=null!=n?n:this._watched.has(r)||this._watched.has(i),!this._throttle("remove",r,100))return;n||this.options.useFsEvents||1!==this._watched.size||this.add(e,t,!0),this._getWatchedDir(r).getChildren().forEach(e=>this._remove(r,e));const o=this._getWatchedDir(e),a=o.has(t);o.remove(t),this._symlinkPaths.has(i)&&this._symlinkPaths.delete(i);let c=r;if(this.options.cwd&&(c=s.relative(this.options.cwd,r)),this.options.awaitWriteFinish&&this._pendingWrites.has(c)){if(this._pendingWrites.get(c).cancelWait()===v)return}this._watched.delete(r),this._watched.delete(i);const l=n?w:b;a&&!this._isIgnored(r)&&this._emit(l,r),this.options.useFsEvents||this._closePath(r)}_closePath(e){this._closeFile(e);const t=s.dirname(e);this._getWatchedDir(t).remove(s.basename(e))}_closeFile(e){const t=this._closers.get(e);t&&(t.forEach(e=>e()),this._closers.delete(e))}_addPathCloser(e,t){if(!t)return;let n=this._closers.get(e);n||(n=[],this._closers.set(e,n)),n.push(t)}_readdirp(e,t){if(this.closed)return;const n={type:m,alwaysStat:!0,lstat:!0,...t};let r=a(e,n);return this._streams.add(r),r.once(E,()=>{r=void 0}),r.once(S,()=>{r&&(this._streams.delete(r),r=void 0)}),r}}t.Y=(e,t)=>{const n=new re(t);return n.add(e),n}},3821:(e,t,n)=>{"use strict";const{sep:r}=n(5622),{platform:i}=process;t.EV_ALL="all",t.EV_READY="ready",t.EV_ADD="add",t.EV_CHANGE="change",t.EV_ADD_DIR="addDir",t.EV_UNLINK="unlink",t.EV_UNLINK_DIR="unlinkDir",t.EV_RAW="raw",t.EV_ERROR="error",t.STR_DATA="data",t.STR_END="end",t.STR_CLOSE="close",t.FSEVENT_CREATED="created",t.FSEVENT_MODIFIED="modified",t.FSEVENT_DELETED="deleted",t.FSEVENT_MOVED="moved",t.FSEVENT_CLONED="cloned",t.FSEVENT_UNKNOWN="unknown",t.FSEVENT_TYPE_FILE="file",t.FSEVENT_TYPE_DIRECTORY="directory",t.FSEVENT_TYPE_SYMLINK="symlink",t.KEY_LISTENERS="listeners",t.KEY_ERR="errHandlers",t.KEY_RAW="rawEmitters",t.HANDLER_KEYS=[t.KEY_LISTENERS,t.KEY_ERR,t.KEY_RAW],t.DOT_SLASH="."+r,t.BACK_SLASH_RE=/\\/g,t.DOUBLE_SLASH_RE=/\/\//,t.SLASH_OR_BACK_SLASH_RE=/[/\\]/,t.DOT_RE=/\..*\.(sw[px])$|~$|\.subl.*\.tmp/,t.REPLACER_RE=/^\.[/\\]/,t.SLASH="/",t.SLASH_SLASH="//",t.BRACE_START="{",t.BANG="!",t.ONE_DOT=".",t.TWO_DOTS="..",t.STAR="*",t.GLOBSTAR="**",t.ROOT_GLOBSTAR="/**/*",t.SLASH_GLOBSTAR="/**",t.DIR_SUFFIX="Dir",t.ANYMATCH_OPTS={dot:!0},t.STRING_TYPE="string",t.FUNCTION_TYPE="function",t.EMPTY_STR="",t.EMPTY_FN=()=>{},t.IDENTITY_FN=e=>e,t.isWindows="win32"===i,t.isMacos="darwin"===i,t.isLinux="linux"===i},6314:(e,t,n)=>{"use strict";const r=n(5747),i=n(5622),{promisify:s}=n(1669);let o;try{o=n(6195)}catch(e){process.env.CHOKIDAR_PRINT_FSEVENTS_REQUIRE_ERROR&&console.error(e)}if(o){const e=process.version.match(/v(\d+)\.(\d+)/);if(e&&e[1]&&e[2]){const t=Number.parseInt(e[1],10),n=Number.parseInt(e[2],10);8===t&&n<16&&(o=void 0)}}const{EV_ADD:a,EV_CHANGE:c,EV_ADD_DIR:l,EV_UNLINK:u,EV_ERROR:h,STR_DATA:p,STR_END:d,FSEVENT_CREATED:f,FSEVENT_MODIFIED:m,FSEVENT_DELETED:g,FSEVENT_MOVED:v,FSEVENT_UNKNOWN:y,FSEVENT_TYPE_FILE:b,FSEVENT_TYPE_DIRECTORY:_,FSEVENT_TYPE_SYMLINK:w,ROOT_GLOBSTAR:x,DIR_SUFFIX:k,DOT_SLASH:E,FUNCTION_TYPE:S,EMPTY_FN:C,IDENTITY_FN:R}=n(3821),T=s(r.stat),A=s(r.lstat),P=s(r.realpath),O={stat:T,lstat:A},I=new Map,N=new Set([69888,70400,71424,72704,73472,131328,131840,262912]),D=(e,t)=>({stop:o.watch(e,t)});const M=e=>{let t=0;for(const n of I.keys())if(0===n.indexOf(e)&&(t++,t>=10))return!0;return!1},L=(e,t)=>{let n=0;for(;!e.indexOf(t)&&(e=i.dirname(e))!==t;)n++;return n},j=(e,t)=>e.type===_&&t.isDirectory()||e.type===w&&t.isSymbolicLink()||e.type===b&&t.isFile();e.exports=class{constructor(e){this.fsw=e}checkIgnored(e,t){const n=this.fsw._ignoredPaths;if(this.fsw._isIgnored(e,t))return n.add(e),t&&t.isDirectory()&&n.add(e+x),!0;n.delete(e),n.delete(e+x)}addOrChange(e,t,n,r,i,s,o,l){const u=i.has(s)?c:a;this.handleEvent(u,e,t,n,r,i,s,o,l)}async checkExists(e,t,n,r,i,s,o,a){try{const c=await T(e);if(this.fsw.closed)return;j(o,c)?this.addOrChange(e,t,n,r,i,s,o,a):this.handleEvent(u,e,t,n,r,i,s,o,a)}catch(c){"EACCES"===c.code?this.addOrChange(e,t,n,r,i,s,o,a):this.handleEvent(u,e,t,n,r,i,s,o,a)}}handleEvent(e,t,n,r,i,s,o,c,h){if(!this.fsw.closed&&!this.checkIgnored(t))if(e===u){const e=c.type===_;(e||s.has(o))&&this.fsw._remove(i,o,e)}else{if(e===a){if(c.type===_&&this.fsw._getWatchedDir(t),c.type===w&&h.followSymlinks){const e=void 0===h.depth?void 0:L(n,r)+1;return this._addToFsEvents(t,!1,!0,e)}this.fsw._getWatchedDir(i).add(o)}const s=c.type===_?e+k:e;this.fsw._emit(s,t),s===l&&this._addToFsEvents(t,!1,!0)}}_watchWithFsEvents(e,t,n,r){if(this.fsw.closed||this.fsw._isIgnored(e))return;const s=this.fsw.options,a=function(e,t,n,r){let s=i.extname(e)?i.dirname(e):e;const a=i.dirname(s);let c=I.get(s);M(a)&&(s=a);const l=i.resolve(e),u=l!==t,h=(e,r,s)=>{u&&(e=e.replace(t,l)),e!==l&&e.indexOf(l+i.sep)||n(e,r,s)};let p=!1;for(const e of I.keys())if(0===t.indexOf(i.resolve(e)+i.sep)){s=e,c=I.get(s),p=!0;break}return c||p?c.listeners.add(h):(c={listeners:new Set([h]),rawEmitter:r,watcher:D(s,(e,t)=>{if(!c.listeners.size)return;const n=o.getInfo(e,t);c.listeners.forEach(r=>{r(e,t,n)}),c.rawEmitter(n.event,e,n)})},I.set(s,c)),()=>{const e=c.listeners;if(e.delete(h),!e.size&&(I.delete(s),c.watcher))return c.watcher.stop().then(()=>{c.rawEmitter=c.watcher=void 0,Object.freeze(c)})}}(e,t,async(o,a,c)=>{if(this.fsw.closed)return;if(void 0!==s.depth&&L(o,t)>s.depth)return;const l=n(i.join(e,i.relative(e,o)));if(r&&!r(l))return;const h=i.dirname(l),p=i.basename(l),d=this.fsw._getWatchedDir(c.type===_?l:h);if(N.has(a)||c.event===y)if(typeof s.ignored===S){let e;try{e=await T(l)}catch(e){}if(this.fsw.closed)return;if(this.checkIgnored(l,e))return;j(c,e)?this.addOrChange(l,o,t,h,d,p,c,s):this.handleEvent(u,l,o,t,h,d,p,c,s)}else this.checkExists(l,o,t,h,d,p,c,s);else switch(c.event){case f:case m:return this.addOrChange(l,o,t,h,d,p,c,s);case g:case v:return this.checkExists(l,o,t,h,d,p,c,s)}},this.fsw._emitRaw);return this.fsw._emitReady(),a}async _handleFsEventsSymlink(e,t,n,r){if(!this.fsw.closed&&!this.fsw._symlinkPaths.has(t)){this.fsw._symlinkPaths.set(t,!0),this.fsw._incrReadyCount();try{const t=await P(e);if(this.fsw.closed)return;if(this.fsw._isIgnored(t))return this.fsw._emitReady();this.fsw._incrReadyCount(),this._addToFsEvents(t||e,r=>{let s=e;return t&&t!==E?s=r.replace(t,e):r!==E&&(s=i.join(e,r)),n(s)},!1,r)}catch(e){if(this.fsw._handleError(e))return this.fsw._emitReady()}}}emitAdd(e,t,n,r,s){const o=n(e),c=t.isDirectory(),u=this.fsw._getWatchedDir(i.dirname(o)),h=i.basename(o);c&&this.fsw._getWatchedDir(o),u.has(h)||(u.add(h),r.ignoreInitial&&!0!==s||this.fsw._emit(c?l:a,o,t))}initWatch(e,t,n,r){if(this.fsw.closed)return;const s=this._watchWithFsEvents(n.watchPath,i.resolve(e||n.watchPath),r,n.globFilter);this.fsw._addPathCloser(t,s)}async _addToFsEvents(e,t,n,r){if(this.fsw.closed)return;const s=this.fsw.options,o=typeof t===S?t:R,a=this.fsw._getWatchHelpers(e);try{const t=await O[a.statMethod](a.watchPath);if(this.fsw.closed)return;if(this.fsw._isIgnored(a.watchPath,t))throw null;if(t.isDirectory()){if(a.globFilter||this.emitAdd(o(e),t,o,s,n),r&&r>s.depth)return;this.fsw._readdirp(a.watchPath,{fileFilter:e=>a.filterPath(e),directoryFilter:e=>a.filterDir(e),...(c=s.depth-(r||0),isNaN(c)?{}:{depth:c})}).on(p,e=>{if(this.fsw.closed)return;if(e.stats.isDirectory()&&!a.filterPath(e))return;const t=i.join(a.watchPath,e.path),{fullPath:r}=e;if(a.followSymlinks&&e.stats.isSymbolicLink()){const e=void 0===s.depth?void 0:L(t,i.resolve(a.watchPath))+1;this._handleFsEventsSymlink(t,r,o,e)}else this.emitAdd(t,e.stats,o,s,n)}).on(h,C).on(d,()=>{this.fsw._emitReady()})}else this.emitAdd(a.watchPath,t,o,s,n),this.fsw._emitReady()}catch(e){e&&!this.fsw._handleError(e)||(this.fsw._emitReady(),this.fsw._emitReady())}var c;if(s.persistent&&!0!==n)if(typeof t===S)this.initWatch(void 0,e,a,o);else{let t;try{t=await P(a.watchPath)}catch(e){}this.initWatch(t,e,a,o)}}},e.exports.canUse=()=>o&&I.size<128},7900:(e,t,n)=>{"use strict";const r=n(5747),i=n(5622),{promisify:s}=n(1669),o=n(863),{isWindows:a,isLinux:c,EMPTY_FN:l,EMPTY_STR:u,KEY_LISTENERS:h,KEY_ERR:p,KEY_RAW:d,HANDLER_KEYS:f,EV_CHANGE:m,EV_ADD:g,EV_ADD_DIR:v,EV_ERROR:y,STR_DATA:b,STR_END:_,BRACE_START:w,STAR:x}=n(3821),k=s(r.open),E=s(r.stat),S=s(r.lstat),C=s(r.close),R=s(r.realpath),T={lstat:S,stat:E},A=(e,t)=>{e instanceof Set?e.forEach(t):t(e)},P=(e,t,n)=>{let r=e[t];r instanceof Set||(e[t]=r=new Set([r])),r.add(n)},O=(e,t,n)=>{const r=e[t];r instanceof Set?r.delete(n):r===n&&delete e[t]},I=e=>e instanceof Set?0===e.size:!e,N=new Map;function D(e,t,n,s,o){const a=(t,r)=>{n(e),o(t,r,{watchedPath:e}),r&&e!==r&&M(i.resolve(e,r),h,i.join(e,r))};try{return r.watch(e,t,a)}catch(e){s(e)}}const M=(e,t,n,r,i)=>{const s=N.get(e);s&&A(s[t],e=>{e(n,r,i)})},L=(e,t,n,r)=>{const{listener:i,errHandler:s,rawEmitter:o}=r;let c,l=N.get(t);if(!n.persistent)return c=D(e,n,i,s,o),c.close.bind(c);if(l)P(l,h,i),P(l,p,s),P(l,d,o);else{if(c=D(e,n,M.bind(null,t,h),s,M.bind(null,t,d)),!c)return;c.on(y,async n=>{const r=M.bind(null,t,p);if(l.watcherUnusable=!0,a&&"EPERM"===n.code)try{const t=await k(e,"r");await C(t),r(n)}catch(e){}else r(n)}),l={listeners:i,errHandlers:s,rawEmitters:o,watcher:c},N.set(t,l)}return()=>{O(l,h,i),O(l,p,s),O(l,d,o),I(l.listeners)&&(l.watcher.close(),N.delete(t),f.forEach((e=>t=>{const n=e[t];n instanceof Set?n.clear():delete e[t]})(l)),l.watcher=void 0,Object.freeze(l))}},j=new Map;e.exports=class{constructor(e){this.fsw=e,this._boundHandleError=t=>e._handleError(t)}_watchWithNodeFs(e,t){const n=this.fsw.options,s=i.dirname(e),a=i.basename(e);this.fsw._getWatchedDir(s).add(a);const c=i.resolve(e),u={persistent:n.persistent};let p;return t||(t=l),n.usePolling?(u.interval=n.enableBinaryInterval&&o(a)?n.binaryInterval:n.interval,p=((e,t,n,i)=>{const{listener:s,rawEmitter:o}=i;let a=j.get(t),c=new Set,l=new Set;const u=a&&a.options;return u&&(u.persistentn.interval)&&(c=a.listeners,l=a.rawEmitters,r.unwatchFile(t),a=void 0),a?(P(a,h,s),P(a,d,o)):(a={listeners:s,rawEmitters:o,options:n,watcher:r.watchFile(t,n,(n,r)=>{A(a.rawEmitters,e=>{e(m,t,{curr:n,prev:r})});const i=n.mtimeMs;(n.size!==r.size||i>r.mtimeMs||0===i)&&A(a.listeners,t=>t(e,n))})},j.set(t,a)),()=>{O(a,h,s),O(a,d,o),I(a.listeners)&&(j.delete(t),r.unwatchFile(t),a.options=a.watcher=void 0,Object.freeze(a))}})(e,c,u,{listener:t,rawEmitter:this.fsw._emitRaw})):p=L(e,c,u,{listener:t,errHandler:this._boundHandleError,rawEmitter:this.fsw._emitRaw}),p}_handleFile(e,t,n){if(this.fsw.closed)return;const r=i.dirname(e),s=i.basename(e),o=this.fsw._getWatchedDir(r);let a=t;if(o.has(s))return;const l=async(t,n)=>{if(this.fsw._throttle("watch",e,5))if(n&&0!==n.mtimeMs){if(o.has(s)){const t=n.atimeMs,r=n.mtimeMs;(!t||t<=r||r!==a.mtimeMs)&&this.fsw._emit(m,e,n),a=n}}else try{const n=await E(e);if(this.fsw.closed)return;const r=n.atimeMs,i=n.mtimeMs;(!r||r<=i||i!==a.mtimeMs)&&this.fsw._emit(m,e,n),c&&a.ino!==n.ino?(this.fsw._closeFile(t),a=n,this.fsw._addPathCloser(t,this._watchWithNodeFs(e,l))):a=n}catch(e){this.fsw._remove(r,s)}},u=this._watchWithNodeFs(e,l);if((!n||!this.fsw.options.ignoreInitial)&&this.fsw._isntIgnored(e)){if(!this.fsw._throttle(g,e,0))return;this.fsw._emit(g,e,t)}return u}async _handleSymlink(e,t,n,r){if(this.fsw.closed)return;const i=e.fullPath,s=this.fsw._getWatchedDir(t);if(!this.fsw.options.followSymlinks){this.fsw._incrReadyCount();const t=await R(n);if(this.fsw.closed)return;return s.has(r)?this.fsw._symlinkPaths.get(i)!==t&&(this.fsw._symlinkPaths.set(i,t),this.fsw._emit(m,n,e.stats)):(s.add(r),this.fsw._symlinkPaths.set(i,t),this.fsw._emit(g,n,e.stats)),this.fsw._emitReady(),!0}if(this.fsw._symlinkPaths.has(i))return!0;this.fsw._symlinkPaths.set(i,!0)}_handleRead(e,t,n,r,s,o,a){if(e=i.join(e,u),!n.hasGlob&&!(a=this.fsw._throttle("readdir",e,1e3)))return;const c=this.fsw._getWatchedDir(n.path),l=new Set;let h=this.fsw._readdirp(e,{fileFilter:e=>n.filterPath(e),directoryFilter:e=>n.filterDir(e),depth:0}).on(b,async a=>{if(this.fsw.closed)return void(h=void 0);const u=a.path;let p=i.join(e,u);l.add(u),a.stats.isSymbolicLink()&&await this._handleSymlink(a,e,p,u)||(this.fsw.closed?h=void 0:u!==r&&(r||c.has(u))||(this.fsw._incrReadyCount(),p=i.join(s,i.relative(s,p)),this._addToNodeFs(p,t,n,o+1)))}).on(y,this._boundHandleError);return new Promise(t=>h.once(_,()=>{if(this.fsw.closed)return void(h=void 0);const u=!!a&&a.clear();t(),c.getChildren().filter(t=>t!==e&&!l.has(t)&&(!n.hasGlob||n.filterPath({fullPath:i.resolve(e,t)}))).forEach(t=>{this.fsw._remove(e,t)}),h=void 0,u&&this._handleRead(e,!1,n,r,s,o,a)}))}async _handleDir(e,t,n,r,s,o,a){const c=this.fsw._getWatchedDir(i.dirname(e)),l=c.has(i.basename(e));let u;n&&this.fsw.options.ignoreInitial||s||l||o.hasGlob&&!o.globFilter(e)||this.fsw._emit(v,e,t),c.add(i.basename(e)),this.fsw._getWatchedDir(e);const h=this.fsw.options.depth;if((null==h||r<=h)&&!this.fsw._symlinkPaths.has(a)){if(!s&&(await this._handleRead(e,n,o,s,e,r,void 0),this.fsw.closed))return;u=this._watchWithNodeFs(e,(t,n)=>{n&&0===n.mtimeMs||this._handleRead(t,!1,o,s,e,r,void 0)})}return u}async _addToNodeFs(e,t,n,r,s){const o=this.fsw._emitReady;if(this.fsw._isIgnored(e)||this.fsw.closed)return o(),!1;const a=this.fsw._getWatchHelpers(e,r);!a.hasGlob&&n&&(a.hasGlob=n.hasGlob,a.globFilter=n.globFilter,a.filterPath=e=>n.filterPath(e),a.filterDir=e=>n.filterDir(e));try{const n=await T[a.statMethod](a.watchPath);if(this.fsw.closed)return;if(this.fsw._isIgnored(a.watchPath,n))return o(),!1;const c=this.fsw.options.followSymlinks&&!e.includes(x)&&!e.includes(w);let l;if(n.isDirectory()){const o=i.resolve(e),u=c?await R(e):e;if(this.fsw.closed)return;if(l=await this._handleDir(a.watchPath,n,t,r,s,a,u),this.fsw.closed)return;o!==u&&void 0!==u&&this.fsw._symlinkPaths.set(o,u)}else if(n.isSymbolicLink()){const s=c?await R(e):e;if(this.fsw.closed)return;const o=i.dirname(a.watchPath);if(this.fsw._getWatchedDir(o).add(a.watchPath),this.fsw._emit(g,a.watchPath,n),l=await this._handleDir(o,n,t,r,e,a,s),this.fsw.closed)return;void 0!==s&&this.fsw._symlinkPaths.set(i.resolve(e),s)}else l=this._handleFile(a.watchPath,n,t);return o(),this.fsw._addPathCloser(e,l),!1}catch(t){if(this.fsw._handleError(t))return o(),e}}}},9407:e=>{"use strict";e.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]}},4527:e=>{e.exports=function(e,n){for(var r=[],i=0;i=1&&t<=31||127==t||0==i&&t>=48&&t<=57||1==i&&t>=48&&t<=57&&45==o?"\\"+t.toString(16)+" ":0==i&&1==r&&45==t||!(t>=128||45==t||95==t||t>=48&&t<=57||t>=65&&t<=90||t>=97&&t<=122)?"\\"+n.charAt(i):n.charAt(i):s+="�";return s};return e.CSS||(e.CSS={}),e.CSS.escape=t,t}(t)},8612:e=>{"use strict"; -/*! https://mths.be/cssesc v3.0.0 by @mathias */var t={}.hasOwnProperty,n=/[ -,\.\/:-@\[-\^`\{-~]/,r=/[ -,\.\/:-@\[\]\^`\{-~]/,i=/(^|\\+)?(\\[A-F0-9]{1,6})\x20(?![a-fA-F0-9\x20])/g,s=function e(s,o){"single"!=(o=function(e,n){if(!e)return n;var r={};for(var i in n)r[i]=t.call(e,i)?e[i]:n[i];return r}(o,e.options)).quotes&&"double"!=o.quotes&&(o.quotes="single");for(var a="double"==o.quotes?'"':"'",c=o.isIdentifier,l=s.charAt(0),u="",h=0,p=s.length;h126){if(f>=55296&&f<=56319&&h>8&15|e>>4&240)/255,g:(e>>4&15|240&e)/255,b:(15&e|e<<4&240)/255}:4===t?{mode:"rgb",r:(e>>12&15|e>>8&240)/255,g:(e>>8&15|e>>4&240)/255,b:(e>>4&15|240&e)/255,alpha:(15&e|e<<4&240)/255}:6===t?{mode:"rgb",r:(e>>16&255)/255,g:(e>>8&255)/255,b:(255&e)/255}:8===t?{mode:"rgb",r:(e>>24&255)/255,g:(e>>16&255)/255,b:(e>>8&255)/255,alpha:(255&e)/255}:void 0},n={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074},r=(/([+-]?\d*\.?\d+(?:[eE][+-]?\d+)?)/+"").replace(/^\/|\/$/g,""),i=r+"%",s="(?:"+r+"%|"+r+")",o="(?:"+r+"(deg|grad|rad|turn)|"+r+")",a="\\s*,\\s*",c="\\s+",l=new RegExp("^rgba?\\(\\s*"+r+a+r+a+r+"\\s*(?:,\\s*"+s+"\\s*)?\\)$"),u=new RegExp("^rgba?\\(\\s*"+i+a+i+a+i+"\\s*(?:,\\s*"+s+"\\s*)?\\)$"),h=new RegExp("^rgba?\\(\\s*"+r+c+r+c+r+"\\s*(?:\\/\\s*"+s+"\\s*)?\\)$"),p=new RegExp("^rgba?\\(\\s*"+i+c+i+c+i+"\\s*(?:\\/\\s*"+s+"\\s*)?\\)$"),d=new RegExp("^hsla?\\(\\s*"+o+a+i+a+i+"\\s*(?:,\\s*"+s+"\\s*)?\\)$"),f=new RegExp("^hsla?\\(\\s*"+o+c+i+c+i+"\\s*(?:\\/\\s*"+s+"\\s*)?\\)$"),m=/^#?([0-9a-f]{8}|[0-9a-f]{6}|[0-9a-f]{4}|[0-9a-f]{3})$/i,g=new RegExp("^hwb\\(\\s*"+o+c+i+c+i+"\\s*(?:\\/\\s*"+s+"\\s*)?\\)$"),v=new RegExp("^lab\\(\\s*"+r+"%?"+c+r+c+r+"\\s*(?:\\/\\s*"+s+"\\s*)?\\)$"),y=new RegExp("^lch\\(\\s*"+r+"%?"+c+r+c+o+"\\s*(?:\\/\\s*"+s+"\\s*)?\\)$"),b=new RegExp("^color\\(\\s*([a-z0-9\\-]+)\\s+"+s+c+s+c+s+"\\s*(?:\\/\\s*"+s+"\\s*)?\\)$"),_=function(e,t,n){return e+n*(t-e)},w=function(e){return void 0===e&&(e=1),1===e?function(e){return e}:function(t){return Math.pow(t,e)}},x=function(e){return function(t){var n=function(e){for(var t=[],n=0;n=1?n.length-1:Math.max(Math.floor(r),0),s=n[i];return void 0===s?void 0:e(s[0],s[1],r-i)}}},k=x(_),E=function(e){var t=!1,n=e.map((function(e){return void 0!==e?(t=!0,e):1}));return t?n:e},S={mode:"rgb",channels:["r","g","b","alpha"],parsers:[function(e){var n;return(n=e.match(m))?t(parseInt(n[1],16),n[1].length):void 0},function(e){var t,n;if(t=e.match(l)||e.match(h))n={mode:"rgb",r:t[1]/255,g:t[2]/255,b:t[3]/255};else{if(!(t=e.match(u)||e.match(p)))return;n={mode:"rgb",r:t[1]/100,g:t[2]/100,b:t[3]/100}}return void 0!==t[4]?n.alpha=t[4]/100:void 0!==t[5]&&(n.alpha=+t[5]),n},function(e){return t(n[e.toLowerCase()],6)},function(e){return"transparent"===e?t(0,8):void 0},"srgb"],serialize:"color(srgb ",interpolate:{r:k,g:k,b:k,alpha:{use:k,fixup:E}}},C=function(e){var t=Math.abs(e);return t<.04045?e/12.92:(Math.sign(e)||1)*Math.pow((t+.055)/1.055,2.4)},R=function(e){var t=e.r,n=e.g,r=e.b,i=e.alpha,s={mode:"lrgb",r:C(t),g:C(n),b:C(r)};return void 0!==i&&(s.alpha=i),s},T=function(e){var t=Math.abs(e);return t>.0031308?(Math.sign(e)||1)*(1.055*Math.pow(t,1/2.4)-.055):12.92*e},A=function(e,t){var n=e.r,r=e.g,i=e.b,s=e.alpha;void 0===t&&(t="rgb");var o={mode:t,r:T(n),g:T(r),b:T(i)};return void 0!==s&&(o.alpha=s),o},P=Object.assign({},S,{mode:"lrgb",output:{rgb:A},input:{rgb:R},parsers:["--srgb-linear"],serialize:"color(--srgb-linear "}),O=function(e){return Math.pow(Math.abs(e),563/256)*Math.sign(e)},I=function(e){var t=O(e.r),n=O(e.g),r=O(e.b),i={mode:"xyz65",x:.5766690429101305*t+.1855582379065463*n+.1882286462349947*r,y:.29734497525053605*t+.6273635662554661*n+.07529145849399788*r,z:.02703136138641234*t+.07068885253582723*n+.9913375368376388*r};return void 0!==e.alpha&&(i.alpha=e.alpha),i},N=function(e){return Math.pow(Math.abs(e),256/563)*Math.sign(e)},D=function(e){var t=e.x,n=e.y,r=e.z,i=e.alpha,s={mode:"a98",r:N(2.0415879038107465*t-.5650069742788596*n-.34473135077832956*r),g:N(-.9692436362808795*t+1.8759675015077202*n+.04155505740717557*r),b:N(.013444280632031142*t-.11836239223101838*n+1.0151749943912054*r)};return void 0!==i&&(s.alpha=i),s},M=function(e){var t=R(e),n=t.r,r=t.g,i=t.b,s=t.alpha,o={mode:"xyz65",x:.4124564*n+.3575761*r+.1804375*i,y:.2126729*n+.7151522*r+.072175*i,z:.0193339*n+.119192*r+.9503041*i};return void 0!==s&&(o.alpha=s),o},L=function(e){var t=e.x,n=e.y,r=e.z,i=e.alpha,s=A({r:3.2404542*t-1.5371385*n-.4985314*r,g:-.969266*t+1.8760108*n+.041556*r,b:.0556434*t-.2040259*n+1.0572252*r});return void 0!==i&&(s.alpha=i),s},j=Object.assign({},S,{mode:"a98",parsers:["a98-rgb"],serialize:"color(a98-rgb ",input:{rgb:function(e){return D(M(e))},xyz65:D},output:{rgb:function(e){return L(I(e))},xyz65:I}}),q=function(e){var t=R(e),n=t.r,r=t.g,i=t.b,s=t.alpha,o={mode:"xyz65",x:.4865709*n+.2656676*r+.1982172*i,y:.2289745*n+.6917385*r+.0792869*i,z:0*n+.0451133*r+1.0439443*i};return void 0!==s&&(o.alpha=s),o},F=function(e){var t=e.x,n=e.y,r=e.z,i=e.alpha,s=A({r:2.4934969*t-.9313836*n-.4027107*r,g:-.8294889*t+1.762664*n+.0236246*r,b:.0358458*t-.0761723*n+.9568845*r},"p3");return void 0!==i&&(s.alpha=i),s},$=Object.assign({},S,{mode:"p3",parsers:["display-p3"],serialize:"color(display-p3 ",input:{rgb:function(e){return F(M(e))},xyz65:F},output:{rgb:function(e){return L(q(e))},xyz65:q}}),H=function(e){var t=Math.abs(e);return t>=1/512?Math.sign(e)*Math.pow(t,1/1.8):16*e},z=function(e){var t=e.x,n=e.y,r=e.z,i=e.alpha,s={mode:"prophoto",r:H(1.3457989731028281*t-.25558010007997534*n-.05110628506753401*r),g:H(-.5446224939028347*t+1.5082327413132781*n+.02053603239147973*r),b:H(0*t+0*n+1.2119675456389454*r)};return void 0!==i&&(s.alpha=i),s},B=function(e){var t=Math.abs(e);return t>=16/512?Math.sign(e)*Math.pow(t,1.8):e/16},W=function(e){var t=B(e.r),n=B(e.g),r=B(e.b),i={mode:"xyz65",x:.7977604896723027*t+.13518583717574031*n+.0313493495815248*r,y:.2880711282292934*t+.7118432178101014*n+8565396060525902e-20*r,z:0*t+0*n+.8251046025104601*r};return void 0!==e.alpha&&(i.alpha=e.alpha),i},U=function(e){var t=e.x,n=e.y,r=e.z,i=e.alpha,s=A({r:3.1338561*t-1.6168667*n-.4906146*r,g:-.9787684*t+1.9161415*n+.033454*r,b:.0719453*t-.2289914*n+1.4052427*r});return void 0!==i&&(s.alpha=i),s},V=function(e){var t=R(e),n=t.r,r=t.g,i=t.b,s=t.alpha,o={mode:"xyz",x:.4360747*n+.3850649*r+.1430804*i,y:.2225045*n+.7168786*r+.0606169*i,z:.0139322*n+.0971045*r+.7141733*i};return void 0!==s&&(o.alpha=s),o},G=Object.assign({},S,{mode:"prophoto",parsers:["prophoto-rgb"],serialize:"color(prophoto-rgb ",input:{xyz:z,rgb:function(e){return z(V(e))}},output:{xyz:W,rgb:function(e){return U(W(e))}}}),K=1.09929682680944,Y=function(e){var t=Math.abs(e);return t>.018053968510807?(Math.sign(e)||1)*(K*Math.pow(t,.45)-(K-1)):4.5*e},Q=function(e){var t=e.x,n=e.y,r=e.z,i=e.alpha,s={mode:"rec2020",r:Y(1.7166511879712674*t-.35567078377639233*n-.25336628137365974*r),g:Y(-.6666843518324892*t+1.6164812366349395*n+.01576854581391113*r),b:Y(.017639857445310783*t-.042770613257808524*n+.9421031212354738*r)};return void 0!==i&&(s.alpha=i),s},X=1.09929682680944,J=function(e){var t=Math.abs(e);return t<.08124285829863151?e/4.5:(Math.sign(e)||1)*Math.pow((t+X-1)/X,1/.45)},Z=function(e){var t=J(e.r),n=J(e.g),r=J(e.b),i={mode:"xyz65",x:.6369580483012914*t+.14461690358620832*n+.1688809751641721*r,y:.2627002120112671*t+.6779980715188708*n+.05930171646986196*r,z:0*t+.028072693049087428*n+1.060985057710791*r};return void 0!==e.alpha&&(i.alpha=e.alpha),i},ee=Object.assign({},S,{mode:"rec2020",input:{xyz:Q,rgb:function(e){return Q(M(e))}},output:{xyz:Z,rgb:function(e){return L(Z(e))}},parsers:["rec2020"],serialize:"color(rec2020 "}),te=function(e){return(e%=360)<0?e+360:e},ne=function(e,t){switch(t){case"deg":return+e;case"rad":return e/Math.PI*180;case"grad":return e/10*9;case"turn":return 360*e}},re=function(e,t){return e.map((function(n,r,i){if(void 0===n)return n;var s=te(n);return 0===r||void 0===e[r-1]?s:t(s-te(i[r-1]))})).reduce((function(e,t){return e.length&&void 0!==t&&void 0!==e[e.length-1]?(e.push(t+e[e.length-1]),e):(e.push(t),e)}),[])},ie=function(e){return re(e,(function(e){return Math.abs(e)<=180?e:e-360*Math.sign(e)}))},se={},oe={},ae=[],ce={},le=function(e){return e},ue=function(e){se[e.mode]=Object.assign(se[e.mode]||{},e.output),Object.keys(e.input||{}).forEach((function(t){se[t]||(se[t]={}),se[t][e.mode]=e.input[t]})),e.ranges||(e.ranges={}),e.difference||(e.difference={}),e.channels.forEach((function(t){if(void 0===e.ranges[t]&&(e.ranges[t]=[0,1]),!e.interpolate[t])throw new Error("Missing interpolator for: "+t);"function"==typeof e.interpolate[t]&&(e.interpolate[t]={use:e.interpolate[t]}),e.interpolate[t].fixup||(e.interpolate[t].fixup=le)})),oe[e.mode]=e,(e.parsers||[]).forEach((function(t){"function"==typeof t?ae.push(t):"string"==typeof t&&(ce[t]=e.mode)}))},he=function(e){return oe[e]},pe=function(e){if("string"==typeof e){for(var t=void 0,n=0,r=ae.length;n180?n-(r-360*Math.sign(r-n)):r-n},ve=function(e,t){if(void 0===e.h||void 0===t.h||!e.c||!t.c)return 0;var n=te(e.h),r=te(t.h),i=Math.sin((r-n+360)/2*Math.PI/180);return 2*Math.sqrt(e.c*t.c)*i},ye=function(e,t){void 0===e&&(e="rgb"),void 0===t&&(t=[1,1,1,0]);var n=he(e),r=n.channels,i=n.difference,s=fe(e);return function(e,n){var o=s(e),a=s(n);return Math.sqrt(r.reduce((function(e,n,r){var s=i[n]?i[n](o,a):o[n]-a[n];return e+(t[r]||0)*Math.pow(isNaN(s)?0:s,2)}),0))}},be=function(e){var t=e.reduce((function(e,t){if(void 0!==t){var n=t*Math.PI/180;e.sin+=Math.sin(n),e.cos+=Math.cos(n)}return e}),{sin:0,cos:0});return 180*Math.atan2(t.sin,t.cos)/Math.PI},_e=function(e){var t=e.filter((function(e){return void 0!==e}));return t.length?t.reduce((function(e,t){return e+t}),0)/t.length:void 0},we=function(e){return"function"==typeof e},xe={mode:"hsl",output:{rgb:function(e){var t=e.h,n=e.s,r=e.l,i=e.alpha;t=te(t);var s,o=r+n*(r<.5?r:1-r),a=o-2*(o-r)*Math.abs(t/60%2-1);switch(Math.floor(t/60)){case 0:s={r:o,g:a,b:2*r-o};break;case 1:s={r:a,g:o,b:2*r-o};break;case 2:s={r:2*r-o,g:o,b:a};break;case 3:s={r:2*r-o,g:a,b:o};break;case 4:s={r:a,g:2*r-o,b:o};break;case 5:s={r:o,g:2*r-o,b:a};break;default:s={r:2*r-o,g:2*r-o,b:2*r-o}}return s.mode="rgb",void 0!==i&&(s.alpha=i),s}},input:{rgb:function(e){var t=e.r,n=e.g,r=e.b,i=e.alpha,s=Math.max(t,n,r),o=Math.min(t,n,r),a={mode:"hsl",s:s===o?0:(s-o)/(1-Math.abs(s+o-1)),l:.5*(s+o)};return s-o!=0&&(a.h=60*(s===t?(n-r)/(s-o)+6*(n1){var i=n+r;n/=i,r/=i}return ke({h:t,s:1===r?1:1-n/(1-r),v:1-r,alpha:e.alpha})}},input:{rgb:function(e){var t=Ee(e);if(void 0!==t){var n={mode:"hwb",w:(1-t.s)*t.v,b:1-t.v};return void 0!==t.h&&(n.h=t.h),void 0!==t.alpha&&(n.alpha=t.alpha),n}}},channels:["h","w","b","alpha"],ranges:{h:[0,360]},parsers:[function(e){var t=e.match(g);if(t){var n={mode:"hwb",h:void 0===t[3]?ne(t[1],t[2]):+t[3],w:t[4]/100,b:t[5]/100};return void 0!==t[6]?n.alpha=t[6]/100:void 0!==t[7]&&(n.alpha=+t[7]),n}}],serialize:function(e){return"hwb("+(e.h||0)+" "+100*e.w+"% "+100*e.b+"%"+(e.alpha<1?" / "+e.alpha:"")+")"},interpolate:{h:{use:k,fixup:ie},w:k,b:k,alpha:{use:k,fixup:E}},difference:{h:ge},average:{h:be}},Te=function(e){var t=Math.pow(e/1e4,.1593017578125);return Math.pow((.8359375+18.8515625*t)/(1+18.6875*t),134.03437499999998)||0},Ae=function(e){return Math.max(203*e,0)},Pe=function(e){var t=e.x,n=e.y,r=e.z,i=e.alpha;t=Ae(t),n=Ae(n);var s=1.15*t-.15*(r=Ae(r)),o=.66*n+.34*t,a=Te(.41478972*s+.579999*o+.014648*r),c=Te(-.20151*s+1.120649*o+.0531008*r),l=Te(-.0166008*s+.2648*o+.6684799*r),u=(a+c)/2,h={mode:"jab",j:.44*u/(1-.56*u)-16295499532821565e-27,a:3.524*a-4.066708*c+.542708*l,b:.199076*a+1.096799*c-1.295875*l};return void 0!==i&&(h.alpha=i),h},Oe=16295499532821565e-27,Ie=function(e){var t=Math.pow(e,.007460772656268216);return 1e4*Math.pow((.8359375-t)/(18.6875*t-18.8515625),6.277394636015326)||0},Ne=function(e){return e/203},De=function(e){var t=e.j,n=e.a,r=e.b,i=e.alpha,s=(t+Oe)/(.44+.56*(t+Oe)),o=Ie(s+.13860504*n+.058047316*r),a=Ie(s-.13860504*n-.058047316*r),c=Ie(s-.096019242*n-.8118919*r),l={mode:"xyz65",x:Ne(1.661373024652174*o-.914523081304348*a+.23136208173913045*c),y:Ne(-.3250758611844533*o+1.571847026732543*a-.21825383453227928*c),z:Ne(-.090982811*o-.31272829*a+1.5227666*c)};return void 0!==i&&(l.alpha=i),l},Me=function(e){var t=Pe(M(e));return e.r===e.b&&e.b===e.g&&(t.a=t.b=0),t},Le=function(e){return L(De(e))},je={mode:"jab",channels:["j","a","b","alpha"],parsers:["--jzazbz"],serialize:"color(--jzazbz ",input:{rgb:Me,xyz65:Pe},output:{rgb:Le,xyz65:De},ranges:{j:[0,.222],a:[-.109,.129],b:[-.185,.134]},interpolate:{j:k,a:k,b:k,alpha:{use:k,fixup:E}}},qe=function(e){var t=e.j,n=e.a,r=e.b,i=e.alpha,s=Math.sqrt(n*n+r*r),o={mode:"jch",j:t,c:s};return s&&(o.h=te(180*Math.atan2(r,n)/Math.PI)),void 0!==i&&(o.alpha=i),o},Fe=function(e){var t=e.j,n=e.c,r=e.h,i=e.alpha,s={mode:"jab",j:t,a:n?n*Math.cos(r/180*Math.PI):0,b:n?n*Math.sin(r/180*Math.PI):0};return void 0!==i&&(s.alpha=i),s},$e={mode:"jch",parsers:["--jzczhz"],serialize:"color(--jzczhz ",output:{jab:Fe,rgb:function(e){return Le(Fe(e))}},input:{rgb:function(e){return qe(Me(e))},jab:qe},channels:["j","c","h","alpha"],ranges:{j:[0,.221],c:[0,.19],h:[0,360]},interpolate:{h:{use:k,fixup:ie},c:k,j:k,alpha:{use:k,fixup:E}},difference:{h:ve},average:{h:be}},He=.96422,ze=.82521,Be=Math.pow(29,3)/Math.pow(3,3),We=Math.pow(6,3)/Math.pow(29,3),Ue=function(e){return Math.pow(e,3)>We?Math.pow(e,3):(116*e-16)/Be},Ve=function(e){var t=e.l,n=e.a,r=e.b,i=e.alpha,s=(t+16)/116,o=s-r/200,a={mode:"xyz",x:Ue(n/500+s)*He,y:1*Ue(s),z:Ue(o)*ze};return void 0!==i&&(a.alpha=i),a},Ge=function(e){return U(Ve(e))},Ke=function(e){return e>We?Math.cbrt(e):(Be*e+16)/116},Ye=function(e){var t=e.x,n=e.y,r=e.z,i=e.alpha,s=Ke(t/He),o=Ke(n/1),a={mode:"lab",l:116*o-16,a:500*(s-o),b:200*(o-Ke(r/ze))};return void 0!==i&&(a.alpha=i),a},Qe=function(e){var t=Ye(V(e));return e.r===e.b&&e.b===e.g&&(t.a=t.b=0),t},Xe={mode:"lab",output:{xyz:Ve,rgb:Ge},input:{xyz:Ye,rgb:Qe},channels:["l","a","b","alpha"],ranges:{l:[0,100],a:[-79.287,93.55],b:[-112.029,93.388]},parsers:[function(e){var t=e.match(v);if(t){var n={mode:"lab",l:+t[1],a:+t[2],b:+t[3]};return void 0!==t[4]?n.alpha=t[4]/100:void 0!==t[5]&&(n.alpha=+t[5]),n}}],serialize:function(e){return"lab("+e.l+"% "+e.a+" "+e.b+(e.alpha<1?" / "+e.alpha:"")+")"},interpolate:{l:k,a:k,b:k,alpha:{use:k,fixup:E}}},Je=Math.pow(29,3)/Math.pow(3,3),Ze=Math.pow(6,3)/Math.pow(29,3),et=function(e){return Math.pow(e,3)>Ze?Math.pow(e,3):(116*e-16)/Je},tt=function(e){var t=e.l,n=e.a,r=e.b,i=e.alpha,s=(t+16)/116,o=s-r/200,a={mode:"xyz65",x:.95047*et(n/500+s),y:1*et(s),z:1.08883*et(o)};return void 0!==i&&(a.alpha=i),a},nt=function(e){return L(tt(e))},rt=function(e){return e>Ze?Math.cbrt(e):(Je*e+16)/116},it=function(e){var t=e.x,n=e.y,r=e.z,i=e.alpha,s=rt(t/.95047),o=rt(n/1),a={mode:"lab65",l:116*o-16,a:500*(s-o),b:200*(o-rt(r/1.08883))};return void 0!==i&&(a.alpha=i),a},st=function(e){var t=it(M(e));return e.r===e.b&&e.b===e.g&&(t.a=t.b=0),t},ot=Object.assign({},Xe,{mode:"lab65",parsers:["--lab-d65"],serialize:"color(--lab-d65 ",output:{xyz65:tt,rgb:nt},input:{xyz65:it,rgb:st},ranges:{l:[0,100],a:[-86.182,98.234],b:[-107.86,94.477]}}),at=function(e,t){var n=e.l,r=e.a,i=e.b,s=e.alpha;void 0===t&&(t="lch");var o=Math.sqrt(r*r+i*i),a={mode:t,l:n,c:o};return o&&(a.h=te(180*Math.atan2(i,r)/Math.PI)),void 0!==s&&(a.alpha=s),a},ct=function(e,t){var n=e.l,r=e.c,i=e.h,s=e.alpha;void 0===t&&(t="lab");var o={mode:t,l:n,a:r?r*Math.cos(i/180*Math.PI):0,b:r?r*Math.sin(i/180*Math.PI):0};return void 0!==s&&(o.alpha=s),o},lt={mode:"lch",output:{lab:ct,rgb:function(e){return Ge(ct(e))}},input:{rgb:function(e){return at(Qe(e))},lab:at},channels:["l","c","h","alpha"],ranges:{l:[0,100],c:[0,131.207],h:[0,360]},parsers:[function(e){var t=e.match(y);if(t){var n={mode:"lch",l:+t[1],c:Math.max(0,+t[2]),h:void 0===t[5]?ne(t[3],t[4]):+t[5]};return void 0!==t[6]?n.alpha=t[6]/100:void 0!==t[7]&&(n.alpha=+t[7]),n}}],serialize:function(e){return"lch("+e.l+"% "+e.c+" "+(e.h||0)+(e.alpha<1?" / "+e.alpha:"")+")"},interpolate:{h:{use:k,fixup:ie},c:k,l:k,alpha:{use:k,fixup:E}},difference:{h:ve},average:{h:be}},ut=Object.assign({},lt,{mode:"lch65",parsers:["--lch-d65"],serialize:"color(--lch-d65 ",output:{lab65:function(e){return ct(e,"lab65")},rgb:function(e){return nt(ct(e,"lab65"))}},input:{rgb:function(e){return at(st(e),"lch65")},lab65:function(e){return at(e,"lch65")}},ranges:{l:[0,100],c:[0,133.807],h:[0,360]}}),ht=function(e,t,n){return 4*e/(e+15*t+3*n)},pt=function(e,t,n){return 9*t/(e+15*t+3*n)},dt=ht(He,1,ze),ft=pt(He,1,ze),mt=function(e){var t,n=e.x,r=e.y,i=e.z,s=e.alpha,o=(t=r/1)<=We?Be*t:116*Math.cbrt(t)-16,a=ht(n,r,i),c=pt(n,r,i);isFinite(a)&&isFinite(c)?(a=13*o*(a-dt),c=13*o*(c-ft)):o=a=c=0;var l={mode:"luv",l:o,u:a,v:c};return void 0!==s&&(l.alpha=s),l},gt=function(e){return mt(V(e))},vt=4*He/18.43985,yt=function(e){var t=e.l,n=e.u,r=e.v,i=e.alpha,s=n/(13*t)+vt,o=r/(13*t)+9/18.43985,a=1*(t<=8?t/Be:Math.pow((t+16)/116,3)),c={mode:"xyz",x:a*(9*s)/(4*o),y:a,z:a*(12-3*s-20*o)/(4*o)};return void 0!==i&&(c.alpha=i),c},bt=function(e){return U(yt(e))},_t={mode:"luv",output:{xyz:yt,rgb:bt},input:{xyz:mt,rgb:gt},channels:["l","u","v","alpha"],parsers:["--luv"],serialize:"color(--luv ",ranges:{l:[0,100],u:[-84.936,175.042],v:[-125.882,87.243]},interpolate:{l:k,u:k,v:k,alpha:{use:k,fixup:E}}},wt=function(e){var t=e.l,n=e.u,r=e.v,i=e.alpha,s=Math.sqrt(n*n+r*r),o={mode:"lchuv",l:t,c:s};return s&&(o.h=te(180*Math.atan2(r,n)/Math.PI)),void 0!==i&&(o.alpha=i),o},xt=function(e){var t=e.l,n=e.c,r=e.h,i=e.alpha,s={mode:"luv",l:t,u:n?n*Math.cos(r/180*Math.PI):0,v:n?n*Math.sin(r/180*Math.PI):0};return void 0!==i&&(s.alpha=i),s},kt={mode:"lchuv",output:{luv:xt,rgb:function(e){return bt(xt(e))}},input:{rgb:function(e){return wt(gt(e))},luv:wt},channels:["l","c","h","alpha"],parsers:["--lchuv"],serialize:"color(--lchuv ",ranges:{l:[0,100],c:[0,176.956],h:[0,360]},interpolate:{h:{use:k,fixup:ie},c:k,l:k,alpha:{use:k,fixup:E}},difference:{h:ve},average:{h:be}},Et=[-.14861,1.78277,-.29227,-.90649,1.97294,0],St=Math.PI/180,Ct=180/Math.PI,Rt=Et[3]*Et[4],Tt=Et[1]*Et[4],At=Et[1]*Et[2]-Et[0]*Et[3],Pt={mode:"cubehelix",channels:["h","s","l","alpha"],parsers:["--cubehelix"],serialize:"color(--cubehelix ",ranges:{h:[0,360],s:[0,4.614],l:[0,1]},input:{rgb:function(e){var t=e.r,n=e.g,r=e.b,i=e.alpha,s=(At*r+t*Rt-n*Tt)/(At+Rt-Tt),o=r-s,a=(Et[4]*(n-s)-Et[2]*o)/Et[3],c={mode:"cubehelix",l:s,s:0===s||1===s?void 0:Math.sqrt(o*o+a*a)/(Et[4]*s*(1-s))};return c.s&&(c.h=Math.atan2(a,o)*Ct-120),void 0!==i&&(c.alpha=i),c}},output:{rgb:function(e){var t=e.h,n=e.s,r=e.l,i=e.alpha,s={mode:"rgb"};t=(void 0===t?0:t+120)*St;var o=void 0===n?0:n*r*(1-r),a=Math.cos(t),c=Math.sin(t);return s.r=r+o*(Et[0]*a+Et[1]*c),s.g=r+o*(Et[2]*a+Et[3]*c),s.b=r+o*(Et[4]*a+Et[5]*c),void 0!==i&&(s.alpha=i),s}},interpolate:{h:{use:k,fixup:ie},s:k,l:k,alpha:{use:k,fixup:E}},difference:{h:me},average:{h:be}},Ot=function(e){var t=e.l,n=e.a,r=e.b,i=e.alpha,s=Math.sqrt(n*n+r*r),o={mode:"dlch",l:t,c:s};return s&&(o.h=te(180*Math.atan2(r,n)/Math.PI)),void 0!==i&&(o.alpha=i),o},It=26/180*Math.PI,Nt=Math.cos(It),Dt=Math.sin(It),Mt=100/Math.log(1.39),Lt=function(e){var t=e.l,n=e.c,r=e.h,i=e.alpha,s={mode:"lab65",l:(Math.exp(1*t/Mt)-1)/.0039};if(void 0===r)s.a=s.b=0;else{var o=(Math.exp(.0435*n*1*1)-1)/.075,a=o*Math.cos(r/180*Math.PI-It),c=o*Math.sin(r/180*Math.PI-It);s.a=a*Nt-c/.83*Dt,s.b=a*Dt+c/.83*Nt}return void 0!==i&&(s.alpha=i),s},jt=function(e){return Lt(Ot(e))},qt=function(e){var t=e.l,n=e.a,r=e.b,i=e.alpha,s=n*Nt+r*Dt,o=.83*(r*Nt-n*Dt),a=Math.sqrt(s*s+o*o),c={mode:"dlch",l:Mt/1*Math.log(1+.0039*t),c:Math.log(1+.075*a)/.0435};return c.c&&(c.h=te((Math.atan2(o,s)+It)/Math.PI*180)),void 0!==i&&(c.alpha=i),c},Ft=function(e){var t=e.l,n=e.c,r=e.h,i=e.alpha,s={mode:"dlab",l:t,a:0===n?0:n*Math.cos(r/180*Math.PI),b:0===n?0:n*Math.sin(r/180*Math.PI)};return void 0!==i&&(s.alpha=i),s},$t=function(e){return Ft(qt(e))},Ht={mode:"dlab",parsers:["--din99o-lab"],serialize:"color(--din99o-lab ",output:{lab65:jt,rgb:function(e){return nt(jt(e))}},input:{lab65:$t,rgb:function(e){return $t(st(e))}},channels:["l","a","b","alpha"],ranges:{l:[0,100],a:[-40.09,45.501],b:[-40.469,44.344]},interpolate:{l:k,a:k,b:k,alpha:{use:k,fixup:E}}},zt={mode:"dlch",parsers:["--din99o-lch"],serialize:"color(--din99o-lch ",output:{lab65:Lt,dlab:Ft,rgb:function(e){return nt(Lt(e))}},input:{lab65:qt,dlab:Ot,rgb:function(e){return qt(st(e))}},channels:["l","c","h","alpha"],ranges:{l:[0,100],c:[0,51.484],h:[0,360]},interpolate:{l:k,c:k,h:{use:k,fixup:ie},alpha:{use:k,fixup:E}},difference:{h:ve},average:{h:be}},Bt={mode:"xyz",parsers:["xyz","--xyz-d50"],serialize:"color(--xyz-d50 ",output:{rgb:U,lab:Ye},input:{rgb:V,lab:Ve},channels:["x","y","z","alpha"],ranges:{x:[0,.964],y:[0,.999],z:[0,.825]},interpolate:{x:k,y:k,z:k,alpha:{use:k,fixup:E}}},Wt={mode:"xyz65",serialize:"color(--xyz-d65 ",output:{rgb:L,xyz:function(e){var t=e.x,n=e.y,r=e.z,i=e.alpha,s={mode:"xyz",x:1.0478112*t+.0228866*n-.050127*r,y:.0295424*t+.9904844*n-.0170491*r,z:-.0092345*t+.0150436*n+.7521316*r};return void 0!==i&&(s.alpha=i),s}},input:{rgb:M,xyz:function(e){var t=e.x,n=e.y,r=e.z,i=e.alpha,s={mode:"xyz65",x:.9555766*t-.0230393*n+.0631636*r,y:-.0282895*t+1.0099416*n+.0210077*r,z:.0122982*t-.020483*n+1.3299098*r};return void 0!==i&&(s.alpha=i),s}},ranges:{x:[0,.95],y:[0,1],z:[0,1.088]},channels:["x","y","z","alpha"],parsers:["--xyz-d65"],interpolate:{x:k,y:k,z:k,alpha:{use:k,fixup:E}}},Ut={mode:"yiq",output:{rgb:function(e){var t=e.y,n=e.i,r=e.q,i=e.alpha;return A({r:t+.95608445*n+.6208885*r,g:t-.27137664*n-.6486059*r,b:t-1.10561724*n+1.70250126*r,alpha:i})}},input:{rgb:function(e){var t=R(e),n=t.r,r=t.g,i=t.b,s=t.alpha,o={mode:"yiq",y:.29889531*n+.58662247*r+.11448223*i,i:.59597799*n-.2741761*r-.32180189*i,q:.21147017*n-.52261711*r+.31114694*i};return void 0!==s&&(o.alpha=s),o}},channels:["y","i","q","alpha"],parsers:["--yiq"],serialize:"color(--yiq ",ranges:{i:[-.595,.595],q:[-.522,.522]},interpolate:{y:k,i:k,q:k,alpha:{use:k,fixup:E}}},Vt=function(e){var t=e.l,n=e.a,r=e.b,i=e.alpha,s=Math.pow(t+.3963377774*n+.2158037573*r,3),o=Math.pow(t-.1055613458*n-.0638541728*r,3),a=Math.pow(t-.0894841775*n-1.291485548*r,3),c={mode:"lrgb",r:4.0767416621*s-3.3077115913*o+.2309699292*a,g:-1.2684380046*s+2.6097574011*o-.3413193965*a,b:-.0041960863*s-.7034186147*o+1.707614701*a};return void 0!==i&&(c.alpha=i),c},Gt=function(e){var t=e.r,n=e.g,r=e.b,i=e.alpha,s=Math.cbrt(.4122214708*t+.5363325363*n+.0514459929*r),o=Math.cbrt(.2119034982*t+.6806995451*n+.1073969566*r),a=Math.cbrt(.0883024619*t+.2817188376*n+.6299787005*r),c={mode:"oklab",l:.2104542553*s+.793617785*o-.0040720468*a,a:1.9779984951*s-2.428592205*o+.4505937099*a,b:.0259040371*s+.7827717662*o-.808675766*a};return void 0!==i&&(c.alpha=i),c},Kt=function(e){var t=Gt(R(e));return e.r===e.b&&e.b===e.g&&(t.a=t.b=0),t},Yt=function(e){return A(Vt(e))},Qt=Object.assign({},Xe,{mode:"oklab",output:{lrgb:Vt,rgb:Yt},input:{lrgb:Gt,rgb:Kt},ranges:{l:[0,.999],a:[-.233,.276],b:[-.311,.198]},parsers:["--oklab"],serialize:"color(--oklab "}),Xt=Object.assign({},lt,{mode:"oklch",output:{oklab:function(e){return ct(e,"oklab")},rgb:function(e){return Yt(ct(e,"oklab"))}},input:{rgb:function(e){return at(Kt(e),"oklch")},oklab:function(e){return at(e,"oklch")}},parsers:["--oklch"],serialize:"color(--oklch ",ranges:{l:[0,.999],c:[0,.322],h:[0,360]}}),Jt=function(e){return void 0===e&&(e=4),function(t){return"number"==typeof t?function(e,t){return Math.round(e*(t=Math.pow(10,t)))/t}(t,e):t}},Zt=fe("rgb"),en=fe("hsl"),tn=Jt(2),nn=function(e){return Math.max(0,Math.min(1,e))},rn=function(e){return Math.round(255*nn(e))},sn=function(e){var t=Zt(e);if(void 0!==t)return"#"+(1<<24|rn(t.r)<<16|rn(t.g)<<8|rn(t.b)).toString(16).slice(1)},on=function(e){var t=Zt(e);if(void 0!==t){var n=rn(t.r),r=rn(t.g),i=rn(t.b);return void 0===t.alpha||1===t.alpha?"rgb("+n+", "+r+", "+i+")":"rgba("+n+", "+r+", "+i+", "+tn(nn(t.alpha))+")"}},an=function(e){return void 0===e&&(e=.5),function(t){return e<=0?1:e>=1?0:Math.pow(t,Math.log(.5)/Math.log(e))}},cn=function(e,t,n){void 0===t&&(t="rgb"),void 0===n&&(n=!1);var r=t?he(t).channels:null,i=t?fe(t):de;return function(s){var o=i(s),a=(r||he(s.mode).channels).reduce((function(n,r){var i=e(o[r],r,o,t);return void 0===i||isNaN(i)||(n[r]=i),n}),{mode:t});if(!n)return a;var c=de(s);return c&&c.mode!==a.mode?fe(c.mode)(a):a}},ln=function(e,t,n){return"alpha"!==t?(e||0)*(void 0!==n.alpha?n.alpha:1):e},un=function(e,t,n){return"alpha"!==t&&0!==n.alpha?(e||0)/(void 0!==n.alpha?n.alpha:1):e},hn=function(e,t){return void 0===e&&(e=1),void 0===t&&(t=0),function(n,r){return"alpha"!==r?n*e+t:n}},pn=function(e){return"function"==typeof e},dn=function(e){return e&&"object"==typeof e},fn=function(e){return"number"==typeof e},mn=function(e,t,n,r){void 0===t&&(t="rgb");var i=he(t),s=fe(t),o=[],a=[],c={};e.forEach((function(e){Array.isArray(e)?(o.push(s(e[0])),a.push(e[1])):fn(e)||pn(e)?c[a.length]=e:(o.push(s(e)),a.push(void 0))})),function(e){void 0===e[0]&&(e[0]=0),void 0===e[e.length-1]&&(e[e.length-1]=1);for(var t,n,r,i,s=1;sa[p])return o[p];for(var n=0;a[n]=1?n-1:Math.max(0,Math.floor(t*n));return _n(r>0?e[r-1]:2*e[r]-e[r+1],e[r],e[r+1],r0&&(s[n-1]=i[n-1]),t=n-2;t>0;--t)s[t]=i[t]-r[t]*s[t+1];return s},En=function(e){return wn(kn(e))},Sn=function(e){return xn(kn(e))},Cn=Math.sign,Rn=Math.min,Tn=Math.abs,An=function(e){for(var t=e.length-1,n=[],r=[],i=[],s=0;s0?.5*(e[s+1]-e[s-1])*t:void 0),i.push(s>0?(Cn(n[s-1])+Cn(n[s]))*Rn(Tn(n[s-1]),Tn(n[s]),.5*Tn(r[s])):void 0);return[n,r,i]},Pn=function(e,t,n){var r=e.length-1,i=r*r;return function(s){var o,a=s-(o=s>=1?r-1:Math.max(0,Math.floor(s*r)))/r,c=a*a,l=c*a;return(t[o]+t[o+1]-2*n[o])*i*l+(3*n[o]-2*t[o]-t[o+1])*r*c+t[o]*a+e[o]}},On=function(e){if(e.length<3)return k(e);var t=e.length-1,n=An(e),r=n[0],i=n[2];return i[0]=r[0],i[t]=r[t-1],Pn(e,i,r)},In=function(e){var t=e.length-1,n=An(e),r=n[0],i=n[1],s=n[2];i[0]=.5*(e[1]-e[t])*t,i[t]=.5*(e[0]-e[t-1])*t;var o=(e[0]-e[t])*t,a=o;return s[0]=(Cn(o)+Cn(r[0]))*Rn(Tn(o),Tn(r[0]),.5*Tn(i[0])),s[t]=(Cn(r[t-1])+Cn(a))*Rn(Tn(r[t-1]),Tn(a),.5*Tn(i[t])),Pn(e,s,r)},Nn=fe("rgb"),Dn=function(e){var t=Nn(e);return void 0!==t&&t.r>=0&&t.r<=1&&t.g>=0&&t.g<=1&&t.b>=0&&t.b<=1},Mn=fe("rgb"),Ln=function(e){var t=Mn(e);return t.r=Math.max(0,Math.min(t.r,1)),t.g=Math.max(0,Math.min(t.g,1)),t.b=Math.max(0,Math.min(t.b,1)),t},jn=function(e){return void 0===(e=de(e))||Dn(e)?e:fe(e.mode)(Ln(e))},qn=function(e,t){if(void 0===t&&(t="lch"),void 0===(e=de(e))||Dn(e))return e;var n=fe(e.mode);e=fe(t)(e);var r=Object.assign({},e,{c:0});if(!Dn(r))return n(Ln(r));for(var i,s=0,o=e.c,a=he(t).ranges.c,c=(a[1]-a[0])/Math.pow(2,13);o-s>c;)r.c=s+.5*(o-s),Dn(r)?(i=r.c,s=r.c):o=r.c;return n(Dn(r)?r:Object.assign({},r,{c:i}))},Fn={normal:function(e,t){return t},multiply:function(e,t){return e*t},screen:function(e,t){return e+t-e*t},"hard-light":function(e,t){return t<.5?2*e*t:2*t*(1-e)-1},overlay:function(e,t){return e<.5?2*t*e:2*e*(1-t)-1},darken:function(e,t){return Math.min(e,t)},lighten:function(e,t){return Math.max(e,t)},"color-dodge":function(e,t){return 0===e?0:1===t?1:Math.min(1,e/(1-t))},"color-burn":function(e,t){return 1===e?1:0===t?0:1-Math.min(1,(1-e)/t)},"soft-light":function(e,t){return t<.5?e-(1-2*t)*e*(1-e):e+(2*t-1)*((e<.25?((16*e-12)*e+4)*e:Math.sqrt(e))-e)},difference:function(e,t){return Math.abs(e-t)},exclusion:function(e,t){return e+t-2*e*t}};function $n(e){var t=fe("lrgb")(e);return.2126*t.r+.7152*t.g+.0722*t.b}var Hn=fe("rgb"),zn=[[1,0,-0,0,1,0,-0,-0,1],[.856167,.182038,-.038205,.029342,.955115,.015544,-.00288,-.001563,1.004443],[.734766,.334872,-.069637,.05184,.919198,.028963,-.004928,-.004209,1.009137],[.630323,.465641,-.095964,.069181,.890046,.040773,-.006308,-.007724,1.014032],[.539009,.579343,-.118352,.082546,.866121,.051332,-.007136,-.011959,1.019095],[.458064,.679578,-.137642,.092785,.846313,.060902,-.007494,-.016807,1.024301],[.38545,.769005,-.154455,.100526,.829802,.069673,-.007442,-.02219,1.029632],[.319627,.849633,-.169261,.106241,.815969,.07779,-.007025,-.028051,1.035076],[.259411,.923008,-.18242,.110296,.80434,.085364,-.006276,-.034346,1.040622],[.203876,.990338,-.194214,.112975,.794542,.092483,-.005222,-.041043,1.046265],[.152286,1.052583,-.204868,.114503,.786281,.099216,-.003882,-.048116,1.051998]],Bn=[[1,0,-0,0,1,0,-0,-0,1],[.866435,.177704,-.044139,.049567,.939063,.01137,-.003453,.007233,.99622],[.760729,.319078,-.079807,.090568,.889315,.020117,-.006027,.013325,.992702],[.675425,.43385,-.109275,.125303,.847755,.026942,-.00795,.018572,.989378],[.605511,.52856,-.134071,.155318,.812366,.032316,-.009376,.023176,.9862],[.547494,.607765,-.155259,.181692,.781742,.036566,-.01041,.027275,.983136],[.498864,.674741,-.173604,.205199,.754872,.039929,-.011131,.030969,.980162],[.457771,.731899,-.18967,.226409,.731012,.042579,-.011595,.034333,.977261],[.422823,.781057,-.203881,.245752,.709602,.044646,-.011843,.037423,.974421],[.392952,.82361,-.216562,.263559,.69021,.046232,-.01191,.040281,.97163],[.367322,.860646,-.227968,.280085,.672501,.047413,-.01182,.04294,.968881]],Wn=[[1,0,-0,0,1,0,-0,-0,1],[.92667,.092514,-.019184,.021191,.964503,.014306,.008437,.054813,.93675],[.89572,.13333,-.02905,.029997,.9454,.024603,.013027,.104707,.882266],[.905871,.127791,-.033662,.026856,.941251,.031893,.01341,.148296,.838294],[.948035,.08949,-.037526,.014364,.946792,.038844,.010853,.193991,.795156],[1.017277,.027029,-.044306,-.006113,.958479,.047634,.006379,.248708,.744913],[1.104996,-.046633,-.058363,-.032137,.971635,.060503,.001336,.317922,.680742],[1.193214,-.109812,-.083402,-.058496,.97941,.079086,-.002346,.403492,.598854],[1.257728,-.139648,-.118081,-.078003,.975409,.102594,-.003316,.501214,.502102],[1.278864,-.125333,-.153531,-.084748,.957674,.127074,-989e-6,.601151,.399838],[1.255528,-.076749,-.178779,-.078411,.930809,.147602,.004733,.691367,.3039]],Un=function(e,t){var n=Math.max(0,Math.min(1,t)),r=Math.round(n/.1),i=Math.round(n%.1),s=e[r];if(i>0&&rMath.PI)*Math.PI,S+=2*(S<-Math.PI)*Math.PI;var C,R=2*Math.sqrt(b*_)*Math.sin(S/2),T=(c+p)/2,A=(b+_)/2;b*_==0?C=w+x:(C=(w+x)/2,C-=(Math.abs(w-x)>Math.PI)*Math.PI,C+=2*(C<0)*Math.PI);var P=Math.pow(T-50,2),O=1-.17*Math.cos(C-Math.PI/6)+.24*Math.cos(2*C)+.32*Math.cos(3*C+Math.PI/30)-.2*Math.cos(4*C-63*Math.PI/180),I=1+.015*P/Math.sqrt(20+P),N=1+.045*A,D=1+.015*A*O,M=30*Math.PI/180*Math.exp(-1*Math.pow((180/Math.PI*C-275)/25,2)),L=2*Math.sqrt(Math.pow(A,7)/(Math.pow(A,7)+Math.pow(25,7))),j=-1*Math.sin(2*M)*L;return Math.sqrt(Math.pow(k/(e*I),2)+Math.pow(E/(t*N),2)+Math.pow(R/(n*D),2)+j*E/(t*N)*R/(n*D))}},e.differenceCmc=function(e,t){void 0===e&&(e=1),void 0===t&&(t=1);var n=fe("lab65");return function(r,i){var s=n(r),o=s.l,a=s.a,c=s.b,l=Math.sqrt(a*a+c*c),u=Math.atan2(c,a);u+=2*Math.PI*(u<0);var h=n(i),p=h.l,d=h.a,f=h.b,m=Math.sqrt(d*d+f*f),g=Math.pow(o-p,2),v=Math.pow(l-m,2),y=Math.pow(a-d,2)+Math.pow(c-f,2)-v,b=Math.sqrt(Math.pow(l,4)/(Math.pow(l,4)+1900)),_=o<16?.511:.040975*o/(1+.01765*o),w=.0638*l/(1+.0131*l)+.638,x=w*(b*(u>=164/180*Math.PI&&u<=345/180*Math.PI?.56+Math.abs(.2*Math.cos(u+168/180*Math.PI)):.36+Math.abs(.4*Math.cos(u+35/180*Math.PI)))+1-b);return Math.sqrt(g/Math.pow(e*_,2)+v/Math.pow(t*w,2)+y/Math.pow(x,2))}},e.differenceDin99o=function(){return ye("dlab")},e.differenceEuclidean=ye,e.differenceHueChroma=ve,e.differenceHueNaive=ge,e.differenceHueSaturation=me,e.differenceHyab=function(){var e=fe("lab65");return function(t,n){var r=e(t),i=e(n),s=r.l-i.l,o=r.a-i.a,a=r.b-i.b;return Math.abs(s)+Math.sqrt(o*o+a*a)}},e.differenceKotsarenkoRamos=function(){return ye("yiq",[.5053,.299,.1957])},e.displayable=Dn,e.dlab=er,e.dlch=tr,e.easingGamma=w,e.easingInOutSine=yn,e.easingMidpoint=an,e.easingSmootherstep=function(e){return e*e*e*(e*(6*e-15)+10)},e.easingSmoothstep=function(e){return e*e*(3-2*e)},e.filterBrightness=function(e,t){void 0===e&&(e=1),void 0===t&&(t="rgb");var n=Yn(e);return cn(hn(n),t,!0)},e.filterContrast=function(e,t){void 0===e&&(e=1),void 0===t&&(t="rgb");var n=Yn(e);return cn(hn(n,(1-n)/2),t,!0)},e.filterDeficiencyDeuter=Gn,e.filterDeficiencyProt=Vn,e.filterDeficiencyTrit=Kn,e.filterGrayscale=function(e,t){return void 0===e&&(e=1),void 0===t&&(t="rgb"),Xn([.2126+.7874*(n=1-Qn(e)),.7152-.7152*n,.0722-.0722*n,0,.2126-.2126*n,.7152+.2848*n,.0722-.0722*n,0,.2126-.2126*n,.7152-.7152*n,.0722+.9278*n,0,0,0,0,1],t,!0);var n},e.filterHueRotate=function(e,t){return void 0===e&&(e=0),void 0===t&&(t="rgb"),Xn(function(e){var t=Math.PI*e/180,n=Math.cos(t),r=Math.sin(t);return[.213+.787*n-.213*r,.715-.715*n-.715*r,.072-.072*n+.928*r,0,.213-.213*n+.143*r,.715+.285*n+.14*r,.072-.072*n-.283*r,0,.213-.213*n-.787*r,.715-.715*n+.715*r,.072+.928*n+.072*r,0,0,0,0,1]}(e),t,!0)},e.filterInvert=function(e,t){void 0===e&&(e=1),void 0===t&&(t="rgb");var n=Qn(e);return cn((function(e,t){return"alpha"===t?e:function(e,t,n){return void 0===e||void 0===t?void 0:e+n*(t-e)}(n,1-n,e)}),t,!0)},e.filterSaturate=function(e,t){return void 0===e&&(e=1),void 0===t&&(t="rgb"),Xn(function(e){var t=Yn(e);return[.213+.787*t,.715-.715*t,.072-.072*t,0,.213-.213*t,.715+.285*t,.072-.072*t,0,.213-.213*t,.715-.715*t,.072+.928*t,0,0,0,0,1]}(e),t,!0)},e.filterSepia=function(e,t){return void 0===e&&(e=1),void 0===t&&(t="rgb"),Xn([.393+.607*(n=1-Qn(e)),.769-.769*n,.189-.189*n,0,.349-.349*n,.686+.314*n,.168-.168*n,0,.272-.272*n,.534-.534*n,.131+.869*n,0,0,0,0,1],t,!0);var n},e.fixupAlpha=E,e.fixupHueDecreasing=function(e){return re(e,(function(e){return e<=0?e:e-360}))},e.fixupHueIncreasing=function(e){return re(e,(function(e){return e>=0?e:e+360}))},e.fixupHueLonger=function(e){return re(e,(function(e){return Math.abs(e)>=180||0===e?e:e-360*Math.sign(e)}))},e.fixupHueShorter=ie,e.formatCss=function(e){var t=de(e);if(t){var n=he(t.mode);if(!n.serialize||"string"==typeof n.serialize){var r=n.serialize||"color(--"+t.mode+" ";return n.channels.forEach((function(e,n){"alpha"!==e&&(r+=(n?" ":"")+(t[e]||0))})),void 0!==t.alpha&&t.alpha<1&&(r+=" / "+t.alpha),r+")"}return"function"==typeof n.serialize?n.serialize(t):void 0}},e.formatHex=sn,e.formatHex8=function(e){var t=Zt(e);if(void 0!==t){var n=rn(void 0!==t.alpha?t.alpha:1);return sn(t)+(256|n).toString(16).slice(1)}},e.formatHsl=function(e){var t=en(e);if(void 0!==t){var n=tn(t.h||0),r=tn(100*nn(t.s)),i=tn(100*nn(t.l));return void 0===t.alpha||1===t.alpha?"hsl("+n+", "+r+"%, "+i+"%)":"hsla("+n+", "+r+"%, "+i+"%, "+tn(nn(t.alpha))+")"}},e.formatRgb=on,e.formatter=function(e){switch(void 0===e&&(e="rgb"),e){case"rgb":return on;case"hex":return sn}},e.getModeDefinition=he,e.hsi=nr,e.hsl=rr,e.hsv=ir,e.hwb=sr,e.interpolate=function(e,t,n){return void 0===t&&(t="rgb"),mn(e,t,n)},e.interpolateAlpha=E,e.interpolateCosine=function(e,t){return void 0===t&&(t=1),function(n){var r=w(t),i=x((function(e,t,n){return _(e,t,yn(n))}))((e||function(e){return e})(n));return function(e){return i(r(e))}}},e.interpolateHue=ie,e.interpolateLinear=function(e,t){return void 0===t&&(t=1),function(n){var r=w(t);return function(t){return k((e||function(e){return e})(n))(r(t))}}},e.interpolateSplineBasis=function(e,t,n){return void 0===t&&(t="default"),void 0===n&&(n=1),function(r){var i=w(n);return"default"===t?function(t){return wn((e||function(e){return e})(r))(i(t))}:"closed"===t?function(t){return xn((e||function(e){return e})(r))(i(t))}:void 0}},e.interpolateSplineMonotone=function(e,t,n){return void 0===t&&(t="default"),void 0===n&&(n=1),function(r){var i=w(n);return"closed"===t?function(t){return In((e||function(e){return e})(r))(i(t))}:"default"===t?function(t){return On((e||function(e){return e})(r))(i(t))}:void 0}},e.interpolateSplineNatural=function(e,t,n){return void 0===t&&(t="default"),void 0===n&&(n=1),function(r){var i=w(n);return"default"===t?function(t){return En((e||function(e){return e})(r))(i(t))}:"closed"===t?function(t){return Sn((e||function(e){return e})(r))(i(t))}:void 0}},e.interpolateWith=gn,e.interpolateWithPremultipliedAlpha=vn,e.interpolatorLinear=k,e.interpolatorPiecewise=x,e.interpolatorSplineBasis=wn,e.interpolatorSplineBasisClosed=xn,e.interpolatorSplineMonotone=On,e.interpolatorSplineMonotone2=function(e){if(e.length<3)return k(e);var t=e.length-1,n=An(e),r=n[0],i=n[1],s=n[2];return i[0]=(2*e[1]-1.5*e[0]-.5*e[2])*t,i[t]=(1.5*e[t]-2*e[t-1]+.5*e[t-2])*t,s[0]=i[0]*r[0]<=0?0:Tn(i[0])>2*Tn(r[0])?2*r[0]:i[0],s[t]=i[t]*r[t-1]<=0?0:Tn(i[t])>2*Tn(r[t-1])?2*r[t-1]:i[t],Pn(e,s,r)},e.interpolatorSplineMonotoneClosed=In,e.interpolatorSplineNatural=En,e.interpolatorSplineNaturalClosed=Sn,e.jab=or,e.jch=ar,e.lab=cr,e.lab65=lr,e.lch=ur,e.lch65=hr,e.lchuv=pr,e.lerp=_,e.lrgb=dr,e.luv=fr,e.mapAlphaDivide=un,e.mapAlphaMultiply=ln,e.mapTransferGamma=function(e,t,n){return void 0===e&&(e=1),void 0===t&&(t=1),void 0===n&&(n=0),function(r,i){return"alpha"!==i?e*Math.pow(r,t)+n:r}},e.mapTransferLinear=hn,e.mapper=cn,e.nearest=function(e,t,n){void 0===t&&(t=ye()),void 0===n&&(n=function(e){return e});var r=e.map((function(e,t){return{color:n(e),i:t}}));return function(n,i,s){return void 0===i&&(i=1),void 0===s&&(s=1/0),isFinite(i)&&(i=Math.max(1,Math.min(i,r.length-1))),r.forEach((function(e){e.d=t(n,e.color)})),r.sort((function(e,t){return e.d-t.d})).slice(0,i).filter((function(e){return e.d{function t(e,t,n){var r,i,s,o,a;function c(){var l=Date.now()-o;l=0?r=setTimeout(c,t-l):(r=null,n||(a=e.apply(s,i),s=i=null))}null==t&&(t=100);var l=function(){s=this,i=arguments,o=Date.now();var l=n&&!r;return r||(r=setTimeout(c,t)),l&&(a=e.apply(s,i),s=i=null),a};return l.clear=function(){r&&(clearTimeout(r),r=null)},l.flush=function(){r&&(a=e.apply(s,i),s=i=null,clearTimeout(r),r=null)},l}t.debounce=t,e.exports=t},4336:e=>{e.exports=function(){for(var e=0;e{"use strict";const t=/^(?:( )+|\t+)/;e.exports=e=>{if("string"!=typeof e)throw new TypeError("Expected a string");let n,r,i=0;const s=new Map;for(const o of e.split(/\n/g)){if(!o)continue;let e,a,c,l;const u=o.match(t);if(null===u)i=0,n="";else{e=u[0].length,a=u[1]?"s":"t",a!==n&&(i=0),n=a,c=0;const t=e-i;i=e,0===t?c++:r=a+String(t>0?t:-t),l=s.get(r),l=void 0===l?[1,0]:[++l[0],l[1]+c],s.set(r,l)}}const o=function(e){let t=0,n=0,r=0;for(const[i,[s,o]]of e)(s>n||s===n&&o>r)&&(n=s,r=o,t=i);return t}(s);let a,c=0,l="";return 0!==o&&(c=Number(o.slice(1)),"s"===o[0]?(a="space",l=" ".repeat(c)):(a="tab",l="\t".repeat(c))),{amount:c,type:a,indent:l}}},7410:(e,t,n)=>{var r=n(1033),i=n(9530),s=n(4336),o=/\brequire\b/;var a=e.exports=function(e,t){return a.find(e,t).strings};a.find=function(e,t){t||(t={});var n=void 0===t.word?"require":t.word;"string"!=typeof e&&(e=String(e));var a=t.isRequire||function(e){return"Identifier"===e.callee.type&&e.callee.name===n},c={strings:[],expressions:[]};t.nodes&&(c.nodes=[]);var l="require"===n?o:RegExp("\\b"+n+"\\b");if(!l.test(e))return c;var u=function(e,t){t||(t={});var n={ranges:s(t.ranges,t.range),locations:s(t.locations,t.loc),allowReserved:s(t.allowReserved,!0),allowImportExportEverywhere:s(t.allowImportExportEverywhere,!1)};return null!=t.ecmaVersion&&(n.ecmaVersion=t.ecmaVersion),null!=t.sourceType&&(n.sourceType=t.sourceType),null!=t.allowHashBang&&(n.allowHashBang=t.allowHashBang),null!=t.allowReturnOutsideFunction&&(n.allowReturnOutsideFunction=t.allowReturnOutsideFunction),r.parse(e,n)}(e,t.parse);function h(n,r,s){if(l.test(e.slice(n.start,n.end))&&(i.base[n.type](n,r,s),"CallExpression"===n.type&&a(n))){if(n.arguments.length){var o=n.arguments[0];"Literal"===o.type?c.strings.push(o.value):"TemplateLiteral"===o.type&&1===o.quasis.length&&0===o.expressions.length?c.strings.push(o.quasis[0].value.raw):c.expressions.push(e.slice(o.start,o.end))}t.nodes&&c.nodes.push(n)}}return i.recursive(u,null,{Statement:h,Expression:h}),c}},7639:e=>{e.exports=function(e,t,n,r,i){for(t=t.split?t.split("."):t,r=0;r{e.exports=function(e,t,n){t.split&&(t=t.split("."));for(var r,i=0,s=t.length,o=e;i-1?[]:{}}},2752:(e,t,n)=>{"use strict";const r=n(702),i=n(290);e.exports=class{constructor(e,t,n){this.source=e,this.field=t,this.target=n}apply(e){const t=e.ensureHook(this.target);e.getHook(this.source).tapAsync("AliasFieldPlugin",(n,s,o)=>{if(!n.descriptionFileData)return o();const a=i(e,n);if(!a)return o();const c=r.getField(n.descriptionFileData,this.field);if(null===c||"object"!=typeof c)return s.log&&s.log("Field '"+this.field+"' doesn't contain a valid alias configuration"),o();const l=c[a],u=c[a.replace(/^\.\//,"")],h=void 0!==l?l:u;if(h===a)return o();if(void 0===h)return o();if(!1===h){const e={...n,path:!1};return o(null,e)}const p={...n,path:n.descriptionFileRoot,request:h,fullySpecified:!1};e.doResolve(t,p,"aliased from description file "+n.descriptionFilePath+" with mapping '"+a+"' to '"+h+"'",s,(e,t)=>e?o(e):void 0===t?o(null,null):void o(null,t))})}}},1547:(e,t,n)=>{"use strict";const r=n(8266);e.exports=class{constructor(e,t,n){this.source=e,this.options=Array.isArray(t)?t:[t],this.target=n}apply(e){const t=e.ensureHook(this.target);e.getHook(this.source).tapAsync("AliasPlugin",(n,i,s)=>{const o=n.request||n.path;if(!o)return s();r(this.options,(s,a)=>{let c=!1;if(o===s.name||!s.onlyModule&&o.startsWith(s.name+"/")){const l=o.substr(s.name.length),u=(r,a)=>{if(!1===r){const e={...n,path:!1};return a(null,e)}if(o!==r&&!o.startsWith(r+"/")){c=!0;const o=r+l,u={...n,request:o,fullySpecified:!1};return e.doResolve(t,u,"aliased with mapping '"+s.name+"': '"+r+"' to '"+o+"'",i,(e,t)=>e?a(e):t?a(null,t):a())}return a()},h=(e,t)=>e?a(e):t?a(null,t):c?a(null,null):a();return Array.isArray(s.alias)?r(s.alias,u,h):u(s.alias,h)}return a()},s)})}}},6477:e=>{"use strict";e.exports=class{constructor(e,t,n){this.source=e,this.appending=t,this.target=n}apply(e){const t=e.ensureHook(this.target);e.getHook(this.source).tapAsync("AppendPlugin",(n,r,i)=>{const s={...n,path:n.path+this.appending,relativePath:n.relativePath&&n.relativePath+this.appending};e.doResolve(t,s,this.appending,r,i)})}}},9429:(e,t,n)=>{"use strict";const r=n(1765).nextTick,i=e=>{let t=e.length-1;for(;t>=0;){const n=e.charCodeAt(t);if(47===n||92===n)break;t--}return t<0?"":e.slice(0,t)},s=(e,t,n)=>{if(1===e.length)return e[0](t,n),void(e.length=0);let r;for(const i of e)try{i(t,n)}catch(e){r||(r=e)}if(e.length=0,r)throw r};class o{constructor(e,t,n){this._provider=e,this._syncProvider=t,this._providerContext=n,this._activeAsyncOperations=new Map,this.provide=this._provider?(t,n,r)=>{if("function"==typeof n&&(r=n,n=void 0),n)return this._provider.call(this._providerContext,t,n,r);if("string"!=typeof t)return void r(new TypeError("path must be a string"));let i=this._activeAsyncOperations.get(t);i?i.push(r):(this._activeAsyncOperations.set(t,i=[r]),e(t,(e,n)=>{this._activeAsyncOperations.delete(t),s(i,e,n)}))}:null,this.provideSync=this._syncProvider?(e,t)=>this._syncProvider.call(this._providerContext,e,t):null}purge(){}purgeParent(){}}class a{constructor(e,t,n,r){this._duration=e,this._provider=t,this._syncProvider=n,this._providerContext=r,this._activeAsyncOperations=new Map,this._data=new Map,this._levels=[];for(let e=0;e<10;e++)this._levels.push(new Set);for(let t=5e3;t{this._activeAsyncOperations.delete(e),this._storeResult(e,t,n),this._enterAsyncMode(),s(o,t,n)})):o.push(n)}provideSync(e,t){if("string"!=typeof e)throw new TypeError("path must be a string");if(t)return this._syncProvider.call(this._providerContext,e,t);1===this._mode&&this._runDecays();let n=this._data.get(e);if(void 0!==n){if(n.err)throw n.err;return n.result}const r=this._activeAsyncOperations.get(e);let i;this._activeAsyncOperations.delete(e);try{i=this._syncProvider.call(this._providerContext,e)}catch(t){throw this._storeResult(e,t,void 0),this._enterSyncModeWhenIdle(),r&&s(r,t,void 0),t}return this._storeResult(e,void 0,i),this._enterSyncModeWhenIdle(),r&&s(r,void 0,i),i}purge(e){if(e)if("string"==typeof e){for(let[t,n]of this._data)t.startsWith(e)&&(this._data.delete(t),n.level.delete(t));0===this._data.size&&this._enterIdleMode()}else{for(let[t,n]of this._data)for(const r of e)if(t.startsWith(r)){this._data.delete(t),n.level.delete(t);break}0===this._data.size&&this._enterIdleMode()}else if(0!==this._mode){this._data.clear();for(const e of this._levels)e.clear();this._enterIdleMode()}}purgeParent(e){if(e)if("string"==typeof e)this.purge(i(e));else{const t=new Set;for(const n of e)t.add(i(n));this.purge(t)}else this.purge()}_storeResult(e,t,n){if(this._data.has(e))return;const r=this._levels[this._currentLevel];this._data.set(e,{err:t,result:n,level:r}),r.add(e)}_decayLevel(){const e=(this._currentLevel+1)%this._levels.length,t=this._levels[e];this._currentLevel=e;for(let e of t)this._data.delete(e);t.clear(),0===this._data.size?this._enterIdleMode():this._nextDecay+=this._tickInterval}_runDecays(){for(;this._nextDecay<=Date.now()&&0!==this._mode;)this._decayLevel()}_enterAsyncMode(){let e=0;switch(this._mode){case 2:return;case 0:this._nextDecay=Date.now()+this._tickInterval,e=this._tickInterval;break;case 1:if(this._runDecays(),0===this._mode)return;e=Math.max(0,this._nextDecay-Date.now())}this._mode=2;const t=setTimeout(()=>{this._mode=1,this._runDecays()},e);t.unref&&t.unref(),this._timeout=t}_enterSyncModeWhenIdle(){0===this._mode&&(this._mode=1,this._nextDecay=Date.now()+this._tickInterval)}_enterIdleMode(){this._mode=0,this._nextDecay=void 0,this._timeout&&clearTimeout(this._timeout)}}const c=(e,t,n,r)=>e>0?new a(e,t,n,r):new o(t,n,r);e.exports=class{constructor(e,t){this.fileSystem=e,this._lstatBackend=c(t,this.fileSystem.lstat,this.fileSystem.lstatSync,this.fileSystem);const n=this._lstatBackend.provide;this.lstat=n;const r=this._lstatBackend.provideSync;this.lstatSync=r,this._statBackend=c(t,this.fileSystem.stat,this.fileSystem.statSync,this.fileSystem);const i=this._statBackend.provide;this.stat=i;const s=this._statBackend.provideSync;this.statSync=s,this._readdirBackend=c(t,this.fileSystem.readdir,this.fileSystem.readdirSync,this.fileSystem);const o=this._readdirBackend.provide;this.readdir=o;const a=this._readdirBackend.provideSync;this.readdirSync=a,this._readFileBackend=c(t,this.fileSystem.readFile,this.fileSystem.readFileSync,this.fileSystem);const l=this._readFileBackend.provide;this.readFile=l;const u=this._readFileBackend.provideSync;this.readFileSync=u,this._readJsonBackend=c(t,this.fileSystem.readJson||this.readFile&&((e,t)=>{this.readFile(e,(e,n)=>{if(e)return t(e);if(!n||0===n.length)return t(new Error("No file content"));let r;try{r=JSON.parse(n.toString("utf-8"))}catch(e){return t(e)}t(null,r)})}),this.fileSystem.readJsonSync||this.readFileSync&&(e=>{const t=this.readFileSync(e);return JSON.parse(t.toString("utf-8"))}),this.fileSystem);const h=this._readJsonBackend.provide;this.readJson=h;const p=this._readJsonBackend.provideSync;this.readJsonSync=p,this._readlinkBackend=c(t,this.fileSystem.readlink,this.fileSystem.readlinkSync,this.fileSystem);const d=this._readlinkBackend.provide;this.readlink=d;const f=this._readlinkBackend.provideSync;this.readlinkSync=f}purge(e){this._statBackend.purge(e),this._lstatBackend.purge(e),this._readdirBackend.purgeParent(e),this._readFileBackend.purge(e),this._readlinkBackend.purge(e),this._readJsonBackend.purge(e)}}},2020:(e,t,n)=>{"use strict";const r=n(8608).basename;e.exports=class{constructor(e,t){this.source=e,this.target=t}apply(e){const t=e.ensureHook(this.target);e.getHook(this.source).tapAsync("CloneBasenamePlugin",(n,i,s)=>{const o=r(n.path),a=e.join(n.path,o),c={...n,path:a,relativePath:n.relativePath&&e.join(n.relativePath,o)};e.doResolve(t,c,"using path: "+a,i,s)})}}},4193:e=>{"use strict";e.exports=class{constructor(e,t,n,r,i){this.source=e,this.test=t,this.message=n,this.allowAlternatives=r,this.target=i}apply(e){const t=e.ensureHook(this.target),{test:n,message:r,allowAlternatives:i}=this,s=Object.keys(n);e.getHook(this.source).tapAsync("ConditionalPlugin",(o,a,c)=>{for(const e of s)if(o[e]!==n[e])return c();e.doResolve(t,o,r,a,i?c:(e,t)=>e?c(e):void 0===t?c(null,null):void c(null,t))})}}},6826:(e,t,n)=>{"use strict";const r=n(702);e.exports=class{constructor(e,t,n,r){this.source=e,this.filenames=t,this.pathIsFile=n,this.target=r}apply(e){const t=e.ensureHook(this.target);e.getHook(this.source).tapAsync("DescriptionFilePlugin",(n,i,s)=>{const o=n.path;if(!o)return s();const a=this.pathIsFile?r.cdUp(o):o;if(!a)return s();r.loadDescriptionFile(e,a,this.filenames,n.descriptionFilePath?{path:n.descriptionFilePath,content:n.descriptionFileData,directory:n.descriptionFileRoot}:void 0,i,(r,c)=>{if(r)return s(r);if(!c)return i.log&&i.log(`No description file found in ${a} or above`),s();const l="."+o.substr(c.directory.length).replace(/\\/g,"/"),u={...n,descriptionFilePath:c.path,descriptionFileData:c.content,descriptionFileRoot:c.directory,relativePath:l};e.doResolve(t,u,"using description file: "+c.path+" (relative path: "+l+")",i,(e,t)=>e?s(e):void 0===t?s(null,null):void s(null,t))})})}}},702:(e,t,n)=>{"use strict";const r=n(8266);function i(e){if("/"===e)return null;const t=e.lastIndexOf("/"),n=e.lastIndexOf("\\"),r=t<0?n:n<0?t:t{const i=e.join(t,n);function s(e,n){if(e)return o.log?o.log(i+" (directory description file): "+e):e.message=i+" (directory description file): "+e,r(e);r(null,{content:n,directory:t,path:i})}e.fileSystem.readJson?e.fileSystem.readJson(i,(e,t)=>{if(e)return void 0!==e.code?(o.missingDependencies&&o.missingDependencies.add(i),r()):(o.fileDependencies&&o.fileDependencies.add(i),s(e));o.fileDependencies&&o.fileDependencies.add(i),s(null,t)}):e.fileSystem.readFile(i,(e,t)=>{if(e)return o.missingDependencies&&o.missingDependencies.add(i),r();let n;if(o.fileDependencies&&o.fileDependencies.add(i),!t)return s(new Error("No content in file"));try{n=JSON.parse(t.toString())}catch(e){return s(e)}s(null,n)})},(e,n)=>{if(e)return a(e);if(n)return a(null,n);{const e=i(t);return e?(t=e,c()):a()}})}()},t.getField=function(e,t){if(e){if(Array.isArray(t)){let n=e;for(let e=0;e{"use strict";e.exports=class{constructor(e,t){this.source=e,this.target=t}apply(e){const t=e.ensureHook(this.target);e.getHook(this.source).tapAsync("DirectoryExistsPlugin",(n,r,i)=>{const s=e.fileSystem,o=n.path;if(!o)return i();s.stat(o,(s,a)=>s||!a?(r.missingDependencies&&r.missingDependencies.add(o),r.log&&r.log(o+" doesn't exist"),i()):a.isDirectory()?(r.fileDependencies&&r.fileDependencies.add(o),void e.doResolve(t,n,"existing directory "+o,r,i)):(r.missingDependencies&&r.missingDependencies.add(o),r.log&&r.log(o+" is not a directory"),i()))})}}},163:(e,t,n)=>{"use strict";const r=n(5622),i=n(702),s=n(8266),{processExportsField:o}=n(8348),{parseIdentifier:a}=n(7780),{checkExportsFieldTarget:c}=n(3011);e.exports=class{constructor(e,t,n,r){this.source=e,this.target=r,this.conditionNames=t,this.fieldName=n,this.fieldProcessorCache=new WeakMap}apply(e){const t=e.ensureHook(this.target);e.getHook(this.source).tapAsync("ExportsFieldPlugin",(n,l,u)=>{if(!n.descriptionFilePath)return u();if("."!==n.relativePath||void 0===n.request)return u();const h=n.query||n.fragment?("."===n.request?"./":n.request)+n.query+n.fragment:n.request,p=i.getField(n.descriptionFileData,this.fieldName);if(!p)return u();if(n.directory)return u(new Error(`Resolving to directories is not possible with the exports field (request was ${h}/)`));let d;try{let e=this.fieldProcessorCache.get(n.descriptionFileData);void 0===e&&(e=o(p),this.fieldProcessorCache.set(n.descriptionFileData,e)),d=e(h,this.conditionNames)}catch(e){return l.log&&l.log(`Exports field in ${n.descriptionFilePath} can't be processed: ${e}`),u(e)}if(0===d.length)return u(new Error(`Package path ${h} is not exported from package ${n.descriptionFileRoot} (see exports field in ${n.descriptionFilePath})`));s(d,(i,s)=>{const o=a(i);if(!o)return s();const[u,h,p]=o,d=c(u);if(d)return s(d);const f={...n,request:void 0,path:r.join(n.descriptionFileRoot,u),relativePath:u,query:h,fragment:p};e.doResolve(t,f,"using exports field: "+i,l,s)},(e,t)=>u(e,t||null))})}}},8699:e=>{"use strict";e.exports=class{constructor(e,t){this.source=e,this.target=t}apply(e){const t=e.ensureHook(this.target),n=e.fileSystem;e.getHook(this.source).tapAsync("FileExistsPlugin",(r,i,s)=>{const o=r.path;if(!o)return s();n.stat(o,(n,a)=>n||!a?(i.missingDependencies&&i.missingDependencies.add(o),i.log&&i.log(o+" doesn't exist"),s()):a.isFile()?(i.fileDependencies&&i.fileDependencies.add(o),void e.doResolve(t,r,"existing file: "+o,i,s)):(i.missingDependencies&&i.missingDependencies.add(o),i.log&&i.log(o+" is not a file"),s()))})}}},6058:(e,t,n)=>{"use strict";const r=n(5622),i=n(702),s=n(8266),{processImportsField:o}=n(8348),{parseIdentifier:a}=n(7780),c=".".charCodeAt(0);e.exports=class{constructor(e,t,n,r,i){this.source=e,this.targetFile=r,this.targetPackage=i,this.conditionNames=t,this.fieldName=n,this.fieldProcessorCache=new WeakMap}apply(e){const t=e.ensureHook(this.targetFile),n=e.ensureHook(this.targetPackage);e.getHook(this.source).tapAsync("ImportsFieldPlugin",(l,u,h)=>{if(!l.descriptionFilePath)return h();if("."!==l.relativePath||void 0===l.request)return h();const p=l.request+l.query+l.fragment,d=i.getField(l.descriptionFileData,this.fieldName);if(!d)return h();if(l.directory)return h(new Error(`Resolving to directories is not possible with the imports field (request was ${p}/)`));let f;try{let e=this.fieldProcessorCache.get(l.descriptionFileData);void 0===e&&(e=o(d),this.fieldProcessorCache.set(l.descriptionFileData,e)),f=e(p,this.conditionNames)}catch(e){return u.log&&u.log(`Imports field in ${l.descriptionFilePath} can't be processed: ${e}`),h(e)}if(0===f.length)return h(new Error(`Package import ${p} is not imported from package ${l.descriptionFileRoot} (see imports field in ${l.descriptionFilePath})`));s(f,(i,s)=>{const o=a(i);if(!o)return s();const[h,p,d]=o;switch(h.charCodeAt(0)){case c:{const n={...l,request:void 0,path:r.join(l.descriptionFileRoot,h),relativePath:h,query:p,fragment:d};e.doResolve(t,n,"using imports field: "+i,u,s);break}default:{const t={...l,request:h,relativePath:h,fullySpecified:!0,query:p,fragment:d};e.doResolve(n,t,"using imports field: "+i,u,s)}}},(e,t)=>h(e,t||null))})}}},879:e=>{"use strict";const t="@".charCodeAt(0);e.exports=class{constructor(e,t){this.source=e,this.target=t}apply(e){const n=e.ensureHook(this.target);e.getHook(this.source).tapAsync("JoinRequestPartPlugin",(r,i,s)=>{const o=r.request||"";let a,c,l,u=o.indexOf("/",3);u>=0&&o.charCodeAt(2)===t&&(u=o.indexOf("/",u+1)),u<0?(a=o,c=".",l=!1):(a=o.slice(0,u),c="."+o.slice(u),l=r.fullySpecified);const h={...r,path:e.join(r.path,a),relativePath:r.relativePath&&e.join(r.relativePath,a),request:c,fullySpecified:l};e.doResolve(n,h,null,i,s)})}}},1474:e=>{"use strict";e.exports=class{constructor(e,t){this.source=e,this.target=t}apply(e){const t=e.ensureHook(this.target);e.getHook(this.source).tapAsync("JoinRequestPlugin",(n,r,i)=>{const s={...n,path:e.join(n.path,n.request),relativePath:n.relativePath&&e.join(n.relativePath,n.request),request:void 0};e.doResolve(t,s,null,r,i)})}}},7032:e=>{"use strict";e.exports=class{constructor(e){this.source=e}apply(e){const t=this.source;e.getHook(this.source).tapAsync("LogInfoPlugin",(e,n,r)=>{if(!n.log)return r();const i=n.log,s="["+t+"] ";e.path&&i(s+"Resolving in directory: "+e.path),e.request&&i(s+"Resolving request: "+e.request),e.module&&i(s+"Request is an module request."),e.directory&&i(s+"Request is a directory request."),e.query&&i(s+"Resolving request query: "+e.query),e.fragment&&i(s+"Resolving request fragment: "+e.fragment),e.descriptionFilePath&&i(s+"Has description data from "+e.descriptionFilePath),e.relativePath&&i(s+"Relative path from description file is: "+e.relativePath),r()})}}},3507:(e,t,n)=>{"use strict";const r=n(5622),i=n(702),s=Symbol("alreadyTriedMainField");e.exports=class{constructor(e,t,n){this.source=e,this.options=t,this.target=n}apply(e){const t=e.ensureHook(this.target);e.getHook(this.source).tapAsync("MainFieldPlugin",(n,o,a)=>{if(n.path!==n.descriptionFileRoot||n[s]===n.descriptionFilePath||!n.descriptionFilePath)return a();const c=r.basename(n.descriptionFilePath);let l=i.getField(n.descriptionFileData,this.options.name);if(!l||"string"!=typeof l||"."===l||"./"===l)return a();this.options.forceRelative&&!/^\.\.?\//.test(l)&&(l="./"+l);const u={...n,request:l,module:!1,directory:l.endsWith("/"),[s]:n.descriptionFilePath};return e.doResolve(t,u,"use "+l+" from "+this.options.name+" in "+c,o,a)})}}},6552:(e,t,n)=>{"use strict";const r=n(8266),i=n(8608);e.exports=class{constructor(e,t,n){this.source=e,this.directories=[].concat(t),this.target=n}apply(e){const t=e.ensureHook(this.target);e.getHook(this.source).tapAsync("ModulesInHierachicDirectoriesPlugin",(n,s,o)=>{const a=e.fileSystem,c=i(n.path).paths.map(t=>this.directories.map(n=>e.join(t,n))).reduce((e,t)=>(e.push.apply(e,t),e),[]);r(c,(r,i)=>{a.stat(r,(o,a)=>{if(!o&&a&&a.isDirectory()){const o={...n,path:r,request:"./"+n.request,module:!1},a="looking for modules in "+r;return e.doResolve(t,o,a,s,i)}return s.log&&s.log(r+" doesn't exist or is not a directory"),s.missingDependencies&&s.missingDependencies.add(r),i()})},o)})}}},8952:e=>{"use strict";e.exports=class{constructor(e,t,n){this.source=e,this.path=t,this.target=n}apply(e){const t=e.ensureHook(this.target);e.getHook(this.source).tapAsync("ModulesInRootPlugin",(n,r,i)=>{const s={...n,path:this.path,request:"./"+n.request,module:!1};e.doResolve(t,s,"looking for modules in "+this.path,r,i)})}}},9135:e=>{"use strict";e.exports=class{constructor(e,t){this.source=e,this.target=t}apply(e){const t=e.ensureHook(this.target);e.getHook(this.source).tapAsync("NextPlugin",(n,r,i)=>{e.doResolve(t,n,null,r,i)})}}},5234:e=>{"use strict";e.exports=class{constructor(e,t,n){this.source=e,this.requestOptions=t,this.target=n}apply(e){const t=e.ensureHook(this.target);e.getHook(this.source).tapAsync("ParsePlugin",(n,r,i)=>{const s=e.parse(n.request),o={...n,...s,...this.requestOptions};if(n.query&&!s.query&&(o.query=n.query),n.fragment&&!s.fragment&&(o.fragment=n.fragment),s&&r.log&&(s.module&&r.log("Parsed request is a module"),s.directory&&r.log("Parsed request is a directory")),o.request&&!o.query&&o.fragment){const n=o.fragment.endsWith("/"),s={...o,directory:n,request:o.request+(o.directory?"/":"")+(n?o.fragment.slice(0,-1):o.fragment),fragment:""};e.doResolve(t,s,null,r,(n,s)=>n?i(n):s?i(null,s):void e.doResolve(t,o,null,r,i))}else e.doResolve(t,o,null,r,i)})}}},1488:e=>{"use strict";e.exports=class{constructor(e,t,n){this.source=e,this.pnpApi=t,this.target=n}apply(e){const t=e.ensureHook(this.target);e.getHook(this.source).tapAsync("PnpPlugin",(n,r,i)=>{const s=n.request;if(!s)return i();const o=n.path+"/",a=/^(@[^/]+\/)?[^/]+/.exec(s);if(!a)return i();const c=a[0],l="."+s.slice(c.length);let u,h;try{u=this.pnpApi.resolveToUnqualified(c,o,{considerBuiltins:!1}),r.fileDependencies&&(h=this.pnpApi.resolveToUnqualified("pnpapi",o,{considerBuiltins:!1}))}catch(e){if("MODULE_NOT_FOUND"===e.code&&"UNDECLARED_DEPENDENCY"===e.pnpCode){if(r.log){r.log("request is not managed by the pnpapi");for(const t of e.message.split("\n").filter(Boolean))r.log(" "+t)}return i()}return i(e)}if(u===c)return i();h&&r.fileDependencies&&r.fileDependencies.add(h);const p={...n,path:u,request:l,ignoreSymlinks:!0,fullySpecified:n.fullySpecified&&"."!==l};e.doResolve(t,p,"resolved by pnp to "+u,r,(e,t)=>e?i(e):i(null,t||null))})}}},7432:(e,t,n)=>{"use strict";const{AsyncSeriesBailHook:r,AsyncSeriesHook:i,SyncHook:s}=n(1242),o=n(5478),{parseIdentifier:a}=n(7780),{normalize:c,cachedJoin:l,getType:u,PathType:h}=n(3011);function p(e){return e.replace(/-([a-z])/g,e=>e.substr(1).toUpperCase())}class d{static createStackEntry(e,t){return e.name+": ("+t.path+") "+(t.request||"")+(t.query||"")+(t.fragment||"")+(t.directory?" directory":"")+(t.module?" module":"")}constructor(e,t){this.fileSystem=e,this.options=t,this.hooks={resolveStep:new s(["hook","request"],"resolveStep"),noResolve:new s(["request","error"],"noResolve"),resolve:new r(["request","resolveContext"],"resolve"),result:new i(["result","resolveContext"],"result")}}ensureHook(e){if("string"!=typeof e)return e;if(e=p(e),/^before/.test(e))return this.ensureHook(e[6].toLowerCase()+e.substr(7)).withOptions({stage:-10});if(/^after/.test(e))return this.ensureHook(e[5].toLowerCase()+e.substr(6)).withOptions({stage:10});const t=this.hooks[e];return t||(this.hooks[e]=new r(["request","resolveContext"],e))}getHook(e){if("string"!=typeof e)return e;if(e=p(e),/^before/.test(e))return this.getHook(e[6].toLowerCase()+e.substr(7)).withOptions({stage:-10});if(/^after/.test(e))return this.getHook(e[5].toLowerCase()+e.substr(6)).withOptions({stage:10});const t=this.hooks[e];if(!t)throw new Error(`Hook ${e} doesn't exist`);return t}resolveSync(e,t,n){let r=void 0,i=void 0,s=!1;if(this.resolve(e,t,n,{},(e,t)=>{r=e,i=t,s=!0}),!s)throw new Error("Cannot 'resolveSync' because the fileSystem is not sync. Use 'resolve'!");if(r)throw r;if(void 0===i)throw new Error("No result");return i}resolve(e,t,n,r,i){if(!e||"object"!=typeof e)return i(new Error("context argument is not an object"));if("string"!=typeof t)return i(new Error("path argument is not a string"));if("string"!=typeof n)return i(new Error("path argument is not a string"));if(!r)return i(new Error("resolveContext argument is not set"));const s={context:e,path:t,request:n},o=`resolve '${n}' in '${t}'`,a=e=>i(null,!1!==e.path&&`${e.path.replace(/#/g,"\0#")}${e.query?e.query.replace(/#/g,"\0#"):""}${e.fragment||""}`,e),c=e=>{const t=new Error("Can't "+o);return t.details=e.join("\n"),this.hooks.noResolve.call(s,t),i(t)};if(r.log){const e=r.log,t=[];return this.doResolve(this.hooks.resolve,s,o,{log:n=>{e(n),t.push(n)},fileDependencies:r.fileDependencies,contextDependencies:r.contextDependencies,missingDependencies:r.missingDependencies,stack:r.stack},(e,n)=>e?i(e):n?a(n):c(t))}return this.doResolve(this.hooks.resolve,s,o,{log:void 0,fileDependencies:r.fileDependencies,contextDependencies:r.contextDependencies,missingDependencies:r.missingDependencies,stack:r.stack},(e,t)=>{if(e)return i(e);if(t)return a(t);const n=[];return this.doResolve(this.hooks.resolve,s,o,{log:e=>n.push(e),stack:r.stack},(e,t)=>e?i(e):c(n))})}doResolve(e,t,n,r,i){const s=d.createStackEntry(e,t);let a;if(r.stack){if(a=new Set(r.stack),r.stack.has(s)){const e=new Error("Recursion in resolving\nStack:\n "+Array.from(a).join("\n "));return e.recursion=!0,r.log&&r.log("abort resolving because of recursion"),i(e)}a.add(s)}else a=new Set([s]);if(this.hooks.resolveStep.call(e,t),e.isUsed()){const s=o({log:r.log,fileDependencies:r.fileDependencies,contextDependencies:r.contextDependencies,missingDependencies:r.missingDependencies,stack:a},n);return e.callAsync(t,s,(e,t)=>e?i(e):t?i(null,t):void i())}i()}parse(e){const t={request:"",query:"",fragment:"",module:!1,directory:!1,file:!1,internal:!1},n=a(e);return n?([t.request,t.query,t.fragment]=n,t.request.length>0&&(t.internal=this.isPrivate(e),t.module=this.isModule(t.request),t.directory=this.isDirectory(t.request),t.directory&&(t.request=t.request.substr(0,t.request.length-1))),t):t}isModule(e){return u(e)===h.Normal}isPrivate(e){return u(e)===h.Internal}isDirectory(e){return e.endsWith("/")}join(e,t){return l(e,t)}normalize(e){return c(e)}}e.exports=d},3990:(e,t,n)=>{"use strict";const r=n(1765).versions,i=n(7432),{getType:s,PathType:o}=n(3011),a=n(7746),c=n(2752),l=n(1547),u=n(6477),h=n(4193),p=n(6826),d=n(3688),f=n(163),m=n(8699),g=n(6058),v=n(879),y=n(1474),b=n(3507),_=n(6552),w=n(8952),x=n(9135),k=n(5234),E=n(1488),S=n(9222),C=n(615),R=n(4403),T=n(2317),A=n(1300),P=n(6442),O=n(3501),I=n(318);function N(e){return"object"!=typeof e||Array.isArray(e)||null===e?e||[]:Object.keys(e).map(t=>{const n={name:t,onlyModule:!1,alias:e[t]};return/\$$/.test(t)&&(n.onlyModule=!0,n.name=t.substr(0,t.length-1)),n})}function D(e,t){const n=[],r=new Set(e);for(const e of r)if(t(e)){const t=n.length>0?n[n.length-1]:void 0;Array.isArray(t)?t.push(e):n.push([e])}else n.push(e);return n}t.createResolver=function(e){const t=function(e){const t=new Set(e.mainFields||["main"]),i=[];for(const e of t)"string"==typeof e?i.push({name:[e],forceRelative:!0}):Array.isArray(e)?i.push({name:e,forceRelative:!0}):i.push({name:Array.isArray(e.name)?e.name:[e.name],forceRelative:e.forceRelative});return{alias:N(e.alias),fallback:N(e.fallback),aliasFields:new Set(e.aliasFields),cachePredicate:e.cachePredicate||function(){return!0},cacheWithContext:void 0===e.cacheWithContext||e.cacheWithContext,exportsFields:new Set(e.exportsFields||["exports"]),importsFields:new Set(e.importsFields||["imports"]),conditionNames:new Set(e.conditionNames),descriptionFiles:Array.from(new Set(e.descriptionFiles||["package.json"])),enforceExtension:void 0===e.enforceExtension?!(!e.extensions||!e.extensions.includes("")):e.enforceExtension,extensions:new Set(e.extensions||[".js",".json",".node"]),fileSystem:e.useSyncFileSystemCalls?new a(e.fileSystem):e.fileSystem,unsafeCache:e.unsafeCache&&"object"!=typeof e.unsafeCache?{}:e.unsafeCache||!1,symlinks:void 0===e.symlinks||e.symlinks,resolver:e.resolver,modules:D(Array.isArray(e.modules)?e.modules:e.modules?[e.modules]:["node_modules"],e=>{const t=s(e);return t===o.Normal||t===o.Relative}),mainFields:i,mainFiles:new Set(e.mainFiles||["index"]),plugins:e.plugins||[],pnpApi:(c=e.pnpApi,void 0===c&&r.pnp?n(5055):c||null),roots:new Set(e.roots||void 0),fullySpecified:e.fullySpecified||!1,resolveToContext:e.resolveToContext||!1,preferRelative:e.preferRelative||!1,preferAbsolute:e.preferAbsolute||!1,restrictions:new Set(e.restrictions)};var c}(e),{alias:M,fallback:L,aliasFields:j,cachePredicate:q,cacheWithContext:F,conditionNames:$,descriptionFiles:H,enforceExtension:z,exportsFields:B,importsFields:W,extensions:U,fileSystem:V,fullySpecified:G,mainFields:K,mainFiles:Y,modules:Q,plugins:X,pnpApi:J,resolveToContext:Z,preferRelative:ee,preferAbsolute:te,symlinks:ne,unsafeCache:re,resolver:ie,restrictions:se,roots:oe}=t,ae=X.slice(),ce=ie||new i(V,t);ce.ensureHook("resolve"),ce.ensureHook("internalResolve"),ce.ensureHook("newInteralResolve"),ce.ensureHook("parsedResolve"),ce.ensureHook("describedResolve"),ce.ensureHook("internal"),ce.ensureHook("rawModule"),ce.ensureHook("module"),ce.ensureHook("resolveAsModule"),ce.ensureHook("undescribedResolveInPackage"),ce.ensureHook("resolveInPackage"),ce.ensureHook("resolveInExistingDirectory"),ce.ensureHook("relative"),ce.ensureHook("describedRelative"),ce.ensureHook("directory"),ce.ensureHook("undescribedExistingDirectory"),ce.ensureHook("existingDirectory"),ce.ensureHook("undescribedRawFile"),ce.ensureHook("rawFile"),ce.ensureHook("file"),ce.ensureHook("finalFile"),ce.ensureHook("existingFile"),ce.ensureHook("resolved");for(const{source:e,resolveOptions:t}of[{source:"resolve",resolveOptions:{fullySpecified:G}},{source:"internal-resolve",resolveOptions:{fullySpecified:!1}}])re?(ae.push(new O(e,q,re,F,"new-"+e)),ae.push(new k("new-"+e,t,"parsed-resolve"))):ae.push(new k(e,t,"parsed-resolve"));ae.push(new p("parsed-resolve",H,!1,"described-resolve")),ae.push(new x("after-parsed-resolve","described-resolve")),ae.push(new x("described-resolve","normal-resolve")),L.length>0&&ae.push(new l("described-resolve",L,"internal-resolve")),M.length>0&&ae.push(new l("normal-resolve",M,"internal-resolve")),j.forEach(e=>{ae.push(new c("normal-resolve",e,"internal-resolve"))}),ee&&ae.push(new y("after-normal-resolve","relative")),ae.push(new h("after-normal-resolve",{module:!0},"resolve as module",!1,"raw-module")),ae.push(new h("after-normal-resolve",{internal:!0},"resolve as internal import",!1,"internal")),te&&ae.push(new y("after-normal-resolve","relative")),oe.size>0&&ae.push(new R("after-normal-resolve",oe,"relative")),ee||te||ae.push(new y("after-normal-resolve","relative")),W.forEach(e=>{ae.push(new g("internal",$,e,"relative","internal-resolve"))}),B.forEach(e=>{ae.push(new T("raw-module",e,"resolve-as-module"))}),Q.forEach(e=>{Array.isArray(e)?e.includes("node_modules")&&J?(ae.push(new _("raw-module",e.filter(e=>"node_modules"!==e),"module")),ae.push(new E("raw-module",J,"undescribed-resolve-in-package"))):ae.push(new _("raw-module",e,"module")):ae.push(new w("raw-module",e,"module"))}),ae.push(new v("module","resolve-as-module")),Z||ae.push(new h("resolve-as-module",{directory:!1,request:"."},"single file module",!0,"undescribed-raw-file")),ae.push(new d("resolve-as-module","undescribed-resolve-in-package")),ae.push(new p("undescribed-resolve-in-package",H,!1,"resolve-in-package")),ae.push(new x("after-undescribed-resolve-in-package","resolve-in-package")),B.forEach(e=>{ae.push(new f("resolve-in-package",$,e,"relative"))}),ae.push(new x("resolve-in-package","resolve-in-existing-directory")),ae.push(new y("resolve-in-existing-directory","relative")),ae.push(new p("relative",H,!0,"described-relative")),ae.push(new x("after-relative","described-relative")),Z?ae.push(new x("described-relative","directory")):(ae.push(new h("described-relative",{directory:!1},null,!0,"raw-file")),ae.push(new h("described-relative",{fullySpecified:!1},"as directory",!0,"directory"))),ae.push(new d("directory","undescribed-existing-directory")),Z?ae.push(new x("undescribed-existing-directory","resolved")):(ae.push(new p("undescribed-existing-directory",H,!1,"existing-directory")),Y.forEach(e=>{ae.push(new I("undescribed-existing-directory",e,"undescribed-raw-file"))}),K.forEach(e=>{ae.push(new b("existing-directory",e,"resolve-in-existing-directory"))}),Y.forEach(e=>{ae.push(new I("existing-directory",e,"undescribed-raw-file"))}),ae.push(new p("undescribed-raw-file",H,!0,"raw-file")),ae.push(new x("after-undescribed-raw-file","raw-file")),ae.push(new h("raw-file",{fullySpecified:!0},null,!1,"file")),z||ae.push(new P("raw-file","no extension","file")),U.forEach(e=>{ae.push(new u("raw-file",e,"file"))}),M.length>0&&ae.push(new l("file",M,"internal-resolve")),j.forEach(e=>{ae.push(new c("file",e,"internal-resolve"))}),ae.push(new x("file","final-file")),ae.push(new m("final-file","existing-file")),ne&&ae.push(new A("existing-file","existing-file")),ae.push(new x("existing-file","resolved"))),se.size>0&&ae.push(new S(ce.hooks.resolved,se)),ae.push(new C(ce.hooks.resolved));for(const e of ae)"function"==typeof e?e.call(ce,ce):e.apply(ce);return ce}},9222:e=>{"use strict";const t="/".charCodeAt(0),n="\\".charCodeAt(0),r=(e,r)=>{if(!e.startsWith(r))return!1;if(e.length===r.length)return!0;const i=e.charCodeAt(r.length);return i===t||i===n};e.exports=class{constructor(e,t){this.source=e,this.restrictions=t}apply(e){e.getHook(this.source).tapAsync("RestrictionsPlugin",(e,t,n)=>{if("string"==typeof e.path){const i=e.path;for(const e of this.restrictions)if("string"==typeof e){if(!r(i,e))return t.log&&t.log(`${i} is not inside of the restriction ${e}`),n(null,null)}else if(!e.test(i))return t.log&&t.log(`${i} doesn't match the restriction ${e}`),n(null,null)}n()})}}},615:e=>{"use strict";e.exports=class{constructor(e){this.source=e}apply(e){this.source.tapAsync("ResultPlugin",(t,n,r)=>{const i={...t};n.log&&n.log("reporting result "+i.path),e.hooks.result.callAsync(i,n,e=>{if(e)return r(e);r(null,i)})})}}},4403:(e,t,n)=>{"use strict";const r=n(8266);e.exports=class{constructor(e,t,n){this.roots=Array.from(t),this.source=e,this.target=n}apply(e){const t=e.ensureHook(this.target);e.getHook(this.source).tapAsync("RootsPlugin",(n,i,s)=>{const o=n.request;return o&&o.startsWith("/")?void r(this.roots,(r,s)=>{const a=e.join(r,o.slice(1)),c={...n,path:a,relativePath:n.relativePath&&a};e.doResolve(t,c,"root path "+r,i,s)},s):s()})}}},2317:(e,t,n)=>{"use strict";const r=n(702),i="/".charCodeAt(0);e.exports=class{constructor(e,t,n){this.source=e,this.target=n,this.fieldName=t}apply(e){const t=e.ensureHook(this.target);e.getHook(this.source).tapAsync("SelfReferencePlugin",(n,s,o)=>{if(!n.descriptionFilePath)return o();const a=n.request;if(!a)return o();if(!r.getField(n.descriptionFileData,this.fieldName))return o();const c=r.getField(n.descriptionFileData,"name");if("string"!=typeof c)return o();if(!a.startsWith(c)||a.length!==c.length&&a.charCodeAt(c.length)!==i)return o();{const r="."+a.slice(c.length),i={...n,request:r,path:n.descriptionFileRoot,relativePath:"."};e.doResolve(t,i,"self reference",s,o)}})}}},1300:(e,t,n)=>{"use strict";const r=n(8266),i=n(8608),{getType:s,PathType:o}=n(3011);e.exports=class{constructor(e,t){this.source=e,this.target=t}apply(e){const t=e.ensureHook(this.target),n=e.fileSystem;e.getHook(this.source).tapAsync("SymlinkPlugin",(a,c,l)=>{if(a.ignoreSymlinks)return l();const u=i(a.path),h=u.seqments,p=u.paths;let d=!1,f=-1;r(p,(e,t)=>{f++,c.fileDependencies&&c.fileDependencies.add(e),n.readlink(e,(e,n)=>{if(!e&&n){h[f]=n,d=!0;const e=s(n.toString());if(e===o.AbsoluteWin||e===o.AbsolutePosix)return t(null,f)}t()})},(n,r)=>{if(!d)return l();const i=("number"==typeof r?h.slice(0,r+1):h.slice()).reduceRight((t,n)=>e.join(t,n)),s={...a,path:i};e.doResolve(t,s,"resolved symlink to "+i,c,l)})})}}},7746:e=>{"use strict";e.exports=function(e){this.fs=e,this.lstat=void 0,this.lstatSync=void 0;const t=e.lstatSync;t&&(this.lstat=(n,r,i)=>{let s;try{s=t.call(e,n)}catch(e){return(i||r)(e)}(i||r)(null,s)},this.lstatSync=(n,r)=>t.call(e,n,r)),this.stat=(t,n,r)=>{let i;try{i=e.statSync(t,n)}catch(e){return(r||n)(e)}(r||n)(null,i)},this.statSync=(t,n)=>e.statSync(t,n),this.readdir=(t,n,r)=>{let i;try{i=e.readdirSync(t)}catch(e){return(r||n)(e)}(r||n)(null,i)},this.readdirSync=(t,n)=>e.readdirSync(t,n),this.readFile=(t,n,r)=>{let i;try{i=e.readFileSync(t)}catch(e){return(r||n)(e)}(r||n)(null,i)},this.readFileSync=(t,n)=>e.readFileSync(t,n),this.readlink=(t,n,r)=>{let i;try{i=e.readlinkSync(t)}catch(e){return(r||n)(e)}(r||n)(null,i)},this.readlinkSync=(t,n)=>e.readlinkSync(t,n),this.readJson=void 0,this.readJsonSync=void 0;const n=e.readJsonSync;n&&(this.readJson=(t,r,i)=>{let s;try{s=n.call(e,t)}catch(e){return(i||r)(e)}(i||r)(null,s)},this.readJsonSync=(t,r)=>n.call(e,t,r))}},6442:e=>{"use strict";e.exports=class{constructor(e,t,n){this.source=e,this.message=t,this.target=n}apply(e){const t=e.ensureHook(this.target);e.getHook(this.source).tapAsync("TryNextPlugin",(n,r,i)=>{e.doResolve(t,n,this.message,r,i)})}}},3501:e=>{"use strict";e.exports=class{constructor(e,t,n,r,i){this.source=e,this.filterPredicate=t,this.withContext=r,this.cache=n,this.target=i}apply(e){const t=e.ensureHook(this.target);e.getHook(this.source).tapAsync("UnsafeCachePlugin",(n,r,i)=>{if(!this.filterPredicate(n))return i();const s=function(e,t){return JSON.stringify({context:t?e.context:"",path:e.path,query:e.query,fragment:e.fragment,request:e.request})}(n,this.withContext),o=this.cache[s];if(o)return i(null,o);e.doResolve(t,n,null,r,(e,t)=>e?i(e):t?i(null,this.cache[s]=t):void i())})}}},318:e=>{"use strict";e.exports=class{constructor(e,t,n){this.source=e,this.filename=t,this.target=n}apply(e){const t=e.ensureHook(this.target);e.getHook(this.source).tapAsync("UseFilePlugin",(n,r,i)=>{const s=e.join(n.path,this.filename),o={...n,path:s,relativePath:n.relativePath&&e.join(n.relativePath,this.filename)};e.doResolve(t,o,"using path: "+s,r,i)})}}},5478:e=>{"use strict";e.exports=function(e,t,n){let r=!1,i=void 0;return e.log&&(i=t?n=>{r||(e.log(t),r=!0),e.log(" "+n)}:e.log),{log:i,fileDependencies:e.fileDependencies,contextDependencies:e.contextDependencies,missingDependencies:e.missingDependencies,stack:e.stack}}},8266:e=>{"use strict";e.exports=function(e,t,n){if(0===e.length)return n();let r=0;const i=()=>{let s=void 0;return t(e[r++],(t,o)=>{if(t||void 0!==o||r>=e.length)return n(t,o);if(!1===s)for(;i(););s=!0}),s||(s=!1),s};for(;i(););}},290:e=>{"use strict";e.exports=function(e,t){if("string"==typeof t.__innerRequest&&t.__innerRequest_request===t.request&&t.__innerRequest_relativePath===t.relativePath)return t.__innerRequest;let n;return t.request?(n=t.request,/^\.\.?\//.test(n)&&t.relativePath&&(n=e.join(t.relativePath,n))):n=t.relativePath,t.__innerRequest_request=t.request,t.__innerRequest_relativePath=t.relativePath,t.__innerRequest=n}},8608:e=>{"use strict";e.exports=function(e){const t=e.split(/(.*?[\\/]+)/),n=[e],r=[t[t.length-1]];let i=t[t.length-1];e=e.substr(0,e.length-i.length-1);for(let s=t.length-2;s>2;s-=2)n.push(e),i=t[s],e=e.substr(0,e.length-i.length)||"/",r.push(i.substr(0,i.length-1));return i=t[1],r.push(i),n.push(i),{paths:n,seqments:r}},e.exports.basename=function(e){const t=e.lastIndexOf("/"),n=e.lastIndexOf("\\"),r=t<0?n:n<0?t:t{"use strict";const r=n(552),i=n(9429),s=n(3990),o=new i(r,4e3),a={environments:["node+es3+es5+process+native"]},c=s.createResolver({conditionNames:["node"],extensions:[".js",".json",".node"],fileSystem:o});const l=s.createResolver({conditionNames:["node"],extensions:[".js",".json",".node"],useSyncFileSystemCalls:!0,fileSystem:o});function u(e,t,n){return"string"==typeof e&&(n=t,t=e,e=a),l.resolveSync(e,t,n)}function h(e){e={useSyncFileSystemCalls:!0,fileSystem:o,...e};const t=s.createResolver(e);return function(e,n,r){return"string"==typeof e&&(r=n,n=e,e=a),t.resolveSync(e,n,r)}}const p=(e,t)=>{const n=Object.getOwnPropertyDescriptors(t);return Object.defineProperties(e,n),Object.freeze(e)};e.exports=p((function(e,t,n,r,i){"string"==typeof e&&(i=r,r=n,n=t,t=e,e=a),"function"!=typeof i&&(i=r),c.resolve(e,t,n,r,i)}),{get sync(){return u},create:p((function(e){e={fileSystem:o,...e};const t=s.createResolver(e);return function(e,n,r,i,s){"string"==typeof e&&(s=i,i=r,r=n,n=e,e=a),"function"!=typeof s&&(s=i),t.resolve(e,n,r,i,s)}}),{get sync(){return h}}),ResolverFactory:s,CachedInputFileSystem:i,get CloneBasenamePlugin(){return n(2020)},get LogInfoPlugin(){return n(7032)},get forEachBail(){return n(8266)}})},8348:e=>{"use strict";const t="/".charCodeAt(0),n=".".charCodeAt(0),r="#".charCodeAt(0);function i(e,t,n){return function(r,i){const s=function(e,t){if(0===e.length){const e=t.files.get("");return e?[e,1]:null}if(null===t.children&&null===t.folder&&null===t.wildcards){const n=t.files.get(e);return n?[n,e.length+1]:null}let n=t,r=0,i=e.indexOf("/",0),s=null;const o=()=>{const e=n.folder;e&&(s?(s[0]=e,s[1]=-r-1):s=[e,-r-1])},a=(e,t)=>{if(e)for(const[n,i]of e)t.startsWith(n)&&(s?s[1]0?e.slice(r):e,l=n.files.get(c);if(l)return[l,e.length+1];return o(),a(n.wildcards,c),s}(r=t(r),e);if(null===s)return[];const[o,a]=s;let c=null;if(l(o)){if(c=h(o,i),null===c)return[]}else c=o;return function e(t,n,r,i,s){if(null===r)return[];if("string"==typeof r)return[u(t,n,r,s)];const o=[];for(const a of r){if("string"==typeof a){o.push(u(t,n,a,s));continue}const r=h(a,i);if(!r)continue;const c=e(t,n,r,i,s);for(const e of c)o.push(e)}return o}(a===r.length+1?void 0:a<0?r.slice(-a-1):r.slice(a),a<0,c,i,n)}}function s(e){if(e.charCodeAt(0)!==n)throw new Error('Request should be relative path and start with "."');if(1===e.length)return"";if(e.charCodeAt(1)!==t)throw new Error('Request should be relative path and start with "./"');if(e.charCodeAt(e.length-1)===t)throw new Error("Only requesting file allowed");return e.slice(2)}function o(e){if(e.charCodeAt(0)!==r)throw new Error('Request should start with "#"');if(1===e.length)throw new Error("Request should have at least 2 characters");if(e.charCodeAt(1)===t)throw new Error('Request should not start with "#/"');if(e.charCodeAt(e.length-1)===t)throw new Error("Only requesting file allowed");return e.slice(1)}function a(e,r){if(e.charCodeAt(0)===t||e.charCodeAt(0)===n&&e.charCodeAt(1)!==t)throw new Error(`Export should be relative path and start with "./", got ${JSON.stringify(e)}.`);if(e.charCodeAt(e.length-1)===t!==r)throw new Error(r?`Expecting folder to folder mapping. ${JSON.stringify(e)} should end with "/"`:`Expecting file to file mapping. ${JSON.stringify(e)} should not end with "/"`)}function c(e,n){if(e.charCodeAt(e.length-1)===t!==n)throw new Error(n?`Expecting folder to folder mapping. ${JSON.stringify(e)} should end with "/"`:`Expecting file to file mapping. ${JSON.stringify(e)} should not end with "/"`)}function l(e){return null!==e&&"object"==typeof e&&!Array.isArray(e)}function u(e,t,n,r){return void 0===e?(r(n,!1),n):t?(r(n,!0),n+e):(r(n,!1),n.replace(/\*/g,e.replace(/\$/g,"$$")))}function h(e,t){let n=[[e,Object.keys(e),0]];e:for(;n.length>0;){const[e,r,i]=n[n.length-1],s=r.length-1;for(let o=i;o=t.length)r.folder=n;else{const e=i>0?t.slice(i):t;e.endsWith("*")?(null===r.wildcards&&(r.wildcards=new Map),r.wildcards.set(e.slice(0,-1),n)):r.files.set(e,n)}}e.exports.processExportsField=function(e){return i(function(e){const r=p();if("string"==typeof e)return r.files.set("",e),r;if(Array.isArray(e))return r.files.set("",e.slice()),r;const i=Object.keys(e);for(let s=0;s{"use strict";const t=/^(#?(?:\0.|[^?#\0])*)(\?(?:\0.|[^#\0])*)?(#.*)?$/;e.exports.parseIdentifier=function(e){const n=t.exec(e);return n?[n[1].replace(/\0(.)/g,"$1"),n[2]?n[2].replace(/\0(.)/g,"$1"):"",n[3]||""]:null}},3011:(e,t,n)=>{"use strict";const r=n(5622),i="#".charCodeAt(0),s="/".charCodeAt(0),o="\\".charCodeAt(0),a="A".charCodeAt(0),c="Z".charCodeAt(0),l="a".charCodeAt(0),u="z".charCodeAt(0),h=".".charCodeAt(0),p=":".charCodeAt(0),d=r.posix.normalize,f=r.win32.normalize,m=Object.freeze({Empty:0,Normal:1,Relative:2,AbsoluteWin:3,AbsolutePosix:4,Internal:5});t.PathType=m;const g=e=>{switch(e.length){case 0:return m.Empty;case 1:switch(e.charCodeAt(0)){case h:return m.Relative;case s:return m.AbsolutePosix;case i:return m.Internal}return m.Normal;case 2:{const t=e.charCodeAt(0);switch(t){case h:switch(e.charCodeAt(1)){case h:case s:return m.Relative}return m.Normal;case s:return m.AbsolutePosix;case i:return m.Internal}return e.charCodeAt(1)===p&&(t>=a&&t<=c||t>=l&&t<=u)?m.AbsoluteWin:m.Normal}}const t=e.charCodeAt(0);switch(t){case h:switch(e.charCodeAt(1)){case s:return m.Relative;case h:return e.charCodeAt(2)===s?m.Relative:m.Normal}return m.Normal;case s:return m.AbsolutePosix;case i:return m.Internal}if(e.charCodeAt(1)===p){const n=e.charCodeAt(2);if((n===o||n===s)&&(t>=a&&t<=c||t>=l&&t<=u))return m.AbsoluteWin}return m.Normal};t.getType=g;const v=e=>{switch(g(e)){case m.Empty:return e;case m.AbsoluteWin:return f(e);case m.Relative:{const t=d(e);return g(t)===m.Relative?t:"./"+t}}return d(e)};t.normalize=v;const y=(e,t)=>{if(!t)return v(e);const n=g(t);switch(n){case m.AbsolutePosix:return d(t);case m.AbsoluteWin:return f(t)}switch(g(e)){case m.Normal:case m.Relative:case m.AbsolutePosix:return d(`${e}/${t}`);case m.AbsoluteWin:return f(`${e}\\${t}`)}switch(n){case m.Empty:return e;case m.Relative:{const t=d(e);return g(t)===m.Relative?t:"./"+t}}return d(e)};t.join=y;const b=new Map;t.cachedJoin=(e,t)=>{let n,r=b.get(e);if(void 0===r)b.set(e,r=new Map);else if(n=r.get(t),void 0!==n)return n;return n=y(e,t),r.set(t,n),n};t.checkExportsFieldTarget=e=>{let t=2,n=e.indexOf("/",2),r=0;for(;-1!==n;){switch(e.slice(t,n)){case"..":if(r--,r<0)return new Error("Trying to access out of package scope. Requesting "+e);break;default:r++}t=n+1,n=e.indexOf("/",t)}}},3909:(e,t,n)=>{"use strict";const r=n(132),i=n(8363),s=n(342),o=n(98),a=n(6490),c=n(7956);async function l(e,t){h(e);const n=u(e,i.default,t),r=await Promise.all(n);return c.array.flatten(r)}function u(e,t,n){const i=[].concat(e),s=new a.default(n),o=r.generate(i,s),c=new t(s);return o.map(c.read,c)}function h(e){if(![].concat(e).every(e=>c.string.isString(e)&&!c.string.isEmpty(e)))throw new TypeError("Patterns must be a string (non empty) or an array of strings")}!function(e){e.sync=function(e,t){h(e);const n=u(e,o.default,t);return c.array.flatten(n)},e.stream=function(e,t){h(e);const n=u(e,s.default,t);return c.stream.merge(n)},e.generateTasks=function(e,t){h(e);const n=[].concat(e),i=new a.default(t);return r.generate(n,i)},e.isDynamicPattern=function(e,t){h(e);const n=new a.default(t);return c.pattern.isDynamicPattern(e,n)},e.escapePath=function(e){return h(e),c.path.escape(e)}}(l||(l={})),e.exports=l},132:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.convertPatternGroupToTask=t.convertPatternGroupsToTasks=t.groupPatternsByBaseDirectory=t.getNegativePatternsAsPositive=t.getPositivePatterns=t.convertPatternsToTasks=t.generate=void 0;const r=n(7956);function i(e,t,n){const r=a(e);if("."in r){return[l(".",e,t,n)]}return c(r,t,n)}function s(e){return r.pattern.getPositivePatterns(e)}function o(e,t){return r.pattern.getNegativePatterns(e).concat(t).map(r.pattern.convertToPositivePattern)}function a(e){return e.reduce((e,t)=>{const n=r.pattern.getBaseDirectory(t);return n in e?e[n].push(t):e[n]=[t],e},{})}function c(e,t,n){return Object.keys(e).map(r=>l(r,e[r],t,n))}function l(e,t,n,i){return{dynamic:i,positive:t,negative:n,base:e,patterns:[].concat(t,n.map(r.pattern.convertToNegativePattern))}}t.generate=function(e,t){const n=s(e),a=o(e,t.ignore),c=n.filter(e=>r.pattern.isStaticPattern(e,t)),l=n.filter(e=>r.pattern.isDynamicPattern(e,t)),u=i(c,a,!1),h=i(l,a,!0);return u.concat(h)},t.convertPatternsToTasks=i,t.getPositivePatterns=s,t.getNegativePatternsAsPositive=o,t.groupPatternsByBaseDirectory=a,t.convertPatternGroupsToTasks=c,t.convertPatternGroupToTask=l},8363:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(722),i=n(5306);class s extends i.default{constructor(){super(...arguments),this._reader=new r.default(this._settings)}read(e){const t=this._getRootDirectory(e),n=this._getReaderOptions(e),r=[];return new Promise((i,s)=>{const o=this.api(t,e,n);o.once("error",s),o.on("data",e=>r.push(n.transform(e))),o.once("end",()=>i(r))})}api(e,t,n){return t.dynamic?this._reader.dynamic(e,n):this._reader.static(t.patterns,n)}}t.default=s},5357:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(7956),i=n(5349);t.default=class{constructor(e,t){this._settings=e,this._micromatchOptions=t}getFilter(e,t,n){const r=this._getMatcher(t),i=this._getNegativePatternsRe(n);return t=>this._filter(e,t,r,i)}_getMatcher(e){return new i.default(e,this._settings,this._micromatchOptions)}_getNegativePatternsRe(e){const t=e.filter(r.pattern.isAffectDepthOfReadingPattern);return r.pattern.convertPatternsToRe(t,this._micromatchOptions)}_filter(e,t,n,i){if(this._isSkippedByDeep(e,t.path))return!1;if(this._isSkippedSymbolicLink(t))return!1;const s=r.path.removeLeadingDotSegment(t.path);return!this._isSkippedByPositivePatterns(s,n)&&this._isSkippedByNegativePatterns(s,i)}_isSkippedByDeep(e,t){return this._settings.deep!==1/0&&this._getEntryLevel(e,t)>=this._settings.deep}_getEntryLevel(e,t){const n=t.split("/").length;return""===e?n:n-e.split("/").length}_isSkippedSymbolicLink(e){return!this._settings.followSymbolicLinks&&e.dirent.isSymbolicLink()}_isSkippedByPositivePatterns(e,t){return!this._settings.baseNameMatch&&!t.match(e)}_isSkippedByNegativePatterns(e,t){return!r.pattern.matchAny(e,t)}}},4955:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(7956);t.default=class{constructor(e,t){this._settings=e,this._micromatchOptions=t,this.index=new Map}getFilter(e,t){const n=r.pattern.convertPatternsToRe(e,this._micromatchOptions),i=r.pattern.convertPatternsToRe(t,this._micromatchOptions);return e=>this._filter(e,n,i)}_filter(e,t,n){if(this._settings.unique&&this._isDuplicateEntry(e))return!1;if(this._onlyFileFilter(e)||this._onlyDirectoryFilter(e))return!1;if(this._isSkippedByAbsoluteNegativePatterns(e.path,n))return!1;const r=this._settings.baseNameMatch?e.name:e.path,i=this._isMatchToPatterns(r,t)&&!this._isMatchToPatterns(e.path,n);return this._settings.unique&&i&&this._createIndexRecord(e),i}_isDuplicateEntry(e){return this.index.has(e.path)}_createIndexRecord(e){this.index.set(e.path,void 0)}_onlyFileFilter(e){return this._settings.onlyFiles&&!e.dirent.isFile()}_onlyDirectoryFilter(e){return this._settings.onlyDirectories&&!e.dirent.isDirectory()}_isSkippedByAbsoluteNegativePatterns(e,t){if(!this._settings.absolute)return!1;const n=r.path.makeAbsolute(this._settings.cwd,e);return r.pattern.matchAny(n,t)}_isMatchToPatterns(e,t){const n=r.path.removeLeadingDotSegment(e);return r.pattern.matchAny(n,t)}}},299:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(7956);t.default=class{constructor(e){this._settings=e}getFilter(){return e=>this._isNonFatalError(e)}_isNonFatalError(e){return r.errno.isEnoentCodeError(e)||this._settings.suppressErrors}}},90:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(7956);t.default=class{constructor(e,t,n){this._patterns=e,this._settings=t,this._micromatchOptions=n,this._storage=[],this._fillStorage()}_fillStorage(){const e=r.pattern.expandPatternsWithBraceExpansion(this._patterns);for(const t of e){const e=this._getPatternSegments(t),n=this._splitSegmentsIntoSections(e);this._storage.push({complete:n.length<=1,pattern:t,segments:e,sections:n})}}_getPatternSegments(e){return r.pattern.getPatternParts(e,this._micromatchOptions).map(e=>r.pattern.isDynamicPattern(e,this._settings)?{dynamic:!0,pattern:e,patternRe:r.pattern.makeRe(e,this._micromatchOptions)}:{dynamic:!1,pattern:e})}_splitSegmentsIntoSections(e){return r.array.splitWhen(e,e=>e.dynamic&&r.pattern.hasGlobStar(e.pattern))}}},5349:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(90);class i extends r.default{match(e){const t=e.split("/"),n=t.length,r=this._storage.filter(e=>!e.complete||e.segments.length>n);for(const e of r){const r=e.sections[0];if(!e.complete&&n>r.length)return!0;if(t.every((t,n)=>{const r=e.segments[n];return!(!r.dynamic||!r.patternRe.test(t))||!r.dynamic&&r.pattern===t}))return!0}return!1}}t.default=i},5306:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(5622),i=n(5357),s=n(4955),o=n(299),a=n(9769);t.default=class{constructor(e){this._settings=e,this.errorFilter=new o.default(this._settings),this.entryFilter=new s.default(this._settings,this._getMicromatchOptions()),this.deepFilter=new i.default(this._settings,this._getMicromatchOptions()),this.entryTransformer=new a.default(this._settings)}_getRootDirectory(e){return r.resolve(this._settings.cwd,e.base)}_getReaderOptions(e){const t="."===e.base?"":e.base;return{basePath:t,pathSegmentSeparator:"/",concurrency:this._settings.concurrency,deepFilter:this.deepFilter.getFilter(t,e.positive,e.negative),entryFilter:this.entryFilter.getFilter(e.positive,e.negative),errorFilter:this.errorFilter.getFilter(),followSymbolicLinks:this._settings.followSymbolicLinks,fs:this._settings.fs,stats:this._settings.stats,throwErrorOnBrokenSymbolicLink:this._settings.throwErrorOnBrokenSymbolicLink,transform:this.entryTransformer.getTransformer()}}_getMicromatchOptions(){return{dot:this._settings.dot,matchBase:this._settings.baseNameMatch,nobrace:!this._settings.braceExpansion,nocase:!this._settings.caseSensitiveMatch,noext:!this._settings.extglob,noglobstar:!this._settings.globstar,posix:!0,strictSlashes:!1}}}},342:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2413),i=n(722),s=n(5306);class o extends s.default{constructor(){super(...arguments),this._reader=new i.default(this._settings)}read(e){const t=this._getRootDirectory(e),n=this._getReaderOptions(e),i=this.api(t,e,n),s=new r.Readable({objectMode:!0,read:()=>{}});return i.once("error",e=>s.emit("error",e)).on("data",e=>s.emit("data",n.transform(e))).once("end",()=>s.emit("end")),s.once("close",()=>i.destroy()),s}api(e,t,n){return t.dynamic?this._reader.dynamic(e,n):this._reader.static(t.patterns,n)}}t.default=o},98:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(5623),i=n(5306);class s extends i.default{constructor(){super(...arguments),this._reader=new r.default(this._settings)}read(e){const t=this._getRootDirectory(e),n=this._getReaderOptions(e);return this.api(t,e,n).map(n.transform)}api(e,t,n){return t.dynamic?this._reader.dynamic(e,n):this._reader.static(t.patterns,n)}}t.default=s},9769:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(7956);t.default=class{constructor(e){this._settings=e}getTransformer(){return e=>this._transform(e)}_transform(e){let t=e.path;return this._settings.absolute&&(t=r.path.makeAbsolute(this._settings.cwd,t),t=r.path.unixify(t)),this._settings.markDirectories&&e.dirent.isDirectory()&&(t+="/"),this._settings.objectMode?Object.assign(Object.assign({},e),{path:t}):t}}},1762:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(5622),i=n(2580),s=n(7956);t.default=class{constructor(e){this._settings=e,this._fsStatSettings=new i.Settings({followSymbolicLink:this._settings.followSymbolicLinks,fs:this._settings.fs,throwErrorOnBrokenSymbolicLink:this._settings.followSymbolicLinks})}_getFullEntryPath(e){return r.resolve(this._settings.cwd,e)}_makeEntry(e,t){const n={name:t,path:t,dirent:s.fs.createDirentFromStats(t,e)};return this._settings.stats&&(n.stats=e),n}_isFatalError(e){return!s.errno.isEnoentCodeError(e)&&!this._settings.suppressErrors}}},722:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2413),i=n(2580),s=n(803),o=n(1762);class a extends o.default{constructor(){super(...arguments),this._walkStream=s.walkStream,this._stat=i.stat}dynamic(e,t){return this._walkStream(e,t)}static(e,t){const n=e.map(this._getFullEntryPath,this),i=new r.PassThrough({objectMode:!0});i._write=(r,s,o)=>this._getEntry(n[r],e[r],t).then(e=>{null!==e&&t.entryFilter(e)&&i.push(e),r===n.length-1&&i.end(),o()}).catch(o);for(let e=0;ethis._makeEntry(e,t)).catch(e=>{if(n.errorFilter(e))return null;throw e})}_getStat(e){return new Promise((t,n)=>{this._stat(e,this._fsStatSettings,(e,r)=>null===e?t(r):n(e))})}}t.default=a},5623:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2580),i=n(803),s=n(1762);class o extends s.default{constructor(){super(...arguments),this._walkSync=i.walkSync,this._statSync=r.statSync}dynamic(e,t){return this._walkSync(e,t)}static(e,t){const n=[];for(const r of e){const e=this._getFullEntryPath(r),i=this._getEntry(e,r,t);null!==i&&t.entryFilter(i)&&n.push(i)}return n}_getEntry(e,t,n){try{const n=this._getStat(e);return this._makeEntry(n,t)}catch(e){if(n.errorFilter(e))return null;throw e}}_getStat(e){return this._statSync(e,this._fsStatSettings)}}t.default=o},6490:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DEFAULT_FILE_SYSTEM_ADAPTER=void 0;const r=n(5747),i=n(2087).cpus().length;t.DEFAULT_FILE_SYSTEM_ADAPTER={lstat:r.lstat,lstatSync:r.lstatSync,stat:r.stat,statSync:r.statSync,readdir:r.readdir,readdirSync:r.readdirSync};t.default=class{constructor(e={}){this._options=e,this.absolute=this._getValue(this._options.absolute,!1),this.baseNameMatch=this._getValue(this._options.baseNameMatch,!1),this.braceExpansion=this._getValue(this._options.braceExpansion,!0),this.caseSensitiveMatch=this._getValue(this._options.caseSensitiveMatch,!0),this.concurrency=this._getValue(this._options.concurrency,i),this.cwd=this._getValue(this._options.cwd,process.cwd()),this.deep=this._getValue(this._options.deep,1/0),this.dot=this._getValue(this._options.dot,!1),this.extglob=this._getValue(this._options.extglob,!0),this.followSymbolicLinks=this._getValue(this._options.followSymbolicLinks,!0),this.fs=this._getFileSystemMethods(this._options.fs),this.globstar=this._getValue(this._options.globstar,!0),this.ignore=this._getValue(this._options.ignore,[]),this.markDirectories=this._getValue(this._options.markDirectories,!1),this.objectMode=this._getValue(this._options.objectMode,!1),this.onlyDirectories=this._getValue(this._options.onlyDirectories,!1),this.onlyFiles=this._getValue(this._options.onlyFiles,!0),this.stats=this._getValue(this._options.stats,!1),this.suppressErrors=this._getValue(this._options.suppressErrors,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!1),this.unique=this._getValue(this._options.unique,!0),this.onlyDirectories&&(this.onlyFiles=!1),this.stats&&(this.objectMode=!0)}_getValue(e,t){return void 0===e?t:e}_getFileSystemMethods(e={}){return Object.assign(Object.assign({},t.DEFAULT_FILE_SYSTEM_ADAPTER),e)}}},8689:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.splitWhen=t.flatten=void 0,t.flatten=function(e){return e.reduce((e,t)=>[].concat(e,t),[])},t.splitWhen=function(e,t){const n=[[]];let r=0;for(const i of e)t(i)?(r++,n[r]=[]):n[r].push(i);return n}},3940:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isEnoentCodeError=void 0,t.isEnoentCodeError=function(e){return"ENOENT"===e.code}},9562:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createDirentFromStats=void 0;class n{constructor(e,t){this.name=e,this.isBlockDevice=t.isBlockDevice.bind(t),this.isCharacterDevice=t.isCharacterDevice.bind(t),this.isDirectory=t.isDirectory.bind(t),this.isFIFO=t.isFIFO.bind(t),this.isFile=t.isFile.bind(t),this.isSocket=t.isSocket.bind(t),this.isSymbolicLink=t.isSymbolicLink.bind(t)}}t.createDirentFromStats=function(e,t){return new n(e,t)}},7956:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.string=t.stream=t.pattern=t.path=t.fs=t.errno=t.array=void 0;const r=n(8689);t.array=r;const i=n(3940);t.errno=i;const s=n(9562);t.fs=s;const o=n(9128);t.path=o;const a=n(8655);t.pattern=a;const c=n(5114);t.stream=c;const l=n(3050);t.string=l},9128:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.removeLeadingDotSegment=t.escape=t.makeAbsolute=t.unixify=void 0;const r=n(5622),i=/(\\?)([()*?[\]{|}]|^!|[!+@](?=\())/g;t.unixify=function(e){return e.replace(/\\/g,"/")},t.makeAbsolute=function(e,t){return r.resolve(e,t)},t.escape=function(e){return e.replace(i,"\\$2")},t.removeLeadingDotSegment=function(e){if("."===e.charAt(0)){const t=e.charAt(1);if("/"===t||"\\"===t)return e.slice(2)}return e}},8655:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.matchAny=t.convertPatternsToRe=t.makeRe=t.getPatternParts=t.expandBraceExpansion=t.expandPatternsWithBraceExpansion=t.isAffectDepthOfReadingPattern=t.endsWithSlashGlobStar=t.hasGlobStar=t.getBaseDirectory=t.getPositivePatterns=t.getNegativePatterns=t.isPositivePattern=t.isNegativePattern=t.convertToNegativePattern=t.convertToPositivePattern=t.isDynamicPattern=t.isStaticPattern=void 0;const r=n(5622),i=n(7507),s=n(9015),o=n(9138),a=/[*?]|^!/,c=/\[.*]/,l=/(?:^|[^!*+?@])\(.*\|.*\)/,u=/[!*+?@]\(.*\)/,h=/{.*(?:,|\.\.).*}/;function p(e,t={}){return!d(e,t)}function d(e,t={}){return""!==e&&(!(!1!==t.caseSensitiveMatch&&!e.includes("\\"))||(!!(a.test(e)||c.test(e)||l.test(e))||(!(!1===t.extglob||!u.test(e))||!(!1===t.braceExpansion||!h.test(e)))))}function f(e){return e.startsWith("!")&&"("!==e[1]}function m(e){return!f(e)}function g(e){return e.endsWith("/**")}function v(e){return s.braces(e,{expand:!0,nodupes:!0})}function y(e,t){return s.makeRe(e,t)}t.isStaticPattern=p,t.isDynamicPattern=d,t.convertToPositivePattern=function(e){return f(e)?e.slice(1):e},t.convertToNegativePattern=function(e){return"!"+e},t.isNegativePattern=f,t.isPositivePattern=m,t.getNegativePatterns=function(e){return e.filter(f)},t.getPositivePatterns=function(e){return e.filter(m)},t.getBaseDirectory=function(e){return i(e,{flipBackslashes:!1})},t.hasGlobStar=function(e){return e.includes("**")},t.endsWithSlashGlobStar=g,t.isAffectDepthOfReadingPattern=function(e){const t=r.basename(e);return g(e)||p(t)},t.expandPatternsWithBraceExpansion=function(e){return e.reduce((e,t)=>e.concat(v(t)),[])},t.expandBraceExpansion=v,t.getPatternParts=function(e,t){let{parts:n}=o.scan(e,Object.assign(Object.assign({},t),{parts:!0}));return 0===n.length&&(n=[e]),n[0].startsWith("/")&&(n[0]=n[0].slice(1),n.unshift("")),n},t.makeRe=y,t.convertPatternsToRe=function(e,t){return e.map(e=>y(e,t))},t.matchAny=function(e,t){return t.some(t=>t.test(e))}},5114:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.merge=void 0;const r=n(2375);function i(e){e.forEach(e=>e.emit("close"))}t.merge=function(e){const t=r(e);return e.forEach(e=>{e.once("error",e=>t.emit("error",e))}),t.once("close",()=>i(e)),t.once("end",()=>i(e)),t}},3050:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isEmpty=t.isString=void 0,t.isString=function(e){return"string"==typeof e},t.isEmpty=function(e){return""===e}},2696:(e,t,n)=>{"use strict";var r=n(7226);function i(e,t,n){if("function"==typeof e&&(n=t,t=e,e=null),n<1)throw new Error("fastqueue concurrency must be greater than 1");var i=r(o),a=null,c=null,l=0,u=null,h={push:function(n,r){var o=i.get();o.context=e,o.release=p,o.value=n,o.callback=r||s,o.errorHandler=u,l===h.concurrency||h.paused?c?(c.next=o,c=o):(a=o,c=o,h.saturated()):(l++,t.call(e,o.value,o.worked))},drain:s,saturated:s,pause:function(){h.paused=!0},paused:!1,concurrency:n,running:function(){return l},resume:function(){if(!h.paused)return;h.paused=!1;for(var e=0;e{"use strict"; +(()=>{var __webpack_modules__={7606:e=>{"use strict";e.exports={i8:"0.4.0"}},93895:e=>{"use strict";e.exports={i8:"0.4.0"}},14756:e=>{"use strict";e.exports={i8:"0.3.0"}},17833:e=>{"use strict";e.exports={i8:"0.5.0"}},50318:e=>{"use strict";e.exports=JSON.parse('["3dm","3ds","3g2","3gp","7z","a","aac","adp","ai","aif","aiff","alz","ape","apk","appimage","ar","arj","asf","au","avi","bak","baml","bh","bin","bk","bmp","btif","bz2","bzip2","cab","caf","cgm","class","cmx","cpio","cr2","cur","dat","dcm","deb","dex","djvu","dll","dmg","dng","doc","docm","docx","dot","dotm","dra","DS_Store","dsk","dts","dtshd","dvb","dwg","dxf","ecelp4800","ecelp7470","ecelp9600","egg","eol","eot","epub","exe","f4v","fbs","fh","fla","flac","flatpak","fli","flv","fpx","fst","fvt","g3","gh","gif","graffle","gz","gzip","h261","h263","h264","icns","ico","ief","img","ipa","iso","jar","jpeg","jpg","jpgv","jpm","jxr","key","ktx","lha","lib","lvp","lz","lzh","lzma","lzo","m3u","m4a","m4v","mar","mdi","mht","mid","midi","mj2","mka","mkv","mmr","mng","mobi","mov","movie","mp3","mp4","mp4a","mpeg","mpg","mpga","mxu","nef","npx","numbers","nupkg","o","odp","ods","odt","oga","ogg","ogv","otf","ott","pages","pbm","pcx","pdb","pdf","pea","pgm","pic","png","pnm","pot","potm","potx","ppa","ppam","ppm","pps","ppsm","ppsx","ppt","pptm","pptx","psd","pya","pyc","pyo","pyv","qt","rar","ras","raw","resources","rgb","rip","rlc","rmf","rmvb","rpm","rtf","rz","s3m","s7z","scpt","sgi","shar","snap","sil","sketch","slk","smv","snk","so","stl","suo","sub","swf","tar","tbz","tbz2","tga","tgz","thmx","tif","tiff","tlz","ttc","ttf","txz","udf","uvh","uvi","uvm","uvp","uvs","uvu","viv","vob","war","wav","wax","wbmp","wdp","weba","webm","webp","whl","wim","wm","wma","wmv","wmx","woff","woff2","wrm","wvx","xbm","xif","xla","xlam","xls","xlsb","xlsm","xlsx","xlt","xltm","xltx","xm","xmind","xpi","xpm","xwd","xz","z","zip","zipx"]')},74986:e=>{"use strict";e.exports=JSON.parse('{"assert":true,"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.9.7","buffer":true,"node:buffer":[">= 14.18 && < 15",">= 16"],"child_process":true,"node:child_process":[">= 14.18 && < 15",">= 16"],"cluster":true,"node:cluster":[">= 14.18 && < 15",">= 16"],"console":true,"node:console":[">= 14.18 && < 15",">= 16"],"constants":true,"node:constants":[">= 14.18 && < 15",">= 16"],"crypto":true,"node:crypto":[">= 14.18 && < 15",">= 16"],"_debug_agent":">= 1 && < 8","_debugger":"< 8","dgram":true,"node:dgram":[">= 14.18 && < 15",">= 16"],"diagnostics_channel":[">= 14.17 && < 15",">= 15.1"],"node:diagnostics_channel":[">= 14.18 && < 15",">= 16"],"dns":true,"node:dns":[">= 14.18 && < 15",">= 16"],"dns/promises":">= 15","node:dns/promises":">= 16","domain":">= 0.7.12","node:domain":[">= 14.18 && < 15",">= 16"],"events":true,"node:events":[">= 14.18 && < 15",">= 16"],"freelist":"< 6","fs":true,"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":true,"node:http":[">= 14.18 && < 15",">= 16"],"http2":">= 8.8","node:http2":[">= 14.18 && < 15",">= 16"],"https":true,"node:https":[">= 14.18 && < 15",">= 16"],"inspector":">= 8","node:inspector":[">= 14.18 && < 15",">= 16"],"_linklist":"< 8","module":true,"node:module":[">= 14.18 && < 15",">= 16"],"net":true,"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":true,"node:os":[">= 14.18 && < 15",">= 16"],"path":true,"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":true,"node:punycode":[">= 14.18 && < 15",">= 16"],"querystring":true,"node:querystring":[">= 14.18 && < 15",">= 16"],"readline":true,"node:readline":[">= 14.18 && < 15",">= 16"],"readline/promises":">= 17","node:readline/promises":">= 17","repl":true,"node:repl":[">= 14.18 && < 15",">= 16"],"smalloc":">= 0.11.5 && < 3","_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":true,"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":true,"node:string_decoder":[">= 14.18 && < 15",">= 16"],"sys":[">= 0.6 && < 0.7",">= 0.8"],"node:sys":[">= 14.18 && < 15",">= 16"],"timers":true,"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":true,"node:tls":[">= 14.18 && < 15",">= 16"],"trace_events":">= 10","node:trace_events":[">= 14.18 && < 15",">= 16"],"tty":true,"node:tty":[">= 14.18 && < 15",">= 16"],"url":true,"node:url":[">= 14.18 && < 15",">= 16"],"util":true,"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":true,"node:vm":[">= 14.18 && < 15",">= 16"],"wasi":">= 13.4 && < 13.5","worker_threads":">= 11.7","node:worker_threads":[">= 14.18 && < 15",">= 16"],"zlib":true,"node:zlib":[">= 14.18 && < 15",">= 16"]}')},54501:e=>{"use strict";e.exports={i8:"8.3.9"}},52538:e=>{"use strict";e.exports=JSON.parse('{"assert":true,"assert/strict":">= 15","async_hooks":">= 8","buffer_ieee754":"< 0.9.7","buffer":true,"child_process":true,"cluster":true,"console":true,"constants":true,"crypto":true,"_debug_agent":">= 1 && < 8","_debugger":"< 8","dgram":true,"diagnostics_channel":">= 15.1","dns":true,"dns/promises":">= 15","domain":">= 0.7.12","events":true,"freelist":"< 6","fs":true,"fs/promises":[">= 10 && < 10.1",">= 14"],"_http_agent":">= 0.11.1","_http_client":">= 0.11.1","_http_common":">= 0.11.1","_http_incoming":">= 0.11.1","_http_outgoing":">= 0.11.1","_http_server":">= 0.11.1","http":true,"http2":">= 8.8","https":true,"inspector":">= 8.0.0","_linklist":"< 8","module":true,"net":true,"node-inspect/lib/_inspect":">= 7.6.0 && < 12","node-inspect/lib/internal/inspect_client":">= 7.6.0 && < 12","node-inspect/lib/internal/inspect_repl":">= 7.6.0 && < 12","os":true,"path":true,"path/posix":">= 15.3","path/win32":">= 15.3","perf_hooks":">= 8.5","process":">= 1","punycode":true,"querystring":true,"readline":true,"repl":true,"smalloc":">= 0.11.5 && < 3","_stream_duplex":">= 0.9.4","_stream_transform":">= 0.9.4","_stream_wrap":">= 1.4.1","_stream_passthrough":">= 0.9.4","_stream_readable":">= 0.9.4","_stream_writable":">= 0.9.4","stream":true,"stream/promises":">= 15","string_decoder":true,"sys":[">= 0.6 && < 0.7",">= 0.8"],"timers":true,"timers/promises":">= 15","_tls_common":">= 0.11.13","_tls_legacy":">= 0.11.3 && < 10","_tls_wrap":">= 0.11.3","tls":true,"trace_events":">= 10","tty":true,"url":true,"util":true,"util/types":">= 15.3","v8/tools/arguments":">= 10 && < 12","v8/tools/codemap":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/consarray":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/csvparser":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/logreader":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/profile_view":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/splaytree":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8":">= 1","vm":true,"wasi":">= 13.4 && < 13.5","worker_threads":">= 11.7","zlib":true}')},43581:e=>{"use strict";e.exports=JSON.parse('{"name":"tailwindcss","version":"3.0.11","description":"A utility-first CSS framework for rapidly building custom user interfaces.","license":"MIT","main":"lib/index.js","style":"dist/tailwind.css","repository":"https://github.com/tailwindlabs/tailwindcss.git","bugs":"https://github.com/tailwindlabs/tailwindcss/issues","homepage":"https://tailwindcss.com","bin":{"tailwind":"lib/cli.js","tailwindcss":"lib/cli.js"},"contributors":["Adam Wathan ","Jonathan Reinink ","David Hemphill "],"scripts":{"preswcify":"npm run generate:plugin-list && rimraf lib","swcify":"swc src --out-dir lib --copy-files","postswcify":"esbuild lib/cli-peer-dependencies.js --bundle --platform=node --outfile=peers/index.js","rebuild-fixtures":"npm run swcify && node -r @swc/register scripts/rebuildFixtures.js","prepublishOnly":"npm install --force && npm run swcify","style":"eslint .","pretest":"npm run generate:plugin-list","test":"jest","test:integrations":"npm run test --prefix ./integrations","install:integrations":"node scripts/install-integrations.js","posttest":"npm run style","generate:plugin-list":"node -r @swc/register scripts/create-plugin-list.js"},"files":["src/*","cli/*","lib/*","peers/*","scripts/*.js","stubs/*.stub.js","nesting/*","*.css","*.js"],"devDependencies":{"@swc/cli":"^0.1.55","@swc/core":"^1.2.118","@swc/jest":"^0.2.15","@swc/register":"^0.1.7","autoprefixer":"^10.4.0","cross-env":"^7.0.3","cssnano":"^5.0.14","esbuild":"^0.14.2","eslint":"^8.4.1","eslint-config-prettier":"^8.3.0","eslint-plugin-prettier":"^4.0.0","jest":"^27.4.5","jest-diff":"^27.4.2","postcss":"^8.4.5","postcss-cli":"^8.3.1","prettier":"^2.5.1","rimraf":"^3.0.0"},"peerDependencies":{"autoprefixer":"^10.0.2","postcss":"^8.0.9"},"dependencies":{"arg":"^5.0.1","chalk":"^4.1.2","chokidar":"^3.5.2","color-name":"^1.1.4","cosmiconfig":"^7.0.1","detective":"^5.2.0","didyoumean":"^1.2.2","dlv":"^1.1.3","fast-glob":"^3.2.7","glob-parent":"^6.0.2","is-glob":"^4.0.3","normalize-path":"^3.0.0","object-hash":"^2.2.0","postcss-js":"^4.0.0","postcss-load-config":"^3.1.0","postcss-nested":"5.0.6","postcss-selector-parser":"^6.0.7","postcss-value-parser":"^4.2.0","quick-lru":"^5.1.1","resolve":"^1.20.0"},"browserslist":["> 1%","not edge <= 18","not ie 11","not op_mini all"],"jest":{"testTimeout":30000,"setupFilesAfterEnv":["/jest/customMatchers.js"],"testPathIgnorePatterns":["/node_modules/","/integrations/","/standalone-cli/"],"transform":{"\\\\.js$":"@swc/jest"}},"engines":{"node":">=12.13.0"}}')},80530:(e,t,r)=>{e.exports=require(r.ab+"prebuilds/darwin-arm64/node.napi.glibc.node")},47881:(e,t,r)=>{e.exports=require(r.ab+"prebuilds/darwin-x64/node.napi.glibc.node")},91341:(e,t,r)=>{e.exports=require(r.ab+"prebuilds/linux-x64/node.napi.glibc.node")},62822:(e,t,r)=>{e.exports=require(r.ab+"prebuilds/linux-x64/node.napi.musl.node")},40689:(e,t,r)=>{e.exports=require(r.ab+"prebuilds/win32-x64/node.napi.glibc.node")},16069:(e,t,r)=>{e.exports=require(r.ab+"fsevents.node")},33435:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createFileSystemAdapter=t.FILE_SYSTEM_ADAPTER=void 0;const n=r(35747);t.FILE_SYSTEM_ADAPTER={lstat:n.lstat,stat:n.stat,lstatSync:n.lstatSync,statSync:n.statSync,readdir:n.readdir,readdirSync:n.readdirSync},t.createFileSystemAdapter=function(e){return void 0===e?t.FILE_SYSTEM_ADAPTER:Object.assign(Object.assign({},t.FILE_SYSTEM_ADAPTER),e)}},81212:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IS_SUPPORT_READDIR_WITH_FILE_TYPES=void 0;const r=process.versions.node.split(".");if(void 0===r[0]||void 0===r[1])throw new Error("Unexpected behavior. The 'process.versions.node' variable has invalid value: "+process.versions.node);const n=Number.parseInt(r[0],10),i=Number.parseInt(r[1],10),o=n>10,s=10===n&&i>=10;t.IS_SUPPORT_READDIR_WITH_FILE_TYPES=o||s},36081:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Settings=t.scandirSync=t.scandir=void 0;const n=r(64927),i=r(77362),o=r(21582);function s(e={}){return e instanceof o.default?e:new o.default(e)}t.Settings=o.default,t.scandir=function(e,t,r){"function"!=typeof t?n.read(e,s(t),r):n.read(e,s(),t)},t.scandirSync=function(e,t){const r=s(t);return i.read(e,r)}},64927:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.readdir=t.readdirWithFileTypes=t.read=void 0;const n=r(4516),i=r(18948),o=r(81212),s=r(765),a=r(40788);function l(e,t,r){t.fs.readdir(e,{withFileTypes:!0},(n,o)=>{if(null!==n)return void u(r,n);const l=o.map(r=>({dirent:r,name:r.name,path:a.joinPathSegments(e,r.name,t.pathSegmentSeparator)}));if(!t.followSymbolicLinks)return void p(r,l);const c=l.map(e=>function(e,t){return r=>{e.dirent.isSymbolicLink()?t.fs.stat(e.path,(n,i)=>{if(null!==n)return t.throwErrorOnBrokenSymbolicLink?void r(n):void r(null,e);e.dirent=s.fs.createDirentFromStats(e.name,i),r(null,e)}):r(null,e)}}(e,t));i(c,(e,t)=>{null===e?p(r,t):u(r,e)})})}function c(e,t,r){t.fs.readdir(e,(o,l)=>{if(null!==o)return void u(r,o);const c=l.map(r=>{const i=a.joinPathSegments(e,r,t.pathSegmentSeparator);return e=>{n.stat(i,t.fsStatSettings,(n,o)=>{if(null!==n)return void e(n);const a={name:r,path:i,dirent:s.fs.createDirentFromStats(r,o)};t.stats&&(a.stats=o),e(null,a)})}});i(c,(e,t)=>{null===e?p(r,t):u(r,e)})})}function u(e,t){e(t)}function p(e,t){e(null,t)}t.read=function(e,t,r){t.stats||!o.IS_SUPPORT_READDIR_WITH_FILE_TYPES?c(e,t,r):l(e,t,r)},t.readdirWithFileTypes=l,t.readdir=c},40788:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.joinPathSegments=void 0,t.joinPathSegments=function(e,t,r){return e.endsWith(r)?e+t:e+r+t}},77362:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.readdir=t.readdirWithFileTypes=t.read=void 0;const n=r(4516),i=r(81212),o=r(765),s=r(40788);function a(e,t){return t.fs.readdirSync(e,{withFileTypes:!0}).map(r=>{const n={dirent:r,name:r.name,path:s.joinPathSegments(e,r.name,t.pathSegmentSeparator)};if(n.dirent.isSymbolicLink()&&t.followSymbolicLinks)try{const e=t.fs.statSync(n.path);n.dirent=o.fs.createDirentFromStats(n.name,e)}catch(e){if(t.throwErrorOnBrokenSymbolicLink)throw e}return n})}function l(e,t){return t.fs.readdirSync(e).map(r=>{const i=s.joinPathSegments(e,r,t.pathSegmentSeparator),a=n.statSync(i,t.fsStatSettings),l={name:r,path:i,dirent:o.fs.createDirentFromStats(r,a)};return t.stats&&(l.stats=a),l})}t.read=function(e,t){return!t.stats&&i.IS_SUPPORT_READDIR_WITH_FILE_TYPES?a(e,t):l(e,t)},t.readdirWithFileTypes=a,t.readdir=l},21582:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(85622),i=r(4516),o=r(33435);t.default=class{constructor(e={}){this._options=e,this.followSymbolicLinks=this._getValue(this._options.followSymbolicLinks,!1),this.fs=o.createFileSystemAdapter(this._options.fs),this.pathSegmentSeparator=this._getValue(this._options.pathSegmentSeparator,n.sep),this.stats=this._getValue(this._options.stats,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!0),this.fsStatSettings=new i.Settings({followSymbolicLink:this.followSymbolicLinks,fs:this.fs,throwErrorOnBrokenSymbolicLink:this.throwErrorOnBrokenSymbolicLink})}_getValue(e,t){return null!=e?e:t}}},16078:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createDirentFromStats=void 0;class r{constructor(e,t){this.name=e,this.isBlockDevice=t.isBlockDevice.bind(t),this.isCharacterDevice=t.isCharacterDevice.bind(t),this.isDirectory=t.isDirectory.bind(t),this.isFIFO=t.isFIFO.bind(t),this.isFile=t.isFile.bind(t),this.isSocket=t.isSocket.bind(t),this.isSymbolicLink=t.isSymbolicLink.bind(t)}}t.createDirentFromStats=function(e,t){return new r(e,t)}},765:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fs=void 0;const n=r(16078);t.fs=n},97165:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createFileSystemAdapter=t.FILE_SYSTEM_ADAPTER=void 0;const n=r(35747);t.FILE_SYSTEM_ADAPTER={lstat:n.lstat,stat:n.stat,lstatSync:n.lstatSync,statSync:n.statSync},t.createFileSystemAdapter=function(e){return void 0===e?t.FILE_SYSTEM_ADAPTER:Object.assign(Object.assign({},t.FILE_SYSTEM_ADAPTER),e)}},4516:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.statSync=t.stat=t.Settings=void 0;const n=r(4063),i=r(64572),o=r(20147);function s(e={}){return e instanceof o.default?e:new o.default(e)}t.Settings=o.default,t.stat=function(e,t,r){"function"!=typeof t?n.read(e,s(t),r):n.read(e,s(),t)},t.statSync=function(e,t){const r=s(t);return i.read(e,r)}},4063:(e,t)=>{"use strict";function r(e,t){e(t)}function n(e,t){e(null,t)}Object.defineProperty(t,"__esModule",{value:!0}),t.read=void 0,t.read=function(e,t,i){t.fs.lstat(e,(o,s)=>{null===o?s.isSymbolicLink()&&t.followSymbolicLink?t.fs.stat(e,(e,o)=>{if(null!==e)return t.throwErrorOnBrokenSymbolicLink?void r(i,e):void n(i,s);t.markSymbolicLink&&(o.isSymbolicLink=()=>!0),n(i,o)}):n(i,s):r(i,o)})}},64572:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.read=void 0,t.read=function(e,t){const r=t.fs.lstatSync(e);if(!r.isSymbolicLink()||!t.followSymbolicLink)return r;try{const r=t.fs.statSync(e);return t.markSymbolicLink&&(r.isSymbolicLink=()=>!0),r}catch(e){if(!t.throwErrorOnBrokenSymbolicLink)return r;throw e}}},20147:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(97165);t.default=class{constructor(e={}){this._options=e,this.followSymbolicLink=this._getValue(this._options.followSymbolicLink,!0),this.fs=n.createFileSystemAdapter(this._options.fs),this.markSymbolicLink=this._getValue(this._options.markSymbolicLink,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!0)}_getValue(e,t){return null!=e?e:t}}},5923:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Settings=t.walkStream=t.walkSync=t.walk=void 0;const n=r(66947),i=r(94308),o=r(86404),s=r(1050);function a(e={}){return e instanceof s.default?e:new s.default(e)}t.Settings=s.default,t.walk=function(e,t,r){"function"!=typeof t?new n.default(e,a(t)).read(r):new n.default(e,a()).read(t)},t.walkSync=function(e,t){const r=a(t);return new o.default(e,r).read()},t.walkStream=function(e,t){const r=a(t);return new i.default(e,r).read()}},66947:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(27523);t.default=class{constructor(e,t){this._root=e,this._settings=t,this._reader=new n.default(this._root,this._settings),this._storage=[]}read(e){this._reader.onError(t=>{!function(e,t){e(t)}(e,t)}),this._reader.onEntry(e=>{this._storage.push(e)}),this._reader.onEnd(()=>{!function(e,t){e(null,t)}(e,this._storage)}),this._reader.read()}}},94308:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(92413),i=r(27523);t.default=class{constructor(e,t){this._root=e,this._settings=t,this._reader=new i.default(this._root,this._settings),this._stream=new n.Readable({objectMode:!0,read:()=>{},destroy:()=>{this._reader.isDestroyed||this._reader.destroy()}})}read(){return this._reader.onError(e=>{this._stream.emit("error",e)}),this._reader.onEntry(e=>{this._stream.push(e)}),this._reader.onEnd(()=>{this._stream.push(null)}),this._reader.read(),this._stream}}},86404:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(69719);t.default=class{constructor(e,t){this._root=e,this._settings=t,this._reader=new n.default(this._root,this._settings)}read(){return this._reader.read()}}},27523:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(28614),i=r(36081),o=r(92427),s=r(98939),a=r(84260);class l extends a.default{constructor(e,t){super(e,t),this._settings=t,this._scandir=i.scandir,this._emitter=new n.EventEmitter,this._queue=o(this._worker.bind(this),this._settings.concurrency),this._isFatalError=!1,this._isDestroyed=!1,this._queue.drain=()=>{this._isFatalError||this._emitter.emit("end")}}read(){return this._isFatalError=!1,this._isDestroyed=!1,setImmediate(()=>{this._pushToQueue(this._root,this._settings.basePath)}),this._emitter}get isDestroyed(){return this._isDestroyed}destroy(){if(this._isDestroyed)throw new Error("The reader is already destroyed");this._isDestroyed=!0,this._queue.killAndDrain()}onEntry(e){this._emitter.on("entry",e)}onError(e){this._emitter.once("error",e)}onEnd(e){this._emitter.once("end",e)}_pushToQueue(e,t){const r={directory:e,base:t};this._queue.push(r,e=>{null!==e&&this._handleError(e)})}_worker(e,t){this._scandir(e.directory,this._settings.fsScandirSettings,(r,n)=>{if(null===r){for(const t of n)this._handleEntry(t,e.base);t(null,void 0)}else t(r,void 0)})}_handleError(e){!this._isDestroyed&&s.isFatalError(this._settings,e)&&(this._isFatalError=!0,this._isDestroyed=!0,this._emitter.emit("error",e))}_handleEntry(e,t){if(this._isDestroyed||this._isFatalError)return;const r=e.path;void 0!==t&&(e.path=s.joinPathSegments(t,e.name,this._settings.pathSegmentSeparator)),s.isAppliedFilter(this._settings.entryFilter,e)&&this._emitEntry(e),e.dirent.isDirectory()&&s.isAppliedFilter(this._settings.deepFilter,e)&&this._pushToQueue(r,void 0===t?void 0:e.path)}_emitEntry(e){this._emitter.emit("entry",e)}}t.default=l},98939:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.joinPathSegments=t.replacePathSegmentSeparator=t.isAppliedFilter=t.isFatalError=void 0,t.isFatalError=function(e,t){return null===e.errorFilter||!e.errorFilter(t)},t.isAppliedFilter=function(e,t){return null===e||e(t)},t.replacePathSegmentSeparator=function(e,t){return e.split(/[/\\]/).join(t)},t.joinPathSegments=function(e,t,r){return""===e?t:e.endsWith(r)?e+t:e+r+t}},84260:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(98939);t.default=class{constructor(e,t){this._root=e,this._settings=t,this._root=n.replacePathSegmentSeparator(e,t.pathSegmentSeparator)}}},69719:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(36081),i=r(98939),o=r(84260);class s extends o.default{constructor(){super(...arguments),this._scandir=n.scandirSync,this._storage=[],this._queue=new Set}read(){return this._pushToQueue(this._root,this._settings.basePath),this._handleQueue(),this._storage}_pushToQueue(e,t){this._queue.add({directory:e,base:t})}_handleQueue(){for(const e of this._queue.values())this._handleDirectory(e.directory,e.base)}_handleDirectory(e,t){try{const r=this._scandir(e,this._settings.fsScandirSettings);for(const e of r)this._handleEntry(e,t)}catch(e){this._handleError(e)}}_handleError(e){if(i.isFatalError(this._settings,e))throw e}_handleEntry(e,t){const r=e.path;void 0!==t&&(e.path=i.joinPathSegments(t,e.name,this._settings.pathSegmentSeparator)),i.isAppliedFilter(this._settings.entryFilter,e)&&this._pushToStorage(e),e.dirent.isDirectory()&&i.isAppliedFilter(this._settings.deepFilter,e)&&this._pushToQueue(r,void 0===t?void 0:e.path)}_pushToStorage(e){this._storage.push(e)}}t.default=s},1050:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(85622),i=r(36081);t.default=class{constructor(e={}){this._options=e,this.basePath=this._getValue(this._options.basePath,void 0),this.concurrency=this._getValue(this._options.concurrency,Number.POSITIVE_INFINITY),this.deepFilter=this._getValue(this._options.deepFilter,null),this.entryFilter=this._getValue(this._options.entryFilter,null),this.errorFilter=this._getValue(this._options.errorFilter,null),this.pathSegmentSeparator=this._getValue(this._options.pathSegmentSeparator,n.sep),this.fsScandirSettings=new i.Settings({followSymbolicLinks:this._options.followSymbolicLinks,fs:this._options.fs,pathSegmentSeparator:this._options.pathSegmentSeparator,stats:this._options.stats,throwErrorOnBrokenSymbolicLink:this._options.throwErrorOnBrokenSymbolicLink})}_getValue(e,t){return null!=e?e:t}}},63672:(e,t,r)=>{const n=r(31108),i={position:"relative",paddingBottom:"calc(var(--tw-aspect-h) / var(--tw-aspect-w) * 100%)"},o={position:"absolute",height:"100%",width:"100%",top:"0",right:"0",bottom:"0",left:"0"},s={".aspect-none":{position:"static",paddingBottom:"0"},".aspect-none > *":{position:"static",height:"auto",width:"auto",top:"auto",right:"auto",bottom:"auto",left:"auto"}},a=n((function({addComponents:e,matchComponents:t,theme:r,variants:n,e:a}){const l=r("aspectRatio");if(t)return t({"aspect-w":e=>[{...i,"--tw-aspect-w":e},{"> *":o}],"aspect-h":e=>({"--tw-aspect-h":e})},{values:l}),void e(s);const c=Object.entries(l).map(([e,t])=>"."+a("aspect-w-"+e)).join(",\n"),u=Object.entries(l).map(([e,t])=>`.${a("aspect-w-"+e)} > *`).join(",\n");e([{[c]:i,[u]:o},s,Object.entries(l).map(([e,t])=>({["."+a("aspect-w-"+e)]:{"--tw-aspect-w":t}})),Object.entries(l).map(([e,t])=>({["."+a("aspect-h-"+e)]:{"--tw-aspect-h":t}}))],n("aspectRatio"))}),{theme:{aspectRatio:{1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13",14:"14",15:"15",16:"16"}},variants:{aspectRatio:["responsive"]}});e.exports=a},68258:(e,t,r)=>{const n=r(5280),i=r(31108),o=r(28230),s=r(32600),[a,{lineHeight:l}]=o.fontSize.base,{spacing:c,borderWidth:u,borderRadius:p}=o,h=i.withOptions((function(e={strategy:"base"}){return function({addBase:t,theme:r}){const i=e.strategy;t([{base:["[type='text']","[type='email']","[type='url']","[type='password']","[type='number']","[type='date']","[type='datetime-local']","[type='month']","[type='search']","[type='tel']","[type='time']","[type='week']","[multiple]","textarea","select"],class:[".form-input",".form-textarea",".form-select",".form-multiselect"],styles:{appearance:"none","background-color":"#fff","border-color":r("colors.gray.500",s.gray[500]),"border-width":u.DEFAULT,"border-radius":p.none,"padding-top":c[2],"padding-right":c[3],"padding-bottom":c[2],"padding-left":c[3],"font-size":a,"line-height":l,"--tw-shadow":"0 0 #0000","&:focus":{outline:"2px solid transparent","outline-offset":"2px","--tw-ring-inset":"var(--tw-empty,/*!*/ /*!*/)","--tw-ring-offset-width":"0px","--tw-ring-offset-color":"#fff","--tw-ring-color":r("colors.blue.600",s.blue[600]),"--tw-ring-offset-shadow":"var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)","--tw-ring-shadow":"var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color)","box-shadow":"var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)","border-color":r("colors.blue.600",s.blue[600])}}},{base:["input::placeholder","textarea::placeholder"],class:[".form-input::placeholder",".form-textarea::placeholder"],styles:{color:r("colors.gray.500",s.gray[500]),opacity:"1"}},{base:["::-webkit-datetime-edit-fields-wrapper"],class:[".form-input::-webkit-datetime-edit-fields-wrapper"],styles:{padding:"0"}},{base:["::-webkit-date-and-time-value"],class:[".form-input::-webkit-date-and-time-value"],styles:{"min-height":"1.5em"}},{base:["select"],class:[".form-select"],styles:{"background-image":`url("${n(``)}")`,"background-position":`right ${c[2]} center`,"background-repeat":"no-repeat","background-size":"1.5em 1.5em","padding-right":c[10],"color-adjust":"exact"}},{base:["[multiple]"],class:null,styles:{"background-image":"initial","background-position":"initial","background-repeat":"unset","background-size":"initial","padding-right":c[3],"color-adjust":"unset"}},{base:["[type='checkbox']","[type='radio']"],class:[".form-checkbox",".form-radio"],styles:{appearance:"none",padding:"0","color-adjust":"exact",display:"inline-block","vertical-align":"middle","background-origin":"border-box","user-select":"none","flex-shrink":"0",height:c[4],width:c[4],color:r("colors.blue.600",s.blue[600]),"background-color":"#fff","border-color":r("colors.gray.500",s.gray[500]),"border-width":u.DEFAULT,"--tw-shadow":"0 0 #0000"}},{base:["[type='checkbox']"],class:[".form-checkbox"],styles:{"border-radius":p.none}},{base:["[type='radio']"],class:[".form-radio"],styles:{"border-radius":"100%"}},{base:["[type='checkbox']:focus","[type='radio']:focus"],class:[".form-checkbox:focus",".form-radio:focus"],styles:{outline:"2px solid transparent","outline-offset":"2px","--tw-ring-inset":"var(--tw-empty,/*!*/ /*!*/)","--tw-ring-offset-width":"2px","--tw-ring-offset-color":"#fff","--tw-ring-color":r("colors.blue.600",s.blue[600]),"--tw-ring-offset-shadow":"var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)","--tw-ring-shadow":"var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color)","box-shadow":"var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)"}},{base:["[type='checkbox']:checked","[type='radio']:checked"],class:[".form-checkbox:checked",".form-radio:checked"],styles:{"border-color":"transparent","background-color":"currentColor","background-size":"100% 100%","background-position":"center","background-repeat":"no-repeat"}},{base:["[type='checkbox']:checked"],class:[".form-checkbox:checked"],styles:{"background-image":`url("${n('')}")`}},{base:["[type='radio']:checked"],class:[".form-radio:checked"],styles:{"background-image":`url("${n('')}")`}},{base:["[type='checkbox']:checked:hover","[type='checkbox']:checked:focus","[type='radio']:checked:hover","[type='radio']:checked:focus"],class:[".form-checkbox:checked:hover",".form-checkbox:checked:focus",".form-radio:checked:hover",".form-radio:checked:focus"],styles:{"border-color":"transparent","background-color":"currentColor"}},{base:["[type='checkbox']:indeterminate"],class:[".form-checkbox:indeterminate"],styles:{"background-image":`url("${n('')}")`,"border-color":"transparent","background-color":"currentColor","background-size":"100% 100%","background-position":"center","background-repeat":"no-repeat"}},{base:["[type='checkbox']:indeterminate:hover","[type='checkbox']:indeterminate:focus"],class:[".form-checkbox:indeterminate:hover",".form-checkbox:indeterminate:focus"],styles:{"border-color":"transparent","background-color":"currentColor"}},{base:["[type='file']"],class:null,styles:{background:"unset","border-color":"inherit","border-width":"0","border-radius":"0",padding:"0","font-size":"unset","line-height":"inherit"}},{base:["[type='file']:focus"],class:null,styles:{outline:"1px solid ButtonText",outline:"1px auto -webkit-focus-ring-color"}}].map(e=>null===e[i]?null:{[e[i]]:e.styles}).filter(Boolean))}}));e.exports=h},91104:(e,t,r)=>{const n=r(31108)((function({addUtilities:e,theme:t,variants:r,e:n}){const i=t("lineClamp");e([Object.entries(i).map(([e,t])=>({["."+n("line-clamp-"+e)]:{overflow:"hidden",display:"-webkit-box","-webkit-box-orient":"vertical","-webkit-line-clamp":""+t}})),{".line-clamp-none":{"-webkit-line-clamp":"unset"}}],r("lineClamp"))}),{theme:{lineClamp:{1:"1",2:"2",3:"3",4:"4",5:"5",6:"6"}},variants:{lineClamp:["responsive"]}});e.exports=n},67913:(e,t,r)=>{const n=r(31108),i=r(65817),o=r(89401),s=r(46598),a={};function l(e,{className:t,prefix:r}){let n=r(".not-"+t).slice(1);return e.endsWith("::before")?e.startsWith(">")?`> :where(${e.slice(2,-8)}):not(:where([class~="${n}"] *))::before`:`:where(${e.slice(0,-8)}):not(:where([class~="${n}"] *))::before`:e.endsWith("::after")?e.startsWith(">")?`> :where(${e.slice(2,-7)}):not(:where([class~="${n}"] *))::after`:`:where(${e.slice(0,-7)}):not(:where([class~="${n}"] *))::after`:e.endsWith("::marker")?e.startsWith(">")?`> :where(${e.slice(2,-8)}):not(:where([class~="${n}"] *))::marker`:`:where(${e.slice(0,-8)}):not(:where([class~="${n}"] *))::marker`:e.startsWith(">")?`> :where(${e.slice(2)}):not(:where([class~="${n}"] *))`:`:where(${e}):not(:where([class~="${n}"] *))`}function c(e){return"object"==typeof e&&null!==e}function u(e={},{target:t,className:r,prefix:n}){return Object.fromEntries(Object.entries(i({},...Object.keys(e).filter(e=>a[e]).map(t=>a[t](e[t])),...o(e.css||{}))).map(([e,i])=>function e(i,o){if("legacy"===t)return[i,o];if(c(o)){return Object.values(o).some(c)?[i,Object.fromEntries(Object.entries(o).map(([t,r])=>e(t,r)))]:[l(i,{className:r,prefix:n}),o]}return[i,o]}(e,i)))}e.exports=n.withOptions(({className:e="prose",target:t="modern"}={})=>function({addVariant:r,addComponents:n,theme:i,prefix:o}){let s=i("typography"),a={className:e,prefix:o};for(let[t,n=t]of[["headings","h1, h2, h3, h4, th"],["lead",'[class~="lead"]'],["h1"],["h2"],["h3"],["h4"],["p"],["a"],["blockquote"],["figure"],["figcaption"],["strong"],["em"],["code"],["pre"],["ol"],["ul"],["li"],["table"],["thead"],["tr"],["th"],["td"],["img"],["video"],["hr"]])r(`${e}-${t}`,`& :is(${l(n,a)})`);n(Object.keys(s).map(r=>({["DEFAULT"===r?"."+e:`.${e}-${r}`]:u(s[r],{target:t,className:e,prefix:o})})))},()=>({theme:{typography:s}}))},46598:(e,t,r)=>{const n=r(32600),i=e=>e.toFixed(7).replace(/(\.[0-9]+?)0+$/,"$1").replace(/\.0$/,""),o=e=>i(e/16)+"rem",s=(e,t)=>i(e/t)+"em";let a={sm:{css:[{fontSize:o(14),lineHeight:i(24/14),p:{marginTop:s(16,14),marginBottom:s(16,14)},'[class~="lead"]':{fontSize:s(18,14),lineHeight:i(28/18),marginTop:s(16,18),marginBottom:s(16,18)},blockquote:{marginTop:s(24,18),marginBottom:s(24,18),paddingLeft:s(20,18)},h1:{fontSize:s(30,14),marginTop:"0",marginBottom:s(24,30),lineHeight:i(1.2)},h2:{fontSize:s(20,14),marginTop:s(32,20),marginBottom:s(16,20),lineHeight:i(1.4)},h3:{fontSize:s(18,14),marginTop:s(28,18),marginBottom:s(8,18),lineHeight:i(28/18)},h4:{marginTop:s(20,14),marginBottom:s(8,14),lineHeight:i(20/14)},img:{marginTop:s(24,14),marginBottom:s(24,14)},video:{marginTop:s(24,14),marginBottom:s(24,14)},figure:{marginTop:s(24,14),marginBottom:s(24,14)},"figure > *":{marginTop:"0",marginBottom:"0"},figcaption:{fontSize:s(12,14),lineHeight:i(16/12),marginTop:s(8,12)},code:{fontSize:s(12,14)},"h2 code":{fontSize:s(18,20)},"h3 code":{fontSize:s(16,18)},pre:{fontSize:s(12,14),lineHeight:i(20/12),marginTop:s(20,12),marginBottom:s(20,12),borderRadius:o(4),paddingTop:s(8,12),paddingRight:s(12,12),paddingBottom:s(8,12),paddingLeft:s(12,12)},ol:{marginTop:s(16,14),marginBottom:s(16,14)},ul:{marginTop:s(16,14),marginBottom:s(16,14)},li:{marginTop:s(4,14),marginBottom:s(4,14)},ol:{paddingLeft:s(22,14)},"ol > li":{paddingLeft:s(6,14)},ul:{paddingLeft:s(22,14)},"ul > li":{paddingLeft:s(6,14)},"> ul > li p":{marginTop:s(8,14),marginBottom:s(8,14)},"> ul > li > *:first-child":{marginTop:s(16,14)},"> ul > li > *:last-child":{marginBottom:s(16,14)},"> ol > li > *:first-child":{marginTop:s(16,14)},"> ol > li > *:last-child":{marginBottom:s(16,14)},"ul ul, ul ol, ol ul, ol ol":{marginTop:s(8,14),marginBottom:s(8,14)},hr:{marginTop:s(40,14),marginBottom:s(40,14)},"hr + *":{marginTop:"0"},"h2 + *":{marginTop:"0"},"h3 + *":{marginTop:"0"},"h4 + *":{marginTop:"0"},table:{fontSize:s(12,14),lineHeight:i(1.5)},"thead th":{paddingRight:s(12,12),paddingBottom:s(8,12),paddingLeft:s(12,12)},"thead th:first-child":{paddingLeft:"0"},"thead th:last-child":{paddingRight:"0"},"tbody td":{paddingTop:s(8,12),paddingRight:s(12,12),paddingBottom:s(8,12),paddingLeft:s(12,12)},"tbody td:first-child":{paddingLeft:"0"},"tbody td:last-child":{paddingRight:"0"}},{"> :first-child":{marginTop:"0"},"> :last-child":{marginBottom:"0"}}]},base:{css:[{fontSize:o(16),lineHeight:i(1.75),p:{marginTop:s(20,16),marginBottom:s(20,16)},'[class~="lead"]':{fontSize:s(20,16),lineHeight:i(1.6),marginTop:s(24,20),marginBottom:s(24,20)},blockquote:{marginTop:s(32,20),marginBottom:s(32,20),paddingLeft:s(20,20)},h1:{fontSize:s(36,16),marginTop:"0",marginBottom:s(32,36),lineHeight:i(40/36)},h2:{fontSize:s(24,16),marginTop:s(48,24),marginBottom:s(24,24),lineHeight:i(32/24)},h3:{fontSize:s(20,16),marginTop:s(32,20),marginBottom:s(12,20),lineHeight:i(1.6)},h4:{marginTop:s(24,16),marginBottom:s(8,16),lineHeight:i(1.5)},img:{marginTop:s(32,16),marginBottom:s(32,16)},video:{marginTop:s(32,16),marginBottom:s(32,16)},figure:{marginTop:s(32,16),marginBottom:s(32,16)},"figure > *":{marginTop:"0",marginBottom:"0"},figcaption:{fontSize:s(14,16),lineHeight:i(20/14),marginTop:s(12,14)},code:{fontSize:s(14,16)},"h2 code":{fontSize:s(21,24)},"h3 code":{fontSize:s(18,20)},pre:{fontSize:s(14,16),lineHeight:i(24/14),marginTop:s(24,14),marginBottom:s(24,14),borderRadius:o(6),paddingTop:s(12,14),paddingRight:s(16,14),paddingBottom:s(12,14),paddingLeft:s(16,14)},ol:{marginTop:s(20,16),marginBottom:s(20,16)},ul:{marginTop:s(20,16),marginBottom:s(20,16)},li:{marginTop:s(8,16),marginBottom:s(8,16)},ol:{paddingLeft:s(26,16)},"ol > li":{paddingLeft:s(6,16)},ul:{paddingLeft:s(26,16)},"ul > li":{paddingLeft:s(6,16)},"> ul > li p":{marginTop:s(12,16),marginBottom:s(12,16)},"> ul > li > *:first-child":{marginTop:s(20,16)},"> ul > li > *:last-child":{marginBottom:s(20,16)},"> ol > li > *:first-child":{marginTop:s(20,16)},"> ol > li > *:last-child":{marginBottom:s(20,16)},"ul ul, ul ol, ol ul, ol ol":{marginTop:s(12,16),marginBottom:s(12,16)},hr:{marginTop:s(48,16),marginBottom:s(48,16)},"hr + *":{marginTop:"0"},"h2 + *":{marginTop:"0"},"h3 + *":{marginTop:"0"},"h4 + *":{marginTop:"0"},table:{fontSize:s(14,16),lineHeight:i(24/14)},"thead th":{paddingRight:s(8,14),paddingBottom:s(8,14),paddingLeft:s(8,14)},"thead th:first-child":{paddingLeft:"0"},"thead th:last-child":{paddingRight:"0"},"tbody td":{paddingTop:s(8,14),paddingRight:s(8,14),paddingBottom:s(8,14),paddingLeft:s(8,14)},"tbody td:first-child":{paddingLeft:"0"},"tbody td:last-child":{paddingRight:"0"}},{"> :first-child":{marginTop:"0"},"> :last-child":{marginBottom:"0"}}]},lg:{css:[{fontSize:o(18),lineHeight:i(32/18),p:{marginTop:s(24,18),marginBottom:s(24,18)},'[class~="lead"]':{fontSize:s(22,18),lineHeight:i(32/22),marginTop:s(24,22),marginBottom:s(24,22)},blockquote:{marginTop:s(40,24),marginBottom:s(40,24),paddingLeft:s(24,24)},h1:{fontSize:s(48,18),marginTop:"0",marginBottom:s(40,48),lineHeight:i(1)},h2:{fontSize:s(30,18),marginTop:s(56,30),marginBottom:s(32,30),lineHeight:i(40/30)},h3:{fontSize:s(24,18),marginTop:s(40,24),marginBottom:s(16,24),lineHeight:i(1.5)},h4:{marginTop:s(32,18),marginBottom:s(8,18),lineHeight:i(28/18)},img:{marginTop:s(32,18),marginBottom:s(32,18)},video:{marginTop:s(32,18),marginBottom:s(32,18)},figure:{marginTop:s(32,18),marginBottom:s(32,18)},"figure > *":{marginTop:"0",marginBottom:"0"},figcaption:{fontSize:s(16,18),lineHeight:i(1.5),marginTop:s(16,16)},code:{fontSize:s(16,18)},"h2 code":{fontSize:s(26,30)},"h3 code":{fontSize:s(21,24)},pre:{fontSize:s(16,18),lineHeight:i(1.75),marginTop:s(32,16),marginBottom:s(32,16),borderRadius:o(6),paddingTop:s(16,16),paddingRight:s(24,16),paddingBottom:s(16,16),paddingLeft:s(24,16)},ol:{marginTop:s(24,18),marginBottom:s(24,18)},ul:{marginTop:s(24,18),marginBottom:s(24,18)},li:{marginTop:s(12,18),marginBottom:s(12,18)},ol:{paddingLeft:s(28,18)},"ol > li":{paddingLeft:s(8,18)},ul:{paddingLeft:s(28,18)},"ul > li":{paddingLeft:s(8,18)},"> ul > li p":{marginTop:s(16,18),marginBottom:s(16,18)},"> ul > li > *:first-child":{marginTop:s(24,18)},"> ul > li > *:last-child":{marginBottom:s(24,18)},"> ol > li > *:first-child":{marginTop:s(24,18)},"> ol > li > *:last-child":{marginBottom:s(24,18)},"ul ul, ul ol, ol ul, ol ol":{marginTop:s(16,18),marginBottom:s(16,18)},hr:{marginTop:s(56,18),marginBottom:s(56,18)},"hr + *":{marginTop:"0"},"h2 + *":{marginTop:"0"},"h3 + *":{marginTop:"0"},"h4 + *":{marginTop:"0"},table:{fontSize:s(16,18),lineHeight:i(1.5)},"thead th":{paddingRight:s(12,16),paddingBottom:s(12,16),paddingLeft:s(12,16)},"thead th:first-child":{paddingLeft:"0"},"thead th:last-child":{paddingRight:"0"},"tbody td":{paddingTop:s(12,16),paddingRight:s(12,16),paddingBottom:s(12,16),paddingLeft:s(12,16)},"tbody td:first-child":{paddingLeft:"0"},"tbody td:last-child":{paddingRight:"0"}},{"> :first-child":{marginTop:"0"},"> :last-child":{marginBottom:"0"}}]},xl:{css:[{fontSize:o(20),lineHeight:i(1.8),p:{marginTop:s(24,20),marginBottom:s(24,20)},'[class~="lead"]':{fontSize:s(24,20),lineHeight:i(1.5),marginTop:s(24,24),marginBottom:s(24,24)},blockquote:{marginTop:s(48,30),marginBottom:s(48,30),paddingLeft:s(32,30)},h1:{fontSize:s(56,20),marginTop:"0",marginBottom:s(48,56),lineHeight:i(1)},h2:{fontSize:s(36,20),marginTop:s(56,36),marginBottom:s(32,36),lineHeight:i(40/36)},h3:{fontSize:s(30,20),marginTop:s(48,30),marginBottom:s(20,30),lineHeight:i(40/30)},h4:{marginTop:s(36,20),marginBottom:s(12,20),lineHeight:i(1.6)},img:{marginTop:s(40,20),marginBottom:s(40,20)},video:{marginTop:s(40,20),marginBottom:s(40,20)},figure:{marginTop:s(40,20),marginBottom:s(40,20)},"figure > *":{marginTop:"0",marginBottom:"0"},figcaption:{fontSize:s(18,20),lineHeight:i(28/18),marginTop:s(18,18)},code:{fontSize:s(18,20)},"h2 code":{fontSize:s(31,36)},"h3 code":{fontSize:s(27,30)},pre:{fontSize:s(18,20),lineHeight:i(32/18),marginTop:s(36,18),marginBottom:s(36,18),borderRadius:o(8),paddingTop:s(20,18),paddingRight:s(24,18),paddingBottom:s(20,18),paddingLeft:s(24,18)},ol:{marginTop:s(24,20),marginBottom:s(24,20)},ul:{marginTop:s(24,20),marginBottom:s(24,20)},li:{marginTop:s(12,20),marginBottom:s(12,20)},ol:{paddingLeft:s(32,20)},"ol > li":{paddingLeft:s(8,20)},ul:{paddingLeft:s(32,20)},"ul > li":{paddingLeft:s(8,20)},"> ul > li p":{marginTop:s(16,20),marginBottom:s(16,20)},"> ul > li > *:first-child":{marginTop:s(24,20)},"> ul > li > *:last-child":{marginBottom:s(24,20)},"> ol > li > *:first-child":{marginTop:s(24,20)},"> ol > li > *:last-child":{marginBottom:s(24,20)},"ul ul, ul ol, ol ul, ol ol":{marginTop:s(16,20),marginBottom:s(16,20)},hr:{marginTop:s(56,20),marginBottom:s(56,20)},"hr + *":{marginTop:"0"},"h2 + *":{marginTop:"0"},"h3 + *":{marginTop:"0"},"h4 + *":{marginTop:"0"},table:{fontSize:s(18,20),lineHeight:i(28/18)},"thead th":{paddingRight:s(12,18),paddingBottom:s(16,18),paddingLeft:s(12,18)},"thead th:first-child":{paddingLeft:"0"},"thead th:last-child":{paddingRight:"0"},"tbody td":{paddingTop:s(16,18),paddingRight:s(12,18),paddingBottom:s(16,18),paddingLeft:s(12,18)},"tbody td:first-child":{paddingLeft:"0"},"tbody td:last-child":{paddingRight:"0"}},{"> :first-child":{marginTop:"0"},"> :last-child":{marginBottom:"0"}}]},"2xl":{css:[{fontSize:o(24),lineHeight:i(40/24),p:{marginTop:s(32,24),marginBottom:s(32,24)},'[class~="lead"]':{fontSize:s(30,24),lineHeight:i(44/30),marginTop:s(32,30),marginBottom:s(32,30)},blockquote:{marginTop:s(64,36),marginBottom:s(64,36),paddingLeft:s(40,36)},h1:{fontSize:s(64,24),marginTop:"0",marginBottom:s(56,64),lineHeight:i(1)},h2:{fontSize:s(48,24),marginTop:s(72,48),marginBottom:s(40,48),lineHeight:i(52/48)},h3:{fontSize:s(36,24),marginTop:s(56,36),marginBottom:s(24,36),lineHeight:i(44/36)},h4:{marginTop:s(40,24),marginBottom:s(16,24),lineHeight:i(1.5)},img:{marginTop:s(48,24),marginBottom:s(48,24)},video:{marginTop:s(48,24),marginBottom:s(48,24)},figure:{marginTop:s(48,24),marginBottom:s(48,24)},"figure > *":{marginTop:"0",marginBottom:"0"},figcaption:{fontSize:s(20,24),lineHeight:i(1.6),marginTop:s(20,20)},code:{fontSize:s(20,24)},"h2 code":{fontSize:s(42,48)},"h3 code":{fontSize:s(32,36)},pre:{fontSize:s(20,24),lineHeight:i(1.8),marginTop:s(40,20),marginBottom:s(40,20),borderRadius:o(8),paddingTop:s(24,20),paddingRight:s(32,20),paddingBottom:s(24,20),paddingLeft:s(32,20)},ol:{marginTop:s(32,24),marginBottom:s(32,24)},ul:{marginTop:s(32,24),marginBottom:s(32,24)},li:{marginTop:s(12,24),marginBottom:s(12,24)},ol:{paddingLeft:s(38,24)},"ol > li":{paddingLeft:s(10,24)},ul:{paddingLeft:s(38,24)},"ul > li":{paddingLeft:s(10,24)},"> ul > li p":{marginTop:s(20,24),marginBottom:s(20,24)},"> ul > li > *:first-child":{marginTop:s(32,24)},"> ul > li > *:last-child":{marginBottom:s(32,24)},"> ol > li > *:first-child":{marginTop:s(32,24)},"> ol > li > *:last-child":{marginBottom:s(32,24)},"ul ul, ul ol, ol ul, ol ol":{marginTop:s(16,24),marginBottom:s(16,24)},hr:{marginTop:s(72,24),marginBottom:s(72,24)},"hr + *":{marginTop:"0"},"h2 + *":{marginTop:"0"},"h3 + *":{marginTop:"0"},"h4 + *":{marginTop:"0"},table:{fontSize:s(20,24),lineHeight:i(1.4)},"thead th":{paddingRight:s(12,20),paddingBottom:s(16,20),paddingLeft:s(12,20)},"thead th:first-child":{paddingLeft:"0"},"thead th:last-child":{paddingRight:"0"},"tbody td":{paddingTop:s(16,20),paddingRight:s(12,20),paddingBottom:s(16,20),paddingLeft:s(12,20)},"tbody td:first-child":{paddingLeft:"0"},"tbody td:last-child":{paddingRight:"0"}},{"> :first-child":{marginTop:"0"},"> :last-child":{marginBottom:"0"}}]},invert:{css:{"--tw-prose-body":"var(--tw-prose-invert-body)","--tw-prose-headings":"var(--tw-prose-invert-headings)","--tw-prose-lead":"var(--tw-prose-invert-lead)","--tw-prose-links":"var(--tw-prose-invert-links)","--tw-prose-bold":"var(--tw-prose-invert-bold)","--tw-prose-counters":"var(--tw-prose-invert-counters)","--tw-prose-bullets":"var(--tw-prose-invert-bullets)","--tw-prose-hr":"var(--tw-prose-invert-hr)","--tw-prose-quotes":"var(--tw-prose-invert-quotes)","--tw-prose-quote-borders":"var(--tw-prose-invert-quote-borders)","--tw-prose-captions":"var(--tw-prose-invert-captions)","--tw-prose-code":"var(--tw-prose-invert-code)","--tw-prose-pre-code":"var(--tw-prose-invert-pre-code)","--tw-prose-pre-bg":"var(--tw-prose-invert-pre-bg)","--tw-prose-th-borders":"var(--tw-prose-invert-th-borders)","--tw-prose-td-borders":"var(--tw-prose-invert-td-borders)"}},slate:{css:{"--tw-prose-body":n.slate[700],"--tw-prose-headings":n.slate[900],"--tw-prose-lead":n.slate[600],"--tw-prose-links":n.slate[900],"--tw-prose-bold":n.slate[900],"--tw-prose-counters":n.slate[500],"--tw-prose-bullets":n.slate[300],"--tw-prose-hr":n.slate[200],"--tw-prose-quotes":n.slate[900],"--tw-prose-quote-borders":n.slate[200],"--tw-prose-captions":n.slate[500],"--tw-prose-code":n.slate[900],"--tw-prose-pre-code":n.slate[200],"--tw-prose-pre-bg":n.slate[800],"--tw-prose-th-borders":n.slate[300],"--tw-prose-td-borders":n.slate[200],"--tw-prose-invert-body":n.slate[300],"--tw-prose-invert-headings":n.white,"--tw-prose-invert-lead":n.slate[400],"--tw-prose-invert-links":n.white,"--tw-prose-invert-bold":n.white,"--tw-prose-invert-counters":n.slate[400],"--tw-prose-invert-bullets":n.slate[600],"--tw-prose-invert-hr":n.slate[700],"--tw-prose-invert-quotes":n.slate[100],"--tw-prose-invert-quote-borders":n.slate[700],"--tw-prose-invert-captions":n.slate[400],"--tw-prose-invert-code":n.white,"--tw-prose-invert-pre-code":n.slate[300],"--tw-prose-invert-pre-bg":"rgb(0 0 0 / 50%)","--tw-prose-invert-th-borders":n.slate[600],"--tw-prose-invert-td-borders":n.slate[700]}},gray:{css:{"--tw-prose-body":n.gray[700],"--tw-prose-headings":n.gray[900],"--tw-prose-lead":n.gray[600],"--tw-prose-links":n.gray[900],"--tw-prose-bold":n.gray[900],"--tw-prose-counters":n.gray[500],"--tw-prose-bullets":n.gray[300],"--tw-prose-hr":n.gray[200],"--tw-prose-quotes":n.gray[900],"--tw-prose-quote-borders":n.gray[200],"--tw-prose-captions":n.gray[500],"--tw-prose-code":n.gray[900],"--tw-prose-pre-code":n.gray[200],"--tw-prose-pre-bg":n.gray[800],"--tw-prose-th-borders":n.gray[300],"--tw-prose-td-borders":n.gray[200],"--tw-prose-invert-body":n.gray[300],"--tw-prose-invert-headings":n.white,"--tw-prose-invert-lead":n.gray[400],"--tw-prose-invert-links":n.white,"--tw-prose-invert-bold":n.white,"--tw-prose-invert-counters":n.gray[400],"--tw-prose-invert-bullets":n.gray[600],"--tw-prose-invert-hr":n.gray[700],"--tw-prose-invert-quotes":n.gray[100],"--tw-prose-invert-quote-borders":n.gray[700],"--tw-prose-invert-captions":n.gray[400],"--tw-prose-invert-code":n.white,"--tw-prose-invert-pre-code":n.gray[300],"--tw-prose-invert-pre-bg":"rgb(0 0 0 / 50%)","--tw-prose-invert-th-borders":n.gray[600],"--tw-prose-invert-td-borders":n.gray[700]}},zinc:{css:{"--tw-prose-body":n.zinc[700],"--tw-prose-headings":n.zinc[900],"--tw-prose-lead":n.zinc[600],"--tw-prose-links":n.zinc[900],"--tw-prose-bold":n.zinc[900],"--tw-prose-counters":n.zinc[500],"--tw-prose-bullets":n.zinc[300],"--tw-prose-hr":n.zinc[200],"--tw-prose-quotes":n.zinc[900],"--tw-prose-quote-borders":n.zinc[200],"--tw-prose-captions":n.zinc[500],"--tw-prose-code":n.zinc[900],"--tw-prose-pre-code":n.zinc[200],"--tw-prose-pre-bg":n.zinc[800],"--tw-prose-th-borders":n.zinc[300],"--tw-prose-td-borders":n.zinc[200],"--tw-prose-invert-body":n.zinc[300],"--tw-prose-invert-headings":n.white,"--tw-prose-invert-lead":n.zinc[400],"--tw-prose-invert-links":n.white,"--tw-prose-invert-bold":n.white,"--tw-prose-invert-counters":n.zinc[400],"--tw-prose-invert-bullets":n.zinc[600],"--tw-prose-invert-hr":n.zinc[700],"--tw-prose-invert-quotes":n.zinc[100],"--tw-prose-invert-quote-borders":n.zinc[700],"--tw-prose-invert-captions":n.zinc[400],"--tw-prose-invert-code":n.white,"--tw-prose-invert-pre-code":n.zinc[300],"--tw-prose-invert-pre-bg":"rgb(0 0 0 / 50%)","--tw-prose-invert-th-borders":n.zinc[600],"--tw-prose-invert-td-borders":n.zinc[700]}},neutral:{css:{"--tw-prose-body":n.neutral[700],"--tw-prose-headings":n.neutral[900],"--tw-prose-lead":n.neutral[600],"--tw-prose-links":n.neutral[900],"--tw-prose-bold":n.neutral[900],"--tw-prose-counters":n.neutral[500],"--tw-prose-bullets":n.neutral[300],"--tw-prose-hr":n.neutral[200],"--tw-prose-quotes":n.neutral[900],"--tw-prose-quote-borders":n.neutral[200],"--tw-prose-captions":n.neutral[500],"--tw-prose-code":n.neutral[900],"--tw-prose-pre-code":n.neutral[200],"--tw-prose-pre-bg":n.neutral[800],"--tw-prose-th-borders":n.neutral[300],"--tw-prose-td-borders":n.neutral[200],"--tw-prose-invert-body":n.neutral[300],"--tw-prose-invert-headings":n.white,"--tw-prose-invert-lead":n.neutral[400],"--tw-prose-invert-links":n.white,"--tw-prose-invert-bold":n.white,"--tw-prose-invert-counters":n.neutral[400],"--tw-prose-invert-bullets":n.neutral[600],"--tw-prose-invert-hr":n.neutral[700],"--tw-prose-invert-quotes":n.neutral[100],"--tw-prose-invert-quote-borders":n.neutral[700],"--tw-prose-invert-captions":n.neutral[400],"--tw-prose-invert-code":n.white,"--tw-prose-invert-pre-code":n.neutral[300],"--tw-prose-invert-pre-bg":"rgb(0 0 0 / 50%)","--tw-prose-invert-th-borders":n.neutral[600],"--tw-prose-invert-td-borders":n.neutral[700]}},stone:{css:{"--tw-prose-body":n.stone[700],"--tw-prose-headings":n.stone[900],"--tw-prose-lead":n.stone[600],"--tw-prose-links":n.stone[900],"--tw-prose-bold":n.stone[900],"--tw-prose-counters":n.stone[500],"--tw-prose-bullets":n.stone[300],"--tw-prose-hr":n.stone[200],"--tw-prose-quotes":n.stone[900],"--tw-prose-quote-borders":n.stone[200],"--tw-prose-captions":n.stone[500],"--tw-prose-code":n.stone[900],"--tw-prose-pre-code":n.stone[200],"--tw-prose-pre-bg":n.stone[800],"--tw-prose-th-borders":n.stone[300],"--tw-prose-td-borders":n.stone[200],"--tw-prose-invert-body":n.stone[300],"--tw-prose-invert-headings":n.white,"--tw-prose-invert-lead":n.stone[400],"--tw-prose-invert-links":n.white,"--tw-prose-invert-bold":n.white,"--tw-prose-invert-counters":n.stone[400],"--tw-prose-invert-bullets":n.stone[600],"--tw-prose-invert-hr":n.stone[700],"--tw-prose-invert-quotes":n.stone[100],"--tw-prose-invert-quote-borders":n.stone[700],"--tw-prose-invert-captions":n.stone[400],"--tw-prose-invert-code":n.white,"--tw-prose-invert-pre-code":n.stone[300],"--tw-prose-invert-pre-bg":"rgb(0 0 0 / 50%)","--tw-prose-invert-th-borders":n.stone[600],"--tw-prose-invert-td-borders":n.stone[700]}},red:{css:{"--tw-prose-links":n.red[600],"--tw-prose-invert-links":n.red[500]}},orange:{css:{"--tw-prose-links":n.orange[600],"--tw-prose-invert-links":n.orange[500]}},amber:{css:{"--tw-prose-links":n.amber[600],"--tw-prose-invert-links":n.amber[500]}},yellow:{css:{"--tw-prose-links":n.yellow[600],"--tw-prose-invert-links":n.yellow[500]}},lime:{css:{"--tw-prose-links":n.lime[600],"--tw-prose-invert-links":n.lime[500]}},green:{css:{"--tw-prose-links":n.green[600],"--tw-prose-invert-links":n.green[500]}},emerald:{css:{"--tw-prose-links":n.emerald[600],"--tw-prose-invert-links":n.emerald[500]}},teal:{css:{"--tw-prose-links":n.teal[600],"--tw-prose-invert-links":n.teal[500]}},cyan:{css:{"--tw-prose-links":n.cyan[600],"--tw-prose-invert-links":n.cyan[500]}},sky:{css:{"--tw-prose-links":n.sky[600],"--tw-prose-invert-links":n.sky[500]}},blue:{css:{"--tw-prose-links":n.blue[600],"--tw-prose-invert-links":n.blue[500]}},indigo:{css:{"--tw-prose-links":n.indigo[600],"--tw-prose-invert-links":n.indigo[500]}},violet:{css:{"--tw-prose-links":n.violet[600],"--tw-prose-invert-links":n.violet[500]}},purple:{css:{"--tw-prose-links":n.purple[600],"--tw-prose-invert-links":n.purple[500]}},fuchsia:{css:{"--tw-prose-links":n.fuchsia[600],"--tw-prose-invert-links":n.fuchsia[500]}},pink:{css:{"--tw-prose-links":n.pink[600],"--tw-prose-invert-links":n.pink[500]}},rose:{css:{"--tw-prose-links":n.rose[600],"--tw-prose-invert-links":n.rose[500]}}};e.exports={DEFAULT:{css:[{color:"var(--tw-prose-body)",maxWidth:"65ch",'[class~="lead"]':{color:"var(--tw-prose-lead)"},a:{color:"var(--tw-prose-links)",textDecoration:"underline",fontWeight:"500"},strong:{color:"var(--tw-prose-bold)",fontWeight:"600"},ol:{listStyleType:"decimal"},'ol[type="A"]':{listStyleType:"upper-alpha"},'ol[type="a"]':{listStyleType:"lower-alpha"},'ol[type="A" s]':{listStyleType:"upper-alpha"},'ol[type="a" s]':{listStyleType:"lower-alpha"},'ol[type="I"]':{listStyleType:"upper-roman"},'ol[type="i"]':{listStyleType:"lower-roman"},'ol[type="I" s]':{listStyleType:"upper-roman"},'ol[type="i" s]':{listStyleType:"lower-roman"},'ol[type="1"]':{listStyleType:"decimal"},ul:{listStyleType:"disc"},"ol > li::marker":{fontWeight:"400",color:"var(--tw-prose-counters)"},"ul > li::marker":{color:"var(--tw-prose-bullets)"},hr:{borderColor:"var(--tw-prose-hr)",borderTopWidth:1},blockquote:{fontWeight:"500",fontStyle:"italic",color:"var(--tw-prose-quotes)",borderLeftWidth:"0.25rem",borderLeftColor:"var(--tw-prose-quote-borders)",quotes:'"\\201C""\\201D""\\2018""\\2019"'},"blockquote p:first-of-type::before":{content:"open-quote"},"blockquote p:last-of-type::after":{content:"close-quote"},h1:{color:"var(--tw-prose-headings)",fontWeight:"800"},"h1 strong":{fontWeight:"900"},h2:{color:"var(--tw-prose-headings)",fontWeight:"700"},"h2 strong":{fontWeight:"800"},h3:{color:"var(--tw-prose-headings)",fontWeight:"600"},"h3 strong":{fontWeight:"700"},h4:{color:"var(--tw-prose-headings)",fontWeight:"600"},"h4 strong":{fontWeight:"700"},"figure > *":{},figcaption:{color:"var(--tw-prose-captions)"},code:{color:"var(--tw-prose-code)",fontWeight:"600"},"code::before":{content:'"`"'},"code::after":{content:'"`"'},"a code":{color:"var(--tw-prose-links)"},pre:{color:"var(--tw-prose-pre-code)",backgroundColor:"var(--tw-prose-pre-bg)",overflowX:"auto",fontWeight:"400"},"pre code":{backgroundColor:"transparent",borderWidth:"0",borderRadius:"0",padding:"0",fontWeight:"inherit",color:"inherit",fontSize:"inherit",fontFamily:"inherit",lineHeight:"inherit"},"pre code::before":{content:"none"},"pre code::after":{content:"none"},table:{width:"100%",tableLayout:"auto",textAlign:"left",marginTop:s(32,16),marginBottom:s(32,16)},thead:{borderBottomWidth:"1px",borderBottomColor:"var(--tw-prose-th-borders)"},"thead th":{color:"var(--tw-prose-headings)",fontWeight:"600",verticalAlign:"bottom"},"tbody tr":{borderBottomWidth:"1px",borderBottomColor:"var(--tw-prose-td-borders)"},"tbody tr:last-child":{borderBottomWidth:"0"},"tbody td":{verticalAlign:"baseline"}},a.gray.css,...a.base.css]},...a}},14279:(e,t,r)=>{var n=r(29089),i=r(16791),o=n.Parser.extend(r(35521)).extend(r(27893)).extend(r(82485)).extend(r(42834)).extend(r(37694).ZP),s=o.extend(r(81166)).extend(r(51178));function a(e){return e||(e={}),i({ecmaVersion:2020,allowHashBang:!0,allowReturnOutsideFunction:!0},e)}function l(e){return e||(e={}),"module"===e.sourceType?s:o}e.exports=i(n,{parse:function(e,t){return l(t).parse(e,a(t))},parseExpressionAt:function(e,t,r){return l(r).parseExpressionAt(e,t,a(r))},tokenizer:function(e,t){return l(t).tokenizer(e,a(t))}})},35521:(e,t,r)=>{"use strict";var n=r(29089),i=n.tokTypes,o=n.isIdentifierStart;e.exports=function(e){return function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.parseLiteral=function(t){var r=e.prototype.parseLiteral.call(this,t);return 110==r.raw.charCodeAt(r.raw.length-1)&&(r.bigint=this.getNumberInput(r.start,r.end)),r},t.prototype.readRadixNumber=function(e){var t=this.pos;this.pos+=2;var r=this.readInt(e);if(null===r&&this.raise(this.start+2,"Expected number in radix "+e),110==this.input.charCodeAt(this.pos)){var n=this.getNumberInput(t,this.pos);r="undefined"!=typeof BigInt?BigInt(n):null,++this.pos}else o(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");return this.finishToken(i.num,r)},t.prototype.readNumber=function(t){var r=this.pos;if(t)return e.prototype.readNumber.call(this,t);if(48===this.input.charCodeAt(r)&&110!==this.input.charCodeAt(r+1))return e.prototype.readNumber.call(this,t);if(null===this.readInt(10)&&this.raise(r,"Invalid number"),110!=this.input.charCodeAt(this.pos))return this.pos=r,e.prototype.readNumber.call(this,t);var n=this.getNumberInput(r,this.pos),o="undefined"!=typeof BigInt?BigInt(n):null;return++this.pos,this.finishToken(i.num,o)},t.prototype.getNumberInput=function(t,r){return e.prototype.getNumberInput?e.prototype.getNumberInput.call(this,t,r):this.input.slice(t,r)},t}(e)}},27893:(e,t,r)=>{"use strict";var n=r(29089).tokTypes,i=r(67910);function o(e){if(this.eat(n.eq)){var t=this._inFieldValue;this._inFieldValue=!0,e.value=this.parseExpression(),this._inFieldValue=t}else e.value=null}e.exports=function(e){return function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.parseClassElement=function(t){if(this.options.ecmaVersion>=8&&(this.type==n.name||this.type==this.privateNameToken||this.type==n.bracketL||this.type==n.string)){var r=this._branch();if(r.type==n.bracketL){var i=0;do{r.eat(n.bracketL)?++i:r.eat(n.bracketR)?--i:r.next()}while(i>0)}else r.next();if(r.type==n.eq||r.canInsertSemicolon()||r.type==n.semi){var s=this.startNode();return this.type==this.privateNameToken?this.parsePrivateClassElementName(s):this.parsePropertyName(s),("Identifier"===s.key.type&&"constructor"===s.key.name||"Literal"===s.key.type&&"constructor"===s.key.value)&&this.raise(s.key.start,"Classes may not have a field called constructor"),o.call(this,s),this.finishNode(s,"FieldDefinition"),this.semicolon(),s}}return e.prototype.parseClassElement.apply(this,arguments)},t.prototype.parseIdent=function(t,r){var n=e.prototype.parseIdent.call(this,t,r);return this._inFieldValue&&"arguments"==n.name&&this.raise(n.start,"A class field initializer may not contain arguments"),n},t}(e=i(e))}},37694:(e,t,r)=>{"use strict";var n=function(){function e(e,t){for(var r=0;r{"use strict";var n=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,i=r(29089).tokTypes;e.exports=function(e){return function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.parseExport=function(t,r){n.lastIndex=this.pos;var o=n.exec(this.input);if("*"!==this.input.charAt(this.pos+o[0].length))return e.prototype.parseExport.call(this,t,r);this.next();var s=this.startNode();return this.expect(i.star),this.eatContextual("as")&&(t.declaration=null,s.exported=this.parseIdent(!0),this.checkExport(r,s.exported.name,this.lastTokStart),t.specifiers=[this.finishNode(s,"ExportNamespaceSpecifier")]),this.expectContextual("from"),this.type!==i.string&&this.unexpected(),t.source=this.parseExprAtom(),this.semicolon(),this.finishNode(t,t.specifiers?"ExportNamedDeclaration":"ExportAllDeclaration")},t}(e)}},51178:(e,t,r)=>{"use strict";var n=r(29089).tokTypes,i=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,o=function(e){i.lastIndex=e.pos;var t=i.exec(e.input),r=e.pos+t[0].length;return"."===e.input.slice(r,r+1)};e.exports=function(e){return function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.parseExprAtom=function(t){if(this.type!==n._import||!o(this))return e.prototype.parseExprAtom.call(this,t);this.options.allowImportExportEverywhere||this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'");var r=this.startNode();return r.meta=this.parseIdent(!0),this.expect(n.dot),r.property=this.parseIdent(!0),"meta"!==r.property.name&&this.raiseRecoverable(r.property.start,"The only valid meta property for import is import.meta"),this.finishNode(r,"MetaProperty")},t.prototype.parseStatement=function(t,r,i){if(this.type!==n._import||!o(this))return e.prototype.parseStatement.call(this,t,r,i);var s=this.startNode(),a=this.parseExpression();return this.parseExpressionStatement(s,a)},t}(e)}},42834:e=>{"use strict";e.exports=function(e){return function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.readInt=function(t,r){if(null!=r)return e.prototype.readInt.call(this,t,r);for(var n=this.pos,i=0,o=!1;;){var s=this.input.charCodeAt(this.pos),a=void 0;if(s>=97)a=s-97+10;else{if(95==s){o||this.raise(this.pos,"Invalid numeric separator"),++this.pos,o=!1;continue}a=s>=65?s-65+10:s>=48&&s<=57?s-48:1/0}if(a>=t)break;++this.pos,i=i*t+a,o=!0}return this.pos===n?null:(o||this.raise(this.pos-1,"Invalid numeric separator"),i)},t.prototype.readNumber=function(t){var r=e.prototype.readNumber.call(this,t),n=this.end-this.start>=2&&48===this.input.charCodeAt(this.start),i=this.getNumberInput(this.start,this.end);return i.length{"use strict";var n=r(29089);var i=n.tokTypes,o=n.TokenType;e.exports=function(e){if(e.prototype.parsePrivateName)return e;for(var t=e;t&&t!==n.Parser;)t=t.__proto__;if(t!==n.Parser)throw new Error("acorn-private-class-elements does not support mixing different acorn copies");return(e=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype._branch=function(){return this.__branch=this.__branch||new e({ecmaVersion:this.options.ecmaVersion},this.input),this.__branch.end=this.end,this.__branch.pos=this.pos,this.__branch.type=this.type,this.__branch.value=this.value,this.__branch.containsEsc=this.containsEsc,this.__branch},t.prototype.parsePrivateClassElementName=function(e){e.computed=!1,e.key=this.parsePrivateName(),"constructor"==e.key.name&&this.raise(e.key.start,"Classes may not have a private element named constructor");var t={get:"set",set:"get"}[e.kind],r=this._privateBoundNamesStack[this._privateBoundNamesStack.length-1];return Object.prototype.hasOwnProperty.call(r,e.key.name)&&r[e.key.name]!==t&&this.raise(e.start,"Duplicate private element"),r[e.key.name]=e.kind||!0,delete this._unresolvedPrivateNamesStack[this._unresolvedPrivateNamesStack.length-1][e.key.name],e.key},t.prototype.parsePrivateName=function(){var e=this.startNode();return e.name=this.value,this.next(),this.finishNode(e,"PrivateName"),"never"==this.options.allowReserved&&this.checkUnreserved(e),e},t.prototype.getTokenFromCode=function(t){if(35===t){++this.pos;var r=this.readWord1();return this.finishToken(this.privateNameToken,r)}return e.prototype.getTokenFromCode.call(this,t)},t.prototype.parseClass=function(t,r){this._privateBoundNamesStack=this._privateBoundNamesStack||[];var n=Object.create(this._privateBoundNamesStack[this._privateBoundNamesStack.length-1]||null);this._privateBoundNamesStack.push(n),this._unresolvedPrivateNamesStack=this._unresolvedPrivateNamesStack||[];var i=Object.create(null);this._unresolvedPrivateNamesStack.push(i);var o=e.prototype.parseClass.call(this,t,r);if(this._privateBoundNamesStack.pop(),this._unresolvedPrivateNamesStack.pop(),this._unresolvedPrivateNamesStack.length)Object.assign(this._unresolvedPrivateNamesStack[this._unresolvedPrivateNamesStack.length-1],i);else{var s=Object.keys(i);s.length&&(s.sort((function(e,t){return i[e]-i[t]})),this.raise(i[s[0]],"Usage of undeclared private name"))}return o},t.prototype.parseSubscript=function(t,r,n,o,s){if(!this.eat(i.dot))return e.prototype.parseSubscript.call(this,t,r,n,o,s);var a=this.startNodeAt(r,n);return a.object=t,a.computed=!1,this.type==this.privateNameToken?(a.property=this.parsePrivateName(),this._privateBoundNamesStack.length&&this._privateBoundNamesStack[this._privateBoundNamesStack.length-1][a.property.name]||(this._unresolvedPrivateNamesStack[this._unresolvedPrivateNamesStack.length-1][a.property.name]=a.property.start)):a.property=this.parseIdent(!0),this.finishNode(a,"MemberExpression")},t.prototype.parseMaybeUnary=function(t,r){var n=e.prototype.parseMaybeUnary.call(this,t,r);return"delete"==n.operator&&"MemberExpression"==n.argument.type&&"PrivateName"==n.argument.property.type&&this.raise(n.start,"Private elements may not be deleted"),n},t}(e)).prototype.privateNameToken=new o("privateName"),e}},82485:(e,t,r)=>{"use strict";var n=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,i=r(29089).tokTypes;function o(e){if(this.eat(i.eq)){var t=this._inStaticFieldValue;this._inStaticFieldValue=!0,e.value=this.parseExpression(),this._inStaticFieldValue=t}else e.value=null}var s=r(67910);e.exports=function(e){return function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.parseClassElement=function(t){var r=this;if(this.eat(i.semi))return null;var s=this.startNode(),a=function(e,t){void 0===t&&(t=!1);var n=r.start,o=r.startLoc;return!!r.eatContextual(e)&&(!(r.type===i.parenL||t&&r.canInsertSemicolon())||(s.key&&r.unexpected(),s.computed=!1,s.key=r.startNodeAt(n,o),s.key.name=e,r.finishNode(s.key,"Identifier"),!1))};if(s.static=a("static"),!s.static)return e.prototype.parseClassElement.apply(this,arguments);var l=this.eat(i.star),c=!1;if(!l)if(this.options.ecmaVersion>=8&&this.isContextual("async")){n.lastIndex=this.pos;var u=n.exec(this.input),p=this.input.charAt(this.pos+u[0].length);if(";"===p||"="===p)return s.key=this.parseIdent(!0),s.computed=!1,o.call(this,s),this.finishNode(s,"FieldDefinition"),this.semicolon(),s;this.options.ecmaVersion>=8&&a("async",!0)&&(c=!0,l=this.options.ecmaVersion>=9&&this.eat(i.star))}else a("get")?s.kind="get":a("set")&&(s.kind="set");if(this.type===this.privateNameToken){if(this.parsePrivateClassElementName(s),this.type!==i.parenL)return"prototype"===s.key.name&&this.raise(s.key.start,"Classes may not have a private static property named prototype"),o.call(this,s),this.finishNode(s,"FieldDefinition"),this.semicolon(),s}else s.key||(this.parsePropertyName(s),"prototype"!==(s.key.name||s.key.value)||s.computed||this.raise(s.key.start,"Classes may not have a static property named prototype"));return s.kind||(s.kind="method"),this.parseClassMethod(s,l,c),s.kind||"constructor"!==(s.key.name||s.key.value)||s.computed||this.raise(s.key.start,"Classes may not have a static field named constructor"),"get"===s.kind&&0!==s.value.params.length&&this.raiseRecoverable(s.value.start,"getter should have no params"),"set"===s.kind&&1!==s.value.params.length&&this.raiseRecoverable(s.value.start,"setter should have exactly one param"),"set"===s.kind&&"RestElement"===s.value.params[0].type&&this.raiseRecoverable(s.value.params[0].start,"Setter cannot use rest params"),s},t.prototype.parseClassMethod=function(t,r,n,s){return r||n||"method"!=t.kind||!t.static||this.options.ecmaVersion<8||this.type==i.parenL?e.prototype.parseClassMethod.apply(this,arguments):(o.call(this,t),delete t.kind,t=this.finishNode(t,"FieldDefinition"),this.semicolon(),t)},t.prototype.parseIdent=function(t,r){var n=e.prototype.parseIdent.call(this,t,r);return this._inStaticFieldValue&&"arguments"==n.name&&this.raise(n.start,"A static class field initializer may not contain arguments"),n},t}(s(e))}},28216:(e,t,r)=>{var n=r(16791),i=r(43319),o=n(i.base);o.Import=function(){},t.simple=function(e,t,r,n,s){return i.simple(e,t,r||o,n,s)},t.ancestor=function(e,t,r,n){return i.ancestor(e,t,r||o,n)},t.recursive=function(e,t,r,n,s){return i.recursive(e,t,r,n||o,s)},t.full=function(e,t,r,n,s){return i.full(e,t,r||o,n,s)},t.fullAncestor=function(e,t,r,n){return i.fullAncestor(e,t,r||o,n)},t.findNodeAt=function(e,t,r,n,s,a){return i.findNodeAt(e,t,r,n,s||o,a)},t.findNodeAround=function(e,t,r,n,s){return i.findNodeAround(e,t,r,n||o,s)},t.findNodeAfter=function(e,t,r,n,s){return i.findNodeAfter(e,t,r,n||o,s)},t.findNodeBefore=function(e,t,r,n,s){return i.findNodeBefore(e,t,r,n||o,s)},t.make=function(e,t){return i.make(e,t||o)},t.base=o},43319:function(e,t){!function(e){"use strict";function t(e){return"string"==typeof e?function(t){return t===e}:e||function(){return!0}}var r=function(e,t){this.node=e,this.state=t},n=Object.create||function(e){function t(){}return t.prototype=e,new t};function i(e,t){var r=n(t||a);for(var i in e)r[i]=e[i];return r}function o(e,t,r){r(e,t)}function s(e,t,r){}var a={};a.Program=a.BlockStatement=function(e,t,r){for(var n=0,i=e.body;n=n&&i(l,t))throw new r(t,s);o[l](t,s,e)}}(e,s)}catch(e){if(e instanceof r)return e;throw e}},e.findNodeAround=function(e,n,i,o,s){i=t(i),o||(o=a);try{!function e(t,s,a){var l=a||t.type;if(!(t.start>n||t.end=i)&&s[c](t,a,e),(null==n||t.start===n)&&(null==i||t.end===i)&&o(c,t))throw new r(t,a)}(e,l)}catch(e){if(e instanceof r)return e;throw e}},e.findNodeBefore=function(e,n,i,o,s){var l;return i=t(i),o||(o=a),function e(t,s,a){if(!(t.start>n)){var c=a||t.type;t.end<=n&&(!l||l.node.ende)return!1;if((r+=t[n+1])>=e)return!0}}function h(e,t){return e<65?36===e:e<91||(e<97?95===e:e<123||(e<=65535?e>=170&&a.test(String.fromCharCode(e)):!1!==t&&p(e,c)))}function d(e,t){return e<48?36===e:e<58||!(e<65)&&(e<91||(e<97?95===e:e<123||(e<=65535?e>=170&&l.test(String.fromCharCode(e)):!1!==t&&(p(e,c)||p(e,u)))))}var f=function(e,t){void 0===t&&(t={}),this.label=e,this.keyword=t.keyword,this.beforeExpr=!!t.beforeExpr,this.startsExpr=!!t.startsExpr,this.isLoop=!!t.isLoop,this.isAssign=!!t.isAssign,this.prefix=!!t.prefix,this.postfix=!!t.postfix,this.binop=t.binop||null,this.updateContext=null};function g(e,t){return new f(e,{beforeExpr:!0,binop:t})}var m={beforeExpr:!0},v={startsExpr:!0},y={};function b(e,t){return void 0===t&&(t={}),t.keyword=e,y[e]=new f(e,t)}var w={num:new f("num",v),regexp:new f("regexp",v),string:new f("string",v),name:new f("name",v),eof:new f("eof"),bracketL:new f("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new f("]"),braceL:new f("{",{beforeExpr:!0,startsExpr:!0}),braceR:new f("}"),parenL:new f("(",{beforeExpr:!0,startsExpr:!0}),parenR:new f(")"),comma:new f(",",m),semi:new f(";",m),colon:new f(":",m),dot:new f("."),question:new f("?",m),questionDot:new f("?."),arrow:new f("=>",m),template:new f("template"),invalidTemplate:new f("invalidTemplate"),ellipsis:new f("...",m),backQuote:new f("`",v),dollarBraceL:new f("${",{beforeExpr:!0,startsExpr:!0}),eq:new f("=",{beforeExpr:!0,isAssign:!0}),assign:new f("_=",{beforeExpr:!0,isAssign:!0}),incDec:new f("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new f("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:g("||",1),logicalAND:g("&&",2),bitwiseOR:g("|",3),bitwiseXOR:g("^",4),bitwiseAND:g("&",5),equality:g("==/!=/===/!==",6),relational:g("/<=/>=",7),bitShift:g("<>/>>>",8),plusMin:new f("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:g("%",10),star:g("*",10),slash:g("/",10),starstar:new f("**",{beforeExpr:!0}),coalesce:g("??",1),_break:b("break"),_case:b("case",m),_catch:b("catch"),_continue:b("continue"),_debugger:b("debugger"),_default:b("default",m),_do:b("do",{isLoop:!0,beforeExpr:!0}),_else:b("else",m),_finally:b("finally"),_for:b("for",{isLoop:!0}),_function:b("function",v),_if:b("if"),_return:b("return",m),_switch:b("switch"),_throw:b("throw",m),_try:b("try"),_var:b("var"),_const:b("const"),_while:b("while",{isLoop:!0}),_with:b("with"),_new:b("new",{beforeExpr:!0,startsExpr:!0}),_this:b("this",v),_super:b("super",v),_class:b("class",v),_extends:b("extends",m),_export:b("export"),_import:b("import",v),_null:b("null",v),_true:b("true",v),_false:b("false",v),_in:b("in",{beforeExpr:!0,binop:7}),_instanceof:b("instanceof",{beforeExpr:!0,binop:7}),_typeof:b("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:b("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:b("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},_=/\r\n?|\n|\u2028|\u2029/,x=new RegExp(_.source,"g");function k(e,t){return 10===e||13===e||!t&&(8232===e||8233===e)}var S=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,E=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,C=Object.prototype,T=C.hasOwnProperty,A=C.toString;function R(e,t){return T.call(e,t)}var O=Array.isArray||function(e){return"[object Array]"===A.call(e)};function P(e){return new RegExp("^(?:"+e.replace(/ /g,"|")+")$")}var I=function(e,t){this.line=e,this.column=t};I.prototype.offset=function(e){return new I(this.line,this.column+e)};var M=function(e,t,r){this.start=t,this.end=r,null!==e.sourceFile&&(this.source=e.sourceFile)};function D(e,t){for(var r=1,n=0;;){x.lastIndex=n;var i=x.exec(e);if(!(i&&i.index=2015&&(t.ecmaVersion-=2009),null==t.allowReserved&&(t.allowReserved=t.ecmaVersion<5),O(t.onToken)){var n=t.onToken;t.onToken=function(e){return n.push(e)}}return O(t.onComment)&&(t.onComment=function(e,t){return function(r,n,i,o,s,a){var l={type:r?"Block":"Line",value:n,start:i,end:o};e.locations&&(l.loc=new M(this,s,a)),e.ranges&&(l.range=[i,o]),t.push(l)}}(t,t.onComment)),t}function L(e,t){return 2|(e?4:0)|(t?8:0)}var F=function(e,r,i){this.options=e=N(e),this.sourceFile=e.sourceFile,this.keywords=P(n[e.ecmaVersion>=6?6:"module"===e.sourceType?"5module":5]);var o="";if(!0!==e.allowReserved){for(var s=e.ecmaVersion;!(o=t[s]);s--);"module"===e.sourceType&&(o+=" await")}this.reservedWords=P(o);var a=(o?o+" ":"")+t.strict;this.reservedWordsStrict=P(a),this.reservedWordsStrictBind=P(a+" "+t.strictBind),this.input=String(r),this.containsEsc=!1,i?(this.pos=i,this.lineStart=this.input.lastIndexOf("\n",i-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(_).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=w.eof,this.value=null,this.start=this.end=this.pos,this.startLoc=this.endLoc=this.curPosition(),this.lastTokEndLoc=this.lastTokStartLoc=null,this.lastTokStart=this.lastTokEnd=this.pos,this.context=this.initialContext(),this.exprAllowed=!0,this.inModule="module"===e.sourceType,this.strict=this.inModule||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.yieldPos=this.awaitPos=this.awaitIdentPos=0,this.labels=[],this.undefinedExports={},0===this.pos&&e.allowHashBang&&"#!"===this.input.slice(0,2)&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(1),this.regexpState=null},q={inFunction:{configurable:!0},inGenerator:{configurable:!0},inAsync:{configurable:!0},allowSuper:{configurable:!0},allowDirectSuper:{configurable:!0},treatFunctionsAsVar:{configurable:!0}};F.prototype.parse=function(){var e=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(e)},q.inFunction.get=function(){return(2&this.currentVarScope().flags)>0},q.inGenerator.get=function(){return(8&this.currentVarScope().flags)>0},q.inAsync.get=function(){return(4&this.currentVarScope().flags)>0},q.allowSuper.get=function(){return(64&this.currentThisScope().flags)>0},q.allowDirectSuper.get=function(){return(128&this.currentThisScope().flags)>0},q.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())},F.prototype.inNonArrowFunction=function(){return(2&this.currentThisScope().flags)>0},F.extend=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];for(var r=this,n=0;n=,?^&]/.test(i)||"!"===i&&"="===this.input.charAt(n+1))}e+=t[0].length,E.lastIndex=e,e+=E.exec(this.input)[0].length,";"===this.input[e]&&e++}},$.eat=function(e){return this.type===e&&(this.next(),!0)},$.isContextual=function(e){return this.type===w.name&&this.value===e&&!this.containsEsc},$.eatContextual=function(e){return!!this.isContextual(e)&&(this.next(),!0)},$.expectContextual=function(e){this.eatContextual(e)||this.unexpected()},$.canInsertSemicolon=function(){return this.type===w.eof||this.type===w.braceR||_.test(this.input.slice(this.lastTokEnd,this.start))},$.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},$.semicolon=function(){this.eat(w.semi)||this.insertSemicolon()||this.unexpected()},$.afterTrailingComma=function(e,t){if(this.type===e)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),t||this.next(),!0},$.expect=function(e){this.eat(e)||this.unexpected()},$.unexpected=function(e){this.raise(null!=e?e:this.start,"Unexpected token")},$.checkPatternErrors=function(e,t){if(e){e.trailingComma>-1&&this.raiseRecoverable(e.trailingComma,"Comma is not permitted after the rest element");var r=t?e.parenthesizedAssign:e.parenthesizedBind;r>-1&&this.raiseRecoverable(r,"Parenthesized pattern")}},$.checkExpressionErrors=function(e,t){if(!e)return!1;var r=e.shorthandAssign,n=e.doubleProto;if(!t)return r>=0||n>=0;r>=0&&this.raise(r,"Shorthand property assignments are valid only in destructuring patterns"),n>=0&&this.raiseRecoverable(n,"Redefinition of __proto__ property")},$.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos=6&&this.unexpected(),this.parseFunctionStatement(o,!1,!e);case w._class:return e&&this.unexpected(),this.parseClass(o,!0);case w._if:return this.parseIfStatement(o);case w._return:return this.parseReturnStatement(o);case w._switch:return this.parseSwitchStatement(o);case w._throw:return this.parseThrowStatement(o);case w._try:return this.parseTryStatement(o);case w._const:case w._var:return n=n||this.value,e&&"var"!==n&&this.unexpected(),this.parseVarStatement(o,n);case w._while:return this.parseWhileStatement(o);case w._with:return this.parseWithStatement(o);case w.braceL:return this.parseBlock(!0,o);case w.semi:return this.parseEmptyStatement(o);case w._export:case w._import:if(this.options.ecmaVersion>10&&i===w._import){E.lastIndex=this.pos;var s=E.exec(this.input),a=this.pos+s[0].length,l=this.input.charCodeAt(a);if(40===l||46===l)return this.parseExpressionStatement(o,this.parseExpression())}return this.options.allowImportExportEverywhere||(t||this.raise(this.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),i===w._import?this.parseImport(o):this.parseExport(o,r);default:if(this.isAsyncFunction())return e&&this.unexpected(),this.next(),this.parseFunctionStatement(o,!0,!e);var c=this.value,u=this.parseExpression();return i===w.name&&"Identifier"===u.type&&this.eat(w.colon)?this.parseLabeledStatement(o,c,u,e):this.parseExpressionStatement(o,u)}},U.parseBreakContinueStatement=function(e,t){var r="break"===t;this.next(),this.eat(w.semi)||this.insertSemicolon()?e.label=null:this.type!==w.name?this.unexpected():(e.label=this.parseIdent(),this.semicolon());for(var n=0;n=6?this.eat(w.semi):this.semicolon(),this.finishNode(e,"DoWhileStatement")},U.parseForStatement=function(e){this.next();var t=this.options.ecmaVersion>=9&&(this.inAsync||!this.inFunction&&this.options.allowAwaitOutsideFunction)&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(W),this.enterScope(0),this.expect(w.parenL),this.type===w.semi)return t>-1&&this.unexpected(t),this.parseFor(e,null);var r=this.isLet();if(this.type===w._var||this.type===w._const||r){var n=this.startNode(),i=r?"let":this.value;return this.next(),this.parseVar(n,!0,i),this.finishNode(n,"VariableDeclaration"),(this.type===w._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&1===n.declarations.length?(this.options.ecmaVersion>=9&&(this.type===w._in?t>-1&&this.unexpected(t):e.await=t>-1),this.parseForIn(e,n)):(t>-1&&this.unexpected(t),this.parseFor(e,n))}var o=new z,s=this.parseExpression(!0,o);return this.type===w._in||this.options.ecmaVersion>=6&&this.isContextual("of")?(this.options.ecmaVersion>=9&&(this.type===w._in?t>-1&&this.unexpected(t):e.await=t>-1),this.toAssignable(s,!1,o),this.checkLVal(s),this.parseForIn(e,s)):(this.checkExpressionErrors(o,!0),t>-1&&this.unexpected(t),this.parseFor(e,s))},U.parseFunctionStatement=function(e,t,r){return this.next(),this.parseFunction(e,G|(r?0:Y),!1,t)},U.parseIfStatement=function(e){return this.next(),e.test=this.parseParenExpression(),e.consequent=this.parseStatement("if"),e.alternate=this.eat(w._else)?this.parseStatement("if"):null,this.finishNode(e,"IfStatement")},U.parseReturnStatement=function(e){return this.inFunction||this.options.allowReturnOutsideFunction||this.raise(this.start,"'return' outside of function"),this.next(),this.eat(w.semi)||this.insertSemicolon()?e.argument=null:(e.argument=this.parseExpression(),this.semicolon()),this.finishNode(e,"ReturnStatement")},U.parseSwitchStatement=function(e){var t;this.next(),e.discriminant=this.parseParenExpression(),e.cases=[],this.expect(w.braceL),this.labels.push(H),this.enterScope(0);for(var r=!1;this.type!==w.braceR;)if(this.type===w._case||this.type===w._default){var n=this.type===w._case;t&&this.finishNode(t,"SwitchCase"),e.cases.push(t=this.startNode()),t.consequent=[],this.next(),n?t.test=this.parseExpression():(r&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),r=!0,t.test=null),this.expect(w.colon)}else t||this.unexpected(),t.consequent.push(this.parseStatement(null));return this.exitScope(),t&&this.finishNode(t,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(e,"SwitchStatement")},U.parseThrowStatement=function(e){return this.next(),_.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),e.argument=this.parseExpression(),this.semicolon(),this.finishNode(e,"ThrowStatement")};var V=[];U.parseTryStatement=function(e){if(this.next(),e.block=this.parseBlock(),e.handler=null,this.type===w._catch){var t=this.startNode();if(this.next(),this.eat(w.parenL)){t.param=this.parseBindingAtom();var r="Identifier"===t.param.type;this.enterScope(r?32:0),this.checkLVal(t.param,r?4:2),this.expect(w.parenR)}else this.options.ecmaVersion<10&&this.unexpected(),t.param=null,this.enterScope(0);t.body=this.parseBlock(!1),this.exitScope(),e.handler=this.finishNode(t,"CatchClause")}return e.finalizer=this.eat(w._finally)?this.parseBlock():null,e.handler||e.finalizer||this.raise(e.start,"Missing catch or finally clause"),this.finishNode(e,"TryStatement")},U.parseVarStatement=function(e,t){return this.next(),this.parseVar(e,!1,t),this.semicolon(),this.finishNode(e,"VariableDeclaration")},U.parseWhileStatement=function(e){return this.next(),e.test=this.parseParenExpression(),this.labels.push(W),e.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(e,"WhileStatement")},U.parseWithStatement=function(e){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),e.object=this.parseParenExpression(),e.body=this.parseStatement("with"),this.finishNode(e,"WithStatement")},U.parseEmptyStatement=function(e){return this.next(),this.finishNode(e,"EmptyStatement")},U.parseLabeledStatement=function(e,t,r,n){for(var i=0,o=this.labels;i=0;a--){var l=this.labels[a];if(l.statementStart!==e.start)break;l.statementStart=this.start,l.kind=s}return this.labels.push({name:t,kind:s,statementStart:this.start}),e.body=this.parseStatement(n?-1===n.indexOf("label")?n+"label":n:"label"),this.labels.pop(),e.label=r,this.finishNode(e,"LabeledStatement")},U.parseExpressionStatement=function(e,t){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")},U.parseBlock=function(e,t,r){for(void 0===e&&(e=!0),void 0===t&&(t=this.startNode()),t.body=[],this.expect(w.braceL),e&&this.enterScope(0);this.type!==w.braceR;){var n=this.parseStatement(null);t.body.push(n)}return r&&(this.strict=!1),this.next(),e&&this.exitScope(),this.finishNode(t,"BlockStatement")},U.parseFor=function(e,t){return e.init=t,this.expect(w.semi),e.test=this.type===w.semi?null:this.parseExpression(),this.expect(w.semi),e.update=this.type===w.parenR?null:this.parseExpression(),this.expect(w.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,"ForStatement")},U.parseForIn=function(e,t){var r=this.type===w._in;return this.next(),"VariableDeclaration"===t.type&&null!=t.declarations[0].init&&(!r||this.options.ecmaVersion<8||this.strict||"var"!==t.kind||"Identifier"!==t.declarations[0].id.type)?this.raise(t.start,(r?"for-in":"for-of")+" loop variable declaration may not have an initializer"):"AssignmentPattern"===t.type&&this.raise(t.start,"Invalid left-hand side in for-loop"),e.left=t,e.right=r?this.parseExpression():this.parseMaybeAssign(),this.expect(w.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,r?"ForInStatement":"ForOfStatement")},U.parseVar=function(e,t,r){for(e.declarations=[],e.kind=r;;){var n=this.startNode();if(this.parseVarId(n,r),this.eat(w.eq)?n.init=this.parseMaybeAssign(t):"const"!==r||this.type===w._in||this.options.ecmaVersion>=6&&this.isContextual("of")?"Identifier"===n.id.type||t&&(this.type===w._in||this.isContextual("of"))?n.init=null:this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):this.unexpected(),e.declarations.push(this.finishNode(n,"VariableDeclarator")),!this.eat(w.comma))break}return e},U.parseVarId=function(e,t){e.id=this.parseBindingAtom(),this.checkLVal(e.id,"var"===t?1:2,!1)};var G=1,Y=2;U.parseFunction=function(e,t,r,n){this.initFunction(e),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!n)&&(this.type===w.star&&t&Y&&this.unexpected(),e.generator=this.eat(w.star)),this.options.ecmaVersion>=8&&(e.async=!!n),t&G&&(e.id=4&t&&this.type!==w.name?null:this.parseIdent(),!e.id||t&Y||this.checkLVal(e.id,this.strict||e.generator||e.async?this.treatFunctionsAsVar?1:2:3));var i=this.yieldPos,o=this.awaitPos,s=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(L(e.async,e.generator)),t&G||(e.id=this.type===w.name?this.parseIdent():null),this.parseFunctionParams(e),this.parseFunctionBody(e,r,!1),this.yieldPos=i,this.awaitPos=o,this.awaitIdentPos=s,this.finishNode(e,t&G?"FunctionDeclaration":"FunctionExpression")},U.parseFunctionParams=function(e){this.expect(w.parenL),e.params=this.parseBindingList(w.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()},U.parseClass=function(e,t){this.next();var r=this.strict;this.strict=!0,this.parseClassId(e,t),this.parseClassSuper(e);var n=this.startNode(),i=!1;for(n.body=[],this.expect(w.braceL);this.type!==w.braceR;){var o=this.parseClassElement(null!==e.superClass);o&&(n.body.push(o),"MethodDefinition"===o.type&&"constructor"===o.kind&&(i&&this.raise(o.start,"Duplicate constructor in the same class"),i=!0))}return this.strict=r,this.next(),e.body=this.finishNode(n,"ClassBody"),this.finishNode(e,t?"ClassDeclaration":"ClassExpression")},U.parseClassElement=function(e){var t=this;if(this.eat(w.semi))return null;var r=this.startNode(),n=function(e,n){void 0===n&&(n=!1);var i=t.start,o=t.startLoc;return!(!t.eatContextual(e)||(t.type===w.parenL||n&&t.canInsertSemicolon())&&(r.key&&t.unexpected(),r.computed=!1,r.key=t.startNodeAt(i,o),r.key.name=e,t.finishNode(r.key,"Identifier"),1))};r.kind="method",r.static=n("static");var i=this.eat(w.star),o=!1;i||(this.options.ecmaVersion>=8&&n("async",!0)?(o=!0,i=this.options.ecmaVersion>=9&&this.eat(w.star)):n("get")?r.kind="get":n("set")&&(r.kind="set")),r.key||this.parsePropertyName(r);var s=r.key,a=!1;return r.computed||r.static||!("Identifier"===s.type&&"constructor"===s.name||"Literal"===s.type&&"constructor"===s.value)?r.static&&"Identifier"===s.type&&"prototype"===s.name&&this.raise(s.start,"Classes may not have a static property named prototype"):("method"!==r.kind&&this.raise(s.start,"Constructor can't have get/set modifier"),i&&this.raise(s.start,"Constructor can't be a generator"),o&&this.raise(s.start,"Constructor can't be an async method"),r.kind="constructor",a=e),this.parseClassMethod(r,i,o,a),"get"===r.kind&&0!==r.value.params.length&&this.raiseRecoverable(r.value.start,"getter should have no params"),"set"===r.kind&&1!==r.value.params.length&&this.raiseRecoverable(r.value.start,"setter should have exactly one param"),"set"===r.kind&&"RestElement"===r.value.params[0].type&&this.raiseRecoverable(r.value.params[0].start,"Setter cannot use rest params"),r},U.parseClassMethod=function(e,t,r,n){return e.value=this.parseMethod(t,r,n),this.finishNode(e,"MethodDefinition")},U.parseClassId=function(e,t){this.type===w.name?(e.id=this.parseIdent(),t&&this.checkLVal(e.id,2,!1)):(!0===t&&this.unexpected(),e.id=null)},U.parseClassSuper=function(e){e.superClass=this.eat(w._extends)?this.parseExprSubscripts():null},U.parseExport=function(e,t){if(this.next(),this.eat(w.star))return this.options.ecmaVersion>=11&&(this.eatContextual("as")?(e.exported=this.parseIdent(!0),this.checkExport(t,e.exported.name,this.lastTokStart)):e.exported=null),this.expectContextual("from"),this.type!==w.string&&this.unexpected(),e.source=this.parseExprAtom(),this.semicolon(),this.finishNode(e,"ExportAllDeclaration");if(this.eat(w._default)){var r;if(this.checkExport(t,"default",this.lastTokStart),this.type===w._function||(r=this.isAsyncFunction())){var n=this.startNode();this.next(),r&&this.next(),e.declaration=this.parseFunction(n,4|G,!1,r)}else if(this.type===w._class){var i=this.startNode();e.declaration=this.parseClass(i,"nullableID")}else e.declaration=this.parseMaybeAssign(),this.semicolon();return this.finishNode(e,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement())e.declaration=this.parseStatement(null),"VariableDeclaration"===e.declaration.type?this.checkVariableExport(t,e.declaration.declarations):this.checkExport(t,e.declaration.id.name,e.declaration.id.start),e.specifiers=[],e.source=null;else{if(e.declaration=null,e.specifiers=this.parseExportSpecifiers(t),this.eatContextual("from"))this.type!==w.string&&this.unexpected(),e.source=this.parseExprAtom();else{for(var o=0,s=e.specifiers;o=6&&e)switch(e.type){case"Identifier":this.inAsync&&"await"===e.name&&this.raise(e.start,"Cannot use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"RestElement":break;case"ObjectExpression":e.type="ObjectPattern",r&&this.checkPatternErrors(r,!0);for(var n=0,i=e.properties;n=8&&!o&&"async"===s.name&&!this.canInsertSemicolon()&&this.eat(w._function))return this.parseFunction(this.startNodeAt(n,i),0,!1,!0);if(r&&!this.canInsertSemicolon()){if(this.eat(w.arrow))return this.parseArrowExpression(this.startNodeAt(n,i),[s],!1);if(this.options.ecmaVersion>=8&&"async"===s.name&&this.type===w.name&&!o)return s=this.parseIdent(!1),!this.canInsertSemicolon()&&this.eat(w.arrow)||this.unexpected(),this.parseArrowExpression(this.startNodeAt(n,i),[s],!0)}return s;case w.regexp:var a=this.value;return(t=this.parseLiteral(a.value)).regex={pattern:a.pattern,flags:a.flags},t;case w.num:case w.string:return this.parseLiteral(this.value);case w._null:case w._true:case w._false:return(t=this.startNode()).value=this.type===w._null?null:this.type===w._true,t.raw=this.type.keyword,this.next(),this.finishNode(t,"Literal");case w.parenL:var l=this.start,c=this.parseParenAndDistinguishExpression(r);return e&&(e.parenthesizedAssign<0&&!this.isSimpleAssignTarget(c)&&(e.parenthesizedAssign=l),e.parenthesizedBind<0&&(e.parenthesizedBind=l)),c;case w.bracketL:return t=this.startNode(),this.next(),t.elements=this.parseExprList(w.bracketR,!0,!0,e),this.finishNode(t,"ArrayExpression");case w.braceL:return this.parseObj(!1,e);case w._function:return t=this.startNode(),this.next(),this.parseFunction(t,0);case w._class:return this.parseClass(this.startNode(),!1);case w._new:return this.parseNew();case w.backQuote:return this.parseTemplate();case w._import:return this.options.ecmaVersion>=11?this.parseExprImport():this.unexpected();default:this.unexpected()}},Q.parseExprImport=function(){var e=this.startNode();this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword import");var t=this.parseIdent(!0);switch(this.type){case w.parenL:return this.parseDynamicImport(e);case w.dot:return e.meta=t,this.parseImportMeta(e);default:this.unexpected()}},Q.parseDynamicImport=function(e){if(this.next(),e.source=this.parseMaybeAssign(),!this.eat(w.parenR)){var t=this.start;this.eat(w.comma)&&this.eat(w.parenR)?this.raiseRecoverable(t,"Trailing comma is not allowed in import()"):this.unexpected(t)}return this.finishNode(e,"ImportExpression")},Q.parseImportMeta=function(e){this.next();var t=this.containsEsc;return e.property=this.parseIdent(!0),"meta"!==e.property.name&&this.raiseRecoverable(e.property.start,"The only valid meta property for import is 'import.meta'"),t&&this.raiseRecoverable(e.start,"'import.meta' must not contain escaped characters"),"module"!==this.options.sourceType&&this.raiseRecoverable(e.start,"Cannot use 'import.meta' outside a module"),this.finishNode(e,"MetaProperty")},Q.parseLiteral=function(e){var t=this.startNode();return t.value=e,t.raw=this.input.slice(this.start,this.end),110===t.raw.charCodeAt(t.raw.length-1)&&(t.bigint=t.raw.slice(0,-1).replace(/_/g,"")),this.next(),this.finishNode(t,"Literal")},Q.parseParenExpression=function(){this.expect(w.parenL);var e=this.parseExpression();return this.expect(w.parenR),e},Q.parseParenAndDistinguishExpression=function(e){var t,r=this.start,n=this.startLoc,i=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var o,s=this.start,a=this.startLoc,l=[],c=!0,u=!1,p=new z,h=this.yieldPos,d=this.awaitPos;for(this.yieldPos=0,this.awaitPos=0;this.type!==w.parenR;){if(c?c=!1:this.expect(w.comma),i&&this.afterTrailingComma(w.parenR,!0)){u=!0;break}if(this.type===w.ellipsis){o=this.start,l.push(this.parseParenItem(this.parseRestBinding())),this.type===w.comma&&this.raise(this.start,"Comma is not permitted after the rest element");break}l.push(this.parseMaybeAssign(!1,p,this.parseParenItem))}var f=this.start,g=this.startLoc;if(this.expect(w.parenR),e&&!this.canInsertSemicolon()&&this.eat(w.arrow))return this.checkPatternErrors(p,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=h,this.awaitPos=d,this.parseParenArrowList(r,n,l);l.length&&!u||this.unexpected(this.lastTokStart),o&&this.unexpected(o),this.checkExpressionErrors(p,!0),this.yieldPos=h||this.yieldPos,this.awaitPos=d||this.awaitPos,l.length>1?((t=this.startNodeAt(s,a)).expressions=l,this.finishNodeAt(t,"SequenceExpression",f,g)):t=l[0]}else t=this.parseParenExpression();if(this.options.preserveParens){var m=this.startNodeAt(r,n);return m.expression=t,this.finishNode(m,"ParenthesizedExpression")}return t},Q.parseParenItem=function(e){return e},Q.parseParenArrowList=function(e,t,r){return this.parseArrowExpression(this.startNodeAt(e,t),r)};var J=[];Q.parseNew=function(){this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword new");var e=this.startNode(),t=this.parseIdent(!0);if(this.options.ecmaVersion>=6&&this.eat(w.dot)){e.meta=t;var r=this.containsEsc;return e.property=this.parseIdent(!0),"target"!==e.property.name&&this.raiseRecoverable(e.property.start,"The only valid meta property for new is 'new.target'"),r&&this.raiseRecoverable(e.start,"'new.target' must not contain escaped characters"),this.inNonArrowFunction()||this.raiseRecoverable(e.start,"'new.target' can only be used in functions"),this.finishNode(e,"MetaProperty")}var n=this.start,i=this.startLoc,o=this.type===w._import;return e.callee=this.parseSubscripts(this.parseExprAtom(),n,i,!0),o&&"ImportExpression"===e.callee.type&&this.raise(n,"Cannot use new with import()"),this.eat(w.parenL)?e.arguments=this.parseExprList(w.parenR,this.options.ecmaVersion>=8,!1):e.arguments=J,this.finishNode(e,"NewExpression")},Q.parseTemplateElement=function(e){var t=e.isTagged,r=this.startNode();return this.type===w.invalidTemplate?(t||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),r.value={raw:this.value,cooked:null}):r.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,"\n"),cooked:this.value},this.next(),r.tail=this.type===w.backQuote,this.finishNode(r,"TemplateElement")},Q.parseTemplate=function(e){void 0===e&&(e={});var t=e.isTagged;void 0===t&&(t=!1);var r=this.startNode();this.next(),r.expressions=[];var n=this.parseTemplateElement({isTagged:t});for(r.quasis=[n];!n.tail;)this.type===w.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(w.dollarBraceL),r.expressions.push(this.parseExpression()),this.expect(w.braceR),r.quasis.push(n=this.parseTemplateElement({isTagged:t}));return this.next(),this.finishNode(r,"TemplateLiteral")},Q.isAsyncProp=function(e){return!e.computed&&"Identifier"===e.key.type&&"async"===e.key.name&&(this.type===w.name||this.type===w.num||this.type===w.string||this.type===w.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===w.star)&&!_.test(this.input.slice(this.lastTokEnd,this.start))},Q.parseObj=function(e,t){var r=this.startNode(),n=!0,i={};for(r.properties=[],this.next();!this.eat(w.braceR);){if(n)n=!1;else if(this.expect(w.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(w.braceR))break;var o=this.parseProperty(e,t);e||this.checkPropClash(o,i,t),r.properties.push(o)}return this.finishNode(r,e?"ObjectPattern":"ObjectExpression")},Q.parseProperty=function(e,t){var r,n,i,o,s=this.startNode();if(this.options.ecmaVersion>=9&&this.eat(w.ellipsis))return e?(s.argument=this.parseIdent(!1),this.type===w.comma&&this.raise(this.start,"Comma is not permitted after the rest element"),this.finishNode(s,"RestElement")):(this.type===w.parenL&&t&&(t.parenthesizedAssign<0&&(t.parenthesizedAssign=this.start),t.parenthesizedBind<0&&(t.parenthesizedBind=this.start)),s.argument=this.parseMaybeAssign(!1,t),this.type===w.comma&&t&&t.trailingComma<0&&(t.trailingComma=this.start),this.finishNode(s,"SpreadElement"));this.options.ecmaVersion>=6&&(s.method=!1,s.shorthand=!1,(e||t)&&(i=this.start,o=this.startLoc),e||(r=this.eat(w.star)));var a=this.containsEsc;return this.parsePropertyName(s),!e&&!a&&this.options.ecmaVersion>=8&&!r&&this.isAsyncProp(s)?(n=!0,r=this.options.ecmaVersion>=9&&this.eat(w.star),this.parsePropertyName(s,t)):n=!1,this.parsePropertyValue(s,e,r,n,i,o,t,a),this.finishNode(s,"Property")},Q.parsePropertyValue=function(e,t,r,n,i,o,s,a){if((r||n)&&this.type===w.colon&&this.unexpected(),this.eat(w.colon))e.value=t?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,s),e.kind="init";else if(this.options.ecmaVersion>=6&&this.type===w.parenL)t&&this.unexpected(),e.kind="init",e.method=!0,e.value=this.parseMethod(r,n);else if(t||a||!(this.options.ecmaVersion>=5)||e.computed||"Identifier"!==e.key.type||"get"!==e.key.name&&"set"!==e.key.name||this.type===w.comma||this.type===w.braceR||this.type===w.eq)this.options.ecmaVersion>=6&&!e.computed&&"Identifier"===e.key.type?((r||n)&&this.unexpected(),this.checkUnreserved(e.key),"await"!==e.key.name||this.awaitIdentPos||(this.awaitIdentPos=i),e.kind="init",t?e.value=this.parseMaybeDefault(i,o,e.key):this.type===w.eq&&s?(s.shorthandAssign<0&&(s.shorthandAssign=this.start),e.value=this.parseMaybeDefault(i,o,e.key)):e.value=e.key,e.shorthand=!0):this.unexpected();else{(r||n)&&this.unexpected(),e.kind=e.key.name,this.parsePropertyName(e),e.value=this.parseMethod(!1);var l="get"===e.kind?0:1;if(e.value.params.length!==l){var c=e.value.start;"get"===e.kind?this.raiseRecoverable(c,"getter should have no params"):this.raiseRecoverable(c,"setter should have exactly one param")}else"set"===e.kind&&"RestElement"===e.value.params[0].type&&this.raiseRecoverable(e.value.params[0].start,"Setter cannot use rest params")}},Q.parsePropertyName=function(e){if(this.options.ecmaVersion>=6){if(this.eat(w.bracketL))return e.computed=!0,e.key=this.parseMaybeAssign(),this.expect(w.bracketR),e.key;e.computed=!1}return e.key=this.type===w.num||this.type===w.string?this.parseExprAtom():this.parseIdent("never"!==this.options.allowReserved)},Q.initFunction=function(e){e.id=null,this.options.ecmaVersion>=6&&(e.generator=e.expression=!1),this.options.ecmaVersion>=8&&(e.async=!1)},Q.parseMethod=function(e,t,r){var n=this.startNode(),i=this.yieldPos,o=this.awaitPos,s=this.awaitIdentPos;return this.initFunction(n),this.options.ecmaVersion>=6&&(n.generator=e),this.options.ecmaVersion>=8&&(n.async=!!t),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(64|L(t,n.generator)|(r?128:0)),this.expect(w.parenL),n.params=this.parseBindingList(w.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(n,!1,!0),this.yieldPos=i,this.awaitPos=o,this.awaitIdentPos=s,this.finishNode(n,"FunctionExpression")},Q.parseArrowExpression=function(e,t,r){var n=this.yieldPos,i=this.awaitPos,o=this.awaitIdentPos;return this.enterScope(16|L(r,!1)),this.initFunction(e),this.options.ecmaVersion>=8&&(e.async=!!r),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,e.params=this.toAssignableList(t,!0),this.parseFunctionBody(e,!0,!1),this.yieldPos=n,this.awaitPos=i,this.awaitIdentPos=o,this.finishNode(e,"ArrowFunctionExpression")},Q.parseFunctionBody=function(e,t,r){var n=t&&this.type!==w.braceL,i=this.strict,o=!1;if(n)e.body=this.parseMaybeAssign(),e.expression=!0,this.checkParams(e,!1);else{var s=this.options.ecmaVersion>=7&&!this.isSimpleParamList(e.params);i&&!s||(o=this.strictDirective(this.end))&&s&&this.raiseRecoverable(e.start,"Illegal 'use strict' directive in function with non-simple parameter list");var a=this.labels;this.labels=[],o&&(this.strict=!0),this.checkParams(e,!i&&!o&&!t&&!r&&this.isSimpleParamList(e.params)),this.strict&&e.id&&this.checkLVal(e.id,5),e.body=this.parseBlock(!1,void 0,o&&!i),e.expression=!1,this.adaptDirectivePrologue(e.body.body),this.labels=a}this.exitScope()},Q.isSimpleParamList=function(e){for(var t=0,r=e;t-1||i.functions.indexOf(e)>-1||i.var.indexOf(e)>-1,i.lexical.push(e),this.inModule&&1&i.flags&&delete this.undefinedExports[e]}else if(4===t)this.currentScope().lexical.push(e);else if(3===t){var o=this.currentScope();n=this.treatFunctionsAsVar?o.lexical.indexOf(e)>-1:o.lexical.indexOf(e)>-1||o.var.indexOf(e)>-1,o.functions.push(e)}else for(var s=this.scopeStack.length-1;s>=0;--s){var a=this.scopeStack[s];if(a.lexical.indexOf(e)>-1&&!(32&a.flags&&a.lexical[0]===e)||!this.treatFunctionsAsVarInScope(a)&&a.functions.indexOf(e)>-1){n=!0;break}if(a.var.push(e),this.inModule&&1&a.flags&&delete this.undefinedExports[e],3&a.flags)break}n&&this.raiseRecoverable(r,"Identifier '"+e+"' has already been declared")},Z.checkLocalExport=function(e){-1===this.scopeStack[0].lexical.indexOf(e.name)&&-1===this.scopeStack[0].var.indexOf(e.name)&&(this.undefinedExports[e.name]=e)},Z.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]},Z.currentVarScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(3&t.flags)return t}},Z.currentThisScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(3&t.flags&&!(16&t.flags))return t}};var te=function(e,t,r){this.type="",this.start=t,this.end=0,e.options.locations&&(this.loc=new M(e,r)),e.options.directSourceFile&&(this.sourceFile=e.options.directSourceFile),e.options.ranges&&(this.range=[t,0])},re=F.prototype;function ne(e,t,r,n){return e.type=t,e.end=r,this.options.locations&&(e.loc.end=n),this.options.ranges&&(e.range[1]=r),e}re.startNode=function(){return new te(this,this.start,this.startLoc)},re.startNodeAt=function(e,t){return new te(this,e,t)},re.finishNode=function(e,t){return ne.call(this,e,t,this.lastTokEnd,this.lastTokEndLoc)},re.finishNodeAt=function(e,t,r,n){return ne.call(this,e,t,r,n)};var ie=function(e,t,r,n,i){this.token=e,this.isExpr=!!t,this.preserveSpace=!!r,this.override=n,this.generator=!!i},oe={b_stat:new ie("{",!1),b_expr:new ie("{",!0),b_tmpl:new ie("${",!1),p_stat:new ie("(",!1),p_expr:new ie("(",!0),q_tmpl:new ie("`",!0,!0,(function(e){return e.tryReadTemplateToken()})),f_stat:new ie("function",!1),f_expr:new ie("function",!0),f_expr_gen:new ie("function",!0,!1,null,!0),f_gen:new ie("function",!1,!1,null,!0)},se=F.prototype;se.initialContext=function(){return[oe.b_stat]},se.braceIsBlock=function(e){var t=this.curContext();return t===oe.f_expr||t===oe.f_stat||(e!==w.colon||t!==oe.b_stat&&t!==oe.b_expr?e===w._return||e===w.name&&this.exprAllowed?_.test(this.input.slice(this.lastTokEnd,this.start)):e===w._else||e===w.semi||e===w.eof||e===w.parenR||e===w.arrow||(e===w.braceL?t===oe.b_stat:e!==w._var&&e!==w._const&&e!==w.name&&!this.exprAllowed):!t.isExpr)},se.inGeneratorContext=function(){for(var e=this.context.length-1;e>=1;e--){var t=this.context[e];if("function"===t.token)return t.generator}return!1},se.updateContext=function(e){var t,r=this.type;r.keyword&&e===w.dot?this.exprAllowed=!1:(t=r.updateContext)?t.call(this,e):this.exprAllowed=r.beforeExpr},w.parenR.updateContext=w.braceR.updateContext=function(){if(1!==this.context.length){var e=this.context.pop();e===oe.b_stat&&"function"===this.curContext().token&&(e=this.context.pop()),this.exprAllowed=!e.isExpr}else this.exprAllowed=!0},w.braceL.updateContext=function(e){this.context.push(this.braceIsBlock(e)?oe.b_stat:oe.b_expr),this.exprAllowed=!0},w.dollarBraceL.updateContext=function(){this.context.push(oe.b_tmpl),this.exprAllowed=!0},w.parenL.updateContext=function(e){var t=e===w._if||e===w._for||e===w._with||e===w._while;this.context.push(t?oe.p_stat:oe.p_expr),this.exprAllowed=!0},w.incDec.updateContext=function(){},w._function.updateContext=w._class.updateContext=function(e){!e.beforeExpr||e===w.semi||e===w._else||e===w._return&&_.test(this.input.slice(this.lastTokEnd,this.start))||(e===w.colon||e===w.braceL)&&this.curContext()===oe.b_stat?this.context.push(oe.f_stat):this.context.push(oe.f_expr),this.exprAllowed=!1},w.backQuote.updateContext=function(){this.curContext()===oe.q_tmpl?this.context.pop():this.context.push(oe.q_tmpl),this.exprAllowed=!1},w.star.updateContext=function(e){if(e===w._function){var t=this.context.length-1;this.context[t]===oe.f_expr?this.context[t]=oe.f_expr_gen:this.context[t]=oe.f_gen}this.exprAllowed=!0},w.name.updateContext=function(e){var t=!1;this.options.ecmaVersion>=6&&e!==w.dot&&("of"===this.value&&!this.exprAllowed||"yield"===this.value&&this.inGeneratorContext())&&(t=!0),this.exprAllowed=t};var ae="ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS",le=ae+" Extended_Pictographic",ce={9:ae,10:le,11:le},ue="Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu",pe="Adlam Adlm Ahom Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb",he=pe+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",de={9:pe,10:he,11:he+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho"},fe={};function ge(e){var t=fe[e]={binary:P(ce[e]+" "+ue),nonBinary:{General_Category:P(ue),Script:P(de[e])}};t.nonBinary.Script_Extensions=t.nonBinary.Script,t.nonBinary.gc=t.nonBinary.General_Category,t.nonBinary.sc=t.nonBinary.Script,t.nonBinary.scx=t.nonBinary.Script_Extensions}ge(9),ge(10),ge(11);var me=F.prototype,ve=function(e){this.parser=e,this.validFlags="gim"+(e.options.ecmaVersion>=6?"uy":"")+(e.options.ecmaVersion>=9?"s":""),this.unicodeProperties=fe[e.options.ecmaVersion>=11?11:e.options.ecmaVersion],this.source="",this.flags="",this.start=0,this.switchU=!1,this.switchN=!1,this.pos=0,this.lastIntValue=0,this.lastStringValue="",this.lastAssertionIsQuantifiable=!1,this.numCapturingParens=0,this.maxBackReference=0,this.groupNames=[],this.backReferenceNames=[]};function ye(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode(55296+(e>>10),56320+(1023&e)))}function be(e){return 36===e||e>=40&&e<=43||46===e||63===e||e>=91&&e<=94||e>=123&&e<=125}function we(e){return e>=65&&e<=90||e>=97&&e<=122}function _e(e){return we(e)||95===e}function xe(e){return _e(e)||ke(e)}function ke(e){return e>=48&&e<=57}function Se(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function Ee(e){return e>=65&&e<=70?e-65+10:e>=97&&e<=102?e-97+10:e-48}function Ce(e){return e>=48&&e<=55}ve.prototype.reset=function(e,t,r){var n=-1!==r.indexOf("u");this.start=0|e,this.source=t+"",this.flags=r,this.switchU=n&&this.parser.options.ecmaVersion>=6,this.switchN=n&&this.parser.options.ecmaVersion>=9},ve.prototype.raise=function(e){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+e)},ve.prototype.at=function(e,t){void 0===t&&(t=!1);var r=this.source,n=r.length;if(e>=n)return-1;var i=r.charCodeAt(e);if(!t&&!this.switchU||i<=55295||i>=57344||e+1>=n)return i;var o=r.charCodeAt(e+1);return o>=56320&&o<=57343?(i<<10)+o-56613888:i},ve.prototype.nextIndex=function(e,t){void 0===t&&(t=!1);var r=this.source,n=r.length;if(e>=n)return n;var i,o=r.charCodeAt(e);return!t&&!this.switchU||o<=55295||o>=57344||e+1>=n||(i=r.charCodeAt(e+1))<56320||i>57343?e+1:e+2},ve.prototype.current=function(e){return void 0===e&&(e=!1),this.at(this.pos,e)},ve.prototype.lookahead=function(e){return void 0===e&&(e=!1),this.at(this.nextIndex(this.pos,e),e)},ve.prototype.advance=function(e){void 0===e&&(e=!1),this.pos=this.nextIndex(this.pos,e)},ve.prototype.eat=function(e,t){return void 0===t&&(t=!1),this.current(t)===e&&(this.advance(t),!0)},me.validateRegExpFlags=function(e){for(var t=e.validFlags,r=e.flags,n=0;n-1&&this.raise(e.start,"Duplicate regular expression flag")}},me.validateRegExpPattern=function(e){this.regexp_pattern(e),!e.switchN&&this.options.ecmaVersion>=9&&e.groupNames.length>0&&(e.switchN=!0,this.regexp_pattern(e))},me.regexp_pattern=function(e){e.pos=0,e.lastIntValue=0,e.lastStringValue="",e.lastAssertionIsQuantifiable=!1,e.numCapturingParens=0,e.maxBackReference=0,e.groupNames.length=0,e.backReferenceNames.length=0,this.regexp_disjunction(e),e.pos!==e.source.length&&(e.eat(41)&&e.raise("Unmatched ')'"),(e.eat(93)||e.eat(125))&&e.raise("Lone quantifier brackets")),e.maxBackReference>e.numCapturingParens&&e.raise("Invalid escape");for(var t=0,r=e.backReferenceNames;t=9&&(r=e.eat(60)),e.eat(61)||e.eat(33))return this.regexp_disjunction(e),e.eat(41)||e.raise("Unterminated group"),e.lastAssertionIsQuantifiable=!r,!0}return e.pos=t,!1},me.regexp_eatQuantifier=function(e,t){return void 0===t&&(t=!1),!!this.regexp_eatQuantifierPrefix(e,t)&&(e.eat(63),!0)},me.regexp_eatQuantifierPrefix=function(e,t){return e.eat(42)||e.eat(43)||e.eat(63)||this.regexp_eatBracedQuantifier(e,t)},me.regexp_eatBracedQuantifier=function(e,t){var r=e.pos;if(e.eat(123)){var n=0,i=-1;if(this.regexp_eatDecimalDigits(e)&&(n=e.lastIntValue,e.eat(44)&&this.regexp_eatDecimalDigits(e)&&(i=e.lastIntValue),e.eat(125)))return-1!==i&&i=9?this.regexp_groupSpecifier(e):63===e.current()&&e.raise("Invalid group"),this.regexp_disjunction(e),e.eat(41))return e.numCapturingParens+=1,!0;e.raise("Unterminated group")}return!1},me.regexp_eatExtendedAtom=function(e){return e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)||this.regexp_eatInvalidBracedQuantifier(e)||this.regexp_eatExtendedPatternCharacter(e)},me.regexp_eatInvalidBracedQuantifier=function(e){return this.regexp_eatBracedQuantifier(e,!0)&&e.raise("Nothing to repeat"),!1},me.regexp_eatSyntaxCharacter=function(e){var t=e.current();return!!be(t)&&(e.lastIntValue=t,e.advance(),!0)},me.regexp_eatPatternCharacters=function(e){for(var t=e.pos,r=0;-1!==(r=e.current())&&!be(r);)e.advance();return e.pos!==t},me.regexp_eatExtendedPatternCharacter=function(e){var t=e.current();return!(-1===t||36===t||t>=40&&t<=43||46===t||63===t||91===t||94===t||124===t||(e.advance(),0))},me.regexp_groupSpecifier=function(e){if(e.eat(63)){if(this.regexp_eatGroupName(e))return-1!==e.groupNames.indexOf(e.lastStringValue)&&e.raise("Duplicate capture group name"),void e.groupNames.push(e.lastStringValue);e.raise("Invalid group")}},me.regexp_eatGroupName=function(e){if(e.lastStringValue="",e.eat(60)){if(this.regexp_eatRegExpIdentifierName(e)&&e.eat(62))return!0;e.raise("Invalid capture group name")}return!1},me.regexp_eatRegExpIdentifierName=function(e){if(e.lastStringValue="",this.regexp_eatRegExpIdentifierStart(e)){for(e.lastStringValue+=ye(e.lastIntValue);this.regexp_eatRegExpIdentifierPart(e);)e.lastStringValue+=ye(e.lastIntValue);return!0}return!1},me.regexp_eatRegExpIdentifierStart=function(e){var t=e.pos,r=this.options.ecmaVersion>=11,n=e.current(r);return e.advance(r),92===n&&this.regexp_eatRegExpUnicodeEscapeSequence(e,r)&&(n=e.lastIntValue),function(e){return h(e,!0)||36===e||95===e}(n)?(e.lastIntValue=n,!0):(e.pos=t,!1)},me.regexp_eatRegExpIdentifierPart=function(e){var t=e.pos,r=this.options.ecmaVersion>=11,n=e.current(r);return e.advance(r),92===n&&this.regexp_eatRegExpUnicodeEscapeSequence(e,r)&&(n=e.lastIntValue),function(e){return d(e,!0)||36===e||95===e||8204===e||8205===e}(n)?(e.lastIntValue=n,!0):(e.pos=t,!1)},me.regexp_eatAtomEscape=function(e){return!!(this.regexp_eatBackReference(e)||this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)||e.switchN&&this.regexp_eatKGroupName(e))||(e.switchU&&(99===e.current()&&e.raise("Invalid unicode escape"),e.raise("Invalid escape")),!1)},me.regexp_eatBackReference=function(e){var t=e.pos;if(this.regexp_eatDecimalEscape(e)){var r=e.lastIntValue;if(e.switchU)return r>e.maxBackReference&&(e.maxBackReference=r),!0;if(r<=e.numCapturingParens)return!0;e.pos=t}return!1},me.regexp_eatKGroupName=function(e){if(e.eat(107)){if(this.regexp_eatGroupName(e))return e.backReferenceNames.push(e.lastStringValue),!0;e.raise("Invalid named reference")}return!1},me.regexp_eatCharacterEscape=function(e){return this.regexp_eatControlEscape(e)||this.regexp_eatCControlLetter(e)||this.regexp_eatZero(e)||this.regexp_eatHexEscapeSequence(e)||this.regexp_eatRegExpUnicodeEscapeSequence(e,!1)||!e.switchU&&this.regexp_eatLegacyOctalEscapeSequence(e)||this.regexp_eatIdentityEscape(e)},me.regexp_eatCControlLetter=function(e){var t=e.pos;if(e.eat(99)){if(this.regexp_eatControlLetter(e))return!0;e.pos=t}return!1},me.regexp_eatZero=function(e){return 48===e.current()&&!ke(e.lookahead())&&(e.lastIntValue=0,e.advance(),!0)},me.regexp_eatControlEscape=function(e){var t=e.current();return 116===t?(e.lastIntValue=9,e.advance(),!0):110===t?(e.lastIntValue=10,e.advance(),!0):118===t?(e.lastIntValue=11,e.advance(),!0):102===t?(e.lastIntValue=12,e.advance(),!0):114===t&&(e.lastIntValue=13,e.advance(),!0)},me.regexp_eatControlLetter=function(e){var t=e.current();return!!we(t)&&(e.lastIntValue=t%32,e.advance(),!0)},me.regexp_eatRegExpUnicodeEscapeSequence=function(e,t){void 0===t&&(t=!1);var r,n=e.pos,i=t||e.switchU;if(e.eat(117)){if(this.regexp_eatFixedHexDigits(e,4)){var o=e.lastIntValue;if(i&&o>=55296&&o<=56319){var s=e.pos;if(e.eat(92)&&e.eat(117)&&this.regexp_eatFixedHexDigits(e,4)){var a=e.lastIntValue;if(a>=56320&&a<=57343)return e.lastIntValue=1024*(o-55296)+(a-56320)+65536,!0}e.pos=s,e.lastIntValue=o}return!0}if(i&&e.eat(123)&&this.regexp_eatHexDigits(e)&&e.eat(125)&&(r=e.lastIntValue)>=0&&r<=1114111)return!0;i&&e.raise("Invalid unicode escape"),e.pos=n}return!1},me.regexp_eatIdentityEscape=function(e){if(e.switchU)return!!this.regexp_eatSyntaxCharacter(e)||!!e.eat(47)&&(e.lastIntValue=47,!0);var t=e.current();return!(99===t||e.switchN&&107===t||(e.lastIntValue=t,e.advance(),0))},me.regexp_eatDecimalEscape=function(e){e.lastIntValue=0;var t=e.current();if(t>=49&&t<=57){do{e.lastIntValue=10*e.lastIntValue+(t-48),e.advance()}while((t=e.current())>=48&&t<=57);return!0}return!1},me.regexp_eatCharacterClassEscape=function(e){var t=e.current();if(function(e){return 100===e||68===e||115===e||83===e||119===e||87===e}(t))return e.lastIntValue=-1,e.advance(),!0;if(e.switchU&&this.options.ecmaVersion>=9&&(80===t||112===t)){if(e.lastIntValue=-1,e.advance(),e.eat(123)&&this.regexp_eatUnicodePropertyValueExpression(e)&&e.eat(125))return!0;e.raise("Invalid property name")}return!1},me.regexp_eatUnicodePropertyValueExpression=function(e){var t=e.pos;if(this.regexp_eatUnicodePropertyName(e)&&e.eat(61)){var r=e.lastStringValue;if(this.regexp_eatUnicodePropertyValue(e)){var n=e.lastStringValue;return this.regexp_validateUnicodePropertyNameAndValue(e,r,n),!0}}if(e.pos=t,this.regexp_eatLoneUnicodePropertyNameOrValue(e)){var i=e.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(e,i),!0}return!1},me.regexp_validateUnicodePropertyNameAndValue=function(e,t,r){R(e.unicodeProperties.nonBinary,t)||e.raise("Invalid property name"),e.unicodeProperties.nonBinary[t].test(r)||e.raise("Invalid property value")},me.regexp_validateUnicodePropertyNameOrValue=function(e,t){e.unicodeProperties.binary.test(t)||e.raise("Invalid property name")},me.regexp_eatUnicodePropertyName=function(e){var t=0;for(e.lastStringValue="";_e(t=e.current());)e.lastStringValue+=ye(t),e.advance();return""!==e.lastStringValue},me.regexp_eatUnicodePropertyValue=function(e){var t=0;for(e.lastStringValue="";xe(t=e.current());)e.lastStringValue+=ye(t),e.advance();return""!==e.lastStringValue},me.regexp_eatLoneUnicodePropertyNameOrValue=function(e){return this.regexp_eatUnicodePropertyValue(e)},me.regexp_eatCharacterClass=function(e){if(e.eat(91)){if(e.eat(94),this.regexp_classRanges(e),e.eat(93))return!0;e.raise("Unterminated character class")}return!1},me.regexp_classRanges=function(e){for(;this.regexp_eatClassAtom(e);){var t=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassAtom(e)){var r=e.lastIntValue;!e.switchU||-1!==t&&-1!==r||e.raise("Invalid character class"),-1!==t&&-1!==r&&t>r&&e.raise("Range out of order in character class")}}},me.regexp_eatClassAtom=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatClassEscape(e))return!0;if(e.switchU){var r=e.current();(99===r||Ce(r))&&e.raise("Invalid class escape"),e.raise("Invalid escape")}e.pos=t}var n=e.current();return 93!==n&&(e.lastIntValue=n,e.advance(),!0)},me.regexp_eatClassEscape=function(e){var t=e.pos;if(e.eat(98))return e.lastIntValue=8,!0;if(e.switchU&&e.eat(45))return e.lastIntValue=45,!0;if(!e.switchU&&e.eat(99)){if(this.regexp_eatClassControlLetter(e))return!0;e.pos=t}return this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)},me.regexp_eatClassControlLetter=function(e){var t=e.current();return!(!ke(t)&&95!==t||(e.lastIntValue=t%32,e.advance(),0))},me.regexp_eatHexEscapeSequence=function(e){var t=e.pos;if(e.eat(120)){if(this.regexp_eatFixedHexDigits(e,2))return!0;e.switchU&&e.raise("Invalid escape"),e.pos=t}return!1},me.regexp_eatDecimalDigits=function(e){var t=e.pos,r=0;for(e.lastIntValue=0;ke(r=e.current());)e.lastIntValue=10*e.lastIntValue+(r-48),e.advance();return e.pos!==t},me.regexp_eatHexDigits=function(e){var t=e.pos,r=0;for(e.lastIntValue=0;Se(r=e.current());)e.lastIntValue=16*e.lastIntValue+Ee(r),e.advance();return e.pos!==t},me.regexp_eatLegacyOctalEscapeSequence=function(e){if(this.regexp_eatOctalDigit(e)){var t=e.lastIntValue;if(this.regexp_eatOctalDigit(e)){var r=e.lastIntValue;t<=3&&this.regexp_eatOctalDigit(e)?e.lastIntValue=64*t+8*r+e.lastIntValue:e.lastIntValue=8*t+r}else e.lastIntValue=t;return!0}return!1},me.regexp_eatOctalDigit=function(e){var t=e.current();return Ce(t)?(e.lastIntValue=t-48,e.advance(),!0):(e.lastIntValue=0,!1)},me.regexp_eatFixedHexDigits=function(e,t){var r=e.pos;e.lastIntValue=0;for(var n=0;n>10),56320+(1023&e)))}Ae.next=function(e){!e&&this.type.keyword&&this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword "+this.type.keyword),this.options.onToken&&this.options.onToken(new Te(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()},Ae.getToken=function(){return this.next(),new Te(this)},"undefined"!=typeof Symbol&&(Ae[Symbol.iterator]=function(){var e=this;return{next:function(){var t=e.getToken();return{done:t.type===w.eof,value:t}}}}),Ae.curContext=function(){return this.context[this.context.length-1]},Ae.nextToken=function(){var e=this.curContext();return e&&e.preserveSpace||this.skipSpace(),this.start=this.pos,this.options.locations&&(this.startLoc=this.curPosition()),this.pos>=this.input.length?this.finishToken(w.eof):e.override?e.override(this):void this.readToken(this.fullCharCodeAtPos())},Ae.readToken=function(e){return h(e,this.options.ecmaVersion>=6)||92===e?this.readWord():this.getTokenFromCode(e)},Ae.fullCharCodeAtPos=function(){var e=this.input.charCodeAt(this.pos);return e<=55295||e>=57344?e:(e<<10)+this.input.charCodeAt(this.pos+1)-56613888},Ae.skipBlockComment=function(){var e,t=this.options.onComment&&this.curPosition(),r=this.pos,n=this.input.indexOf("*/",this.pos+=2);if(-1===n&&this.raise(this.pos-2,"Unterminated comment"),this.pos=n+2,this.options.locations)for(x.lastIndex=r;(e=x.exec(this.input))&&e.index8&&e<14||e>=5760&&S.test(String.fromCharCode(e))))break e;++this.pos}}},Ae.finishToken=function(e,t){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var r=this.type;this.type=e,this.value=t,this.updateContext(r)},Ae.readToken_dot=function(){var e=this.input.charCodeAt(this.pos+1);if(e>=48&&e<=57)return this.readNumber(!0);var t=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&46===e&&46===t?(this.pos+=3,this.finishToken(w.ellipsis)):(++this.pos,this.finishToken(w.dot))},Ae.readToken_slash=function(){var e=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):61===e?this.finishOp(w.assign,2):this.finishOp(w.slash,1)},Ae.readToken_mult_modulo_exp=function(e){var t=this.input.charCodeAt(this.pos+1),r=1,n=42===e?w.star:w.modulo;return this.options.ecmaVersion>=7&&42===e&&42===t&&(++r,n=w.starstar,t=this.input.charCodeAt(this.pos+2)),61===t?this.finishOp(w.assign,r+1):this.finishOp(n,r)},Ae.readToken_pipe_amp=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?this.options.ecmaVersion>=12&&61===this.input.charCodeAt(this.pos+2)?this.finishOp(w.assign,3):this.finishOp(124===e?w.logicalOR:w.logicalAND,2):61===t?this.finishOp(w.assign,2):this.finishOp(124===e?w.bitwiseOR:w.bitwiseAND,1)},Ae.readToken_caret=function(){return 61===this.input.charCodeAt(this.pos+1)?this.finishOp(w.assign,2):this.finishOp(w.bitwiseXOR,1)},Ae.readToken_plus_min=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?45!==t||this.inModule||62!==this.input.charCodeAt(this.pos+2)||0!==this.lastTokEnd&&!_.test(this.input.slice(this.lastTokEnd,this.pos))?this.finishOp(w.incDec,2):(this.skipLineComment(3),this.skipSpace(),this.nextToken()):61===t?this.finishOp(w.assign,2):this.finishOp(w.plusMin,1)},Ae.readToken_lt_gt=function(e){var t=this.input.charCodeAt(this.pos+1),r=1;return t===e?(r=62===e&&62===this.input.charCodeAt(this.pos+2)?3:2,61===this.input.charCodeAt(this.pos+r)?this.finishOp(w.assign,r+1):this.finishOp(w.bitShift,r)):33!==t||60!==e||this.inModule||45!==this.input.charCodeAt(this.pos+2)||45!==this.input.charCodeAt(this.pos+3)?(61===t&&(r=2),this.finishOp(w.relational,r)):(this.skipLineComment(4),this.skipSpace(),this.nextToken())},Ae.readToken_eq_excl=function(e){var t=this.input.charCodeAt(this.pos+1);return 61===t?this.finishOp(w.equality,61===this.input.charCodeAt(this.pos+2)?3:2):61===e&&62===t&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(w.arrow)):this.finishOp(61===e?w.eq:w.prefix,1)},Ae.readToken_question=function(){var e=this.options.ecmaVersion;if(e>=11){var t=this.input.charCodeAt(this.pos+1);if(46===t){var r=this.input.charCodeAt(this.pos+2);if(r<48||r>57)return this.finishOp(w.questionDot,2)}if(63===t)return e>=12&&61===this.input.charCodeAt(this.pos+2)?this.finishOp(w.assign,3):this.finishOp(w.coalesce,2)}return this.finishOp(w.question,1)},Ae.getTokenFromCode=function(e){switch(e){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(w.parenL);case 41:return++this.pos,this.finishToken(w.parenR);case 59:return++this.pos,this.finishToken(w.semi);case 44:return++this.pos,this.finishToken(w.comma);case 91:return++this.pos,this.finishToken(w.bracketL);case 93:return++this.pos,this.finishToken(w.bracketR);case 123:return++this.pos,this.finishToken(w.braceL);case 125:return++this.pos,this.finishToken(w.braceR);case 58:return++this.pos,this.finishToken(w.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(w.backQuote);case 48:var t=this.input.charCodeAt(this.pos+1);if(120===t||88===t)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(111===t||79===t)return this.readRadixNumber(8);if(98===t||66===t)return this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(!1);case 34:case 39:return this.readString(e);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(e);case 124:case 38:return this.readToken_pipe_amp(e);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(e);case 60:case 62:return this.readToken_lt_gt(e);case 61:case 33:return this.readToken_eq_excl(e);case 63:return this.readToken_question();case 126:return this.finishOp(w.prefix,1)}this.raise(this.pos,"Unexpected character '"+Oe(e)+"'")},Ae.finishOp=function(e,t){var r=this.input.slice(this.pos,this.pos+t);return this.pos+=t,this.finishToken(e,r)},Ae.readRegexp=function(){for(var e,t,r=this.pos;;){this.pos>=this.input.length&&this.raise(r,"Unterminated regular expression");var n=this.input.charAt(this.pos);if(_.test(n)&&this.raise(r,"Unterminated regular expression"),e)e=!1;else{if("["===n)t=!0;else if("]"===n&&t)t=!1;else if("/"===n&&!t)break;e="\\"===n}++this.pos}var i=this.input.slice(r,this.pos);++this.pos;var o=this.pos,s=this.readWord1();this.containsEsc&&this.unexpected(o);var a=this.regexpState||(this.regexpState=new ve(this));a.reset(r,i,s),this.validateRegExpFlags(a),this.validateRegExpPattern(a);var l=null;try{l=new RegExp(i,s)}catch(e){}return this.finishToken(w.regexp,{pattern:i,flags:s,value:l})},Ae.readInt=function(e,t,r){for(var n=this.options.ecmaVersion>=12&&void 0===t,i=r&&48===this.input.charCodeAt(this.pos),o=this.pos,s=0,a=0,l=0,c=null==t?1/0:t;l=97?u-97+10:u>=65?u-65+10:u>=48&&u<=57?u-48:1/0)>=e)break;a=u,s=s*e+p}}return n&&95===a&&this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits"),this.pos===o||null!=t&&this.pos-o!==t?null:s},Ae.readRadixNumber=function(e){var t=this.pos;this.pos+=2;var r=this.readInt(e);return null==r&&this.raise(this.start+2,"Expected number in radix "+e),this.options.ecmaVersion>=11&&110===this.input.charCodeAt(this.pos)?(r=Re(this.input.slice(t,this.pos)),++this.pos):h(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(w.num,r)},Ae.readNumber=function(e){var t=this.pos;e||null!==this.readInt(10,void 0,!0)||this.raise(t,"Invalid number");var r=this.pos-t>=2&&48===this.input.charCodeAt(t);r&&this.strict&&this.raise(t,"Invalid number");var n=this.input.charCodeAt(this.pos);if(!r&&!e&&this.options.ecmaVersion>=11&&110===n){var i=Re(this.input.slice(t,this.pos));return++this.pos,h(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(w.num,i)}r&&/[89]/.test(this.input.slice(t,this.pos))&&(r=!1),46!==n||r||(++this.pos,this.readInt(10),n=this.input.charCodeAt(this.pos)),69!==n&&101!==n||r||(43!==(n=this.input.charCodeAt(++this.pos))&&45!==n||++this.pos,null===this.readInt(10)&&this.raise(t,"Invalid number")),h(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var o,s=(o=this.input.slice(t,this.pos),r?parseInt(o,8):parseFloat(o.replace(/_/g,"")));return this.finishToken(w.num,s)},Ae.readCodePoint=function(){var e;if(123===this.input.charCodeAt(this.pos)){this.options.ecmaVersion<6&&this.unexpected();var t=++this.pos;e=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,e>1114111&&this.invalidStringToken(t,"Code point out of bounds")}else e=this.readHexChar(4);return e},Ae.readString=function(e){for(var t="",r=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var n=this.input.charCodeAt(this.pos);if(n===e)break;92===n?(t+=this.input.slice(r,this.pos),t+=this.readEscapedChar(!1),r=this.pos):(k(n,this.options.ecmaVersion>=10)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return t+=this.input.slice(r,this.pos++),this.finishToken(w.string,t)};var Pe={};Ae.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(e){if(e!==Pe)throw e;this.readInvalidTemplateToken()}this.inTemplateElement=!1},Ae.invalidStringToken=function(e,t){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw Pe;this.raise(e,t)},Ae.readTmplToken=function(){for(var e="",t=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var r=this.input.charCodeAt(this.pos);if(96===r||36===r&&123===this.input.charCodeAt(this.pos+1))return this.pos!==this.start||this.type!==w.template&&this.type!==w.invalidTemplate?(e+=this.input.slice(t,this.pos),this.finishToken(w.template,e)):36===r?(this.pos+=2,this.finishToken(w.dollarBraceL)):(++this.pos,this.finishToken(w.backQuote));if(92===r)e+=this.input.slice(t,this.pos),e+=this.readEscapedChar(!0),t=this.pos;else if(k(r)){switch(e+=this.input.slice(t,this.pos),++this.pos,r){case 13:10===this.input.charCodeAt(this.pos)&&++this.pos;case 10:e+="\n";break;default:e+=String.fromCharCode(r)}this.options.locations&&(++this.curLine,this.lineStart=this.pos),t=this.pos}else++this.pos}},Ae.readInvalidTemplateToken=function(){for(;this.pos=48&&t<=55){var n=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],i=parseInt(n,8);return i>255&&(n=n.slice(0,-1),i=parseInt(n,8)),this.pos+=n.length-1,t=this.input.charCodeAt(this.pos),"0"===n&&56!==t&&57!==t||!this.strict&&!e||this.invalidStringToken(this.pos-1-n.length,e?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(i)}return k(t)?"":String.fromCharCode(t)}},Ae.readHexChar=function(e){var t=this.pos,r=this.readInt(16,e);return null===r&&this.invalidStringToken(t,"Bad character escape sequence"),r},Ae.readWord1=function(){this.containsEsc=!1;for(var e="",t=!0,r=this.pos,n=this.options.ecmaVersion>=6;this.pos{"use strict";e=r.nmd(e);const n=(e,t)=>(...r)=>`[${e(...r)+t}m`,i=(e,t)=>(...r)=>{const n=e(...r);return`[${38+t};5;${n}m`},o=(e,t)=>(...r)=>{const n=e(...r);return`[${38+t};2;${n[0]};${n[1]};${n[2]}m`},s=e=>e,a=(e,t,r)=>[e,t,r],l=(e,t,r)=>{Object.defineProperty(e,t,{get:()=>{const n=r();return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0}),n},enumerable:!0,configurable:!0})};let c;const u=(e,t,n,i)=>{void 0===c&&(c=r(73991));const o=i?10:0,s={};for(const[r,i]of Object.entries(c)){const a="ansi16"===r?"ansi":r;r===t?s[a]=e(n,o):"object"==typeof i&&(s[a]=e(i[t],o))}return s};Object.defineProperty(e,"exports",{enumerable:!0,get:function(){const 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(const[r,n]of Object.entries(t)){for(const[r,i]of Object.entries(n))t[r]={open:`[${i[0]}m`,close:`[${i[1]}m`},n[r]=t[r],e.set(i[0],i[1]);Object.defineProperty(t,r,{value:n,enumerable:!1})}return Object.defineProperty(t,"codes",{value:e,enumerable:!1}),t.color.close="",t.bgColor.close="",l(t.color,"ansi",()=>u(n,"ansi16",s,!1)),l(t.color,"ansi256",()=>u(i,"ansi256",s,!1)),l(t.color,"ansi16m",()=>u(o,"rgb",a,!1)),l(t.bgColor,"ansi",()=>u(n,"ansi16",s,!0)),l(t.bgColor,"ansi256",()=>u(i,"ansi256",s,!0)),l(t.bgColor,"ansi16m",()=>u(o,"rgb",a,!0)),t}})},95325:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(5669),i=r(4448),o={returnIndex:!1},s=(e,t,r,n)=>{const o=Array.isArray(r),s=o?r[0]:r;if(!o&&"string"!=typeof s)throw new TypeError("anymatch: second argument must be a string: got "+Object.prototype.toString.call(s));const a=i(s);for(let e=0;e{if(null==e)throw new TypeError("anymatch: specify first argument");const i="boolean"==typeof r?{returnIndex:r}:r,a=i.returnIndex||!1,l=(c=e,Array.isArray(c)?c:[c]);var c;const u=l.filter(e=>"string"==typeof e&&"!"===e.charAt(0)).map(e=>e.slice(1)).map(e=>n(e,i)),p=l.filter(e=>"string"!=typeof e||"string"==typeof e&&"!"!==e.charAt(0)).map(e=>((e,t)=>{if("function"==typeof e)return e;if("string"==typeof e){const r=n(e,t);return t=>e===t||r(t)}return e instanceof RegExp?t=>e.test(t):e=>!1})(e,i));return null==t?(e,t=!1)=>s(p,u,e,"boolean"==typeof t&&t):s(p,u,t,a)};a.default=a,e.exports=a},20587:e=>{"use strict";function t(e,t,i){e instanceof RegExp&&(e=r(e,i)),t instanceof RegExp&&(t=r(t,i));var o=n(e,t,i);return o&&{start:o[0],end:o[1],pre:i.slice(0,o[0]),body:i.slice(o[0]+e.length,o[1]),post:i.slice(o[1]+t.length)}}function r(e,t){var r=t.match(e);return r?r[0]:null}function n(e,t,r){var n,i,o,s,a,l=r.indexOf(e),c=r.indexOf(t,l+1),u=l;if(l>=0&&c>0){if(e===t)return[l,c];for(n=[],o=r.length;u>=0&&!a;)u==l?(n.push(u),l=r.indexOf(e,u+1)):1==n.length?a=[n.pop(),c]:((i=n.pop())=0?l:c;n.length&&(a=[o,s])}return a}e.exports=t,t.range=n},54294:(e,t,r)=>{e.exports=r(50318)},85533:(e,t,r)=>{var n=r(45179),i=r(20587);e.exports=function(e){if(!e)return[];"{}"===e.substr(0,2)&&(e="\\{\\}"+e.substr(2));return function e(t,r){var o=[],s=i("{","}",t);if(!s||/\$$/.test(s.pre))return[t];var l,c=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(s.body),p=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(s.body),m=c||p,v=s.body.indexOf(",")>=0;if(!m&&!v)return s.post.match(/,.*\}/)?(t=s.pre+"{"+s.body+a+s.post,e(t)):[t];if(m)l=s.body.split(/\.\./);else{if(1===(l=function e(t){if(!t)return[""];var r=[],n=i("{","}",t);if(!n)return t.split(",");var o=n.pre,s=n.body,a=n.post,l=o.split(",");l[l.length-1]+="{"+s+"}";var c=e(a);a.length&&(l[l.length-1]+=c.shift(),l.push.apply(l,c));return r.push.apply(r,l),r}(s.body)).length)if(1===(l=e(l[0],!1).map(h)).length)return(w=s.post.length?e(s.post,!1):[""]).map((function(e){return s.pre+l[0]+e}))}var y,b=s.pre,w=s.post.length?e(s.post,!1):[""];if(m){var _=u(l[0]),x=u(l[1]),k=Math.max(l[0].length,l[1].length),S=3==l.length?Math.abs(u(l[2])):1,E=f;x<_&&(S*=-1,E=g);var C=l.some(d);y=[];for(var T=_;E(T,x);T+=S){var A;if(p)"\\"===(A=String.fromCharCode(T))&&(A="");else if(A=String(T),C){var R=k-A.length;if(R>0){var O=new Array(R+1).join("0");A=T<0?"-"+O+A.slice(1):O+A}}y.push(A)}}else y=n(l,(function(t){return e(t,!1)}));for(var P=0;P=t}},22706:(e,t,r)=>{"use strict";const n=r(82698),i=r(13047),o=r(2482),s=r(25900),a=(e,t={})=>{let r=[];if(Array.isArray(e))for(let n of e){let e=a.create(n,t);Array.isArray(e)?r.push(...e):r.push(e)}else r=[].concat(a.create(e,t));return t&&!0===t.expand&&!0===t.nodupes&&(r=[...new Set(r)]),r};a.parse=(e,t={})=>s(e,t),a.stringify=(e,t={})=>n("string"==typeof e?a.parse(e,t):e,t),a.compile=(e,t={})=>("string"==typeof e&&(e=a.parse(e,t)),i(e,t)),a.expand=(e,t={})=>{"string"==typeof e&&(e=a.parse(e,t));let r=o(e,t);return!0===t.noempty&&(r=r.filter(Boolean)),!0===t.nodupes&&(r=[...new Set(r)]),r},a.create=(e,t={})=>""===e||e.length<3?[e]:!0!==t.expand?a.compile(e,t):a.expand(e,t),e.exports=a},13047:(e,t,r)=>{"use strict";const n=r(35955),i=r(68130);e.exports=(e,t={})=>{let r=(e,o={})=>{let s=i.isInvalidBrace(o),a=!0===e.invalid&&!0===t.escapeInvalid,l=!0===s||!0===a,c=!0===t.escapeInvalid?"\\":"",u="";if(!0===e.isOpen)return c+e.value;if(!0===e.isClose)return c+e.value;if("open"===e.type)return l?c+e.value:"(";if("close"===e.type)return l?c+e.value:")";if("comma"===e.type)return"comma"===e.prev.type?"":l?e.value:"|";if(e.value)return e.value;if(e.nodes&&e.ranges>0){let r=i.reduce(e.nodes),o=n(...r,{...t,wrap:!1,toRegex:!0});if(0!==o.length)return r.length>1&&o.length>1?`(${o})`:o}if(e.nodes)for(let t of e.nodes)u+=r(t,e);return u};return r(e)}},9552:e=>{"use strict";e.exports={MAX_LENGTH:65536,CHAR_0:"0",CHAR_9:"9",CHAR_UPPERCASE_A:"A",CHAR_LOWERCASE_A:"a",CHAR_UPPERCASE_Z:"Z",CHAR_LOWERCASE_Z:"z",CHAR_LEFT_PARENTHESES:"(",CHAR_RIGHT_PARENTHESES:")",CHAR_ASTERISK:"*",CHAR_AMPERSAND:"&",CHAR_AT:"@",CHAR_BACKSLASH:"\\",CHAR_BACKTICK:"`",CHAR_CARRIAGE_RETURN:"\r",CHAR_CIRCUMFLEX_ACCENT:"^",CHAR_COLON:":",CHAR_COMMA:",",CHAR_DOLLAR:"$",CHAR_DOT:".",CHAR_DOUBLE_QUOTE:'"',CHAR_EQUAL:"=",CHAR_EXCLAMATION_MARK:"!",CHAR_FORM_FEED:"\f",CHAR_FORWARD_SLASH:"/",CHAR_HASH:"#",CHAR_HYPHEN_MINUS:"-",CHAR_LEFT_ANGLE_BRACKET:"<",CHAR_LEFT_CURLY_BRACE:"{",CHAR_LEFT_SQUARE_BRACKET:"[",CHAR_LINE_FEED:"\n",CHAR_NO_BREAK_SPACE:" ",CHAR_PERCENT:"%",CHAR_PLUS:"+",CHAR_QUESTION_MARK:"?",CHAR_RIGHT_ANGLE_BRACKET:">",CHAR_RIGHT_CURLY_BRACE:"}",CHAR_RIGHT_SQUARE_BRACKET:"]",CHAR_SEMICOLON:";",CHAR_SINGLE_QUOTE:"'",CHAR_SPACE:" ",CHAR_TAB:"\t",CHAR_UNDERSCORE:"_",CHAR_VERTICAL_LINE:"|",CHAR_ZERO_WIDTH_NOBREAK_SPACE:"\ufeff"}},2482:(e,t,r)=>{"use strict";const n=r(35955),i=r(82698),o=r(68130),s=(e="",t="",r=!1)=>{let n=[];if(e=[].concat(e),!(t=[].concat(t)).length)return e;if(!e.length)return r?o.flatten(t).map(e=>`{${e}}`):t;for(let i of e)if(Array.isArray(i))for(let e of i)n.push(s(e,t,r));else for(let e of t)!0===r&&"string"==typeof e&&(e=`{${e}}`),n.push(Array.isArray(e)?s(i,e,r):i+e);return o.flatten(n)};e.exports=(e,t={})=>{let r=void 0===t.rangeLimit?1e3:t.rangeLimit,a=(e,l={})=>{e.queue=[];let c=l,u=l.queue;for(;"brace"!==c.type&&"root"!==c.type&&c.parent;)c=c.parent,u=c.queue;if(e.invalid||e.dollar)return void u.push(s(u.pop(),i(e,t)));if("brace"===e.type&&!0!==e.invalid&&2===e.nodes.length)return void u.push(s(u.pop(),["{}"]));if(e.nodes&&e.ranges>0){let a=o.reduce(e.nodes);if(o.exceedsLimit(...a,t.step,r))throw new RangeError("expanded array length exceeds range limit. Use options.rangeLimit to increase or disable the limit.");let l=n(...a,t);return 0===l.length&&(l=i(e,t)),u.push(s(u.pop(),l)),void(e.nodes=[])}let p=o.encloseBrace(e),h=e.queue,d=e;for(;"brace"!==d.type&&"root"!==d.type&&d.parent;)d=d.parent,h=d.queue;for(let t=0;t{"use strict";const n=r(82698),{MAX_LENGTH:i,CHAR_BACKSLASH:o,CHAR_BACKTICK:s,CHAR_COMMA:a,CHAR_DOT:l,CHAR_LEFT_PARENTHESES:c,CHAR_RIGHT_PARENTHESES:u,CHAR_LEFT_CURLY_BRACE:p,CHAR_RIGHT_CURLY_BRACE:h,CHAR_LEFT_SQUARE_BRACKET:d,CHAR_RIGHT_SQUARE_BRACKET:f,CHAR_DOUBLE_QUOTE:g,CHAR_SINGLE_QUOTE:m,CHAR_NO_BREAK_SPACE:v,CHAR_ZERO_WIDTH_NOBREAK_SPACE:y}=r(9552);e.exports=(e,t={})=>{if("string"!=typeof e)throw new TypeError("Expected a string");let r=t||{},b="number"==typeof r.maxLength?Math.min(i,r.maxLength):i;if(e.length>b)throw new SyntaxError(`Input length (${e.length}), exceeds max characters (${b})`);let w,_={type:"root",input:e,nodes:[]},x=[_],k=_,S=_,E=0,C=e.length,T=0,A=0;const R=()=>e[T++],O=e=>{if("text"===e.type&&"dot"===S.type&&(S.type="text"),!S||"text"!==S.type||"text"!==e.type)return k.nodes.push(e),e.parent=k,e.prev=S,S=e,e;S.value+=e.value};for(O({type:"bos"});T0){if(k.ranges>0){k.ranges=0;let e=k.nodes.shift();k.nodes=[e,{type:"text",value:n(k)}]}O({type:"comma",value:w}),k.commas++}else if(w===l&&A>0&&0===k.commas){let e=k.nodes;if(0===A||0===e.length){O({type:"text",value:w});continue}if("dot"===S.type){if(k.range=[],S.value+=w,S.type="range",3!==k.nodes.length&&5!==k.nodes.length){k.invalid=!0,k.ranges=0,S.type="text";continue}k.ranges++,k.args=[];continue}if("range"===S.type){e.pop();let t=e[e.length-1];t.value+=S.value+w,S=t,k.ranges--;continue}O({type:"dot",value:w})}else O({type:"text",value:w});else{if("brace"!==k.type){O({type:"text",value:w});continue}let e="close";k=x.pop(),k.close=!0,O({type:e,value:w}),A--,k=x[x.length-1]}else{A++;let e=S.value&&"$"===S.value.slice(-1)||!0===k.dollar;k=O({type:"brace",open:!0,close:!1,dollar:e,depth:A,commas:0,ranges:0,nodes:[]}),x.push(k),O({type:"open",value:w})}else{let e,r=w;for(!0!==t.keepQuotes&&(w="");T{e.nodes||("open"===e.type&&(e.isOpen=!0),"close"===e.type&&(e.isClose=!0),e.nodes||(e.type="text"),e.invalid=!0)});let e=x[x.length-1],t=e.nodes.indexOf(k);e.nodes.splice(t,1,...k.nodes)}}while(x.length>0);return O({type:"eos"}),_}},82698:(e,t,r)=>{"use strict";const n=r(68130);e.exports=(e,t={})=>{let r=(e,i={})=>{let o=t.escapeInvalid&&n.isInvalidBrace(i),s=!0===e.invalid&&!0===t.escapeInvalid,a="";if(e.value)return(o||s)&&n.isOpenOrClose(e)?"\\"+e.value:e.value;if(e.value)return e.value;if(e.nodes)for(let t of e.nodes)a+=r(t);return a};return r(e)}},68130:(e,t)=>{"use strict";t.isInteger=e=>"number"==typeof e?Number.isInteger(e):"string"==typeof e&&""!==e.trim()&&Number.isInteger(Number(e)),t.find=(e,t)=>e.nodes.find(e=>e.type===t),t.exceedsLimit=(e,r,n=1,i)=>!1!==i&&(!(!t.isInteger(e)||!t.isInteger(r))&&(Number(r)-Number(e))/Number(n)>=i),t.escapeNode=(e,t=0,r)=>{let n=e.nodes[t];n&&(r&&n.type===r||"open"===n.type||"close"===n.type)&&!0!==n.escaped&&(n.value="\\"+n.value,n.escaped=!0)},t.encloseBrace=e=>"brace"===e.type&&(e.commas>>0+e.ranges>>0==0&&(e.invalid=!0,!0)),t.isInvalidBrace=e=>"brace"===e.type&&(!(!0!==e.invalid&&!e.dollar)||(e.commas>>0+e.ranges>>0==0||!0!==e.open||!0!==e.close)&&(e.invalid=!0,!0)),t.isOpenOrClose=e=>"open"===e.type||"close"===e.type||(!0===e.open||!0===e.close),t.reduce=e=>e.reduce((e,t)=>("text"===t.type&&e.push(t.value),"range"===t.type&&(t.type="text"),e),[]),t.flatten=(...e)=>{const t=[],r=e=>{for(let n=0;n{"use strict";const{builtinModules:n}=r(32282),i=["sys"];e.exports=(n||Object.keys(process.binding("natives"))).filter(e=>!/^_|^(internal|v8|node-inspect)\/|\//.test(e)&&!i.includes(e)).sort()},50320:e=>{"use strict";const t=/-(\w|$)/g,r=(e,t)=>t.toUpperCase();e.exports=e=>"float"===(e=e.toLowerCase())?"cssFloat":e.startsWith("-ms-")?e.substr(1).replace(t,r):e.replace(t,r)},95118:(e,t,r)=>{"use strict";const{EventEmitter:n}=r(28614),i=r(35747),o=r(85622),{promisify:s}=r(31669),a=r(86695),l=r(95325).default,c=r(65292),u=r(2182),p=r(22706),h=r(4448),d=r(76436),f=r(32405),{EV_ALL:g,EV_READY:m,EV_ADD:v,EV_CHANGE:y,EV_UNLINK:b,EV_ADD_DIR:w,EV_UNLINK_DIR:_,EV_RAW:x,EV_ERROR:k,STR_CLOSE:S,STR_END:E,BACK_SLASH_RE:C,DOUBLE_SLASH_RE:T,SLASH_OR_BACK_SLASH_RE:A,DOT_RE:R,REPLACER_RE:O,SLASH:P,SLASH_SLASH:I,BRACE_START:M,BANG:D,ONE_DOT:j,TWO_DOTS:N,GLOBSTAR:L,SLASH_GLOBSTAR:F,ANYMATCH_OPTS:q,STRING_TYPE:$,FUNCTION_TYPE:B,EMPTY_STR:z,EMPTY_FN:U,isWindows:W,isMacos:H}=r(49168),V=s(i.stat),G=s(i.readdir),Y=(e=[])=>Array.isArray(e)?e:[e],K=(e,t=[])=>(e.forEach(e=>{Array.isArray(e)?K(e,t):t.push(e)}),t),Q=e=>{const t=K(Y(e));if(!t.every(e=>typeof e===$))throw new TypeError("Non-string provided as watch path: "+t);return t.map(X)},J=e=>{let t=e.replace(C,P),r=!1;for(t.startsWith(I)&&(r=!0);t.match(T);)t=t.replace(T,P);return r&&(t=P+t),t},X=e=>J(o.normalize(J(e))),Z=(e=z)=>t=>typeof t!==$?t:X(o.isAbsolute(t)?t:o.join(e,t)),ee=(e,t)=>void 0===e[t];class te{constructor(e,t){this.path=e,this._removeWatcher=t,this.items=new Set}add(e){const{items:t}=this;t&&e!==j&&e!==N&&t.add(e)}async remove(e){const{items:t}=this;if(!t)return;if(t.delete(e),t.size>0)return;const r=this.path;try{await G(r)}catch(e){this._removeWatcher&&this._removeWatcher(o.dirname(r),o.basename(r))}}has(e){const{items:t}=this;if(t)return t.has(e)}getChildren(){const{items:e}=this;if(e)return[...e.values()]}dispose(){this.items.clear(),delete this.path,delete this._removeWatcher,delete this.items,Object.freeze(this)}}class re{constructor(e,t,r,n){this.fsw=n,this.path=e=e.replace(O,z),this.watchPath=t,this.fullWatchPath=o.resolve(t),this.hasGlob=t!==e,e===z&&(this.hasGlob=!1),this.globSymlink=!(!this.hasGlob||!r)&&void 0,this.globFilter=!!this.hasGlob&&l(e,void 0,q),this.dirParts=this.getDirParts(e),this.dirParts.forEach(e=>{e.length>1&&e.pop()}),this.followSymlinks=r,this.statMethod=r?"stat":"lstat"}checkGlobSymlink(e){return void 0===this.globSymlink&&(this.globSymlink=e.fullParentDir!==this.fullWatchPath&&{realPath:e.fullParentDir,linkPath:this.fullWatchPath}),this.globSymlink?e.fullPath.replace(this.globSymlink.realPath,this.globSymlink.linkPath):e.fullPath}entryPath(e){return o.join(this.watchPath,o.relative(this.watchPath,this.checkGlobSymlink(e)))}filterPath(e){const{stats:t}=e;if(t&&t.isSymbolicLink())return this.filterDir(e);const r=this.entryPath(e);return(!this.hasGlob||typeof this.globFilter!==B||this.globFilter(r))&&this.fsw._isntIgnored(r,t)&&this.fsw._hasReadPermissions(t)}getDirParts(e){if(!this.hasGlob)return[];const t=[];return(e.includes(M)?p.expand(e):[e]).forEach(e=>{t.push(o.relative(this.watchPath,e).split(A))}),t}filterDir(e){if(this.hasGlob){const t=this.getDirParts(this.checkGlobSymlink(e));let r=!1;this.unmatchedGlob=!this.dirParts.some(e=>e.every((e,n)=>(e===L&&(r=!0),r||!t[0][n]||l(e,t[0][n],q))))}return!this.unmatchedGlob&&this.fsw._isntIgnored(this.entryPath(e),e.stats)}}class ne extends n{constructor(e){super();const t={};e&&Object.assign(t,e),this._watched=new Map,this._closers=new Map,this._ignoredPaths=new Set,this._throttled=new Map,this._symlinkPaths=new Map,this._streams=new Set,this.closed=!1,ee(t,"persistent")&&(t.persistent=!0),ee(t,"ignoreInitial")&&(t.ignoreInitial=!1),ee(t,"ignorePermissionErrors")&&(t.ignorePermissionErrors=!1),ee(t,"interval")&&(t.interval=100),ee(t,"binaryInterval")&&(t.binaryInterval=300),ee(t,"disableGlobbing")&&(t.disableGlobbing=!1),t.enableBinaryInterval=t.binaryInterval!==t.interval,ee(t,"useFsEvents")&&(t.useFsEvents=!t.usePolling),f.canUse()||(t.useFsEvents=!1),ee(t,"usePolling")&&!t.useFsEvents&&(t.usePolling=H);const r=process.env.CHOKIDAR_USEPOLLING;if(void 0!==r){const e=r.toLowerCase();t.usePolling="false"!==e&&"0"!==e&&("true"===e||"1"===e||!!e)}const n=process.env.CHOKIDAR_INTERVAL;n&&(t.interval=Number.parseInt(n,10)),ee(t,"atomic")&&(t.atomic=!t.usePolling&&!t.useFsEvents),t.atomic&&(this._pendingUnlinks=new Map),ee(t,"followSymlinks")&&(t.followSymlinks=!0),ee(t,"awaitWriteFinish")&&(t.awaitWriteFinish=!1),!0===t.awaitWriteFinish&&(t.awaitWriteFinish={});const i=t.awaitWriteFinish;i&&(i.stabilityThreshold||(i.stabilityThreshold=2e3),i.pollInterval||(i.pollInterval=100),this._pendingWrites=new Map),t.ignored&&(t.ignored=Y(t.ignored));let o=0;this._emitReady=()=>{o++,o>=this._readyCount&&(this._emitReady=U,this._readyEmitted=!0,process.nextTick(()=>this.emit(m)))},this._emitRaw=(...e)=>this.emit(x,...e),this._readyEmitted=!1,this.options=t,t.useFsEvents?this._fsEventsHandler=new f(this):this._nodeFsHandler=new d(this),Object.freeze(t)}add(e,t,r){const{cwd:n,disableGlobbing:i}=this.options;this.closed=!1;let s=Q(e);return n&&(s=s.map(e=>{const t=((e,t)=>o.isAbsolute(e)?e:e.startsWith(D)?D+o.join(t,e.slice(1)):o.join(t,e))(e,n);return i||!u(e)?t:h(t)})),s=s.filter(e=>e.startsWith(D)?(this._ignoredPaths.add(e.slice(1)),!1):(this._ignoredPaths.delete(e),this._ignoredPaths.delete(e+F),this._userIgnored=void 0,!0)),this.options.useFsEvents&&this._fsEventsHandler?(this._readyCount||(this._readyCount=s.length),this.options.persistent&&(this._readyCount*=2),s.forEach(e=>this._fsEventsHandler._addToFsEvents(e))):(this._readyCount||(this._readyCount=0),this._readyCount+=s.length,Promise.all(s.map(async e=>{const n=await this._nodeFsHandler._addToNodeFs(e,!r,0,0,t);return n&&this._emitReady(),n})).then(e=>{this.closed||e.filter(e=>e).forEach(e=>{this.add(o.dirname(e),o.basename(t||e))})})),this}unwatch(e){if(this.closed)return this;const t=Q(e),{cwd:r}=this.options;return t.forEach(e=>{o.isAbsolute(e)||this._closers.has(e)||(r&&(e=o.join(r,e)),e=o.resolve(e)),this._closePath(e),this._ignoredPaths.add(e),this._watched.has(e)&&this._ignoredPaths.add(e+F),this._userIgnored=void 0}),this}close(){if(this.closed)return this._closePromise;this.closed=!0,this.removeAllListeners();const e=[];return this._closers.forEach(t=>t.forEach(t=>{const r=t();r instanceof Promise&&e.push(r)})),this._streams.forEach(e=>e.destroy()),this._userIgnored=void 0,this._readyCount=0,this._readyEmitted=!1,this._watched.forEach(e=>e.dispose()),["closers","watched","streams","symlinkPaths","throttled"].forEach(e=>{this["_"+e].clear()}),this._closePromise=e.length?Promise.all(e).then(()=>{}):Promise.resolve(),this._closePromise}getWatched(){const e={};return this._watched.forEach((t,r)=>{const n=this.options.cwd?o.relative(this.options.cwd,r):r;e[n||j]=t.getChildren().sort()}),e}emitWithAll(e,t){this.emit(...t),e!==k&&this.emit(g,...t)}async _emit(e,t,r,n,i){if(this.closed)return;const s=this.options;W&&(t=o.normalize(t)),s.cwd&&(t=o.relative(s.cwd,t));const a=[e,t];void 0!==i?a.push(r,n,i):void 0!==n?a.push(r,n):void 0!==r&&a.push(r);const l=s.awaitWriteFinish;let c;if(l&&(c=this._pendingWrites.get(t)))return c.lastChange=new Date,this;if(s.atomic){if(e===b)return this._pendingUnlinks.set(t,a),setTimeout(()=>{this._pendingUnlinks.forEach((e,t)=>{this.emit(...e),this.emit(g,...e),this._pendingUnlinks.delete(t)})},"number"==typeof s.atomic?s.atomic:100),this;e===v&&this._pendingUnlinks.has(t)&&(e=a[0]=y,this._pendingUnlinks.delete(t))}if(l&&(e===v||e===y)&&this._readyEmitted){const r=(t,r)=>{t?(e=a[0]=k,a[1]=t,this.emitWithAll(e,a)):r&&(a.length>2?a[2]=r:a.push(r),this.emitWithAll(e,a))};return this._awaitWriteFinish(t,l.stabilityThreshold,e,r),this}if(e===y){if(!this._throttle(y,t,50))return this}if(s.alwaysStat&&void 0===r&&(e===v||e===w||e===y)){const e=s.cwd?o.join(s.cwd,t):t;let r;try{r=await V(e)}catch(e){}if(!r||this.closed)return;a.push(r)}return this.emitWithAll(e,a),this}_handleError(e){const t=e&&e.code;return e&&"ENOENT"!==t&&"ENOTDIR"!==t&&(!this.options.ignorePermissionErrors||"EPERM"!==t&&"EACCES"!==t)&&this.emit(k,e),e||this.closed}_throttle(e,t,r){this._throttled.has(e)||this._throttled.set(e,new Map);const n=this._throttled.get(e),i=n.get(t);if(i)return i.count++,!1;let o;const s=()=>{const e=n.get(t),r=e?e.count:0;return n.delete(t),clearTimeout(o),e&&clearTimeout(e.timeoutObject),r};o=setTimeout(s,r);const a={timeoutObject:o,clear:s,count:0};return n.set(t,a),a}_incrReadyCount(){return this._readyCount++}_awaitWriteFinish(e,t,r,n){let s,a=e;this.options.cwd&&!o.isAbsolute(e)&&(a=o.join(this.options.cwd,e));const l=new Date,c=r=>{i.stat(a,(i,o)=>{if(i||!this._pendingWrites.has(e))return void(i&&"ENOENT"!==i.code&&n(i));const a=Number(new Date);r&&o.size!==r.size&&(this._pendingWrites.get(e).lastChange=a),a-this._pendingWrites.get(e).lastChange>=t?(this._pendingWrites.delete(e),n(void 0,o)):s=setTimeout(c,this.options.awaitWriteFinish.pollInterval,o)})};this._pendingWrites.has(e)||(this._pendingWrites.set(e,{lastChange:l,cancelWait:()=>(this._pendingWrites.delete(e),clearTimeout(s),r)}),s=setTimeout(c,this.options.awaitWriteFinish.pollInterval))}_getGlobIgnored(){return[...this._ignoredPaths.values()]}_isIgnored(e,t){if(this.options.atomic&&R.test(e))return!0;if(!this._userIgnored){const{cwd:e}=this.options,t=this.options.ignored,r=t&&t.map(Z(e)),n=Y(r).filter(e=>typeof e===$&&!u(e)).map(e=>e+F),i=this._getGlobIgnored().map(Z(e)).concat(r,n);this._userIgnored=l(i,void 0,q)}return this._userIgnored([e,t])}_isntIgnored(e,t){return!this._isIgnored(e,t)}_getWatchHelpers(e,t){const r=t||this.options.disableGlobbing||!u(e)?e:c(e),n=this.options.followSymlinks;return new re(e,r,n,this)}_getWatchedDir(e){this._boundRemove||(this._boundRemove=this._remove.bind(this));const t=o.resolve(e);return this._watched.has(t)||this._watched.set(t,new te(t,this._boundRemove)),this._watched.get(t)}_hasReadPermissions(e){if(this.options.ignorePermissionErrors)return!0;const t=511&(e&&Number.parseInt(e.mode,10)),r=Number.parseInt(t.toString(8)[0],10);return Boolean(4&r)}_remove(e,t,r){const n=o.join(e,t),i=o.resolve(n);if(r=null!=r?r:this._watched.has(n)||this._watched.has(i),!this._throttle("remove",n,100))return;r||this.options.useFsEvents||1!==this._watched.size||this.add(e,t,!0),this._getWatchedDir(n).getChildren().forEach(e=>this._remove(n,e));const s=this._getWatchedDir(e),a=s.has(t);s.remove(t),this._symlinkPaths.has(i)&&this._symlinkPaths.delete(i);let l=n;if(this.options.cwd&&(l=o.relative(this.options.cwd,n)),this.options.awaitWriteFinish&&this._pendingWrites.has(l)){if(this._pendingWrites.get(l).cancelWait()===v)return}this._watched.delete(n),this._watched.delete(i);const c=r?_:b;a&&!this._isIgnored(n)&&this._emit(c,n),this.options.useFsEvents||this._closePath(n)}_closePath(e){this._closeFile(e);const t=o.dirname(e);this._getWatchedDir(t).remove(o.basename(e))}_closeFile(e){const t=this._closers.get(e);t&&(t.forEach(e=>e()),this._closers.delete(e))}_addPathCloser(e,t){if(!t)return;let r=this._closers.get(e);r||(r=[],this._closers.set(e,r)),r.push(t)}_readdirp(e,t){if(this.closed)return;const r={type:g,alwaysStat:!0,lstat:!0,...t};let n=a(e,r);return this._streams.add(n),n.once(S,()=>{n=void 0}),n.once(E,()=>{n&&(this._streams.delete(n),n=void 0)}),n}}t.Y=(e,t)=>{const r=new ne(t);return r.add(e),r}},49168:(e,t,r)=>{"use strict";const{sep:n}=r(85622),{platform:i}=process;t.EV_ALL="all",t.EV_READY="ready",t.EV_ADD="add",t.EV_CHANGE="change",t.EV_ADD_DIR="addDir",t.EV_UNLINK="unlink",t.EV_UNLINK_DIR="unlinkDir",t.EV_RAW="raw",t.EV_ERROR="error",t.STR_DATA="data",t.STR_END="end",t.STR_CLOSE="close",t.FSEVENT_CREATED="created",t.FSEVENT_MODIFIED="modified",t.FSEVENT_DELETED="deleted",t.FSEVENT_MOVED="moved",t.FSEVENT_CLONED="cloned",t.FSEVENT_UNKNOWN="unknown",t.FSEVENT_TYPE_FILE="file",t.FSEVENT_TYPE_DIRECTORY="directory",t.FSEVENT_TYPE_SYMLINK="symlink",t.KEY_LISTENERS="listeners",t.KEY_ERR="errHandlers",t.KEY_RAW="rawEmitters",t.HANDLER_KEYS=[t.KEY_LISTENERS,t.KEY_ERR,t.KEY_RAW],t.DOT_SLASH="."+n,t.BACK_SLASH_RE=/\\/g,t.DOUBLE_SLASH_RE=/\/\//,t.SLASH_OR_BACK_SLASH_RE=/[/\\]/,t.DOT_RE=/\..*\.(sw[px])$|~$|\.subl.*\.tmp/,t.REPLACER_RE=/^\.[/\\]/,t.SLASH="/",t.SLASH_SLASH="//",t.BRACE_START="{",t.BANG="!",t.ONE_DOT=".",t.TWO_DOTS="..",t.STAR="*",t.GLOBSTAR="**",t.ROOT_GLOBSTAR="/**/*",t.SLASH_GLOBSTAR="/**",t.DIR_SUFFIX="Dir",t.ANYMATCH_OPTS={dot:!0},t.STRING_TYPE="string",t.FUNCTION_TYPE="function",t.EMPTY_STR="",t.EMPTY_FN=()=>{},t.IDENTITY_FN=e=>e,t.isWindows="win32"===i,t.isMacos="darwin"===i,t.isLinux="linux"===i},32405:(e,t,r)=>{"use strict";const n=r(35747),i=r(85622),{promisify:o}=r(31669);let s;try{s=r(91358)}catch(e){process.env.CHOKIDAR_PRINT_FSEVENTS_REQUIRE_ERROR&&console.error(e)}if(s){const e=process.version.match(/v(\d+)\.(\d+)/);if(e&&e[1]&&e[2]){const t=Number.parseInt(e[1],10),r=Number.parseInt(e[2],10);8===t&&r<16&&(s=void 0)}}const{EV_ADD:a,EV_CHANGE:l,EV_ADD_DIR:c,EV_UNLINK:u,EV_ERROR:p,STR_DATA:h,STR_END:d,FSEVENT_CREATED:f,FSEVENT_MODIFIED:g,FSEVENT_DELETED:m,FSEVENT_MOVED:v,FSEVENT_UNKNOWN:y,FSEVENT_TYPE_FILE:b,FSEVENT_TYPE_DIRECTORY:w,FSEVENT_TYPE_SYMLINK:_,ROOT_GLOBSTAR:x,DIR_SUFFIX:k,DOT_SLASH:S,FUNCTION_TYPE:E,EMPTY_FN:C,IDENTITY_FN:T}=r(49168),A=o(n.stat),R=o(n.lstat),O=o(n.realpath),P={stat:A,lstat:R},I=new Map,M=new Set([69888,70400,71424,72704,73472,131328,131840,262912]),D=(e,t)=>({stop:s.watch(e,t)});const j=e=>{let t=0;for(const r of I.keys())if(0===r.indexOf(e)&&(t++,t>=10))return!0;return!1},N=(e,t)=>{let r=0;for(;!e.indexOf(t)&&(e=i.dirname(e))!==t;)r++;return r},L=(e,t)=>e.type===w&&t.isDirectory()||e.type===_&&t.isSymbolicLink()||e.type===b&&t.isFile();e.exports=class{constructor(e){this.fsw=e}checkIgnored(e,t){const r=this.fsw._ignoredPaths;if(this.fsw._isIgnored(e,t))return r.add(e),t&&t.isDirectory()&&r.add(e+x),!0;r.delete(e),r.delete(e+x)}addOrChange(e,t,r,n,i,o,s,c){const u=i.has(o)?l:a;this.handleEvent(u,e,t,r,n,i,o,s,c)}async checkExists(e,t,r,n,i,o,s,a){try{const l=await A(e);if(this.fsw.closed)return;L(s,l)?this.addOrChange(e,t,r,n,i,o,s,a):this.handleEvent(u,e,t,r,n,i,o,s,a)}catch(l){"EACCES"===l.code?this.addOrChange(e,t,r,n,i,o,s,a):this.handleEvent(u,e,t,r,n,i,o,s,a)}}handleEvent(e,t,r,n,i,o,s,l,p){if(!this.fsw.closed&&!this.checkIgnored(t))if(e===u){const e=l.type===w;(e||o.has(s))&&this.fsw._remove(i,s,e)}else{if(e===a){if(l.type===w&&this.fsw._getWatchedDir(t),l.type===_&&p.followSymlinks){const e=void 0===p.depth?void 0:N(r,n)+1;return this._addToFsEvents(t,!1,!0,e)}this.fsw._getWatchedDir(i).add(s)}const o=l.type===w?e+k:e;this.fsw._emit(o,t),o===c&&this._addToFsEvents(t,!1,!0)}}_watchWithFsEvents(e,t,r,n){if(this.fsw.closed||this.fsw._isIgnored(e))return;const o=this.fsw.options,a=function(e,t,r,n){let o=i.extname(e)?i.dirname(e):e;const a=i.dirname(o);let l=I.get(o);j(a)&&(o=a);const c=i.resolve(e),u=c!==t,p=(e,n,o)=>{u&&(e=e.replace(t,c)),e!==c&&e.indexOf(c+i.sep)||r(e,n,o)};let h=!1;for(const e of I.keys())if(0===t.indexOf(i.resolve(e)+i.sep)){o=e,l=I.get(o),h=!0;break}return l||h?l.listeners.add(p):(l={listeners:new Set([p]),rawEmitter:n,watcher:D(o,(e,t)=>{if(!l.listeners.size)return;const r=s.getInfo(e,t);l.listeners.forEach(n=>{n(e,t,r)}),l.rawEmitter(r.event,e,r)})},I.set(o,l)),()=>{const e=l.listeners;if(e.delete(p),!e.size&&(I.delete(o),l.watcher))return l.watcher.stop().then(()=>{l.rawEmitter=l.watcher=void 0,Object.freeze(l)})}}(e,t,async(s,a,l)=>{if(this.fsw.closed)return;if(void 0!==o.depth&&N(s,t)>o.depth)return;const c=r(i.join(e,i.relative(e,s)));if(n&&!n(c))return;const p=i.dirname(c),h=i.basename(c),d=this.fsw._getWatchedDir(l.type===w?c:p);if(M.has(a)||l.event===y)if(typeof o.ignored===E){let e;try{e=await A(c)}catch(e){}if(this.fsw.closed)return;if(this.checkIgnored(c,e))return;L(l,e)?this.addOrChange(c,s,t,p,d,h,l,o):this.handleEvent(u,c,s,t,p,d,h,l,o)}else this.checkExists(c,s,t,p,d,h,l,o);else switch(l.event){case f:case g:return this.addOrChange(c,s,t,p,d,h,l,o);case m:case v:return this.checkExists(c,s,t,p,d,h,l,o)}},this.fsw._emitRaw);return this.fsw._emitReady(),a}async _handleFsEventsSymlink(e,t,r,n){if(!this.fsw.closed&&!this.fsw._symlinkPaths.has(t)){this.fsw._symlinkPaths.set(t,!0),this.fsw._incrReadyCount();try{const t=await O(e);if(this.fsw.closed)return;if(this.fsw._isIgnored(t))return this.fsw._emitReady();this.fsw._incrReadyCount(),this._addToFsEvents(t||e,n=>{let o=e;return t&&t!==S?o=n.replace(t,e):n!==S&&(o=i.join(e,n)),r(o)},!1,n)}catch(e){if(this.fsw._handleError(e))return this.fsw._emitReady()}}}emitAdd(e,t,r,n,o){const s=r(e),l=t.isDirectory(),u=this.fsw._getWatchedDir(i.dirname(s)),p=i.basename(s);l&&this.fsw._getWatchedDir(s),u.has(p)||(u.add(p),n.ignoreInitial&&!0!==o||this.fsw._emit(l?c:a,s,t))}initWatch(e,t,r,n){if(this.fsw.closed)return;const o=this._watchWithFsEvents(r.watchPath,i.resolve(e||r.watchPath),n,r.globFilter);this.fsw._addPathCloser(t,o)}async _addToFsEvents(e,t,r,n){if(this.fsw.closed)return;const o=this.fsw.options,s=typeof t===E?t:T,a=this.fsw._getWatchHelpers(e);try{const t=await P[a.statMethod](a.watchPath);if(this.fsw.closed)return;if(this.fsw._isIgnored(a.watchPath,t))throw null;if(t.isDirectory()){if(a.globFilter||this.emitAdd(s(e),t,s,o,r),n&&n>o.depth)return;this.fsw._readdirp(a.watchPath,{fileFilter:e=>a.filterPath(e),directoryFilter:e=>a.filterDir(e),...(l=o.depth-(n||0),isNaN(l)?{}:{depth:l})}).on(h,e=>{if(this.fsw.closed)return;if(e.stats.isDirectory()&&!a.filterPath(e))return;const t=i.join(a.watchPath,e.path),{fullPath:n}=e;if(a.followSymlinks&&e.stats.isSymbolicLink()){const e=void 0===o.depth?void 0:N(t,i.resolve(a.watchPath))+1;this._handleFsEventsSymlink(t,n,s,e)}else this.emitAdd(t,e.stats,s,o,r)}).on(p,C).on(d,()=>{this.fsw._emitReady()})}else this.emitAdd(a.watchPath,t,s,o,r),this.fsw._emitReady()}catch(e){e&&!this.fsw._handleError(e)||(this.fsw._emitReady(),this.fsw._emitReady())}var l;if(o.persistent&&!0!==r)if(typeof t===E)this.initWatch(void 0,e,a,s);else{let t;try{t=await O(a.watchPath)}catch(e){}this.initWatch(t,e,a,s)}}},e.exports.canUse=()=>s&&I.size<128},76436:(e,t,r)=>{"use strict";const n=r(35747),i=r(85622),{promisify:o}=r(31669),s=r(90408),{isWindows:a,isLinux:l,EMPTY_FN:c,EMPTY_STR:u,KEY_LISTENERS:p,KEY_ERR:h,KEY_RAW:d,HANDLER_KEYS:f,EV_CHANGE:g,EV_ADD:m,EV_ADD_DIR:v,EV_ERROR:y,STR_DATA:b,STR_END:w,BRACE_START:_,STAR:x}=r(49168),k=o(n.open),S=o(n.stat),E=o(n.lstat),C=o(n.close),T=o(n.realpath),A={lstat:E,stat:S},R=(e,t)=>{e instanceof Set?e.forEach(t):t(e)},O=(e,t,r)=>{let n=e[t];n instanceof Set||(e[t]=n=new Set([n])),n.add(r)},P=(e,t,r)=>{const n=e[t];n instanceof Set?n.delete(r):n===r&&delete e[t]},I=e=>e instanceof Set?0===e.size:!e,M=new Map;function D(e,t,r,o,s){const a=(t,n)=>{r(e),s(t,n,{watchedPath:e}),n&&e!==n&&j(i.resolve(e,n),p,i.join(e,n))};try{return n.watch(e,t,a)}catch(e){o(e)}}const j=(e,t,r,n,i)=>{const o=M.get(e);o&&R(o[t],e=>{e(r,n,i)})},N=(e,t,r,n)=>{const{listener:i,errHandler:o,rawEmitter:s}=n;let l,c=M.get(t);if(!r.persistent)return l=D(e,r,i,o,s),l.close.bind(l);if(c)O(c,p,i),O(c,h,o),O(c,d,s);else{if(l=D(e,r,j.bind(null,t,p),o,j.bind(null,t,d)),!l)return;l.on(y,async r=>{const n=j.bind(null,t,h);if(c.watcherUnusable=!0,a&&"EPERM"===r.code)try{const t=await k(e,"r");await C(t),n(r)}catch(e){}else n(r)}),c={listeners:i,errHandlers:o,rawEmitters:s,watcher:l},M.set(t,c)}return()=>{P(c,p,i),P(c,h,o),P(c,d,s),I(c.listeners)&&(c.watcher.close(),M.delete(t),f.forEach((e=>t=>{const r=e[t];r instanceof Set?r.clear():delete e[t]})(c)),c.watcher=void 0,Object.freeze(c))}},L=new Map;e.exports=class{constructor(e){this.fsw=e,this._boundHandleError=t=>e._handleError(t)}_watchWithNodeFs(e,t){const r=this.fsw.options,o=i.dirname(e),a=i.basename(e);this.fsw._getWatchedDir(o).add(a);const l=i.resolve(e),u={persistent:r.persistent};let h;return t||(t=c),r.usePolling?(u.interval=r.enableBinaryInterval&&s(a)?r.binaryInterval:r.interval,h=((e,t,r,i)=>{const{listener:o,rawEmitter:s}=i;let a=L.get(t),l=new Set,c=new Set;const u=a&&a.options;return u&&(u.persistentr.interval)&&(l=a.listeners,c=a.rawEmitters,n.unwatchFile(t),a=void 0),a?(O(a,p,o),O(a,d,s)):(a={listeners:o,rawEmitters:s,options:r,watcher:n.watchFile(t,r,(r,n)=>{R(a.rawEmitters,e=>{e(g,t,{curr:r,prev:n})});const i=r.mtimeMs;(r.size!==n.size||i>n.mtimeMs||0===i)&&R(a.listeners,t=>t(e,r))})},L.set(t,a)),()=>{P(a,p,o),P(a,d,s),I(a.listeners)&&(L.delete(t),n.unwatchFile(t),a.options=a.watcher=void 0,Object.freeze(a))}})(e,l,u,{listener:t,rawEmitter:this.fsw._emitRaw})):h=N(e,l,u,{listener:t,errHandler:this._boundHandleError,rawEmitter:this.fsw._emitRaw}),h}_handleFile(e,t,r){if(this.fsw.closed)return;const n=i.dirname(e),o=i.basename(e),s=this.fsw._getWatchedDir(n);let a=t;if(s.has(o))return;const c=async(t,r)=>{if(this.fsw._throttle("watch",e,5))if(r&&0!==r.mtimeMs){if(s.has(o)){const t=r.atimeMs,n=r.mtimeMs;(!t||t<=n||n!==a.mtimeMs)&&this.fsw._emit(g,e,r),a=r}}else try{const r=await S(e);if(this.fsw.closed)return;const n=r.atimeMs,i=r.mtimeMs;(!n||n<=i||i!==a.mtimeMs)&&this.fsw._emit(g,e,r),l&&a.ino!==r.ino?(this.fsw._closeFile(t),a=r,this.fsw._addPathCloser(t,this._watchWithNodeFs(e,c))):a=r}catch(e){this.fsw._remove(n,o)}},u=this._watchWithNodeFs(e,c);if((!r||!this.fsw.options.ignoreInitial)&&this.fsw._isntIgnored(e)){if(!this.fsw._throttle(m,e,0))return;this.fsw._emit(m,e,t)}return u}async _handleSymlink(e,t,r,n){if(this.fsw.closed)return;const i=e.fullPath,o=this.fsw._getWatchedDir(t);if(!this.fsw.options.followSymlinks){this.fsw._incrReadyCount();const t=await T(r);if(this.fsw.closed)return;return o.has(n)?this.fsw._symlinkPaths.get(i)!==t&&(this.fsw._symlinkPaths.set(i,t),this.fsw._emit(g,r,e.stats)):(o.add(n),this.fsw._symlinkPaths.set(i,t),this.fsw._emit(m,r,e.stats)),this.fsw._emitReady(),!0}if(this.fsw._symlinkPaths.has(i))return!0;this.fsw._symlinkPaths.set(i,!0)}_handleRead(e,t,r,n,o,s,a){if(e=i.join(e,u),!r.hasGlob&&!(a=this.fsw._throttle("readdir",e,1e3)))return;const l=this.fsw._getWatchedDir(r.path),c=new Set;let p=this.fsw._readdirp(e,{fileFilter:e=>r.filterPath(e),directoryFilter:e=>r.filterDir(e),depth:0}).on(b,async a=>{if(this.fsw.closed)return void(p=void 0);const u=a.path;let h=i.join(e,u);c.add(u),a.stats.isSymbolicLink()&&await this._handleSymlink(a,e,h,u)||(this.fsw.closed?p=void 0:u!==n&&(n||l.has(u))||(this.fsw._incrReadyCount(),h=i.join(o,i.relative(o,h)),this._addToNodeFs(h,t,r,s+1)))}).on(y,this._boundHandleError);return new Promise(t=>p.once(w,()=>{if(this.fsw.closed)return void(p=void 0);const u=!!a&&a.clear();t(),l.getChildren().filter(t=>t!==e&&!c.has(t)&&(!r.hasGlob||r.filterPath({fullPath:i.resolve(e,t)}))).forEach(t=>{this.fsw._remove(e,t)}),p=void 0,u&&this._handleRead(e,!1,r,n,o,s,a)}))}async _handleDir(e,t,r,n,o,s,a){const l=this.fsw._getWatchedDir(i.dirname(e)),c=l.has(i.basename(e));let u;r&&this.fsw.options.ignoreInitial||o||c||s.hasGlob&&!s.globFilter(e)||this.fsw._emit(v,e,t),l.add(i.basename(e)),this.fsw._getWatchedDir(e);const p=this.fsw.options.depth;if((null==p||n<=p)&&!this.fsw._symlinkPaths.has(a)){if(!o&&(await this._handleRead(e,r,s,o,e,n,void 0),this.fsw.closed))return;u=this._watchWithNodeFs(e,(t,r)=>{r&&0===r.mtimeMs||this._handleRead(t,!1,s,o,e,n,void 0)})}return u}async _addToNodeFs(e,t,r,n,o){const s=this.fsw._emitReady;if(this.fsw._isIgnored(e)||this.fsw.closed)return s(),!1;const a=this.fsw._getWatchHelpers(e,n);!a.hasGlob&&r&&(a.hasGlob=r.hasGlob,a.globFilter=r.globFilter,a.filterPath=e=>r.filterPath(e),a.filterDir=e=>r.filterDir(e));try{const r=await A[a.statMethod](a.watchPath);if(this.fsw.closed)return;if(this.fsw._isIgnored(a.watchPath,r))return s(),!1;const l=this.fsw.options.followSymlinks&&!e.includes(x)&&!e.includes(_);let c;if(r.isDirectory()){const s=i.resolve(e),u=l?await T(e):e;if(this.fsw.closed)return;if(c=await this._handleDir(a.watchPath,r,t,n,o,a,u),this.fsw.closed)return;s!==u&&void 0!==u&&this.fsw._symlinkPaths.set(s,u)}else if(r.isSymbolicLink()){const o=l?await T(e):e;if(this.fsw.closed)return;const s=i.dirname(a.watchPath);if(this.fsw._getWatchedDir(s).add(a.watchPath),this.fsw._emit(m,a.watchPath,r),c=await this._handleDir(s,r,t,n,e,a,o),this.fsw.closed)return;void 0!==o&&this.fsw._symlinkPaths.set(i.resolve(e),o)}else c=this._handleFile(a.watchPath,r,t);return s(),this.fsw._addPathCloser(e,c),!1}catch(t){if(this.fsw._handleError(t))return s(),e}}}},92724:(e,t,r)=>{const n=r(78679),i={};for(const e of Object.keys(n))i[n[e]]=e;const o={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"]}};e.exports=o;for(const e of Object.keys(o)){if(!("channels"in o[e]))throw new Error("missing channels property: "+e);if(!("labels"in o[e]))throw new Error("missing channel labels property: "+e);if(o[e].labels.length!==o[e].channels)throw new Error("channel and label counts mismatch: "+e);const{channels:t,labels:r}=o[e];delete o[e].channels,delete o[e].labels,Object.defineProperty(o[e],"channels",{value:t}),Object.defineProperty(o[e],"labels",{value:r})}o.rgb.hsl=function(e){const t=e[0]/255,r=e[1]/255,n=e[2]/255,i=Math.min(t,r,n),o=Math.max(t,r,n),s=o-i;let a,l;o===i?a=0:t===o?a=(r-n)/s:r===o?a=2+(n-t)/s:n===o&&(a=4+(t-r)/s),a=Math.min(60*a,360),a<0&&(a+=360);const c=(i+o)/2;return l=o===i?0:c<=.5?s/(o+i):s/(2-o-i),[a,100*l,100*c]},o.rgb.hsv=function(e){let t,r,n,i,o;const s=e[0]/255,a=e[1]/255,l=e[2]/255,c=Math.max(s,a,l),u=c-Math.min(s,a,l),p=function(e){return(c-e)/6/u+.5};return 0===u?(i=0,o=0):(o=u/c,t=p(s),r=p(a),n=p(l),s===c?i=n-r:a===c?i=1/3+t-n:l===c&&(i=2/3+r-t),i<0?i+=1:i>1&&(i-=1)),[360*i,100*o,100*c]},o.rgb.hwb=function(e){const t=e[0],r=e[1];let n=e[2];const i=o.rgb.hsl(e)[0],s=1/255*Math.min(t,Math.min(r,n));return n=1-1/255*Math.max(t,Math.max(r,n)),[i,100*s,100*n]},o.rgb.cmyk=function(e){const t=e[0]/255,r=e[1]/255,n=e[2]/255,i=Math.min(1-t,1-r,1-n);return[100*((1-t-i)/(1-i)||0),100*((1-r-i)/(1-i)||0),100*((1-n-i)/(1-i)||0),100*i]},o.rgb.keyword=function(e){const t=i[e];if(t)return t;let r,o=1/0;for(const t of Object.keys(n)){const i=n[t],l=(a=i,((s=e)[0]-a[0])**2+(s[1]-a[1])**2+(s[2]-a[2])**2);l.04045?((t+.055)/1.055)**2.4:t/12.92,r=r>.04045?((r+.055)/1.055)**2.4:r/12.92,n=n>.04045?((n+.055)/1.055)**2.4:n/12.92,[100*(.4124*t+.3576*r+.1805*n),100*(.2126*t+.7152*r+.0722*n),100*(.0193*t+.1192*r+.9505*n)]},o.rgb.lab=function(e){const t=o.rgb.xyz(e);let r=t[0],n=t[1],i=t[2];return r/=95.047,n/=100,i/=108.883,r=r>.008856?r**(1/3):7.787*r+16/116,n=n>.008856?n**(1/3):7.787*n+16/116,i=i>.008856?i**(1/3):7.787*i+16/116,[116*n-16,500*(r-n),200*(n-i)]},o.hsl.rgb=function(e){const t=e[0]/360,r=e[1]/100,n=e[2]/100;let i,o,s;if(0===r)return s=255*n,[s,s,s];i=n<.5?n*(1+r):n+r-n*r;const a=2*n-i,l=[0,0,0];for(let e=0;e<3;e++)o=t+1/3*-(e-1),o<0&&o++,o>1&&o--,s=6*o<1?a+6*(i-a)*o:2*o<1?i:3*o<2?a+(i-a)*(2/3-o)*6:a,l[e]=255*s;return l},o.hsl.hsv=function(e){const t=e[0];let r=e[1]/100,n=e[2]/100,i=r;const o=Math.max(n,.01);return n*=2,r*=n<=1?n:2-n,i*=o<=1?o:2-o,[t,100*(0===n?2*i/(o+i):2*r/(n+r)),100*((n+r)/2)]},o.hsv.rgb=function(e){const t=e[0]/60,r=e[1]/100;let n=e[2]/100;const i=Math.floor(t)%6,o=t-Math.floor(t),s=255*n*(1-r),a=255*n*(1-r*o),l=255*n*(1-r*(1-o));switch(n*=255,i){case 0:return[n,l,s];case 1:return[a,n,s];case 2:return[s,n,l];case 3:return[s,a,n];case 4:return[l,s,n];case 5:return[n,s,a]}},o.hsv.hsl=function(e){const t=e[0],r=e[1]/100,n=e[2]/100,i=Math.max(n,.01);let o,s;s=(2-r)*n;const a=(2-r)*i;return o=r*i,o/=a<=1?a:2-a,o=o||0,s/=2,[t,100*o,100*s]},o.hwb.rgb=function(e){const t=e[0]/360;let r=e[1]/100,n=e[2]/100;const i=r+n;let o;i>1&&(r/=i,n/=i);const s=Math.floor(6*t),a=1-n;o=6*t-s,0!=(1&s)&&(o=1-o);const l=r+o*(a-r);let c,u,p;switch(s){default:case 6:case 0:c=a,u=l,p=r;break;case 1:c=l,u=a,p=r;break;case 2:c=r,u=a,p=l;break;case 3:c=r,u=l,p=a;break;case 4:c=l,u=r,p=a;break;case 5:c=a,u=r,p=l}return[255*c,255*u,255*p]},o.cmyk.rgb=function(e){const t=e[0]/100,r=e[1]/100,n=e[2]/100,i=e[3]/100;return[255*(1-Math.min(1,t*(1-i)+i)),255*(1-Math.min(1,r*(1-i)+i)),255*(1-Math.min(1,n*(1-i)+i))]},o.xyz.rgb=function(e){const t=e[0]/100,r=e[1]/100,n=e[2]/100;let i,o,s;return i=3.2406*t+-1.5372*r+-.4986*n,o=-.9689*t+1.8758*r+.0415*n,s=.0557*t+-.204*r+1.057*n,i=i>.0031308?1.055*i**(1/2.4)-.055:12.92*i,o=o>.0031308?1.055*o**(1/2.4)-.055:12.92*o,s=s>.0031308?1.055*s**(1/2.4)-.055:12.92*s,i=Math.min(Math.max(0,i),1),o=Math.min(Math.max(0,o),1),s=Math.min(Math.max(0,s),1),[255*i,255*o,255*s]},o.xyz.lab=function(e){let t=e[0],r=e[1],n=e[2];return t/=95.047,r/=100,n/=108.883,t=t>.008856?t**(1/3):7.787*t+16/116,r=r>.008856?r**(1/3):7.787*r+16/116,n=n>.008856?n**(1/3):7.787*n+16/116,[116*r-16,500*(t-r),200*(r-n)]},o.lab.xyz=function(e){let t,r,n;r=(e[0]+16)/116,t=e[1]/500+r,n=r-e[2]/200;const i=r**3,o=t**3,s=n**3;return r=i>.008856?i:(r-16/116)/7.787,t=o>.008856?o:(t-16/116)/7.787,n=s>.008856?s:(n-16/116)/7.787,t*=95.047,r*=100,n*=108.883,[t,r,n]},o.lab.lch=function(e){const t=e[0],r=e[1],n=e[2];let i;return i=360*Math.atan2(n,r)/2/Math.PI,i<0&&(i+=360),[t,Math.sqrt(r*r+n*n),i]},o.lch.lab=function(e){const t=e[0],r=e[1],n=e[2]/360*2*Math.PI;return[t,r*Math.cos(n),r*Math.sin(n)]},o.rgb.ansi16=function(e,t=null){const[r,n,i]=e;let s=null===t?o.rgb.hsv(e)[2]:t;if(s=Math.round(s/50),0===s)return 30;let a=30+(Math.round(i/255)<<2|Math.round(n/255)<<1|Math.round(r/255));return 2===s&&(a+=60),a},o.hsv.ansi16=function(e){return o.rgb.ansi16(o.hsv.rgb(e),e[2])},o.rgb.ansi256=function(e){const t=e[0],r=e[1],n=e[2];return t===r&&r===n?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(r/255*5)+Math.round(n/255*5)},o.ansi16.rgb=function(e){let t=e%10;if(0===t||7===t)return e>50&&(t+=3.5),t=t/10.5*255,[t,t,t];const r=.5*(1+~~(e>50));return[(1&t)*r*255,(t>>1&1)*r*255,(t>>2&1)*r*255]},o.ansi256.rgb=function(e){if(e>=232){const t=10*(e-232)+8;return[t,t,t]}let t;return e-=16,[Math.floor(e/36)/5*255,Math.floor((t=e%36)/6)/5*255,t%6/5*255]},o.rgb.hex=function(e){const t=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".substring(t.length)+t},o.hex.rgb=function(e){const t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];let r=t[0];3===t[0].length&&(r=r.split("").map(e=>e+e).join(""));const n=parseInt(r,16);return[n>>16&255,n>>8&255,255&n]},o.rgb.hcg=function(e){const t=e[0]/255,r=e[1]/255,n=e[2]/255,i=Math.max(Math.max(t,r),n),o=Math.min(Math.min(t,r),n),s=i-o;let a,l;return a=s<1?o/(1-s):0,l=s<=0?0:i===t?(r-n)/s%6:i===r?2+(n-t)/s:4+(t-r)/s,l/=6,l%=1,[360*l,100*s,100*a]},o.hsl.hcg=function(e){const t=e[1]/100,r=e[2]/100,n=r<.5?2*t*r:2*t*(1-r);let i=0;return n<1&&(i=(r-.5*n)/(1-n)),[e[0],100*n,100*i]},o.hsv.hcg=function(e){const t=e[1]/100,r=e[2]/100,n=t*r;let i=0;return n<1&&(i=(r-n)/(1-n)),[e[0],100*n,100*i]},o.hcg.rgb=function(e){const t=e[0]/360,r=e[1]/100,n=e[2]/100;if(0===r)return[255*n,255*n,255*n];const i=[0,0,0],o=t%1*6,s=o%1,a=1-s;let l=0;switch(Math.floor(o)){case 0:i[0]=1,i[1]=s,i[2]=0;break;case 1:i[0]=a,i[1]=1,i[2]=0;break;case 2:i[0]=0,i[1]=1,i[2]=s;break;case 3:i[0]=0,i[1]=a,i[2]=1;break;case 4:i[0]=s,i[1]=0,i[2]=1;break;default:i[0]=1,i[1]=0,i[2]=a}return l=(1-r)*n,[255*(r*i[0]+l),255*(r*i[1]+l),255*(r*i[2]+l)]},o.hcg.hsv=function(e){const t=e[1]/100,r=t+e[2]/100*(1-t);let n=0;return r>0&&(n=t/r),[e[0],100*n,100*r]},o.hcg.hsl=function(e){const t=e[1]/100,r=e[2]/100*(1-t)+.5*t;let n=0;return r>0&&r<.5?n=t/(2*r):r>=.5&&r<1&&(n=t/(2*(1-r))),[e[0],100*n,100*r]},o.hcg.hwb=function(e){const t=e[1]/100,r=t+e[2]/100*(1-t);return[e[0],100*(r-t),100*(1-r)]},o.hwb.hcg=function(e){const t=e[1]/100,r=1-e[2]/100,n=r-t;let i=0;return n<1&&(i=(r-n)/(1-n)),[e[0],100*n,100*i]},o.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},o.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},o.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},o.gray.hsl=function(e){return[0,0,e[0]]},o.gray.hsv=o.gray.hsl,o.gray.hwb=function(e){return[0,100,e[0]]},o.gray.cmyk=function(e){return[0,0,0,e[0]]},o.gray.lab=function(e){return[e[0],0,0]},o.gray.hex=function(e){const t=255&Math.round(e[0]/100*255),r=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(r.length)+r},o.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}},73991:(e,t,r)=>{const n=r(92724),i=r(40577),o={};Object.keys(n).forEach(e=>{o[e]={},Object.defineProperty(o[e],"channels",{value:n[e].channels}),Object.defineProperty(o[e],"labels",{value:n[e].labels});const t=i(e);Object.keys(t).forEach(r=>{const n=t[r];o[e][r]=function(e){const t=function(...t){const r=t[0];if(null==r)return r;r.length>1&&(t=r);const n=e(t);if("object"==typeof n)for(let e=n.length,t=0;t1&&(t=r),e(t))};return"conversion"in e&&(t.conversion=e.conversion),t}(n)})}),e.exports=o},40577:(e,t,r)=>{const n=r(92724);function i(e){const t=function(){const e={},t=Object.keys(n);for(let r=t.length,n=0;n{"use strict";e.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]}},45179:e=>{e.exports=function(e,r){for(var n=[],i=0;i=1&&t<=31||127==t||0==i&&t>=48&&t<=57||1==i&&t>=48&&t<=57&&45==s?"\\"+t.toString(16)+" ":0==i&&1==n&&45==t||!(t>=128||45==t||95==t||t>=48&&t<=57||t>=65&&t<=90||t>=97&&t<=122)?"\\"+r.charAt(i):r.charAt(i):o+="�";return o};return e.CSS||(e.CSS={}),e.CSS.escape=t,t}(t)},25455:e=>{"use strict"; +/*! https://mths.be/cssesc v3.0.0 by @mathias */var t={}.hasOwnProperty,r=/[ -,\.\/:-@\[-\^`\{-~]/,n=/[ -,\.\/:-@\[\]\^`\{-~]/,i=/(^|\\+)?(\\[A-F0-9]{1,6})\x20(?![a-fA-F0-9\x20])/g,o=function e(o,s){"single"!=(s=function(e,r){if(!e)return r;var n={};for(var i in r)n[i]=t.call(e,i)?e[i]:r[i];return n}(s,e.options)).quotes&&"double"!=s.quotes&&(s.quotes="single");for(var a="double"==s.quotes?'"':"'",l=s.isIdentifier,c=o.charAt(0),u="",p=0,h=o.length;p126){if(f>=55296&&f<=56319&&p>8&15|e>>4&240)/255,g:(e>>4&15|240&e)/255,b:(15&e|e<<4&240)/255}:4===t?{mode:"rgb",r:(e>>12&15|e>>8&240)/255,g:(e>>8&15|e>>4&240)/255,b:(e>>4&15|240&e)/255,alpha:(15&e|e<<4&240)/255}:6===t?{mode:"rgb",r:(e>>16&255)/255,g:(e>>8&255)/255,b:(255&e)/255}:8===t?{mode:"rgb",r:(e>>24&255)/255,g:(e>>16&255)/255,b:(e>>8&255)/255,alpha:(255&e)/255}:void 0},r={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074},n=(/([+-]?\d*\.?\d+(?:[eE][+-]?\d+)?)/+"").replace(/^\/|\/$/g,""),i=n+"%",o="(?:"+n+"%|"+n+")",s="(?:"+n+"(deg|grad|rad|turn)|"+n+")",a="\\s*,\\s*",l="\\s+",c=new RegExp("^rgba?\\(\\s*"+n+a+n+a+n+"\\s*(?:,\\s*"+o+"\\s*)?\\)$"),u=new RegExp("^rgba?\\(\\s*"+i+a+i+a+i+"\\s*(?:,\\s*"+o+"\\s*)?\\)$"),p=new RegExp("^rgba?\\(\\s*"+n+l+n+l+n+"\\s*(?:\\/\\s*"+o+"\\s*)?\\)$"),h=new RegExp("^rgba?\\(\\s*"+i+l+i+l+i+"\\s*(?:\\/\\s*"+o+"\\s*)?\\)$"),d=new RegExp("^hsla?\\(\\s*"+s+a+i+a+i+"\\s*(?:,\\s*"+o+"\\s*)?\\)$"),f=new RegExp("^hsla?\\(\\s*"+s+l+i+l+i+"\\s*(?:\\/\\s*"+o+"\\s*)?\\)$"),g=/^#?([0-9a-f]{8}|[0-9a-f]{6}|[0-9a-f]{4}|[0-9a-f]{3})$/i,m=new RegExp("^hwb\\(\\s*"+s+l+i+l+i+"\\s*(?:\\/\\s*"+o+"\\s*)?\\)$"),v=new RegExp("^lab\\(\\s*"+n+"%?"+l+n+l+n+"\\s*(?:\\/\\s*"+o+"\\s*)?\\)$"),y=new RegExp("^lch\\(\\s*"+n+"%?"+l+n+l+s+"\\s*(?:\\/\\s*"+o+"\\s*)?\\)$"),b=new RegExp("^color\\(\\s*([a-z0-9\\-]+)\\s+"+o+l+o+l+o+"\\s*(?:\\/\\s*"+o+"\\s*)?\\)$"),w=function(e,t,r){return e+r*(t-e)},_=function(e){return void 0===e&&(e=1),1===e?function(e){return e}:function(t){return Math.pow(t,e)}},x=function(e){return function(t){var r=function(e){for(var t=[],r=0;r=1?r.length-1:Math.max(Math.floor(n),0),o=r[i];return void 0===o?void 0:e(o[0],o[1],n-i)}}},k=x(w),S=function(e){var t=!1,r=e.map((function(e){return void 0!==e?(t=!0,e):1}));return t?r:e},E={mode:"rgb",channels:["r","g","b","alpha"],parsers:[function(e){var r;return(r=e.match(g))?t(parseInt(r[1],16),r[1].length):void 0},function(e){var t,r;if(t=e.match(c)||e.match(p))r={mode:"rgb",r:t[1]/255,g:t[2]/255,b:t[3]/255};else{if(!(t=e.match(u)||e.match(h)))return;r={mode:"rgb",r:t[1]/100,g:t[2]/100,b:t[3]/100}}return void 0!==t[4]?r.alpha=t[4]/100:void 0!==t[5]&&(r.alpha=+t[5]),r},function(e){return t(r[e.toLowerCase()],6)},function(e){return"transparent"===e?t(0,8):void 0},"srgb"],serialize:"color(srgb ",interpolate:{r:k,g:k,b:k,alpha:{use:k,fixup:S}}},C=function(e){var t=Math.abs(e);return t<.04045?e/12.92:(Math.sign(e)||1)*Math.pow((t+.055)/1.055,2.4)},T=function(e){var t=e.r,r=e.g,n=e.b,i=e.alpha,o={mode:"lrgb",r:C(t),g:C(r),b:C(n)};return void 0!==i&&(o.alpha=i),o},A=function(e){var t=Math.abs(e);return t>.0031308?(Math.sign(e)||1)*(1.055*Math.pow(t,1/2.4)-.055):12.92*e},R=function(e,t){var r=e.r,n=e.g,i=e.b,o=e.alpha;void 0===t&&(t="rgb");var s={mode:t,r:A(r),g:A(n),b:A(i)};return void 0!==o&&(s.alpha=o),s},O=Object.assign({},E,{mode:"lrgb",output:{rgb:R},input:{rgb:T},parsers:["--srgb-linear"],serialize:"color(--srgb-linear "}),P=function(e){return Math.pow(Math.abs(e),563/256)*Math.sign(e)},I=function(e){var t=P(e.r),r=P(e.g),n=P(e.b),i={mode:"xyz65",x:.5766690429101305*t+.1855582379065463*r+.1882286462349947*n,y:.29734497525053605*t+.6273635662554661*r+.07529145849399788*n,z:.02703136138641234*t+.07068885253582723*r+.9913375368376388*n};return void 0!==e.alpha&&(i.alpha=e.alpha),i},M=function(e){return Math.pow(Math.abs(e),256/563)*Math.sign(e)},D=function(e){var t=e.x,r=e.y,n=e.z,i=e.alpha,o={mode:"a98",r:M(2.0415879038107465*t-.5650069742788596*r-.34473135077832956*n),g:M(-.9692436362808795*t+1.8759675015077202*r+.04155505740717557*n),b:M(.013444280632031142*t-.11836239223101838*r+1.0151749943912054*n)};return void 0!==i&&(o.alpha=i),o},j=function(e){var t=T(e),r=t.r,n=t.g,i=t.b,o=t.alpha,s={mode:"xyz65",x:.4124564*r+.3575761*n+.1804375*i,y:.2126729*r+.7151522*n+.072175*i,z:.0193339*r+.119192*n+.9503041*i};return void 0!==o&&(s.alpha=o),s},N=function(e){var t=e.x,r=e.y,n=e.z,i=e.alpha,o=R({r:3.2404542*t-1.5371385*r-.4985314*n,g:-.969266*t+1.8760108*r+.041556*n,b:.0556434*t-.2040259*r+1.0572252*n});return void 0!==i&&(o.alpha=i),o},L=Object.assign({},E,{mode:"a98",parsers:["a98-rgb"],serialize:"color(a98-rgb ",input:{rgb:function(e){return D(j(e))},xyz65:D},output:{rgb:function(e){return N(I(e))},xyz65:I}}),F=function(e){var t=T(e),r=t.r,n=t.g,i=t.b,o=t.alpha,s={mode:"xyz65",x:.4865709*r+.2656676*n+.1982172*i,y:.2289745*r+.6917385*n+.0792869*i,z:0*r+.0451133*n+1.0439443*i};return void 0!==o&&(s.alpha=o),s},q=function(e){var t=e.x,r=e.y,n=e.z,i=e.alpha,o=R({r:2.4934969*t-.9313836*r-.4027107*n,g:-.8294889*t+1.762664*r+.0236246*n,b:.0358458*t-.0761723*r+.9568845*n},"p3");return void 0!==i&&(o.alpha=i),o},$=Object.assign({},E,{mode:"p3",parsers:["display-p3"],serialize:"color(display-p3 ",input:{rgb:function(e){return q(j(e))},xyz65:q},output:{rgb:function(e){return N(F(e))},xyz65:F}}),B=function(e){var t=Math.abs(e);return t>=1/512?Math.sign(e)*Math.pow(t,1/1.8):16*e},z=function(e){var t=e.x,r=e.y,n=e.z,i=e.alpha,o={mode:"prophoto",r:B(1.3457989731028281*t-.25558010007997534*r-.05110628506753401*n),g:B(-.5446224939028347*t+1.5082327413132781*r+.02053603239147973*n),b:B(0*t+0*r+1.2119675456389454*n)};return void 0!==i&&(o.alpha=i),o},U=function(e){var t=Math.abs(e);return t>=16/512?Math.sign(e)*Math.pow(t,1.8):e/16},W=function(e){var t=U(e.r),r=U(e.g),n=U(e.b),i={mode:"xyz65",x:.7977604896723027*t+.13518583717574031*r+.0313493495815248*n,y:.2880711282292934*t+.7118432178101014*r+8565396060525902e-20*n,z:0*t+0*r+.8251046025104601*n};return void 0!==e.alpha&&(i.alpha=e.alpha),i},H=function(e){var t=e.x,r=e.y,n=e.z,i=e.alpha,o=R({r:3.1338561*t-1.6168667*r-.4906146*n,g:-.9787684*t+1.9161415*r+.033454*n,b:.0719453*t-.2289914*r+1.4052427*n});return void 0!==i&&(o.alpha=i),o},V=function(e){var t=T(e),r=t.r,n=t.g,i=t.b,o=t.alpha,s={mode:"xyz",x:.4360747*r+.3850649*n+.1430804*i,y:.2225045*r+.7168786*n+.0606169*i,z:.0139322*r+.0971045*n+.7141733*i};return void 0!==o&&(s.alpha=o),s},G=Object.assign({},E,{mode:"prophoto",parsers:["prophoto-rgb"],serialize:"color(prophoto-rgb ",input:{xyz:z,rgb:function(e){return z(V(e))}},output:{xyz:W,rgb:function(e){return H(W(e))}}}),Y=1.09929682680944,K=function(e){var t=Math.abs(e);return t>.018053968510807?(Math.sign(e)||1)*(Y*Math.pow(t,.45)-(Y-1)):4.5*e},Q=function(e){var t=e.x,r=e.y,n=e.z,i=e.alpha,o={mode:"rec2020",r:K(1.7166511879712674*t-.35567078377639233*r-.25336628137365974*n),g:K(-.6666843518324892*t+1.6164812366349395*r+.01576854581391113*n),b:K(.017639857445310783*t-.042770613257808524*r+.9421031212354738*n)};return void 0!==i&&(o.alpha=i),o},J=1.09929682680944,X=function(e){var t=Math.abs(e);return t<.08124285829863151?e/4.5:(Math.sign(e)||1)*Math.pow((t+J-1)/J,1/.45)},Z=function(e){var t=X(e.r),r=X(e.g),n=X(e.b),i={mode:"xyz65",x:.6369580483012914*t+.14461690358620832*r+.1688809751641721*n,y:.2627002120112671*t+.6779980715188708*r+.05930171646986196*n,z:0*t+.028072693049087428*r+1.060985057710791*n};return void 0!==e.alpha&&(i.alpha=e.alpha),i},ee=Object.assign({},E,{mode:"rec2020",input:{xyz:Q,rgb:function(e){return Q(j(e))}},output:{xyz:Z,rgb:function(e){return N(Z(e))}},parsers:["rec2020"],serialize:"color(rec2020 "}),te=function(e){return(e%=360)<0?e+360:e},re=function(e,t){switch(t){case"deg":return+e;case"rad":return e/Math.PI*180;case"grad":return e/10*9;case"turn":return 360*e}},ne=function(e,t){return e.map((function(r,n,i){if(void 0===r)return r;var o=te(r);return 0===n||void 0===e[n-1]?o:t(o-te(i[n-1]))})).reduce((function(e,t){return e.length&&void 0!==t&&void 0!==e[e.length-1]?(e.push(t+e[e.length-1]),e):(e.push(t),e)}),[])},ie=function(e){return ne(e,(function(e){return Math.abs(e)<=180?e:e-360*Math.sign(e)}))},oe={},se={},ae=[],le={},ce=function(e){return e},ue=function(e){oe[e.mode]=Object.assign(oe[e.mode]||{},e.output),Object.keys(e.input||{}).forEach((function(t){oe[t]||(oe[t]={}),oe[t][e.mode]=e.input[t]})),e.ranges||(e.ranges={}),e.difference||(e.difference={}),e.channels.forEach((function(t){if(void 0===e.ranges[t]&&(e.ranges[t]=[0,1]),!e.interpolate[t])throw new Error("Missing interpolator for: "+t);"function"==typeof e.interpolate[t]&&(e.interpolate[t]={use:e.interpolate[t]}),e.interpolate[t].fixup||(e.interpolate[t].fixup=ce)})),se[e.mode]=e,(e.parsers||[]).forEach((function(t){"function"==typeof t?ae.push(t):"string"==typeof t&&(le[t]=e.mode)}))},pe=function(e){return se[e]},he=function(e){if("string"==typeof e){for(var t=void 0,r=0,n=ae.length;r180?r-(n-360*Math.sign(n-r)):n-r},ve=function(e,t){if(void 0===e.h||void 0===t.h||!e.c||!t.c)return 0;var r=te(e.h),n=te(t.h),i=Math.sin((n-r+360)/2*Math.PI/180);return 2*Math.sqrt(e.c*t.c)*i},ye=function(e,t){void 0===e&&(e="rgb"),void 0===t&&(t=[1,1,1,0]);var r=pe(e),n=r.channels,i=r.difference,o=fe(e);return function(e,r){var s=o(e),a=o(r);return Math.sqrt(n.reduce((function(e,r,n){var o=i[r]?i[r](s,a):s[r]-a[r];return e+(t[n]||0)*Math.pow(isNaN(o)?0:o,2)}),0))}},be=function(e){var t=e.reduce((function(e,t){if(void 0!==t){var r=t*Math.PI/180;e.sin+=Math.sin(r),e.cos+=Math.cos(r)}return e}),{sin:0,cos:0});return 180*Math.atan2(t.sin,t.cos)/Math.PI},we=function(e){var t=e.filter((function(e){return void 0!==e}));return t.length?t.reduce((function(e,t){return e+t}),0)/t.length:void 0},_e=function(e){return"function"==typeof e},xe={mode:"hsl",output:{rgb:function(e){var t=e.h,r=e.s,n=e.l,i=e.alpha;t=te(t);var o,s=n+r*(n<.5?n:1-n),a=s-2*(s-n)*Math.abs(t/60%2-1);switch(Math.floor(t/60)){case 0:o={r:s,g:a,b:2*n-s};break;case 1:o={r:a,g:s,b:2*n-s};break;case 2:o={r:2*n-s,g:s,b:a};break;case 3:o={r:2*n-s,g:a,b:s};break;case 4:o={r:a,g:2*n-s,b:s};break;case 5:o={r:s,g:2*n-s,b:a};break;default:o={r:2*n-s,g:2*n-s,b:2*n-s}}return o.mode="rgb",void 0!==i&&(o.alpha=i),o}},input:{rgb:function(e){var t=e.r,r=e.g,n=e.b,i=e.alpha,o=Math.max(t,r,n),s=Math.min(t,r,n),a={mode:"hsl",s:o===s?0:(o-s)/(1-Math.abs(o+s-1)),l:.5*(o+s)};return o-s!=0&&(a.h=60*(o===t?(r-n)/(o-s)+6*(r1){var i=r+n;r/=i,n/=i}return ke({h:t,s:1===n?1:1-r/(1-n),v:1-n,alpha:e.alpha})}},input:{rgb:function(e){var t=Se(e);if(void 0!==t){var r={mode:"hwb",w:(1-t.s)*t.v,b:1-t.v};return void 0!==t.h&&(r.h=t.h),void 0!==t.alpha&&(r.alpha=t.alpha),r}}},channels:["h","w","b","alpha"],ranges:{h:[0,360]},parsers:[function(e){var t=e.match(m);if(t){var r={mode:"hwb",h:void 0===t[3]?re(t[1],t[2]):+t[3],w:t[4]/100,b:t[5]/100};return void 0!==t[6]?r.alpha=t[6]/100:void 0!==t[7]&&(r.alpha=+t[7]),r}}],serialize:function(e){return"hwb("+(e.h||0)+" "+100*e.w+"% "+100*e.b+"%"+(e.alpha<1?" / "+e.alpha:"")+")"},interpolate:{h:{use:k,fixup:ie},w:k,b:k,alpha:{use:k,fixup:S}},difference:{h:me},average:{h:be}},Ae=function(e){var t=Math.pow(e/1e4,.1593017578125);return Math.pow((.8359375+18.8515625*t)/(1+18.6875*t),134.03437499999998)||0},Re=function(e){return Math.max(203*e,0)},Oe=function(e){var t=e.x,r=e.y,n=e.z,i=e.alpha;t=Re(t),r=Re(r);var o=1.15*t-.15*(n=Re(n)),s=.66*r+.34*t,a=Ae(.41478972*o+.579999*s+.014648*n),l=Ae(-.20151*o+1.120649*s+.0531008*n),c=Ae(-.0166008*o+.2648*s+.6684799*n),u=(a+l)/2,p={mode:"jab",j:.44*u/(1-.56*u)-16295499532821565e-27,a:3.524*a-4.066708*l+.542708*c,b:.199076*a+1.096799*l-1.295875*c};return void 0!==i&&(p.alpha=i),p},Pe=16295499532821565e-27,Ie=function(e){var t=Math.pow(e,.007460772656268216);return 1e4*Math.pow((.8359375-t)/(18.6875*t-18.8515625),6.277394636015326)||0},Me=function(e){return e/203},De=function(e){var t=e.j,r=e.a,n=e.b,i=e.alpha,o=(t+Pe)/(.44+.56*(t+Pe)),s=Ie(o+.13860504*r+.058047316*n),a=Ie(o-.13860504*r-.058047316*n),l=Ie(o-.096019242*r-.8118919*n),c={mode:"xyz65",x:Me(1.661373024652174*s-.914523081304348*a+.23136208173913045*l),y:Me(-.3250758611844533*s+1.571847026732543*a-.21825383453227928*l),z:Me(-.090982811*s-.31272829*a+1.5227666*l)};return void 0!==i&&(c.alpha=i),c},je=function(e){var t=Oe(j(e));return e.r===e.b&&e.b===e.g&&(t.a=t.b=0),t},Ne=function(e){return N(De(e))},Le={mode:"jab",channels:["j","a","b","alpha"],parsers:["--jzazbz"],serialize:"color(--jzazbz ",input:{rgb:je,xyz65:Oe},output:{rgb:Ne,xyz65:De},ranges:{j:[0,.222],a:[-.109,.129],b:[-.185,.134]},interpolate:{j:k,a:k,b:k,alpha:{use:k,fixup:S}}},Fe=function(e){var t=e.j,r=e.a,n=e.b,i=e.alpha,o=Math.sqrt(r*r+n*n),s={mode:"jch",j:t,c:o};return o&&(s.h=te(180*Math.atan2(n,r)/Math.PI)),void 0!==i&&(s.alpha=i),s},qe=function(e){var t=e.j,r=e.c,n=e.h,i=e.alpha,o={mode:"jab",j:t,a:r?r*Math.cos(n/180*Math.PI):0,b:r?r*Math.sin(n/180*Math.PI):0};return void 0!==i&&(o.alpha=i),o},$e={mode:"jch",parsers:["--jzczhz"],serialize:"color(--jzczhz ",output:{jab:qe,rgb:function(e){return Ne(qe(e))}},input:{rgb:function(e){return Fe(je(e))},jab:Fe},channels:["j","c","h","alpha"],ranges:{j:[0,.221],c:[0,.19],h:[0,360]},interpolate:{h:{use:k,fixup:ie},c:k,j:k,alpha:{use:k,fixup:S}},difference:{h:ve},average:{h:be}},Be=.96422,ze=.82521,Ue=Math.pow(29,3)/Math.pow(3,3),We=Math.pow(6,3)/Math.pow(29,3),He=function(e){return Math.pow(e,3)>We?Math.pow(e,3):(116*e-16)/Ue},Ve=function(e){var t=e.l,r=e.a,n=e.b,i=e.alpha,o=(t+16)/116,s=o-n/200,a={mode:"xyz",x:He(r/500+o)*Be,y:1*He(o),z:He(s)*ze};return void 0!==i&&(a.alpha=i),a},Ge=function(e){return H(Ve(e))},Ye=function(e){return e>We?Math.cbrt(e):(Ue*e+16)/116},Ke=function(e){var t=e.x,r=e.y,n=e.z,i=e.alpha,o=Ye(t/Be),s=Ye(r/1),a={mode:"lab",l:116*s-16,a:500*(o-s),b:200*(s-Ye(n/ze))};return void 0!==i&&(a.alpha=i),a},Qe=function(e){var t=Ke(V(e));return e.r===e.b&&e.b===e.g&&(t.a=t.b=0),t},Je={mode:"lab",output:{xyz:Ve,rgb:Ge},input:{xyz:Ke,rgb:Qe},channels:["l","a","b","alpha"],ranges:{l:[0,100],a:[-79.287,93.55],b:[-112.029,93.388]},parsers:[function(e){var t=e.match(v);if(t){var r={mode:"lab",l:+t[1],a:+t[2],b:+t[3]};return void 0!==t[4]?r.alpha=t[4]/100:void 0!==t[5]&&(r.alpha=+t[5]),r}}],serialize:function(e){return"lab("+e.l+"% "+e.a+" "+e.b+(e.alpha<1?" / "+e.alpha:"")+")"},interpolate:{l:k,a:k,b:k,alpha:{use:k,fixup:S}}},Xe=Math.pow(29,3)/Math.pow(3,3),Ze=Math.pow(6,3)/Math.pow(29,3),et=function(e){return Math.pow(e,3)>Ze?Math.pow(e,3):(116*e-16)/Xe},tt=function(e){var t=e.l,r=e.a,n=e.b,i=e.alpha,o=(t+16)/116,s=o-n/200,a={mode:"xyz65",x:.95047*et(r/500+o),y:1*et(o),z:1.08883*et(s)};return void 0!==i&&(a.alpha=i),a},rt=function(e){return N(tt(e))},nt=function(e){return e>Ze?Math.cbrt(e):(Xe*e+16)/116},it=function(e){var t=e.x,r=e.y,n=e.z,i=e.alpha,o=nt(t/.95047),s=nt(r/1),a={mode:"lab65",l:116*s-16,a:500*(o-s),b:200*(s-nt(n/1.08883))};return void 0!==i&&(a.alpha=i),a},ot=function(e){var t=it(j(e));return e.r===e.b&&e.b===e.g&&(t.a=t.b=0),t},st=Object.assign({},Je,{mode:"lab65",parsers:["--lab-d65"],serialize:"color(--lab-d65 ",output:{xyz65:tt,rgb:rt},input:{xyz65:it,rgb:ot},ranges:{l:[0,100],a:[-86.182,98.234],b:[-107.86,94.477]}}),at=function(e,t){var r=e.l,n=e.a,i=e.b,o=e.alpha;void 0===t&&(t="lch");var s=Math.sqrt(n*n+i*i),a={mode:t,l:r,c:s};return s&&(a.h=te(180*Math.atan2(i,n)/Math.PI)),void 0!==o&&(a.alpha=o),a},lt=function(e,t){var r=e.l,n=e.c,i=e.h,o=e.alpha;void 0===t&&(t="lab");var s={mode:t,l:r,a:n?n*Math.cos(i/180*Math.PI):0,b:n?n*Math.sin(i/180*Math.PI):0};return void 0!==o&&(s.alpha=o),s},ct={mode:"lch",output:{lab:lt,rgb:function(e){return Ge(lt(e))}},input:{rgb:function(e){return at(Qe(e))},lab:at},channels:["l","c","h","alpha"],ranges:{l:[0,100],c:[0,131.207],h:[0,360]},parsers:[function(e){var t=e.match(y);if(t){var r={mode:"lch",l:+t[1],c:Math.max(0,+t[2]),h:void 0===t[5]?re(t[3],t[4]):+t[5]};return void 0!==t[6]?r.alpha=t[6]/100:void 0!==t[7]&&(r.alpha=+t[7]),r}}],serialize:function(e){return"lch("+e.l+"% "+e.c+" "+(e.h||0)+(e.alpha<1?" / "+e.alpha:"")+")"},interpolate:{h:{use:k,fixup:ie},c:k,l:k,alpha:{use:k,fixup:S}},difference:{h:ve},average:{h:be}},ut=Object.assign({},ct,{mode:"lch65",parsers:["--lch-d65"],serialize:"color(--lch-d65 ",output:{lab65:function(e){return lt(e,"lab65")},rgb:function(e){return rt(lt(e,"lab65"))}},input:{rgb:function(e){return at(ot(e),"lch65")},lab65:function(e){return at(e,"lch65")}},ranges:{l:[0,100],c:[0,133.807],h:[0,360]}}),pt=function(e,t,r){return 4*e/(e+15*t+3*r)},ht=function(e,t,r){return 9*t/(e+15*t+3*r)},dt=pt(Be,1,ze),ft=ht(Be,1,ze),gt=function(e){var t,r=e.x,n=e.y,i=e.z,o=e.alpha,s=(t=n/1)<=We?Ue*t:116*Math.cbrt(t)-16,a=pt(r,n,i),l=ht(r,n,i);isFinite(a)&&isFinite(l)?(a=13*s*(a-dt),l=13*s*(l-ft)):s=a=l=0;var c={mode:"luv",l:s,u:a,v:l};return void 0!==o&&(c.alpha=o),c},mt=function(e){return gt(V(e))},vt=4*Be/18.43985,yt=function(e){var t=e.l,r=e.u,n=e.v,i=e.alpha,o=r/(13*t)+vt,s=n/(13*t)+9/18.43985,a=1*(t<=8?t/Ue:Math.pow((t+16)/116,3)),l={mode:"xyz",x:a*(9*o)/(4*s),y:a,z:a*(12-3*o-20*s)/(4*s)};return void 0!==i&&(l.alpha=i),l},bt=function(e){return H(yt(e))},wt={mode:"luv",output:{xyz:yt,rgb:bt},input:{xyz:gt,rgb:mt},channels:["l","u","v","alpha"],parsers:["--luv"],serialize:"color(--luv ",ranges:{l:[0,100],u:[-84.936,175.042],v:[-125.882,87.243]},interpolate:{l:k,u:k,v:k,alpha:{use:k,fixup:S}}},_t=function(e){var t=e.l,r=e.u,n=e.v,i=e.alpha,o=Math.sqrt(r*r+n*n),s={mode:"lchuv",l:t,c:o};return o&&(s.h=te(180*Math.atan2(n,r)/Math.PI)),void 0!==i&&(s.alpha=i),s},xt=function(e){var t=e.l,r=e.c,n=e.h,i=e.alpha,o={mode:"luv",l:t,u:r?r*Math.cos(n/180*Math.PI):0,v:r?r*Math.sin(n/180*Math.PI):0};return void 0!==i&&(o.alpha=i),o},kt={mode:"lchuv",output:{luv:xt,rgb:function(e){return bt(xt(e))}},input:{rgb:function(e){return _t(mt(e))},luv:_t},channels:["l","c","h","alpha"],parsers:["--lchuv"],serialize:"color(--lchuv ",ranges:{l:[0,100],c:[0,176.956],h:[0,360]},interpolate:{h:{use:k,fixup:ie},c:k,l:k,alpha:{use:k,fixup:S}},difference:{h:ve},average:{h:be}},St=[-.14861,1.78277,-.29227,-.90649,1.97294,0],Et=Math.PI/180,Ct=180/Math.PI,Tt=St[3]*St[4],At=St[1]*St[4],Rt=St[1]*St[2]-St[0]*St[3],Ot={mode:"cubehelix",channels:["h","s","l","alpha"],parsers:["--cubehelix"],serialize:"color(--cubehelix ",ranges:{h:[0,360],s:[0,4.614],l:[0,1]},input:{rgb:function(e){var t=e.r,r=e.g,n=e.b,i=e.alpha,o=(Rt*n+t*Tt-r*At)/(Rt+Tt-At),s=n-o,a=(St[4]*(r-o)-St[2]*s)/St[3],l={mode:"cubehelix",l:o,s:0===o||1===o?void 0:Math.sqrt(s*s+a*a)/(St[4]*o*(1-o))};return l.s&&(l.h=Math.atan2(a,s)*Ct-120),void 0!==i&&(l.alpha=i),l}},output:{rgb:function(e){var t=e.h,r=e.s,n=e.l,i=e.alpha,o={mode:"rgb"};t=(void 0===t?0:t+120)*Et;var s=void 0===r?0:r*n*(1-n),a=Math.cos(t),l=Math.sin(t);return o.r=n+s*(St[0]*a+St[1]*l),o.g=n+s*(St[2]*a+St[3]*l),o.b=n+s*(St[4]*a+St[5]*l),void 0!==i&&(o.alpha=i),o}},interpolate:{h:{use:k,fixup:ie},s:k,l:k,alpha:{use:k,fixup:S}},difference:{h:ge},average:{h:be}},Pt=function(e){var t=e.l,r=e.a,n=e.b,i=e.alpha,o=Math.sqrt(r*r+n*n),s={mode:"dlch",l:t,c:o};return o&&(s.h=te(180*Math.atan2(n,r)/Math.PI)),void 0!==i&&(s.alpha=i),s},It=26/180*Math.PI,Mt=Math.cos(It),Dt=Math.sin(It),jt=100/Math.log(1.39),Nt=function(e){var t=e.l,r=e.c,n=e.h,i=e.alpha,o={mode:"lab65",l:(Math.exp(1*t/jt)-1)/.0039};if(void 0===n)o.a=o.b=0;else{var s=(Math.exp(.0435*r*1*1)-1)/.075,a=s*Math.cos(n/180*Math.PI-It),l=s*Math.sin(n/180*Math.PI-It);o.a=a*Mt-l/.83*Dt,o.b=a*Dt+l/.83*Mt}return void 0!==i&&(o.alpha=i),o},Lt=function(e){return Nt(Pt(e))},Ft=function(e){var t=e.l,r=e.a,n=e.b,i=e.alpha,o=r*Mt+n*Dt,s=.83*(n*Mt-r*Dt),a=Math.sqrt(o*o+s*s),l={mode:"dlch",l:jt/1*Math.log(1+.0039*t),c:Math.log(1+.075*a)/.0435};return l.c&&(l.h=te((Math.atan2(s,o)+It)/Math.PI*180)),void 0!==i&&(l.alpha=i),l},qt=function(e){var t=e.l,r=e.c,n=e.h,i=e.alpha,o={mode:"dlab",l:t,a:0===r?0:r*Math.cos(n/180*Math.PI),b:0===r?0:r*Math.sin(n/180*Math.PI)};return void 0!==i&&(o.alpha=i),o},$t=function(e){return qt(Ft(e))},Bt={mode:"dlab",parsers:["--din99o-lab"],serialize:"color(--din99o-lab ",output:{lab65:Lt,rgb:function(e){return rt(Lt(e))}},input:{lab65:$t,rgb:function(e){return $t(ot(e))}},channels:["l","a","b","alpha"],ranges:{l:[0,100],a:[-40.09,45.501],b:[-40.469,44.344]},interpolate:{l:k,a:k,b:k,alpha:{use:k,fixup:S}}},zt={mode:"dlch",parsers:["--din99o-lch"],serialize:"color(--din99o-lch ",output:{lab65:Nt,dlab:qt,rgb:function(e){return rt(Nt(e))}},input:{lab65:Ft,dlab:Pt,rgb:function(e){return Ft(ot(e))}},channels:["l","c","h","alpha"],ranges:{l:[0,100],c:[0,51.484],h:[0,360]},interpolate:{l:k,c:k,h:{use:k,fixup:ie},alpha:{use:k,fixup:S}},difference:{h:ve},average:{h:be}},Ut={mode:"xyz",parsers:["xyz","--xyz-d50"],serialize:"color(--xyz-d50 ",output:{rgb:H,lab:Ke},input:{rgb:V,lab:Ve},channels:["x","y","z","alpha"],ranges:{x:[0,.964],y:[0,.999],z:[0,.825]},interpolate:{x:k,y:k,z:k,alpha:{use:k,fixup:S}}},Wt={mode:"xyz65",serialize:"color(--xyz-d65 ",output:{rgb:N,xyz:function(e){var t=e.x,r=e.y,n=e.z,i=e.alpha,o={mode:"xyz",x:1.0478112*t+.0228866*r-.050127*n,y:.0295424*t+.9904844*r-.0170491*n,z:-.0092345*t+.0150436*r+.7521316*n};return void 0!==i&&(o.alpha=i),o}},input:{rgb:j,xyz:function(e){var t=e.x,r=e.y,n=e.z,i=e.alpha,o={mode:"xyz65",x:.9555766*t-.0230393*r+.0631636*n,y:-.0282895*t+1.0099416*r+.0210077*n,z:.0122982*t-.020483*r+1.3299098*n};return void 0!==i&&(o.alpha=i),o}},ranges:{x:[0,.95],y:[0,1],z:[0,1.088]},channels:["x","y","z","alpha"],parsers:["--xyz-d65"],interpolate:{x:k,y:k,z:k,alpha:{use:k,fixup:S}}},Ht={mode:"yiq",output:{rgb:function(e){var t=e.y,r=e.i,n=e.q,i=e.alpha;return R({r:t+.95608445*r+.6208885*n,g:t-.27137664*r-.6486059*n,b:t-1.10561724*r+1.70250126*n,alpha:i})}},input:{rgb:function(e){var t=T(e),r=t.r,n=t.g,i=t.b,o=t.alpha,s={mode:"yiq",y:.29889531*r+.58662247*n+.11448223*i,i:.59597799*r-.2741761*n-.32180189*i,q:.21147017*r-.52261711*n+.31114694*i};return void 0!==o&&(s.alpha=o),s}},channels:["y","i","q","alpha"],parsers:["--yiq"],serialize:"color(--yiq ",ranges:{i:[-.595,.595],q:[-.522,.522]},interpolate:{y:k,i:k,q:k,alpha:{use:k,fixup:S}}},Vt=function(e){var t=e.l,r=e.a,n=e.b,i=e.alpha,o=Math.pow(t+.3963377774*r+.2158037573*n,3),s=Math.pow(t-.1055613458*r-.0638541728*n,3),a=Math.pow(t-.0894841775*r-1.291485548*n,3),l={mode:"lrgb",r:4.0767416621*o-3.3077115913*s+.2309699292*a,g:-1.2684380046*o+2.6097574011*s-.3413193965*a,b:-.0041960863*o-.7034186147*s+1.707614701*a};return void 0!==i&&(l.alpha=i),l},Gt=function(e){var t=e.r,r=e.g,n=e.b,i=e.alpha,o=Math.cbrt(.4122214708*t+.5363325363*r+.0514459929*n),s=Math.cbrt(.2119034982*t+.6806995451*r+.1073969566*n),a=Math.cbrt(.0883024619*t+.2817188376*r+.6299787005*n),l={mode:"oklab",l:.2104542553*o+.793617785*s-.0040720468*a,a:1.9779984951*o-2.428592205*s+.4505937099*a,b:.0259040371*o+.7827717662*s-.808675766*a};return void 0!==i&&(l.alpha=i),l},Yt=function(e){var t=Gt(T(e));return e.r===e.b&&e.b===e.g&&(t.a=t.b=0),t},Kt=function(e){return R(Vt(e))},Qt=Object.assign({},Je,{mode:"oklab",output:{lrgb:Vt,rgb:Kt},input:{lrgb:Gt,rgb:Yt},ranges:{l:[0,.999],a:[-.233,.276],b:[-.311,.198]},parsers:["--oklab"],serialize:"color(--oklab "}),Jt=Object.assign({},ct,{mode:"oklch",output:{oklab:function(e){return lt(e,"oklab")},rgb:function(e){return Kt(lt(e,"oklab"))}},input:{rgb:function(e){return at(Yt(e),"oklch")},oklab:function(e){return at(e,"oklch")}},parsers:["--oklch"],serialize:"color(--oklch ",ranges:{l:[0,.999],c:[0,.322],h:[0,360]}}),Xt=function(e){return void 0===e&&(e=4),function(t){return"number"==typeof t?function(e,t){return Math.round(e*(t=Math.pow(10,t)))/t}(t,e):t}},Zt=fe("rgb"),er=fe("hsl"),tr=Xt(2),rr=function(e){return Math.max(0,Math.min(1,e))},nr=function(e){return Math.round(255*rr(e))},ir=function(e){var t=Zt(e);if(void 0!==t)return"#"+(1<<24|nr(t.r)<<16|nr(t.g)<<8|nr(t.b)).toString(16).slice(1)},or=function(e){var t=Zt(e);if(void 0!==t){var r=nr(t.r),n=nr(t.g),i=nr(t.b);return void 0===t.alpha||1===t.alpha?"rgb("+r+", "+n+", "+i+")":"rgba("+r+", "+n+", "+i+", "+tr(rr(t.alpha))+")"}},sr=function(e){return void 0===e&&(e=.5),function(t){return e<=0?1:e>=1?0:Math.pow(t,Math.log(.5)/Math.log(e))}},ar=function(e,t,r){void 0===t&&(t="rgb"),void 0===r&&(r=!1);var n=t?pe(t).channels:null,i=t?fe(t):de;return function(o){var s=i(o),a=(n||pe(o.mode).channels).reduce((function(r,n){var i=e(s[n],n,s,t);return void 0===i||isNaN(i)||(r[n]=i),r}),{mode:t});if(!r)return a;var l=de(o);return l&&l.mode!==a.mode?fe(l.mode)(a):a}},lr=function(e,t,r){return"alpha"!==t?(e||0)*(void 0!==r.alpha?r.alpha:1):e},cr=function(e,t,r){return"alpha"!==t&&0!==r.alpha?(e||0)/(void 0!==r.alpha?r.alpha:1):e},ur=function(e,t){return void 0===e&&(e=1),void 0===t&&(t=0),function(r,n){return"alpha"!==n?r*e+t:r}},pr=function(e){return"function"==typeof e},hr=function(e){return e&&"object"==typeof e},dr=function(e){return"number"==typeof e},fr=function(e,t,r,n){void 0===t&&(t="rgb");var i=pe(t),o=fe(t),s=[],a=[],l={};e.forEach((function(e){Array.isArray(e)?(s.push(o(e[0])),a.push(e[1])):dr(e)||pr(e)?l[a.length]=e:(s.push(o(e)),a.push(void 0))})),function(e){void 0===e[0]&&(e[0]=0),void 0===e[e.length-1]&&(e[e.length-1]=1);for(var t,r,n,i,o=1;oa[h])return s[h];for(var r=0;a[r]=1?r-1:Math.max(0,Math.floor(t*r));return br(n>0?e[n-1]:2*e[n]-e[n+1],e[n],e[n+1],n0&&(o[r-1]=i[r-1]),t=r-2;t>0;--t)o[t]=i[t]-n[t]*o[t+1];return o},kr=function(e){return wr(xr(e))},Sr=function(e){return _r(xr(e))},Er=Math.sign,Cr=Math.min,Tr=Math.abs,Ar=function(e){for(var t=e.length-1,r=[],n=[],i=[],o=0;o0?.5*(e[o+1]-e[o-1])*t:void 0),i.push(o>0?(Er(r[o-1])+Er(r[o]))*Cr(Tr(r[o-1]),Tr(r[o]),.5*Tr(n[o])):void 0);return[r,n,i]},Rr=function(e,t,r){var n=e.length-1,i=n*n;return function(o){var s,a=o-(s=o>=1?n-1:Math.max(0,Math.floor(o*n)))/n,l=a*a,c=l*a;return(t[s]+t[s+1]-2*r[s])*i*c+(3*r[s]-2*t[s]-t[s+1])*n*l+t[s]*a+e[s]}},Or=function(e){if(e.length<3)return k(e);var t=e.length-1,r=Ar(e),n=r[0],i=r[2];return i[0]=n[0],i[t]=n[t-1],Rr(e,i,n)},Pr=function(e){var t=e.length-1,r=Ar(e),n=r[0],i=r[1],o=r[2];i[0]=.5*(e[1]-e[t])*t,i[t]=.5*(e[0]-e[t-1])*t;var s=(e[0]-e[t])*t,a=s;return o[0]=(Er(s)+Er(n[0]))*Cr(Tr(s),Tr(n[0]),.5*Tr(i[0])),o[t]=(Er(n[t-1])+Er(a))*Cr(Tr(n[t-1]),Tr(a),.5*Tr(i[t])),Rr(e,o,n)},Ir=fe("rgb"),Mr=function(e){var t=Ir(e);return void 0!==t&&t.r>=0&&t.r<=1&&t.g>=0&&t.g<=1&&t.b>=0&&t.b<=1},Dr=fe("rgb"),jr=function(e){var t=Dr(e);return t.r=Math.max(0,Math.min(t.r,1)),t.g=Math.max(0,Math.min(t.g,1)),t.b=Math.max(0,Math.min(t.b,1)),t},Nr=function(e){return void 0===(e=de(e))||Mr(e)?e:fe(e.mode)(jr(e))},Lr=function(e,t){if(void 0===t&&(t="lch"),void 0===(e=de(e))||Mr(e))return e;var r=fe(e.mode);e=fe(t)(e);var n=Object.assign({},e,{c:0});if(!Mr(n))return r(jr(n));for(var i,o=0,s=e.c,a=pe(t).ranges.c,l=(a[1]-a[0])/Math.pow(2,13);s-o>l;)n.c=o+.5*(s-o),Mr(n)?(i=n.c,o=n.c):s=n.c;return r(Mr(n)?n:Object.assign({},n,{c:i}))},Fr={normal:function(e,t){return t},multiply:function(e,t){return e*t},screen:function(e,t){return e+t-e*t},"hard-light":function(e,t){return t<.5?2*e*t:2*t*(1-e)-1},overlay:function(e,t){return e<.5?2*t*e:2*e*(1-t)-1},darken:function(e,t){return Math.min(e,t)},lighten:function(e,t){return Math.max(e,t)},"color-dodge":function(e,t){return 0===e?0:1===t?1:Math.min(1,e/(1-t))},"color-burn":function(e,t){return 1===e?1:0===t?0:1-Math.min(1,(1-e)/t)},"soft-light":function(e,t){return t<.5?e-(1-2*t)*e*(1-e):e+(2*t-1)*((e<.25?((16*e-12)*e+4)*e:Math.sqrt(e))-e)},difference:function(e,t){return Math.abs(e-t)},exclusion:function(e,t){return e+t-2*e*t}};function qr(e){var t=fe("lrgb")(e);return.2126*t.r+.7152*t.g+.0722*t.b}var $r=fe("rgb"),Br=[[1,0,-0,0,1,0,-0,-0,1],[.856167,.182038,-.038205,.029342,.955115,.015544,-.00288,-.001563,1.004443],[.734766,.334872,-.069637,.05184,.919198,.028963,-.004928,-.004209,1.009137],[.630323,.465641,-.095964,.069181,.890046,.040773,-.006308,-.007724,1.014032],[.539009,.579343,-.118352,.082546,.866121,.051332,-.007136,-.011959,1.019095],[.458064,.679578,-.137642,.092785,.846313,.060902,-.007494,-.016807,1.024301],[.38545,.769005,-.154455,.100526,.829802,.069673,-.007442,-.02219,1.029632],[.319627,.849633,-.169261,.106241,.815969,.07779,-.007025,-.028051,1.035076],[.259411,.923008,-.18242,.110296,.80434,.085364,-.006276,-.034346,1.040622],[.203876,.990338,-.194214,.112975,.794542,.092483,-.005222,-.041043,1.046265],[.152286,1.052583,-.204868,.114503,.786281,.099216,-.003882,-.048116,1.051998]],zr=[[1,0,-0,0,1,0,-0,-0,1],[.866435,.177704,-.044139,.049567,.939063,.01137,-.003453,.007233,.99622],[.760729,.319078,-.079807,.090568,.889315,.020117,-.006027,.013325,.992702],[.675425,.43385,-.109275,.125303,.847755,.026942,-.00795,.018572,.989378],[.605511,.52856,-.134071,.155318,.812366,.032316,-.009376,.023176,.9862],[.547494,.607765,-.155259,.181692,.781742,.036566,-.01041,.027275,.983136],[.498864,.674741,-.173604,.205199,.754872,.039929,-.011131,.030969,.980162],[.457771,.731899,-.18967,.226409,.731012,.042579,-.011595,.034333,.977261],[.422823,.781057,-.203881,.245752,.709602,.044646,-.011843,.037423,.974421],[.392952,.82361,-.216562,.263559,.69021,.046232,-.01191,.040281,.97163],[.367322,.860646,-.227968,.280085,.672501,.047413,-.01182,.04294,.968881]],Ur=[[1,0,-0,0,1,0,-0,-0,1],[.92667,.092514,-.019184,.021191,.964503,.014306,.008437,.054813,.93675],[.89572,.13333,-.02905,.029997,.9454,.024603,.013027,.104707,.882266],[.905871,.127791,-.033662,.026856,.941251,.031893,.01341,.148296,.838294],[.948035,.08949,-.037526,.014364,.946792,.038844,.010853,.193991,.795156],[1.017277,.027029,-.044306,-.006113,.958479,.047634,.006379,.248708,.744913],[1.104996,-.046633,-.058363,-.032137,.971635,.060503,.001336,.317922,.680742],[1.193214,-.109812,-.083402,-.058496,.97941,.079086,-.002346,.403492,.598854],[1.257728,-.139648,-.118081,-.078003,.975409,.102594,-.003316,.501214,.502102],[1.278864,-.125333,-.153531,-.084748,.957674,.127074,-989e-6,.601151,.399838],[1.255528,-.076749,-.178779,-.078411,.930809,.147602,.004733,.691367,.3039]],Wr=function(e,t){var r=Math.max(0,Math.min(1,t)),n=Math.round(r/.1),i=Math.round(r%.1),o=e[n];if(i>0&&nMath.PI)*Math.PI,E+=2*(E<-Math.PI)*Math.PI;var C,T=2*Math.sqrt(b*w)*Math.sin(E/2),A=(l+h)/2,R=(b+w)/2;b*w==0?C=_+x:(C=(_+x)/2,C-=(Math.abs(_-x)>Math.PI)*Math.PI,C+=2*(C<0)*Math.PI);var O=Math.pow(A-50,2),P=1-.17*Math.cos(C-Math.PI/6)+.24*Math.cos(2*C)+.32*Math.cos(3*C+Math.PI/30)-.2*Math.cos(4*C-63*Math.PI/180),I=1+.015*O/Math.sqrt(20+O),M=1+.045*R,D=1+.015*R*P,j=30*Math.PI/180*Math.exp(-1*Math.pow((180/Math.PI*C-275)/25,2)),N=2*Math.sqrt(Math.pow(R,7)/(Math.pow(R,7)+Math.pow(25,7))),L=-1*Math.sin(2*j)*N;return Math.sqrt(Math.pow(k/(e*I),2)+Math.pow(S/(t*M),2)+Math.pow(T/(r*D),2)+L*S/(t*M)*T/(r*D))}},e.differenceCmc=function(e,t){void 0===e&&(e=1),void 0===t&&(t=1);var r=fe("lab65");return function(n,i){var o=r(n),s=o.l,a=o.a,l=o.b,c=Math.sqrt(a*a+l*l),u=Math.atan2(l,a);u+=2*Math.PI*(u<0);var p=r(i),h=p.l,d=p.a,f=p.b,g=Math.sqrt(d*d+f*f),m=Math.pow(s-h,2),v=Math.pow(c-g,2),y=Math.pow(a-d,2)+Math.pow(l-f,2)-v,b=Math.sqrt(Math.pow(c,4)/(Math.pow(c,4)+1900)),w=s<16?.511:.040975*s/(1+.01765*s),_=.0638*c/(1+.0131*c)+.638,x=_*(b*(u>=164/180*Math.PI&&u<=345/180*Math.PI?.56+Math.abs(.2*Math.cos(u+168/180*Math.PI)):.36+Math.abs(.4*Math.cos(u+35/180*Math.PI)))+1-b);return Math.sqrt(m/Math.pow(e*w,2)+v/Math.pow(t*_,2)+y/Math.pow(x,2))}},e.differenceDin99o=function(){return ye("dlab")},e.differenceEuclidean=ye,e.differenceHueChroma=ve,e.differenceHueNaive=me,e.differenceHueSaturation=ge,e.differenceHyab=function(){var e=fe("lab65");return function(t,r){var n=e(t),i=e(r),o=n.l-i.l,s=n.a-i.a,a=n.b-i.b;return Math.abs(o)+Math.sqrt(s*s+a*a)}},e.differenceKotsarenkoRamos=function(){return ye("yiq",[.5053,.299,.1957])},e.displayable=Mr,e.dlab=Zr,e.dlch=en,e.easingGamma=_,e.easingInOutSine=vr,e.easingMidpoint=sr,e.easingSmootherstep=function(e){return e*e*e*(e*(6*e-15)+10)},e.easingSmoothstep=function(e){return e*e*(3-2*e)},e.filterBrightness=function(e,t){void 0===e&&(e=1),void 0===t&&(t="rgb");var r=Yr(e);return ar(ur(r),t,!0)},e.filterContrast=function(e,t){void 0===e&&(e=1),void 0===t&&(t="rgb");var r=Yr(e);return ar(ur(r,(1-r)/2),t,!0)},e.filterDeficiencyDeuter=Vr,e.filterDeficiencyProt=Hr,e.filterDeficiencyTrit=Gr,e.filterGrayscale=function(e,t){return void 0===e&&(e=1),void 0===t&&(t="rgb"),Qr([.2126+.7874*(r=1-Kr(e)),.7152-.7152*r,.0722-.0722*r,0,.2126-.2126*r,.7152+.2848*r,.0722-.0722*r,0,.2126-.2126*r,.7152-.7152*r,.0722+.9278*r,0,0,0,0,1],t,!0);var r},e.filterHueRotate=function(e,t){return void 0===e&&(e=0),void 0===t&&(t="rgb"),Qr(function(e){var t=Math.PI*e/180,r=Math.cos(t),n=Math.sin(t);return[.213+.787*r-.213*n,.715-.715*r-.715*n,.072-.072*r+.928*n,0,.213-.213*r+.143*n,.715+.285*r+.14*n,.072-.072*r-.283*n,0,.213-.213*r-.787*n,.715-.715*r+.715*n,.072+.928*r+.072*n,0,0,0,0,1]}(e),t,!0)},e.filterInvert=function(e,t){void 0===e&&(e=1),void 0===t&&(t="rgb");var r=Kr(e);return ar((function(e,t){return"alpha"===t?e:function(e,t,r){return void 0===e||void 0===t?void 0:e+r*(t-e)}(r,1-r,e)}),t,!0)},e.filterSaturate=function(e,t){return void 0===e&&(e=1),void 0===t&&(t="rgb"),Qr(function(e){var t=Yr(e);return[.213+.787*t,.715-.715*t,.072-.072*t,0,.213-.213*t,.715+.285*t,.072-.072*t,0,.213-.213*t,.715-.715*t,.072+.928*t,0,0,0,0,1]}(e),t,!0)},e.filterSepia=function(e,t){return void 0===e&&(e=1),void 0===t&&(t="rgb"),Qr([.393+.607*(r=1-Kr(e)),.769-.769*r,.189-.189*r,0,.349-.349*r,.686+.314*r,.168-.168*r,0,.272-.272*r,.534-.534*r,.131+.869*r,0,0,0,0,1],t,!0);var r},e.fixupAlpha=S,e.fixupHueDecreasing=function(e){return ne(e,(function(e){return e<=0?e:e-360}))},e.fixupHueIncreasing=function(e){return ne(e,(function(e){return e>=0?e:e+360}))},e.fixupHueLonger=function(e){return ne(e,(function(e){return Math.abs(e)>=180||0===e?e:e-360*Math.sign(e)}))},e.fixupHueShorter=ie,e.formatCss=function(e){var t=de(e);if(t){var r=pe(t.mode);if(!r.serialize||"string"==typeof r.serialize){var n=r.serialize||"color(--"+t.mode+" ";return r.channels.forEach((function(e,r){"alpha"!==e&&(n+=(r?" ":"")+(t[e]||0))})),void 0!==t.alpha&&t.alpha<1&&(n+=" / "+t.alpha),n+")"}return"function"==typeof r.serialize?r.serialize(t):void 0}},e.formatHex=ir,e.formatHex8=function(e){var t=Zt(e);if(void 0!==t){var r=nr(void 0!==t.alpha?t.alpha:1);return ir(t)+(256|r).toString(16).slice(1)}},e.formatHsl=function(e){var t=er(e);if(void 0!==t){var r=tr(t.h||0),n=tr(100*rr(t.s)),i=tr(100*rr(t.l));return void 0===t.alpha||1===t.alpha?"hsl("+r+", "+n+"%, "+i+"%)":"hsla("+r+", "+n+"%, "+i+"%, "+tr(rr(t.alpha))+")"}},e.formatRgb=or,e.formatter=function(e){switch(void 0===e&&(e="rgb"),e){case"rgb":return or;case"hex":return ir}},e.getModeDefinition=pe,e.hsi=tn,e.hsl=rn,e.hsv=nn,e.hwb=on,e.interpolate=function(e,t,r){return void 0===t&&(t="rgb"),fr(e,t,r)},e.interpolateAlpha=S,e.interpolateCosine=function(e,t){return void 0===t&&(t=1),function(r){var n=_(t),i=x((function(e,t,r){return w(e,t,vr(r))}))((e||function(e){return e})(r));return function(e){return i(n(e))}}},e.interpolateHue=ie,e.interpolateLinear=function(e,t){return void 0===t&&(t=1),function(r){var n=_(t);return function(t){return k((e||function(e){return e})(r))(n(t))}}},e.interpolateSplineBasis=function(e,t,r){return void 0===t&&(t="default"),void 0===r&&(r=1),function(n){var i=_(r);return"default"===t?function(t){return wr((e||function(e){return e})(n))(i(t))}:"closed"===t?function(t){return _r((e||function(e){return e})(n))(i(t))}:void 0}},e.interpolateSplineMonotone=function(e,t,r){return void 0===t&&(t="default"),void 0===r&&(r=1),function(n){var i=_(r);return"closed"===t?function(t){return Pr((e||function(e){return e})(n))(i(t))}:"default"===t?function(t){return Or((e||function(e){return e})(n))(i(t))}:void 0}},e.interpolateSplineNatural=function(e,t,r){return void 0===t&&(t="default"),void 0===r&&(r=1),function(n){var i=_(r);return"default"===t?function(t){return kr((e||function(e){return e})(n))(i(t))}:"closed"===t?function(t){return Sr((e||function(e){return e})(n))(i(t))}:void 0}},e.interpolateWith=gr,e.interpolateWithPremultipliedAlpha=mr,e.interpolatorLinear=k,e.interpolatorPiecewise=x,e.interpolatorSplineBasis=wr,e.interpolatorSplineBasisClosed=_r,e.interpolatorSplineMonotone=Or,e.interpolatorSplineMonotone2=function(e){if(e.length<3)return k(e);var t=e.length-1,r=Ar(e),n=r[0],i=r[1],o=r[2];return i[0]=(2*e[1]-1.5*e[0]-.5*e[2])*t,i[t]=(1.5*e[t]-2*e[t-1]+.5*e[t-2])*t,o[0]=i[0]*n[0]<=0?0:Tr(i[0])>2*Tr(n[0])?2*n[0]:i[0],o[t]=i[t]*n[t-1]<=0?0:Tr(i[t])>2*Tr(n[t-1])?2*n[t-1]:i[t],Rr(e,o,n)},e.interpolatorSplineMonotoneClosed=Pr,e.interpolatorSplineNatural=kr,e.interpolatorSplineNaturalClosed=Sr,e.jab=sn,e.jch=an,e.lab=ln,e.lab65=cn,e.lch=un,e.lch65=pn,e.lchuv=hn,e.lerp=w,e.lrgb=dn,e.luv=fn,e.mapAlphaDivide=cr,e.mapAlphaMultiply=lr,e.mapTransferGamma=function(e,t,r){return void 0===e&&(e=1),void 0===t&&(t=1),void 0===r&&(r=0),function(n,i){return"alpha"!==i?e*Math.pow(n,t)+r:n}},e.mapTransferLinear=ur,e.mapper=ar,e.nearest=function(e,t,r){void 0===t&&(t=ye()),void 0===r&&(r=function(e){return e});var n=e.map((function(e,t){return{color:r(e),i:t}}));return function(r,i,o){return void 0===i&&(i=1),void 0===o&&(o=1/0),isFinite(i)&&(i=Math.max(1,Math.min(i,n.length-1))),n.forEach((function(e){e.d=t(r,e.color)})),n.sort((function(e,t){return e.d-t.d})).slice(0,i).filter((function(e){return e.d{function t(e,t,r){var n,i,o,s,a;function l(){var c=Date.now()-s;c=0?n=setTimeout(l,t-c):(n=null,r||(a=e.apply(o,i),o=i=null))}null==t&&(t=100);var c=function(){o=this,i=arguments,s=Date.now();var c=r&&!n;return n||(n=setTimeout(l,t)),c&&(a=e.apply(o,i),o=i=null),a};return c.clear=function(){n&&(clearTimeout(n),n=null)},c.flush=function(){n&&(a=e.apply(o,i),o=i=null,clearTimeout(n),n=null)},c}t.debounce=t,e.exports=t},94005:e=>{e.exports=function(){for(var e=0;e{"use strict";const t=/^(?:( )+|\t+)/;e.exports=e=>{if("string"!=typeof e)throw new TypeError("Expected a string");let r,n,i=0;const o=new Map;for(const s of e.split(/\n/g)){if(!s)continue;let e,a,l,c;const u=s.match(t);if(null===u)i=0,r="";else{e=u[0].length,a=u[1]?"s":"t",a!==r&&(i=0),r=a,l=0;const t=e-i;i=e,0===t?l++:n=a+String(t>0?t:-t),c=o.get(n),c=void 0===c?[1,0]:[++c[0],c[1]+l],o.set(n,c)}}const s=function(e){let t=0,r=0,n=0;for(const[i,[o,s]]of e)(o>r||o===r&&s>n)&&(r=o,n=s,t=i);return t}(o);let a,l=0,c="";return 0!==s&&(l=Number(s.slice(1)),"s"===s[0]?(a="space",c=" ".repeat(l)):(a="tab",c="\t".repeat(l))),{amount:l,type:a,indent:c}}},29890:(e,t,r)=>{var n=r(14279),i=r(28216),o=r(94005),s=/\brequire\b/;var a=e.exports=function(e,t){return a.find(e,t).strings};a.find=function(e,t){t||(t={});var r=void 0===t.word?"require":t.word;"string"!=typeof e&&(e=String(e));var a=t.isRequire||function(e){return"Identifier"===e.callee.type&&e.callee.name===r},l={strings:[],expressions:[]};t.nodes&&(l.nodes=[]);var c="require"===r?s:RegExp("\\b"+r+"\\b");if(!c.test(e))return l;var u=function(e,t){t||(t={});var r={ranges:o(t.ranges,t.range),locations:o(t.locations,t.loc),allowReserved:o(t.allowReserved,!0),allowImportExportEverywhere:o(t.allowImportExportEverywhere,!1)};return null!=t.ecmaVersion&&(r.ecmaVersion=t.ecmaVersion),null!=t.sourceType&&(r.sourceType=t.sourceType),null!=t.allowHashBang&&(r.allowHashBang=t.allowHashBang),null!=t.allowReturnOutsideFunction&&(r.allowReturnOutsideFunction=t.allowReturnOutsideFunction),n.parse(e,r)}(e,t.parse);function p(r,n,o){if(c.test(e.slice(r.start,r.end))&&(i.base[r.type](r,n,o),"CallExpression"===r.type&&a(r))){if(r.arguments.length){var s=r.arguments[0];"Literal"===s.type?l.strings.push(s.value):"TemplateLiteral"===s.type&&1===s.quasis.length&&0===s.expressions.length?l.strings.push(s.quasis[0].value.raw):l.expressions.push(e.slice(s.start,s.end))}t.nodes&&l.nodes.push(r)}}return i.recursive(u,null,{Statement:p,Expression:p}),l}},21293:e=>{!function(){"use strict";function t(e,r,i){if(!e)return null;t.caseSensitive||(e=e.toLowerCase());var o,s=null===t.threshold?null:t.threshold*e.length,a=t.thresholdAbsolute;o=null!==s&&null!==a?Math.min(s,a):null!==s?s:null!==a?a:null;var l,c,u,p,h=r.length;for(p=0;pn)return n+1;var s,a,l,c,u,p=[];for(s=0;s<=o;s++)p[s]=[s];for(a=0;a<=i;a++)p[0][a]=a;for(s=1;s<=o;s++){for(l=r,c=1,s>n&&(c=s-n),(u=o+1)>n+s&&(u=n+s),a=1;a<=i;a++)au?p[s][a]=n+1:t.charAt(s-1)===e.charAt(a-1)?p[s][a]=p[s-1][a-1]:p[s][a]=Math.min(p[s-1][a-1]+1,Math.min(p[s][a-1]+1,p[s-1][a]+1)),p[s][a]n)return n+1}return p[o][i]}}()},44627:e=>{e.exports=function(e,t,r,n,i){for(t=t.split?t.split("."):t,n=0;n{e.exports=function(e,t,r){t.split&&(t=t.split("."));for(var n,i=0,o=t.length,s=e;i-1?[]:{}}},89901:(e,t,r)=>{"use strict";const n=r(70232),i=r(91878);e.exports=class{constructor(e,t,r){this.source=e,this.field=t,this.target=r}apply(e){const t=e.ensureHook(this.target);e.getHook(this.source).tapAsync("AliasFieldPlugin",(r,o,s)=>{if(!r.descriptionFileData)return s();const a=i(e,r);if(!a)return s();const l=n.getField(r.descriptionFileData,this.field);if(null===l||"object"!=typeof l)return o.log&&o.log("Field '"+this.field+"' doesn't contain a valid alias configuration"),s();const c=l[a],u=l[a.replace(/^\.\//,"")],p=void 0!==c?c:u;if(p===a)return s();if(void 0===p)return s();if(!1===p){const e={...r,path:!1};return s(null,e)}const h={...r,path:r.descriptionFileRoot,request:p,fullySpecified:!1};e.doResolve(t,h,"aliased from description file "+r.descriptionFilePath+" with mapping '"+a+"' to '"+p+"'",o,(e,t)=>e?s(e):void 0===t?s(null,null):void s(null,t))})}}},15005:(e,t,r)=>{"use strict";const n=r(60059);e.exports=class{constructor(e,t,r){this.source=e,this.options=Array.isArray(t)?t:[t],this.target=r}apply(e){const t=e.ensureHook(this.target);e.getHook(this.source).tapAsync("AliasPlugin",(r,i,o)=>{const s=r.request||r.path;if(!s)return o();n(this.options,(o,a)=>{let l=!1;if(s===o.name||!o.onlyModule&&s.startsWith(o.name+"/")){const c=s.substr(o.name.length),u=(n,a)=>{if(!1===n){const e={...r,path:!1};return a(null,e)}if(s!==n&&!s.startsWith(n+"/")){l=!0;const s=n+c,u={...r,request:s,fullySpecified:!1};return e.doResolve(t,u,"aliased with mapping '"+o.name+"': '"+n+"' to '"+s+"'",i,(e,t)=>e?a(e):t?a(null,t):a())}return a()},p=(e,t)=>e?a(e):t?a(null,t):l?a(null,null):a();return Array.isArray(o.alias)?n(o.alias,u,p):u(o.alias,p)}return a()},o)})}}},2271:e=>{"use strict";e.exports=class{constructor(e,t,r){this.source=e,this.appending=t,this.target=r}apply(e){const t=e.ensureHook(this.target);e.getHook(this.source).tapAsync("AppendPlugin",(r,n,i)=>{const o={...r,path:r.path+this.appending,relativePath:r.relativePath&&r.relativePath+this.appending};e.doResolve(t,o,this.appending,n,i)})}}},75544:(e,t,r)=>{"use strict";const n=r(61765).nextTick,i=e=>{let t=e.length-1;for(;t>=0;){const r=e.charCodeAt(t);if(47===r||92===r)break;t--}return t<0?"":e.slice(0,t)},o=(e,t,r)=>{if(1===e.length)return e[0](t,r),void(e.length=0);let n;for(const i of e)try{i(t,r)}catch(e){n||(n=e)}if(e.length=0,n)throw n};class s{constructor(e,t,r){this._provider=e,this._syncProvider=t,this._providerContext=r,this._activeAsyncOperations=new Map,this.provide=this._provider?(t,r,n)=>{if("function"==typeof r&&(n=r,r=void 0),r)return this._provider.call(this._providerContext,t,r,n);if("string"!=typeof t)return void n(new TypeError("path must be a string"));let i=this._activeAsyncOperations.get(t);i?i.push(n):(this._activeAsyncOperations.set(t,i=[n]),e(t,(e,r)=>{this._activeAsyncOperations.delete(t),o(i,e,r)}))}:null,this.provideSync=this._syncProvider?(e,t)=>this._syncProvider.call(this._providerContext,e,t):null}purge(){}purgeParent(){}}class a{constructor(e,t,r,n){this._duration=e,this._provider=t,this._syncProvider=r,this._providerContext=n,this._activeAsyncOperations=new Map,this._data=new Map,this._levels=[];for(let e=0;e<10;e++)this._levels.push(new Set);for(let t=5e3;t{this._activeAsyncOperations.delete(e),this._storeResult(e,t,r),this._enterAsyncMode(),o(s,t,r)})):s.push(r)}provideSync(e,t){if("string"!=typeof e)throw new TypeError("path must be a string");if(t)return this._syncProvider.call(this._providerContext,e,t);1===this._mode&&this._runDecays();let r=this._data.get(e);if(void 0!==r){if(r.err)throw r.err;return r.result}const n=this._activeAsyncOperations.get(e);let i;this._activeAsyncOperations.delete(e);try{i=this._syncProvider.call(this._providerContext,e)}catch(t){throw this._storeResult(e,t,void 0),this._enterSyncModeWhenIdle(),n&&o(n,t,void 0),t}return this._storeResult(e,void 0,i),this._enterSyncModeWhenIdle(),n&&o(n,void 0,i),i}purge(e){if(e)if("string"==typeof e){for(let[t,r]of this._data)t.startsWith(e)&&(this._data.delete(t),r.level.delete(t));0===this._data.size&&this._enterIdleMode()}else{for(let[t,r]of this._data)for(const n of e)if(t.startsWith(n)){this._data.delete(t),r.level.delete(t);break}0===this._data.size&&this._enterIdleMode()}else if(0!==this._mode){this._data.clear();for(const e of this._levels)e.clear();this._enterIdleMode()}}purgeParent(e){if(e)if("string"==typeof e)this.purge(i(e));else{const t=new Set;for(const r of e)t.add(i(r));this.purge(t)}else this.purge()}_storeResult(e,t,r){if(this._data.has(e))return;const n=this._levels[this._currentLevel];this._data.set(e,{err:t,result:r,level:n}),n.add(e)}_decayLevel(){const e=(this._currentLevel+1)%this._levels.length,t=this._levels[e];this._currentLevel=e;for(let e of t)this._data.delete(e);t.clear(),0===this._data.size?this._enterIdleMode():this._nextDecay+=this._tickInterval}_runDecays(){for(;this._nextDecay<=Date.now()&&0!==this._mode;)this._decayLevel()}_enterAsyncMode(){let e=0;switch(this._mode){case 2:return;case 0:this._nextDecay=Date.now()+this._tickInterval,e=this._tickInterval;break;case 1:if(this._runDecays(),0===this._mode)return;e=Math.max(0,this._nextDecay-Date.now())}this._mode=2;const t=setTimeout(()=>{this._mode=1,this._runDecays()},e);t.unref&&t.unref(),this._timeout=t}_enterSyncModeWhenIdle(){0===this._mode&&(this._mode=1,this._nextDecay=Date.now()+this._tickInterval)}_enterIdleMode(){this._mode=0,this._nextDecay=void 0,this._timeout&&clearTimeout(this._timeout)}}const l=(e,t,r,n)=>e>0?new a(e,t,r,n):new s(t,r,n);e.exports=class{constructor(e,t){this.fileSystem=e,this._lstatBackend=l(t,this.fileSystem.lstat,this.fileSystem.lstatSync,this.fileSystem);const r=this._lstatBackend.provide;this.lstat=r;const n=this._lstatBackend.provideSync;this.lstatSync=n,this._statBackend=l(t,this.fileSystem.stat,this.fileSystem.statSync,this.fileSystem);const i=this._statBackend.provide;this.stat=i;const o=this._statBackend.provideSync;this.statSync=o,this._readdirBackend=l(t,this.fileSystem.readdir,this.fileSystem.readdirSync,this.fileSystem);const s=this._readdirBackend.provide;this.readdir=s;const a=this._readdirBackend.provideSync;this.readdirSync=a,this._readFileBackend=l(t,this.fileSystem.readFile,this.fileSystem.readFileSync,this.fileSystem);const c=this._readFileBackend.provide;this.readFile=c;const u=this._readFileBackend.provideSync;this.readFileSync=u,this._readJsonBackend=l(t,this.fileSystem.readJson||this.readFile&&((e,t)=>{this.readFile(e,(e,r)=>{if(e)return t(e);if(!r||0===r.length)return t(new Error("No file content"));let n;try{n=JSON.parse(r.toString("utf-8"))}catch(e){return t(e)}t(null,n)})}),this.fileSystem.readJsonSync||this.readFileSync&&(e=>{const t=this.readFileSync(e);return JSON.parse(t.toString("utf-8"))}),this.fileSystem);const p=this._readJsonBackend.provide;this.readJson=p;const h=this._readJsonBackend.provideSync;this.readJsonSync=h,this._readlinkBackend=l(t,this.fileSystem.readlink,this.fileSystem.readlinkSync,this.fileSystem);const d=this._readlinkBackend.provide;this.readlink=d;const f=this._readlinkBackend.provideSync;this.readlinkSync=f}purge(e){this._statBackend.purge(e),this._lstatBackend.purge(e),this._readdirBackend.purgeParent(e),this._readFileBackend.purge(e),this._readlinkBackend.purge(e),this._readJsonBackend.purge(e)}}},15331:(e,t,r)=>{"use strict";const n=r(49395).basename;e.exports=class{constructor(e,t){this.source=e,this.target=t}apply(e){const t=e.ensureHook(this.target);e.getHook(this.source).tapAsync("CloneBasenamePlugin",(r,i,o)=>{const s=n(r.path),a=e.join(r.path,s),l={...r,path:a,relativePath:r.relativePath&&e.join(r.relativePath,s)};e.doResolve(t,l,"using path: "+a,i,o)})}}},45061:e=>{"use strict";e.exports=class{constructor(e,t,r,n,i){this.source=e,this.test=t,this.message=r,this.allowAlternatives=n,this.target=i}apply(e){const t=e.ensureHook(this.target),{test:r,message:n,allowAlternatives:i}=this,o=Object.keys(r);e.getHook(this.source).tapAsync("ConditionalPlugin",(s,a,l)=>{for(const e of o)if(s[e]!==r[e])return l();e.doResolve(t,s,n,a,i?l:(e,t)=>e?l(e):void 0===t?l(null,null):void l(null,t))})}}},95637:(e,t,r)=>{"use strict";const n=r(70232);e.exports=class{constructor(e,t,r,n){this.source=e,this.filenames=t,this.pathIsFile=r,this.target=n}apply(e){const t=e.ensureHook(this.target);e.getHook(this.source).tapAsync("DescriptionFilePlugin",(r,i,o)=>{const s=r.path;if(!s)return o();const a=this.pathIsFile?n.cdUp(s):s;if(!a)return o();n.loadDescriptionFile(e,a,this.filenames,r.descriptionFilePath?{path:r.descriptionFilePath,content:r.descriptionFileData,directory:r.descriptionFileRoot}:void 0,i,(n,l)=>{if(n)return o(n);if(!l)return i.log&&i.log(`No description file found in ${a} or above`),o();const c="."+s.substr(l.directory.length).replace(/\\/g,"/"),u={...r,descriptionFilePath:l.path,descriptionFileData:l.content,descriptionFileRoot:l.directory,relativePath:c};e.doResolve(t,u,"using description file: "+l.path+" (relative path: "+c+")",i,(e,t)=>e?o(e):void 0===t?o(null,null):void o(null,t))})})}}},70232:(e,t,r)=>{"use strict";const n=r(60059);function i(e){if("/"===e)return null;const t=e.lastIndexOf("/"),r=e.lastIndexOf("\\"),n=t<0?r:r<0?t:t{const i=e.join(t,r);function o(e,r){if(e)return s.log?s.log(i+" (directory description file): "+e):e.message=i+" (directory description file): "+e,n(e);n(null,{content:r,directory:t,path:i})}e.fileSystem.readJson?e.fileSystem.readJson(i,(e,t)=>{if(e)return void 0!==e.code?(s.missingDependencies&&s.missingDependencies.add(i),n()):(s.fileDependencies&&s.fileDependencies.add(i),o(e));s.fileDependencies&&s.fileDependencies.add(i),o(null,t)}):e.fileSystem.readFile(i,(e,t)=>{if(e)return s.missingDependencies&&s.missingDependencies.add(i),n();let r;if(s.fileDependencies&&s.fileDependencies.add(i),!t)return o(new Error("No content in file"));try{r=JSON.parse(t.toString())}catch(e){return o(e)}o(null,r)})},(e,r)=>{if(e)return a(e);if(r)return a(null,r);{const e=i(t);return e?(t=e,l()):a()}})}()},t.getField=function(e,t){if(e){if(Array.isArray(t)){let r=e;for(let e=0;e{"use strict";e.exports=class{constructor(e,t){this.source=e,this.target=t}apply(e){const t=e.ensureHook(this.target);e.getHook(this.source).tapAsync("DirectoryExistsPlugin",(r,n,i)=>{const o=e.fileSystem,s=r.path;if(!s)return i();o.stat(s,(o,a)=>o||!a?(n.missingDependencies&&n.missingDependencies.add(s),n.log&&n.log(s+" doesn't exist"),i()):a.isDirectory()?(n.fileDependencies&&n.fileDependencies.add(s),void e.doResolve(t,r,"existing directory "+s,n,i)):(n.missingDependencies&&n.missingDependencies.add(s),n.log&&n.log(s+" is not a directory"),i()))})}}},61437:(e,t,r)=>{"use strict";const n=r(85622),i=r(70232),o=r(60059),{processExportsField:s}=r(47002),{parseIdentifier:a}=r(37481),{checkExportsFieldTarget:l}=r(84269);e.exports=class{constructor(e,t,r,n){this.source=e,this.target=n,this.conditionNames=t,this.fieldName=r,this.fieldProcessorCache=new WeakMap}apply(e){const t=e.ensureHook(this.target);e.getHook(this.source).tapAsync("ExportsFieldPlugin",(r,c,u)=>{if(!r.descriptionFilePath)return u();if("."!==r.relativePath||void 0===r.request)return u();const p=r.query||r.fragment?("."===r.request?"./":r.request)+r.query+r.fragment:r.request,h=i.getField(r.descriptionFileData,this.fieldName);if(!h)return u();if(r.directory)return u(new Error(`Resolving to directories is not possible with the exports field (request was ${p}/)`));let d;try{let e=this.fieldProcessorCache.get(r.descriptionFileData);void 0===e&&(e=s(h),this.fieldProcessorCache.set(r.descriptionFileData,e)),d=e(p,this.conditionNames)}catch(e){return c.log&&c.log(`Exports field in ${r.descriptionFilePath} can't be processed: ${e}`),u(e)}if(0===d.length)return u(new Error(`Package path ${p} is not exported from package ${r.descriptionFileRoot} (see exports field in ${r.descriptionFilePath})`));o(d,(i,o)=>{const s=a(i);if(!s)return o();const[u,p,h]=s,d=l(u);if(d)return o(d);const f={...r,request:void 0,path:n.join(r.descriptionFileRoot,u),relativePath:u,query:p,fragment:h};e.doResolve(t,f,"using exports field: "+i,c,o)},(e,t)=>u(e,t||null))})}}},68372:e=>{"use strict";e.exports=class{constructor(e,t){this.source=e,this.target=t}apply(e){const t=e.ensureHook(this.target),r=e.fileSystem;e.getHook(this.source).tapAsync("FileExistsPlugin",(n,i,o)=>{const s=n.path;if(!s)return o();r.stat(s,(r,a)=>r||!a?(i.missingDependencies&&i.missingDependencies.add(s),i.log&&i.log(s+" doesn't exist"),o()):a.isFile()?(i.fileDependencies&&i.fileDependencies.add(s),void e.doResolve(t,n,"existing file: "+s,i,o)):(i.missingDependencies&&i.missingDependencies.add(s),i.log&&i.log(s+" is not a file"),o()))})}}},91162:(e,t,r)=>{"use strict";const n=r(85622),i=r(70232),o=r(60059),{processImportsField:s}=r(47002),{parseIdentifier:a}=r(37481),l=".".charCodeAt(0);e.exports=class{constructor(e,t,r,n,i){this.source=e,this.targetFile=n,this.targetPackage=i,this.conditionNames=t,this.fieldName=r,this.fieldProcessorCache=new WeakMap}apply(e){const t=e.ensureHook(this.targetFile),r=e.ensureHook(this.targetPackage);e.getHook(this.source).tapAsync("ImportsFieldPlugin",(c,u,p)=>{if(!c.descriptionFilePath)return p();if("."!==c.relativePath||void 0===c.request)return p();const h=c.request+c.query+c.fragment,d=i.getField(c.descriptionFileData,this.fieldName);if(!d)return p();if(c.directory)return p(new Error(`Resolving to directories is not possible with the imports field (request was ${h}/)`));let f;try{let e=this.fieldProcessorCache.get(c.descriptionFileData);void 0===e&&(e=s(d),this.fieldProcessorCache.set(c.descriptionFileData,e)),f=e(h,this.conditionNames)}catch(e){return u.log&&u.log(`Imports field in ${c.descriptionFilePath} can't be processed: ${e}`),p(e)}if(0===f.length)return p(new Error(`Package import ${h} is not imported from package ${c.descriptionFileRoot} (see imports field in ${c.descriptionFilePath})`));o(f,(i,o)=>{const s=a(i);if(!s)return o();const[p,h,d]=s;switch(p.charCodeAt(0)){case l:{const r={...c,request:void 0,path:n.join(c.descriptionFileRoot,p),relativePath:p,query:h,fragment:d};e.doResolve(t,r,"using imports field: "+i,u,o);break}default:{const t={...c,request:p,relativePath:p,fullySpecified:!0,query:h,fragment:d};e.doResolve(r,t,"using imports field: "+i,u,o)}}},(e,t)=>p(e,t||null))})}}},43247:e=>{"use strict";const t="@".charCodeAt(0);e.exports=class{constructor(e,t){this.source=e,this.target=t}apply(e){const r=e.ensureHook(this.target);e.getHook(this.source).tapAsync("JoinRequestPartPlugin",(n,i,o)=>{const s=n.request||"";let a,l,c,u=s.indexOf("/",3);u>=0&&s.charCodeAt(2)===t&&(u=s.indexOf("/",u+1)),u<0?(a=s,l=".",c=!1):(a=s.slice(0,u),l="."+s.slice(u),c=n.fullySpecified);const p={...n,path:e.join(n.path,a),relativePath:n.relativePath&&e.join(n.relativePath,a),request:l,fullySpecified:c};e.doResolve(r,p,null,i,o)})}}},31693:e=>{"use strict";e.exports=class{constructor(e,t){this.source=e,this.target=t}apply(e){const t=e.ensureHook(this.target);e.getHook(this.source).tapAsync("JoinRequestPlugin",(r,n,i)=>{const o={...r,path:e.join(r.path,r.request),relativePath:r.relativePath&&e.join(r.relativePath,r.request),request:void 0};e.doResolve(t,o,null,n,i)})}}},58026:e=>{"use strict";e.exports=class{constructor(e){this.source=e}apply(e){const t=this.source;e.getHook(this.source).tapAsync("LogInfoPlugin",(e,r,n)=>{if(!r.log)return n();const i=r.log,o="["+t+"] ";e.path&&i(o+"Resolving in directory: "+e.path),e.request&&i(o+"Resolving request: "+e.request),e.module&&i(o+"Request is an module request."),e.directory&&i(o+"Request is a directory request."),e.query&&i(o+"Resolving request query: "+e.query),e.fragment&&i(o+"Resolving request fragment: "+e.fragment),e.descriptionFilePath&&i(o+"Has description data from "+e.descriptionFilePath),e.relativePath&&i(o+"Relative path from description file is: "+e.relativePath),n()})}}},7064:(e,t,r)=>{"use strict";const n=r(85622),i=r(70232),o=Symbol("alreadyTriedMainField");e.exports=class{constructor(e,t,r){this.source=e,this.options=t,this.target=r}apply(e){const t=e.ensureHook(this.target);e.getHook(this.source).tapAsync("MainFieldPlugin",(r,s,a)=>{if(r.path!==r.descriptionFileRoot||r[o]===r.descriptionFilePath||!r.descriptionFilePath)return a();const l=n.basename(r.descriptionFilePath);let c=i.getField(r.descriptionFileData,this.options.name);if(!c||"string"!=typeof c||"."===c||"./"===c)return a();this.options.forceRelative&&!/^\.\.?\//.test(c)&&(c="./"+c);const u={...r,request:c,module:!1,directory:c.endsWith("/"),[o]:r.descriptionFilePath};return e.doResolve(t,u,"use "+c+" from "+this.options.name+" in "+l,s,a)})}}},23195:(e,t,r)=>{"use strict";const n=r(60059),i=r(49395);e.exports=class{constructor(e,t,r){this.source=e,this.directories=[].concat(t),this.target=r}apply(e){const t=e.ensureHook(this.target);e.getHook(this.source).tapAsync("ModulesInHierachicDirectoriesPlugin",(r,o,s)=>{const a=e.fileSystem,l=i(r.path).paths.map(t=>this.directories.map(r=>e.join(t,r))).reduce((e,t)=>(e.push.apply(e,t),e),[]);n(l,(n,i)=>{a.stat(n,(s,a)=>{if(!s&&a&&a.isDirectory()){const s={...r,path:n,request:"./"+r.request,module:!1},a="looking for modules in "+n;return e.doResolve(t,s,a,o,i)}return o.log&&o.log(n+" doesn't exist or is not a directory"),o.missingDependencies&&o.missingDependencies.add(n),i()})},s)})}}},3092:e=>{"use strict";e.exports=class{constructor(e,t,r){this.source=e,this.path=t,this.target=r}apply(e){const t=e.ensureHook(this.target);e.getHook(this.source).tapAsync("ModulesInRootPlugin",(r,n,i)=>{const o={...r,path:this.path,request:"./"+r.request,module:!1};e.doResolve(t,o,"looking for modules in "+this.path,n,i)})}}},50959:e=>{"use strict";e.exports=class{constructor(e,t){this.source=e,this.target=t}apply(e){const t=e.ensureHook(this.target);e.getHook(this.source).tapAsync("NextPlugin",(r,n,i)=>{e.doResolve(t,r,null,n,i)})}}},9743:e=>{"use strict";e.exports=class{constructor(e,t,r){this.source=e,this.requestOptions=t,this.target=r}apply(e){const t=e.ensureHook(this.target);e.getHook(this.source).tapAsync("ParsePlugin",(r,n,i)=>{const o=e.parse(r.request),s={...r,...o,...this.requestOptions};if(r.query&&!o.query&&(s.query=r.query),r.fragment&&!o.fragment&&(s.fragment=r.fragment),o&&n.log&&(o.module&&n.log("Parsed request is a module"),o.directory&&n.log("Parsed request is a directory")),s.request&&!s.query&&s.fragment){const r=s.fragment.endsWith("/"),o={...s,directory:r,request:s.request+(s.directory?"/":"")+(r?s.fragment.slice(0,-1):s.fragment),fragment:""};e.doResolve(t,o,null,n,(r,o)=>r?i(r):o?i(null,o):void e.doResolve(t,s,null,n,i))}else e.doResolve(t,s,null,n,i)})}}},18020:e=>{"use strict";e.exports=class{constructor(e,t,r){this.source=e,this.pnpApi=t,this.target=r}apply(e){const t=e.ensureHook(this.target);e.getHook(this.source).tapAsync("PnpPlugin",(r,n,i)=>{const o=r.request;if(!o)return i();const s=r.path+"/",a=/^(@[^/]+\/)?[^/]+/.exec(o);if(!a)return i();const l=a[0],c="."+o.slice(l.length);let u,p;try{u=this.pnpApi.resolveToUnqualified(l,s,{considerBuiltins:!1}),n.fileDependencies&&(p=this.pnpApi.resolveToUnqualified("pnpapi",s,{considerBuiltins:!1}))}catch(e){if("MODULE_NOT_FOUND"===e.code&&"UNDECLARED_DEPENDENCY"===e.pnpCode){if(n.log){n.log("request is not managed by the pnpapi");for(const t of e.message.split("\n").filter(Boolean))n.log(" "+t)}return i()}return i(e)}if(u===l)return i();p&&n.fileDependencies&&n.fileDependencies.add(p);const h={...r,path:u,request:c,ignoreSymlinks:!0,fullySpecified:r.fullySpecified&&"."!==c};e.doResolve(t,h,"resolved by pnp to "+u,n,(e,t)=>e?i(e):i(null,t||null))})}}},82797:(e,t,r)=>{"use strict";const{AsyncSeriesBailHook:n,AsyncSeriesHook:i,SyncHook:o}=r(92402),s=r(6369),{parseIdentifier:a}=r(37481),{normalize:l,cachedJoin:c,getType:u,PathType:p}=r(84269);function h(e){return e.replace(/-([a-z])/g,e=>e.substr(1).toUpperCase())}class d{static createStackEntry(e,t){return e.name+": ("+t.path+") "+(t.request||"")+(t.query||"")+(t.fragment||"")+(t.directory?" directory":"")+(t.module?" module":"")}constructor(e,t){this.fileSystem=e,this.options=t,this.hooks={resolveStep:new o(["hook","request"],"resolveStep"),noResolve:new o(["request","error"],"noResolve"),resolve:new n(["request","resolveContext"],"resolve"),result:new i(["result","resolveContext"],"result")}}ensureHook(e){if("string"!=typeof e)return e;if(e=h(e),/^before/.test(e))return this.ensureHook(e[6].toLowerCase()+e.substr(7)).withOptions({stage:-10});if(/^after/.test(e))return this.ensureHook(e[5].toLowerCase()+e.substr(6)).withOptions({stage:10});const t=this.hooks[e];return t||(this.hooks[e]=new n(["request","resolveContext"],e))}getHook(e){if("string"!=typeof e)return e;if(e=h(e),/^before/.test(e))return this.getHook(e[6].toLowerCase()+e.substr(7)).withOptions({stage:-10});if(/^after/.test(e))return this.getHook(e[5].toLowerCase()+e.substr(6)).withOptions({stage:10});const t=this.hooks[e];if(!t)throw new Error(`Hook ${e} doesn't exist`);return t}resolveSync(e,t,r){let n=void 0,i=void 0,o=!1;if(this.resolve(e,t,r,{},(e,t)=>{n=e,i=t,o=!0}),!o)throw new Error("Cannot 'resolveSync' because the fileSystem is not sync. Use 'resolve'!");if(n)throw n;if(void 0===i)throw new Error("No result");return i}resolve(e,t,r,n,i){if(!e||"object"!=typeof e)return i(new Error("context argument is not an object"));if("string"!=typeof t)return i(new Error("path argument is not a string"));if("string"!=typeof r)return i(new Error("path argument is not a string"));if(!n)return i(new Error("resolveContext argument is not set"));const o={context:e,path:t,request:r},s=`resolve '${r}' in '${t}'`,a=e=>i(null,!1!==e.path&&`${e.path.replace(/#/g,"\0#")}${e.query?e.query.replace(/#/g,"\0#"):""}${e.fragment||""}`,e),l=e=>{const t=new Error("Can't "+s);return t.details=e.join("\n"),this.hooks.noResolve.call(o,t),i(t)};if(n.log){const e=n.log,t=[];return this.doResolve(this.hooks.resolve,o,s,{log:r=>{e(r),t.push(r)},fileDependencies:n.fileDependencies,contextDependencies:n.contextDependencies,missingDependencies:n.missingDependencies,stack:n.stack},(e,r)=>e?i(e):r?a(r):l(t))}return this.doResolve(this.hooks.resolve,o,s,{log:void 0,fileDependencies:n.fileDependencies,contextDependencies:n.contextDependencies,missingDependencies:n.missingDependencies,stack:n.stack},(e,t)=>{if(e)return i(e);if(t)return a(t);const r=[];return this.doResolve(this.hooks.resolve,o,s,{log:e=>r.push(e),stack:n.stack},(e,t)=>e?i(e):l(r))})}doResolve(e,t,r,n,i){const o=d.createStackEntry(e,t);let a;if(n.stack){if(a=new Set(n.stack),n.stack.has(o)){const e=new Error("Recursion in resolving\nStack:\n "+Array.from(a).join("\n "));return e.recursion=!0,n.log&&n.log("abort resolving because of recursion"),i(e)}a.add(o)}else a=new Set([o]);if(this.hooks.resolveStep.call(e,t),e.isUsed()){const o=s({log:n.log,fileDependencies:n.fileDependencies,contextDependencies:n.contextDependencies,missingDependencies:n.missingDependencies,stack:a},r);return e.callAsync(t,o,(e,t)=>e?i(e):t?i(null,t):void i())}i()}parse(e){const t={request:"",query:"",fragment:"",module:!1,directory:!1,file:!1,internal:!1},r=a(e);return r?([t.request,t.query,t.fragment]=r,t.request.length>0&&(t.internal=this.isPrivate(e),t.module=this.isModule(t.request),t.directory=this.isDirectory(t.request),t.directory&&(t.request=t.request.substr(0,t.request.length-1))),t):t}isModule(e){return u(e)===p.Normal}isPrivate(e){return u(e)===p.Internal}isDirectory(e){return e.endsWith("/")}join(e,t){return c(e,t)}normalize(e){return l(e)}}e.exports=d},34129:(e,t,r)=>{"use strict";const n=r(61765).versions,i=r(82797),{getType:o,PathType:s}=r(84269),a=r(83230),l=r(89901),c=r(15005),u=r(2271),p=r(45061),h=r(95637),d=r(48504),f=r(61437),g=r(68372),m=r(91162),v=r(43247),y=r(31693),b=r(7064),w=r(23195),_=r(3092),x=r(50959),k=r(9743),S=r(18020),E=r(49751),C=r(19258),T=r(63760),A=r(36490),R=r(51104),O=r(31702),P=r(81809),I=r(41232);function M(e){return"object"!=typeof e||Array.isArray(e)||null===e?e||[]:Object.keys(e).map(t=>{const r={name:t,onlyModule:!1,alias:e[t]};return/\$$/.test(t)&&(r.onlyModule=!0,r.name=t.substr(0,t.length-1)),r})}function D(e,t){const r=[],n=new Set(e);for(const e of n)if(t(e)){const t=r.length>0?r[r.length-1]:void 0;Array.isArray(t)?t.push(e):r.push([e])}else r.push(e);return r}t.createResolver=function(e){const t=function(e){const t=new Set(e.mainFields||["main"]),i=[];for(const e of t)"string"==typeof e?i.push({name:[e],forceRelative:!0}):Array.isArray(e)?i.push({name:e,forceRelative:!0}):i.push({name:Array.isArray(e.name)?e.name:[e.name],forceRelative:e.forceRelative});return{alias:M(e.alias),fallback:M(e.fallback),aliasFields:new Set(e.aliasFields),cachePredicate:e.cachePredicate||function(){return!0},cacheWithContext:void 0===e.cacheWithContext||e.cacheWithContext,exportsFields:new Set(e.exportsFields||["exports"]),importsFields:new Set(e.importsFields||["imports"]),conditionNames:new Set(e.conditionNames),descriptionFiles:Array.from(new Set(e.descriptionFiles||["package.json"])),enforceExtension:void 0===e.enforceExtension?!(!e.extensions||!e.extensions.includes("")):e.enforceExtension,extensions:new Set(e.extensions||[".js",".json",".node"]),fileSystem:e.useSyncFileSystemCalls?new a(e.fileSystem):e.fileSystem,unsafeCache:e.unsafeCache&&"object"!=typeof e.unsafeCache?{}:e.unsafeCache||!1,symlinks:void 0===e.symlinks||e.symlinks,resolver:e.resolver,modules:D(Array.isArray(e.modules)?e.modules:e.modules?[e.modules]:["node_modules"],e=>{const t=o(e);return t===s.Normal||t===s.Relative}),mainFields:i,mainFiles:new Set(e.mainFiles||["index"]),plugins:e.plugins||[],pnpApi:(l=e.pnpApi,void 0===l&&n.pnp?r(97289):l||null),roots:new Set(e.roots||void 0),fullySpecified:e.fullySpecified||!1,resolveToContext:e.resolveToContext||!1,preferRelative:e.preferRelative||!1,preferAbsolute:e.preferAbsolute||!1,restrictions:new Set(e.restrictions)};var l}(e),{alias:j,fallback:N,aliasFields:L,cachePredicate:F,cacheWithContext:q,conditionNames:$,descriptionFiles:B,enforceExtension:z,exportsFields:U,importsFields:W,extensions:H,fileSystem:V,fullySpecified:G,mainFields:Y,mainFiles:K,modules:Q,plugins:J,pnpApi:X,resolveToContext:Z,preferRelative:ee,preferAbsolute:te,symlinks:re,unsafeCache:ne,resolver:ie,restrictions:oe,roots:se}=t,ae=J.slice(),le=ie||new i(V,t);le.ensureHook("resolve"),le.ensureHook("internalResolve"),le.ensureHook("newInteralResolve"),le.ensureHook("parsedResolve"),le.ensureHook("describedResolve"),le.ensureHook("internal"),le.ensureHook("rawModule"),le.ensureHook("module"),le.ensureHook("resolveAsModule"),le.ensureHook("undescribedResolveInPackage"),le.ensureHook("resolveInPackage"),le.ensureHook("resolveInExistingDirectory"),le.ensureHook("relative"),le.ensureHook("describedRelative"),le.ensureHook("directory"),le.ensureHook("undescribedExistingDirectory"),le.ensureHook("existingDirectory"),le.ensureHook("undescribedRawFile"),le.ensureHook("rawFile"),le.ensureHook("file"),le.ensureHook("finalFile"),le.ensureHook("existingFile"),le.ensureHook("resolved");for(const{source:e,resolveOptions:t}of[{source:"resolve",resolveOptions:{fullySpecified:G}},{source:"internal-resolve",resolveOptions:{fullySpecified:!1}}])ne?(ae.push(new P(e,F,ne,q,"new-"+e)),ae.push(new k("new-"+e,t,"parsed-resolve"))):ae.push(new k(e,t,"parsed-resolve"));ae.push(new h("parsed-resolve",B,!1,"described-resolve")),ae.push(new x("after-parsed-resolve","described-resolve")),ae.push(new x("described-resolve","normal-resolve")),N.length>0&&ae.push(new c("described-resolve",N,"internal-resolve")),j.length>0&&ae.push(new c("normal-resolve",j,"internal-resolve")),L.forEach(e=>{ae.push(new l("normal-resolve",e,"internal-resolve"))}),ee&&ae.push(new y("after-normal-resolve","relative")),ae.push(new p("after-normal-resolve",{module:!0},"resolve as module",!1,"raw-module")),ae.push(new p("after-normal-resolve",{internal:!0},"resolve as internal import",!1,"internal")),te&&ae.push(new y("after-normal-resolve","relative")),se.size>0&&ae.push(new T("after-normal-resolve",se,"relative")),ee||te||ae.push(new y("after-normal-resolve","relative")),W.forEach(e=>{ae.push(new m("internal",$,e,"relative","internal-resolve"))}),U.forEach(e=>{ae.push(new A("raw-module",e,"resolve-as-module"))}),Q.forEach(e=>{Array.isArray(e)?e.includes("node_modules")&&X?(ae.push(new w("raw-module",e.filter(e=>"node_modules"!==e),"module")),ae.push(new S("raw-module",X,"undescribed-resolve-in-package"))):ae.push(new w("raw-module",e,"module")):ae.push(new _("raw-module",e,"module"))}),ae.push(new v("module","resolve-as-module")),Z||ae.push(new p("resolve-as-module",{directory:!1,request:"."},"single file module",!0,"undescribed-raw-file")),ae.push(new d("resolve-as-module","undescribed-resolve-in-package")),ae.push(new h("undescribed-resolve-in-package",B,!1,"resolve-in-package")),ae.push(new x("after-undescribed-resolve-in-package","resolve-in-package")),U.forEach(e=>{ae.push(new f("resolve-in-package",$,e,"relative"))}),ae.push(new x("resolve-in-package","resolve-in-existing-directory")),ae.push(new y("resolve-in-existing-directory","relative")),ae.push(new h("relative",B,!0,"described-relative")),ae.push(new x("after-relative","described-relative")),Z?ae.push(new x("described-relative","directory")):(ae.push(new p("described-relative",{directory:!1},null,!0,"raw-file")),ae.push(new p("described-relative",{fullySpecified:!1},"as directory",!0,"directory"))),ae.push(new d("directory","undescribed-existing-directory")),Z?ae.push(new x("undescribed-existing-directory","resolved")):(ae.push(new h("undescribed-existing-directory",B,!1,"existing-directory")),K.forEach(e=>{ae.push(new I("undescribed-existing-directory",e,"undescribed-raw-file"))}),Y.forEach(e=>{ae.push(new b("existing-directory",e,"resolve-in-existing-directory"))}),K.forEach(e=>{ae.push(new I("existing-directory",e,"undescribed-raw-file"))}),ae.push(new h("undescribed-raw-file",B,!0,"raw-file")),ae.push(new x("after-undescribed-raw-file","raw-file")),ae.push(new p("raw-file",{fullySpecified:!0},null,!1,"file")),z||ae.push(new O("raw-file","no extension","file")),H.forEach(e=>{ae.push(new u("raw-file",e,"file"))}),j.length>0&&ae.push(new c("file",j,"internal-resolve")),L.forEach(e=>{ae.push(new l("file",e,"internal-resolve"))}),ae.push(new x("file","final-file")),ae.push(new g("final-file","existing-file")),re&&ae.push(new R("existing-file","existing-file")),ae.push(new x("existing-file","resolved"))),oe.size>0&&ae.push(new E(le.hooks.resolved,oe)),ae.push(new C(le.hooks.resolved));for(const e of ae)"function"==typeof e?e.call(le,le):e.apply(le);return le}},49751:e=>{"use strict";const t="/".charCodeAt(0),r="\\".charCodeAt(0),n=(e,n)=>{if(!e.startsWith(n))return!1;if(e.length===n.length)return!0;const i=e.charCodeAt(n.length);return i===t||i===r};e.exports=class{constructor(e,t){this.source=e,this.restrictions=t}apply(e){e.getHook(this.source).tapAsync("RestrictionsPlugin",(e,t,r)=>{if("string"==typeof e.path){const i=e.path;for(const e of this.restrictions)if("string"==typeof e){if(!n(i,e))return t.log&&t.log(`${i} is not inside of the restriction ${e}`),r(null,null)}else if(!e.test(i))return t.log&&t.log(`${i} doesn't match the restriction ${e}`),r(null,null)}r()})}}},19258:e=>{"use strict";e.exports=class{constructor(e){this.source=e}apply(e){this.source.tapAsync("ResultPlugin",(t,r,n)=>{const i={...t};r.log&&r.log("reporting result "+i.path),e.hooks.result.callAsync(i,r,e=>{if(e)return n(e);n(null,i)})})}}},63760:(e,t,r)=>{"use strict";const n=r(60059);e.exports=class{constructor(e,t,r){this.roots=Array.from(t),this.source=e,this.target=r}apply(e){const t=e.ensureHook(this.target);e.getHook(this.source).tapAsync("RootsPlugin",(r,i,o)=>{const s=r.request;return s&&s.startsWith("/")?void n(this.roots,(n,o)=>{const a=e.join(n,s.slice(1)),l={...r,path:a,relativePath:r.relativePath&&a};e.doResolve(t,l,"root path "+n,i,o)},o):o()})}}},36490:(e,t,r)=>{"use strict";const n=r(70232),i="/".charCodeAt(0);e.exports=class{constructor(e,t,r){this.source=e,this.target=r,this.fieldName=t}apply(e){const t=e.ensureHook(this.target);e.getHook(this.source).tapAsync("SelfReferencePlugin",(r,o,s)=>{if(!r.descriptionFilePath)return s();const a=r.request;if(!a)return s();if(!n.getField(r.descriptionFileData,this.fieldName))return s();const l=n.getField(r.descriptionFileData,"name");if("string"!=typeof l)return s();if(!a.startsWith(l)||a.length!==l.length&&a.charCodeAt(l.length)!==i)return s();{const n="."+a.slice(l.length),i={...r,request:n,path:r.descriptionFileRoot,relativePath:"."};e.doResolve(t,i,"self reference",o,s)}})}}},51104:(e,t,r)=>{"use strict";const n=r(60059),i=r(49395),{getType:o,PathType:s}=r(84269);e.exports=class{constructor(e,t){this.source=e,this.target=t}apply(e){const t=e.ensureHook(this.target),r=e.fileSystem;e.getHook(this.source).tapAsync("SymlinkPlugin",(a,l,c)=>{if(a.ignoreSymlinks)return c();const u=i(a.path),p=u.seqments,h=u.paths;let d=!1,f=-1;n(h,(e,t)=>{f++,l.fileDependencies&&l.fileDependencies.add(e),r.readlink(e,(e,r)=>{if(!e&&r){p[f]=r,d=!0;const e=o(r.toString());if(e===s.AbsoluteWin||e===s.AbsolutePosix)return t(null,f)}t()})},(r,n)=>{if(!d)return c();const i=("number"==typeof n?p.slice(0,n+1):p.slice()).reduceRight((t,r)=>e.join(t,r)),o={...a,path:i};e.doResolve(t,o,"resolved symlink to "+i,l,c)})})}}},83230:e=>{"use strict";e.exports=function(e){this.fs=e,this.lstat=void 0,this.lstatSync=void 0;const t=e.lstatSync;t&&(this.lstat=(r,n,i)=>{let o;try{o=t.call(e,r)}catch(e){return(i||n)(e)}(i||n)(null,o)},this.lstatSync=(r,n)=>t.call(e,r,n)),this.stat=(t,r,n)=>{let i;try{i=e.statSync(t,r)}catch(e){return(n||r)(e)}(n||r)(null,i)},this.statSync=(t,r)=>e.statSync(t,r),this.readdir=(t,r,n)=>{let i;try{i=e.readdirSync(t)}catch(e){return(n||r)(e)}(n||r)(null,i)},this.readdirSync=(t,r)=>e.readdirSync(t,r),this.readFile=(t,r,n)=>{let i;try{i=e.readFileSync(t)}catch(e){return(n||r)(e)}(n||r)(null,i)},this.readFileSync=(t,r)=>e.readFileSync(t,r),this.readlink=(t,r,n)=>{let i;try{i=e.readlinkSync(t)}catch(e){return(n||r)(e)}(n||r)(null,i)},this.readlinkSync=(t,r)=>e.readlinkSync(t,r),this.readJson=void 0,this.readJsonSync=void 0;const r=e.readJsonSync;r&&(this.readJson=(t,n,i)=>{let o;try{o=r.call(e,t)}catch(e){return(i||n)(e)}(i||n)(null,o)},this.readJsonSync=(t,n)=>r.call(e,t,n))}},31702:e=>{"use strict";e.exports=class{constructor(e,t,r){this.source=e,this.message=t,this.target=r}apply(e){const t=e.ensureHook(this.target);e.getHook(this.source).tapAsync("TryNextPlugin",(r,n,i)=>{e.doResolve(t,r,this.message,n,i)})}}},81809:e=>{"use strict";e.exports=class{constructor(e,t,r,n,i){this.source=e,this.filterPredicate=t,this.withContext=n,this.cache=r,this.target=i}apply(e){const t=e.ensureHook(this.target);e.getHook(this.source).tapAsync("UnsafeCachePlugin",(r,n,i)=>{if(!this.filterPredicate(r))return i();const o=function(e,t){return JSON.stringify({context:t?e.context:"",path:e.path,query:e.query,fragment:e.fragment,request:e.request})}(r,this.withContext),s=this.cache[o];if(s)return i(null,s);e.doResolve(t,r,null,n,(e,t)=>e?i(e):t?i(null,this.cache[o]=t):void i())})}}},41232:e=>{"use strict";e.exports=class{constructor(e,t,r){this.source=e,this.filename=t,this.target=r}apply(e){const t=e.ensureHook(this.target);e.getHook(this.source).tapAsync("UseFilePlugin",(r,n,i)=>{const o=e.join(r.path,this.filename),s={...r,path:o,relativePath:r.relativePath&&e.join(r.relativePath,this.filename)};e.doResolve(t,s,"using path: "+o,n,i)})}}},6369:e=>{"use strict";e.exports=function(e,t,r){let n=!1,i=void 0;return e.log&&(i=t?r=>{n||(e.log(t),n=!0),e.log(" "+r)}:e.log),{log:i,fileDependencies:e.fileDependencies,contextDependencies:e.contextDependencies,missingDependencies:e.missingDependencies,stack:e.stack}}},60059:e=>{"use strict";e.exports=function(e,t,r){if(0===e.length)return r();let n=0;const i=()=>{let o=void 0;return t(e[n++],(t,s)=>{if(t||void 0!==s||n>=e.length)return r(t,s);if(!1===o)for(;i(););o=!0}),o||(o=!1),o};for(;i(););}},91878:e=>{"use strict";e.exports=function(e,t){if("string"==typeof t.__innerRequest&&t.__innerRequest_request===t.request&&t.__innerRequest_relativePath===t.relativePath)return t.__innerRequest;let r;return t.request?(r=t.request,/^\.\.?\//.test(r)&&t.relativePath&&(r=e.join(t.relativePath,r))):r=t.relativePath,t.__innerRequest_request=t.request,t.__innerRequest_relativePath=t.relativePath,t.__innerRequest=r}},49395:e=>{"use strict";e.exports=function(e){const t=e.split(/(.*?[\\/]+)/),r=[e],n=[t[t.length-1]];let i=t[t.length-1];e=e.substr(0,e.length-i.length-1);for(let o=t.length-2;o>2;o-=2)r.push(e),i=t[o],e=e.substr(0,e.length-i.length)||"/",n.push(i.substr(0,i.length-1));return i=t[1],n.push(i),r.push(i),{paths:r,seqments:n}},e.exports.basename=function(e){const t=e.lastIndexOf("/"),r=e.lastIndexOf("\\"),n=t<0?r:r<0?t:t{"use strict";const n=r(82161),i=r(75544),o=r(34129),s=new i(n,4e3),a={environments:["node+es3+es5+process+native"]},l=o.createResolver({conditionNames:["node"],extensions:[".js",".json",".node"],fileSystem:s});const c=o.createResolver({conditionNames:["node"],extensions:[".js",".json",".node"],useSyncFileSystemCalls:!0,fileSystem:s});function u(e,t,r){return"string"==typeof e&&(r=t,t=e,e=a),c.resolveSync(e,t,r)}function p(e){e={useSyncFileSystemCalls:!0,fileSystem:s,...e};const t=o.createResolver(e);return function(e,r,n){return"string"==typeof e&&(n=r,r=e,e=a),t.resolveSync(e,r,n)}}const h=(e,t)=>{const r=Object.getOwnPropertyDescriptors(t);return Object.defineProperties(e,r),Object.freeze(e)};e.exports=h((function(e,t,r,n,i){"string"==typeof e&&(i=n,n=r,r=t,t=e,e=a),"function"!=typeof i&&(i=n),l.resolve(e,t,r,n,i)}),{get sync(){return u},create:h((function(e){e={fileSystem:s,...e};const t=o.createResolver(e);return function(e,r,n,i,o){"string"==typeof e&&(o=i,i=n,n=r,r=e,e=a),"function"!=typeof o&&(o=i),t.resolve(e,r,n,i,o)}}),{get sync(){return p}}),ResolverFactory:o,CachedInputFileSystem:i,get CloneBasenamePlugin(){return r(15331)},get LogInfoPlugin(){return r(58026)},get forEachBail(){return r(60059)}})},47002:e=>{"use strict";const t="/".charCodeAt(0),r=".".charCodeAt(0),n="#".charCodeAt(0);function i(e,t,r){return function(n,i){const o=function(e,t){if(0===e.length){const e=t.files.get("");return e?[e,1]:null}if(null===t.children&&null===t.folder&&null===t.wildcards){const r=t.files.get(e);return r?[r,e.length+1]:null}let r=t,n=0,i=e.indexOf("/",0),o=null;const s=()=>{const e=r.folder;e&&(o?(o[0]=e,o[1]=-n-1):o=[e,-n-1])},a=(e,t)=>{if(e)for(const[r,i]of e)t.startsWith(r)&&(o?o[1]0?e.slice(n):e,c=r.files.get(l);if(c)return[c,e.length+1];return s(),a(r.wildcards,l),o}(n=t(n),e);if(null===o)return[];const[s,a]=o;let l=null;if(c(s)){if(l=p(s,i),null===l)return[]}else l=s;return function e(t,r,n,i,o){if(null===n)return[];if("string"==typeof n)return[u(t,r,n,o)];const s=[];for(const a of n){if("string"==typeof a){s.push(u(t,r,a,o));continue}const n=p(a,i);if(!n)continue;const l=e(t,r,n,i,o);for(const e of l)s.push(e)}return s}(a===n.length+1?void 0:a<0?n.slice(-a-1):n.slice(a),a<0,l,i,r)}}function o(e){if(e.charCodeAt(0)!==r)throw new Error('Request should be relative path and start with "."');if(1===e.length)return"";if(e.charCodeAt(1)!==t)throw new Error('Request should be relative path and start with "./"');if(e.charCodeAt(e.length-1)===t)throw new Error("Only requesting file allowed");return e.slice(2)}function s(e){if(e.charCodeAt(0)!==n)throw new Error('Request should start with "#"');if(1===e.length)throw new Error("Request should have at least 2 characters");if(e.charCodeAt(1)===t)throw new Error('Request should not start with "#/"');if(e.charCodeAt(e.length-1)===t)throw new Error("Only requesting file allowed");return e.slice(1)}function a(e,n){if(e.charCodeAt(0)===t||e.charCodeAt(0)===r&&e.charCodeAt(1)!==t)throw new Error(`Export should be relative path and start with "./", got ${JSON.stringify(e)}.`);if(e.charCodeAt(e.length-1)===t!==n)throw new Error(n?`Expecting folder to folder mapping. ${JSON.stringify(e)} should end with "/"`:`Expecting file to file mapping. ${JSON.stringify(e)} should not end with "/"`)}function l(e,r){if(e.charCodeAt(e.length-1)===t!==r)throw new Error(r?`Expecting folder to folder mapping. ${JSON.stringify(e)} should end with "/"`:`Expecting file to file mapping. ${JSON.stringify(e)} should not end with "/"`)}function c(e){return null!==e&&"object"==typeof e&&!Array.isArray(e)}function u(e,t,r,n){return void 0===e?(n(r,!1),r):t?(n(r,!0),r+e):(n(r,!1),r.replace(/\*/g,e.replace(/\$/g,"$$")))}function p(e,t){let r=[[e,Object.keys(e),0]];e:for(;r.length>0;){const[e,n,i]=r[r.length-1],o=n.length-1;for(let s=i;s=t.length)n.folder=r;else{const e=i>0?t.slice(i):t;e.endsWith("*")?(null===n.wildcards&&(n.wildcards=new Map),n.wildcards.set(e.slice(0,-1),r)):n.files.set(e,r)}}e.exports.processExportsField=function(e){return i(function(e){const n=h();if("string"==typeof e)return n.files.set("",e),n;if(Array.isArray(e))return n.files.set("",e.slice()),n;const i=Object.keys(e);for(let o=0;o{"use strict";const t=/^(#?(?:\0.|[^?#\0])*)(\?(?:\0.|[^#\0])*)?(#.*)?$/;e.exports.parseIdentifier=function(e){const r=t.exec(e);return r?[r[1].replace(/\0(.)/g,"$1"),r[2]?r[2].replace(/\0(.)/g,"$1"):"",r[3]||""]:null}},84269:(e,t,r)=>{"use strict";const n=r(85622),i="#".charCodeAt(0),o="/".charCodeAt(0),s="\\".charCodeAt(0),a="A".charCodeAt(0),l="Z".charCodeAt(0),c="a".charCodeAt(0),u="z".charCodeAt(0),p=".".charCodeAt(0),h=":".charCodeAt(0),d=n.posix.normalize,f=n.win32.normalize,g=Object.freeze({Empty:0,Normal:1,Relative:2,AbsoluteWin:3,AbsolutePosix:4,Internal:5});t.PathType=g;const m=e=>{switch(e.length){case 0:return g.Empty;case 1:switch(e.charCodeAt(0)){case p:return g.Relative;case o:return g.AbsolutePosix;case i:return g.Internal}return g.Normal;case 2:{const t=e.charCodeAt(0);switch(t){case p:switch(e.charCodeAt(1)){case p:case o:return g.Relative}return g.Normal;case o:return g.AbsolutePosix;case i:return g.Internal}return e.charCodeAt(1)===h&&(t>=a&&t<=l||t>=c&&t<=u)?g.AbsoluteWin:g.Normal}}const t=e.charCodeAt(0);switch(t){case p:switch(e.charCodeAt(1)){case o:return g.Relative;case p:return e.charCodeAt(2)===o?g.Relative:g.Normal}return g.Normal;case o:return g.AbsolutePosix;case i:return g.Internal}if(e.charCodeAt(1)===h){const r=e.charCodeAt(2);if((r===s||r===o)&&(t>=a&&t<=l||t>=c&&t<=u))return g.AbsoluteWin}return g.Normal};t.getType=m;const v=e=>{switch(m(e)){case g.Empty:return e;case g.AbsoluteWin:return f(e);case g.Relative:{const t=d(e);return m(t)===g.Relative?t:"./"+t}}return d(e)};t.normalize=v;const y=(e,t)=>{if(!t)return v(e);const r=m(t);switch(r){case g.AbsolutePosix:return d(t);case g.AbsoluteWin:return f(t)}switch(m(e)){case g.Normal:case g.Relative:case g.AbsolutePosix:return d(`${e}/${t}`);case g.AbsoluteWin:return f(`${e}\\${t}`)}switch(r){case g.Empty:return e;case g.Relative:{const t=d(e);return m(t)===g.Relative?t:"./"+t}}return d(e)};t.join=y;const b=new Map;t.cachedJoin=(e,t)=>{let r,n=b.get(e);if(void 0===n)b.set(e,n=new Map);else if(r=n.get(t),void 0!==r)return r;return r=y(e,t),n.set(t,r),r};t.checkExportsFieldTarget=e=>{let t=2,r=e.indexOf("/",2),n=0;for(;-1!==r;){switch(e.slice(t,r)){case"..":if(n--,n<0)return new Error("Trying to access out of package scope. Requesting "+e);break;default:n++}t=r+1,r=e.indexOf("/",t)}}},83875:(e,t,r)=>{"use strict";const n=r(1287),i=r(85541),o=r(9754),s=r(20865),a=r(52403),l=r(12747);async function c(e,t){p(e);const r=u(e,i.default,t),n=await Promise.all(r);return l.array.flatten(n)}function u(e,t,r){const i=[].concat(e),o=new a.default(r),s=n.generate(i,o),l=new t(o);return s.map(l.read,l)}function p(e){if(![].concat(e).every(e=>l.string.isString(e)&&!l.string.isEmpty(e)))throw new TypeError("Patterns must be a string (non empty) or an array of strings")}!function(e){e.sync=function(e,t){p(e);const r=u(e,s.default,t);return l.array.flatten(r)},e.stream=function(e,t){p(e);const r=u(e,o.default,t);return l.stream.merge(r)},e.generateTasks=function(e,t){p(e);const r=[].concat(e),i=new a.default(t);return n.generate(r,i)},e.isDynamicPattern=function(e,t){p(e);const r=new a.default(t);return l.pattern.isDynamicPattern(e,r)},e.escapePath=function(e){return p(e),l.path.escape(e)}}(c||(c={})),e.exports=c},1287:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.convertPatternGroupToTask=t.convertPatternGroupsToTasks=t.groupPatternsByBaseDirectory=t.getNegativePatternsAsPositive=t.getPositivePatterns=t.convertPatternsToTasks=t.generate=void 0;const n=r(12747);function i(e,t,r){const n=a(e);if("."in n){return[c(".",e,t,r)]}return l(n,t,r)}function o(e){return n.pattern.getPositivePatterns(e)}function s(e,t){return n.pattern.getNegativePatterns(e).concat(t).map(n.pattern.convertToPositivePattern)}function a(e){return e.reduce((e,t)=>{const r=n.pattern.getBaseDirectory(t);return r in e?e[r].push(t):e[r]=[t],e},{})}function l(e,t,r){return Object.keys(e).map(n=>c(n,e[n],t,r))}function c(e,t,r,i){return{dynamic:i,positive:t,negative:r,base:e,patterns:[].concat(t,r.map(n.pattern.convertToNegativePattern))}}t.generate=function(e,t){const r=o(e),a=s(e,t.ignore),l=r.filter(e=>n.pattern.isStaticPattern(e,t)),c=r.filter(e=>n.pattern.isDynamicPattern(e,t)),u=i(l,a,!1),p=i(c,a,!0);return u.concat(p)},t.convertPatternsToTasks=i,t.getPositivePatterns=o,t.getNegativePatternsAsPositive=s,t.groupPatternsByBaseDirectory=a,t.convertPatternGroupsToTasks=l,t.convertPatternGroupToTask=c},85541:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(93880),i=r(57944);class o extends i.default{constructor(){super(...arguments),this._reader=new n.default(this._settings)}read(e){const t=this._getRootDirectory(e),r=this._getReaderOptions(e),n=[];return new Promise((i,o)=>{const s=this.api(t,e,r);s.once("error",o),s.on("data",e=>n.push(r.transform(e))),s.once("end",()=>i(n))})}api(e,t,r){return t.dynamic?this._reader.dynamic(e,r):this._reader.static(t.patterns,r)}}t.default=o},36220:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(12747),i=r(39081);t.default=class{constructor(e,t){this._settings=e,this._micromatchOptions=t}getFilter(e,t,r){const n=this._getMatcher(t),i=this._getNegativePatternsRe(r);return t=>this._filter(e,t,n,i)}_getMatcher(e){return new i.default(e,this._settings,this._micromatchOptions)}_getNegativePatternsRe(e){const t=e.filter(n.pattern.isAffectDepthOfReadingPattern);return n.pattern.convertPatternsToRe(t,this._micromatchOptions)}_filter(e,t,r,i){if(this._isSkippedByDeep(e,t.path))return!1;if(this._isSkippedSymbolicLink(t))return!1;const o=n.path.removeLeadingDotSegment(t.path);return!this._isSkippedByPositivePatterns(o,r)&&this._isSkippedByNegativePatterns(o,i)}_isSkippedByDeep(e,t){return this._settings.deep!==1/0&&this._getEntryLevel(e,t)>=this._settings.deep}_getEntryLevel(e,t){const r=t.split("/").length;return""===e?r:r-e.split("/").length}_isSkippedSymbolicLink(e){return!this._settings.followSymbolicLinks&&e.dirent.isSymbolicLink()}_isSkippedByPositivePatterns(e,t){return!this._settings.baseNameMatch&&!t.match(e)}_isSkippedByNegativePatterns(e,t){return!n.pattern.matchAny(e,t)}}},99188:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(12747);t.default=class{constructor(e,t){this._settings=e,this._micromatchOptions=t,this.index=new Map}getFilter(e,t){const r=n.pattern.convertPatternsToRe(e,this._micromatchOptions),i=n.pattern.convertPatternsToRe(t,this._micromatchOptions);return e=>this._filter(e,r,i)}_filter(e,t,r){if(this._settings.unique&&this._isDuplicateEntry(e))return!1;if(this._onlyFileFilter(e)||this._onlyDirectoryFilter(e))return!1;if(this._isSkippedByAbsoluteNegativePatterns(e.path,r))return!1;const n=this._settings.baseNameMatch?e.name:e.path,i=this._isMatchToPatterns(n,t)&&!this._isMatchToPatterns(e.path,r);return this._settings.unique&&i&&this._createIndexRecord(e),i}_isDuplicateEntry(e){return this.index.has(e.path)}_createIndexRecord(e){this.index.set(e.path,void 0)}_onlyFileFilter(e){return this._settings.onlyFiles&&!e.dirent.isFile()}_onlyDirectoryFilter(e){return this._settings.onlyDirectories&&!e.dirent.isDirectory()}_isSkippedByAbsoluteNegativePatterns(e,t){if(!this._settings.absolute)return!1;const r=n.path.makeAbsolute(this._settings.cwd,e);return n.pattern.matchAny(r,t)}_isMatchToPatterns(e,t){const r=n.path.removeLeadingDotSegment(e);return n.pattern.matchAny(r,t)}}},77813:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(12747);t.default=class{constructor(e){this._settings=e}getFilter(){return e=>this._isNonFatalError(e)}_isNonFatalError(e){return n.errno.isEnoentCodeError(e)||this._settings.suppressErrors}}},17431:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(12747);t.default=class{constructor(e,t,r){this._patterns=e,this._settings=t,this._micromatchOptions=r,this._storage=[],this._fillStorage()}_fillStorage(){const e=n.pattern.expandPatternsWithBraceExpansion(this._patterns);for(const t of e){const e=this._getPatternSegments(t),r=this._splitSegmentsIntoSections(e);this._storage.push({complete:r.length<=1,pattern:t,segments:e,sections:r})}}_getPatternSegments(e){return n.pattern.getPatternParts(e,this._micromatchOptions).map(e=>n.pattern.isDynamicPattern(e,this._settings)?{dynamic:!0,pattern:e,patternRe:n.pattern.makeRe(e,this._micromatchOptions)}:{dynamic:!1,pattern:e})}_splitSegmentsIntoSections(e){return n.array.splitWhen(e,e=>e.dynamic&&n.pattern.hasGlobStar(e.pattern))}}},39081:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(17431);class i extends n.default{match(e){const t=e.split("/"),r=t.length,n=this._storage.filter(e=>!e.complete||e.segments.length>r);for(const e of n){const n=e.sections[0];if(!e.complete&&r>n.length)return!0;if(t.every((t,r)=>{const n=e.segments[r];return!(!n.dynamic||!n.patternRe.test(t))||!n.dynamic&&n.pattern===t}))return!0}return!1}}t.default=i},57944:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(85622),i=r(36220),o=r(99188),s=r(77813),a=r(32692);t.default=class{constructor(e){this._settings=e,this.errorFilter=new s.default(this._settings),this.entryFilter=new o.default(this._settings,this._getMicromatchOptions()),this.deepFilter=new i.default(this._settings,this._getMicromatchOptions()),this.entryTransformer=new a.default(this._settings)}_getRootDirectory(e){return n.resolve(this._settings.cwd,e.base)}_getReaderOptions(e){const t="."===e.base?"":e.base;return{basePath:t,pathSegmentSeparator:"/",concurrency:this._settings.concurrency,deepFilter:this.deepFilter.getFilter(t,e.positive,e.negative),entryFilter:this.entryFilter.getFilter(e.positive,e.negative),errorFilter:this.errorFilter.getFilter(),followSymbolicLinks:this._settings.followSymbolicLinks,fs:this._settings.fs,stats:this._settings.stats,throwErrorOnBrokenSymbolicLink:this._settings.throwErrorOnBrokenSymbolicLink,transform:this.entryTransformer.getTransformer()}}_getMicromatchOptions(){return{dot:this._settings.dot,matchBase:this._settings.baseNameMatch,nobrace:!this._settings.braceExpansion,nocase:!this._settings.caseSensitiveMatch,noext:!this._settings.extglob,noglobstar:!this._settings.globstar,posix:!0,strictSlashes:!1}}}},9754:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(92413),i=r(93880),o=r(57944);class s extends o.default{constructor(){super(...arguments),this._reader=new i.default(this._settings)}read(e){const t=this._getRootDirectory(e),r=this._getReaderOptions(e),i=this.api(t,e,r),o=new n.Readable({objectMode:!0,read:()=>{}});return i.once("error",e=>o.emit("error",e)).on("data",e=>o.emit("data",r.transform(e))).once("end",()=>o.emit("end")),o.once("close",()=>i.destroy()),o}api(e,t,r){return t.dynamic?this._reader.dynamic(e,r):this._reader.static(t.patterns,r)}}t.default=s},20865:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(19557),i=r(57944);class o extends i.default{constructor(){super(...arguments),this._reader=new n.default(this._settings)}read(e){const t=this._getRootDirectory(e),r=this._getReaderOptions(e);return this.api(t,e,r).map(r.transform)}api(e,t,r){return t.dynamic?this._reader.dynamic(e,r):this._reader.static(t.patterns,r)}}t.default=o},32692:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(12747);t.default=class{constructor(e){this._settings=e}getTransformer(){return e=>this._transform(e)}_transform(e){let t=e.path;return this._settings.absolute&&(t=n.path.makeAbsolute(this._settings.cwd,t),t=n.path.unixify(t)),this._settings.markDirectories&&e.dirent.isDirectory()&&(t+="/"),this._settings.objectMode?Object.assign(Object.assign({},e),{path:t}):t}}},83115:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(85622),i=r(4516),o=r(12747);t.default=class{constructor(e){this._settings=e,this._fsStatSettings=new i.Settings({followSymbolicLink:this._settings.followSymbolicLinks,fs:this._settings.fs,throwErrorOnBrokenSymbolicLink:this._settings.followSymbolicLinks})}_getFullEntryPath(e){return n.resolve(this._settings.cwd,e)}_makeEntry(e,t){const r={name:t,path:t,dirent:o.fs.createDirentFromStats(t,e)};return this._settings.stats&&(r.stats=e),r}_isFatalError(e){return!o.errno.isEnoentCodeError(e)&&!this._settings.suppressErrors}}},93880:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(92413),i=r(4516),o=r(5923),s=r(83115);class a extends s.default{constructor(){super(...arguments),this._walkStream=o.walkStream,this._stat=i.stat}dynamic(e,t){return this._walkStream(e,t)}static(e,t){const r=e.map(this._getFullEntryPath,this),i=new n.PassThrough({objectMode:!0});i._write=(n,o,s)=>this._getEntry(r[n],e[n],t).then(e=>{null!==e&&t.entryFilter(e)&&i.push(e),n===r.length-1&&i.end(),s()}).catch(s);for(let e=0;ethis._makeEntry(e,t)).catch(e=>{if(r.errorFilter(e))return null;throw e})}_getStat(e){return new Promise((t,r)=>{this._stat(e,this._fsStatSettings,(e,n)=>null===e?t(n):r(e))})}}t.default=a},19557:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(4516),i=r(5923),o=r(83115);class s extends o.default{constructor(){super(...arguments),this._walkSync=i.walkSync,this._statSync=n.statSync}dynamic(e,t){return this._walkSync(e,t)}static(e,t){const r=[];for(const n of e){const e=this._getFullEntryPath(n),i=this._getEntry(e,n,t);null!==i&&t.entryFilter(i)&&r.push(i)}return r}_getEntry(e,t,r){try{const r=this._getStat(e);return this._makeEntry(r,t)}catch(e){if(r.errorFilter(e))return null;throw e}}_getStat(e){return this._statSync(e,this._fsStatSettings)}}t.default=s},52403:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DEFAULT_FILE_SYSTEM_ADAPTER=void 0;const n=r(35747),i=r(12087).cpus().length;t.DEFAULT_FILE_SYSTEM_ADAPTER={lstat:n.lstat,lstatSync:n.lstatSync,stat:n.stat,statSync:n.statSync,readdir:n.readdir,readdirSync:n.readdirSync};t.default=class{constructor(e={}){this._options=e,this.absolute=this._getValue(this._options.absolute,!1),this.baseNameMatch=this._getValue(this._options.baseNameMatch,!1),this.braceExpansion=this._getValue(this._options.braceExpansion,!0),this.caseSensitiveMatch=this._getValue(this._options.caseSensitiveMatch,!0),this.concurrency=this._getValue(this._options.concurrency,i),this.cwd=this._getValue(this._options.cwd,process.cwd()),this.deep=this._getValue(this._options.deep,1/0),this.dot=this._getValue(this._options.dot,!1),this.extglob=this._getValue(this._options.extglob,!0),this.followSymbolicLinks=this._getValue(this._options.followSymbolicLinks,!0),this.fs=this._getFileSystemMethods(this._options.fs),this.globstar=this._getValue(this._options.globstar,!0),this.ignore=this._getValue(this._options.ignore,[]),this.markDirectories=this._getValue(this._options.markDirectories,!1),this.objectMode=this._getValue(this._options.objectMode,!1),this.onlyDirectories=this._getValue(this._options.onlyDirectories,!1),this.onlyFiles=this._getValue(this._options.onlyFiles,!0),this.stats=this._getValue(this._options.stats,!1),this.suppressErrors=this._getValue(this._options.suppressErrors,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!1),this.unique=this._getValue(this._options.unique,!0),this.onlyDirectories&&(this.onlyFiles=!1),this.stats&&(this.objectMode=!0)}_getValue(e,t){return void 0===e?t:e}_getFileSystemMethods(e={}){return Object.assign(Object.assign({},t.DEFAULT_FILE_SYSTEM_ADAPTER),e)}}},77893:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.splitWhen=t.flatten=void 0,t.flatten=function(e){return e.reduce((e,t)=>[].concat(e,t),[])},t.splitWhen=function(e,t){const r=[[]];let n=0;for(const i of e)t(i)?(n++,r[n]=[]):r[n].push(i);return r}},11002:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isEnoentCodeError=void 0,t.isEnoentCodeError=function(e){return"ENOENT"===e.code}},15220:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createDirentFromStats=void 0;class r{constructor(e,t){this.name=e,this.isBlockDevice=t.isBlockDevice.bind(t),this.isCharacterDevice=t.isCharacterDevice.bind(t),this.isDirectory=t.isDirectory.bind(t),this.isFIFO=t.isFIFO.bind(t),this.isFile=t.isFile.bind(t),this.isSocket=t.isSocket.bind(t),this.isSymbolicLink=t.isSymbolicLink.bind(t)}}t.createDirentFromStats=function(e,t){return new r(e,t)}},12747:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.string=t.stream=t.pattern=t.path=t.fs=t.errno=t.array=void 0;const n=r(77893);t.array=n;const i=r(11002);t.errno=i;const o=r(15220);t.fs=o;const s=r(60272);t.path=s;const a=r(7873);t.pattern=a;const l=r(9105);t.stream=l;const c=r(40505);t.string=c},60272:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.removeLeadingDotSegment=t.escape=t.makeAbsolute=t.unixify=void 0;const n=r(85622),i=/(\\?)([()*?[\]{|}]|^!|[!+@](?=\())/g;t.unixify=function(e){return e.replace(/\\/g,"/")},t.makeAbsolute=function(e,t){return n.resolve(e,t)},t.escape=function(e){return e.replace(i,"\\$2")},t.removeLeadingDotSegment=function(e){if("."===e.charAt(0)){const t=e.charAt(1);if("/"===t||"\\"===t)return e.slice(2)}return e}},7873:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.matchAny=t.convertPatternsToRe=t.makeRe=t.getPatternParts=t.expandBraceExpansion=t.expandPatternsWithBraceExpansion=t.isAffectDepthOfReadingPattern=t.endsWithSlashGlobStar=t.hasGlobStar=t.getBaseDirectory=t.getPositivePatterns=t.getNegativePatterns=t.isPositivePattern=t.isNegativePattern=t.convertToNegativePattern=t.convertToPositivePattern=t.isDynamicPattern=t.isStaticPattern=void 0;const n=r(85622),i=r(65292),o=r(53024),s=r(5669),a=/[*?]|^!/,l=/\[.*]/,c=/(?:^|[^!*+?@])\(.*\|.*\)/,u=/[!*+?@]\(.*\)/,p=/{.*(?:,|\.\.).*}/;function h(e,t={}){return!d(e,t)}function d(e,t={}){return""!==e&&(!(!1!==t.caseSensitiveMatch&&!e.includes("\\"))||(!!(a.test(e)||l.test(e)||c.test(e))||(!(!1===t.extglob||!u.test(e))||!(!1===t.braceExpansion||!p.test(e)))))}function f(e){return e.startsWith("!")&&"("!==e[1]}function g(e){return!f(e)}function m(e){return e.endsWith("/**")}function v(e){return o.braces(e,{expand:!0,nodupes:!0})}function y(e,t){return o.makeRe(e,t)}t.isStaticPattern=h,t.isDynamicPattern=d,t.convertToPositivePattern=function(e){return f(e)?e.slice(1):e},t.convertToNegativePattern=function(e){return"!"+e},t.isNegativePattern=f,t.isPositivePattern=g,t.getNegativePatterns=function(e){return e.filter(f)},t.getPositivePatterns=function(e){return e.filter(g)},t.getBaseDirectory=function(e){return i(e,{flipBackslashes:!1})},t.hasGlobStar=function(e){return e.includes("**")},t.endsWithSlashGlobStar=m,t.isAffectDepthOfReadingPattern=function(e){const t=n.basename(e);return m(e)||h(t)},t.expandPatternsWithBraceExpansion=function(e){return e.reduce((e,t)=>e.concat(v(t)),[])},t.expandBraceExpansion=v,t.getPatternParts=function(e,t){let{parts:r}=s.scan(e,Object.assign(Object.assign({},t),{parts:!0}));return 0===r.length&&(r=[e]),r[0].startsWith("/")&&(r[0]=r[0].slice(1),r.unshift("")),r},t.makeRe=y,t.convertPatternsToRe=function(e,t){return e.map(e=>y(e,t))},t.matchAny=function(e,t){return t.some(t=>t.test(e))}},9105:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.merge=void 0;const n=r(13774);function i(e){e.forEach(e=>e.emit("close"))}t.merge=function(e){const t=n(e);return e.forEach(e=>{e.once("error",e=>t.emit("error",e))}),t.once("close",()=>i(e)),t.once("end",()=>i(e)),t}},40505:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isEmpty=t.isString=void 0,t.isString=function(e){return"string"==typeof e},t.isEmpty=function(e){return""===e}},92427:(e,t,r)=>{"use strict";var n=r(70736);function i(e,t,r){if("function"==typeof e&&(r=t,t=e,e=null),r<1)throw new Error("fastqueue concurrency must be greater than 1");var i=n(s),a=null,l=null,c=0,u=null,p={push:function(r,n){var s=i.get();s.context=e,s.release=h,s.value=r,s.callback=n||o,s.errorHandler=u,c===p.concurrency||p.paused?l?(l.next=s,l=s):(a=s,l=s,p.saturated()):(c++,t.call(e,s.value,s.worked))},drain:o,saturated:o,pause:function(){p.paused=!0},paused:!1,concurrency:r,running:function(){return c},resume:function(){if(!p.paused)return;p.paused=!1;for(var e=0;e{"use strict"; /*! * fill-range * * Copyright (c) 2014-present, Jon Schlinkert. * Licensed under the MIT License. - */const r=n(1669),i=n(887),s=e=>null!==e&&"object"==typeof e&&!Array.isArray(e),o=e=>"number"==typeof e||"string"==typeof e&&""!==e,a=e=>Number.isInteger(+e),c=e=>{let t=""+e,n=-1;if("-"===t[0]&&(t=t.slice(1)),"0"===t)return!1;for(;"0"===t[++n];);return n>0},l=(e,t,n)=>{if(t>0){let n="-"===e[0]?"-":"";n&&(e=e.slice(1)),e=n+e.padStart(n?t-1:t,"0")}return!1===n?String(e):e},u=(e,t)=>{let n="-"===e[0]?"-":"";for(n&&(e=e.slice(1),t--);e.length{if(n)return i(e,t,{wrap:!1,...r});let s=String.fromCharCode(e);return e===t?s:`[${s}-${String.fromCharCode(t)}]`},p=(e,t,n)=>{if(Array.isArray(e)){let t=!0===n.wrap,r=n.capture?"":"?:";return t?`(${r}${e.join("|")})`:e.join("|")}return i(e,t,n)},d=(...e)=>new RangeError("Invalid range arguments: "+r.inspect(...e)),f=(e,t,n)=>{if(!0===n.strictRanges)throw d([e,t]);return[]},m=(e,t,n=1,r={})=>{let i=Number(e),s=Number(t);if(!Number.isInteger(i)||!Number.isInteger(s)){if(!0===r.strictRanges)throw d([e,t]);return[]}0===i&&(i=0),0===s&&(s=0);let o=i>s,a=String(e),f=String(t),m=String(n);n=Math.max(Math.abs(n),1);let g=c(a)||c(f)||c(m),v=g?Math.max(a.length,f.length,m.length):0,y=!1===g&&!1===((e,t,n)=>"string"==typeof e||"string"==typeof t||!0===n.stringify)(e,t,r),b=r.transform||(e=>t=>!0===e?Number(t):String(t))(y);if(r.toRegex&&1===n)return h(u(e,v),u(t,v),!0,r);let _={negatives:[],positives:[]},w=[],x=0;for(;o?i>=s:i<=s;)!0===r.toRegex&&n>1?_[(k=i)<0?"negatives":"positives"].push(Math.abs(k)):w.push(l(b(i,x),v,y)),i=o?i-n:i+n,x++;var k;return!0===r.toRegex?n>1?((e,t)=>{e.negatives.sort((e,t)=>et?1:0),e.positives.sort((e,t)=>et?1:0);let n,r=t.capture?"":"?:",i="",s="";return e.positives.length&&(i=e.positives.join("|")),e.negatives.length&&(s=`-(${r}${e.negatives.join("|")})`),n=i&&s?`${i}|${s}`:i||s,t.wrap?`(${r}${n})`:n})(_,r):p(w,null,{wrap:!1,...r}):w},g=(e,t,n,r={})=>{if(null==t&&o(e))return[e];if(!o(e)||!o(t))return f(e,t,r);if("function"==typeof n)return g(e,t,1,{transform:n});if(s(n))return g(e,t,0,n);let i={...r};return!0===i.capture&&(i.wrap=!0),n=n||i.step||1,a(n)?a(e)&&a(t)?m(e,t,n,i):((e,t,n=1,r={})=>{if(!a(e)&&e.length>1||!a(t)&&t.length>1)return f(e,t,r);let i=r.transform||(e=>String.fromCharCode(e)),s=(""+e).charCodeAt(0),o=(""+t).charCodeAt(0),c=s>o,l=Math.min(s,o),u=Math.max(s,o);if(r.toRegex&&1===n)return h(l,u,!1,r);let d=[],m=0;for(;c?s>=o:s<=o;)d.push(i(s,m)),s=c?s-n:s+n,m++;return!0===r.toRegex?p(d,null,{wrap:!1,options:r}):d})(e,t,Math.max(Math.abs(n),1),i):null==n||s(n)?g(e,t,1,n):((e,t)=>{if(!0===t.strictRanges)throw new TypeError(`Expected step "${e}" to be a number`);return[]})(n,i)};e.exports=g},4823:(e,t,n)=>{"use strict";const r=n(5622),i=n(3995),s=n(2716),o=Symbol("findUp.stop");e.exports=async(e,t={})=>{let n=r.resolve(t.cwd||"");const{root:s}=r.parse(n),a=[].concat(e),c=async t=>{if("function"!=typeof e)return i(a,t);const n=await e(t.cwd);return"string"==typeof n?i([n],t):n};for(;;){const e=await c({...t,cwd:n});if(e===o)return;if(e)return r.resolve(n,e);if(n===s)return;n=r.dirname(n)}},e.exports.sync=(e,t={})=>{let n=r.resolve(t.cwd||"");const{root:s}=r.parse(n),a=[].concat(e),c=t=>{if("function"!=typeof e)return i.sync(a,t);const n=e(t.cwd);return"string"==typeof n?i.sync([n],t):n};for(;;){const e=c({...t,cwd:n});if(e===o)return;if(e)return r.resolve(n,e);if(n===s)return;n=r.dirname(n)}},e.exports.exists=s,e.exports.sync.exists=s.sync,e.exports.stop=o},6195:(e,t,n)=>{"use strict";if("darwin"!==process.platform)throw new Error(`Module 'fsevents' is not compatible with platform '${process.platform}'`);const r=n(2125),i=r.constants;function s(e){return i.ItemIsFile&e?"file":i.ItemIsDir&e?"directory":i.ItemIsSymlink&e?"symlink":void 0}function o(e){return i.ItemRemoved&e?"deleted":i.ItemRenamed&e?"moved":i.ItemCreated&e?"created":i.ItemModified&e?"modified":i.RootChanged&e?"root-changed":i.ItemCloned&e?"cloned":function(e){for(let t in e)if(e[t])return!0;return!1}(e)?"modified":"unknown"}function a(e){return{inode:!!(i.ItemInodeMetaMod&e),finder:!!(i.ItemFinderInfoMod&e),access:!!(i.ItemChangeOwner&e),xattrs:!!(i.ItemXattrMod&e)}}t.watch=function(e,t,n){if("string"!=typeof e)throw new TypeError("fsevents argument 1 must be a string and not a "+typeof e);if("function"==typeof t&&void 0===n&&(n=t,t=r.flags.SinceNow),"number"!=typeof t)throw new TypeError("fsevents argument 2 must be a number and not a "+typeof t);if("function"!=typeof n)throw new TypeError("fsevents argument 3 must be a function and not a "+typeof n);let i=r.start(r.global,e,t,n);if(!i)throw new Error("could not watch: "+e);return()=>{const e=i?Promise.resolve(i).then(r.stop):Promise.resolve(void 0);return i=void 0,e}},t.getInfo=function(e,t){return{path:e,flags:t,event:o(t),type:s(t),changes:a(t)}},t.constants=i},9733:e=>{"use strict";var t="Function.prototype.bind called on incompatible ",n=Array.prototype.slice,r=Object.prototype.toString;e.exports=function(e){var i=this;if("function"!=typeof i||"[object Function]"!==r.call(i))throw new TypeError(t+i);for(var s,o=n.call(arguments,1),a=function(){if(this instanceof s){var t=i.apply(this,o.concat(n.call(arguments)));return Object(t)===t?t:this}return i.apply(e,o.concat(n.call(arguments)))},c=Math.max(0,i.length-o.length),l=[],u=0;u{"use strict";var r=n(9733);e.exports=Function.prototype.bind||r},5754:(e,t)=>{"use strict";t.Z=e=>Object.getOwnPropertySymbols(e).filter(t=>Object.prototype.propertyIsEnumerable.call(e,t))},7507:(e,t,n)=>{"use strict";var r=n(4042),i=n(5622).posix.dirname,s="win32"===n(2087).platform(),o=/\\/g,a=/[\{\[].*[\}\]]$/,c=/(^|[^\\])([\{\[]|\([^\)]+$)/,l=/\\([\!\*\?\|\[\]\(\)\{\}])/g;e.exports=function(e,t){Object.assign({flipBackslashes:!0},t).flipBackslashes&&s&&e.indexOf("/")<0&&(e=e.replace(o,"/")),a.test(e)&&(e+="/"),e+="a";do{e=i(e)}while(r(e)||c.test(e));return e.replace(l,"$1")}},9132:e=>{"use strict";e.exports=function(e){if(null===e||"object"!=typeof e)return e;if(e instanceof Object)var n={__proto__:t(e)};else n=Object.create(null);return Object.getOwnPropertyNames(e).forEach((function(t){Object.defineProperty(n,t,Object.getOwnPropertyDescriptor(e,t))})),n};var t=Object.getPrototypeOf||function(e){return e.__proto__}},552:(e,t,n)=>{var r,i,s=n(5747),o=n(1290),a=n(4410),c=n(9132),l=n(1669);function u(e,t){Object.defineProperty(e,r,{get:function(){return t}})}"function"==typeof Symbol&&"function"==typeof Symbol.for?(r=Symbol.for("graceful-fs.queue"),i=Symbol.for("graceful-fs.previous")):(r="___graceful-fs.queue",i="___graceful-fs.previous");var h=function(){};if(l.debuglog?h=l.debuglog("gfs4"):/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")&&(h=function(){var e=l.format.apply(l,arguments);e="GFS4: "+e.split(/\n/).join("\nGFS4: "),console.error(e)}),!s[r]){var p=global[r]||[];u(s,p),s.close=function(e){function t(t,n){return e.call(s,t,(function(e){e||m(),"function"==typeof n&&n.apply(this,arguments)}))}return Object.defineProperty(t,i,{value:e}),t}(s.close),s.closeSync=function(e){function t(t){e.apply(s,arguments),m()}return Object.defineProperty(t,i,{value:e}),t}(s.closeSync),/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")&&process.on("exit",(function(){h(s[r]),n(2357).equal(s[r].length,0)}))}function d(e){o(e),e.gracefulify=d,e.createReadStream=function(t,n){return new e.ReadStream(t,n)},e.createWriteStream=function(t,n){return new e.WriteStream(t,n)};var t=e.readFile;e.readFile=function(e,n,r){"function"==typeof n&&(r=n,n=null);return function e(n,r,i){return t(n,r,(function(t){!t||"EMFILE"!==t.code&&"ENFILE"!==t.code?("function"==typeof i&&i.apply(this,arguments),m()):f([e,[n,r,i]])}))}(e,n,r)};var n=e.writeFile;e.writeFile=function(e,t,r,i){"function"==typeof r&&(i=r,r=null);return function e(t,r,i,s){return n(t,r,i,(function(n){!n||"EMFILE"!==n.code&&"ENFILE"!==n.code?("function"==typeof s&&s.apply(this,arguments),m()):f([e,[t,r,i,s]])}))}(e,t,r,i)};var r=e.appendFile;r&&(e.appendFile=function(e,t,n,i){"function"==typeof n&&(i=n,n=null);return function e(t,n,i,s){return r(t,n,i,(function(r){!r||"EMFILE"!==r.code&&"ENFILE"!==r.code?("function"==typeof s&&s.apply(this,arguments),m()):f([e,[t,n,i,s]])}))}(e,t,n,i)});var i=e.copyFile;i&&(e.copyFile=function(e,t,n,r){"function"==typeof n&&(r=n,n=0);return i(e,t,n,(function(s){!s||"EMFILE"!==s.code&&"ENFILE"!==s.code?("function"==typeof r&&r.apply(this,arguments),m()):f([i,[e,t,n,r]])}))});var s=e.readdir;function c(t){return s.apply(e,t)}if(e.readdir=function(e,t,n){var r=[e];"function"!=typeof t?r.push(t):n=t;return r.push((function(e,t){t&&t.sort&&t.sort();!e||"EMFILE"!==e.code&&"ENFILE"!==e.code?("function"==typeof n&&n.apply(this,arguments),m()):f([c,[r]])})),c(r)},"v0.8"===process.version.substr(0,4)){var l=a(e);v=l.ReadStream,y=l.WriteStream}var u=e.ReadStream;u&&(v.prototype=Object.create(u.prototype),v.prototype.open=function(){var e=this;_(e.path,e.flags,e.mode,(function(t,n){t?(e.autoClose&&e.destroy(),e.emit("error",t)):(e.fd=n,e.emit("open",n),e.read())}))});var h=e.WriteStream;h&&(y.prototype=Object.create(h.prototype),y.prototype.open=function(){var e=this;_(e.path,e.flags,e.mode,(function(t,n){t?(e.destroy(),e.emit("error",t)):(e.fd=n,e.emit("open",n))}))}),Object.defineProperty(e,"ReadStream",{get:function(){return v},set:function(e){v=e},enumerable:!0,configurable:!0}),Object.defineProperty(e,"WriteStream",{get:function(){return y},set:function(e){y=e},enumerable:!0,configurable:!0});var p=v;Object.defineProperty(e,"FileReadStream",{get:function(){return p},set:function(e){p=e},enumerable:!0,configurable:!0});var g=y;function v(e,t){return this instanceof v?(u.apply(this,arguments),this):v.apply(Object.create(v.prototype),arguments)}function y(e,t){return this instanceof y?(h.apply(this,arguments),this):y.apply(Object.create(y.prototype),arguments)}Object.defineProperty(e,"FileWriteStream",{get:function(){return g},set:function(e){g=e},enumerable:!0,configurable:!0});var b=e.open;function _(e,t,n,r){return"function"==typeof n&&(r=n,n=null),function e(t,n,r,i){return b(t,n,r,(function(s,o){!s||"EMFILE"!==s.code&&"ENFILE"!==s.code?("function"==typeof i&&i.apply(this,arguments),m()):f([e,[t,n,r,i]])}))}(e,t,n,r)}return e.open=_,e}function f(e){h("ENQUEUE",e[0].name,e[1]),s[r].push(e)}function m(){var e=s[r].shift();e&&(h("RETRY",e[0].name,e[1]),e[0].apply(null,e[1]))}global[r]||u(global,s[r]),e.exports=d(c(s)),process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH&&!s.__patched&&(e.exports=d(s),s.__patched=!0)},4410:(e,t,n)=>{var r=n(2413).Stream;e.exports=function(e){return{ReadStream:function t(n,i){if(!(this instanceof t))return new t(n,i);r.call(this);var s=this;this.path=n,this.fd=null,this.readable=!0,this.paused=!1,this.flags="r",this.mode=438,this.bufferSize=65536,i=i||{};for(var o=Object.keys(i),a=0,c=o.length;athis.end)throw new Error("start must be <= end");this.pos=this.start}if(null!==this.fd)return void process.nextTick((function(){s._read()}));e.open(this.path,this.flags,this.mode,(function(e,t){if(e)return s.emit("error",e),void(s.readable=!1);s.fd=t,s.emit("open",t),s._read()}))},WriteStream:function t(n,i){if(!(this instanceof t))return new t(n,i);r.call(this),this.path=n,this.fd=null,this.writable=!0,this.flags="w",this.encoding="binary",this.mode=438,this.bytesWritten=0,i=i||{};for(var s=Object.keys(i),o=0,a=s.length;o= zero");this.pos=this.start}this.busy=!1,this._queue=[],null===this.fd&&(this._open=e.open,this._queue.push([this._open,this.path,this.flags,this.mode,void 0]),this.flush())}}}},1290:(e,t,n)=>{var r=n(7619),i=process.cwd,s=null,o=process.env.GRACEFUL_FS_PLATFORM||process.platform;process.cwd=function(){return s||(s=i.call(process)),s};try{process.cwd()}catch(e){}if("function"==typeof process.chdir){var a=process.chdir;process.chdir=function(e){s=null,a.call(process,e)},Object.setPrototypeOf&&Object.setPrototypeOf(process.chdir,a)}e.exports=function(e){r.hasOwnProperty("O_SYMLINK")&&process.version.match(/^v0\.6\.[0-2]|^v0\.5\./)&&function(e){e.lchmod=function(t,n,i){e.open(t,r.O_WRONLY|r.O_SYMLINK,n,(function(t,r){t?i&&i(t):e.fchmod(r,n,(function(t){e.close(r,(function(e){i&&i(t||e)}))}))}))},e.lchmodSync=function(t,n){var i,s=e.openSync(t,r.O_WRONLY|r.O_SYMLINK,n),o=!0;try{i=e.fchmodSync(s,n),o=!1}finally{if(o)try{e.closeSync(s)}catch(e){}else e.closeSync(s)}return i}}(e);e.lutimes||function(e){r.hasOwnProperty("O_SYMLINK")?(e.lutimes=function(t,n,i,s){e.open(t,r.O_SYMLINK,(function(t,r){t?s&&s(t):e.futimes(r,n,i,(function(t){e.close(r,(function(e){s&&s(t||e)}))}))}))},e.lutimesSync=function(t,n,i){var s,o=e.openSync(t,r.O_SYMLINK),a=!0;try{s=e.futimesSync(o,n,i),a=!1}finally{if(a)try{e.closeSync(o)}catch(e){}else e.closeSync(o)}return s}):(e.lutimes=function(e,t,n,r){r&&process.nextTick(r)},e.lutimesSync=function(){})}(e);e.chown=s(e.chown),e.fchown=s(e.fchown),e.lchown=s(e.lchown),e.chmod=n(e.chmod),e.fchmod=n(e.fchmod),e.lchmod=n(e.lchmod),e.chownSync=a(e.chownSync),e.fchownSync=a(e.fchownSync),e.lchownSync=a(e.lchownSync),e.chmodSync=i(e.chmodSync),e.fchmodSync=i(e.fchmodSync),e.lchmodSync=i(e.lchmodSync),e.stat=c(e.stat),e.fstat=c(e.fstat),e.lstat=c(e.lstat),e.statSync=l(e.statSync),e.fstatSync=l(e.fstatSync),e.lstatSync=l(e.lstatSync),e.lchmod||(e.lchmod=function(e,t,n){n&&process.nextTick(n)},e.lchmodSync=function(){});e.lchown||(e.lchown=function(e,t,n,r){r&&process.nextTick(r)},e.lchownSync=function(){});"win32"===o&&(e.rename=(t=e.rename,function(n,r,i){var s=Date.now(),o=0;t(n,r,(function a(c){if(c&&("EACCES"===c.code||"EPERM"===c.code)&&Date.now()-s<6e4)return setTimeout((function(){e.stat(r,(function(e,s){e&&"ENOENT"===e.code?t(n,r,a):i(c)}))}),o),void(o<100&&(o+=10));i&&i(c)}))}));var t;function n(t){return t?function(n,r,i){return t.call(e,n,r,(function(e){u(e)&&(e=null),i&&i.apply(this,arguments)}))}:t}function i(t){return t?function(n,r){try{return t.call(e,n,r)}catch(e){if(!u(e))throw e}}:t}function s(t){return t?function(n,r,i,s){return t.call(e,n,r,i,(function(e){u(e)&&(e=null),s&&s.apply(this,arguments)}))}:t}function a(t){return t?function(n,r,i){try{return t.call(e,n,r,i)}catch(e){if(!u(e))throw e}}:t}function c(t){return t?function(n,r,i){function s(e,t){t&&(t.uid<0&&(t.uid+=4294967296),t.gid<0&&(t.gid+=4294967296)),i&&i.apply(this,arguments)}return"function"==typeof r&&(i=r,r=null),r?t.call(e,n,r,s):t.call(e,n,s)}:t}function l(t){return t?function(n,r){var i=r?t.call(e,n,r):t.call(e,n);return i.uid<0&&(i.uid+=4294967296),i.gid<0&&(i.gid+=4294967296),i}:t}function u(e){return!e||("ENOSYS"===e.code||!(process.getuid&&0===process.getuid()||"EINVAL"!==e.code&&"EPERM"!==e.code))}e.read=function(t){function n(n,r,i,s,o,a){var c;if(a&&"function"==typeof a){var l=0;c=function(u,h,p){if(u&&"EAGAIN"===u.code&&l<10)return l++,t.call(e,n,r,i,s,o,c);a.apply(this,arguments)}}return t.call(e,n,r,i,s,o,c)}return Object.setPrototypeOf&&Object.setPrototypeOf(n,t),n}(e.read),e.readSync=(h=e.readSync,function(t,n,r,i,s){for(var o=0;;)try{return h.call(e,t,n,r,i,s)}catch(e){if("EAGAIN"===e.code&&o<10){o++;continue}throw e}});var h}},793:(e,t,n)=>{"use strict";var r=n(4517);e.exports=r.call(Function.call,Object.prototype.hasOwnProperty)},5417:e=>{e.exports=function(e,t){for(var n=-1,r=[];-1!==(n=e.indexOf(t,n+1));)r.push(n);return r}},863:(e,t,n)=>{"use strict";const r=n(5622),i=n(5670),s=new Set(i);e.exports=e=>s.has(r.extname(e).slice(1).toLowerCase())},8746:(e,t,n)=>{"use strict";var r=n(793);function i(e,t){for(var n=e.split("."),r=t.split(" "),i=r.length>1?r[0]:"=",s=(r.length>1?r[1]:r[0]).split("."),o=0;o<3;++o){var a=parseInt(n[o]||0,10),c=parseInt(s[o]||0,10);if(a!==c)return"<"===i?a="===i&&a>=c}return">="===i}function s(e,t){var n=t.split(/ ?&& ?/);if(0===n.length)return!1;for(var r=0;r{ + */const n=r(31669),i=r(1353),o=e=>null!==e&&"object"==typeof e&&!Array.isArray(e),s=e=>"number"==typeof e||"string"==typeof e&&""!==e,a=e=>Number.isInteger(+e),l=e=>{let t=""+e,r=-1;if("-"===t[0]&&(t=t.slice(1)),"0"===t)return!1;for(;"0"===t[++r];);return r>0},c=(e,t,r)=>{if(t>0){let r="-"===e[0]?"-":"";r&&(e=e.slice(1)),e=r+e.padStart(r?t-1:t,"0")}return!1===r?String(e):e},u=(e,t)=>{let r="-"===e[0]?"-":"";for(r&&(e=e.slice(1),t--);e.length{if(r)return i(e,t,{wrap:!1,...n});let o=String.fromCharCode(e);return e===t?o:`[${o}-${String.fromCharCode(t)}]`},h=(e,t,r)=>{if(Array.isArray(e)){let t=!0===r.wrap,n=r.capture?"":"?:";return t?`(${n}${e.join("|")})`:e.join("|")}return i(e,t,r)},d=(...e)=>new RangeError("Invalid range arguments: "+n.inspect(...e)),f=(e,t,r)=>{if(!0===r.strictRanges)throw d([e,t]);return[]},g=(e,t,r=1,n={})=>{let i=Number(e),o=Number(t);if(!Number.isInteger(i)||!Number.isInteger(o)){if(!0===n.strictRanges)throw d([e,t]);return[]}0===i&&(i=0),0===o&&(o=0);let s=i>o,a=String(e),f=String(t),g=String(r);r=Math.max(Math.abs(r),1);let m=l(a)||l(f)||l(g),v=m?Math.max(a.length,f.length,g.length):0,y=!1===m&&!1===((e,t,r)=>"string"==typeof e||"string"==typeof t||!0===r.stringify)(e,t,n),b=n.transform||(e=>t=>!0===e?Number(t):String(t))(y);if(n.toRegex&&1===r)return p(u(e,v),u(t,v),!0,n);let w={negatives:[],positives:[]},_=[],x=0;for(;s?i>=o:i<=o;)!0===n.toRegex&&r>1?w[(k=i)<0?"negatives":"positives"].push(Math.abs(k)):_.push(c(b(i,x),v,y)),i=s?i-r:i+r,x++;var k;return!0===n.toRegex?r>1?((e,t)=>{e.negatives.sort((e,t)=>et?1:0),e.positives.sort((e,t)=>et?1:0);let r,n=t.capture?"":"?:",i="",o="";return e.positives.length&&(i=e.positives.join("|")),e.negatives.length&&(o=`-(${n}${e.negatives.join("|")})`),r=i&&o?`${i}|${o}`:i||o,t.wrap?`(${n}${r})`:r})(w,n):h(_,null,{wrap:!1,...n}):_},m=(e,t,r,n={})=>{if(null==t&&s(e))return[e];if(!s(e)||!s(t))return f(e,t,n);if("function"==typeof r)return m(e,t,1,{transform:r});if(o(r))return m(e,t,0,r);let i={...n};return!0===i.capture&&(i.wrap=!0),r=r||i.step||1,a(r)?a(e)&&a(t)?g(e,t,r,i):((e,t,r=1,n={})=>{if(!a(e)&&e.length>1||!a(t)&&t.length>1)return f(e,t,n);let i=n.transform||(e=>String.fromCharCode(e)),o=(""+e).charCodeAt(0),s=(""+t).charCodeAt(0),l=o>s,c=Math.min(o,s),u=Math.max(o,s);if(n.toRegex&&1===r)return p(c,u,!1,n);let d=[],g=0;for(;l?o>=s:o<=s;)d.push(i(o,g)),o=l?o-r:o+r,g++;return!0===n.toRegex?h(d,null,{wrap:!1,options:n}):d})(e,t,Math.max(Math.abs(r),1),i):null==r||o(r)?m(e,t,1,r):((e,t)=>{if(!0===t.strictRanges)throw new TypeError(`Expected step "${e}" to be a number`);return[]})(r,i)};e.exports=m},2885:(e,t,r)=>{"use strict";const n=r(85622),i=r(30815),o=r(61426),s=Symbol("findUp.stop");e.exports=async(e,t={})=>{let r=n.resolve(t.cwd||"");const{root:o}=n.parse(r),a=[].concat(e),l=async t=>{if("function"!=typeof e)return i(a,t);const r=await e(t.cwd);return"string"==typeof r?i([r],t):r};for(;;){const e=await l({...t,cwd:r});if(e===s)return;if(e)return n.resolve(r,e);if(r===o)return;r=n.dirname(r)}},e.exports.sync=(e,t={})=>{let r=n.resolve(t.cwd||"");const{root:o}=n.parse(r),a=[].concat(e),l=t=>{if("function"!=typeof e)return i.sync(a,t);const r=e(t.cwd);return"string"==typeof r?i.sync([r],t):r};for(;;){const e=l({...t,cwd:r});if(e===s)return;if(e)return n.resolve(r,e);if(r===o)return;r=n.dirname(r)}},e.exports.exists=o,e.exports.sync.exists=o.sync,e.exports.stop=s},91358:(e,t,r)=>{"use strict";if("darwin"!==process.platform)throw new Error(`Module 'fsevents' is not compatible with platform '${process.platform}'`);const n=r(16069),i=n.constants;function o(e){return i.ItemIsFile&e?"file":i.ItemIsDir&e?"directory":i.ItemIsSymlink&e?"symlink":void 0}function s(e){return i.ItemRemoved&e?"deleted":i.ItemRenamed&e?"moved":i.ItemCreated&e?"created":i.ItemModified&e?"modified":i.RootChanged&e?"root-changed":i.ItemCloned&e?"cloned":function(e){for(let t in e)if(e[t])return!0;return!1}(e)?"modified":"unknown"}function a(e){return{inode:!!(i.ItemInodeMetaMod&e),finder:!!(i.ItemFinderInfoMod&e),access:!!(i.ItemChangeOwner&e),xattrs:!!(i.ItemXattrMod&e)}}t.watch=function(e,t,r){if("string"!=typeof e)throw new TypeError("fsevents argument 1 must be a string and not a "+typeof e);if("function"==typeof t&&void 0===r&&(r=t,t=n.flags.SinceNow),"number"!=typeof t)throw new TypeError("fsevents argument 2 must be a number and not a "+typeof t);if("function"!=typeof r)throw new TypeError("fsevents argument 3 must be a function and not a "+typeof r);let i=n.start(n.global,e,t,r);if(!i)throw new Error("could not watch: "+e);return()=>{const e=i?Promise.resolve(i).then(n.stop):Promise.resolve(void 0);return i=void 0,e}},t.getInfo=function(e,t){return{path:e,flags:t,event:s(t),type:o(t),changes:a(t)}},t.constants=i},16252:e=>{"use strict";var t="Function.prototype.bind called on incompatible ",r=Array.prototype.slice,n=Object.prototype.toString;e.exports=function(e){var i=this;if("function"!=typeof i||"[object Function]"!==n.call(i))throw new TypeError(t+i);for(var o,s=r.call(arguments,1),a=function(){if(this instanceof o){var t=i.apply(this,s.concat(r.call(arguments)));return Object(t)===t?t:this}return i.apply(e,s.concat(r.call(arguments)))},l=Math.max(0,i.length-s.length),c=[],u=0;u{"use strict";var n=r(16252);e.exports=Function.prototype.bind||n},90299:(e,t)=>{"use strict";t.Z=e=>Object.getOwnPropertySymbols(e).filter(t=>Object.prototype.propertyIsEnumerable.call(e,t))},65292:(e,t,r)=>{"use strict";var n=r(2182),i=r(85622).posix.dirname,o="win32"===r(12087).platform(),s=/\\/g,a=/[\{\[].*[\}\]]$/,l=/(^|[^\\])([\{\[]|\([^\)]+$)/,c=/\\([\!\*\?\|\[\]\(\)\{\}])/g;e.exports=function(e,t){Object.assign({flipBackslashes:!0},t).flipBackslashes&&o&&e.indexOf("/")<0&&(e=e.replace(s,"/")),a.test(e)&&(e+="/"),e+="a";do{e=i(e)}while(n(e)||l.test(e));return e.replace(c,"$1")}},95581:e=>{"use strict";e.exports=function(e){if(null===e||"object"!=typeof e)return e;if(e instanceof Object)var r={__proto__:t(e)};else r=Object.create(null);return Object.getOwnPropertyNames(e).forEach((function(t){Object.defineProperty(r,t,Object.getOwnPropertyDescriptor(e,t))})),r};var t=Object.getPrototypeOf||function(e){return e.__proto__}},82161:(e,t,r)=>{var n,i,o=r(35747),s=r(60034),a=r(7077),l=r(95581),c=r(31669);function u(e,t){Object.defineProperty(e,n,{get:function(){return t}})}"function"==typeof Symbol&&"function"==typeof Symbol.for?(n=Symbol.for("graceful-fs.queue"),i=Symbol.for("graceful-fs.previous")):(n="___graceful-fs.queue",i="___graceful-fs.previous");var p=function(){};if(c.debuglog?p=c.debuglog("gfs4"):/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")&&(p=function(){var e=c.format.apply(c,arguments);e="GFS4: "+e.split(/\n/).join("\nGFS4: "),console.error(e)}),!o[n]){var h=global[n]||[];u(o,h),o.close=function(e){function t(t,r){return e.call(o,t,(function(e){e||g(),"function"==typeof r&&r.apply(this,arguments)}))}return Object.defineProperty(t,i,{value:e}),t}(o.close),o.closeSync=function(e){function t(t){e.apply(o,arguments),g()}return Object.defineProperty(t,i,{value:e}),t}(o.closeSync),/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")&&process.on("exit",(function(){p(o[n]),r(42357).equal(o[n].length,0)}))}function d(e){s(e),e.gracefulify=d,e.createReadStream=function(t,r){return new e.ReadStream(t,r)},e.createWriteStream=function(t,r){return new e.WriteStream(t,r)};var t=e.readFile;e.readFile=function(e,r,n){"function"==typeof r&&(n=r,r=null);return function e(r,n,i){return t(r,n,(function(t){!t||"EMFILE"!==t.code&&"ENFILE"!==t.code?("function"==typeof i&&i.apply(this,arguments),g()):f([e,[r,n,i]])}))}(e,r,n)};var r=e.writeFile;e.writeFile=function(e,t,n,i){"function"==typeof n&&(i=n,n=null);return function e(t,n,i,o){return r(t,n,i,(function(r){!r||"EMFILE"!==r.code&&"ENFILE"!==r.code?("function"==typeof o&&o.apply(this,arguments),g()):f([e,[t,n,i,o]])}))}(e,t,n,i)};var n=e.appendFile;n&&(e.appendFile=function(e,t,r,i){"function"==typeof r&&(i=r,r=null);return function e(t,r,i,o){return n(t,r,i,(function(n){!n||"EMFILE"!==n.code&&"ENFILE"!==n.code?("function"==typeof o&&o.apply(this,arguments),g()):f([e,[t,r,i,o]])}))}(e,t,r,i)});var i=e.copyFile;i&&(e.copyFile=function(e,t,r,n){"function"==typeof r&&(n=r,r=0);return i(e,t,r,(function(o){!o||"EMFILE"!==o.code&&"ENFILE"!==o.code?("function"==typeof n&&n.apply(this,arguments),g()):f([i,[e,t,r,n]])}))});var o=e.readdir;function l(t){return o.apply(e,t)}if(e.readdir=function(e,t,r){var n=[e];"function"!=typeof t?n.push(t):r=t;return n.push((function(e,t){t&&t.sort&&t.sort();!e||"EMFILE"!==e.code&&"ENFILE"!==e.code?("function"==typeof r&&r.apply(this,arguments),g()):f([l,[n]])})),l(n)},"v0.8"===process.version.substr(0,4)){var c=a(e);v=c.ReadStream,y=c.WriteStream}var u=e.ReadStream;u&&(v.prototype=Object.create(u.prototype),v.prototype.open=function(){var e=this;w(e.path,e.flags,e.mode,(function(t,r){t?(e.autoClose&&e.destroy(),e.emit("error",t)):(e.fd=r,e.emit("open",r),e.read())}))});var p=e.WriteStream;p&&(y.prototype=Object.create(p.prototype),y.prototype.open=function(){var e=this;w(e.path,e.flags,e.mode,(function(t,r){t?(e.destroy(),e.emit("error",t)):(e.fd=r,e.emit("open",r))}))}),Object.defineProperty(e,"ReadStream",{get:function(){return v},set:function(e){v=e},enumerable:!0,configurable:!0}),Object.defineProperty(e,"WriteStream",{get:function(){return y},set:function(e){y=e},enumerable:!0,configurable:!0});var h=v;Object.defineProperty(e,"FileReadStream",{get:function(){return h},set:function(e){h=e},enumerable:!0,configurable:!0});var m=y;function v(e,t){return this instanceof v?(u.apply(this,arguments),this):v.apply(Object.create(v.prototype),arguments)}function y(e,t){return this instanceof y?(p.apply(this,arguments),this):y.apply(Object.create(y.prototype),arguments)}Object.defineProperty(e,"FileWriteStream",{get:function(){return m},set:function(e){m=e},enumerable:!0,configurable:!0});var b=e.open;function w(e,t,r,n){return"function"==typeof r&&(n=r,r=null),function e(t,r,n,i){return b(t,r,n,(function(o,s){!o||"EMFILE"!==o.code&&"ENFILE"!==o.code?("function"==typeof i&&i.apply(this,arguments),g()):f([e,[t,r,n,i]])}))}(e,t,r,n)}return e.open=w,e}function f(e){p("ENQUEUE",e[0].name,e[1]),o[n].push(e)}function g(){var e=o[n].shift();e&&(p("RETRY",e[0].name,e[1]),e[0].apply(null,e[1]))}global[n]||u(global,o[n]),e.exports=d(l(o)),process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH&&!o.__patched&&(e.exports=d(o),o.__patched=!0)},7077:(e,t,r)=>{var n=r(92413).Stream;e.exports=function(e){return{ReadStream:function t(r,i){if(!(this instanceof t))return new t(r,i);n.call(this);var o=this;this.path=r,this.fd=null,this.readable=!0,this.paused=!1,this.flags="r",this.mode=438,this.bufferSize=65536,i=i||{};for(var s=Object.keys(i),a=0,l=s.length;athis.end)throw new Error("start must be <= end");this.pos=this.start}if(null!==this.fd)return void process.nextTick((function(){o._read()}));e.open(this.path,this.flags,this.mode,(function(e,t){if(e)return o.emit("error",e),void(o.readable=!1);o.fd=t,o.emit("open",t),o._read()}))},WriteStream:function t(r,i){if(!(this instanceof t))return new t(r,i);n.call(this),this.path=r,this.fd=null,this.writable=!0,this.flags="w",this.encoding="binary",this.mode=438,this.bytesWritten=0,i=i||{};for(var o=Object.keys(i),s=0,a=o.length;s= zero");this.pos=this.start}this.busy=!1,this._queue=[],null===this.fd&&(this._open=e.open,this._queue.push([this._open,this.path,this.flags,this.mode,void 0]),this.flush())}}}},60034:(e,t,r)=>{var n=r(27619),i=process.cwd,o=null,s=process.env.GRACEFUL_FS_PLATFORM||process.platform;process.cwd=function(){return o||(o=i.call(process)),o};try{process.cwd()}catch(e){}if("function"==typeof process.chdir){var a=process.chdir;process.chdir=function(e){o=null,a.call(process,e)},Object.setPrototypeOf&&Object.setPrototypeOf(process.chdir,a)}e.exports=function(e){n.hasOwnProperty("O_SYMLINK")&&process.version.match(/^v0\.6\.[0-2]|^v0\.5\./)&&function(e){e.lchmod=function(t,r,i){e.open(t,n.O_WRONLY|n.O_SYMLINK,r,(function(t,n){t?i&&i(t):e.fchmod(n,r,(function(t){e.close(n,(function(e){i&&i(t||e)}))}))}))},e.lchmodSync=function(t,r){var i,o=e.openSync(t,n.O_WRONLY|n.O_SYMLINK,r),s=!0;try{i=e.fchmodSync(o,r),s=!1}finally{if(s)try{e.closeSync(o)}catch(e){}else e.closeSync(o)}return i}}(e);e.lutimes||function(e){n.hasOwnProperty("O_SYMLINK")?(e.lutimes=function(t,r,i,o){e.open(t,n.O_SYMLINK,(function(t,n){t?o&&o(t):e.futimes(n,r,i,(function(t){e.close(n,(function(e){o&&o(t||e)}))}))}))},e.lutimesSync=function(t,r,i){var o,s=e.openSync(t,n.O_SYMLINK),a=!0;try{o=e.futimesSync(s,r,i),a=!1}finally{if(a)try{e.closeSync(s)}catch(e){}else e.closeSync(s)}return o}):(e.lutimes=function(e,t,r,n){n&&process.nextTick(n)},e.lutimesSync=function(){})}(e);e.chown=o(e.chown),e.fchown=o(e.fchown),e.lchown=o(e.lchown),e.chmod=r(e.chmod),e.fchmod=r(e.fchmod),e.lchmod=r(e.lchmod),e.chownSync=a(e.chownSync),e.fchownSync=a(e.fchownSync),e.lchownSync=a(e.lchownSync),e.chmodSync=i(e.chmodSync),e.fchmodSync=i(e.fchmodSync),e.lchmodSync=i(e.lchmodSync),e.stat=l(e.stat),e.fstat=l(e.fstat),e.lstat=l(e.lstat),e.statSync=c(e.statSync),e.fstatSync=c(e.fstatSync),e.lstatSync=c(e.lstatSync),e.lchmod||(e.lchmod=function(e,t,r){r&&process.nextTick(r)},e.lchmodSync=function(){});e.lchown||(e.lchown=function(e,t,r,n){n&&process.nextTick(n)},e.lchownSync=function(){});"win32"===s&&(e.rename=(t=e.rename,function(r,n,i){var o=Date.now(),s=0;t(r,n,(function a(l){if(l&&("EACCES"===l.code||"EPERM"===l.code)&&Date.now()-o<6e4)return setTimeout((function(){e.stat(n,(function(e,o){e&&"ENOENT"===e.code?t(r,n,a):i(l)}))}),s),void(s<100&&(s+=10));i&&i(l)}))}));var t;function r(t){return t?function(r,n,i){return t.call(e,r,n,(function(e){u(e)&&(e=null),i&&i.apply(this,arguments)}))}:t}function i(t){return t?function(r,n){try{return t.call(e,r,n)}catch(e){if(!u(e))throw e}}:t}function o(t){return t?function(r,n,i,o){return t.call(e,r,n,i,(function(e){u(e)&&(e=null),o&&o.apply(this,arguments)}))}:t}function a(t){return t?function(r,n,i){try{return t.call(e,r,n,i)}catch(e){if(!u(e))throw e}}:t}function l(t){return t?function(r,n,i){function o(e,t){t&&(t.uid<0&&(t.uid+=4294967296),t.gid<0&&(t.gid+=4294967296)),i&&i.apply(this,arguments)}return"function"==typeof n&&(i=n,n=null),n?t.call(e,r,n,o):t.call(e,r,o)}:t}function c(t){return t?function(r,n){var i=n?t.call(e,r,n):t.call(e,r);return i.uid<0&&(i.uid+=4294967296),i.gid<0&&(i.gid+=4294967296),i}:t}function u(e){return!e||("ENOSYS"===e.code||!(process.getuid&&0===process.getuid()||"EINVAL"!==e.code&&"EPERM"!==e.code))}e.read=function(t){function r(r,n,i,o,s,a){var l;if(a&&"function"==typeof a){var c=0;l=function(u,p,h){if(u&&"EAGAIN"===u.code&&c<10)return c++,t.call(e,r,n,i,o,s,l);a.apply(this,arguments)}}return t.call(e,r,n,i,o,s,l)}return Object.setPrototypeOf&&Object.setPrototypeOf(r,t),r}(e.read),e.readSync=(p=e.readSync,function(t,r,n,i,o){for(var s=0;;)try{return p.call(e,t,r,n,i,o)}catch(e){if("EAGAIN"===e.code&&s<10){s++;continue}throw e}});var p}},58379:e=>{"use strict";e.exports=(e,t=process.argv)=>{const r=e.startsWith("-")?"":1===e.length?"-":"--",n=t.indexOf(r+e),i=t.indexOf("--");return-1!==n&&(-1===i||n{"use strict";var n=r(45489);e.exports=n.call(Function.call,Object.prototype.hasOwnProperty)},34751:e=>{e.exports=function(e,t){for(var r=-1,n=[];-1!==(r=e.indexOf(t,r+1));)n.push(r);return n}},90408:(e,t,r)=>{"use strict";const n=r(85622),i=r(54294),o=new Set(i);e.exports=e=>o.has(n.extname(e).slice(1).toLowerCase())},21176:(e,t,r)=>{"use strict";var n=r(97841);function i(e,t){for(var r=e.split("."),n=t.split(" "),i=n.length>1?n[0]:"=",o=(n.length>1?n[1]:n[0]).split("."),s=0;s<3;++s){var a=parseInt(r[s]||0,10),l=parseInt(o[s]||0,10);if(a!==l)return"<"===i?a="===i&&a>=l}return">="===i}function o(e,t){var r=t.split(/ ?&& ?/);if(0===r.length)return!1;for(var n=0;n{ /*! * is-extglob * * Copyright (c) 2014-2016, Jon Schlinkert. * Licensed under the MIT License. */ -e.exports=function(e){if("string"!=typeof e||""===e)return!1;for(var t;t=/(\\).|([@?!+*]\(.*\))/g.exec(e);){if(t[2])return!0;e=e.slice(t.index+t[0].length)}return!1}},4042:(e,t,n)=>{ +e.exports=function(e){if("string"!=typeof e||""===e)return!1;for(var t;t=/(\\).|([@?!+*]\(.*\))/g.exec(e);){if(t[2])return!0;e=e.slice(t.index+t[0].length)}return!1}},2182:(e,t,r)=>{ /*! * is-glob * * Copyright (c) 2014-2017, Jon Schlinkert. * Released under the MIT License. */ -var r=n(6546),i={"{":"}","(":")","[":"]"},s=function(e){if("!"===e[0])return!0;for(var t=0,n=-2,r=-2,s=-2,o=-2,a=-2;tt)){if(-1===a||a>r)return!0;if(-1===(a=e.indexOf("\\",t))||a>r)return!0}if(-1!==s&&"{"===e[t]&&"}"!==e[t+1]&&(s=e.indexOf("}",t))>t&&(-1===(a=e.indexOf("\\",t))||a>s))return!0;if(-1!==o&&"("===e[t]&&"?"===e[t+1]&&/[:!=]/.test(e[t+2])&&")"!==e[t+3]&&(o=e.indexOf(")",t))>t&&(-1===(a=e.indexOf("\\",t))||a>o))return!0;if(-1!==n&&"("===e[t]&&"|"!==e[t+1]&&(nn&&(-1===(a=e.indexOf("\\",n))||a>o)))return!0;if("\\"===e[t]){var c=e[t+1];t+=2;var l=i[c];if(l){var u=e.indexOf(l,t);-1!==u&&(t=u+1)}if("!"===e[t])return!0}else t++}return!1},o=function(e){if("!"===e[0])return!0;for(var t=0;t{"use strict"; +var n=r(53966),i={"{":"}","(":")","[":"]"},o=function(e){if("!"===e[0])return!0;for(var t=0,r=-2,n=-2,o=-2,s=-2,a=-2;tt)){if(-1===a||a>n)return!0;if(-1===(a=e.indexOf("\\",t))||a>n)return!0}if(-1!==o&&"{"===e[t]&&"}"!==e[t+1]&&(o=e.indexOf("}",t))>t&&(-1===(a=e.indexOf("\\",t))||a>o))return!0;if(-1!==s&&"("===e[t]&&"?"===e[t+1]&&/[:!=]/.test(e[t+2])&&")"!==e[t+3]&&(s=e.indexOf(")",t))>t&&(-1===(a=e.indexOf("\\",t))||a>s))return!0;if(-1!==r&&"("===e[t]&&"|"!==e[t+1]&&(rr&&(-1===(a=e.indexOf("\\",r))||a>s)))return!0;if("\\"===e[t]){var l=e[t+1];t+=2;var c=i[l];if(c){var u=e.indexOf(c,t);-1!==u&&(t=u+1)}if("!"===e[t])return!0}else t++}return!1},s=function(e){if("!"===e[0])return!0;for(var t=0;t{"use strict"; /*! * is-number * * Copyright (c) 2014-present, Jon Schlinkert. * Released under the MIT License. - */e.exports=function(e){return"number"==typeof e?e-e==0:"string"==typeof e&&""!==e.trim()&&(Number.isFinite?Number.isFinite(+e):isFinite(+e))}},3487:e=>{"use strict";e.exports=function(e){var t=typeof e;return null!==e&&("object"===t||"function"===t)}},3634:e=>{"use strict";e.exports=function(e){return"[object RegExp]"===Object.prototype.toString.call(e)}},9842:e=>{var t={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==t.call(e)}},7328:(e,t,n)=>{"use strict"; + */e.exports=function(e){return"number"==typeof e?e-e==0:"string"==typeof e&&""!==e.trim()&&(Number.isFinite?Number.isFinite(+e):isFinite(+e))}},14938:e=>{"use strict";e.exports=function(e){var t=typeof e;return null!==e&&("object"===t||"function"===t)}},88764:e=>{"use strict";e.exports=function(e){return"[object RegExp]"===Object.prototype.toString.call(e)}},21352:e=>{var t={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==t.call(e)}},96667:(e,t,r)=>{"use strict"; /*! * isobject * * Copyright (c) 2014-2015, Jon Schlinkert. * Licensed under the MIT License. - */var r=n(9842);e.exports=function(e){return null!=e&&"object"==typeof e&&!1===r(e)}},674:(e,t,n)=>{"use strict"; + */var n=r(21352);e.exports=function(e){return null!=e&&"object"==typeof e&&!1===n(e)}},59897:(e,t,r)=>{"use strict"; /** * line-column - Convert efficiently index to/from line-column in a string * @module lineColumn * @license MIT - */var r=n(9842),i=n(7328);Array.prototype.slice;function s(e,t){if(!(this instanceof s))return"number"==typeof t?new s(e).fromIndex(t):new s(e,t);this.str=e||"",this.lineToIndex=function(e){for(var t=e.split("\n"),n=new Array(t.length),r=0,i=0,s=t.length;i=this.str.length||isNaN(e))return null;var t=function(e,t){if(e>=t[t.length-1])return t.length-1;var n,r=0,i=t.length-2;for(;r>1)])i=n-1;else{if(!(e>=t[n+1])){r=n;break}r=n+1}return r}(e,this.lineToIndex);return{line:t+this.origin,col:e-this.lineToIndex[t]+this.origin}},s.prototype.toIndex=function(e,t){if(void 0===t)return r(e)&&e.length>=2?this.toIndex(e[0],e[1]):i(e)&&"line"in e&&("col"in e||"column"in e)?this.toIndex(e.line,"col"in e?e.col:e.column):-1;if(isNaN(e)||isNaN(t))return-1;if(e-=this.origin,t-=this.origin,e>=0&&t>=0&&e{"use strict";const r=n(5622),i=n(5747),{promisify:s}=n(1669),o=n(5338),a=s(i.stat),c=s(i.lstat),l={directory:"isDirectory",file:"isFile"};function u({type:e}){if(!(e in l))throw new Error("Invalid type specified: "+e)}const h=(e,t)=>void 0===e||t[l[e]]();e.exports=async(e,t)=>{u(t={cwd:process.cwd(),type:"file",allowSymlinks:!0,...t});const n=t.allowSymlinks?a:c;return o(e,async e=>{try{const i=await n(r.resolve(t.cwd,e));return h(t.type,i)}catch{return!1}},t)},e.exports.sync=(e,t)=>{u(t={cwd:process.cwd(),allowSymlinks:!0,type:"file",...t});const n=t.allowSymlinks?i.statSync:i.lstatSync;for(const i of e)try{const e=n(r.resolve(t.cwd,i));if(h(t.type,e))return i}catch{}}},2375:(e,t,n)=>{"use strict";const r=n(2413).PassThrough,i=Array.prototype.slice;function s(e,t){if(Array.isArray(e))for(let n=0,r=e.length;n0||(n=!1,h())}function s(e){function t(){e.removeListener("merge2UnpipeEnd",t),e.removeListener("end",t),c&&e.removeListener("error",n),i()}function n(e){l.emit("error",e)}if(e._readableState.endEmitted)return i();e.on("merge2UnpipeEnd",t),e.on("end",t),c&&e.on("error",n),e.pipe(l,{end:!1}),e.resume()}for(let e=0;e{"use strict";const r=n(1669),i=n(538),s=n(9138),o=n(2924),a=e=>""===e||"./"===e,c=(e,t,n)=>{t=[].concat(t),e=[].concat(e);let r=new Set,i=new Set,o=new Set,a=0,c=e=>{o.add(e.output),n&&n.onResult&&n.onResult(e)};for(let o=0;o!r.has(e));if(n&&0===l.length){if(!0===n.failglob)throw new Error(`No matches found for "${t.join(", ")}"`);if(!0===n.nonull||!0===n.nullglob)return n.unescape?t.map(e=>e.replace(/\\/g,"")):t}return l};c.match=c,c.matcher=(e,t)=>s(e,t),c.any=c.isMatch=(e,t,n)=>s(t,n)(e),c.not=(e,t,n={})=>{t=[].concat(t).map(String);let r=new Set,i=[],s=c(e,t,{...n,onResult:e=>{n.onResult&&n.onResult(e),i.push(e.output)}});for(let e of i)s.includes(e)||r.add(e);return[...r]},c.contains=(e,t,n)=>{if("string"!=typeof e)throw new TypeError(`Expected a string: "${r.inspect(e)}"`);if(Array.isArray(t))return t.some(t=>c.contains(e,t,n));if("string"==typeof t){if(a(e)||a(t))return!1;if(e.includes(t)||e.startsWith("./")&&e.slice(2).includes(t))return!0}return c.isMatch(e,t,{...n,contains:!0})},c.matchKeys=(e,t,n)=>{if(!o.isObject(e))throw new TypeError("Expected the first argument to be an object");let r=c(Object.keys(e),t,n),i={};for(let t of r)i[t]=e[t];return i},c.some=(e,t,n)=>{let r=[].concat(e);for(let e of[].concat(t)){let t=s(String(e),n);if(r.some(e=>t(e)))return!0}return!1},c.every=(e,t,n)=>{let r=[].concat(e);for(let e of[].concat(t)){let t=s(String(e),n);if(!r.every(e=>t(e)))return!1}return!0},c.all=(e,t,n)=>{if("string"!=typeof e)throw new TypeError(`Expected a string: "${r.inspect(e)}"`);return[].concat(t).every(t=>s(t,n)(e))},c.capture=(e,t,n)=>{let r=o.isWindows(n),i=s.makeRe(String(e),{...n,capture:!0}).exec(r?o.toPosixSlashes(t):t);if(i)return i.slice(1).map(e=>void 0===e?"":e)},c.makeRe=(...e)=>s.makeRe(...e),c.scan=(...e)=>s.scan(...e),c.parse=(e,t)=>{let n=[];for(let r of[].concat(e||[]))for(let e of i(String(r),t))n.push(s.parse(e,t));return n},c.braces=(e,t)=>{if("string"!=typeof e)throw new TypeError("Expected a string");return t&&!0===t.nobrace||!/\{.*\}/.test(e)?[e]:i(e,t)},c.braceExpand=(e,t)=>{if("string"!=typeof e)throw new TypeError("Expected a string");return c.braces(e,{...t,expand:!0})},e.exports=c},9566:(e,t,n)=>{e.exports=u,u.Minimatch=h;var r={sep:"/"};try{r=n(5622)}catch(e){}var i=u.GLOBSTAR=h.GLOBSTAR={},s=n(3197),o={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},a="().*{}+?[]^$\\!".split("").reduce((function(e,t){return e[t]=!0,e}),{});var c=/\/+/;function l(e,t){e=e||{},t=t||{};var n={};return Object.keys(t).forEach((function(e){n[e]=t[e]})),Object.keys(e).forEach((function(t){n[t]=e[t]})),n}function u(e,t,n){if("string"!=typeof t)throw new TypeError("glob pattern string required");return n||(n={}),!(!n.nocomment&&"#"===t.charAt(0))&&(""===t.trim()?""===e:new h(t,n).match(e))}function h(e,t){if(!(this instanceof h))return new h(e,t);if("string"!=typeof e)throw new TypeError("glob pattern string required");t||(t={}),e=e.trim(),"/"!==r.sep&&(e=e.split(r.sep).join("/")),this.options=t,this.set=[],this.pattern=e,this.regexp=null,this.negate=!1,this.comment=!1,this.empty=!1,this.make()}function p(e,t){if(t||(t=this instanceof h?this.options:{}),void 0===(e=void 0===e?this.pattern:e))throw new TypeError("undefined pattern");return t.nobrace||!e.match(/\{.*\}/)?[e]:s(e)}u.filter=function(e,t){return t=t||{},function(n,r,i){return u(n,e,t)}},u.defaults=function(e){if(!e||!Object.keys(e).length)return u;var t=u,n=function(n,r,i){return t.minimatch(n,r,l(e,i))};return n.Minimatch=function(n,r){return new t.Minimatch(n,l(e,r))},n},h.defaults=function(e){return e&&Object.keys(e).length?u.defaults(e).Minimatch:h},h.prototype.debug=function(){},h.prototype.make=function(){if(this._made)return;var e=this.pattern,t=this.options;if(!t.nocomment&&"#"===e.charAt(0))return void(this.comment=!0);if(!e)return void(this.empty=!0);this.parseNegate();var n=this.globSet=this.braceExpand();t.debug&&(this.debug=console.error);this.debug(this.pattern,n),n=this.globParts=n.map((function(e){return e.split(c)})),this.debug(this.pattern,n),n=n.map((function(e,t,n){return e.map(this.parse,this)}),this),this.debug(this.pattern,n),n=n.filter((function(e){return-1===e.indexOf(!1)})),this.debug(this.pattern,n),this.set=n},h.prototype.parseNegate=function(){var e=this.pattern,t=!1,n=this.options,r=0;if(n.nonegate)return;for(var i=0,s=e.length;i65536)throw new TypeError("pattern is too long");var n=this.options;if(!n.noglobstar&&"**"===e)return i;if(""===e)return"";var r,s="",c=!!n.nocase,l=!1,u=[],h=[],p=!1,f=-1,m=-1,g="."===e.charAt(0)?"":n.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",v=this;function y(){if(r){switch(r){case"*":s+="[^/]*?",c=!0;break;case"?":s+="[^/]",c=!0;break;default:s+="\\"+r}v.debug("clearStateChar %j %j",r,s),r=!1}}for(var b,_=0,w=e.length;_-1;T--){var A=h[T],P=s.slice(0,A.reStart),O=s.slice(A.reStart,A.reEnd-8),I=s.slice(A.reEnd-8,A.reEnd),N=s.slice(A.reEnd);I+=N;var D=P.split("(").length-1,M=N;for(_=0;_=0&&!(i=e[s]);s--);for(s=0;s>> no match, partial?",e,p,t,d),p!==a))}if("string"==typeof u?(l=r.nocase?h.toLowerCase()===u.toLowerCase():h===u,this.debug("string match",u,h,l)):(l=h.match(u),this.debug("pattern match",u,h,l)),!l)return!1}if(s===a&&o===c)return!0;if(s===a)return n;if(o===c)return s===a-1&&""===e[s];throw new Error("wtf?")}},6441:function(e){var t,n;t=this,n=function(){"use strict";var e=Object.prototype.hasOwnProperty,t=Object.prototype.toString,n="boolean"==typeof(new RegExp).sticky;function r(e){return e&&"[object RegExp]"===t.call(e)}function i(e){return e&&"object"==typeof e&&!r(e)&&!Array.isArray(e)}function s(e){return"("+e+")"}function o(e){return e.length?"(?:"+e.map((function(e){return"(?:"+e+")"})).join("|")+")":"(?!)"}function a(e){if("string"==typeof e)return"(?:"+e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")+")";if(r(e)){if(e.ignoreCase)throw new Error("RegExp /i flag not allowed");if(e.global)throw new Error("RegExp /g flag is implied");if(e.sticky)throw new Error("RegExp /y flag is implied");if(e.multiline)throw new Error("RegExp /m flag is implied");return e.source}throw new Error("Not a pattern: "+e)}function c(t,n){if(i(n)||(n={match:n}),n.include)throw new Error("Matching rules cannot also include states");var s={defaultType:t,lineBreaks:!!n.error||!!n.fallback,pop:!1,next:null,push:null,error:!1,fallback:!1,value:null,type:null,shouldThrow:!1};for(var o in n)e.call(n,o)&&(s[o]=n[o]);if("string"==typeof s.type&&t!==s.type)throw new Error("Type transform cannot be a string (type '"+s.type+"' for token '"+t+"')");var a=s.match;return s.match=Array.isArray(a)?a:a?[a]:[],s.match.sort((function(e,t){return r(e)&&r(t)?0:r(t)?-1:r(e)?1:t.length-e.length})),s}function l(e){return Array.isArray(e)?function(e){for(var t=[],n=0;n0)throw new Error("RegExp has capture groups: "+_+"\nUse (?: … ) instead");if(!m.lineBreaks&&_.test("\n"))throw new Error("Rule should declare lineBreaks: "+_);d.push(s(b))}}var w=i&&i.fallback,x=n&&!w?"ym":"gm",k=n||w?"":"|";return!0===h&&(x+="u"),{regexp:new RegExp(o(d)+k,x),groups:p,fast:c,error:i||u}}function p(e,t,n){var r=e&&(e.push||e.next);if(r&&!n[r])throw new Error("Missing state '"+r+"' (in token '"+e.defaultType+"' of state '"+t+"')");if(e&&e.pop&&1!=+e.pop)throw new Error("pop must be 1 (in token '"+e.defaultType+"' of state '"+t+"')")}var d=function(e,t){this.startState=t,this.states=e,this.buffer="",this.stack=[],this.reset()};d.prototype.reset=function(e,t){return this.buffer=e||"",this.index=0,this.line=t?t.line:1,this.col=t?t.col:1,this.queuedToken=t?t.queuedToken:null,this.queuedThrow=t?t.queuedThrow:null,this.setState(t?t.state:this.startState),this.stack=t&&t.stack?t.stack.slice():[],this},d.prototype.save=function(){return{line:this.line,col:this.col,state:this.state,stack:this.stack.slice(),queuedToken:this.queuedToken,queuedThrow:this.queuedThrow}},d.prototype.setState=function(e){if(e&&this.state!==e){this.state=e;var t=this.states[e];this.groups=t.groups,this.error=t.error,this.re=t.regexp,this.fast=t.fast}},d.prototype.popState=function(){this.setState(this.stack.pop())},d.prototype.pushState=function(e){this.stack.push(this.state),this.setState(e)};var f=n?function(e,t){return e.exec(t)}:function(e,t){var n=e.exec(t);return 0===n[0].length?null:n};function m(){return this.value}if(d.prototype._getGroup=function(e){for(var t=this.groups.length,n=0;n{"use strict";var n=function(){function e(e,t){for(var n=0;nw?(w0&&(s=r(s,w+1,l-1,u),u++,a=l-1,g.push(h+u)),c-1-(l+1)>0&&(s=r(s,l+1,c-2,u),u++,a=c-1,g.push(h+u))):(s=r(s,w+1,c-2,u),u++,a=c-1,g.push(h+u)),_>c+2&&(s=r(s,c+2,_-1,u),u++,a=_-1,g.push(h+u))):w<_-1&&(s=r(s,w+1,_-1,u),u++,a=_-1,g.push(h+u)),h++,o=_,f.push(_),m.push(h+u),v[h]=h+u,y[h]=g.slice()}else if(p[5]){var x=p.index+p[0].length-1;f.length&&!d.length||f[f.length-1]>d[d.length-1]?function(){o{ + */var n=r(21352),i=r(96667);Array.prototype.slice;function o(e,t){if(!(this instanceof o))return"number"==typeof t?new o(e).fromIndex(t):new o(e,t);this.str=e||"",this.lineToIndex=function(e){for(var t=e.split("\n"),r=new Array(t.length),n=0,i=0,o=t.length;i=this.str.length||isNaN(e))return null;var t=function(e,t){if(e>=t[t.length-1])return t.length-1;var r,n=0,i=t.length-2;for(;n>1)])i=r-1;else{if(!(e>=t[r+1])){n=r;break}n=r+1}return n}(e,this.lineToIndex);return{line:t+this.origin,col:e-this.lineToIndex[t]+this.origin}},o.prototype.toIndex=function(e,t){if(void 0===t)return n(e)&&e.length>=2?this.toIndex(e[0],e[1]):i(e)&&"line"in e&&("col"in e||"column"in e)?this.toIndex(e.line,"col"in e?e.col:e.column):-1;if(isNaN(e)||isNaN(t))return-1;if(e-=this.origin,t-=this.origin,e>=0&&t>=0&&e{"use strict";const n=r(85622),i=r(35747),{promisify:o}=r(31669),s=r(60364),a=o(i.stat),l=o(i.lstat),c={directory:"isDirectory",file:"isFile"};function u({type:e}){if(!(e in c))throw new Error("Invalid type specified: "+e)}const p=(e,t)=>void 0===e||t[c[e]]();e.exports=async(e,t)=>{u(t={cwd:process.cwd(),type:"file",allowSymlinks:!0,...t});const r=t.allowSymlinks?a:l;return s(e,async e=>{try{const i=await r(n.resolve(t.cwd,e));return p(t.type,i)}catch{return!1}},t)},e.exports.sync=(e,t)=>{u(t={cwd:process.cwd(),allowSymlinks:!0,type:"file",...t});const r=t.allowSymlinks?i.statSync:i.lstatSync;for(const i of e)try{const e=r(n.resolve(t.cwd,i));if(p(t.type,e))return i}catch{}}},89401:e=>{var t=Array.isArray;e.exports=function(){if(!arguments.length)return[];var e=arguments[0];return t(e)?e:[e]}},65817:(e,t,r)=>{e=r.nmd(e);var n=/^\[object .+?Constructor\]$/,i=/^(?:0|[1-9]\d*)$/,o={};o["[object Float32Array]"]=o["[object Float64Array]"]=o["[object Int8Array]"]=o["[object Int16Array]"]=o["[object Int32Array]"]=o["[object Uint8Array]"]=o["[object Uint8ClampedArray]"]=o["[object Uint16Array]"]=o["[object Uint32Array]"]=!0,o["[object Arguments]"]=o["[object Array]"]=o["[object ArrayBuffer]"]=o["[object Boolean]"]=o["[object DataView]"]=o["[object Date]"]=o["[object Error]"]=o["[object Function]"]=o["[object Map]"]=o["[object Number]"]=o["[object Object]"]=o["[object RegExp]"]=o["[object Set]"]=o["[object String]"]=o["[object WeakMap]"]=!1;var s="object"==typeof global&&global&&global.Object===Object&&global,a="object"==typeof self&&self&&self.Object===Object&&self,l=s||a||Function("return this")(),c=t&&!t.nodeType&&t,u=c&&e&&!e.nodeType&&e,p=u&&u.exports===c,h=p&&s.process,d=function(){try{var e=u&&u.require&&u.require("util").types;return e||h&&h.binding&&h.binding("util")}catch(e){}}(),f=d&&d.isTypedArray;function g(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}var m,v,y,b=Array.prototype,w=Function.prototype,_=Object.prototype,x=l["__core-js_shared__"],k=w.toString,S=_.hasOwnProperty,E=(m=/[^.]+$/.exec(x&&x.keys&&x.keys.IE_PROTO||""))?"Symbol(src)_1."+m:"",C=_.toString,T=k.call(Object),A=RegExp("^"+k.call(S).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),R=p?l.Buffer:void 0,O=l.Symbol,P=l.Uint8Array,I=R?R.allocUnsafe:void 0,M=(v=Object.getPrototypeOf,y=Object,function(e){return v(y(e))}),D=Object.create,j=_.propertyIsEnumerable,N=b.splice,L=O?O.toStringTag:void 0,F=function(){try{var e=ce(Object,"defineProperty");return e({},"",{}),e}catch(e){}}(),q=R?R.isBuffer:void 0,$=Math.max,B=Date.now,z=ce(l,"Map"),U=ce(Object,"create"),W=function(){function e(){}return function(t){if(!_e(t))return{};if(D)return D(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}();function H(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t-1},V.prototype.set=function(e,t){var r=this.__data__,n=X(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this},G.prototype.clear=function(){this.size=0,this.__data__={hash:new H,map:new(z||V),string:new H}},G.prototype.delete=function(e){var t=le(this,e).delete(e);return this.size-=t?1:0,t},G.prototype.get=function(e){return le(this,e).get(e)},G.prototype.has=function(e){return le(this,e).has(e)},G.prototype.set=function(e,t){var r=le(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this},Y.prototype.clear=function(){this.__data__=new V,this.size=0},Y.prototype.delete=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r},Y.prototype.get=function(e){return this.__data__.get(e)},Y.prototype.has=function(e){return this.__data__.has(e)},Y.prototype.set=function(e,t){var r=this.__data__;if(r instanceof V){var n=r.__data__;if(!z||n.length<199)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new G(n)}return r.set(e,t),this.size=r.size,this};var ee,te=function(e,t,r){for(var n=-1,i=Object(e),o=r(e),s=o.length;s--;){var a=o[ee?s:++n];if(!1===t(i[a],a,i))break}return e};function re(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":L&&L in Object(e)?function(e){var t=S.call(e,L),r=e[L];try{e[L]=void 0;var n=!0}catch(e){}var i=C.call(e);n&&(t?e[L]=r:delete e[L]);return i}(e):function(e){return C.call(e)}(e)}function ne(e){return xe(e)&&"[object Arguments]"==re(e)}function ie(e){return!(!_e(e)||function(e){return!!E&&E in e}(e))&&(be(e)?A:n).test(function(e){if(null!=e){try{return k.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(e))}function oe(e){if(!_e(e))return function(e){var t=[];if(null!=e)for(var r in Object(e))t.push(r);return t}(e);var t=pe(e),r=[];for(var n in e)("constructor"!=n||!t&&S.call(e,n))&&r.push(n);return r}function se(e,t,r,n,i){e!==t&&te(t,(function(o,s){if(i||(i=new Y),_e(o))!function(e,t,r,n,i,o,s){var a=he(e,r),l=he(t,r),c=s.get(l);if(c)return void Q(e,r,c);var u=o?o(a,l,r+"",e,t,s):void 0,p=void 0===u;if(p){var h=me(l),d=!h&&ye(l),f=!h&&!d&&ke(l);u=l,h||d||f?me(a)?u=a:xe(b=a)&&ve(b)?u=function(e,t){var r=-1,n=e.length;t||(t=Array(n));for(;++r-1&&e%1==0&&e0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}(F?function(e,t){return F(e,"toString",{configurable:!0,enumerable:!1,value:(r=t,function(){return r}),writable:!0});var r}:Te);function fe(e,t){return e===t||e!=e&&t!=t}var ge=ne(function(){return arguments}())?ne:function(e){return xe(e)&&S.call(e,"callee")&&!j.call(e,"callee")},me=Array.isArray;function ve(e){return null!=e&&we(e.length)&&!be(e)}var ye=q||function(){return!1};function be(e){if(!_e(e))return!1;var t=re(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}function we(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}function _e(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function xe(e){return null!=e&&"object"==typeof e}var ke=f?function(e){return function(t){return e(t)}}(f):function(e){return xe(e)&&we(e.length)&&!!o[re(e)]};function Se(e){return ve(e)?K(e,!0):oe(e)}var Ee,Ce=(Ee=function(e,t,r){se(e,t,r)},ae((function(e,t){var r=-1,n=t.length,i=n>1?t[n-1]:void 0,o=n>2?t[2]:void 0;for(i=Ee.length>3&&"function"==typeof i?(n--,i):void 0,o&&function(e,t,r){if(!_e(r))return!1;var n=typeof t;return!!("number"==n?ve(r)&&ue(t,r.length):"string"==n&&t in r)&&fe(r[t],e)}(t[0],t[1],o)&&(i=n<3?void 0:i,n=1),e=Object(e);++r{"use strict";const n=r(92413).PassThrough,i=Array.prototype.slice;function o(e,t){if(Array.isArray(e))for(let r=0,n=e.length;r0||(r=!1,p())}function o(e){function t(){e.removeListener("merge2UnpipeEnd",t),e.removeListener("end",t),l&&e.removeListener("error",r),i()}function r(e){c.emit("error",e)}if(e._readableState.endEmitted)return i();e.on("merge2UnpipeEnd",t),e.on("end",t),l&&e.on("error",r),e.pipe(c,{end:!1}),e.resume()}for(let e=0;e{"use strict";const n=r(31669),i=r(22706),o=r(5669),s=r(86444),a=e=>""===e||"./"===e,l=(e,t,r)=>{t=[].concat(t),e=[].concat(e);let n=new Set,i=new Set,s=new Set,a=0,l=e=>{s.add(e.output),r&&r.onResult&&r.onResult(e)};for(let s=0;s!n.has(e));if(r&&0===c.length){if(!0===r.failglob)throw new Error(`No matches found for "${t.join(", ")}"`);if(!0===r.nonull||!0===r.nullglob)return r.unescape?t.map(e=>e.replace(/\\/g,"")):t}return c};l.match=l,l.matcher=(e,t)=>o(e,t),l.any=l.isMatch=(e,t,r)=>o(t,r)(e),l.not=(e,t,r={})=>{t=[].concat(t).map(String);let n=new Set,i=[],o=l(e,t,{...r,onResult:e=>{r.onResult&&r.onResult(e),i.push(e.output)}});for(let e of i)o.includes(e)||n.add(e);return[...n]},l.contains=(e,t,r)=>{if("string"!=typeof e)throw new TypeError(`Expected a string: "${n.inspect(e)}"`);if(Array.isArray(t))return t.some(t=>l.contains(e,t,r));if("string"==typeof t){if(a(e)||a(t))return!1;if(e.includes(t)||e.startsWith("./")&&e.slice(2).includes(t))return!0}return l.isMatch(e,t,{...r,contains:!0})},l.matchKeys=(e,t,r)=>{if(!s.isObject(e))throw new TypeError("Expected the first argument to be an object");let n=l(Object.keys(e),t,r),i={};for(let t of n)i[t]=e[t];return i},l.some=(e,t,r)=>{let n=[].concat(e);for(let e of[].concat(t)){let t=o(String(e),r);if(n.some(e=>t(e)))return!0}return!1},l.every=(e,t,r)=>{let n=[].concat(e);for(let e of[].concat(t)){let t=o(String(e),r);if(!n.every(e=>t(e)))return!1}return!0},l.all=(e,t,r)=>{if("string"!=typeof e)throw new TypeError(`Expected a string: "${n.inspect(e)}"`);return[].concat(t).every(t=>o(t,r)(e))},l.capture=(e,t,r)=>{let n=s.isWindows(r),i=o.makeRe(String(e),{...r,capture:!0}).exec(n?s.toPosixSlashes(t):t);if(i)return i.slice(1).map(e=>void 0===e?"":e)},l.makeRe=(...e)=>o.makeRe(...e),l.scan=(...e)=>o.scan(...e),l.parse=(e,t)=>{let r=[];for(let n of[].concat(e||[]))for(let e of i(String(n),t))r.push(o.parse(e,t));return r},l.braces=(e,t)=>{if("string"!=typeof e)throw new TypeError("Expected a string");return t&&!0===t.nobrace||!/\{.*\}/.test(e)?[e]:i(e,t)},l.braceExpand=(e,t)=>{if("string"!=typeof e)throw new TypeError("Expected a string");return l.braces(e,{...t,expand:!0})},e.exports=l},5280:(e,t,r)=>{var n=r(75494),i=/\s+/g,o=/%[\dA-F]{2}/g,s=/"/g;function a(e){switch(e){case"%20":return" ";case"%3D":return"=";case"%3A":return":";case"%2F":return"/";default:return e.toLowerCase()}}function l(e){if("string"!=typeof e)throw new TypeError("Expected a string, but received "+typeof e);var t;return 65279===e.charCodeAt(0)&&(e=e.slice(1)),"data:image/svg+xml,"+function(e){return encodeURIComponent(e).replace(o,a)}(function(e){return Object.keys(n).forEach((function(t){n[t].test(e)&&(e=e.replace(n[t],t))})),e}((t=e,t.trim().replace(i," "))).replace(s,"'"))}l.toSrcset=function(e){return l(e).replace(/ /g,"%20")},e.exports=l},75494:e=>{e.exports={aqua:/#00ffff(ff)?(?!\w)|#0ff(f)?(?!\w)/gi,azure:/#f0ffff(ff)?(?!\w)/gi,beige:/#f5f5dc(ff)?(?!\w)/gi,bisque:/#ffe4c4(ff)?(?!\w)/gi,black:/#000000(ff)?(?!\w)|#000(f)?(?!\w)/gi,blue:/#0000ff(ff)?(?!\w)|#00f(f)?(?!\w)/gi,brown:/#a52a2a(ff)?(?!\w)/gi,coral:/#ff7f50(ff)?(?!\w)/gi,cornsilk:/#fff8dc(ff)?(?!\w)/gi,crimson:/#dc143c(ff)?(?!\w)/gi,cyan:/#00ffff(ff)?(?!\w)|#0ff(f)?(?!\w)/gi,darkblue:/#00008b(ff)?(?!\w)/gi,darkcyan:/#008b8b(ff)?(?!\w)/gi,darkgrey:/#a9a9a9(ff)?(?!\w)/gi,darkred:/#8b0000(ff)?(?!\w)/gi,deeppink:/#ff1493(ff)?(?!\w)/gi,dimgrey:/#696969(ff)?(?!\w)/gi,gold:/#ffd700(ff)?(?!\w)/gi,green:/#008000(ff)?(?!\w)/gi,grey:/#808080(ff)?(?!\w)/gi,honeydew:/#f0fff0(ff)?(?!\w)/gi,hotpink:/#ff69b4(ff)?(?!\w)/gi,indigo:/#4b0082(ff)?(?!\w)/gi,ivory:/#fffff0(ff)?(?!\w)/gi,khaki:/#f0e68c(ff)?(?!\w)/gi,lavender:/#e6e6fa(ff)?(?!\w)/gi,lime:/#00ff00(ff)?(?!\w)|#0f0(f)?(?!\w)/gi,linen:/#faf0e6(ff)?(?!\w)/gi,maroon:/#800000(ff)?(?!\w)/gi,moccasin:/#ffe4b5(ff)?(?!\w)/gi,navy:/#000080(ff)?(?!\w)/gi,oldlace:/#fdf5e6(ff)?(?!\w)/gi,olive:/#808000(ff)?(?!\w)/gi,orange:/#ffa500(ff)?(?!\w)/gi,orchid:/#da70d6(ff)?(?!\w)/gi,peru:/#cd853f(ff)?(?!\w)/gi,pink:/#ffc0cb(ff)?(?!\w)/gi,plum:/#dda0dd(ff)?(?!\w)/gi,purple:/#800080(ff)?(?!\w)/gi,red:/#ff0000(ff)?(?!\w)|#f00(f)?(?!\w)/gi,salmon:/#fa8072(ff)?(?!\w)/gi,seagreen:/#2e8b57(ff)?(?!\w)/gi,seashell:/#fff5ee(ff)?(?!\w)/gi,sienna:/#a0522d(ff)?(?!\w)/gi,silver:/#c0c0c0(ff)?(?!\w)/gi,skyblue:/#87ceeb(ff)?(?!\w)/gi,snow:/#fffafa(ff)?(?!\w)/gi,tan:/#d2b48c(ff)?(?!\w)/gi,teal:/#008080(ff)?(?!\w)/gi,thistle:/#d8bfd8(ff)?(?!\w)/gi,tomato:/#ff6347(ff)?(?!\w)/gi,violet:/#ee82ee(ff)?(?!\w)/gi,wheat:/#f5deb3(ff)?(?!\w)/gi,white:/#ffffff(ff)?(?!\w)|#fff(f)?(?!\w)/gi}},26944:(e,t,r)=>{e.exports=u,u.Minimatch=p;var n={sep:"/"};try{n=r(85622)}catch(e){}var i=u.GLOBSTAR=p.GLOBSTAR={},o=r(85533),s={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},a="().*{}+?[]^$\\!".split("").reduce((function(e,t){return e[t]=!0,e}),{});var l=/\/+/;function c(e,t){e=e||{},t=t||{};var r={};return Object.keys(t).forEach((function(e){r[e]=t[e]})),Object.keys(e).forEach((function(t){r[t]=e[t]})),r}function u(e,t,r){if("string"!=typeof t)throw new TypeError("glob pattern string required");return r||(r={}),!(!r.nocomment&&"#"===t.charAt(0))&&(""===t.trim()?""===e:new p(t,r).match(e))}function p(e,t){if(!(this instanceof p))return new p(e,t);if("string"!=typeof e)throw new TypeError("glob pattern string required");t||(t={}),e=e.trim(),"/"!==n.sep&&(e=e.split(n.sep).join("/")),this.options=t,this.set=[],this.pattern=e,this.regexp=null,this.negate=!1,this.comment=!1,this.empty=!1,this.make()}function h(e,t){if(t||(t=this instanceof p?this.options:{}),void 0===(e=void 0===e?this.pattern:e))throw new TypeError("undefined pattern");return t.nobrace||!e.match(/\{.*\}/)?[e]:o(e)}u.filter=function(e,t){return t=t||{},function(r,n,i){return u(r,e,t)}},u.defaults=function(e){if(!e||!Object.keys(e).length)return u;var t=u,r=function(r,n,i){return t.minimatch(r,n,c(e,i))};return r.Minimatch=function(r,n){return new t.Minimatch(r,c(e,n))},r},p.defaults=function(e){return e&&Object.keys(e).length?u.defaults(e).Minimatch:p},p.prototype.debug=function(){},p.prototype.make=function(){if(this._made)return;var e=this.pattern,t=this.options;if(!t.nocomment&&"#"===e.charAt(0))return void(this.comment=!0);if(!e)return void(this.empty=!0);this.parseNegate();var r=this.globSet=this.braceExpand();t.debug&&(this.debug=console.error);this.debug(this.pattern,r),r=this.globParts=r.map((function(e){return e.split(l)})),this.debug(this.pattern,r),r=r.map((function(e,t,r){return e.map(this.parse,this)}),this),this.debug(this.pattern,r),r=r.filter((function(e){return-1===e.indexOf(!1)})),this.debug(this.pattern,r),this.set=r},p.prototype.parseNegate=function(){var e=this.pattern,t=!1,r=this.options,n=0;if(r.nonegate)return;for(var i=0,o=e.length;i65536)throw new TypeError("pattern is too long");var r=this.options;if(!r.noglobstar&&"**"===e)return i;if(""===e)return"";var n,o="",l=!!r.nocase,c=!1,u=[],p=[],h=!1,f=-1,g=-1,m="."===e.charAt(0)?"":r.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",v=this;function y(){if(n){switch(n){case"*":o+="[^/]*?",l=!0;break;case"?":o+="[^/]",l=!0;break;default:o+="\\"+n}v.debug("clearStateChar %j %j",n,o),n=!1}}for(var b,w=0,_=e.length;w<_&&(b=e.charAt(w));w++)if(this.debug("%s\t%s %s %j",e,w,o,b),c&&a[b])o+="\\"+b,c=!1;else switch(b){case"/":return!1;case"\\":y(),c=!0;continue;case"?":case"*":case"+":case"@":case"!":if(this.debug("%s\t%s %s %j <-- stateChar",e,w,o,b),h){this.debug(" in class"),"!"===b&&w===g+1&&(b="^"),o+=b;continue}v.debug("call clearStateChar %j",n),y(),n=b,r.noext&&y();continue;case"(":if(h){o+="(";continue}if(!n){o+="\\(";continue}u.push({type:n,start:w-1,reStart:o.length,open:s[n].open,close:s[n].close}),o+="!"===n?"(?:(?!(?:":"(?:",this.debug("plType %j %j",n,o),n=!1;continue;case")":if(h||!u.length){o+="\\)";continue}y(),l=!0;var x=u.pop();o+=x.close,"!"===x.type&&p.push(x),x.reEnd=o.length;continue;case"|":if(h||!u.length||c){o+="\\|",c=!1;continue}y(),o+="|";continue;case"[":if(y(),h){o+="\\"+b;continue}h=!0,g=w,f=o.length,o+=b;continue;case"]":if(w===g+1||!h){o+="\\"+b,c=!1;continue}if(h){var k=e.substring(g+1,w);try{RegExp("["+k+"]")}catch(e){var S=this.parse(k,d);o=o.substr(0,f)+"\\["+S[0]+"\\]",l=l||S[1],h=!1;continue}}l=!0,h=!1,o+=b;continue;default:y(),c?c=!1:!a[b]||"^"===b&&h||(o+="\\"),o+=b}h&&(k=e.substr(g+1),S=this.parse(k,d),o=o.substr(0,f)+"\\["+S[0],l=l||S[1]);for(x=u.pop();x;x=u.pop()){var E=o.slice(x.reStart+x.open.length);this.debug("setting tail",o,x),E=E.replace(/((?:\\{2}){0,64})(\\?)\|/g,(function(e,t,r){return r||(r="\\"),t+t+r+"|"})),this.debug("tail=%j\n %s",E,E,x,o);var C="*"===x.type?"[^/]*?":"?"===x.type?"[^/]":"\\"+x.type;l=!0,o=o.slice(0,x.reStart)+C+"\\("+E}y(),c&&(o+="\\\\");var T=!1;switch(o.charAt(0)){case".":case"[":case"(":T=!0}for(var A=p.length-1;A>-1;A--){var R=p[A],O=o.slice(0,R.reStart),P=o.slice(R.reStart,R.reEnd-8),I=o.slice(R.reEnd-8,R.reEnd),M=o.slice(R.reEnd);I+=M;var D=O.split("(").length-1,j=M;for(w=0;w=0&&!(i=e[o]);o--);for(o=0;o>> no match, partial?",e,h,t,d),h!==a))}if("string"==typeof u?(c=n.nocase?p.toLowerCase()===u.toLowerCase():p===u,this.debug("string match",u,p,c)):(c=p.match(u),this.debug("pattern match",u,p,c)),!c)return!1}if(o===a&&s===l)return!0;if(o===a)return r;if(s===l)return o===a-1&&""===e[o];throw new Error("wtf?")}},30566:function(e){var t,r;t=this,r=function(){"use strict";var e=Object.prototype.hasOwnProperty,t=Object.prototype.toString,r="boolean"==typeof(new RegExp).sticky;function n(e){return e&&"[object RegExp]"===t.call(e)}function i(e){return e&&"object"==typeof e&&!n(e)&&!Array.isArray(e)}function o(e){return"("+e+")"}function s(e){return e.length?"(?:"+e.map((function(e){return"(?:"+e+")"})).join("|")+")":"(?!)"}function a(e){if("string"==typeof e)return"(?:"+e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")+")";if(n(e)){if(e.ignoreCase)throw new Error("RegExp /i flag not allowed");if(e.global)throw new Error("RegExp /g flag is implied");if(e.sticky)throw new Error("RegExp /y flag is implied");if(e.multiline)throw new Error("RegExp /m flag is implied");return e.source}throw new Error("Not a pattern: "+e)}function l(t,r){if(i(r)||(r={match:r}),r.include)throw new Error("Matching rules cannot also include states");var o={defaultType:t,lineBreaks:!!r.error||!!r.fallback,pop:!1,next:null,push:null,error:!1,fallback:!1,value:null,type:null,shouldThrow:!1};for(var s in r)e.call(r,s)&&(o[s]=r[s]);if("string"==typeof o.type&&t!==o.type)throw new Error("Type transform cannot be a string (type '"+o.type+"' for token '"+t+"')");var a=o.match;return o.match=Array.isArray(a)?a:a?[a]:[],o.match.sort((function(e,t){return n(e)&&n(t)?0:n(t)?-1:n(e)?1:t.length-e.length})),o}function c(e){return Array.isArray(e)?function(e){for(var t=[],r=0;r0)throw new Error("RegExp has capture groups: "+w+"\nUse (?: … ) instead");if(!g.lineBreaks&&w.test("\n"))throw new Error("Rule should declare lineBreaks: "+w);d.push(o(b))}}var _=i&&i.fallback,x=r&&!_?"ym":"gm",k=r||_?"":"|";return!0===p&&(x+="u"),{regexp:new RegExp(s(d)+k,x),groups:h,fast:l,error:i||u}}function h(e,t,r){var n=e&&(e.push||e.next);if(n&&!r[n])throw new Error("Missing state '"+n+"' (in token '"+e.defaultType+"' of state '"+t+"')");if(e&&e.pop&&1!=+e.pop)throw new Error("pop must be 1 (in token '"+e.defaultType+"' of state '"+t+"')")}var d=function(e,t){this.startState=t,this.states=e,this.buffer="",this.stack=[],this.reset()};d.prototype.reset=function(e,t){return this.buffer=e||"",this.index=0,this.line=t?t.line:1,this.col=t?t.col:1,this.queuedToken=t?t.queuedToken:null,this.queuedThrow=t?t.queuedThrow:null,this.setState(t?t.state:this.startState),this.stack=t&&t.stack?t.stack.slice():[],this},d.prototype.save=function(){return{line:this.line,col:this.col,state:this.state,stack:this.stack.slice(),queuedToken:this.queuedToken,queuedThrow:this.queuedThrow}},d.prototype.setState=function(e){if(e&&this.state!==e){this.state=e;var t=this.states[e];this.groups=t.groups,this.error=t.error,this.re=t.regexp,this.fast=t.fast}},d.prototype.popState=function(){this.setState(this.stack.pop())},d.prototype.pushState=function(e){this.stack.push(this.state),this.setState(e)};var f=r?function(e,t){return e.exec(t)}:function(e,t){var r=e.exec(t);return 0===r[0].length?null:r};function g(){return this.value}if(d.prototype._getGroup=function(e){for(var t=this.groups.length,r=0;r{"use strict";var r=function(){function e(e,t){for(var r=0;r_?(_0&&(o=n(o,_+1,c-1,u),u++,a=c-1,m.push(p+u)),l-1-(c+1)>0&&(o=n(o,c+1,l-2,u),u++,a=l-1,m.push(p+u))):(o=n(o,_+1,l-2,u),u++,a=l-1,m.push(p+u)),w>l+2&&(o=n(o,l+2,w-1,u),u++,a=w-1,m.push(p+u))):_d[d.length-1]?function(){s{ /*! * normalize-path * * Copyright (c) 2014-2018, Jon Schlinkert. * Released under the MIT License. */ -e.exports=function(e,t){if("string"!=typeof e)throw new TypeError("expected path to be a string");if("\\"===e||"/"===e)return"/";var n=e.length;if(n<=1)return e;var r="";if(n>4&&"\\"===e[3]){var i=e[2];"?"!==i&&"."!==i||"\\\\"!==e.slice(0,2)||(e=e.slice(2),r="//")}var s=e.split(/[/\\]+/);return!1!==t&&""===s[s.length-1]&&s.pop(),r+s.join("/")}},9235:(e,t,n)=>{"use strict";const r=n(1066);e.exports=e=>{if(!Number.isInteger(e)&&e!==1/0||!(e>0))throw new TypeError("Expected `concurrency` to be a number from 1 and up");const t=new r;let n=0;const i=async(e,r,...i)=>{n++;const s=(async()=>e(...i))();r(s);try{await s}catch{}n--,t.size>0&&t.dequeue()()},s=(r,...s)=>new Promise(o=>{((r,s,...o)=>{t.enqueue(i.bind(null,r,s,...o)),(async()=>{await Promise.resolve(),n0&&t.dequeue()()})()})(r,o,...s)});return Object.defineProperties(s,{activeCount:{get:()=>n},pendingCount:{get:()=>t.size},clearQueue:{value:()=>{t.clear()}}}),s}},5338:(e,t,n)=>{"use strict";const r=n(9235);class i extends Error{constructor(e){super(),this.value=e}}const s=async(e,t)=>t(await e),o=async e=>{const t=await Promise.all(e);if(!0===t[1])throw new i(t[0]);return!1};e.exports=async(e,t,n)=>{n={concurrency:1/0,preserveOrder:!0,...n};const a=r(n.concurrency),c=[...e].map(e=>[e,a(s,e,t)]),l=r(n.preserveOrder?1:1/0);try{await Promise.all(c.map(e=>l(o,e)))}catch(e){if(e instanceof i)return e.value;throw e}}},7404:e=>{"use strict";const t=(e,...t)=>new Promise(n=>{n(e(...t))});e.exports=t,e.exports.default=t},2716:(e,t,n)=>{"use strict";const r=n(5747),{promisify:i}=n(1669),s=i(r.access);e.exports=async e=>{try{return await s(e),!0}catch(e){return!1}},e.exports.sync=e=>{try{return r.accessSync(e),!0}catch(e){return!1}}},2742:e=>{"use strict";var t="win32"===process.platform,n=/^(((?:[a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?[\\\/]?)(?:[^\\\/]*[\\\/])*)((\.{1,2}|[^\\\/]+?|)(\.[^.\/\\]*|))[\\\/]*$/,r={};r.parse=function(e){if("string"!=typeof e)throw new TypeError("Parameter 'pathString' must be a string, not "+typeof e);var t,r=(t=e,n.exec(t).slice(1));if(!r||5!==r.length)throw new TypeError("Invalid path '"+e+"'");return{root:r[1],dir:r[0]===r[1]?r[0]:r[0].slice(0,-1),base:r[2],ext:r[4],name:r[3]}};var i=/^((\/?)(?:[^\/]*\/)*)((\.{1,2}|[^\/]+?|)(\.[^.\/]*|))[\/]*$/,s={};s.parse=function(e){if("string"!=typeof e)throw new TypeError("Parameter 'pathString' must be a string, not "+typeof e);var t,n=(t=e,i.exec(t).slice(1));if(!n||5!==n.length)throw new TypeError("Invalid path '"+e+"'");return{root:n[1],dir:n[0].slice(0,-1),base:n[2],ext:n[4],name:n[3]}},e.exports=t?r.parse:s.parse,e.exports.posix=s.parse,e.exports.win32=r.parse},9138:(e,t,n)=>{"use strict";e.exports=n(4755)},8223:(e,t,n)=>{"use strict";const r=n(5622),i={DOT_LITERAL:"\\.",PLUS_LITERAL:"\\+",QMARK_LITERAL:"\\?",SLASH_LITERAL:"\\/",ONE_CHAR:"(?=.)",QMARK:"[^/]",END_ANCHOR:"(?:\\/|$)",DOTS_SLASH:"\\.{1,2}(?:\\/|$)",NO_DOT:"(?!\\.)",NO_DOTS:"(?!(?:^|\\/)\\.{1,2}(?:\\/|$))",NO_DOT_SLASH:"(?!\\.{0,1}(?:\\/|$))",NO_DOTS_SLASH:"(?!\\.{1,2}(?:\\/|$))",QMARK_NO_DOT:"[^.\\/]",STAR:"[^/]*?",START_ANCHOR:"(?:^|\\/)"},s={...i,SLASH_LITERAL:"[\\\\/]",QMARK:"[^\\\\/]",STAR:"[^\\\\/]*?",DOTS_SLASH:"\\.{1,2}(?:[\\\\/]|$)",NO_DOT:"(?!\\.)",NO_DOTS:"(?!(?:^|[\\\\/])\\.{1,2}(?:[\\\\/]|$))",NO_DOT_SLASH:"(?!\\.{0,1}(?:[\\\\/]|$))",NO_DOTS_SLASH:"(?!\\.{1,2}(?:[\\\\/]|$))",QMARK_NO_DOT:"[^.\\\\/]",START_ANCHOR:"(?:^|[\\\\/])",END_ANCHOR:"(?:[\\\\/]|$)"};e.exports={MAX_LENGTH:65536,POSIX_REGEX_SOURCE:{alnum:"a-zA-Z0-9",alpha:"a-zA-Z",ascii:"\\x00-\\x7F",blank:" \\t",cntrl:"\\x00-\\x1F\\x7F",digit:"0-9",graph:"\\x21-\\x7E",lower:"a-z",print:"\\x20-\\x7E ",punct:"\\-!\"#$%&'()\\*+,./:;<=>?@[\\]^_`{|}~",space:" \\t\\r\\n\\v\\f",upper:"A-Z",word:"A-Za-z0-9_",xdigit:"A-Fa-f0-9"},REGEX_BACKSLASH:/\\(?![*+?^${}(|)[\]])/g,REGEX_NON_SPECIAL_CHARS:/^[^@![\].,$*+?^{}()|\\/]+/,REGEX_SPECIAL_CHARS:/[-*+?.^${}(|)[\]]/,REGEX_SPECIAL_CHARS_BACKREF:/(\\?)((\W)(\3*))/g,REGEX_SPECIAL_CHARS_GLOBAL:/([-*+?.^${}(|)[\]])/g,REGEX_REMOVE_BACKSLASH:/(?:\[.*?[^\\]\]|\\(?=.))/g,REPLACEMENTS:{"***":"*","**/**":"**","**/**/**":"**"},CHAR_0:48,CHAR_9:57,CHAR_UPPERCASE_A:65,CHAR_LOWERCASE_A:97,CHAR_UPPERCASE_Z:90,CHAR_LOWERCASE_Z:122,CHAR_LEFT_PARENTHESES:40,CHAR_RIGHT_PARENTHESES:41,CHAR_ASTERISK:42,CHAR_AMPERSAND:38,CHAR_AT:64,CHAR_BACKWARD_SLASH:92,CHAR_CARRIAGE_RETURN:13,CHAR_CIRCUMFLEX_ACCENT:94,CHAR_COLON:58,CHAR_COMMA:44,CHAR_DOT:46,CHAR_DOUBLE_QUOTE:34,CHAR_EQUAL:61,CHAR_EXCLAMATION_MARK:33,CHAR_FORM_FEED:12,CHAR_FORWARD_SLASH:47,CHAR_GRAVE_ACCENT:96,CHAR_HASH:35,CHAR_HYPHEN_MINUS:45,CHAR_LEFT_ANGLE_BRACKET:60,CHAR_LEFT_CURLY_BRACE:123,CHAR_LEFT_SQUARE_BRACKET:91,CHAR_LINE_FEED:10,CHAR_NO_BREAK_SPACE:160,CHAR_PERCENT:37,CHAR_PLUS:43,CHAR_QUESTION_MARK:63,CHAR_RIGHT_ANGLE_BRACKET:62,CHAR_RIGHT_CURLY_BRACE:125,CHAR_RIGHT_SQUARE_BRACKET:93,CHAR_SEMICOLON:59,CHAR_SINGLE_QUOTE:39,CHAR_SPACE:32,CHAR_TAB:9,CHAR_UNDERSCORE:95,CHAR_VERTICAL_LINE:124,CHAR_ZERO_WIDTH_NOBREAK_SPACE:65279,SEP:r.sep,extglobChars:e=>({"!":{type:"negate",open:"(?:(?!(?:",close:`))${e.STAR})`},"?":{type:"qmark",open:"(?:",close:")?"},"+":{type:"plus",open:"(?:",close:")+"},"*":{type:"star",open:"(?:",close:")*"},"@":{type:"at",open:"(?:",close:")"}}),globChars:e=>!0===e?s:i}},8573:(e,t,n)=>{"use strict";const r=n(8223),i=n(2924),{MAX_LENGTH:s,POSIX_REGEX_SOURCE:o,REGEX_NON_SPECIAL_CHARS:a,REGEX_SPECIAL_CHARS_BACKREF:c,REPLACEMENTS:l}=r,u=(e,t)=>{if("function"==typeof t.expandRange)return t.expandRange(...e,t);e.sort();const n=`[${e.join("-")}]`;try{new RegExp(n)}catch(t){return e.map(e=>i.escapeRegex(e)).join("..")}return n},h=(e,t)=>`Missing ${e}: "${t}" - use "\\\\${t}" to match literal characters`,p=(e,t)=>{if("string"!=typeof e)throw new TypeError("Expected a string");e=l[e]||e;const n={...t},p="number"==typeof n.maxLength?Math.min(s,n.maxLength):s;let d=e.length;if(d>p)throw new SyntaxError(`Input length: ${d}, exceeds maximum allowed length: ${p}`);const f={type:"bos",value:"",output:n.prepend||""},m=[f],g=n.capture?"":"?:",v=i.isWindows(t),y=r.globChars(v),b=r.extglobChars(y),{DOT_LITERAL:_,PLUS_LITERAL:w,SLASH_LITERAL:x,ONE_CHAR:k,DOTS_SLASH:E,NO_DOT:S,NO_DOT_SLASH:C,NO_DOTS_SLASH:R,QMARK:T,QMARK_NO_DOT:A,STAR:P,START_ANCHOR:O}=y,I=e=>`(${g}(?:(?!${O}${e.dot?E:_}).)*?)`,N=n.dot?"":S,D=n.dot?T:A;let M=!0===n.bash?I(n):P;n.capture&&(M=`(${M})`),"boolean"==typeof n.noext&&(n.noextglob=n.noext);const L={input:e,index:-1,start:0,dot:!0===n.dot,consumed:"",output:"",prefix:"",backtrack:!1,negated:!1,brackets:0,braces:0,parens:0,quotes:0,globstar:!1,tokens:m};e=i.removePrefix(e,L),d=e.length;const j=[],q=[],F=[];let $,H=f;const z=()=>L.index===d-1,B=L.peek=(t=1)=>e[L.index+t],W=L.advance=()=>e[++L.index]||"",U=()=>e.slice(L.index+1),V=(e="",t=0)=>{L.consumed+=e,L.index+=t},G=e=>{L.output+=null!=e.output?e.output:e.value,V(e.value)},K=()=>{let e=1;for(;"!"===B()&&("("!==B(2)||"?"===B(3));)W(),L.start++,e++;return e%2!=0&&(L.negated=!0,L.start++,!0)},Y=e=>{L[e]++,F.push(e)},Q=e=>{L[e]--,F.pop()},X=e=>{if("globstar"===H.type){const t=L.braces>0&&("comma"===e.type||"brace"===e.type),n=!0===e.extglob||j.length&&("pipe"===e.type||"paren"===e.type);"slash"===e.type||"paren"===e.type||t||n||(L.output=L.output.slice(0,-H.output.length),H.type="star",H.value="*",H.output=M,L.output+=H.output)}if(j.length&&"paren"!==e.type&&(j[j.length-1].inner+=e.value),(e.value||e.output)&&G(e),H&&"text"===H.type&&"text"===e.type)return H.value+=e.value,void(H.output=(H.output||"")+e.value);e.prev=H,m.push(e),H=e},J=(e,t)=>{const r={...b[t],conditions:1,inner:""};r.prev=H,r.parens=L.parens,r.output=L.output;const i=(n.capture?"(":"")+r.open;Y("parens"),X({type:e,value:t,output:L.output?"":k}),X({type:"paren",extglob:!0,value:W(),output:i}),j.push(r)},Z=e=>{let t,r=e.close+(n.capture?")":"");if("negate"===e.type){let i=M;e.inner&&e.inner.length>1&&e.inner.includes("/")&&(i=I(n)),(i!==M||z()||/^\)+$/.test(U()))&&(r=e.close=")$))"+i),e.inner.includes("*")&&(t=U())&&/^\.[^\\/.]+$/.test(t)&&(r=e.close=`)${t})${i})`),"bos"===e.prev.type&&(L.negatedExtglob=!0)}X({type:"paren",extglob:!0,value:$,output:r}),Q("parens")};if(!1!==n.fastpaths&&!/(^[*!]|[/()[\]{}"])/.test(e)){let r=!1,s=e.replace(c,(e,t,n,i,s,o)=>"\\"===i?(r=!0,e):"?"===i?t?t+i+(s?T.repeat(s.length):""):0===o?D+(s?T.repeat(s.length):""):T.repeat(n.length):"."===i?_.repeat(n.length):"*"===i?t?t+i+(s?M:""):M:t?e:"\\"+e);return!0===r&&(s=!0===n.unescape?s.replace(/\\/g,""):s.replace(/\\+/g,e=>e.length%2==0?"\\\\":e?"\\":"")),s===e&&!0===n.contains?(L.output=e,L):(L.output=i.wrapOutput(s,L,t),L)}for(;!z();){if($=W(),"\0"===$)continue;if("\\"===$){const e=B();if("/"===e&&!0!==n.bash)continue;if("."===e||";"===e)continue;if(!e){$+="\\",X({type:"text",value:$});continue}const t=/^\\+/.exec(U());let r=0;if(t&&t[0].length>2&&(r=t[0].length,L.index+=r,r%2!=0&&($+="\\")),!0===n.unescape?$=W():$+=W(),0===L.brackets){X({type:"text",value:$});continue}}if(L.brackets>0&&("]"!==$||"["===H.value||"[^"===H.value)){if(!1!==n.posix&&":"===$){const e=H.value.slice(1);if(e.includes("[")&&(H.posix=!0,e.includes(":"))){const e=H.value.lastIndexOf("["),t=H.value.slice(0,e),n=H.value.slice(e+2),r=o[n];if(r){H.value=t+r,L.backtrack=!0,W(),f.output||1!==m.indexOf(H)||(f.output=k);continue}}}("["===$&&":"!==B()||"-"===$&&"]"===B())&&($="\\"+$),"]"!==$||"["!==H.value&&"[^"!==H.value||($="\\"+$),!0===n.posix&&"!"===$&&"["===H.value&&($="^"),H.value+=$,G({value:$});continue}if(1===L.quotes&&'"'!==$){$=i.escapeRegex($),H.value+=$,G({value:$});continue}if('"'===$){L.quotes=1===L.quotes?0:1,!0===n.keepQuotes&&X({type:"text",value:$});continue}if("("===$){Y("parens"),X({type:"paren",value:$});continue}if(")"===$){if(0===L.parens&&!0===n.strictBrackets)throw new SyntaxError(h("opening","("));const e=j[j.length-1];if(e&&L.parens===e.parens+1){Z(j.pop());continue}X({type:"paren",value:$,output:L.parens?")":"\\)"}),Q("parens");continue}if("["===$){if(!0!==n.nobracket&&U().includes("]"))Y("brackets");else{if(!0!==n.nobracket&&!0===n.strictBrackets)throw new SyntaxError(h("closing","]"));$="\\"+$}X({type:"bracket",value:$});continue}if("]"===$){if(!0===n.nobracket||H&&"bracket"===H.type&&1===H.value.length){X({type:"text",value:$,output:"\\"+$});continue}if(0===L.brackets){if(!0===n.strictBrackets)throw new SyntaxError(h("opening","["));X({type:"text",value:$,output:"\\"+$});continue}Q("brackets");const e=H.value.slice(1);if(!0===H.posix||"^"!==e[0]||e.includes("/")||($="/"+$),H.value+=$,G({value:$}),!1===n.literalBrackets||i.hasRegexChars(e))continue;const t=i.escapeRegex(H.value);if(L.output=L.output.slice(0,-H.value.length),!0===n.literalBrackets){L.output+=t,H.value=t;continue}H.value=`(${g}${t}|${H.value})`,L.output+=H.value;continue}if("{"===$&&!0!==n.nobrace){Y("braces");const e={type:"brace",value:$,output:"(",outputIndex:L.output.length,tokensIndex:L.tokens.length};q.push(e),X(e);continue}if("}"===$){const e=q[q.length-1];if(!0===n.nobrace||!e){X({type:"text",value:$,output:$});continue}let t=")";if(!0===e.dots){const e=m.slice(),r=[];for(let t=e.length-1;t>=0&&(m.pop(),"brace"!==e[t].type);t--)"dots"!==e[t].type&&r.unshift(e[t].value);t=u(r,n),L.backtrack=!0}if(!0!==e.comma&&!0!==e.dots){const n=L.output.slice(0,e.outputIndex),r=L.tokens.slice(e.tokensIndex);e.value=e.output="\\{",$=t="\\}",L.output=n;for(const e of r)L.output+=e.output||e.value}X({type:"brace",value:$,output:t}),Q("braces"),q.pop();continue}if("|"===$){j.length>0&&j[j.length-1].conditions++,X({type:"text",value:$});continue}if(","===$){let e=$;const t=q[q.length-1];t&&"braces"===F[F.length-1]&&(t.comma=!0,e="|"),X({type:"comma",value:$,output:e});continue}if("/"===$){if("dot"===H.type&&L.index===L.start+1){L.start=L.index+1,L.consumed="",L.output="",m.pop(),H=f;continue}X({type:"slash",value:$,output:x});continue}if("."===$){if(L.braces>0&&"dot"===H.type){"."===H.value&&(H.output=_);const e=q[q.length-1];H.type="dots",H.output+=$,H.value+=$,e.dots=!0;continue}if(L.braces+L.parens===0&&"bos"!==H.type&&"slash"!==H.type){X({type:"text",value:$,output:_});continue}X({type:"dot",value:$,output:_});continue}if("?"===$){if(!(H&&"("===H.value)&&!0!==n.noextglob&&"("===B()&&"?"!==B(2)){J("qmark",$);continue}if(H&&"paren"===H.type){const e=B();let t=$;if("<"===e&&!i.supportsLookbehinds())throw new Error("Node.js v10 or higher is required for regex lookbehinds");("("===H.value&&!/[!=<:]/.test(e)||"<"===e&&!/<([!=]|\w+>)/.test(U()))&&(t="\\"+$),X({type:"text",value:$,output:t});continue}if(!0!==n.dot&&("slash"===H.type||"bos"===H.type)){X({type:"qmark",value:$,output:A});continue}X({type:"qmark",value:$,output:T});continue}if("!"===$){if(!0!==n.noextglob&&"("===B()&&("?"!==B(2)||!/[!=<:]/.test(B(3)))){J("negate",$);continue}if(!0!==n.nonegate&&0===L.index){K();continue}}if("+"===$){if(!0!==n.noextglob&&"("===B()&&"?"!==B(2)){J("plus",$);continue}if(H&&"("===H.value||!1===n.regex){X({type:"plus",value:$,output:w});continue}if(H&&("bracket"===H.type||"paren"===H.type||"brace"===H.type)||L.parens>0){X({type:"plus",value:$});continue}X({type:"plus",value:w});continue}if("@"===$){if(!0!==n.noextglob&&"("===B()&&"?"!==B(2)){X({type:"at",extglob:!0,value:$,output:""});continue}X({type:"text",value:$});continue}if("*"!==$){"$"!==$&&"^"!==$||($="\\"+$);const e=a.exec(U());e&&($+=e[0],L.index+=e[0].length),X({type:"text",value:$});continue}if(H&&("globstar"===H.type||!0===H.star)){H.type="star",H.star=!0,H.value+=$,H.output=M,L.backtrack=!0,L.globstar=!0,V($);continue}let t=U();if(!0!==n.noextglob&&/^\([^?]/.test(t)){J("star",$);continue}if("star"===H.type){if(!0===n.noglobstar){V($);continue}const r=H.prev,i=r.prev,s="slash"===r.type||"bos"===r.type,o=i&&("star"===i.type||"globstar"===i.type);if(!0===n.bash&&(!s||t[0]&&"/"!==t[0])){X({type:"star",value:$,output:""});continue}const a=L.braces>0&&("comma"===r.type||"brace"===r.type),c=j.length&&("pipe"===r.type||"paren"===r.type);if(!s&&"paren"!==r.type&&!a&&!c){X({type:"star",value:$,output:""});continue}for(;"/**"===t.slice(0,3);){const n=e[L.index+4];if(n&&"/"!==n)break;t=t.slice(3),V("/**",3)}if("bos"===r.type&&z()){H.type="globstar",H.value+=$,H.output=I(n),L.output=H.output,L.globstar=!0,V($);continue}if("slash"===r.type&&"bos"!==r.prev.type&&!o&&z()){L.output=L.output.slice(0,-(r.output+H.output).length),r.output="(?:"+r.output,H.type="globstar",H.output=I(n)+(n.strictSlashes?")":"|$)"),H.value+=$,L.globstar=!0,L.output+=r.output+H.output,V($);continue}if("slash"===r.type&&"bos"!==r.prev.type&&"/"===t[0]){const e=void 0!==t[1]?"|$":"";L.output=L.output.slice(0,-(r.output+H.output).length),r.output="(?:"+r.output,H.type="globstar",H.output=`${I(n)}${x}|${x}${e})`,H.value+=$,L.output+=r.output+H.output,L.globstar=!0,V($+W()),X({type:"slash",value:"/",output:""});continue}if("bos"===r.type&&"/"===t[0]){H.type="globstar",H.value+=$,H.output=`(?:^|${x}|${I(n)}${x})`,L.output=H.output,L.globstar=!0,V($+W()),X({type:"slash",value:"/",output:""});continue}L.output=L.output.slice(0,-H.output.length),H.type="globstar",H.output=I(n),H.value+=$,L.output+=H.output,L.globstar=!0,V($);continue}const r={type:"star",value:$,output:M};!0!==n.bash?!H||"bracket"!==H.type&&"paren"!==H.type||!0!==n.regex?(L.index!==L.start&&"slash"!==H.type&&"dot"!==H.type||("dot"===H.type?(L.output+=C,H.output+=C):!0===n.dot?(L.output+=R,H.output+=R):(L.output+=N,H.output+=N),"*"!==B()&&(L.output+=k,H.output+=k)),X(r)):(r.output=$,X(r)):(r.output=".*?","bos"!==H.type&&"slash"!==H.type||(r.output=N+r.output),X(r))}for(;L.brackets>0;){if(!0===n.strictBrackets)throw new SyntaxError(h("closing","]"));L.output=i.escapeLast(L.output,"["),Q("brackets")}for(;L.parens>0;){if(!0===n.strictBrackets)throw new SyntaxError(h("closing",")"));L.output=i.escapeLast(L.output,"("),Q("parens")}for(;L.braces>0;){if(!0===n.strictBrackets)throw new SyntaxError(h("closing","}"));L.output=i.escapeLast(L.output,"{"),Q("braces")}if(!0===n.strictSlashes||"star"!==H.type&&"bracket"!==H.type||X({type:"maybe_slash",value:"",output:x+"?"}),!0===L.backtrack){L.output="";for(const e of L.tokens)L.output+=null!=e.output?e.output:e.value,e.suffix&&(L.output+=e.suffix)}return L};p.fastpaths=(e,t)=>{const n={...t},o="number"==typeof n.maxLength?Math.min(s,n.maxLength):s,a=e.length;if(a>o)throw new SyntaxError(`Input length: ${a}, exceeds maximum allowed length: ${o}`);e=l[e]||e;const c=i.isWindows(t),{DOT_LITERAL:u,SLASH_LITERAL:h,ONE_CHAR:p,DOTS_SLASH:d,NO_DOT:f,NO_DOTS:m,NO_DOTS_SLASH:g,STAR:v,START_ANCHOR:y}=r.globChars(c),b=n.dot?m:f,_=n.dot?g:f,w=n.capture?"":"?:";let x=!0===n.bash?".*?":v;n.capture&&(x=`(${x})`);const k=e=>!0===e.noglobstar?x:`(${w}(?:(?!${y}${e.dot?d:u}).)*?)`,E=e=>{switch(e){case"*":return`${b}${p}${x}`;case".*":return`${u}${p}${x}`;case"*.*":return`${b}${x}${u}${p}${x}`;case"*/*":return`${b}${x}${h}${p}${_}${x}`;case"**":return b+k(n);case"**/*":return`(?:${b}${k(n)}${h})?${_}${p}${x}`;case"**/*.*":return`(?:${b}${k(n)}${h})?${_}${x}${u}${p}${x}`;case"**/.*":return`(?:${b}${k(n)}${h})?${u}${p}${x}`;default:{const t=/^(.*?)\.(\w+)$/.exec(e);if(!t)return;const n=E(t[1]);if(!n)return;return n+u+t[2]}}},S=i.removePrefix(e,{negated:!1,prefix:""});let C=E(S);return C&&!0!==n.strictSlashes&&(C+=h+"?"),C},e.exports=p},4755:(e,t,n)=>{"use strict";const r=n(5622),i=n(2017),s=n(8573),o=n(2924),a=n(8223),c=(e,t,n=!1)=>{if(Array.isArray(e)){const r=e.map(e=>c(e,t,n));return e=>{for(const t of r){const n=t(e);if(n)return n}return!1}}const r=(i=e)&&"object"==typeof i&&!Array.isArray(i)&&e.tokens&&e.input;var i;if(""===e||"string"!=typeof e&&!r)throw new TypeError("Expected pattern to be a non-empty string");const s=t||{},a=o.isWindows(t),l=r?c.compileRe(e,t):c.makeRe(e,t,!1,!0),u=l.state;delete l.state;let h=()=>!1;if(s.ignore){const e={...t,ignore:null,onMatch:null,onResult:null};h=c(s.ignore,e,n)}const p=(n,r=!1)=>{const{isMatch:i,match:o,output:p}=c.test(n,l,t,{glob:e,posix:a}),d={glob:e,state:u,regex:l,posix:a,input:n,output:p,match:o,isMatch:i};return"function"==typeof s.onResult&&s.onResult(d),!1===i?(d.isMatch=!1,!!r&&d):h(n)?("function"==typeof s.onIgnore&&s.onIgnore(d),d.isMatch=!1,!!r&&d):("function"==typeof s.onMatch&&s.onMatch(d),!r||d)};return n&&(p.state=u),p};c.test=(e,t,n,{glob:r,posix:i}={})=>{if("string"!=typeof e)throw new TypeError("Expected input to be a string");if(""===e)return{isMatch:!1,output:""};const s=n||{},a=s.format||(i?o.toPosixSlashes:null);let l=e===r,u=l&&a?a(e):e;return!1===l&&(u=a?a(e):e,l=u===r),!1!==l&&!0!==s.capture||(l=!0===s.matchBase||!0===s.basename?c.matchBase(e,t,n,i):t.exec(u)),{isMatch:Boolean(l),match:l,output:u}},c.matchBase=(e,t,n,i=o.isWindows(n))=>(t instanceof RegExp?t:c.makeRe(t,n)).test(r.basename(e)),c.isMatch=(e,t,n)=>c(t,n)(e),c.parse=(e,t)=>Array.isArray(e)?e.map(e=>c.parse(e,t)):s(e,{...t,fastpaths:!1}),c.scan=(e,t)=>i(e,t),c.compileRe=(e,t,n=!1,r=!1)=>{if(!0===n)return e.output;const i=t||{},s=i.contains?"":"^",o=i.contains?"":"$";let a=`${s}(?:${e.output})${o}`;e&&!0===e.negated&&(a=`^(?!${a}).*$`);const l=c.toRegex(a,t);return!0===r&&(l.state=e),l},c.makeRe=(e,t={},n=!1,r=!1)=>{if(!e||"string"!=typeof e)throw new TypeError("Expected a non-empty string");let i={negated:!1,fastpaths:!0};return!1===t.fastpaths||"."!==e[0]&&"*"!==e[0]||(i.output=s.fastpaths(e,t)),i.output||(i=s(e,t)),c.compileRe(i,t,n,r)},c.toRegex=(e,t)=>{try{const n=t||{};return new RegExp(e,n.flags||(n.nocase?"i":""))}catch(e){if(t&&!0===t.debug)throw e;return/$^/}},c.constants=a,e.exports=c},2017:(e,t,n)=>{"use strict";const r=n(2924),{CHAR_ASTERISK:i,CHAR_AT:s,CHAR_BACKWARD_SLASH:o,CHAR_COMMA:a,CHAR_DOT:c,CHAR_EXCLAMATION_MARK:l,CHAR_FORWARD_SLASH:u,CHAR_LEFT_CURLY_BRACE:h,CHAR_LEFT_PARENTHESES:p,CHAR_LEFT_SQUARE_BRACKET:d,CHAR_PLUS:f,CHAR_QUESTION_MARK:m,CHAR_RIGHT_CURLY_BRACE:g,CHAR_RIGHT_PARENTHESES:v,CHAR_RIGHT_SQUARE_BRACKET:y}=n(8223),b=e=>e===u||e===o,_=e=>{!0!==e.isPrefix&&(e.depth=e.isGlobstar?1/0:1)};e.exports=(e,t)=>{const n=t||{},w=e.length-1,x=!0===n.parts||!0===n.scanToEnd,k=[],E=[],S=[];let C,R,T=e,A=-1,P=0,O=0,I=!1,N=!1,D=!1,M=!1,L=!1,j=!1,q=!1,F=!1,$=!1,H=!1,z=0,B={value:"",depth:0,isGlob:!1};const W=()=>A>=w,U=()=>(C=R,T.charCodeAt(++A));for(;A0&&(G=T.slice(0,P),T=T.slice(P),O-=P),V&&!0===D&&O>0?(V=T.slice(0,O),K=T.slice(O)):!0===D?(V="",K=T):V=T,V&&""!==V&&"/"!==V&&V!==T&&b(V.charCodeAt(V.length-1))&&(V=V.slice(0,-1)),!0===n.unescape&&(K&&(K=r.removeBackslashes(K)),V&&!0===q&&(V=r.removeBackslashes(V)));const Y={prefix:G,input:e,start:P,base:V,glob:K,isBrace:I,isBracket:N,isGlob:D,isExtglob:M,isGlobstar:L,negated:F,negatedExtglob:$};if(!0===n.tokens&&(Y.maxDepth=0,b(R)||E.push(B),Y.tokens=E),!0===n.parts||!0===n.tokens){let t;for(let r=0;r{"use strict";const r=n(5622),i="win32"===process.platform,{REGEX_BACKSLASH:s,REGEX_REMOVE_BACKSLASH:o,REGEX_SPECIAL_CHARS:a,REGEX_SPECIAL_CHARS_GLOBAL:c}=n(8223);t.isObject=e=>null!==e&&"object"==typeof e&&!Array.isArray(e),t.hasRegexChars=e=>a.test(e),t.isRegexChar=e=>1===e.length&&t.hasRegexChars(e),t.escapeRegex=e=>e.replace(c,"\\$1"),t.toPosixSlashes=e=>e.replace(s,"/"),t.removeBackslashes=e=>e.replace(o,e=>"\\"===e?"":e),t.supportsLookbehinds=()=>{const e=process.version.slice(1).split(".").map(Number);return 3===e.length&&e[0]>=9||8===e[0]&&e[1]>=10},t.isWindows=e=>e&&"boolean"==typeof e.windows?e.windows:!0===i||"\\"===r.sep,t.escapeLast=(e,n,r)=>{const i=e.lastIndexOf(n,r);return-1===i?e:"\\"===e[i-1]?t.escapeLast(e,n,i-1):`${e.slice(0,i)}\\${e.slice(i)}`},t.removePrefix=(e,t={})=>{let n=e;return n.startsWith("./")&&(n=n.slice(2),t.prefix="./"),n},t.wrapOutput=(e,t={},n={})=>{let r=`${n.contains?"":"^"}(?:${e})${n.contains?"":"$"}`;return!0===t.negated&&(r=`(?:^(?!${r}).*$)`),r}},7135:(e,t,n)=>{"use strict";const r=n(4784);e.exports=async({cwd:e}={})=>r("package.json",{cwd:e}),e.exports.sync=({cwd:e}={})=>r.sync("package.json",{cwd:e})},4784:(e,t,n)=>{"use strict";const r=n(5622),i=n(1388);e.exports=(e,t={})=>{const n=r.resolve(t.cwd||""),{root:s}=r.parse(n),o=[].concat(e);return new Promise(e=>{!function t(n){i(o,{cwd:n}).then(i=>{i?e(r.join(n,i)):n===s?e(null):t(r.dirname(n))})}(n)})},e.exports.sync=(e,t={})=>{let n=r.resolve(t.cwd||"");const{root:s}=r.parse(n),o=[].concat(e);for(;;){const e=i.sync(o,{cwd:n});if(e)return r.join(n,e);if(n===s)return null;n=r.dirname(n)}}},1388:(e,t,n)=>{"use strict";const r=n(5622),i=n(5111),s=n(4932);e.exports=(e,t)=>(t=Object.assign({cwd:process.cwd()},t),s(e,e=>i(r.resolve(t.cwd,e)),t)),e.exports.sync=(e,t)=>{t=Object.assign({cwd:process.cwd()},t);for(const n of e)if(i.sync(r.resolve(t.cwd,n)))return n}},3258:(e,t,n)=>{"use strict";const r=n(7404),i=e=>{if(!Number.isInteger(e)&&e!==1/0||!(e>0))return Promise.reject(new TypeError("Expected `concurrency` to be a number from 1 and up"));const t=[];let n=0;const i=()=>{n--,t.length>0&&t.shift()()},s=(e,t,...s)=>{n++;const o=r(e,...s);t(o),o.then(i,i)},o=(r,...i)=>new Promise(o=>((r,i,...o)=>{nn},pendingCount:{get:()=>t.length},clearQueue:{value:()=>{t.length=0}}}),o};e.exports=i,e.exports.default=i},4932:(e,t,n)=>{"use strict";const r=n(3258);class i extends Error{constructor(e){super(),this.value=e}}const s=(e,t)=>Promise.resolve(e).then(t),o=e=>Promise.all(e).then(e=>!0===e[1]&&Promise.reject(new i(e[0])));e.exports=(e,t,n)=>{n=Object.assign({concurrency:1/0,preserveOrder:!0},n);const a=r(n.concurrency),c=[...e].map(e=>[e,a(s,e,t)]),l=r(n.preserveOrder?1:1/0);return Promise.all(c.map(e=>l(o,e))).then(()=>{}).catch(e=>e instanceof i?e.value:Promise.reject(e))}},5111:(e,t,n)=>{"use strict";const r=n(5747);e.exports=e=>new Promise(t=>{r.access(e,e=>{t(!e)})}),e.exports.sync=e=>{try{return r.accessSync(e),!0}catch(e){return!1}}},5266:(e,t,n)=>{"use strict";t.__esModule=!0,t.default=void 0;var r,i=(r=n(5218))&&r.__esModule?r:{default:r},s=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};r.get||r.set?Object.defineProperty(t,n,r):t[n]=e[n]}return t.default=e,t}(n(1127));var o=function(e){return new i.default(e)};Object.assign(o,s),delete o.__esModule;var a=o;t.default=a,e.exports=t.default},1562:(e,t,n)=>{"use strict";t.__esModule=!0,t.default=void 0;var r,i,s=S(n(5417)),o=S(n(6258)),a=S(n(8335)),c=S(n(6631)),l=S(n(1748)),u=S(n(5499)),h=S(n(9851)),p=S(n(4538)),d=S(n(3115)),f=S(n(3295)),m=E(n(7065)),g=S(n(3180)),v=S(n(8383)),y=S(n(2581)),b=S(n(7166)),_=E(n(9644)),w=E(n(1270)),x=E(n(8268)),k=n(190);function E(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};r.get||r.set?Object.defineProperty(t,n,r):t[n]=e[n]}return t.default=e,t}function S(e){return e&&e.__esModule?e:{default:e}}function C(e,t){for(var n=0;nthis.position&&(i=this.parseWhitespaceEquivalentTokens(t)),this.isNamedCombinator()?n=this.namedCombinator():this.currToken[_.FIELDS.TYPE]===w.combinator?(n=new v.default({value:this.content(),source:I(this.currToken),sourceIndex:this.currToken[_.FIELDS.START_POS]}),this.position++):R[this.currToken[_.FIELDS.TYPE]]||i||this.unexpected(),n){if(i){var s=this.convertWhitespaceNodesToSpace(i),o=s.space,a=s.rawSpace;n.spaces.before=o,n.rawSpaceBefore=a}}else{var c=this.convertWhitespaceNodesToSpace(i,!0),l=c.space,u=c.rawSpace;u||(u=l);var h={},p={spaces:{}};l.endsWith(" ")&&u.endsWith(" ")?(h.before=l.slice(0,l.length-1),p.spaces.before=u.slice(0,u.length-1)):l.startsWith(" ")&&u.startsWith(" ")?(h.after=l.slice(1),p.spaces.after=u.slice(1)):p.value=u,n=new v.default({value:" ",source:N(r,this.tokens[this.position-1]),sourceIndex:r[_.FIELDS.START_POS],spaces:h,raws:p})}return this.currToken&&this.currToken[_.FIELDS.TYPE]===w.space&&(n.spaces.after=this.optionalSpace(this.content()),this.position++),this.newNode(n)}var d=this.parseWhitespaceEquivalentTokens(t);if(d.length>0){var f=this.current.last;if(f){var m=this.convertWhitespaceNodesToSpace(d),g=m.space,y=m.rawSpace;void 0!==y&&(f.rawSpaceAfter+=y),f.spaces.after+=g}else d.forEach((function(t){return e.newNode(t)}))}},i.comma=function(){if(this.position===this.tokens.length-1)return this.root.trailingComma=!0,void this.position++;this.current._inferEndPosition();var e=new c.default({source:{start:A(this.tokens[this.position+1])}});this.current.parent.append(e),this.current=e,this.position++},i.comment=function(){var e=this.currToken;this.newNode(new u.default({value:this.content(),source:I(e),sourceIndex:e[_.FIELDS.START_POS]})),this.position++},i.error=function(e,t){throw this.root.error(e,t)},i.missingBackslash=function(){return this.error("Expected a backslash preceding the semicolon.",{index:this.currToken[_.FIELDS.START_POS]})},i.missingParenthesis=function(){return this.expected("opening parenthesis",this.currToken[_.FIELDS.START_POS])},i.missingSquareBracket=function(){return this.expected("opening square bracket",this.currToken[_.FIELDS.START_POS])},i.unexpected=function(){return this.error("Unexpected '"+this.content()+"'. Escaping special characters with \\ may help.",this.currToken[_.FIELDS.START_POS])},i.namespace=function(){var e=this.prevToken&&this.content(this.prevToken)||!0;return this.nextToken[_.FIELDS.TYPE]===w.word?(this.position++,this.word(e)):this.nextToken[_.FIELDS.TYPE]===w.asterisk?(this.position++,this.universal(e)):void 0},i.nesting=function(){if(this.nextToken&&"|"===this.content(this.nextToken))return void this.position++;var e=this.currToken;this.newNode(new y.default({value:this.content(),source:I(e),sourceIndex:e[_.FIELDS.START_POS]})),this.position++},i.parentheses=function(){var e=this.current.last,t=1;if(this.position++,e&&e.type===x.PSEUDO){var n=new c.default({source:{start:A(this.tokens[this.position-1])}}),r=this.current;for(e.append(n),this.current=n;this.position1&&e.nextToken&&e.nextToken[_.FIELDS.TYPE]===w.openParenthesis&&e.error("Misplaced parenthesis.",{index:e.nextToken[_.FIELDS.START_POS]})})):this.expected(["pseudo-class","pseudo-element"],this.position-1)},i.space=function(){var e=this.content();0===this.position||this.prevToken[_.FIELDS.TYPE]===w.comma||this.prevToken[_.FIELDS.TYPE]===w.openParenthesis?(this.spaces=this.optionalSpace(e),this.position++):this.position===this.tokens.length-1||this.nextToken[_.FIELDS.TYPE]===w.comma||this.nextToken[_.FIELDS.TYPE]===w.closeParenthesis?(this.current.last.spaces.after=this.optionalSpace(e),this.position++):this.combinator()},i.string=function(){var e=this.currToken;this.newNode(new d.default({value:this.content(),source:I(e),sourceIndex:e[_.FIELDS.START_POS]})),this.position++},i.universal=function(e){var t=this.nextToken;if(t&&"|"===this.content(t))return this.position++,this.namespace();var n=this.currToken;this.newNode(new g.default({value:this.content(),source:I(n),sourceIndex:n[_.FIELDS.START_POS]}),e),this.position++},i.splitWord=function(e,t){for(var n=this,r=this.nextToken,i=this.content();r&&~[w.dollar,w.caret,w.equals,w.word].indexOf(r[_.FIELDS.TYPE]);){this.position++;var a=this.content();if(i+=a,a.lastIndexOf("\\")===a.length-1){var c=this.nextToken;c&&c[_.FIELDS.TYPE]===w.space&&(i+=this.requiredSpace(this.content(c)),this.position++)}r=this.nextToken}var u=(0,s.default)(i,".").filter((function(e){return"\\"!==i[e-1]})),d=(0,s.default)(i,"#").filter((function(e){return"\\"!==i[e-1]})),f=(0,s.default)(i,"#{");f.length&&(d=d.filter((function(e){return!~f.indexOf(e)})));var m=(0,b.default)((0,o.default)([0].concat(u,d)));m.forEach((function(r,s){var o,a=m[s+1]||i.length,c=i.slice(r,a);if(0===s&&t)return t.call(n,c,m.length);var f=n.currToken,g=f[_.FIELDS.START_POS]+m[s],v=O(f[1],f[2]+r,f[3],f[2]+(a-1));if(~u.indexOf(r)){var y={value:c.slice(1),source:v,sourceIndex:g};o=new l.default(D(y,"value"))}else if(~d.indexOf(r)){var b={value:c.slice(1),source:v,sourceIndex:g};o=new h.default(D(b,"value"))}else{var w={value:c,source:v,sourceIndex:g};D(w,"value"),o=new p.default(w)}n.newNode(o,e),e=null})),this.position++},i.word=function(e){var t=this.nextToken;return t&&"|"===this.content(t)?(this.position++,this.namespace()):this.splitWord(e)},i.loop=function(){for(;this.position{"use strict";t.__esModule=!0,t.default=void 0;var r,i=(r=n(1562))&&r.__esModule?r:{default:r};var s=function(){function e(e,t){this.func=e||function(){},this.funcRes=null,this.options=t}var t=e.prototype;return t._shouldUpdateSelector=function(e,t){return void 0===t&&(t={}),!1!==Object.assign({},this.options,t).updateSelector&&"string"!=typeof e},t._isLossy=function(e){return void 0===e&&(e={}),!1===Object.assign({},this.options,e).lossless},t._root=function(e,t){return void 0===t&&(t={}),new i.default(e,this._parseOptions(t)).root},t._parseOptions=function(e){return{lossy:this._isLossy(e)}},t._run=function(e,t){var n=this;return void 0===t&&(t={}),new Promise((function(r,i){try{var s=n._root(e,t);Promise.resolve(n.func(s)).then((function(r){var i=void 0;return n._shouldUpdateSelector(e,t)&&(i=s.toString(),e.selector=i),{transform:r,root:s,string:i}})).then(r,i)}catch(e){return void i(e)}}))},t._runSync=function(e,t){void 0===t&&(t={});var n=this._root(e,t),r=this.func(n);if(r&&"function"==typeof r.then)throw new Error("Selector processor returned a promise to a synchronous call.");var i=void 0;return t.updateSelector&&"string"!=typeof e&&(i=n.toString(),e.selector=i),{transform:r,root:n,string:i}},t.ast=function(e,t){return this._run(e,t).then((function(e){return e.root}))},t.astSync=function(e,t){return this._runSync(e,t).root},t.transform=function(e,t){return this._run(e,t).then((function(e){return e.transform}))},t.transformSync=function(e,t){return this._runSync(e,t).transform},t.process=function(e,t){return this._run(e,t).then((function(e){return e.string||e.root.toString()}))},t.processSync=function(e,t){var n=this._runSync(e,t);return n.string||n.root.toString()},e}();t.default=s,e.exports=t.default},7065:(e,t,n)=>{"use strict";t.__esModule=!0,t.unescapeValue=m,t.default=void 0;var r,i=c(n(8612)),s=c(n(1154)),o=c(n(678)),a=n(8268);function c(e){return e&&e.__esModule?e:{default:e}}function l(e,t){for(var n=0;n0)||e.quoted||0!==n.before.length||e.spaces.value&&e.spaces.value.after||(n.before=" "),y(t,n)})))),t.push("]"),t.push(this.rawSpaceAfter),t.join("")},s=r,(o=[{key:"quoted",get:function(){var e=this.quoteMark;return"'"===e||'"'===e},set:function(e){d()}},{key:"quoteMark",get:function(){return this._quoteMark},set:function(e){this._constructed?this._quoteMark!==e&&(this._quoteMark=e,this._syncRawValue()):this._quoteMark=e}},{key:"qualifiedAttribute",get:function(){return this.qualifiedName(this.raws.attribute||this.attribute)}},{key:"insensitiveFlag",get:function(){return this.insensitive?"i":""}},{key:"value",get:function(){return this._value},set:function(e){if(this._constructed){var t=m(e),n=t.deprecatedUsage,r=t.unescaped,i=t.quoteMark;if(n&&p(),r===this._value&&i===this._quoteMark)return;this._value=r,this._quoteMark=i,this._syncRawValue()}else this._value=e}},{key:"attribute",get:function(){return this._attribute},set:function(e){this._handleEscapes("attribute",e),this._attribute=e}}])&&l(s.prototype,o),c&&l(s,c),r}(o.default);t.default=g,g.NO_QUOTE=null,g.SINGLE_QUOTE="'",g.DOUBLE_QUOTE='"';var v=((r={"'":{quotes:"single",wrap:!0},'"':{quotes:"double",wrap:!0}}).null={isIdentifier:!0},r);function y(e,t){return""+t.before+e+t.after}},1748:(e,t,n)=>{"use strict";t.__esModule=!0,t.default=void 0;var r=a(n(8612)),i=n(190),s=a(n(4945)),o=n(8268);function a(e){return e&&e.__esModule?e:{default:e}}function c(e,t){for(var n=0;n{"use strict";t.__esModule=!0,t.default=void 0;var r,i=(r=n(4945))&&r.__esModule?r:{default:r},s=n(8268);var o=function(e){var t,n;function r(t){var n;return(n=e.call(this,t)||this).type=s.COMBINATOR,n}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,r}(i.default);t.default=o,e.exports=t.default},5499:(e,t,n)=>{"use strict";t.__esModule=!0,t.default=void 0;var r,i=(r=n(4945))&&r.__esModule?r:{default:r},s=n(8268);var o=function(e){var t,n;function r(t){var n;return(n=e.call(this,t)||this).type=s.COMMENT,n}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,r}(i.default);t.default=o,e.exports=t.default},7740:(e,t,n)=>{"use strict";t.__esModule=!0,t.universal=t.tag=t.string=t.selector=t.root=t.pseudo=t.nesting=t.id=t.comment=t.combinator=t.className=t.attribute=void 0;var r=m(n(7065)),i=m(n(1748)),s=m(n(8383)),o=m(n(5499)),a=m(n(9851)),c=m(n(2581)),l=m(n(3295)),u=m(n(8335)),h=m(n(6631)),p=m(n(3115)),d=m(n(4538)),f=m(n(3180));function m(e){return e&&e.__esModule?e:{default:e}}t.attribute=function(e){return new r.default(e)};t.className=function(e){return new i.default(e)};t.combinator=function(e){return new s.default(e)};t.comment=function(e){return new o.default(e)};t.id=function(e){return new a.default(e)};t.nesting=function(e){return new c.default(e)};t.pseudo=function(e){return new l.default(e)};t.root=function(e){return new u.default(e)};t.selector=function(e){return new h.default(e)};t.string=function(e){return new p.default(e)};t.tag=function(e){return new d.default(e)};t.universal=function(e){return new f.default(e)}},4227:(e,t,n)=>{"use strict";t.__esModule=!0,t.default=void 0;var r,i=(r=n(4945))&&r.__esModule?r:{default:r},s=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};r.get||r.set?Object.defineProperty(t,n,r):t[n]=e[n]}return t.default=e,t}(n(8268));function o(e,t){for(var n=0;n=e&&(this.indexes[n]=t-1);return this},l.removeAll=function(){var e=this.nodes,t=Array.isArray(e),n=0;for(e=t?e:e[Symbol.iterator]();;){var r;if(t){if(n>=e.length)break;r=e[n++]}else{if((n=e.next()).done)break;r=n.value}r.parent=void 0}return this.nodes=[],this},l.empty=function(){return this.removeAll()},l.insertAfter=function(e,t){t.parent=this;var n,r=this.index(e);for(var i in this.nodes.splice(r+1,0,t),t.parent=this,this.indexes)r<=(n=this.indexes[i])&&(this.indexes[i]=n+1);return this},l.insertBefore=function(e,t){t.parent=this;var n,r=this.index(e);for(var i in this.nodes.splice(r,0,t),t.parent=this,this.indexes)(n=this.indexes[i])<=r&&(this.indexes[i]=n+1);return this},l._findChildAtPosition=function(e,t){var n=void 0;return this.each((function(r){if(r.atPosition){var i=r.atPosition(e,t);if(i)return n=i,!1}else if(r.isAtPosition(e,t))return n=r,!1})),n},l.atPosition=function(e,t){return this.isAtPosition(e,t)?this._findChildAtPosition(e,t)||this:void 0},l._inferEndPosition=function(){this.last&&this.last.source&&this.last.source.end&&(this.source=this.source||{},this.source.end=this.source.end||{},Object.assign(this.source.end,this.last.source.end))},l.each=function(e){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach++;var t=this.lastEach;if(this.indexes[t]=0,this.length){for(var n,r;this.indexes[t]{"use strict";t.__esModule=!0,t.isNode=o,t.isPseudoElement=_,t.isPseudoClass=function(e){return f(e)&&!_(e)},t.isContainer=function(e){return!(!o(e)||!e.walk)},t.isNamespace=function(e){return c(e)||y(e)},t.isUniversal=t.isTag=t.isString=t.isSelector=t.isRoot=t.isPseudo=t.isNesting=t.isIdentifier=t.isComment=t.isCombinator=t.isClassName=t.isAttribute=void 0;var r,i=n(8268),s=((r={})[i.ATTRIBUTE]=!0,r[i.CLASS]=!0,r[i.COMBINATOR]=!0,r[i.COMMENT]=!0,r[i.ID]=!0,r[i.NESTING]=!0,r[i.PSEUDO]=!0,r[i.ROOT]=!0,r[i.SELECTOR]=!0,r[i.STRING]=!0,r[i.TAG]=!0,r[i.UNIVERSAL]=!0,r);function o(e){return"object"==typeof e&&s[e.type]}function a(e,t){return o(t)&&t.type===e}var c=a.bind(null,i.ATTRIBUTE);t.isAttribute=c;var l=a.bind(null,i.CLASS);t.isClassName=l;var u=a.bind(null,i.COMBINATOR);t.isCombinator=u;var h=a.bind(null,i.COMMENT);t.isComment=h;var p=a.bind(null,i.ID);t.isIdentifier=p;var d=a.bind(null,i.NESTING);t.isNesting=d;var f=a.bind(null,i.PSEUDO);t.isPseudo=f;var m=a.bind(null,i.ROOT);t.isRoot=m;var g=a.bind(null,i.SELECTOR);t.isSelector=g;var v=a.bind(null,i.STRING);t.isString=v;var y=a.bind(null,i.TAG);t.isTag=y;var b=a.bind(null,i.UNIVERSAL);function _(e){return f(e)&&e.value&&(e.value.startsWith("::")||":before"===e.value||":after"===e.value)}t.isUniversal=b},9851:(e,t,n)=>{"use strict";t.__esModule=!0,t.default=void 0;var r,i=(r=n(4945))&&r.__esModule?r:{default:r},s=n(8268);var o=function(e){var t,n;function r(t){var n;return(n=e.call(this,t)||this).type=s.ID,n}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,r.prototype.toString=function(){return[this.rawSpaceBefore,String("#"+this.stringifyProperty("value")),this.rawSpaceAfter].join("")},r}(i.default);t.default=o,e.exports=t.default},1127:(e,t,n)=>{"use strict";t.__esModule=!0;var r=n(8268);Object.keys(r).forEach((function(e){"default"!==e&&"__esModule"!==e&&(t[e]=r[e])}));var i=n(7740);Object.keys(i).forEach((function(e){"default"!==e&&"__esModule"!==e&&(t[e]=i[e])}));var s=n(7620);Object.keys(s).forEach((function(e){"default"!==e&&"__esModule"!==e&&(t[e]=s[e])}))},678:(e,t,n)=>{"use strict";t.__esModule=!0,t.default=void 0;var r=s(n(8612)),i=n(190);function s(e){return e&&e.__esModule?e:{default:e}}function o(e,t){for(var n=0;n{"use strict";t.__esModule=!0,t.default=void 0;var r,i=(r=n(4945))&&r.__esModule?r:{default:r},s=n(8268);var o=function(e){var t,n;function r(t){var n;return(n=e.call(this,t)||this).type=s.NESTING,n.value="&",n}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,r}(i.default);t.default=o,e.exports=t.default},4945:(e,t,n)=>{"use strict";t.__esModule=!0,t.default=void 0;var r=n(190);function i(e,t){for(var n=0;ne)&&(!(this.source.end.linet)&&!(this.source.end.line===e&&this.source.end.column{"use strict";t.__esModule=!0,t.default=void 0;var r,i=(r=n(4227))&&r.__esModule?r:{default:r},s=n(8268);var o=function(e){var t,n;function r(t){var n;return(n=e.call(this,t)||this).type=s.PSEUDO,n}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,r.prototype.toString=function(){var e=this.length?"("+this.map(String).join(",")+")":"";return[this.rawSpaceBefore,this.stringifyProperty("value"),e,this.rawSpaceAfter].join("")},r}(i.default);t.default=o,e.exports=t.default},8335:(e,t,n)=>{"use strict";t.__esModule=!0,t.default=void 0;var r,i=(r=n(4227))&&r.__esModule?r:{default:r},s=n(8268);function o(e,t){for(var n=0;n{"use strict";t.__esModule=!0,t.default=void 0;var r,i=(r=n(4227))&&r.__esModule?r:{default:r},s=n(8268);var o=function(e){var t,n;function r(t){var n;return(n=e.call(this,t)||this).type=s.SELECTOR,n}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,r}(i.default);t.default=o,e.exports=t.default},3115:(e,t,n)=>{"use strict";t.__esModule=!0,t.default=void 0;var r,i=(r=n(4945))&&r.__esModule?r:{default:r},s=n(8268);var o=function(e){var t,n;function r(t){var n;return(n=e.call(this,t)||this).type=s.STRING,n}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,r}(i.default);t.default=o,e.exports=t.default},4538:(e,t,n)=>{"use strict";t.__esModule=!0,t.default=void 0;var r,i=(r=n(678))&&r.__esModule?r:{default:r},s=n(8268);var o=function(e){var t,n;function r(t){var n;return(n=e.call(this,t)||this).type=s.TAG,n}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,r}(i.default);t.default=o,e.exports=t.default},8268:(e,t)=>{"use strict";t.__esModule=!0,t.UNIVERSAL=t.ATTRIBUTE=t.CLASS=t.COMBINATOR=t.COMMENT=t.ID=t.NESTING=t.PSEUDO=t.ROOT=t.SELECTOR=t.STRING=t.TAG=void 0;t.TAG="tag";t.STRING="string";t.SELECTOR="selector";t.ROOT="root";t.PSEUDO="pseudo";t.NESTING="nesting";t.ID="id";t.COMMENT="comment";t.COMBINATOR="combinator";t.CLASS="class";t.ATTRIBUTE="attribute";t.UNIVERSAL="universal"},3180:(e,t,n)=>{"use strict";t.__esModule=!0,t.default=void 0;var r,i=(r=n(678))&&r.__esModule?r:{default:r},s=n(8268);var o=function(e){var t,n;function r(t){var n;return(n=e.call(this,t)||this).type=s.UNIVERSAL,n.value="*",n}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,r}(i.default);t.default=o,e.exports=t.default},7166:(e,t)=>{"use strict";t.__esModule=!0,t.default=function(e){return e.sort((function(e,t){return e-t}))},e.exports=t.default},1270:(e,t)=>{"use strict";t.__esModule=!0,t.combinator=t.word=t.comment=t.str=t.tab=t.newline=t.feed=t.cr=t.backslash=t.bang=t.slash=t.doubleQuote=t.singleQuote=t.space=t.greaterThan=t.pipe=t.equals=t.plus=t.caret=t.tilde=t.dollar=t.closeSquare=t.openSquare=t.closeParenthesis=t.openParenthesis=t.semicolon=t.colon=t.comma=t.at=t.asterisk=t.ampersand=void 0;t.ampersand=38;t.asterisk=42;t.at=64;t.comma=44;t.colon=58;t.semicolon=59;t.openParenthesis=40;t.closeParenthesis=41;t.openSquare=91;t.closeSquare=93;t.dollar=36;t.tilde=126;t.caret=94;t.plus=43;t.equals=61;t.pipe=124;t.greaterThan=62;t.space=32;t.singleQuote=39;t.doubleQuote=34;t.slash=47;t.bang=33;t.backslash=92;t.cr=13;t.feed=12;t.newline=10;t.tab=9;t.str=39;t.comment=-1;t.word=-2;t.combinator=-3},9644:(e,t,n)=>{"use strict";t.__esModule=!0,t.default=function(e){var t,n,r,i,o,a,c,l,h,p,d,f,m,g=[],v=e.css.valueOf(),y=v.length,b=-1,_=1,w=0,x=0;function k(t,n){if(!e.safe)throw e.error("Unclosed "+t,_,w-b,w);h=(v+=n).length-1}for(;w0?(p=_+c,d=h-l[c].length):(p=_,d=b),m=s.comment,_=p,i=p,r=h-d):t===s.slash?(m=t,i=_,r=w-b,x=(h=w)+1):(h=u(v,w),m=s.word,i=_,r=h-b),x=h+1}g.push([m,_,w-b,i,r,w,x]),d&&(b=d,d=null),w=x}return g},t.FIELDS=void 0;var r,i,s=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};r.get||r.set?Object.defineProperty(t,n,r):t[n]=e[n]}return t.default=e,t}(n(1270));for(var o=((r={})[s.tab]=!0,r[s.newline]=!0,r[s.cr]=!0,r[s.feed]=!0,r),a=((i={})[s.space]=!0,i[s.tab]=!0,i[s.newline]=!0,i[s.cr]=!0,i[s.feed]=!0,i[s.ampersand]=!0,i[s.asterisk]=!0,i[s.bang]=!0,i[s.comma]=!0,i[s.colon]=!0,i[s.semicolon]=!0,i[s.openParenthesis]=!0,i[s.closeParenthesis]=!0,i[s.openSquare]=!0,i[s.closeSquare]=!0,i[s.singleQuote]=!0,i[s.doubleQuote]=!0,i[s.plus]=!0,i[s.pipe]=!0,i[s.tilde]=!0,i[s.greaterThan]=!0,i[s.equals]=!0,i[s.dollar]=!0,i[s.caret]=!0,i[s.slash]=!0,i),c={},l=0;l<"0123456789abcdefABCDEF".length;l++)c["0123456789abcdefABCDEF".charCodeAt(l)]=!0;function u(e,t){var n,r=t;do{if(n=e.charCodeAt(r),a[n])return r-1;n===s.backslash?r=h(e,r)+1:r++}while(r{"use strict";t.__esModule=!0,t.default=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r0;){var i=n.shift();e[i]||(e[i]={}),e=e[i]}},e.exports=t.default},5215:(e,t)=>{"use strict";t.__esModule=!0,t.default=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r0;){var i=n.shift();if(!e[i])return;e=e[i]}return e},e.exports=t.default},190:(e,t,n)=>{"use strict";t.__esModule=!0,t.stripComments=t.ensureObject=t.getProp=t.unesc=void 0;var r=a(n(1154));t.unesc=r.default;var i=a(n(5215));t.getProp=i.default;var s=a(n(7232));t.ensureObject=s.default;var o=a(n(4178));function a(e){return e&&e.__esModule?e:{default:e}}t.stripComments=o.default},4178:(e,t)=>{"use strict";t.__esModule=!0,t.default=function(e){var t="",n=e.indexOf("/*"),r=0;for(;n>=0;){t+=e.slice(r,n);var i=e.indexOf("*/",n+2);if(i<0)return t;r=i+2,n=e.indexOf("/*",r)}return t+=e.slice(r)},e.exports=t.default},1154:(e,t)=>{"use strict";t.__esModule=!0,t.default=function(e){return e.replace(n,(function(e,t,n){var r="0x"+t-65536;return r!=r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)}))};var n=new RegExp("\\\\([\\da-f]{1,6}[\\x20\\t\\r\\n\\f]?|([\\x20\\t\\r\\n\\f])|.)","ig");e.exports=t.default},3135:e=>{ +e.exports=function(e,t){if("string"!=typeof e)throw new TypeError("expected path to be a string");if("\\"===e||"/"===e)return"/";var r=e.length;if(r<=1)return e;var n="";if(r>4&&"\\"===e[3]){var i=e[2];"?"!==i&&"."!==i||"\\\\"!==e.slice(0,2)||(e=e.slice(2),n="//")}var o=e.split(/[/\\]+/);return!1!==t&&""===o[o.length-1]&&o.pop(),n+o.join("/")}},59839:(e,t,r)=>{"use strict";var n=r(76417);function i(e,t){return function(e,t){var r;r="passthrough"!==t.algorithm?n.createHash(t.algorithm):new u;void 0===r.write&&(r.write=r.update,r.end=r.update);c(t,r).dispatch(e),r.update||r.end("");if(r.digest)return r.digest("buffer"===t.encoding?void 0:t.encoding);var i=r.read();if("buffer"===t.encoding)return i;return i.toString(t.encoding)}(e,t=a(e,t))}(t=e.exports=i).sha1=function(e){return i(e)},t.keys=function(e){return i(e,{excludeValues:!0,algorithm:"sha1",encoding:"hex"})},t.MD5=function(e){return i(e,{algorithm:"md5",encoding:"hex"})},t.keysMD5=function(e){return i(e,{algorithm:"md5",encoding:"hex",excludeValues:!0})};var o=n.getHashes?n.getHashes().slice():["sha1","md5"];o.push("passthrough");var s=["buffer","hex","binary","base64"];function a(e,t){t=t||{};var r={};if(r.algorithm=t.algorithm||"sha1",r.encoding=t.encoding||"hex",r.excludeValues=!!t.excludeValues,r.algorithm=r.algorithm.toLowerCase(),r.encoding=r.encoding.toLowerCase(),r.ignoreUnknown=!0===t.ignoreUnknown,r.respectType=!1!==t.respectType,r.respectFunctionNames=!1!==t.respectFunctionNames,r.respectFunctionProperties=!1!==t.respectFunctionProperties,r.unorderedArrays=!0===t.unorderedArrays,r.unorderedSets=!1!==t.unorderedSets,r.unorderedObjects=!1!==t.unorderedObjects,r.replacer=t.replacer||void 0,r.excludeKeys=t.excludeKeys||void 0,void 0===e)throw new Error("Object argument required.");for(var n=0;n=0)return this.dispatch("[CIRCULAR:"+s+"]");if(r.push(t),"undefined"!=typeof Buffer&&Buffer.isBuffer&&Buffer.isBuffer(t))return n("buffer:"),n(t);if("object"===o||"function"===o||"asyncfunction"===o){var a=Object.keys(t);e.unorderedObjects&&(a=a.sort()),!1===e.respectType||l(t)||a.splice(0,0,"prototype","__proto__","constructor"),e.excludeKeys&&(a=a.filter((function(t){return!e.excludeKeys(t)}))),n("object:"+a.length+":");var c=this;return a.forEach((function(r){c.dispatch(r),n(":"),e.excludeValues||c.dispatch(t[r]),n(",")}))}if(!this["_"+o]){if(e.ignoreUnknown)return n("["+o+"]");throw new Error('Unknown object type "'+o+'"')}this["_"+o](t)},_array:function(t,i){i=void 0!==i?i:!1!==e.unorderedArrays;var o=this;if(n("array:"+t.length+":"),!i||t.length<=1)return t.forEach((function(e){return o.dispatch(e)}));var s=[],a=t.map((function(t){var n=new u,i=r.slice();return c(e,n,i).dispatch(t),s=s.concat(i.slice(r.length)),n.read().toString()}));return r=r.concat(s),a.sort(),this._array(a,!1)},_date:function(e){return n("date:"+e.toJSON())},_symbol:function(e){return n("symbol:"+e.toString())},_error:function(e){return n("error:"+e.toString())},_boolean:function(e){return n("bool:"+e.toString())},_string:function(e){n("string:"+e.length+":"),n(e.toString())},_function:function(t){n("fn:"),l(t)?this.dispatch("[native]"):this.dispatch(t.toString()),!1!==e.respectFunctionNames&&this.dispatch("function-name:"+String(t.name)),e.respectFunctionProperties&&this._object(t)},_number:function(e){return n("number:"+e.toString())},_xml:function(e){return n("xml:"+e.toString())},_null:function(){return n("Null")},_undefined:function(){return n("Undefined")},_regexp:function(e){return n("regex:"+e.toString())},_uint8array:function(e){return n("uint8array:"),this.dispatch(Array.prototype.slice.call(e))},_uint8clampedarray:function(e){return n("uint8clampedarray:"),this.dispatch(Array.prototype.slice.call(e))},_int8array:function(e){return n("uint8array:"),this.dispatch(Array.prototype.slice.call(e))},_uint16array:function(e){return n("uint16array:"),this.dispatch(Array.prototype.slice.call(e))},_int16array:function(e){return n("uint16array:"),this.dispatch(Array.prototype.slice.call(e))},_uint32array:function(e){return n("uint32array:"),this.dispatch(Array.prototype.slice.call(e))},_int32array:function(e){return n("uint32array:"),this.dispatch(Array.prototype.slice.call(e))},_float32array:function(e){return n("float32array:"),this.dispatch(Array.prototype.slice.call(e))},_float64array:function(e){return n("float64array:"),this.dispatch(Array.prototype.slice.call(e))},_arraybuffer:function(e){return n("arraybuffer:"),this.dispatch(new Uint8Array(e))},_url:function(e){return n("url:"+e.toString())},_map:function(t){n("map:");var r=Array.from(t);return this._array(r,!1!==e.unorderedSets)},_set:function(t){n("set:");var r=Array.from(t);return this._array(r,!1!==e.unorderedSets)},_file:function(e){return n("file:"),this.dispatch([e.name,e.size,e.type,e.lastModfied])},_blob:function(){if(e.ignoreUnknown)return n("[blob]");throw Error('Hashing Blob objects is currently not supported\n(see https://github.com/puleos/object-hash/issues/26)\nUse "options.replacer" or "options.ignoreUnknown"\n')},_domwindow:function(){return n("domwindow")},_bigint:function(e){return n("bigint:"+e.toString())},_process:function(){return n("process")},_timer:function(){return n("timer")},_pipe:function(){return n("pipe")},_tcp:function(){return n("tcp")},_udp:function(){return n("udp")},_tty:function(){return n("tty")},_statwatcher:function(){return n("statwatcher")},_securecontext:function(){return n("securecontext")},_connection:function(){return n("connection")},_zlib:function(){return n("zlib")},_context:function(){return n("context")},_nodescript:function(){return n("nodescript")},_httpparser:function(){return n("httpparser")},_dataview:function(){return n("dataview")},_signal:function(){return n("signal")},_fsevent:function(){return n("fsevent")},_tlswrap:function(){return n("tlswrap")}}}function u(){return{buf:"",write:function(e){this.buf+=e},end:function(e){this.buf+=e},read:function(){return this.buf}}}t.writeToStream=function(e,t,r){return void 0===r&&(r=t,t={}),c(t=a(e,t),r).dispatch(e)}},18884:(e,t,r)=>{"use strict";const n=r(55610);e.exports=e=>{if(!Number.isInteger(e)&&e!==1/0||!(e>0))throw new TypeError("Expected `concurrency` to be a number from 1 and up");const t=new n;let r=0;const i=async(e,n,...i)=>{r++;const o=(async()=>e(...i))();n(o);try{await o}catch{}r--,t.size>0&&t.dequeue()()},o=(n,...o)=>new Promise(s=>{((n,o,...s)=>{t.enqueue(i.bind(null,n,o,...s)),(async()=>{await Promise.resolve(),r0&&t.dequeue()()})()})(n,s,...o)});return Object.defineProperties(o,{activeCount:{get:()=>r},pendingCount:{get:()=>t.size},clearQueue:{value:()=>{t.clear()}}}),o}},60364:(e,t,r)=>{"use strict";const n=r(18884);class i extends Error{constructor(e){super(),this.value=e}}const o=async(e,t)=>t(await e),s=async e=>{const t=await Promise.all(e);if(!0===t[1])throw new i(t[0]);return!1};e.exports=async(e,t,r)=>{r={concurrency:1/0,preserveOrder:!0,...r};const a=n(r.concurrency),l=[...e].map(e=>[e,a(o,e,t)]),c=n(r.preserveOrder?1:1/0);try{await Promise.all(l.map(e=>c(s,e)))}catch(e){if(e instanceof i)return e.value;throw e}}},84944:e=>{"use strict";const t=(e,...t)=>new Promise(r=>{r(e(...t))});e.exports=t,e.exports.default=t},61426:(e,t,r)=>{"use strict";const n=r(35747),{promisify:i}=r(31669),o=i(n.access);e.exports=async e=>{try{return await o(e),!0}catch(e){return!1}},e.exports.sync=e=>{try{return n.accessSync(e),!0}catch(e){return!1}}},50731:e=>{"use strict";var t="win32"===process.platform,r=/^(((?:[a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?[\\\/]?)(?:[^\\\/]*[\\\/])*)((\.{1,2}|[^\\\/]+?|)(\.[^.\/\\]*|))[\\\/]*$/,n={};n.parse=function(e){if("string"!=typeof e)throw new TypeError("Parameter 'pathString' must be a string, not "+typeof e);var t,n=(t=e,r.exec(t).slice(1));if(!n||5!==n.length)throw new TypeError("Invalid path '"+e+"'");return{root:n[1],dir:n[0]===n[1]?n[0]:n[0].slice(0,-1),base:n[2],ext:n[4],name:n[3]}};var i=/^((\/?)(?:[^\/]*\/)*)((\.{1,2}|[^\/]+?|)(\.[^.\/]*|))[\/]*$/,o={};o.parse=function(e){if("string"!=typeof e)throw new TypeError("Parameter 'pathString' must be a string, not "+typeof e);var t,r=(t=e,i.exec(t).slice(1));if(!r||5!==r.length)throw new TypeError("Invalid path '"+e+"'");return{root:r[1],dir:r[0].slice(0,-1),base:r[2],ext:r[4],name:r[3]}},e.exports=t?n.parse:o.parse,e.exports.posix=o.parse,e.exports.win32=n.parse},5669:(e,t,r)=>{"use strict";e.exports=r(47188)},1259:(e,t,r)=>{"use strict";const n=r(85622),i={DOT_LITERAL:"\\.",PLUS_LITERAL:"\\+",QMARK_LITERAL:"\\?",SLASH_LITERAL:"\\/",ONE_CHAR:"(?=.)",QMARK:"[^/]",END_ANCHOR:"(?:\\/|$)",DOTS_SLASH:"\\.{1,2}(?:\\/|$)",NO_DOT:"(?!\\.)",NO_DOTS:"(?!(?:^|\\/)\\.{1,2}(?:\\/|$))",NO_DOT_SLASH:"(?!\\.{0,1}(?:\\/|$))",NO_DOTS_SLASH:"(?!\\.{1,2}(?:\\/|$))",QMARK_NO_DOT:"[^.\\/]",STAR:"[^/]*?",START_ANCHOR:"(?:^|\\/)"},o={...i,SLASH_LITERAL:"[\\\\/]",QMARK:"[^\\\\/]",STAR:"[^\\\\/]*?",DOTS_SLASH:"\\.{1,2}(?:[\\\\/]|$)",NO_DOT:"(?!\\.)",NO_DOTS:"(?!(?:^|[\\\\/])\\.{1,2}(?:[\\\\/]|$))",NO_DOT_SLASH:"(?!\\.{0,1}(?:[\\\\/]|$))",NO_DOTS_SLASH:"(?!\\.{1,2}(?:[\\\\/]|$))",QMARK_NO_DOT:"[^.\\\\/]",START_ANCHOR:"(?:^|[\\\\/])",END_ANCHOR:"(?:[\\\\/]|$)"};e.exports={MAX_LENGTH:65536,POSIX_REGEX_SOURCE:{alnum:"a-zA-Z0-9",alpha:"a-zA-Z",ascii:"\\x00-\\x7F",blank:" \\t",cntrl:"\\x00-\\x1F\\x7F",digit:"0-9",graph:"\\x21-\\x7E",lower:"a-z",print:"\\x20-\\x7E ",punct:"\\-!\"#$%&'()\\*+,./:;<=>?@[\\]^_`{|}~",space:" \\t\\r\\n\\v\\f",upper:"A-Z",word:"A-Za-z0-9_",xdigit:"A-Fa-f0-9"},REGEX_BACKSLASH:/\\(?![*+?^${}(|)[\]])/g,REGEX_NON_SPECIAL_CHARS:/^[^@![\].,$*+?^{}()|\\/]+/,REGEX_SPECIAL_CHARS:/[-*+?.^${}(|)[\]]/,REGEX_SPECIAL_CHARS_BACKREF:/(\\?)((\W)(\3*))/g,REGEX_SPECIAL_CHARS_GLOBAL:/([-*+?.^${}(|)[\]])/g,REGEX_REMOVE_BACKSLASH:/(?:\[.*?[^\\]\]|\\(?=.))/g,REPLACEMENTS:{"***":"*","**/**":"**","**/**/**":"**"},CHAR_0:48,CHAR_9:57,CHAR_UPPERCASE_A:65,CHAR_LOWERCASE_A:97,CHAR_UPPERCASE_Z:90,CHAR_LOWERCASE_Z:122,CHAR_LEFT_PARENTHESES:40,CHAR_RIGHT_PARENTHESES:41,CHAR_ASTERISK:42,CHAR_AMPERSAND:38,CHAR_AT:64,CHAR_BACKWARD_SLASH:92,CHAR_CARRIAGE_RETURN:13,CHAR_CIRCUMFLEX_ACCENT:94,CHAR_COLON:58,CHAR_COMMA:44,CHAR_DOT:46,CHAR_DOUBLE_QUOTE:34,CHAR_EQUAL:61,CHAR_EXCLAMATION_MARK:33,CHAR_FORM_FEED:12,CHAR_FORWARD_SLASH:47,CHAR_GRAVE_ACCENT:96,CHAR_HASH:35,CHAR_HYPHEN_MINUS:45,CHAR_LEFT_ANGLE_BRACKET:60,CHAR_LEFT_CURLY_BRACE:123,CHAR_LEFT_SQUARE_BRACKET:91,CHAR_LINE_FEED:10,CHAR_NO_BREAK_SPACE:160,CHAR_PERCENT:37,CHAR_PLUS:43,CHAR_QUESTION_MARK:63,CHAR_RIGHT_ANGLE_BRACKET:62,CHAR_RIGHT_CURLY_BRACE:125,CHAR_RIGHT_SQUARE_BRACKET:93,CHAR_SEMICOLON:59,CHAR_SINGLE_QUOTE:39,CHAR_SPACE:32,CHAR_TAB:9,CHAR_UNDERSCORE:95,CHAR_VERTICAL_LINE:124,CHAR_ZERO_WIDTH_NOBREAK_SPACE:65279,SEP:n.sep,extglobChars:e=>({"!":{type:"negate",open:"(?:(?!(?:",close:`))${e.STAR})`},"?":{type:"qmark",open:"(?:",close:")?"},"+":{type:"plus",open:"(?:",close:")+"},"*":{type:"star",open:"(?:",close:")*"},"@":{type:"at",open:"(?:",close:")"}}),globChars:e=>!0===e?o:i}},3155:(e,t,r)=>{"use strict";const n=r(1259),i=r(86444),{MAX_LENGTH:o,POSIX_REGEX_SOURCE:s,REGEX_NON_SPECIAL_CHARS:a,REGEX_SPECIAL_CHARS_BACKREF:l,REPLACEMENTS:c}=n,u=(e,t)=>{if("function"==typeof t.expandRange)return t.expandRange(...e,t);e.sort();const r=`[${e.join("-")}]`;try{new RegExp(r)}catch(t){return e.map(e=>i.escapeRegex(e)).join("..")}return r},p=(e,t)=>`Missing ${e}: "${t}" - use "\\\\${t}" to match literal characters`,h=(e,t)=>{if("string"!=typeof e)throw new TypeError("Expected a string");e=c[e]||e;const r={...t},d="number"==typeof r.maxLength?Math.min(o,r.maxLength):o;let f=e.length;if(f>d)throw new SyntaxError(`Input length: ${f}, exceeds maximum allowed length: ${d}`);const g={type:"bos",value:"",output:r.prepend||""},m=[g],v=r.capture?"":"?:",y=i.isWindows(t),b=n.globChars(y),w=n.extglobChars(b),{DOT_LITERAL:_,PLUS_LITERAL:x,SLASH_LITERAL:k,ONE_CHAR:S,DOTS_SLASH:E,NO_DOT:C,NO_DOT_SLASH:T,NO_DOTS_SLASH:A,QMARK:R,QMARK_NO_DOT:O,STAR:P,START_ANCHOR:I}=b,M=e=>`(${v}(?:(?!${I}${e.dot?E:_}).)*?)`,D=r.dot?"":C,j=r.dot?R:O;let N=!0===r.bash?M(r):P;r.capture&&(N=`(${N})`),"boolean"==typeof r.noext&&(r.noextglob=r.noext);const L={input:e,index:-1,start:0,dot:!0===r.dot,consumed:"",output:"",prefix:"",backtrack:!1,negated:!1,brackets:0,braces:0,parens:0,quotes:0,globstar:!1,tokens:m};e=i.removePrefix(e,L),f=e.length;const F=[],q=[],$=[];let B,z=g;const U=()=>L.index===f-1,W=L.peek=(t=1)=>e[L.index+t],H=L.advance=()=>e[++L.index]||"",V=()=>e.slice(L.index+1),G=(e="",t=0)=>{L.consumed+=e,L.index+=t},Y=e=>{L.output+=null!=e.output?e.output:e.value,G(e.value)},K=()=>{let e=1;for(;"!"===W()&&("("!==W(2)||"?"===W(3));)H(),L.start++,e++;return e%2!=0&&(L.negated=!0,L.start++,!0)},Q=e=>{L[e]++,$.push(e)},J=e=>{L[e]--,$.pop()},X=e=>{if("globstar"===z.type){const t=L.braces>0&&("comma"===e.type||"brace"===e.type),r=!0===e.extglob||F.length&&("pipe"===e.type||"paren"===e.type);"slash"===e.type||"paren"===e.type||t||r||(L.output=L.output.slice(0,-z.output.length),z.type="star",z.value="*",z.output=N,L.output+=z.output)}if(F.length&&"paren"!==e.type&&(F[F.length-1].inner+=e.value),(e.value||e.output)&&Y(e),z&&"text"===z.type&&"text"===e.type)return z.value+=e.value,void(z.output=(z.output||"")+e.value);e.prev=z,m.push(e),z=e},Z=(e,t)=>{const n={...w[t],conditions:1,inner:""};n.prev=z,n.parens=L.parens,n.output=L.output;const i=(r.capture?"(":"")+n.open;Q("parens"),X({type:e,value:t,output:L.output?"":S}),X({type:"paren",extglob:!0,value:H(),output:i}),F.push(n)},ee=e=>{let n,i=e.close+(r.capture?")":"");if("negate"===e.type){let o=N;if(e.inner&&e.inner.length>1&&e.inner.includes("/")&&(o=M(r)),(o!==N||U()||/^\)+$/.test(V()))&&(i=e.close=")$))"+o),e.inner.includes("*")&&(n=V())&&/^\.[^\\/.]+$/.test(n)){const r=h(n,{...t,fastpaths:!1}).output;i=e.close=`)${r})${o})`}"bos"===e.prev.type&&(L.negatedExtglob=!0)}X({type:"paren",extglob:!0,value:B,output:i}),J("parens")};if(!1!==r.fastpaths&&!/(^[*!]|[/()[\]{}"])/.test(e)){let n=!1,o=e.replace(l,(e,t,r,i,o,s)=>"\\"===i?(n=!0,e):"?"===i?t?t+i+(o?R.repeat(o.length):""):0===s?j+(o?R.repeat(o.length):""):R.repeat(r.length):"."===i?_.repeat(r.length):"*"===i?t?t+i+(o?N:""):N:t?e:"\\"+e);return!0===n&&(o=!0===r.unescape?o.replace(/\\/g,""):o.replace(/\\+/g,e=>e.length%2==0?"\\\\":e?"\\":"")),o===e&&!0===r.contains?(L.output=e,L):(L.output=i.wrapOutput(o,L,t),L)}for(;!U();){if(B=H(),"\0"===B)continue;if("\\"===B){const e=W();if("/"===e&&!0!==r.bash)continue;if("."===e||";"===e)continue;if(!e){B+="\\",X({type:"text",value:B});continue}const t=/^\\+/.exec(V());let n=0;if(t&&t[0].length>2&&(n=t[0].length,L.index+=n,n%2!=0&&(B+="\\")),!0===r.unescape?B=H():B+=H(),0===L.brackets){X({type:"text",value:B});continue}}if(L.brackets>0&&("]"!==B||"["===z.value||"[^"===z.value)){if(!1!==r.posix&&":"===B){const e=z.value.slice(1);if(e.includes("[")&&(z.posix=!0,e.includes(":"))){const e=z.value.lastIndexOf("["),t=z.value.slice(0,e),r=z.value.slice(e+2),n=s[r];if(n){z.value=t+n,L.backtrack=!0,H(),g.output||1!==m.indexOf(z)||(g.output=S);continue}}}("["===B&&":"!==W()||"-"===B&&"]"===W())&&(B="\\"+B),"]"!==B||"["!==z.value&&"[^"!==z.value||(B="\\"+B),!0===r.posix&&"!"===B&&"["===z.value&&(B="^"),z.value+=B,Y({value:B});continue}if(1===L.quotes&&'"'!==B){B=i.escapeRegex(B),z.value+=B,Y({value:B});continue}if('"'===B){L.quotes=1===L.quotes?0:1,!0===r.keepQuotes&&X({type:"text",value:B});continue}if("("===B){Q("parens"),X({type:"paren",value:B});continue}if(")"===B){if(0===L.parens&&!0===r.strictBrackets)throw new SyntaxError(p("opening","("));const e=F[F.length-1];if(e&&L.parens===e.parens+1){ee(F.pop());continue}X({type:"paren",value:B,output:L.parens?")":"\\)"}),J("parens");continue}if("["===B){if(!0!==r.nobracket&&V().includes("]"))Q("brackets");else{if(!0!==r.nobracket&&!0===r.strictBrackets)throw new SyntaxError(p("closing","]"));B="\\"+B}X({type:"bracket",value:B});continue}if("]"===B){if(!0===r.nobracket||z&&"bracket"===z.type&&1===z.value.length){X({type:"text",value:B,output:"\\"+B});continue}if(0===L.brackets){if(!0===r.strictBrackets)throw new SyntaxError(p("opening","["));X({type:"text",value:B,output:"\\"+B});continue}J("brackets");const e=z.value.slice(1);if(!0===z.posix||"^"!==e[0]||e.includes("/")||(B="/"+B),z.value+=B,Y({value:B}),!1===r.literalBrackets||i.hasRegexChars(e))continue;const t=i.escapeRegex(z.value);if(L.output=L.output.slice(0,-z.value.length),!0===r.literalBrackets){L.output+=t,z.value=t;continue}z.value=`(${v}${t}|${z.value})`,L.output+=z.value;continue}if("{"===B&&!0!==r.nobrace){Q("braces");const e={type:"brace",value:B,output:"(",outputIndex:L.output.length,tokensIndex:L.tokens.length};q.push(e),X(e);continue}if("}"===B){const e=q[q.length-1];if(!0===r.nobrace||!e){X({type:"text",value:B,output:B});continue}let t=")";if(!0===e.dots){const e=m.slice(),n=[];for(let t=e.length-1;t>=0&&(m.pop(),"brace"!==e[t].type);t--)"dots"!==e[t].type&&n.unshift(e[t].value);t=u(n,r),L.backtrack=!0}if(!0!==e.comma&&!0!==e.dots){const r=L.output.slice(0,e.outputIndex),n=L.tokens.slice(e.tokensIndex);e.value=e.output="\\{",B=t="\\}",L.output=r;for(const e of n)L.output+=e.output||e.value}X({type:"brace",value:B,output:t}),J("braces"),q.pop();continue}if("|"===B){F.length>0&&F[F.length-1].conditions++,X({type:"text",value:B});continue}if(","===B){let e=B;const t=q[q.length-1];t&&"braces"===$[$.length-1]&&(t.comma=!0,e="|"),X({type:"comma",value:B,output:e});continue}if("/"===B){if("dot"===z.type&&L.index===L.start+1){L.start=L.index+1,L.consumed="",L.output="",m.pop(),z=g;continue}X({type:"slash",value:B,output:k});continue}if("."===B){if(L.braces>0&&"dot"===z.type){"."===z.value&&(z.output=_);const e=q[q.length-1];z.type="dots",z.output+=B,z.value+=B,e.dots=!0;continue}if(L.braces+L.parens===0&&"bos"!==z.type&&"slash"!==z.type){X({type:"text",value:B,output:_});continue}X({type:"dot",value:B,output:_});continue}if("?"===B){if(!(z&&"("===z.value)&&!0!==r.noextglob&&"("===W()&&"?"!==W(2)){Z("qmark",B);continue}if(z&&"paren"===z.type){const e=W();let t=B;if("<"===e&&!i.supportsLookbehinds())throw new Error("Node.js v10 or higher is required for regex lookbehinds");("("===z.value&&!/[!=<:]/.test(e)||"<"===e&&!/<([!=]|\w+>)/.test(V()))&&(t="\\"+B),X({type:"text",value:B,output:t});continue}if(!0!==r.dot&&("slash"===z.type||"bos"===z.type)){X({type:"qmark",value:B,output:O});continue}X({type:"qmark",value:B,output:R});continue}if("!"===B){if(!0!==r.noextglob&&"("===W()&&("?"!==W(2)||!/[!=<:]/.test(W(3)))){Z("negate",B);continue}if(!0!==r.nonegate&&0===L.index){K();continue}}if("+"===B){if(!0!==r.noextglob&&"("===W()&&"?"!==W(2)){Z("plus",B);continue}if(z&&"("===z.value||!1===r.regex){X({type:"plus",value:B,output:x});continue}if(z&&("bracket"===z.type||"paren"===z.type||"brace"===z.type)||L.parens>0){X({type:"plus",value:B});continue}X({type:"plus",value:x});continue}if("@"===B){if(!0!==r.noextglob&&"("===W()&&"?"!==W(2)){X({type:"at",extglob:!0,value:B,output:""});continue}X({type:"text",value:B});continue}if("*"!==B){"$"!==B&&"^"!==B||(B="\\"+B);const e=a.exec(V());e&&(B+=e[0],L.index+=e[0].length),X({type:"text",value:B});continue}if(z&&("globstar"===z.type||!0===z.star)){z.type="star",z.star=!0,z.value+=B,z.output=N,L.backtrack=!0,L.globstar=!0,G(B);continue}let t=V();if(!0!==r.noextglob&&/^\([^?]/.test(t)){Z("star",B);continue}if("star"===z.type){if(!0===r.noglobstar){G(B);continue}const n=z.prev,i=n.prev,o="slash"===n.type||"bos"===n.type,s=i&&("star"===i.type||"globstar"===i.type);if(!0===r.bash&&(!o||t[0]&&"/"!==t[0])){X({type:"star",value:B,output:""});continue}const a=L.braces>0&&("comma"===n.type||"brace"===n.type),l=F.length&&("pipe"===n.type||"paren"===n.type);if(!o&&"paren"!==n.type&&!a&&!l){X({type:"star",value:B,output:""});continue}for(;"/**"===t.slice(0,3);){const r=e[L.index+4];if(r&&"/"!==r)break;t=t.slice(3),G("/**",3)}if("bos"===n.type&&U()){z.type="globstar",z.value+=B,z.output=M(r),L.output=z.output,L.globstar=!0,G(B);continue}if("slash"===n.type&&"bos"!==n.prev.type&&!s&&U()){L.output=L.output.slice(0,-(n.output+z.output).length),n.output="(?:"+n.output,z.type="globstar",z.output=M(r)+(r.strictSlashes?")":"|$)"),z.value+=B,L.globstar=!0,L.output+=n.output+z.output,G(B);continue}if("slash"===n.type&&"bos"!==n.prev.type&&"/"===t[0]){const e=void 0!==t[1]?"|$":"";L.output=L.output.slice(0,-(n.output+z.output).length),n.output="(?:"+n.output,z.type="globstar",z.output=`${M(r)}${k}|${k}${e})`,z.value+=B,L.output+=n.output+z.output,L.globstar=!0,G(B+H()),X({type:"slash",value:"/",output:""});continue}if("bos"===n.type&&"/"===t[0]){z.type="globstar",z.value+=B,z.output=`(?:^|${k}|${M(r)}${k})`,L.output=z.output,L.globstar=!0,G(B+H()),X({type:"slash",value:"/",output:""});continue}L.output=L.output.slice(0,-z.output.length),z.type="globstar",z.output=M(r),z.value+=B,L.output+=z.output,L.globstar=!0,G(B);continue}const n={type:"star",value:B,output:N};!0!==r.bash?!z||"bracket"!==z.type&&"paren"!==z.type||!0!==r.regex?(L.index!==L.start&&"slash"!==z.type&&"dot"!==z.type||("dot"===z.type?(L.output+=T,z.output+=T):!0===r.dot?(L.output+=A,z.output+=A):(L.output+=D,z.output+=D),"*"!==W()&&(L.output+=S,z.output+=S)),X(n)):(n.output=B,X(n)):(n.output=".*?","bos"!==z.type&&"slash"!==z.type||(n.output=D+n.output),X(n))}for(;L.brackets>0;){if(!0===r.strictBrackets)throw new SyntaxError(p("closing","]"));L.output=i.escapeLast(L.output,"["),J("brackets")}for(;L.parens>0;){if(!0===r.strictBrackets)throw new SyntaxError(p("closing",")"));L.output=i.escapeLast(L.output,"("),J("parens")}for(;L.braces>0;){if(!0===r.strictBrackets)throw new SyntaxError(p("closing","}"));L.output=i.escapeLast(L.output,"{"),J("braces")}if(!0===r.strictSlashes||"star"!==z.type&&"bracket"!==z.type||X({type:"maybe_slash",value:"",output:k+"?"}),!0===L.backtrack){L.output="";for(const e of L.tokens)L.output+=null!=e.output?e.output:e.value,e.suffix&&(L.output+=e.suffix)}return L};h.fastpaths=(e,t)=>{const r={...t},s="number"==typeof r.maxLength?Math.min(o,r.maxLength):o,a=e.length;if(a>s)throw new SyntaxError(`Input length: ${a}, exceeds maximum allowed length: ${s}`);e=c[e]||e;const l=i.isWindows(t),{DOT_LITERAL:u,SLASH_LITERAL:p,ONE_CHAR:h,DOTS_SLASH:d,NO_DOT:f,NO_DOTS:g,NO_DOTS_SLASH:m,STAR:v,START_ANCHOR:y}=n.globChars(l),b=r.dot?g:f,w=r.dot?m:f,_=r.capture?"":"?:";let x=!0===r.bash?".*?":v;r.capture&&(x=`(${x})`);const k=e=>!0===e.noglobstar?x:`(${_}(?:(?!${y}${e.dot?d:u}).)*?)`,S=e=>{switch(e){case"*":return`${b}${h}${x}`;case".*":return`${u}${h}${x}`;case"*.*":return`${b}${x}${u}${h}${x}`;case"*/*":return`${b}${x}${p}${h}${w}${x}`;case"**":return b+k(r);case"**/*":return`(?:${b}${k(r)}${p})?${w}${h}${x}`;case"**/*.*":return`(?:${b}${k(r)}${p})?${w}${x}${u}${h}${x}`;case"**/.*":return`(?:${b}${k(r)}${p})?${u}${h}${x}`;default:{const t=/^(.*?)\.(\w+)$/.exec(e);if(!t)return;const r=S(t[1]);if(!r)return;return r+u+t[2]}}},E=i.removePrefix(e,{negated:!1,prefix:""});let C=S(E);return C&&!0!==r.strictSlashes&&(C+=p+"?"),C},e.exports=h},47188:(e,t,r)=>{"use strict";const n=r(85622),i=r(15715),o=r(3155),s=r(86444),a=r(1259),l=(e,t,r=!1)=>{if(Array.isArray(e)){const n=e.map(e=>l(e,t,r));return e=>{for(const t of n){const r=t(e);if(r)return r}return!1}}const n=(i=e)&&"object"==typeof i&&!Array.isArray(i)&&e.tokens&&e.input;var i;if(""===e||"string"!=typeof e&&!n)throw new TypeError("Expected pattern to be a non-empty string");const o=t||{},a=s.isWindows(t),c=n?l.compileRe(e,t):l.makeRe(e,t,!1,!0),u=c.state;delete c.state;let p=()=>!1;if(o.ignore){const e={...t,ignore:null,onMatch:null,onResult:null};p=l(o.ignore,e,r)}const h=(r,n=!1)=>{const{isMatch:i,match:s,output:h}=l.test(r,c,t,{glob:e,posix:a}),d={glob:e,state:u,regex:c,posix:a,input:r,output:h,match:s,isMatch:i};return"function"==typeof o.onResult&&o.onResult(d),!1===i?(d.isMatch=!1,!!n&&d):p(r)?("function"==typeof o.onIgnore&&o.onIgnore(d),d.isMatch=!1,!!n&&d):("function"==typeof o.onMatch&&o.onMatch(d),!n||d)};return r&&(h.state=u),h};l.test=(e,t,r,{glob:n,posix:i}={})=>{if("string"!=typeof e)throw new TypeError("Expected input to be a string");if(""===e)return{isMatch:!1,output:""};const o=r||{},a=o.format||(i?s.toPosixSlashes:null);let c=e===n,u=c&&a?a(e):e;return!1===c&&(u=a?a(e):e,c=u===n),!1!==c&&!0!==o.capture||(c=!0===o.matchBase||!0===o.basename?l.matchBase(e,t,r,i):t.exec(u)),{isMatch:Boolean(c),match:c,output:u}},l.matchBase=(e,t,r,i=s.isWindows(r))=>(t instanceof RegExp?t:l.makeRe(t,r)).test(n.basename(e)),l.isMatch=(e,t,r)=>l(t,r)(e),l.parse=(e,t)=>Array.isArray(e)?e.map(e=>l.parse(e,t)):o(e,{...t,fastpaths:!1}),l.scan=(e,t)=>i(e,t),l.compileRe=(e,t,r=!1,n=!1)=>{if(!0===r)return e.output;const i=t||{},o=i.contains?"":"^",s=i.contains?"":"$";let a=`${o}(?:${e.output})${s}`;e&&!0===e.negated&&(a=`^(?!${a}).*$`);const c=l.toRegex(a,t);return!0===n&&(c.state=e),c},l.makeRe=(e,t={},r=!1,n=!1)=>{if(!e||"string"!=typeof e)throw new TypeError("Expected a non-empty string");let i={negated:!1,fastpaths:!0};return!1===t.fastpaths||"."!==e[0]&&"*"!==e[0]||(i.output=o.fastpaths(e,t)),i.output||(i=o(e,t)),l.compileRe(i,t,r,n)},l.toRegex=(e,t)=>{try{const r=t||{};return new RegExp(e,r.flags||(r.nocase?"i":""))}catch(e){if(t&&!0===t.debug)throw e;return/$^/}},l.constants=a,e.exports=l},15715:(e,t,r)=>{"use strict";const n=r(86444),{CHAR_ASTERISK:i,CHAR_AT:o,CHAR_BACKWARD_SLASH:s,CHAR_COMMA:a,CHAR_DOT:l,CHAR_EXCLAMATION_MARK:c,CHAR_FORWARD_SLASH:u,CHAR_LEFT_CURLY_BRACE:p,CHAR_LEFT_PARENTHESES:h,CHAR_LEFT_SQUARE_BRACKET:d,CHAR_PLUS:f,CHAR_QUESTION_MARK:g,CHAR_RIGHT_CURLY_BRACE:m,CHAR_RIGHT_PARENTHESES:v,CHAR_RIGHT_SQUARE_BRACKET:y}=r(1259),b=e=>e===u||e===s,w=e=>{!0!==e.isPrefix&&(e.depth=e.isGlobstar?1/0:1)};e.exports=(e,t)=>{const r=t||{},_=e.length-1,x=!0===r.parts||!0===r.scanToEnd,k=[],S=[],E=[];let C,T,A=e,R=-1,O=0,P=0,I=!1,M=!1,D=!1,j=!1,N=!1,L=!1,F=!1,q=!1,$=!1,B=!1,z=0,U={value:"",depth:0,isGlob:!1};const W=()=>R>=_,H=()=>(C=T,A.charCodeAt(++R));for(;R<_;){let e;if(T=H(),T!==s){if(!0===L||T===p){for(z++;!0!==W()&&(T=H());)if(T!==s)if(T!==p){if(!0!==L&&T===l&&(T=H())===l){if(I=U.isBrace=!0,D=U.isGlob=!0,B=!0,!0===x)continue;break}if(!0!==L&&T===a){if(I=U.isBrace=!0,D=U.isGlob=!0,B=!0,!0===x)continue;break}if(T===m&&(z--,0===z)){L=!1,I=U.isBrace=!0,B=!0;break}}else z++;else F=U.backslashes=!0,H();if(!0===x)continue;break}if(T!==u){if(!0!==r.noext){if(!0===(T===f||T===o||T===i||T===g||T===c)&&A.charCodeAt(R+1)===h){if(D=U.isGlob=!0,j=U.isExtglob=!0,B=!0,T===c&&R===O&&($=!0),!0===x){for(;!0!==W()&&(T=H());)if(T!==s){if(T===v){D=U.isGlob=!0,B=!0;break}}else F=U.backslashes=!0,T=H();continue}break}}if(T===i){if(C===i&&(N=U.isGlobstar=!0),D=U.isGlob=!0,B=!0,!0===x)continue;break}if(T===g){if(D=U.isGlob=!0,B=!0,!0===x)continue;break}if(T===d){for(;!0!==W()&&(e=H());)if(e!==s){if(e===y){M=U.isBracket=!0,D=U.isGlob=!0,B=!0;break}}else F=U.backslashes=!0,H();if(!0===x)continue;break}if(!0===r.nonegate||T!==c||R!==O){if(!0!==r.noparen&&T===h){if(D=U.isGlob=!0,!0===x){for(;!0!==W()&&(T=H());)if(T!==h){if(T===v){B=!0;break}}else F=U.backslashes=!0,T=H();continue}break}if(!0===D){if(B=!0,!0===x)continue;break}}else q=U.negated=!0,O++}else{if(k.push(R),S.push(U),U={value:"",depth:0,isGlob:!1},!0===B)continue;if(C===l&&R===O+1){O+=2;continue}P=R+1}}else F=U.backslashes=!0,T=H(),T===p&&(L=!0)}!0===r.noext&&(j=!1,D=!1);let V=A,G="",Y="";O>0&&(G=A.slice(0,O),A=A.slice(O),P-=O),V&&!0===D&&P>0?(V=A.slice(0,P),Y=A.slice(P)):!0===D?(V="",Y=A):V=A,V&&""!==V&&"/"!==V&&V!==A&&b(V.charCodeAt(V.length-1))&&(V=V.slice(0,-1)),!0===r.unescape&&(Y&&(Y=n.removeBackslashes(Y)),V&&!0===F&&(V=n.removeBackslashes(V)));const K={prefix:G,input:e,start:O,base:V,glob:Y,isBrace:I,isBracket:M,isGlob:D,isExtglob:j,isGlobstar:N,negated:q,negatedExtglob:$};if(!0===r.tokens&&(K.maxDepth=0,b(T)||S.push(U),K.tokens=S),!0===r.parts||!0===r.tokens){let t;for(let n=0;n{"use strict";const n=r(85622),i="win32"===process.platform,{REGEX_BACKSLASH:o,REGEX_REMOVE_BACKSLASH:s,REGEX_SPECIAL_CHARS:a,REGEX_SPECIAL_CHARS_GLOBAL:l}=r(1259);t.isObject=e=>null!==e&&"object"==typeof e&&!Array.isArray(e),t.hasRegexChars=e=>a.test(e),t.isRegexChar=e=>1===e.length&&t.hasRegexChars(e),t.escapeRegex=e=>e.replace(l,"\\$1"),t.toPosixSlashes=e=>e.replace(o,"/"),t.removeBackslashes=e=>e.replace(s,e=>"\\"===e?"":e),t.supportsLookbehinds=()=>{const e=process.version.slice(1).split(".").map(Number);return 3===e.length&&e[0]>=9||8===e[0]&&e[1]>=10},t.isWindows=e=>e&&"boolean"==typeof e.windows?e.windows:!0===i||"\\"===n.sep,t.escapeLast=(e,r,n)=>{const i=e.lastIndexOf(r,n);return-1===i?e:"\\"===e[i-1]?t.escapeLast(e,r,i-1):`${e.slice(0,i)}\\${e.slice(i)}`},t.removePrefix=(e,t={})=>{let r=e;return r.startsWith("./")&&(r=r.slice(2),t.prefix="./"),r},t.wrapOutput=(e,t={},r={})=>{let n=`${r.contains?"":"^"}(?:${e})${r.contains?"":"$"}`;return!0===t.negated&&(n=`(?:^(?!${n}).*$)`),n}},56536:(e,t,r)=>{"use strict";const n=r(55298);e.exports=async({cwd:e}={})=>n("package.json",{cwd:e}),e.exports.sync=({cwd:e}={})=>n.sync("package.json",{cwd:e})},55298:(e,t,r)=>{"use strict";const n=r(85622),i=r(74113);e.exports=(e,t={})=>{const r=n.resolve(t.cwd||""),{root:o}=n.parse(r),s=[].concat(e);return new Promise(e=>{!function t(r){i(s,{cwd:r}).then(i=>{i?e(n.join(r,i)):r===o?e(null):t(n.dirname(r))})}(r)})},e.exports.sync=(e,t={})=>{let r=n.resolve(t.cwd||"");const{root:o}=n.parse(r),s=[].concat(e);for(;;){const e=i.sync(s,{cwd:r});if(e)return n.join(r,e);if(r===o)return null;r=n.dirname(r)}}},74113:(e,t,r)=>{"use strict";const n=r(85622),i=r(79976),o=r(90517);e.exports=(e,t)=>(t=Object.assign({cwd:process.cwd()},t),o(e,e=>i(n.resolve(t.cwd,e)),t)),e.exports.sync=(e,t)=>{t=Object.assign({cwd:process.cwd()},t);for(const r of e)if(i.sync(n.resolve(t.cwd,r)))return r}},2947:(e,t,r)=>{"use strict";const n=r(84944),i=e=>{if(!Number.isInteger(e)&&e!==1/0||!(e>0))return Promise.reject(new TypeError("Expected `concurrency` to be a number from 1 and up"));const t=[];let r=0;const i=()=>{r--,t.length>0&&t.shift()()},o=(e,t,...o)=>{r++;const s=n(e,...o);t(s),s.then(i,i)},s=(n,...i)=>new Promise(s=>((n,i,...s)=>{rr},pendingCount:{get:()=>t.length},clearQueue:{value:()=>{t.length=0}}}),s};e.exports=i,e.exports.default=i},90517:(e,t,r)=>{"use strict";const n=r(2947);class i extends Error{constructor(e){super(),this.value=e}}const o=(e,t)=>Promise.resolve(e).then(t),s=e=>Promise.all(e).then(e=>!0===e[1]&&Promise.reject(new i(e[0])));e.exports=(e,t,r)=>{r=Object.assign({concurrency:1/0,preserveOrder:!0},r);const a=n(r.concurrency),l=[...e].map(e=>[e,a(o,e,t)]),c=n(r.preserveOrder?1:1/0);return Promise.all(l.map(e=>c(s,e))).then(()=>{}).catch(e=>e instanceof i?e.value:Promise.reject(e))}},79976:(e,t,r)=>{"use strict";const n=r(35747);e.exports=e=>new Promise(t=>{n.access(e,e=>{t(!e)})}),e.exports.sync=e=>{try{return n.accessSync(e),!0}catch(e){return!1}}},51571:(e,t,r)=>{"use strict";t.__esModule=!0,t.default=void 0;var n,i=(n=r(53509))&&n.__esModule?n:{default:n},o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};n.get||n.set?Object.defineProperty(t,r,n):t[r]=e[r]}return t.default=e,t}(r(34267));var s=function(e){return new i.default(e)};Object.assign(s,o),delete s.__esModule;var a=s;t.default=a,e.exports=t.default},96557:(e,t,r)=>{"use strict";t.__esModule=!0,t.default=void 0;var n,i,o=E(r(34751)),s=E(r(85632)),a=E(r(31682)),l=E(r(64955)),c=E(r(50586)),u=E(r(56435)),p=E(r(21733)),h=E(r(55201)),d=E(r(41193)),f=E(r(90716)),g=S(r(47223)),m=E(r(23261)),v=E(r(91632)),y=E(r(88081)),b=E(r(15571)),w=S(r(65648)),_=S(r(27024)),x=S(r(59107)),k=r(5431);function S(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};n.get||n.set?Object.defineProperty(t,r,n):t[r]=e[r]}return t.default=e,t}function E(e){return e&&e.__esModule?e:{default:e}}function C(e,t){for(var r=0;rthis.position&&(i=this.parseWhitespaceEquivalentTokens(t)),this.isNamedCombinator()?r=this.namedCombinator():this.currToken[w.FIELDS.TYPE]===_.combinator?(r=new v.default({value:this.content(),source:I(this.currToken),sourceIndex:this.currToken[w.FIELDS.START_POS]}),this.position++):T[this.currToken[w.FIELDS.TYPE]]||i||this.unexpected(),r){if(i){var o=this.convertWhitespaceNodesToSpace(i),s=o.space,a=o.rawSpace;r.spaces.before=s,r.rawSpaceBefore=a}}else{var l=this.convertWhitespaceNodesToSpace(i,!0),c=l.space,u=l.rawSpace;u||(u=c);var p={},h={spaces:{}};c.endsWith(" ")&&u.endsWith(" ")?(p.before=c.slice(0,c.length-1),h.spaces.before=u.slice(0,u.length-1)):c.startsWith(" ")&&u.startsWith(" ")?(p.after=c.slice(1),h.spaces.after=u.slice(1)):h.value=u,r=new v.default({value:" ",source:M(n,this.tokens[this.position-1]),sourceIndex:n[w.FIELDS.START_POS],spaces:p,raws:h})}return this.currToken&&this.currToken[w.FIELDS.TYPE]===_.space&&(r.spaces.after=this.optionalSpace(this.content()),this.position++),this.newNode(r)}var d=this.parseWhitespaceEquivalentTokens(t);if(d.length>0){var f=this.current.last;if(f){var g=this.convertWhitespaceNodesToSpace(d),m=g.space,y=g.rawSpace;void 0!==y&&(f.rawSpaceAfter+=y),f.spaces.after+=m}else d.forEach((function(t){return e.newNode(t)}))}},i.comma=function(){if(this.position===this.tokens.length-1)return this.root.trailingComma=!0,void this.position++;this.current._inferEndPosition();var e=new l.default({source:{start:R(this.tokens[this.position+1])}});this.current.parent.append(e),this.current=e,this.position++},i.comment=function(){var e=this.currToken;this.newNode(new u.default({value:this.content(),source:I(e),sourceIndex:e[w.FIELDS.START_POS]})),this.position++},i.error=function(e,t){throw this.root.error(e,t)},i.missingBackslash=function(){return this.error("Expected a backslash preceding the semicolon.",{index:this.currToken[w.FIELDS.START_POS]})},i.missingParenthesis=function(){return this.expected("opening parenthesis",this.currToken[w.FIELDS.START_POS])},i.missingSquareBracket=function(){return this.expected("opening square bracket",this.currToken[w.FIELDS.START_POS])},i.unexpected=function(){return this.error("Unexpected '"+this.content()+"'. Escaping special characters with \\ may help.",this.currToken[w.FIELDS.START_POS])},i.namespace=function(){var e=this.prevToken&&this.content(this.prevToken)||!0;return this.nextToken[w.FIELDS.TYPE]===_.word?(this.position++,this.word(e)):this.nextToken[w.FIELDS.TYPE]===_.asterisk?(this.position++,this.universal(e)):void 0},i.nesting=function(){if(this.nextToken&&"|"===this.content(this.nextToken))return void this.position++;var e=this.currToken;this.newNode(new y.default({value:this.content(),source:I(e),sourceIndex:e[w.FIELDS.START_POS]})),this.position++},i.parentheses=function(){var e=this.current.last,t=1;if(this.position++,e&&e.type===x.PSEUDO){var r=new l.default({source:{start:R(this.tokens[this.position-1])}}),n=this.current;for(e.append(r),this.current=r;this.position1&&e.nextToken&&e.nextToken[w.FIELDS.TYPE]===_.openParenthesis&&e.error("Misplaced parenthesis.",{index:e.nextToken[w.FIELDS.START_POS]})})):this.expected(["pseudo-class","pseudo-element"],this.position-1)},i.space=function(){var e=this.content();0===this.position||this.prevToken[w.FIELDS.TYPE]===_.comma||this.prevToken[w.FIELDS.TYPE]===_.openParenthesis?(this.spaces=this.optionalSpace(e),this.position++):this.position===this.tokens.length-1||this.nextToken[w.FIELDS.TYPE]===_.comma||this.nextToken[w.FIELDS.TYPE]===_.closeParenthesis?(this.current.last.spaces.after=this.optionalSpace(e),this.position++):this.combinator()},i.string=function(){var e=this.currToken;this.newNode(new d.default({value:this.content(),source:I(e),sourceIndex:e[w.FIELDS.START_POS]})),this.position++},i.universal=function(e){var t=this.nextToken;if(t&&"|"===this.content(t))return this.position++,this.namespace();var r=this.currToken;this.newNode(new m.default({value:this.content(),source:I(r),sourceIndex:r[w.FIELDS.START_POS]}),e),this.position++},i.splitWord=function(e,t){for(var r=this,n=this.nextToken,i=this.content();n&&~[_.dollar,_.caret,_.equals,_.word].indexOf(n[w.FIELDS.TYPE]);){this.position++;var a=this.content();if(i+=a,a.lastIndexOf("\\")===a.length-1){var l=this.nextToken;l&&l[w.FIELDS.TYPE]===_.space&&(i+=this.requiredSpace(this.content(l)),this.position++)}n=this.nextToken}var u=(0,o.default)(i,".").filter((function(e){return"\\"!==i[e-1]})),d=(0,o.default)(i,"#").filter((function(e){return"\\"!==i[e-1]})),f=(0,o.default)(i,"#{");f.length&&(d=d.filter((function(e){return!~f.indexOf(e)})));var g=(0,b.default)((0,s.default)([0].concat(u,d)));g.forEach((function(n,o){var s,a=g[o+1]||i.length,l=i.slice(n,a);if(0===o&&t)return t.call(r,l,g.length);var f=r.currToken,m=f[w.FIELDS.START_POS]+g[o],v=P(f[1],f[2]+n,f[3],f[2]+(a-1));if(~u.indexOf(n)){var y={value:l.slice(1),source:v,sourceIndex:m};s=new c.default(D(y,"value"))}else if(~d.indexOf(n)){var b={value:l.slice(1),source:v,sourceIndex:m};s=new p.default(D(b,"value"))}else{var _={value:l,source:v,sourceIndex:m};D(_,"value"),s=new h.default(_)}r.newNode(s,e),e=null})),this.position++},i.word=function(e){var t=this.nextToken;return t&&"|"===this.content(t)?(this.position++,this.namespace()):this.splitWord(e)},i.loop=function(){for(;this.position{"use strict";t.__esModule=!0,t.default=void 0;var n,i=(n=r(96557))&&n.__esModule?n:{default:n};var o=function(){function e(e,t){this.func=e||function(){},this.funcRes=null,this.options=t}var t=e.prototype;return t._shouldUpdateSelector=function(e,t){return void 0===t&&(t={}),!1!==Object.assign({},this.options,t).updateSelector&&"string"!=typeof e},t._isLossy=function(e){return void 0===e&&(e={}),!1===Object.assign({},this.options,e).lossless},t._root=function(e,t){return void 0===t&&(t={}),new i.default(e,this._parseOptions(t)).root},t._parseOptions=function(e){return{lossy:this._isLossy(e)}},t._run=function(e,t){var r=this;return void 0===t&&(t={}),new Promise((function(n,i){try{var o=r._root(e,t);Promise.resolve(r.func(o)).then((function(n){var i=void 0;return r._shouldUpdateSelector(e,t)&&(i=o.toString(),e.selector=i),{transform:n,root:o,string:i}})).then(n,i)}catch(e){return void i(e)}}))},t._runSync=function(e,t){void 0===t&&(t={});var r=this._root(e,t),n=this.func(r);if(n&&"function"==typeof n.then)throw new Error("Selector processor returned a promise to a synchronous call.");var i=void 0;return t.updateSelector&&"string"!=typeof e&&(i=r.toString(),e.selector=i),{transform:n,root:r,string:i}},t.ast=function(e,t){return this._run(e,t).then((function(e){return e.root}))},t.astSync=function(e,t){return this._runSync(e,t).root},t.transform=function(e,t){return this._run(e,t).then((function(e){return e.transform}))},t.transformSync=function(e,t){return this._runSync(e,t).transform},t.process=function(e,t){return this._run(e,t).then((function(e){return e.string||e.root.toString()}))},t.processSync=function(e,t){var r=this._runSync(e,t);return r.string||r.root.toString()},e}();t.default=o,e.exports=t.default},47223:(e,t,r)=>{"use strict";t.__esModule=!0,t.unescapeValue=g,t.default=void 0;var n,i=l(r(25455)),o=l(r(18127)),s=l(r(1049)),a=r(59107);function l(e){return e&&e.__esModule?e:{default:e}}function c(e,t){for(var r=0;r0)||e.quoted||0!==r.before.length||e.spaces.value&&e.spaces.value.after||(r.before=" "),y(t,r)})))),t.push("]"),t.push(this.rawSpaceAfter),t.join("")},o=n,(s=[{key:"quoted",get:function(){var e=this.quoteMark;return"'"===e||'"'===e},set:function(e){d()}},{key:"quoteMark",get:function(){return this._quoteMark},set:function(e){this._constructed?this._quoteMark!==e&&(this._quoteMark=e,this._syncRawValue()):this._quoteMark=e}},{key:"qualifiedAttribute",get:function(){return this.qualifiedName(this.raws.attribute||this.attribute)}},{key:"insensitiveFlag",get:function(){return this.insensitive?"i":""}},{key:"value",get:function(){return this._value},set:function(e){if(this._constructed){var t=g(e),r=t.deprecatedUsage,n=t.unescaped,i=t.quoteMark;if(r&&h(),n===this._value&&i===this._quoteMark)return;this._value=n,this._quoteMark=i,this._syncRawValue()}else this._value=e}},{key:"attribute",get:function(){return this._attribute},set:function(e){this._handleEscapes("attribute",e),this._attribute=e}}])&&c(o.prototype,s),l&&c(o,l),n}(s.default);t.default=m,m.NO_QUOTE=null,m.SINGLE_QUOTE="'",m.DOUBLE_QUOTE='"';var v=((n={"'":{quotes:"single",wrap:!0},'"':{quotes:"double",wrap:!0}}).null={isIdentifier:!0},n);function y(e,t){return""+t.before+e+t.after}},50586:(e,t,r)=>{"use strict";t.__esModule=!0,t.default=void 0;var n=a(r(25455)),i=r(5431),o=a(r(15731)),s=r(59107);function a(e){return e&&e.__esModule?e:{default:e}}function l(e,t){for(var r=0;r{"use strict";t.__esModule=!0,t.default=void 0;var n,i=(n=r(15731))&&n.__esModule?n:{default:n},o=r(59107);var s=function(e){var t,r;function n(t){var r;return(r=e.call(this,t)||this).type=o.COMBINATOR,r}return r=e,(t=n).prototype=Object.create(r.prototype),t.prototype.constructor=t,t.__proto__=r,n}(i.default);t.default=s,e.exports=t.default},56435:(e,t,r)=>{"use strict";t.__esModule=!0,t.default=void 0;var n,i=(n=r(15731))&&n.__esModule?n:{default:n},o=r(59107);var s=function(e){var t,r;function n(t){var r;return(r=e.call(this,t)||this).type=o.COMMENT,r}return r=e,(t=n).prototype=Object.create(r.prototype),t.prototype.constructor=t,t.__proto__=r,n}(i.default);t.default=s,e.exports=t.default},64577:(e,t,r)=>{"use strict";t.__esModule=!0,t.universal=t.tag=t.string=t.selector=t.root=t.pseudo=t.nesting=t.id=t.comment=t.combinator=t.className=t.attribute=void 0;var n=g(r(47223)),i=g(r(50586)),o=g(r(91632)),s=g(r(56435)),a=g(r(21733)),l=g(r(88081)),c=g(r(90716)),u=g(r(31682)),p=g(r(64955)),h=g(r(41193)),d=g(r(55201)),f=g(r(23261));function g(e){return e&&e.__esModule?e:{default:e}}t.attribute=function(e){return new n.default(e)};t.className=function(e){return new i.default(e)};t.combinator=function(e){return new o.default(e)};t.comment=function(e){return new s.default(e)};t.id=function(e){return new a.default(e)};t.nesting=function(e){return new l.default(e)};t.pseudo=function(e){return new c.default(e)};t.root=function(e){return new u.default(e)};t.selector=function(e){return new p.default(e)};t.string=function(e){return new h.default(e)};t.tag=function(e){return new d.default(e)};t.universal=function(e){return new f.default(e)}},92407:(e,t,r)=>{"use strict";t.__esModule=!0,t.default=void 0;var n,i=(n=r(15731))&&n.__esModule?n:{default:n},o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};n.get||n.set?Object.defineProperty(t,r,n):t[r]=e[r]}return t.default=e,t}(r(59107));function s(e,t){for(var r=0;r=e&&(this.indexes[r]=t-1);return this},c.removeAll=function(){var e=this.nodes,t=Array.isArray(e),r=0;for(e=t?e:e[Symbol.iterator]();;){var n;if(t){if(r>=e.length)break;n=e[r++]}else{if((r=e.next()).done)break;n=r.value}n.parent=void 0}return this.nodes=[],this},c.empty=function(){return this.removeAll()},c.insertAfter=function(e,t){t.parent=this;var r,n=this.index(e);for(var i in this.nodes.splice(n+1,0,t),t.parent=this,this.indexes)n<=(r=this.indexes[i])&&(this.indexes[i]=r+1);return this},c.insertBefore=function(e,t){t.parent=this;var r,n=this.index(e);for(var i in this.nodes.splice(n,0,t),t.parent=this,this.indexes)(r=this.indexes[i])<=n&&(this.indexes[i]=r+1);return this},c._findChildAtPosition=function(e,t){var r=void 0;return this.each((function(n){if(n.atPosition){var i=n.atPosition(e,t);if(i)return r=i,!1}else if(n.isAtPosition(e,t))return r=n,!1})),r},c.atPosition=function(e,t){return this.isAtPosition(e,t)?this._findChildAtPosition(e,t)||this:void 0},c._inferEndPosition=function(){this.last&&this.last.source&&this.last.source.end&&(this.source=this.source||{},this.source.end=this.source.end||{},Object.assign(this.source.end,this.last.source.end))},c.each=function(e){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach++;var t=this.lastEach;if(this.indexes[t]=0,this.length){for(var r,n;this.indexes[t]{"use strict";t.__esModule=!0,t.isNode=s,t.isPseudoElement=w,t.isPseudoClass=function(e){return f(e)&&!w(e)},t.isContainer=function(e){return!(!s(e)||!e.walk)},t.isNamespace=function(e){return l(e)||y(e)},t.isUniversal=t.isTag=t.isString=t.isSelector=t.isRoot=t.isPseudo=t.isNesting=t.isIdentifier=t.isComment=t.isCombinator=t.isClassName=t.isAttribute=void 0;var n,i=r(59107),o=((n={})[i.ATTRIBUTE]=!0,n[i.CLASS]=!0,n[i.COMBINATOR]=!0,n[i.COMMENT]=!0,n[i.ID]=!0,n[i.NESTING]=!0,n[i.PSEUDO]=!0,n[i.ROOT]=!0,n[i.SELECTOR]=!0,n[i.STRING]=!0,n[i.TAG]=!0,n[i.UNIVERSAL]=!0,n);function s(e){return"object"==typeof e&&o[e.type]}function a(e,t){return s(t)&&t.type===e}var l=a.bind(null,i.ATTRIBUTE);t.isAttribute=l;var c=a.bind(null,i.CLASS);t.isClassName=c;var u=a.bind(null,i.COMBINATOR);t.isCombinator=u;var p=a.bind(null,i.COMMENT);t.isComment=p;var h=a.bind(null,i.ID);t.isIdentifier=h;var d=a.bind(null,i.NESTING);t.isNesting=d;var f=a.bind(null,i.PSEUDO);t.isPseudo=f;var g=a.bind(null,i.ROOT);t.isRoot=g;var m=a.bind(null,i.SELECTOR);t.isSelector=m;var v=a.bind(null,i.STRING);t.isString=v;var y=a.bind(null,i.TAG);t.isTag=y;var b=a.bind(null,i.UNIVERSAL);function w(e){return f(e)&&e.value&&(e.value.startsWith("::")||":before"===e.value||":after"===e.value)}t.isUniversal=b},21733:(e,t,r)=>{"use strict";t.__esModule=!0,t.default=void 0;var n,i=(n=r(15731))&&n.__esModule?n:{default:n},o=r(59107);var s=function(e){var t,r;function n(t){var r;return(r=e.call(this,t)||this).type=o.ID,r}return r=e,(t=n).prototype=Object.create(r.prototype),t.prototype.constructor=t,t.__proto__=r,n.prototype.toString=function(){return[this.rawSpaceBefore,String("#"+this.stringifyProperty("value")),this.rawSpaceAfter].join("")},n}(i.default);t.default=s,e.exports=t.default},34267:(e,t,r)=>{"use strict";t.__esModule=!0;var n=r(59107);Object.keys(n).forEach((function(e){"default"!==e&&"__esModule"!==e&&(t[e]=n[e])}));var i=r(64577);Object.keys(i).forEach((function(e){"default"!==e&&"__esModule"!==e&&(t[e]=i[e])}));var o=r(29565);Object.keys(o).forEach((function(e){"default"!==e&&"__esModule"!==e&&(t[e]=o[e])}))},1049:(e,t,r)=>{"use strict";t.__esModule=!0,t.default=void 0;var n=o(r(25455)),i=r(5431);function o(e){return e&&e.__esModule?e:{default:e}}function s(e,t){for(var r=0;r{"use strict";t.__esModule=!0,t.default=void 0;var n,i=(n=r(15731))&&n.__esModule?n:{default:n},o=r(59107);var s=function(e){var t,r;function n(t){var r;return(r=e.call(this,t)||this).type=o.NESTING,r.value="&",r}return r=e,(t=n).prototype=Object.create(r.prototype),t.prototype.constructor=t,t.__proto__=r,n}(i.default);t.default=s,e.exports=t.default},15731:(e,t,r)=>{"use strict";t.__esModule=!0,t.default=void 0;var n=r(5431);function i(e,t){for(var r=0;re)&&(!(this.source.end.linet)&&!(this.source.end.line===e&&this.source.end.column{"use strict";t.__esModule=!0,t.default=void 0;var n,i=(n=r(92407))&&n.__esModule?n:{default:n},o=r(59107);var s=function(e){var t,r;function n(t){var r;return(r=e.call(this,t)||this).type=o.PSEUDO,r}return r=e,(t=n).prototype=Object.create(r.prototype),t.prototype.constructor=t,t.__proto__=r,n.prototype.toString=function(){var e=this.length?"("+this.map(String).join(",")+")":"";return[this.rawSpaceBefore,this.stringifyProperty("value"),e,this.rawSpaceAfter].join("")},n}(i.default);t.default=s,e.exports=t.default},31682:(e,t,r)=>{"use strict";t.__esModule=!0,t.default=void 0;var n,i=(n=r(92407))&&n.__esModule?n:{default:n},o=r(59107);function s(e,t){for(var r=0;r{"use strict";t.__esModule=!0,t.default=void 0;var n,i=(n=r(92407))&&n.__esModule?n:{default:n},o=r(59107);var s=function(e){var t,r;function n(t){var r;return(r=e.call(this,t)||this).type=o.SELECTOR,r}return r=e,(t=n).prototype=Object.create(r.prototype),t.prototype.constructor=t,t.__proto__=r,n}(i.default);t.default=s,e.exports=t.default},41193:(e,t,r)=>{"use strict";t.__esModule=!0,t.default=void 0;var n,i=(n=r(15731))&&n.__esModule?n:{default:n},o=r(59107);var s=function(e){var t,r;function n(t){var r;return(r=e.call(this,t)||this).type=o.STRING,r}return r=e,(t=n).prototype=Object.create(r.prototype),t.prototype.constructor=t,t.__proto__=r,n}(i.default);t.default=s,e.exports=t.default},55201:(e,t,r)=>{"use strict";t.__esModule=!0,t.default=void 0;var n,i=(n=r(1049))&&n.__esModule?n:{default:n},o=r(59107);var s=function(e){var t,r;function n(t){var r;return(r=e.call(this,t)||this).type=o.TAG,r}return r=e,(t=n).prototype=Object.create(r.prototype),t.prototype.constructor=t,t.__proto__=r,n}(i.default);t.default=s,e.exports=t.default},59107:(e,t)=>{"use strict";t.__esModule=!0,t.UNIVERSAL=t.ATTRIBUTE=t.CLASS=t.COMBINATOR=t.COMMENT=t.ID=t.NESTING=t.PSEUDO=t.ROOT=t.SELECTOR=t.STRING=t.TAG=void 0;t.TAG="tag";t.STRING="string";t.SELECTOR="selector";t.ROOT="root";t.PSEUDO="pseudo";t.NESTING="nesting";t.ID="id";t.COMMENT="comment";t.COMBINATOR="combinator";t.CLASS="class";t.ATTRIBUTE="attribute";t.UNIVERSAL="universal"},23261:(e,t,r)=>{"use strict";t.__esModule=!0,t.default=void 0;var n,i=(n=r(1049))&&n.__esModule?n:{default:n},o=r(59107);var s=function(e){var t,r;function n(t){var r;return(r=e.call(this,t)||this).type=o.UNIVERSAL,r.value="*",r}return r=e,(t=n).prototype=Object.create(r.prototype),t.prototype.constructor=t,t.__proto__=r,n}(i.default);t.default=s,e.exports=t.default},15571:(e,t)=>{"use strict";t.__esModule=!0,t.default=function(e){return e.sort((function(e,t){return e-t}))},e.exports=t.default},27024:(e,t)=>{"use strict";t.__esModule=!0,t.combinator=t.word=t.comment=t.str=t.tab=t.newline=t.feed=t.cr=t.backslash=t.bang=t.slash=t.doubleQuote=t.singleQuote=t.space=t.greaterThan=t.pipe=t.equals=t.plus=t.caret=t.tilde=t.dollar=t.closeSquare=t.openSquare=t.closeParenthesis=t.openParenthesis=t.semicolon=t.colon=t.comma=t.at=t.asterisk=t.ampersand=void 0;t.ampersand=38;t.asterisk=42;t.at=64;t.comma=44;t.colon=58;t.semicolon=59;t.openParenthesis=40;t.closeParenthesis=41;t.openSquare=91;t.closeSquare=93;t.dollar=36;t.tilde=126;t.caret=94;t.plus=43;t.equals=61;t.pipe=124;t.greaterThan=62;t.space=32;t.singleQuote=39;t.doubleQuote=34;t.slash=47;t.bang=33;t.backslash=92;t.cr=13;t.feed=12;t.newline=10;t.tab=9;t.str=39;t.comment=-1;t.word=-2;t.combinator=-3},65648:(e,t,r)=>{"use strict";t.__esModule=!0,t.default=function(e){var t,r,n,i,s,a,l,c,p,h,d,f,g,m=[],v=e.css.valueOf(),y=v.length,b=-1,w=1,_=0,x=0;function k(t,r){if(!e.safe)throw e.error("Unclosed "+t,w,_-b,_);p=(v+=r).length-1}for(;_0?(h=w+l,d=p-c[l].length):(h=w,d=b),g=o.comment,w=h,i=h,n=p-d):t===o.slash?(g=t,i=w,n=_-b,x=(p=_)+1):(p=u(v,_),g=o.word,i=w,n=p-b),x=p+1}m.push([g,w,_-b,i,n,_,x]),d&&(b=d,d=null),_=x}return m},t.FIELDS=void 0;var n,i,o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};n.get||n.set?Object.defineProperty(t,r,n):t[r]=e[r]}return t.default=e,t}(r(27024));for(var s=((n={})[o.tab]=!0,n[o.newline]=!0,n[o.cr]=!0,n[o.feed]=!0,n),a=((i={})[o.space]=!0,i[o.tab]=!0,i[o.newline]=!0,i[o.cr]=!0,i[o.feed]=!0,i[o.ampersand]=!0,i[o.asterisk]=!0,i[o.bang]=!0,i[o.comma]=!0,i[o.colon]=!0,i[o.semicolon]=!0,i[o.openParenthesis]=!0,i[o.closeParenthesis]=!0,i[o.openSquare]=!0,i[o.closeSquare]=!0,i[o.singleQuote]=!0,i[o.doubleQuote]=!0,i[o.plus]=!0,i[o.pipe]=!0,i[o.tilde]=!0,i[o.greaterThan]=!0,i[o.equals]=!0,i[o.dollar]=!0,i[o.caret]=!0,i[o.slash]=!0,i),l={},c=0;c<"0123456789abcdefABCDEF".length;c++)l["0123456789abcdefABCDEF".charCodeAt(c)]=!0;function u(e,t){var r,n=t;do{if(r=e.charCodeAt(n),a[r])return n-1;r===o.backslash?n=p(e,n)+1:n++}while(n{"use strict";t.__esModule=!0,t.default=function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n0;){var i=r.shift();e[i]||(e[i]={}),e=e[i]}},e.exports=t.default},92585:(e,t)=>{"use strict";t.__esModule=!0,t.default=function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n0;){var i=r.shift();if(!e[i])return;e=e[i]}return e},e.exports=t.default},5431:(e,t,r)=>{"use strict";t.__esModule=!0,t.stripComments=t.ensureObject=t.getProp=t.unesc=void 0;var n=a(r(18127));t.unesc=n.default;var i=a(r(92585));t.getProp=i.default;var o=a(r(27378));t.ensureObject=o.default;var s=a(r(4585));function a(e){return e&&e.__esModule?e:{default:e}}t.stripComments=s.default},4585:(e,t)=>{"use strict";t.__esModule=!0,t.default=function(e){var t="",r=e.indexOf("/*"),n=0;for(;r>=0;){t+=e.slice(n,r);var i=e.indexOf("*/",r+2);if(i<0)return t;n=i+2,r=e.indexOf("/*",n)}return t+=e.slice(n)},e.exports=t.default},18127:(e,t)=>{"use strict";t.__esModule=!0,t.default=function(e){return e.replace(r,(function(e,t,r){var n="0x"+t-65536;return n!=n||r?t:n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320)}))};var r=new RegExp("\\\\([\\da-f]{1,6}[\\x20\\t\\r\\n\\f]?|([\\x20\\t\\r\\n\\f])|.)","ig");e.exports=t.default},58810:(e,t,r)=>{var n=r(16524),i=r(62452),o=r(21167);function s(e){return this instanceof s?(this.nodes=n(e),this):new s(e)}s.prototype.toString=function(){return Array.isArray(this.nodes)?o(this.nodes):""},s.prototype.walk=function(e,t){return i(this.nodes,e,t),this},s.unit=r(58043),s.walk=i,s.stringify=o,e.exports=s},16524:e=>{var t="(".charCodeAt(0),r=")".charCodeAt(0),n="'".charCodeAt(0),i='"'.charCodeAt(0),o="\\".charCodeAt(0),s="/".charCodeAt(0),a=",".charCodeAt(0),l=":".charCodeAt(0),c="*".charCodeAt(0),u="u".charCodeAt(0),p="U".charCodeAt(0),h="+".charCodeAt(0),d=/^[a-f0-9?-]+$/i;e.exports=function(e){for(var f,g,m,v,y,b,w,_,x,k=[],S=e,E=0,C=S.charCodeAt(E),T=S.length,A=[{nodes:k}],R=0,O="",P="",I="";E{function t(e,t){var n,i,o=e.type,s=e.value;return t&&void 0!==(i=t(e))?i:"word"===o||"space"===o?s:"string"===o?(n=e.quote||"")+s+(e.unclosed?"":n):"comment"===o?"/*"+s+(e.unclosed?"":"*/"):"div"===o?(e.before||"")+s+(e.after||""):Array.isArray(e.nodes)?(n=r(e.nodes,t),"function"!==o?n:s+"("+(e.before||"")+n+(e.after||"")+(e.unclosed?"":")")):s}function r(e,r){var n,i;if(Array.isArray(e)){for(n="",i=e.length-1;~i;i-=1)n=t(e[i],r)+n;return n}return t(e,r)}e.exports=r},58043:e=>{var t="-".charCodeAt(0),r="+".charCodeAt(0),n=".".charCodeAt(0),i="e".charCodeAt(0),o="E".charCodeAt(0);e.exports=function(e){var s,a,l,c=0,u=e.length;if(0===u||!function(e){var i,o=e.charCodeAt(0);if(o===r||o===t){if((i=e.charCodeAt(1))>=48&&i<=57)return!0;var s=e.charCodeAt(2);return i===n&&s>=48&&s<=57}return o===n?(i=e.charCodeAt(1))>=48&&i<=57:o>=48&&o<=57}(e))return!1;for((s=e.charCodeAt(c))!==r&&s!==t||c++;c57);)c+=1;if(s=e.charCodeAt(c),a=e.charCodeAt(c+1),s===n&&a>=48&&a<=57)for(c+=2;c57);)c+=1;if(s=e.charCodeAt(c),a=e.charCodeAt(c+1),l=e.charCodeAt(c+2),(s===i||s===o)&&(a>=48&&a<=57||(a===r||a===t)&&l>=48&&l<=57))for(c+=a===r||a===t?3:2;c57);)c+=1;return{number:e.slice(0,c),unit:e.slice(c)}}},62452:e=>{e.exports=function e(t,r,n){var i,o,s,a;for(i=0,o=t.length;i{"use strict";let n=r(65878);class i extends n{constructor(e){super(e),this.type="atrule"}append(...e){return this.proxyOf.nodes||(this.nodes=[]),super.append(...e)}prepend(...e){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(...e)}}e.exports=i,i.default=i,n.registerAtRule(i)},98259:(e,t,r)=>{"use strict";let n=r(11497);class i extends n{constructor(e){super(e),this.type="comment"}}e.exports=i,i.default=i},65878:(e,t,r)=>{"use strict";let n,i,o,{isClean:s,my:a}=r(64415),l=r(93605),c=r(98259),u=r(11497);class p extends u{push(e){return e.parent=this,this.proxyOf.nodes.push(e),this}each(e){if(!this.proxyOf.nodes)return;let t,r,n=this.getIterator();for(;this.indexes[n]{let n;try{n=e(t,r)}catch(e){throw t.addToError(e)}return!1!==n&&t.walk&&(n=t.walk(e)),n})}walkDecls(e,t){return t?e instanceof RegExp?this.walk((r,n)=>{if("decl"===r.type&&e.test(r.prop))return t(r,n)}):this.walk((r,n)=>{if("decl"===r.type&&r.prop===e)return t(r,n)}):(t=e,this.walk((e,r)=>{if("decl"===e.type)return t(e,r)}))}walkRules(e,t){return t?e instanceof RegExp?this.walk((r,n)=>{if("rule"===r.type&&e.test(r.selector))return t(r,n)}):this.walk((r,n)=>{if("rule"===r.type&&r.selector===e)return t(r,n)}):(t=e,this.walk((e,r)=>{if("rule"===e.type)return t(e,r)}))}walkAtRules(e,t){return t?e instanceof RegExp?this.walk((r,n)=>{if("atrule"===r.type&&e.test(r.name))return t(r,n)}):this.walk((r,n)=>{if("atrule"===r.type&&r.name===e)return t(r,n)}):(t=e,this.walk((e,r)=>{if("atrule"===e.type)return t(e,r)}))}walkComments(e){return this.walk((t,r)=>{if("comment"===t.type)return e(t,r)})}append(...e){for(let t of e){let e=this.normalize(t,this.last);for(let t of e)this.proxyOf.nodes.push(t)}return this.markDirty(),this}prepend(...e){e=e.reverse();for(let t of e){let e=this.normalize(t,this.first,"prepend").reverse();for(let t of e)this.proxyOf.nodes.unshift(t);for(let t in this.indexes)this.indexes[t]=this.indexes[t]+e.length}return this.markDirty(),this}cleanRaws(e){if(super.cleanRaws(e),this.nodes)for(let t of this.nodes)t.cleanRaws(e)}insertBefore(e,t){let r,n=0===(e=this.index(e))&&"prepend",i=this.normalize(t,this.proxyOf.nodes[e],n).reverse();for(let t of i)this.proxyOf.nodes.splice(e,0,t);for(let t in this.indexes)r=this.indexes[t],e<=r&&(this.indexes[t]=r+i.length);return this.markDirty(),this}insertAfter(e,t){e=this.index(e);let r,n=this.normalize(t,this.proxyOf.nodes[e]).reverse();for(let t of n)this.proxyOf.nodes.splice(e+1,0,t);for(let t in this.indexes)r=this.indexes[t],e=e&&(this.indexes[r]=t-1);return this.markDirty(),this}removeAll(){for(let e of this.proxyOf.nodes)e.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}replaceValues(e,t,r){return r||(r=t,t={}),this.walkDecls(n=>{t.props&&!t.props.includes(n.prop)||t.fast&&!n.value.includes(t.fast)||(n.value=n.value.replace(e,r))}),this.markDirty(),this}every(e){return this.nodes.every(e)}some(e){return this.nodes.some(e)}index(e){return"number"==typeof e?e:(e.proxyOf&&(e=e.proxyOf),this.proxyOf.nodes.indexOf(e))}get first(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}get last(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}normalize(e,t){if("string"==typeof e)e=function e(t){return t.map(t=>(t.nodes&&(t.nodes=e(t.nodes)),delete t.source,t))}(n(e).nodes);else if(Array.isArray(e)){e=e.slice(0);for(let t of e)t.parent&&t.parent.removeChild(t,"ignore")}else if("root"===e.type&&"document"!==this.type){e=e.nodes.slice(0);for(let t of e)t.parent&&t.parent.removeChild(t,"ignore")}else if(e.type)e=[e];else if(e.prop){if(void 0===e.value)throw new Error("Value field is missed in node creation");"string"!=typeof e.value&&(e.value=String(e.value)),e=[new l(e)]}else if(e.selector)e=[new i(e)];else if(e.name)e=[new o(e)];else{if(!e.text)throw new Error("Unknown node type in node creation");e=[new c(e)]}return e.map(e=>(e[a]||p.rebuild(e),(e=e.proxyOf).parent&&e.parent.removeChild(e),e[s]&&function e(t){if(t[s]=!1,t.proxyOf.nodes)for(let r of t.proxyOf.nodes)e(r)}(e),void 0===e.raws.before&&t&&void 0!==t.raws.before&&(e.raws.before=t.raws.before.replace(/\S/g,"")),e.parent=this,e))}getProxyProcessor(){return{set:(e,t,r)=>(e[t]===r||(e[t]=r,"name"!==t&&"params"!==t&&"selector"!==t||e.markDirty()),!0),get:(e,t)=>"proxyOf"===t?e:e[t]?"each"===t||"string"==typeof t&&t.startsWith("walk")?(...r)=>e[t](...r.map(e=>"function"==typeof e?(t,r)=>e(t.toProxy(),r):e)):"every"===t||"some"===t?r=>e[t]((e,...t)=>r(e.toProxy(),...t)):"root"===t?()=>e.root().toProxy():"nodes"===t?e.nodes.map(e=>e.toProxy()):"first"===t||"last"===t?e[t].toProxy():e[t]:e[t]}}getIterator(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let e=this.lastEach;return this.indexes[e]=0,e}}p.registerParse=e=>{n=e},p.registerRule=e=>{i=e},p.registerAtRule=e=>{o=e},e.exports=p,p.default=p,p.rebuild=e=>{"atrule"===e.type?Object.setPrototypeOf(e,o.prototype):"rule"===e.type?Object.setPrototypeOf(e,i.prototype):"decl"===e.type?Object.setPrototypeOf(e,l.prototype):"comment"===e.type&&Object.setPrototypeOf(e,c.prototype),e[a]=!0,e.nodes&&e.nodes.forEach(e=>{p.rebuild(e)})}},19535:(e,t,r)=>{"use strict";let n=r(63125),i=r(28300);class o extends Error{constructor(e,t,r,n,i,s){super(e),this.name="CssSyntaxError",this.reason=e,i&&(this.file=i),n&&(this.source=n),s&&(this.plugin=s),void 0!==t&&void 0!==r&&(this.line=t,this.column=r),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,o)}setMessage(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"",void 0!==this.line&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason}showSourceCode(e){if(!this.source)return"";let t=this.source;null==e&&(e=n.isColorSupported),i&&e&&(t=i(t));let r,o,s=t.split(/\r?\n/),a=Math.max(this.line-3,0),l=Math.min(this.line+2,s.length),c=String(l).length;if(e){let{bold:e,red:t,gray:i}=n.createColors(!0);r=r=>e(t(r)),o=e=>i(e)}else r=o=e=>e;return s.slice(a,l).map((e,t)=>{let n=a+1+t,i=" "+(" "+n).slice(-c)+" | ";if(n===this.line){let t=o(i.replace(/\d/g," "))+e.slice(0,this.column-1).replace(/[^\t]/g," ");return r(">")+o(i)+e+"\n "+t+r("^")}return" "+o(i)+e}).join("\n")}toString(){let e=this.showSourceCode();return e&&(e="\n\n"+e+"\n"),this.name+": "+this.message+e}}e.exports=o,o.default=o},93605:(e,t,r)=>{"use strict";let n=r(11497);class i extends n{constructor(e){e&&void 0!==e.value&&"string"!=typeof e.value&&(e={...e,value:String(e.value)}),super(e),this.type="decl"}get variable(){return this.prop.startsWith("--")||"$"===this.prop[0]}}e.exports=i,i.default=i},377:(e,t,r)=>{"use strict";let n,i,o=r(65878);class s extends o{constructor(e){super({type:"document",...e}),this.nodes||(this.nodes=[])}toResult(e={}){return new n(new i,this,e).stringify()}}s.registerLazyResult=e=>{n=e},s.registerProcessor=e=>{i=e},e.exports=s,s.default=s},26624:(e,t,r)=>{"use strict";let n=r(93605),i=r(72713),o=r(98259),s=r(59570),a=r(24905),l=r(25907),c=r(97797);function u(e,t){if(Array.isArray(e))return e.map(e=>u(e));let{inputs:r,...p}=e;if(r){t=[];for(let e of r){let r={...e,__proto__:a.prototype};r.map&&(r.map={...r.map,__proto__:i.prototype}),t.push(r)}}if(p.nodes&&(p.nodes=e.nodes.map(e=>u(e,t))),p.source){let{inputId:e,...r}=p.source;p.source=r,null!=e&&(p.source.input=t[e])}if("root"===p.type)return new l(p);if("decl"===p.type)return new n(p);if("rule"===p.type)return new c(p);if("comment"===p.type)return new o(p);if("atrule"===p.type)return new s(p);throw new Error("Unknown node type: "+e.type)}e.exports=u,u.default=u},24905:(e,t,r)=>{"use strict";let{SourceMapConsumer:n,SourceMapGenerator:i}=r(5169),{fileURLToPath:o,pathToFileURL:s}=r(78835),{resolve:a,isAbsolute:l}=r(85622),{nanoid:c}=r(16313),u=r(28300),p=r(19535),h=r(72713),d=Symbol("fromOffsetCache"),f=Boolean(n&&i),g=Boolean(a&&l);class m{constructor(e,t={}){if(null==e||"object"==typeof e&&!e.toString)throw new Error(`PostCSS received ${e} instead of CSS string`);if(this.css=e.toString(),"\ufeff"===this.css[0]||"￾"===this.css[0]?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,t.from&&(!g||/^\w+:\/\//.test(t.from)||l(t.from)?this.file=t.from:this.file=a(t.from)),g&&f){let e=new h(this.css,t);if(e.text){this.map=e;let t=e.consumer().file;!this.file&&t&&(this.file=this.mapResolve(t))}}this.file||(this.id=""),this.map&&(this.map.file=this.from)}fromOffset(e){let t,r;if(this[d])r=this[d];else{let e=this.css.split("\n");r=new Array(e.length);let t=0;for(let n=0,i=e.length;n=t)n=r.length-1;else{let t,i=r.length-2;for(;n>1),e=r[t+1])){n=t;break}n=t+1}}return{line:n+1,col:e-r[n]+1}}error(e,t,r,n={}){let i;if(!r){let e=this.fromOffset(t);t=e.line,r=e.col}let o=this.origin(t,r);return i=o?new p(e,o.line,o.column,o.source,o.file,n.plugin):new p(e,t,r,this.css,this.file,n.plugin),i.input={line:t,column:r,source:this.css},this.file&&(s&&(i.input.url=s(this.file).toString()),i.input.file=this.file),i}origin(e,t){if(!this.map)return!1;let r,n=this.map.consumer(),i=n.originalPositionFor({line:e,column:t});if(!i.source)return!1;r=l(i.source)?s(i.source):new URL(i.source,this.map.consumer().sourceRoot||s(this.map.mapFile));let a={url:r.toString(),line:i.line,column:i.column};if("file:"===r.protocol){if(!o)throw new Error("file: protocol is not available in this PostCSS build");a.file=o(r)}let c=n.sourceContentFor(i.source);return c&&(a.source=c),a}mapResolve(e){return/^\w+:\/\//.test(e)?e:a(this.map.consumer().sourceRoot||this.map.root||".",e)}get from(){return this.file||this.id}toJSON(){let e={};for(let t of["hasBOM","css","file","id"])null!=this[t]&&(e[t]=this[t]);return this.map&&(e.map={...this.map},e.map.consumerCache&&(e.map.consumerCache=void 0)),e}}e.exports=m,m.default=m,u&&u.registerInput&&u.registerInput(m)},61169:(e,t,r)=>{"use strict";let{isClean:n,my:i}=r(64415),o=r(53595),s=r(87549),a=r(65878),l=r(377),c=r(83831),u=r(17613),p=r(93749),h=r(25907);const d={document:"Document",root:"Root",atrule:"AtRule",rule:"Rule",decl:"Declaration",comment:"Comment"},f={postcssPlugin:!0,prepare:!0,Once:!0,Document:!0,Root:!0,Declaration:!0,Rule:!0,AtRule:!0,Comment:!0,DeclarationExit:!0,RuleExit:!0,AtRuleExit:!0,CommentExit:!0,RootExit:!0,DocumentExit:!0,OnceExit:!0},g={postcssPlugin:!0,prepare:!0,Once:!0};function m(e){return"object"==typeof e&&"function"==typeof e.then}function v(e){let t=!1,r=d[e.type];return"decl"===e.type?t=e.prop.toLowerCase():"atrule"===e.type&&(t=e.name.toLowerCase()),t&&e.append?[r,r+"-"+t,0,r+"Exit",r+"Exit-"+t]:t?[r,r+"-"+t,r+"Exit",r+"Exit-"+t]:e.append?[r,0,r+"Exit"]:[r,r+"Exit"]}function y(e){let t;return t="document"===e.type?["Document",0,"DocumentExit"]:"root"===e.type?["Root",0,"RootExit"]:v(e),{node:e,events:t,eventIndex:0,visitors:[],visitorIndex:0,iterator:0}}function b(e){return e[n]=!1,e.nodes&&e.nodes.forEach(e=>b(e)),e}let w={};class _{constructor(e,t,r){let n;if(this.stringified=!1,this.processed=!1,"object"!=typeof t||null===t||"root"!==t.type&&"document"!==t.type)if(t instanceof _||t instanceof u)n=b(t.root),t.map&&(void 0===r.map&&(r.map={}),r.map.inline||(r.map.inline=!1),r.map.prev=t.map);else{let e=p;r.syntax&&(e=r.syntax.parse),r.parser&&(e=r.parser),e.parse&&(e=e.parse);try{n=e(t,r)}catch(e){this.processed=!0,this.error=e}n&&!n[i]&&a.rebuild(n)}else n=b(t);this.result=new u(e,n,r),this.helpers={...w,result:this.result,postcss:w},this.plugins=this.processor.plugins.map(e=>"object"==typeof e&&e.prepare?{...e,...e.prepare(this.result)}:e)}get[Symbol.toStringTag](){return"LazyResult"}get processor(){return this.result.processor}get opts(){return this.result.opts}get css(){return this.stringify().css}get content(){return this.stringify().content}get map(){return this.stringify().map}get root(){return this.sync().root}get messages(){return this.sync().messages}warnings(){return this.sync().warnings()}toString(){return this.css}then(e,t){return"production"!==process.env.NODE_ENV&&("from"in this.opts||c("Without `from` option PostCSS could generate wrong source map and will not find Browserslist config. Set it to CSS file path or to `undefined` to prevent this warning.")),this.async().then(e,t)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}sync(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(let e of this.plugins){if(m(this.runOnRoot(e)))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[n];)e[n]=!0,this.walkSync(e);if(this.listeners.OnceExit)if("document"===e.type)for(let t of e.nodes)this.visitSync(this.listeners.OnceExit,t);else this.visitSync(this.listeners.OnceExit,e)}return this.result}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let e=this.result.opts,t=s;e.syntax&&(t=e.syntax.stringify),e.stringifier&&(t=e.stringifier),t.stringify&&(t=t.stringify);let r=new o(t,this.result.root,this.result.opts).generate();return this.result.css=r[0],this.result.map=r[1],this.result}walkSync(e){e[n]=!0;let t=v(e);for(let r of t)if(0===r)e.nodes&&e.each(e=>{e[n]||this.walkSync(e)});else{let t=this.listeners[r];if(t&&this.visitSync(t,e.toProxy()))return}}visitSync(e,t){for(let[r,n]of e){let e;this.result.lastPlugin=r;try{e=n(t,this.helpers)}catch(e){throw this.handleError(e,t.proxyOf)}if("root"!==t.type&&"document"!==t.type&&!t.parent)return!0;if(m(e))throw this.getAsyncError()}}runOnRoot(e){this.result.lastPlugin=e;try{if("object"==typeof e&&e.Once){if("document"===this.result.root.type){let t=this.result.root.nodes.map(t=>e.Once(t,this.helpers));return m(t[0])?Promise.all(t):t}return e.Once(this.result.root,this.helpers)}if("function"==typeof e)return e(this.result.root,this.result)}catch(e){throw this.handleError(e)}}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}handleError(e,t){let r=this.result.lastPlugin;try{if(t&&t.addToError(e),this.error=e,"CssSyntaxError"!==e.name||e.plugin){if(r.postcssVersion&&"production"!==process.env.NODE_ENV){let e=r.postcssPlugin,t=r.postcssVersion,n=this.result.processor.version,i=t.split("."),o=n.split(".");(i[0]!==o[0]||parseInt(i[1])>parseInt(o[1]))&&console.error("Unknown error from PostCSS plugin. Your current PostCSS version is "+n+", but "+e+" uses "+t+". Perhaps this is the source of the error below.")}}else e.plugin=r.postcssPlugin,e.setMessage()}catch(e){console&&console.error&&console.error(e)}return e}async runAsync(){this.plugin=0;for(let e=0;e0;){let e=this.visitTick(t);if(m(e))try{await e}catch(e){let r=t[t.length-1].node;throw this.handleError(e,r)}}}if(this.listeners.OnceExit)for(let[t,r]of this.listeners.OnceExit){this.result.lastPlugin=t;try{if("document"===e.type){let t=e.nodes.map(e=>r(e,this.helpers));await Promise.all(t)}else await r(e,this.helpers)}catch(e){throw this.handleError(e)}}}return this.processed=!0,this.stringify()}prepareVisitors(){this.listeners={};let e=(e,t,r)=>{this.listeners[t]||(this.listeners[t]=[]),this.listeners[t].push([e,r])};for(let t of this.plugins)if("object"==typeof t)for(let r in t){if(!f[r]&&/^[A-Z]/.test(r))throw new Error(`Unknown event ${r} in ${t.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);if(!g[r])if("object"==typeof t[r])for(let n in t[r])e(t,"*"===n?r:r+"-"+n.toLowerCase(),t[r][n]);else"function"==typeof t[r]&&e(t,r,t[r])}this.hasListener=Object.keys(this.listeners).length>0}visitTick(e){let t=e[e.length-1],{node:r,visitors:i}=t;if("root"!==r.type&&"document"!==r.type&&!r.parent)return void e.pop();if(i.length>0&&t.visitorIndex{w=e},e.exports=_,_.default=_,h.registerLazyResult(_),l.registerLazyResult(_)},47009:e=>{"use strict";let t={split(e,t,r){let n=[],i="",o=!1,s=0,a=!1,l=!1;for(let r of e)l?l=!1:"\\"===r?l=!0:a?r===a&&(a=!1):'"'===r||"'"===r?a=r:"("===r?s+=1:")"===r?s>0&&(s-=1):0===s&&t.includes(r)&&(o=!0),o?(""!==i&&n.push(i.trim()),i="",o=!1):i+=r;return(r||""!==i)&&n.push(i.trim()),n},space:e=>t.split(e,[" ","\n","\t"]),comma:e=>t.split(e,[","],!0)};e.exports=t,t.default=t},53595:(e,t,r)=>{"use strict";let{SourceMapConsumer:n,SourceMapGenerator:i}=r(5169),{dirname:o,resolve:s,relative:a,sep:l}=r(85622),{pathToFileURL:c}=r(78835),u=Boolean(n&&i),p=Boolean(o&&s&&a&&l);e.exports=class{constructor(e,t,r){this.stringify=e,this.mapOpts=r.map||{},this.root=t,this.opts=r}isMap(){return void 0!==this.opts.map?!!this.opts.map:this.previous().length>0}previous(){return this.previousMaps||(this.previousMaps=[],this.root.walk(e=>{if(e.source&&e.source.input.map){let t=e.source.input.map;this.previousMaps.includes(t)||this.previousMaps.push(t)}})),this.previousMaps}isInline(){if(void 0!==this.mapOpts.inline)return this.mapOpts.inline;let e=this.mapOpts.annotation;return(void 0===e||!0===e)&&(!this.previous().length||this.previous().some(e=>e.inline))}isSourcesContent(){return void 0!==this.mapOpts.sourcesContent?this.mapOpts.sourcesContent:!this.previous().length||this.previous().some(e=>e.withContent())}clearAnnotation(){if(!1===this.mapOpts.annotation)return;let e;for(let t=this.root.nodes.length-1;t>=0;t--)e=this.root.nodes[t],"comment"===e.type&&0===e.text.indexOf("# sourceMappingURL=")&&this.root.removeChild(t)}setSourcesContent(){let e={};this.root.walk(t=>{if(t.source){let r=t.source.input.from;r&&!e[r]&&(e[r]=!0,this.map.setSourceContent(this.toUrl(this.path(r)),t.source.input.css))}})}applyPrevMaps(){for(let e of this.previous()){let t,r=this.toUrl(this.path(e.file)),i=e.root||o(e.file);!1===this.mapOpts.sourcesContent?(t=new n(e.text),t.sourcesContent&&(t.sourcesContent=t.sourcesContent.map(()=>null))):t=e.consumer(),this.map.applySourceMap(t,r,this.toUrl(this.path(i)))}}isAnnotation(){return!!this.isInline()||(void 0!==this.mapOpts.annotation?this.mapOpts.annotation:!this.previous().length||this.previous().some(e=>e.annotation))}toBase64(e){return Buffer?Buffer.from(e).toString("base64"):window.btoa(unescape(encodeURIComponent(e)))}addAnnotation(){let e;e=this.isInline()?"data:application/json;base64,"+this.toBase64(this.map.toString()):"string"==typeof this.mapOpts.annotation?this.mapOpts.annotation:"function"==typeof this.mapOpts.annotation?this.mapOpts.annotation(this.opts.to,this.root):this.outputFile()+".map";let t="\n";this.css.includes("\r\n")&&(t="\r\n"),this.css+=t+"/*# sourceMappingURL="+e+" */"}outputFile(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"}generateMap(){return this.generateString(),this.isSourcesContent()&&this.setSourcesContent(),this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline()?[this.css]:[this.css,this.map]}path(e){if(0===e.indexOf("<"))return e;if(/^\w+:\/\//.test(e))return e;if(this.mapOpts.absolute)return e;let t=this.opts.to?o(this.opts.to):".";return"string"==typeof this.mapOpts.annotation&&(t=o(s(t,this.mapOpts.annotation))),e=a(t,e)}toUrl(e){return"\\"===l&&(e=e.replace(/\\/g,"/")),encodeURI(e).replace(/[#?]/g,encodeURIComponent)}sourcePath(e){if(this.mapOpts.from)return this.toUrl(this.mapOpts.from);if(this.mapOpts.absolute){if(c)return c(e.source.input.from).toString();throw new Error("`map.absolute` option is not available in this PostCSS build")}return this.toUrl(this.path(e.source.input.from))}generateString(){this.css="",this.map=new i({file:this.outputFile()});let e,t,r=1,n=1,o={source:"",generated:{line:0,column:0},original:{line:0,column:0}};this.stringify(this.root,(i,s,a)=>{if(this.css+=i,s&&"end"!==a&&(o.generated.line=r,o.generated.column=n-1,s.source&&s.source.start?(o.source=this.sourcePath(s),o.original.line=s.source.start.line,o.original.column=s.source.start.column-1,this.map.addMapping(o)):(o.source="",o.original.line=1,o.original.column=0,this.map.addMapping(o))),e=i.match(/\n/g),e?(r+=e.length,t=i.lastIndexOf("\n"),n=i.length-t):n+=i.length,s&&"start"!==a){let e=s.parent||{raws:{}};("decl"!==s.type||s!==e.last||e.raws.semicolon)&&(s.source&&s.source.end?(o.source=this.sourcePath(s),o.original.line=s.source.end.line,o.original.column=s.source.end.column-1,o.generated.line=r,o.generated.column=n-2,this.map.addMapping(o)):(o.source="",o.original.line=1,o.original.column=0,o.generated.line=r,o.generated.column=n-1,this.map.addMapping(o)))}})}generate(){if(this.clearAnnotation(),p&&u&&this.isMap())return this.generateMap();let e="";return this.stringify(this.root,t=>{e+=t}),[e]}}},11497:(e,t,r)=>{"use strict";let{isClean:n,my:i}=r(64415),o=r(19535),s=r(53935),a=r(87549);class l{constructor(e={}){this.raws={},this[n]=!1,this[i]=!0;for(let t in e)if("nodes"===t){this.nodes=[];for(let r of e[t])"function"==typeof r.clone?this.append(r.clone()):this.append(r)}else this[t]=e[t]}error(e,t={}){if(this.source){let r=this.positionBy(t);return this.source.input.error(e,r.line,r.column,t)}return new o(e)}warn(e,t,r){let n={node:this};for(let e in r)n[e]=r[e];return e.warn(t,n)}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}toString(e=a){e.stringify&&(e=e.stringify);let t="";return e(this,e=>{t+=e}),t}assign(e={}){for(let t in e)this[t]=e[t];return this}clone(e={}){let t=function e(t,r){let n=new t.constructor;for(let i in t){if(!Object.prototype.hasOwnProperty.call(t,i))continue;if("proxyCache"===i)continue;let o=t[i],s=typeof o;"parent"===i&&"object"===s?r&&(n[i]=r):"source"===i?n[i]=o:Array.isArray(o)?n[i]=o.map(t=>e(t,n)):("object"===s&&null!==o&&(o=e(o)),n[i]=o)}return n}(this);for(let r in e)t[r]=e[r];return t}cloneBefore(e={}){let t=this.clone(e);return this.parent.insertBefore(this,t),t}cloneAfter(e={}){let t=this.clone(e);return this.parent.insertAfter(this,t),t}replaceWith(...e){if(this.parent){let t=this,r=!1;for(let n of e)n===this?r=!0:r?(this.parent.insertAfter(t,n),t=n):this.parent.insertBefore(t,n);r||this.remove()}return this}next(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e+1]}prev(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e-1]}before(e){return this.parent.insertBefore(this,e),this}after(e){return this.parent.insertAfter(this,e),this}root(){let e=this;for(;e.parent&&"document"!==e.parent.type;)e=e.parent;return e}raw(e,t){return(new s).raw(this,e,t)}cleanRaws(e){delete this.raws.before,delete this.raws.after,e||delete this.raws.between}toJSON(e,t){let r={},n=null==t;t=t||new Map;let i=0;for(let e in this){if(!Object.prototype.hasOwnProperty.call(this,e))continue;if("parent"===e||"proxyCache"===e)continue;let n=this[e];if(Array.isArray(n))r[e]=n.map(e=>"object"==typeof e&&e.toJSON?e.toJSON(null,t):e);else if("object"==typeof n&&n.toJSON)r[e]=n.toJSON(null,t);else if("source"===e){let o=t.get(n.input);null==o&&(o=i,t.set(n.input,i),i++),r[e]={inputId:o,start:n.start,end:n.end}}else r[e]=n}return n&&(r.inputs=[...t.keys()].map(e=>e.toJSON())),r}positionInside(e){let t=this.toString(),r=this.source.start.column,n=this.source.start.line;for(let i=0;i(e[t]===r||(e[t]=r,"prop"!==t&&"value"!==t&&"name"!==t&&"params"!==t&&"important"!==t&&"text"!==t||e.markDirty()),!0),get:(e,t)=>"proxyOf"===t?e:"root"===t?()=>e.root().toProxy():e[t]}}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}addToError(e){if(e.postcssNode=this,e.stack&&this.source&&/\n\s{4}at /.test(e.stack)){let t=this.source;e.stack=e.stack.replace(/\n\s{4}at /,`$&${t.input.from}:${t.start.line}:${t.start.column}$&`)}return e}markDirty(){if(this[n]){this[n]=!1;let e=this;for(;e=e.parent;)e[n]=!1}}get proxyOf(){return this}}e.exports=l,l.default=l},93749:(e,t,r)=>{"use strict";let n=r(65878),i=r(69570),o=r(24905);function s(e,t){let r=new o(e,t),n=new i(r);try{n.parse()}catch(e){throw"production"!==process.env.NODE_ENV&&"CssSyntaxError"===e.name&&t&&t.from&&(/\.scss$/i.test(t.from)?e.message+="\nYou tried to parse SCSS with the standard CSS parser; try again with the postcss-scss parser":/\.sass/i.test(t.from)?e.message+="\nYou tried to parse Sass with the standard CSS parser; try again with the postcss-sass parser":/\.less$/i.test(t.from)&&(e.message+="\nYou tried to parse Less with the standard CSS parser; try again with the postcss-less parser")),e}return n.root}e.exports=s,s.default=s,n.registerParse(s)},69570:(e,t,r)=>{"use strict";let n=r(93605),i=r(71926),o=r(98259),s=r(59570),a=r(25907),l=r(97797);e.exports=class{constructor(e){this.input=e,this.root=new a,this.current=this.root,this.spaces="",this.semicolon=!1,this.customProperty=!1,this.createTokenizer(),this.root.source={input:e,start:{offset:0,line:1,column:1}}}createTokenizer(){this.tokenizer=i(this.input)}parse(){let e;for(;!this.tokenizer.endOfFile();)switch(e=this.tokenizer.nextToken(),e[0]){case"space":this.spaces+=e[1];break;case";":this.freeSemicolon(e);break;case"}":this.end(e);break;case"comment":this.comment(e);break;case"at-word":this.atrule(e);break;case"{":this.emptyRule(e);break;default:this.other(e)}this.endFile()}comment(e){let t=new o;this.init(t,e[2]),t.source.end=this.getPosition(e[3]||e[2]);let r=e[1].slice(2,-2);if(/^\s*$/.test(r))t.text="",t.raws.left=r,t.raws.right="";else{let e=r.match(/^(\s*)([^]*\S)(\s*)$/);t.text=e[2],t.raws.left=e[1],t.raws.right=e[3]}}emptyRule(e){let t=new l;this.init(t,e[2]),t.selector="",t.raws.between="",this.current=t}other(e){let t=!1,r=null,n=!1,i=null,o=[],s=e[1].startsWith("--"),a=[],l=e;for(;l;){if(r=l[0],a.push(l),"("===r||"["===r)i||(i=l),o.push("("===r?")":"]");else if(s&&n&&"{"===r)i||(i=l),o.push("}");else if(0===o.length){if(";"===r){if(n)return void this.decl(a,s);break}if("{"===r)return void this.rule(a);if("}"===r){this.tokenizer.back(a.pop()),t=!0;break}":"===r&&(n=!0)}else r===o[o.length-1]&&(o.pop(),0===o.length&&(i=null));l=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(t=!0),o.length>0&&this.unclosedBracket(i),t&&n){for(;a.length&&(l=a[a.length-1][0],"space"===l||"comment"===l);)this.tokenizer.back(a.pop());this.decl(a,s)}else this.unknownWord(a)}rule(e){e.pop();let t=new l;this.init(t,e[0][2]),t.raws.between=this.spacesAndCommentsFromEnd(e),this.raw(t,"selector",e),this.current=t}decl(e,t){let r=new n;this.init(r,e[0][2]);let i,o=e[e.length-1];for(";"===o[0]&&(this.semicolon=!0,e.pop()),r.source.end=this.getPosition(o[3]||o[2]);"word"!==e[0][0];)1===e.length&&this.unknownWord(e),r.raws.before+=e.shift()[1];for(r.source.start=this.getPosition(e[0][2]),r.prop="";e.length;){let t=e[0][0];if(":"===t||"space"===t||"comment"===t)break;r.prop+=e.shift()[1]}for(r.raws.between="";e.length;){if(i=e.shift(),":"===i[0]){r.raws.between+=i[1];break}"word"===i[0]&&/\w/.test(i[1])&&this.unknownWord([i]),r.raws.between+=i[1]}"_"!==r.prop[0]&&"*"!==r.prop[0]||(r.raws.before+=r.prop[0],r.prop=r.prop.slice(1));let s=this.spacesAndCommentsFromStart(e);this.precheckMissedSemicolon(e);for(let t=e.length-1;t>=0;t--){if(i=e[t],"!important"===i[1].toLowerCase()){r.important=!0;let n=this.stringFrom(e,t);n=this.spacesFromEnd(e)+n," !important"!==n&&(r.raws.important=n);break}if("important"===i[1].toLowerCase()){let n=e.slice(0),i="";for(let e=t;e>0;e--){let t=n[e][0];if(0===i.trim().indexOf("!")&&"space"!==t)break;i=n.pop()[1]+i}0===i.trim().indexOf("!")&&(r.important=!0,r.raws.important=i,e=n)}if("space"!==i[0]&&"comment"!==i[0])break}let a=e.some(e=>"space"!==e[0]&&"comment"!==e[0]);this.raw(r,"value",e),a?r.raws.between+=s:r.value=s+r.value,r.value.includes(":")&&!t&&this.checkMissedSemicolon(e)}atrule(e){let t,r,n,i=new s;i.name=e[1].slice(1),""===i.name&&this.unnamedAtrule(i,e),this.init(i,e[2]);let o=!1,a=!1,l=[],c=[];for(;!this.tokenizer.endOfFile();){if(t=(e=this.tokenizer.nextToken())[0],"("===t||"["===t?c.push("("===t?")":"]"):"{"===t&&c.length>0?c.push("}"):t===c[c.length-1]&&c.pop(),0===c.length){if(";"===t){i.source.end=this.getPosition(e[2]),this.semicolon=!0;break}if("{"===t){a=!0;break}if("}"===t){if(l.length>0){for(n=l.length-1,r=l[n];r&&"space"===r[0];)r=l[--n];r&&(i.source.end=this.getPosition(r[3]||r[2]))}this.end(e);break}l.push(e)}else l.push(e);if(this.tokenizer.endOfFile()){o=!0;break}}i.raws.between=this.spacesAndCommentsFromEnd(l),l.length?(i.raws.afterName=this.spacesAndCommentsFromStart(l),this.raw(i,"params",l),o&&(e=l[l.length-1],i.source.end=this.getPosition(e[3]||e[2]),this.spaces=i.raws.between,i.raws.between="")):(i.raws.afterName="",i.params=""),a&&(i.nodes=[],this.current=i)}end(e){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(e[2]),this.current=this.current.parent):this.unexpectedClose(e)}endFile(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces}freeSemicolon(e){if(this.spaces+=e[1],this.current.nodes){let e=this.current.nodes[this.current.nodes.length-1];e&&"rule"===e.type&&!e.raws.ownSemicolon&&(e.raws.ownSemicolon=this.spaces,this.spaces="")}}getPosition(e){let t=this.input.fromOffset(e);return{offset:e,line:t.line,column:t.col}}init(e,t){this.current.push(e),e.source={start:this.getPosition(t),input:this.input},e.raws.before=this.spaces,this.spaces="","comment"!==e.type&&(this.semicolon=!1)}raw(e,t,r){let n,i,o,s,a=r.length,l="",c=!0,u=/^([#.|])?(\w)+/i;for(let t=0;te+t[1],"");e.raws[t]={value:l,raw:n}}e[t]=l}spacesAndCommentsFromEnd(e){let t,r="";for(;e.length&&(t=e[e.length-1][0],"space"===t||"comment"===t);)r=e.pop()[1]+r;return r}spacesAndCommentsFromStart(e){let t,r="";for(;e.length&&(t=e[0][0],"space"===t||"comment"===t);)r+=e.shift()[1];return r}spacesFromEnd(e){let t,r="";for(;e.length&&(t=e[e.length-1][0],"space"===t);)r=e.pop()[1]+r;return r}stringFrom(e,t){let r="";for(let n=t;n=0&&(r=e[i],"space"===r[0]||(n+=1,2!==n));i--);throw this.input.error("Missed semicolon","word"===r[0]?r[3]+1:r[2])}}},44633:(e,t,r)=>{"use strict";let n=r(19535),i=r(93605),o=r(61169),s=r(65878),a=r(68074),l=r(87549),c=r(26624),u=r(377),p=r(97338),h=r(98259),d=r(59570),f=r(17613),g=r(24905),m=r(93749),v=r(47009),y=r(97797),b=r(25907),w=r(11497);function _(...e){return 1===e.length&&Array.isArray(e[0])&&(e=e[0]),new a(e)}_.plugin=function(e,t){function r(...r){let n=t(...r);return n.postcssPlugin=e,n.postcssVersion=(new a).version,n}let n;return console&&console.warn&&(console.warn(e+": postcss.plugin was deprecated. Migration guide:\nhttps://evilmartians.com/chronicles/postcss-8-plugin-migration"),process.env.LANG&&process.env.LANG.startsWith("cn")&&console.warn(e+": 里面 postcss.plugin 被弃用. 迁移指南:\nhttps://www.w3ctech.com/topic/2226")),Object.defineProperty(r,"postcss",{get:()=>(n||(n=r()),n)}),r.process=function(e,t,n){return _([r(n)]).process(e,t)},r},_.stringify=l,_.parse=m,_.fromJSON=c,_.list=v,_.comment=e=>new h(e),_.atRule=e=>new d(e),_.decl=e=>new i(e),_.rule=e=>new y(e),_.root=e=>new b(e),_.document=e=>new u(e),_.CssSyntaxError=n,_.Declaration=i,_.Container=s,_.Document=u,_.Comment=h,_.Warning=p,_.AtRule=d,_.Result=f,_.Input=g,_.Rule=y,_.Root=b,_.Node=w,o.registerPostcss(_),e.exports=_,_.default=_},72713:(e,t,r)=>{"use strict";let{SourceMapConsumer:n,SourceMapGenerator:i}=r(5169),{existsSync:o,readFileSync:s}=r(35747),{dirname:a,join:l}=r(85622);class c{constructor(e,t){if(!1===t.map)return;this.loadAnnotation(e),this.inline=this.startWith(this.annotation,"data:");let r=t.map?t.map.prev:void 0,n=this.loadMap(t.from,r);!this.mapFile&&t.from&&(this.mapFile=t.from),this.mapFile&&(this.root=a(this.mapFile)),n&&(this.text=n)}consumer(){return this.consumerCache||(this.consumerCache=new n(this.text)),this.consumerCache}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}startWith(e,t){return!!e&&e.substr(0,t.length)===t}getAnnotationURL(e){return e.match(/\/\*\s*# sourceMappingURL=((?:(?!sourceMappingURL=).)*)\*\//)[1].trim()}loadAnnotation(e){let t=e.match(/\/\*\s*# sourceMappingURL=(?:(?!sourceMappingURL=).)*\*\//gm);if(t&&t.length>0){let e=t[t.length-1];e&&(this.annotation=this.getAnnotationURL(e))}}decodeInline(e){if(/^data:application\/json;charset=utf-?8,/.test(e)||/^data:application\/json,/.test(e))return decodeURIComponent(e.substr(RegExp.lastMatch.length));if(/^data:application\/json;charset=utf-?8;base64,/.test(e)||/^data:application\/json;base64,/.test(e))return t=e.substr(RegExp.lastMatch.length),Buffer?Buffer.from(t,"base64").toString():window.atob(t);var t;let r=e.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+r)}loadFile(e){if(this.root=a(e),o(e))return this.mapFile=e,s(e,"utf-8").toString().trim()}loadMap(e,t){if(!1===t)return!1;if(t){if("string"==typeof t)return t;if("function"!=typeof t){if(t instanceof n)return i.fromSourceMap(t).toString();if(t instanceof i)return t.toString();if(this.isMap(t))return JSON.stringify(t);throw new Error("Unsupported previous source map format: "+t.toString())}{let r=t(e);if(r){let e=this.loadFile(r);if(!e)throw new Error("Unable to load previous source map: "+r.toString());return e}}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){let t=this.annotation;return e&&(t=l(a(e),t)),this.loadFile(t)}}}isMap(e){return"object"==typeof e&&("string"==typeof e.mappings||"string"==typeof e._mappings||Array.isArray(e.sections))}}e.exports=c,c.default=c},68074:(e,t,r)=>{"use strict";let n=r(61169),i=r(377),o=r(25907);class s{constructor(e=[]){this.version="8.3.9",this.plugins=this.normalize(e)}use(e){return this.plugins=this.plugins.concat(this.normalize([e])),this}process(e,t={}){return 0!==this.plugins.length||void 0!==t.parser||void 0!==t.stringifier||void 0!==t.syntax||t.hideNothingWarning||"production"!==process.env.NODE_ENV&&"undefined"!=typeof console&&console.warn&&console.warn("You did not set any plugins, parser, or stringifier. Right now, PostCSS does nothing. Pick plugins for your case on https://www.postcss.parts/ and use them in postcss.config.js."),new n(this,e,t)}normalize(e){let t=[];for(let r of e)if(!0===r.postcss?r=r():r.postcss&&(r=r.postcss),"object"==typeof r&&Array.isArray(r.plugins))t=t.concat(r.plugins);else if("object"==typeof r&&r.postcssPlugin)t.push(r);else if("function"==typeof r)t.push(r);else{if("object"!=typeof r||!r.parse&&!r.stringify)throw new Error(r+" is not a PostCSS plugin");if("production"!==process.env.NODE_ENV)throw new Error("PostCSS syntaxes cannot be used as plugins. Instead, please use one of the syntax/parser/stringifier options as outlined in your PostCSS runner documentation.")}return t}}e.exports=s,s.default=s,o.registerProcessor(s),i.registerProcessor(s)},17613:(e,t,r)=>{"use strict";let n=r(97338);class i{constructor(e,t,r){this.processor=e,this.messages=[],this.root=t,this.opts=r,this.css=void 0,this.map=void 0}toString(){return this.css}warn(e,t={}){t.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(t.plugin=this.lastPlugin.postcssPlugin);let r=new n(e,t);return this.messages.push(r),r}warnings(){return this.messages.filter(e=>"warning"===e.type)}get content(){return this.css}}e.exports=i,i.default=i},25907:(e,t,r)=>{"use strict";let n,i,o=r(65878);class s extends o{constructor(e){super(e),this.type="root",this.nodes||(this.nodes=[])}removeChild(e,t){let r=this.index(e);return!t&&0===r&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[r].raws.before),super.removeChild(e)}normalize(e,t,r){let n=super.normalize(e);if(t)if("prepend"===r)this.nodes.length>1?t.raws.before=this.nodes[1].raws.before:delete t.raws.before;else if(this.first!==t)for(let e of n)e.raws.before=t.raws.before;return n}toResult(e={}){return new n(new i,this,e).stringify()}}s.registerLazyResult=e=>{n=e},s.registerProcessor=e=>{i=e},e.exports=s,s.default=s},97797:(e,t,r)=>{"use strict";let n=r(65878),i=r(47009);class o extends n{constructor(e){super(e),this.type="rule",this.nodes||(this.nodes=[])}get selectors(){return i.comma(this.selector)}set selectors(e){let t=this.selector?this.selector.match(/,\s*/):null,r=t?t[0]:","+this.raw("between","beforeOpen");this.selector=e.join(r)}}e.exports=o,o.default=o,n.registerRule(o)},53935:e=>{"use strict";const t={colon:": ",indent:" ",beforeDecl:"\n",beforeRule:"\n",beforeOpen:" ",beforeClose:"\n",beforeComment:"\n",after:"\n",emptyBody:"",commentLeft:" ",commentRight:" ",semicolon:!1};e.exports=class{constructor(e){this.builder=e}stringify(e,t){if(!this[e.type])throw new Error("Unknown AST node type "+e.type+". Maybe you need to change PostCSS stringifier.");this[e.type](e,t)}document(e){this.body(e)}root(e){this.body(e),e.raws.after&&this.builder(e.raws.after)}comment(e){let t=this.raw(e,"left","commentLeft"),r=this.raw(e,"right","commentRight");this.builder("/*"+t+e.text+r+"*/",e)}decl(e,t){let r=this.raw(e,"between","colon"),n=e.prop+r+this.rawValue(e,"value");e.important&&(n+=e.raws.important||" !important"),t&&(n+=";"),this.builder(n,e)}rule(e){this.block(e,this.rawValue(e,"selector")),e.raws.ownSemicolon&&this.builder(e.raws.ownSemicolon,e,"end")}atrule(e,t){let r="@"+e.name,n=e.params?this.rawValue(e,"params"):"";if(void 0!==e.raws.afterName?r+=e.raws.afterName:n&&(r+=" "),e.nodes)this.block(e,r+n);else{let i=(e.raws.between||"")+(t?";":"");this.builder(r+n+i,e)}}body(e){let t=e.nodes.length-1;for(;t>0&&"comment"===e.nodes[t].type;)t-=1;let r=this.raw(e,"semicolon");for(let n=0;n{if(i=e.raws[r],void 0!==i)return!1})}var a;return void 0===i&&(i=t[n]),s.rawCache[n]=i,i}rawSemicolon(e){let t;return e.walk(e=>{if(e.nodes&&e.nodes.length&&"decl"===e.last.type&&(t=e.raws.semicolon,void 0!==t))return!1}),t}rawEmptyBody(e){let t;return e.walk(e=>{if(e.nodes&&0===e.nodes.length&&(t=e.raws.after,void 0!==t))return!1}),t}rawIndent(e){if(e.raws.indent)return e.raws.indent;let t;return e.walk(r=>{let n=r.parent;if(n&&n!==e&&n.parent&&n.parent===e&&void 0!==r.raws.before){let e=r.raws.before.split("\n");return t=e[e.length-1],t=t.replace(/\S/g,""),!1}}),t}rawBeforeComment(e,t){let r;return e.walkComments(e=>{if(void 0!==e.raws.before)return r=e.raws.before,r.includes("\n")&&(r=r.replace(/[^\n]+$/,"")),!1}),void 0===r?r=this.raw(t,null,"beforeDecl"):r&&(r=r.replace(/\S/g,"")),r}rawBeforeDecl(e,t){let r;return e.walkDecls(e=>{if(void 0!==e.raws.before)return r=e.raws.before,r.includes("\n")&&(r=r.replace(/[^\n]+$/,"")),!1}),void 0===r?r=this.raw(t,null,"beforeRule"):r&&(r=r.replace(/\S/g,"")),r}rawBeforeRule(e){let t;return e.walk(r=>{if(r.nodes&&(r.parent!==e||e.first!==r)&&void 0!==r.raws.before)return t=r.raws.before,t.includes("\n")&&(t=t.replace(/[^\n]+$/,"")),!1}),t&&(t=t.replace(/\S/g,"")),t}rawBeforeClose(e){let t;return e.walk(e=>{if(e.nodes&&e.nodes.length>0&&void 0!==e.raws.after)return t=e.raws.after,t.includes("\n")&&(t=t.replace(/[^\n]+$/,"")),!1}),t&&(t=t.replace(/\S/g,"")),t}rawBeforeOpen(e){let t;return e.walk(e=>{if("decl"!==e.type&&(t=e.raws.between,void 0!==t))return!1}),t}rawColon(e){let t;return e.walkDecls(e=>{if(void 0!==e.raws.between)return t=e.raws.between.replace(/[^\s:]/g,""),!1}),t}beforeAfter(e,t){let r;r="decl"===e.type?this.raw(e,null,"beforeDecl"):"comment"===e.type?this.raw(e,null,"beforeComment"):"before"===t?this.raw(e,null,"beforeRule"):this.raw(e,null,"beforeClose");let n=e.parent,i=0;for(;n&&"root"!==n.type;)i+=1,n=n.parent;if(r.includes("\n")){let t=this.raw(e,null,"indent");if(t.length)for(let e=0;e{"use strict";let n=r(53935);function i(e,t){new n(t).stringify(e)}e.exports=i,i.default=i},64415:e=>{"use strict";e.exports.isClean=Symbol("isClean"),e.exports.my=Symbol("my")},28300:(e,t,r)=>{"use strict";let n,i=r(63125),o=r(71926);const s={brackets:i.cyan,"at-word":i.cyan,comment:i.gray,string:i.green,class:i.yellow,hash:i.magenta,call:i.cyan,"(":i.cyan,")":i.cyan,"{":i.yellow,"}":i.yellow,"[":i.yellow,"]":i.yellow,":":i.yellow,";":i.yellow};function a([e,t],r){if("word"===e){if("."===t[0])return"class";if("#"===t[0])return"hash"}if(!r.endOfFile()){let e=r.nextToken();if(r.back(e),"brackets"===e[0]||"("===e[0])return"call"}return e}function l(e){let t=o(new n(e),{ignoreErrors:!0}),r="";for(;!t.endOfFile();){let e=t.nextToken(),n=s[a(e,t)];r+=n?e[1].split(/\r?\n/).map(e=>n(e)).join("\n"):e[1]}return r}l.registerInput=function(e){n=e},e.exports=l},71926:e=>{"use strict";const t="'".charCodeAt(0),r='"'.charCodeAt(0),n="\\".charCodeAt(0),i="/".charCodeAt(0),o="\n".charCodeAt(0),s=" ".charCodeAt(0),a="\f".charCodeAt(0),l="\t".charCodeAt(0),c="\r".charCodeAt(0),u="[".charCodeAt(0),p="]".charCodeAt(0),h="(".charCodeAt(0),d=")".charCodeAt(0),f="{".charCodeAt(0),g="}".charCodeAt(0),m=";".charCodeAt(0),v="*".charCodeAt(0),y=":".charCodeAt(0),b="@".charCodeAt(0),w=/[\t\n\f\r "#'()/;[\\\]{}]/g,_=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,x=/.[\n"'(/\\]/,k=/[\da-f]/i;e.exports=function(e,S={}){let E,C,T,A,R,O,P,I,M,D,j=e.css.valueOf(),N=S.ignoreErrors,L=j.length,F=0,q=[],$=[];function B(t){throw e.error("Unclosed "+t,F)}return{back:function(e){$.push(e)},nextToken:function(e){if($.length)return $.pop();if(F>=L)return;let S=!!e&&e.ignoreUnclosed;switch(E=j.charCodeAt(F),E){case o:case s:case l:case c:case a:C=F;do{C+=1,E=j.charCodeAt(C)}while(E===s||E===o||E===l||E===c||E===a);D=["space",j.slice(F,C)],F=C-1;break;case u:case p:case f:case g:case y:case m:case d:{let e=String.fromCharCode(E);D=[e,e,F];break}case h:if(I=q.length?q.pop()[1]:"",M=j.charCodeAt(F+1),"url"===I&&M!==t&&M!==r&&M!==s&&M!==o&&M!==l&&M!==a&&M!==c){C=F;do{if(O=!1,C=j.indexOf(")",C+1),-1===C){if(N||S){C=F;break}B("bracket")}for(P=C;j.charCodeAt(P-1)===n;)P-=1,O=!O}while(O);D=["brackets",j.slice(F,C+1),F,C],F=C}else C=j.indexOf(")",F+1),A=j.slice(F,C+1),-1===C||x.test(A)?D=["(","(",F]:(D=["brackets",A,F,C],F=C);break;case t:case r:T=E===t?"'":'"',C=F;do{if(O=!1,C=j.indexOf(T,C+1),-1===C){if(N||S){C=F+1;break}B("string")}for(P=C;j.charCodeAt(P-1)===n;)P-=1,O=!O}while(O);D=["string",j.slice(F,C+1),F,C],F=C;break;case b:w.lastIndex=F+1,w.test(j),C=0===w.lastIndex?j.length-1:w.lastIndex-2,D=["at-word",j.slice(F,C+1),F,C],F=C;break;case n:for(C=F,R=!0;j.charCodeAt(C+1)===n;)C+=1,R=!R;if(E=j.charCodeAt(C+1),R&&E!==i&&E!==s&&E!==o&&E!==l&&E!==c&&E!==a&&(C+=1,k.test(j.charAt(C)))){for(;k.test(j.charAt(C+1));)C+=1;j.charCodeAt(C+1)===s&&(C+=1)}D=["word",j.slice(F,C+1),F,C],F=C;break;default:E===i&&j.charCodeAt(F+1)===v?(C=j.indexOf("*/",F+2)+1,0===C&&(N||S?C=j.length:B("comment")),D=["comment",j.slice(F,C+1),F,C],F=C):(_.lastIndex=F+1,_.test(j),C=0===_.lastIndex?j.length-1:_.lastIndex-2,D=["word",j.slice(F,C+1),F,C],q.push(D),F=C)}return F++,D},endOfFile:function(){return 0===$.length&&F>=L},position:function(){return F}}}},83831:e=>{"use strict";let t={};e.exports=function(e){t[e]||(t[e]=!0,"undefined"!=typeof console&&console.warn&&console.warn(e))}},97338:e=>{"use strict";class t{constructor(e,t={}){if(this.type="warning",this.text=e,t.node&&t.node.source){let e=t.node.positionBy(t);this.line=e.line,this.column=e.column}for(let e in t)this[e]=t[e]}toString(){return this.node?this.node.error(this.text,{plugin:this.plugin,index:this.index,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text}}e.exports=t,t.default=t},63125:(e,t,r)=>{let n=r(33867),i=!("NO_COLOR"in process.env||process.argv.includes("--no-color"))&&("FORCE_COLOR"in process.env||process.argv.includes("--color")||"win32"===process.platform||n.isatty(1)&&"dumb"!==process.env.TERM||"CI"in process.env);function o(e,t,r=e){return n=>{let i=""+n,o=i.indexOf(t,e.length);return~o?e+function e(t,r,n,i){let o=t.substring(0,i)+n,s=t.substring(i+r.length),a=s.indexOf(r);return~a?o+e(s,r,n,a):o+s}(i,t,r,o)+t:e+i+t}}function s(e=i){return{isColorSupported:e,reset:e?e=>`${e}`:String,bold:e?o("","",""):String,dim:e?o("","",""):String,italic:e?o("",""):String,underline:e?o("",""):String,inverse:e?o("",""):String,hidden:e?o("",""):String,strikethrough:e?o("",""):String,black:e?o("",""):String,red:e?o("",""):String,green:e?o("",""):String,yellow:e?o("",""):String,blue:e?o("",""):String,magenta:e?o("",""):String,cyan:e?o("",""):String,white:e?o("",""):String,gray:e?o("",""):String,bgBlack:e?o("",""):String,bgRed:e?o("",""):String,bgGreen:e?o("",""):String,bgYellow:e?o("",""):String,bgBlue:e?o("",""):String,bgMagenta:e?o("",""):String,bgCyan:e?o("",""):String,bgWhite:e?o("",""):String}}e.exports=s(),e.exports.createColors=s},49077:e=>{ /*! queue-microtask. MIT License. Feross Aboukhadijeh */ -let t;e.exports="function"==typeof queueMicrotask?queueMicrotask.bind("undefined"!=typeof window?window:global):e=>(t||(t=Promise.resolve())).then(e).catch(e=>setTimeout(()=>{throw e},0))},5316:(e,t,n)=>{"use strict";const r=n(5747),{Readable:i}=n(2413),s=n(5622),{promisify:o}=n(1669),a=n(9138),c=o(r.readdir),l=o(r.stat),u=o(r.lstat),h=o(r.realpath),p=new Set(["ENOENT","EPERM","EACCES","ELOOP"]),d="files",f="directories",m="files_directories",g="all",v=[d,f,m,g],y=e=>{if(void 0!==e){if("function"==typeof e)return e;if("string"==typeof e){const t=a(e.trim());return e=>t(e.basename)}if(Array.isArray(e)){const t=[],n=[];for(const r of e){const e=r.trim();"!"===e.charAt(0)?n.push(a(e.slice(1))):t.push(a(e))}return n.length>0?t.length>0?e=>t.some(t=>t(e.basename))&&!n.some(t=>t(e.basename)):e=>!n.some(t=>t(e.basename)):e=>t.some(t=>t(e.basename))}}};class b extends i{static get defaultOptions(){return{root:".",fileFilter:e=>!0,directoryFilter:e=>!0,type:d,lstat:!1,depth:2147483648,alwaysStat:!1}}constructor(e={}){super({objectMode:!0,autoDestroy:!0,highWaterMark:e.highWaterMark||4096});const t={...b.defaultOptions,...e},{root:n,type:i}=t;this._fileFilter=y(t.fileFilter),this._directoryFilter=y(t.directoryFilter);const o=t.lstat?u:l;"win32"===process.platform&&3===l.length?this._stat=e=>o(e,{bigint:!0}):this._stat=o,this._maxDepth=t.depth,this._wantsDir=[f,m,g].includes(i),this._wantsFile=[d,m,g].includes(i),this._wantsEverything=i===g,this._root=s.resolve(n),this._isDirent="Dirent"in r&&!t.alwaysStat,this._statsProp=this._isDirent?"dirent":"stats",this._rdOptions={encoding:"utf8",withFileTypes:this._isDirent},this.parents=[this._exploreDir(n,1)],this.reading=!1,this.parent=void 0}async _read(e){if(!this.reading){this.reading=!0;try{for(;!this.destroyed&&e>0;){const{path:t,depth:n,files:r=[]}=this.parent||{};if(r.length>0){const i=r.splice(0,e).map(e=>this._formatEntry(e,t));for(const t of await Promise.all(i)){if(this.destroyed)return;const r=await this._getEntryType(t);"directory"===r&&this._directoryFilter(t)?(n<=this._maxDepth&&this.parents.push(this._exploreDir(t.fullPath,n+1)),this._wantsDir&&(this.push(t),e--)):("file"===r||this._includeAsFile(t))&&this._fileFilter(t)&&this._wantsFile&&(this.push(t),e--)}}else{const e=this.parents.pop();if(!e){this.push(null);break}if(this.parent=await e,this.destroyed)return}}}catch(e){this.destroy(e)}finally{this.reading=!1}}}async _exploreDir(e,t){let n;try{n=await c(e,this._rdOptions)}catch(e){this._onError(e)}return{files:n,depth:t,path:e}}async _formatEntry(e,t){let n;try{const r=this._isDirent?e.name:e,i=s.resolve(s.join(t,r));n={path:s.relative(this._root,i),fullPath:i,basename:r},n[this._statsProp]=this._isDirent?e:await this._stat(i)}catch(e){this._onError(e)}return n}_onError(e){var t;t=e,p.has(t.code)&&!this.destroyed?this.emit("warn",e):this.destroy(e)}async _getEntryType(e){const t=e&&e[this._statsProp];if(t){if(t.isFile())return"file";if(t.isDirectory())return"directory";if(t&&t.isSymbolicLink()){const t=e.fullPath;try{const e=await h(t),n=await u(e);if(n.isFile())return"file";if(n.isDirectory()){const n=e.length;return t.startsWith(e)&&t.substr(n,1)===s.sep?this._onError(new Error(`Circular symlink detected: "${t}" points to "${e}"`)):"directory"}}catch(e){this._onError(e)}}}}_includeAsFile(e){const t=e&&e[this._statsProp];return t&&this._wantsEverything&&!t.isDirectory()}}const _=(e,t={})=>{let n=t.entryType||t.type;if("both"===n&&(n=m),n&&(t.type=n),!e)throw new Error("readdirp: root argument is required. Usage: readdirp(root, options)");if("string"!=typeof e)throw new TypeError("readdirp: root argument must be a string. Usage: readdirp(root, options)");if(n&&!v.includes(n))throw new Error("readdirp: Invalid type passed. Use one of "+v.join(", "));return t.root=e,new b(t)};_.promise=(e,t={})=>new Promise((n,r)=>{const i=[];_(e,t).on("data",e=>i.push(e)).on("end",()=>n(i)).on("error",e=>r(e))}),_.ReaddirpStream=b,_.default=_,e.exports=_},9227:(e,t,n)=>{var r=n(9091);r.core=n(69),r.isCore=n(5522),r.sync=n(2785),e.exports=r},9091:(e,t,n)=>{var r=n(5747),i=n(5622),s=n(3881),o=n(5507),a=n(5415),c=n(8746),l=r.realpath&&"function"==typeof r.realpath.native?r.realpath.native:r.realpath,u=function(e,t){r.stat(e,(function(e,n){return e?"ENOENT"===e.code||"ENOTDIR"===e.code?t(null,!1):t(e):t(null,n.isFile()||n.isFIFO())}))},h=function(e,t){r.stat(e,(function(e,n){return e?"ENOENT"===e.code||"ENOTDIR"===e.code?t(null,!1):t(e):t(null,n.isDirectory())}))},p=function(e,t){l(e,(function(n,r){n&&"ENOENT"!==n.code?t(n):t(null,n?e:r)}))},d=function(e,t,n,r){n&&!1===n.preserveSymlinks?e(t,r):r(null,t)},f=function(e,t,n){e(t,(function(e,t){if(e)n(e);else try{var r=JSON.parse(t);n(null,r)}catch(e){n(null)}}))};e.exports=function(e,t,n){var l=n,m=t;if("function"==typeof t&&(l=m,m={}),"string"!=typeof e){var g=new TypeError("Path must be a string.");return process.nextTick((function(){l(g)}))}var v=(m=a(e,m)).isFile||u,y=m.isDirectory||h,b=m.readFile||r.readFile,_=m.realpath||p,w=m.readPackage||f;if(m.readFile&&m.readPackage){var x=new TypeError("`readFile` and `readPackage` are mutually exclusive.");return process.nextTick((function(){l(x)}))}var k=m.packageIterator,E=m.extensions||[".js"],S=!1!==m.includeCoreModules,C=m.basedir||i.dirname(s()),R=m.filename||C;m.paths=m.paths||[];var T,A=i.resolve(C);function P(t,n,r){t?l(t):n?l(null,n,r):I(T,(function(t,n,r){if(t)l(t);else if(n)d(_,n,m,(function(e,t){e?l(e):l(null,t,r)}));else{var i=new Error("Cannot find module '"+e+"' from '"+R+"'");i.code="MODULE_NOT_FOUND",l(i)}}))}function O(e,t,n){var r=t,s=n;"function"==typeof r&&(s=r,r=void 0),function e(t,n,r){if(0===t.length)return s(null,void 0,r);var o=n+t[0],a=r;a?c(null,a):function e(t,n){if(""===t||"/"===t)return n(null);if("win32"===process.platform&&/^\w:[/\\]*$/.test(t))return n(null);if(/[/\\]node_modules[/\\]*$/.test(t))return n(null);d(_,t,m,(function(r,s){if(r)return e(i.dirname(t),n);var o=i.join(s,"package.json");v(o,(function(r,s){if(!s)return e(i.dirname(t),n);w(b,o,(function(e,r){e&&n(e);var i=r;i&&m.packageFilter&&(i=m.packageFilter(i,o)),n(null,i,t)}))}))}))}(i.dirname(o),c);function c(r,c,u){if(a=c,r)return s(r);if(u&&a&&m.pathFilter){var h=i.relative(u,o),p=h.slice(0,h.length-t[0].length),d=m.pathFilter(a,n,p);if(d)return e([""].concat(E.slice()),i.resolve(u,d),a)}v(o,l)}function l(r,i){return r?s(r):i?s(null,o,a):void e(t.slice(1),n,a)}}([""].concat(E),e,r)}function I(e,t,n){var r=n,s=t;"function"==typeof s&&(r=s,s=m.package),d(_,e,m,(function(t,n){if(t)return r(t);var o=i.join(n,"package.json");v(o,(function(t,n){return t?r(t):n?void w(b,o,(function(t,n){if(t)return r(t);var s=n;if(s&&m.packageFilter&&(s=m.packageFilter(s,o)),s&&s.main){if("string"!=typeof s.main){var a=new TypeError("package “"+s.name+"” `main` must be a string");return a.code="INVALID_PACKAGE_MAIN",r(a)}return"."!==s.main&&"./"!==s.main||(s.main="index"),void O(i.resolve(e,s.main),s,(function(t,n,s){return t?r(t):n?r(null,n,s):s?void I(i.resolve(e,s.main),s,(function(t,n,s){return t?r(t):n?r(null,n,s):void O(i.join(e,"index"),s,r)})):O(i.join(e,"index"),s,r)}))}O(i.join(e,"/index"),s,r)})):O(i.join(e,"index"),s,r)}))}))}d(_,A,m,(function(t,n){t?l(t):function(t){if(/^(?:\.\.?(?:\/|$)|\/|([A-Za-z]:)?[/\\])/.test(e))T=i.resolve(t,e),"."!==e&&".."!==e&&"/"!==e.slice(-1)||(T+="/"),/\/$/.test(e)&&T===t?I(T,m.package,P):O(T,m.package,P);else{if(S&&c(e))return l(null,e);!function(e,t,n){var r=function(){return function(e,t,n){for(var r=o(t,n,e),s=0;s{e.exports=function(){var e=Error.prepareStackTrace;Error.prepareStackTrace=function(e,t){return t};var t=(new Error).stack;return Error.prepareStackTrace=e,t[2].getFileName()}},69:(e,t,n)=>{var r=process.versions&&process.versions.node&&process.versions.node.split(".")||[];function i(e){for(var t=e.split(" "),n=t.length>1?t[0]:"=",i=(t.length>1?t[1]:t[0]).split("."),s=0;s<3;++s){var o=parseInt(r[s]||0,10),a=parseInt(i[s]||0,10);if(o!==a)return"<"===n?o="===n&&o>=a}return">="===n}function s(e){var t=e.split(/ ?&& ?/);if(0===t.length)return!1;for(var n=0;n{var r=n(8746);e.exports=function(e){return r(e)}},5507:(e,t,n)=>{var r=n(5622),i=r.parse||n(2742),s=function(e,t){var n="/";/^([A-Za-z]:)/.test(e)?n="":/^\\\\/.test(e)&&(n="\\\\");for(var s=[e],o=i(e);o.dir!==s[s.length-1];)s.push(o.dir),o=i(o.dir);return s.reduce((function(e,i){return e.concat(t.map((function(e){return r.resolve(n,i,e)})))}),[])};e.exports=function(e,t,n){var r=t&&t.moduleDirectory?[].concat(t.moduleDirectory):["node_modules"];if(t&&"function"==typeof t.paths)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}},5415:e=>{e.exports=function(e,t){return t||{}}},2785:(e,t,n)=>{var r=n(8746),i=n(5747),s=n(5622),o=n(3881),a=n(5507),c=n(5415),l=i.realpathSync&&"function"==typeof i.realpathSync.native?i.realpathSync.native:i.realpathSync,u=function(e){try{var t=i.statSync(e)}catch(e){if(e&&("ENOENT"===e.code||"ENOTDIR"===e.code))return!1;throw e}return t.isFile()||t.isFIFO()},h=function(e){try{var t=i.statSync(e)}catch(e){if(e&&("ENOENT"===e.code||"ENOTDIR"===e.code))return!1;throw e}return t.isDirectory()},p=function(e){try{return l(e)}catch(e){if("ENOENT"!==e.code)throw e}return e},d=function(e,t,n){return n&&!1===n.preserveSymlinks?e(t):t},f=function(e,t){var n=e(t);try{return JSON.parse(n)}catch(e){}};e.exports=function(e,t){if("string"!=typeof e)throw new TypeError("Path must be a string.");var n=c(e,t),l=n.isFile||u,m=n.readFileSync||i.readFileSync,g=n.isDirectory||h,v=n.realpathSync||p,y=n.readPackageSync||f;if(n.readFileSync&&n.readPackageSync)throw new TypeError("`readFileSync` and `readPackageSync` are mutually exclusive.");var b=n.packageIterator,_=n.extensions||[".js"],w=!1!==n.includeCoreModules,x=n.basedir||s.dirname(o()),k=n.filename||x;n.paths=n.paths||[];var E=d(v,s.resolve(x),n);if(/^(?:\.\.?(?:\/|$)|\/|([A-Za-z]:)?[/\\])/.test(e)){var S=s.resolve(E,e);"."!==e&&".."!==e&&"/"!==e.slice(-1)||(S+="/");var C=A(S)||P(S);if(C)return d(v,C,n)}else{if(w&&r(e))return e;var R=function(e,t){for(var r=function(){return function(e,t,n){for(var r=a(t,n,e),i=0;i{"use strict";e.exports=function(e){var t=new e,n=t;return{get:function(){var r=t;return r.next?t=r.next:(t=new e,n=t),r.next=null,r},release:function(e){n.next=e,n=e}}}},1188:(e,t,n)=>{ +let t;e.exports="function"==typeof queueMicrotask?queueMicrotask.bind("undefined"!=typeof window?window:global):e=>(t||(t=Promise.resolve())).then(e).catch(e=>setTimeout(()=>{throw e},0))},86695:(e,t,r)=>{"use strict";const n=r(35747),{Readable:i}=r(92413),o=r(85622),{promisify:s}=r(31669),a=r(5669),l=s(n.readdir),c=s(n.stat),u=s(n.lstat),p=s(n.realpath),h=new Set(["ENOENT","EPERM","EACCES","ELOOP"]),d="files",f="directories",g="files_directories",m="all",v=[d,f,g,m],y=e=>{if(void 0!==e){if("function"==typeof e)return e;if("string"==typeof e){const t=a(e.trim());return e=>t(e.basename)}if(Array.isArray(e)){const t=[],r=[];for(const n of e){const e=n.trim();"!"===e.charAt(0)?r.push(a(e.slice(1))):t.push(a(e))}return r.length>0?t.length>0?e=>t.some(t=>t(e.basename))&&!r.some(t=>t(e.basename)):e=>!r.some(t=>t(e.basename)):e=>t.some(t=>t(e.basename))}}};class b extends i{static get defaultOptions(){return{root:".",fileFilter:e=>!0,directoryFilter:e=>!0,type:d,lstat:!1,depth:2147483648,alwaysStat:!1}}constructor(e={}){super({objectMode:!0,autoDestroy:!0,highWaterMark:e.highWaterMark||4096});const t={...b.defaultOptions,...e},{root:r,type:i}=t;this._fileFilter=y(t.fileFilter),this._directoryFilter=y(t.directoryFilter);const s=t.lstat?u:c;"win32"===process.platform&&3===c.length?this._stat=e=>s(e,{bigint:!0}):this._stat=s,this._maxDepth=t.depth,this._wantsDir=[f,g,m].includes(i),this._wantsFile=[d,g,m].includes(i),this._wantsEverything=i===m,this._root=o.resolve(r),this._isDirent="Dirent"in n&&!t.alwaysStat,this._statsProp=this._isDirent?"dirent":"stats",this._rdOptions={encoding:"utf8",withFileTypes:this._isDirent},this.parents=[this._exploreDir(r,1)],this.reading=!1,this.parent=void 0}async _read(e){if(!this.reading){this.reading=!0;try{for(;!this.destroyed&&e>0;){const{path:t,depth:r,files:n=[]}=this.parent||{};if(n.length>0){const i=n.splice(0,e).map(e=>this._formatEntry(e,t));for(const t of await Promise.all(i)){if(this.destroyed)return;const n=await this._getEntryType(t);"directory"===n&&this._directoryFilter(t)?(r<=this._maxDepth&&this.parents.push(this._exploreDir(t.fullPath,r+1)),this._wantsDir&&(this.push(t),e--)):("file"===n||this._includeAsFile(t))&&this._fileFilter(t)&&this._wantsFile&&(this.push(t),e--)}}else{const e=this.parents.pop();if(!e){this.push(null);break}if(this.parent=await e,this.destroyed)return}}}catch(e){this.destroy(e)}finally{this.reading=!1}}}async _exploreDir(e,t){let r;try{r=await l(e,this._rdOptions)}catch(e){this._onError(e)}return{files:r,depth:t,path:e}}async _formatEntry(e,t){let r;try{const n=this._isDirent?e.name:e,i=o.resolve(o.join(t,n));r={path:o.relative(this._root,i),fullPath:i,basename:n},r[this._statsProp]=this._isDirent?e:await this._stat(i)}catch(e){this._onError(e)}return r}_onError(e){var t;t=e,h.has(t.code)&&!this.destroyed?this.emit("warn",e):this.destroy(e)}async _getEntryType(e){const t=e&&e[this._statsProp];if(t){if(t.isFile())return"file";if(t.isDirectory())return"directory";if(t&&t.isSymbolicLink()){const t=e.fullPath;try{const e=await p(t),r=await u(e);if(r.isFile())return"file";if(r.isDirectory()){const r=e.length;return t.startsWith(e)&&t.substr(r,1)===o.sep?this._onError(new Error(`Circular symlink detected: "${t}" points to "${e}"`)):"directory"}}catch(e){this._onError(e)}}}}_includeAsFile(e){const t=e&&e[this._statsProp];return t&&this._wantsEverything&&!t.isDirectory()}}const w=(e,t={})=>{let r=t.entryType||t.type;if("both"===r&&(r=g),r&&(t.type=r),!e)throw new Error("readdirp: root argument is required. Usage: readdirp(root, options)");if("string"!=typeof e)throw new TypeError("readdirp: root argument must be a string. Usage: readdirp(root, options)");if(r&&!v.includes(r))throw new Error("readdirp: Invalid type passed. Use one of "+v.join(", "));return t.root=e,new b(t)};w.promise=(e,t={})=>new Promise((r,n)=>{const i=[];w(e,t).on("data",e=>i.push(e)).on("end",()=>r(i)).on("error",e=>n(e))}),w.ReaddirpStream=b,w.default=w,e.exports=w},72305:(e,t,r)=>{var n=r(97801);n.core=r(91540),n.isCore=r(67069),n.sync=r(57955),e.exports=n},97801:(e,t,r)=>{var n=r(35747),i=r(85622),o=r(14365),s=r(50833),a=r(98233),l=r(21176),c=n.realpath&&"function"==typeof n.realpath.native?n.realpath.native:n.realpath,u=function(e,t){n.stat(e,(function(e,r){return e?"ENOENT"===e.code||"ENOTDIR"===e.code?t(null,!1):t(e):t(null,r.isFile()||r.isFIFO())}))},p=function(e,t){n.stat(e,(function(e,r){return e?"ENOENT"===e.code||"ENOTDIR"===e.code?t(null,!1):t(e):t(null,r.isDirectory())}))},h=function(e,t){c(e,(function(r,n){r&&"ENOENT"!==r.code?t(r):t(null,r?e:n)}))},d=function(e,t,r,n){r&&!1===r.preserveSymlinks?e(t,n):n(null,t)},f=function(e,t,r){e(t,(function(e,t){if(e)r(e);else try{var n=JSON.parse(t);r(null,n)}catch(e){r(null)}}))};e.exports=function(e,t,r){var c=r,g=t;if("function"==typeof t&&(c=g,g={}),"string"!=typeof e){var m=new TypeError("Path must be a string.");return process.nextTick((function(){c(m)}))}var v=(g=a(e,g)).isFile||u,y=g.isDirectory||p,b=g.readFile||n.readFile,w=g.realpath||h,_=g.readPackage||f;if(g.readFile&&g.readPackage){var x=new TypeError("`readFile` and `readPackage` are mutually exclusive.");return process.nextTick((function(){c(x)}))}var k=g.packageIterator,S=g.extensions||[".js"],E=!1!==g.includeCoreModules,C=g.basedir||i.dirname(o()),T=g.filename||C;g.paths=g.paths||[];var A,R=i.resolve(C);function O(t,r,n){t?c(t):r?c(null,r,n):I(A,(function(t,r,n){if(t)c(t);else if(r)d(w,r,g,(function(e,t){e?c(e):c(null,t,n)}));else{var i=new Error("Cannot find module '"+e+"' from '"+T+"'");i.code="MODULE_NOT_FOUND",c(i)}}))}function P(e,t,r){var n=t,o=r;"function"==typeof n&&(o=n,n=void 0),function e(t,r,n){if(0===t.length)return o(null,void 0,n);var s=r+t[0],a=n;a?l(null,a):function e(t,r){if(""===t||"/"===t)return r(null);if("win32"===process.platform&&/^\w:[/\\]*$/.test(t))return r(null);if(/[/\\]node_modules[/\\]*$/.test(t))return r(null);d(w,t,g,(function(n,o){if(n)return e(i.dirname(t),r);var s=i.join(o,"package.json");v(s,(function(n,o){if(!o)return e(i.dirname(t),r);_(b,s,(function(e,n){e&&r(e);var i=n;i&&g.packageFilter&&(i=g.packageFilter(i,s)),r(null,i,t)}))}))}))}(i.dirname(s),l);function l(n,l,u){if(a=l,n)return o(n);if(u&&a&&g.pathFilter){var p=i.relative(u,s),h=p.slice(0,p.length-t[0].length),d=g.pathFilter(a,r,h);if(d)return e([""].concat(S.slice()),i.resolve(u,d),a)}v(s,c)}function c(n,i){return n?o(n):i?o(null,s,a):void e(t.slice(1),r,a)}}([""].concat(S),e,n)}function I(e,t,r){var n=r,o=t;"function"==typeof o&&(n=o,o=g.package),d(w,e,g,(function(t,r){if(t)return n(t);var s=i.join(r,"package.json");v(s,(function(t,r){return t?n(t):r?void _(b,s,(function(t,r){if(t)return n(t);var o=r;if(o&&g.packageFilter&&(o=g.packageFilter(o,s)),o&&o.main){if("string"!=typeof o.main){var a=new TypeError("package “"+o.name+"” `main` must be a string");return a.code="INVALID_PACKAGE_MAIN",n(a)}return"."!==o.main&&"./"!==o.main||(o.main="index"),void P(i.resolve(e,o.main),o,(function(t,r,o){return t?n(t):r?n(null,r,o):o?void I(i.resolve(e,o.main),o,(function(t,r,o){return t?n(t):r?n(null,r,o):void P(i.join(e,"index"),o,n)})):P(i.join(e,"index"),o,n)}))}P(i.join(e,"/index"),o,n)})):P(i.join(e,"index"),o,n)}))}))}d(w,R,g,(function(t,r){t?c(t):function(t){if(/^(?:\.\.?(?:\/|$)|\/|([A-Za-z]:)?[/\\])/.test(e))A=i.resolve(t,e),"."!==e&&".."!==e&&"/"!==e.slice(-1)||(A+="/"),/\/$/.test(e)&&A===t?I(A,g.package,O):P(A,g.package,O);else{if(E&&l(e))return c(null,e);!function(e,t,r){var n=function(){return function(e,t,r){for(var n=s(t,r,e),o=0;o{e.exports=function(){var e=Error.prepareStackTrace;Error.prepareStackTrace=function(e,t){return t};var t=(new Error).stack;return Error.prepareStackTrace=e,t[2].getFileName()}},91540:(e,t,r)=>{var n=process.versions&&process.versions.node&&process.versions.node.split(".")||[];function i(e){for(var t=e.split(" "),r=t.length>1?t[0]:"=",i=(t.length>1?t[1]:t[0]).split("."),o=0;o<3;++o){var s=parseInt(n[o]||0,10),a=parseInt(i[o]||0,10);if(s!==a)return"<"===r?s="===r&&s>=a}return">="===r}function o(e){var t=e.split(/ ?&& ?/);if(0===t.length)return!1;for(var r=0;r{var n=r(21176);e.exports=function(e){return n(e)}},50833:(e,t,r)=>{var n=r(85622),i=n.parse||r(50731),o=function(e,t){var r="/";/^([A-Za-z]:)/.test(e)?r="":/^\\\\/.test(e)&&(r="\\\\");for(var o=[e],s=i(e);s.dir!==o[o.length-1];)o.push(s.dir),s=i(s.dir);return o.reduce((function(e,i){return e.concat(t.map((function(e){return n.resolve(r,i,e)})))}),[])};e.exports=function(e,t,r){var n=t&&t.moduleDirectory?[].concat(t.moduleDirectory):["node_modules"];if(t&&"function"==typeof t.paths)return t.paths(r,e,(function(){return o(e,n)}),t);var i=o(e,n);return t&&t.paths?i.concat(t.paths):i}},98233:e=>{e.exports=function(e,t){return t||{}}},57955:(e,t,r)=>{var n=r(21176),i=r(35747),o=r(85622),s=r(14365),a=r(50833),l=r(98233),c=i.realpathSync&&"function"==typeof i.realpathSync.native?i.realpathSync.native:i.realpathSync,u=function(e){try{var t=i.statSync(e)}catch(e){if(e&&("ENOENT"===e.code||"ENOTDIR"===e.code))return!1;throw e}return t.isFile()||t.isFIFO()},p=function(e){try{var t=i.statSync(e)}catch(e){if(e&&("ENOENT"===e.code||"ENOTDIR"===e.code))return!1;throw e}return t.isDirectory()},h=function(e){try{return c(e)}catch(e){if("ENOENT"!==e.code)throw e}return e},d=function(e,t,r){return r&&!1===r.preserveSymlinks?e(t):t},f=function(e,t){var r=e(t);try{return JSON.parse(r)}catch(e){}};e.exports=function(e,t){if("string"!=typeof e)throw new TypeError("Path must be a string.");var r=l(e,t),c=r.isFile||u,g=r.readFileSync||i.readFileSync,m=r.isDirectory||p,v=r.realpathSync||h,y=r.readPackageSync||f;if(r.readFileSync&&r.readPackageSync)throw new TypeError("`readFileSync` and `readPackageSync` are mutually exclusive.");var b=r.packageIterator,w=r.extensions||[".js"],_=!1!==r.includeCoreModules,x=r.basedir||o.dirname(s()),k=r.filename||x;r.paths=r.paths||[];var S=d(v,o.resolve(x),r);if(/^(?:\.\.?(?:\/|$)|\/|([A-Za-z]:)?[/\\])/.test(e)){var E=o.resolve(S,e);"."!==e&&".."!==e&&"/"!==e.slice(-1)||(E+="/");var C=R(E)||O(E);if(C)return d(v,C,r)}else{if(_&&n(e))return e;var T=function(e,t){for(var n=function(){return function(e,t,r){for(var n=a(t,r,e),i=0;i{"use strict";e.exports=function(e){var t=new e,r=t;return{get:function(){var n=t;return n.next?t=n.next:(t=new e,r=t),n.next=null,n},release:function(e){r.next=e,r=e}}}},18948:(e,t,r)=>{ /*! run-parallel. MIT License. Feross Aboukhadijeh */ -e.exports=function(e,t){let n,i,s,o=!0;Array.isArray(e)?(n=[],i=e.length):(s=Object.keys(e),n={},i=s.length);function a(e){function i(){t&&t(e,n),t=null}o?r(i):i()}function c(e,t,r){n[e]=r,(0==--i||t)&&a(t)}i?s?s.forEach((function(t){e[t]((function(e,n){c(t,e,n)}))})):e.forEach((function(e,t){e((function(e,n){c(t,e,n)}))})):a(null);o=!1};const r=n(3135)},1790:(e,t,n)=>{const r=Symbol("SemVer ANY");class i{static get ANY(){return r}constructor(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof i){if(e.loose===!!t.loose)return e;e=e.value}c("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===r?this.value="":this.value=this.operator+this.semver.version,c("comp",this)}parse(e){const t=this.options.loose?s[o.COMPARATORLOOSE]:s[o.COMPARATOR],n=e.match(t);if(!n)throw new TypeError("Invalid comparator: "+e);this.operator=void 0!==n[1]?n[1]:"","="===this.operator&&(this.operator=""),n[2]?this.semver=new l(n[2],this.options.loose):this.semver=r}toString(){return this.value}test(e){if(c("Comparator.test",e,this.options.loose),this.semver===r||e===r)return!0;if("string"==typeof e)try{e=new l(e,this.options)}catch(e){return!1}return a(e,this.operator,this.semver,this.options)}intersects(e,t){if(!(e instanceof i))throw new TypeError("a Comparator is required");if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),""===this.operator)return""===this.value||new u(e.value,t).test(this.value);if(""===e.operator)return""===e.value||new u(this.value,t).test(e.semver);const n=!(">="!==this.operator&&">"!==this.operator||">="!==e.operator&&">"!==e.operator),r=!("<="!==this.operator&&"<"!==this.operator||"<="!==e.operator&&"<"!==e.operator),s=this.semver.version===e.semver.version,o=!(">="!==this.operator&&"<="!==this.operator||">="!==e.operator&&"<="!==e.operator),c=a(this.semver,"<",e.semver,t)&&(">="===this.operator||">"===this.operator)&&("<="===e.operator||"<"===e.operator),l=a(this.semver,">",e.semver,t)&&("<="===this.operator||"<"===this.operator)&&(">="===e.operator||">"===e.operator);return n||r||s&&o||c||l}}e.exports=i;const{re:s,t:o}=n(4063),a=n(8801),c=n(3619),l=n(1490),u=n(5287)},5287:(e,t,n)=>{class r{constructor(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof r)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new r(e.raw,t);if(e instanceof i)return this.raw=e.value,this.set=[[e]],this.format(),this;if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e,this.set=e.split(/\s*\|\|\s*/).map(e=>this.parseRange(e.trim())).filter(e=>e.length),!this.set.length)throw new TypeError("Invalid SemVer Range: "+e);this.format()}format(){return this.range=this.set.map(e=>e.join(" ").trim()).join("||").trim(),this.range}toString(){return this.range}parseRange(e){const t=this.options.loose;e=e.trim();const n=t?a[c.HYPHENRANGELOOSE]:a[c.HYPHENRANGE];e=e.replace(n,k(this.options.includePrerelease)),s("hyphen replace",e),e=e.replace(a[c.COMPARATORTRIM],l),s("comparator trim",e,a[c.COMPARATORTRIM]),e=(e=(e=e.replace(a[c.TILDETRIM],u)).replace(a[c.CARETTRIM],h)).split(/\s+/).join(" ");const r=t?a[c.COMPARATORLOOSE]:a[c.COMPARATOR];return e.split(" ").map(e=>d(e,this.options)).join(" ").split(/\s+/).map(e=>x(e,this.options)).filter(this.options.loose?e=>!!e.match(r):()=>!0).map(e=>new i(e,this.options))}intersects(e,t){if(!(e instanceof r))throw new TypeError("a Range is required");return this.set.some(n=>p(n,t)&&e.set.some(e=>p(e,t)&&n.every(n=>e.every(e=>n.intersects(e,t)))))}test(e){if(!e)return!1;if("string"==typeof e)try{e=new o(e,this.options)}catch(e){return!1}for(let t=0;t{let n=!0;const r=e.slice();let i=r.pop();for(;n&&r.length;)n=r.every(e=>i.intersects(e,t)),i=r.pop();return n},d=(e,t)=>(s("comp",e,t),e=v(e,t),s("caret",e),e=m(e,t),s("tildes",e),e=b(e,t),s("xrange",e),e=w(e,t),s("stars",e),e),f=e=>!e||"x"===e.toLowerCase()||"*"===e,m=(e,t)=>e.trim().split(/\s+/).map(e=>g(e,t)).join(" "),g=(e,t)=>{const n=t.loose?a[c.TILDELOOSE]:a[c.TILDE];return e.replace(n,(t,n,r,i,o)=>{let a;return s("tilde",e,t,n,r,i,o),f(n)?a="":f(r)?a=`>=${n}.0.0 <${+n+1}.0.0-0`:f(i)?a=`>=${n}.${r}.0 <${n}.${+r+1}.0-0`:o?(s("replaceTilde pr",o),a=`>=${n}.${r}.${i}-${o} <${n}.${+r+1}.0-0`):a=`>=${n}.${r}.${i} <${n}.${+r+1}.0-0`,s("tilde return",a),a})},v=(e,t)=>e.trim().split(/\s+/).map(e=>y(e,t)).join(" "),y=(e,t)=>{s("caret",e,t);const n=t.loose?a[c.CARETLOOSE]:a[c.CARET],r=t.includePrerelease?"-0":"";return e.replace(n,(t,n,i,o,a)=>{let c;return s("caret",e,t,n,i,o,a),f(n)?c="":f(i)?c=`>=${n}.0.0${r} <${+n+1}.0.0-0`:f(o)?c="0"===n?`>=${n}.${i}.0${r} <${n}.${+i+1}.0-0`:`>=${n}.${i}.0${r} <${+n+1}.0.0-0`:a?(s("replaceCaret pr",a),c="0"===n?"0"===i?`>=${n}.${i}.${o}-${a} <${n}.${i}.${+o+1}-0`:`>=${n}.${i}.${o}-${a} <${n}.${+i+1}.0-0`:`>=${n}.${i}.${o}-${a} <${+n+1}.0.0-0`):(s("no pr"),c="0"===n?"0"===i?`>=${n}.${i}.${o}${r} <${n}.${i}.${+o+1}-0`:`>=${n}.${i}.${o}${r} <${n}.${+i+1}.0-0`:`>=${n}.${i}.${o} <${+n+1}.0.0-0`),s("caret return",c),c})},b=(e,t)=>(s("replaceXRanges",e,t),e.split(/\s+/).map(e=>_(e,t)).join(" ")),_=(e,t)=>{e=e.trim();const n=t.loose?a[c.XRANGELOOSE]:a[c.XRANGE];return e.replace(n,(n,r,i,o,a,c)=>{s("xRange",e,n,r,i,o,a,c);const l=f(i),u=l||f(o),h=u||f(a),p=h;return"="===r&&p&&(r=""),c=t.includePrerelease?"-0":"",l?n=">"===r||"<"===r?"<0.0.0-0":"*":r&&p?(u&&(o=0),a=0,">"===r?(r=">=",u?(i=+i+1,o=0,a=0):(o=+o+1,a=0)):"<="===r&&(r="<",u?i=+i+1:o=+o+1),"<"===r&&(c="-0"),n=`${r+i}.${o}.${a}${c}`):u?n=`>=${i}.0.0${c} <${+i+1}.0.0-0`:h&&(n=`>=${i}.${o}.0${c} <${i}.${+o+1}.0-0`),s("xRange return",n),n})},w=(e,t)=>(s("replaceStars",e,t),e.trim().replace(a[c.STAR],"")),x=(e,t)=>(s("replaceGTE0",e,t),e.trim().replace(a[t.includePrerelease?c.GTE0PRE:c.GTE0],"")),k=e=>(t,n,r,i,s,o,a,c,l,u,h,p,d)=>`${n=f(r)?"":f(i)?`>=${r}.0.0${e?"-0":""}`:f(s)?`>=${r}.${i}.0${e?"-0":""}`:o?">="+n:`>=${n}${e?"-0":""}`} ${c=f(l)?"":f(u)?`<${+l+1}.0.0-0`:f(h)?`<${l}.${+u+1}.0-0`:p?`<=${l}.${u}.${h}-${p}`:e?`<${l}.${u}.${+h+1}-0`:"<="+c}`.trim(),E=(e,t,n)=>{for(let n=0;n0){const r=e[n].semver;if(r.major===t.major&&r.minor===t.minor&&r.patch===t.patch)return!0}return!1}return!0}},1490:(e,t,n)=>{const r=n(3619),{MAX_LENGTH:i,MAX_SAFE_INTEGER:s}=n(9073),{re:o,t:a}=n(4063),{compareIdentifiers:c}=n(8587);class l{constructor(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof l){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;e=e.version}else if("string"!=typeof e)throw new TypeError("Invalid Version: "+e);if(e.length>i)throw new TypeError(`version is longer than ${i} characters`);r("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;const n=e.trim().match(t.loose?o[a.LOOSE]:o[a.FULL]);if(!n)throw new TypeError("Invalid Version: "+e);if(this.raw=e,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>s||this.major<0)throw new TypeError("Invalid major version");if(this.minor>s||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>s||this.patch<0)throw new TypeError("Invalid patch version");n[4]?this.prerelease=n[4].split(".").map(e=>{if(/^[0-9]+$/.test(e)){const t=+e;if(t>=0&&t=0;)"number"==typeof this.prerelease[e]&&(this.prerelease[e]++,e=-2);-1===e&&this.prerelease.push(0)}t&&(this.prerelease[0]===t?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw new Error("invalid increment argument: "+e)}return this.format(),this.raw=this.version,this}}e.exports=l},8943:(e,t,n)=>{const r=n(8257);e.exports=(e,t)=>{const n=r(e.trim().replace(/^[=v]+/,""),t);return n?n.version:null}},8801:(e,t,n)=>{const r=n(1561),i=n(8671),s=n(3473),o=n(2967),a=n(6762),c=n(973);e.exports=(e,t,n,l)=>{switch(t){case"===":return"object"==typeof e&&(e=e.version),"object"==typeof n&&(n=n.version),e===n;case"!==":return"object"==typeof e&&(e=e.version),"object"==typeof n&&(n=n.version),e!==n;case"":case"=":case"==":return r(e,n,l);case"!=":return i(e,n,l);case">":return s(e,n,l);case">=":return o(e,n,l);case"<":return a(e,n,l);case"<=":return c(e,n,l);default:throw new TypeError("Invalid operator: "+t)}}},6899:(e,t,n)=>{const r=n(1490),i=n(8257),{re:s,t:o}=n(4063);e.exports=(e,t)=>{if(e instanceof r)return e;if("number"==typeof e&&(e=String(e)),"string"!=typeof e)return null;let n=null;if((t=t||{}).rtl){let t;for(;(t=s[o.COERCERTL].exec(e))&&(!n||n.index+n[0].length!==e.length);)n&&t.index+t[0].length===n.index+n[0].length||(n=t),s[o.COERCERTL].lastIndex=t.index+t[1].length+t[2].length;s[o.COERCERTL].lastIndex=-1}else n=e.match(s[o.COERCE]);return null===n?null:i(`${n[2]}.${n[3]||"0"}.${n[4]||"0"}`,t)}},7375:(e,t,n)=>{const r=n(1490);e.exports=(e,t,n)=>{const i=new r(e,n),s=new r(t,n);return i.compare(s)||i.compareBuild(s)}},5874:(e,t,n)=>{const r=n(4905);e.exports=(e,t)=>r(e,t,!0)},4905:(e,t,n)=>{const r=n(1490);e.exports=(e,t,n)=>new r(e,n).compare(new r(t,n))},3272:(e,t,n)=>{const r=n(8257),i=n(1561);e.exports=(e,t)=>{if(i(e,t))return null;{const n=r(e),i=r(t),s=n.prerelease.length||i.prerelease.length,o=s?"pre":"",a=s?"prerelease":"";for(const e in n)if(("major"===e||"minor"===e||"patch"===e)&&n[e]!==i[e])return o+e;return a}}},1561:(e,t,n)=>{const r=n(4905);e.exports=(e,t,n)=>0===r(e,t,n)},3473:(e,t,n)=>{const r=n(4905);e.exports=(e,t,n)=>r(e,t,n)>0},2967:(e,t,n)=>{const r=n(4905);e.exports=(e,t,n)=>r(e,t,n)>=0},5009:(e,t,n)=>{const r=n(1490);e.exports=(e,t,n,i)=>{"string"==typeof n&&(i=n,n=void 0);try{return new r(e,n).inc(t,i).version}catch(e){return null}}},6762:(e,t,n)=>{const r=n(4905);e.exports=(e,t,n)=>r(e,t,n)<0},973:(e,t,n)=>{const r=n(4905);e.exports=(e,t,n)=>r(e,t,n)<=0},9799:(e,t,n)=>{const r=n(1490);e.exports=(e,t)=>new r(e,t).major},7600:(e,t,n)=>{const r=n(1490);e.exports=(e,t)=>new r(e,t).minor},8671:(e,t,n)=>{const r=n(4905);e.exports=(e,t,n)=>0!==r(e,t,n)},8257:(e,t,n)=>{const{MAX_LENGTH:r}=n(9073),{re:i,t:s}=n(4063),o=n(1490);e.exports=(e,t)=>{if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof o)return e;if("string"!=typeof e)return null;if(e.length>r)return null;if(!(t.loose?i[s.LOOSE]:i[s.FULL]).test(e))return null;try{return new o(e,t)}catch(e){return null}}},2112:(e,t,n)=>{const r=n(1490);e.exports=(e,t)=>new r(e,t).patch},5094:(e,t,n)=>{const r=n(8257);e.exports=(e,t)=>{const n=r(e,t);return n&&n.prerelease.length?n.prerelease:null}},2824:(e,t,n)=>{const r=n(4905);e.exports=(e,t,n)=>r(t,e,n)},4550:(e,t,n)=>{const r=n(7375);e.exports=(e,t)=>e.sort((e,n)=>r(n,e,t))},1495:(e,t,n)=>{const r=n(5287);e.exports=(e,t,n)=>{try{t=new r(t,n)}catch(e){return!1}return t.test(e)}},6034:(e,t,n)=>{const r=n(7375);e.exports=(e,t)=>e.sort((e,n)=>r(e,n,t))},3863:(e,t,n)=>{const r=n(8257);e.exports=(e,t)=>{const n=r(e,t);return n?n.version:null}},7546:(e,t,n)=>{const r=n(4063);e.exports={re:r.re,src:r.src,tokens:r.t,SEMVER_SPEC_VERSION:n(9073).SEMVER_SPEC_VERSION,SemVer:n(1490),compareIdentifiers:n(8587).compareIdentifiers,rcompareIdentifiers:n(8587).rcompareIdentifiers,parse:n(8257),valid:n(3863),clean:n(8943),inc:n(5009),diff:n(3272),major:n(9799),minor:n(7600),patch:n(2112),prerelease:n(5094),compare:n(4905),rcompare:n(2824),compareLoose:n(5874),compareBuild:n(7375),sort:n(6034),rsort:n(4550),gt:n(3473),lt:n(6762),eq:n(1561),neq:n(8671),gte:n(2967),lte:n(973),cmp:n(8801),coerce:n(6899),Comparator:n(1790),Range:n(5287),satisfies:n(1495),toComparators:n(382),maxSatisfying:n(1706),minSatisfying:n(7095),minVersion:n(507),validRange:n(8029),outside:n(7714),gtr:n(9104),ltr:n(5072),intersects:n(9057),simplifyRange:n(9550),subset:n(8693)}},9073:e=>{const t=Number.MAX_SAFE_INTEGER||9007199254740991;e.exports={SEMVER_SPEC_VERSION:"2.0.0",MAX_LENGTH:256,MAX_SAFE_INTEGER:t,MAX_SAFE_COMPONENT_LENGTH:16}},3619:e=>{const t="object"==typeof process&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};e.exports=t},8587:e=>{const t=/^[0-9]+$/,n=(e,n)=>{const r=t.test(e),i=t.test(n);return r&&i&&(e=+e,n=+n),e===n?0:r&&!i?-1:i&&!r?1:en(t,e)}},4063:(e,t,n)=>{const{MAX_SAFE_COMPONENT_LENGTH:r}=n(9073),i=n(3619),s=(t=e.exports={}).re=[],o=t.src=[],a=t.t={};let c=0;const l=(e,t,n)=>{const r=c++;i(r,t),a[e]=r,o[r]=t,s[r]=new RegExp(t,n?"g":void 0)};l("NUMERICIDENTIFIER","0|[1-9]\\d*"),l("NUMERICIDENTIFIERLOOSE","[0-9]+"),l("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),l("MAINVERSION",`(${o[a.NUMERICIDENTIFIER]})\\.(${o[a.NUMERICIDENTIFIER]})\\.(${o[a.NUMERICIDENTIFIER]})`),l("MAINVERSIONLOOSE",`(${o[a.NUMERICIDENTIFIERLOOSE]})\\.(${o[a.NUMERICIDENTIFIERLOOSE]})\\.(${o[a.NUMERICIDENTIFIERLOOSE]})`),l("PRERELEASEIDENTIFIER",`(?:${o[a.NUMERICIDENTIFIER]}|${o[a.NONNUMERICIDENTIFIER]})`),l("PRERELEASEIDENTIFIERLOOSE",`(?:${o[a.NUMERICIDENTIFIERLOOSE]}|${o[a.NONNUMERICIDENTIFIER]})`),l("PRERELEASE",`(?:-(${o[a.PRERELEASEIDENTIFIER]}(?:\\.${o[a.PRERELEASEIDENTIFIER]})*))`),l("PRERELEASELOOSE",`(?:-?(${o[a.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${o[a.PRERELEASEIDENTIFIERLOOSE]})*))`),l("BUILDIDENTIFIER","[0-9A-Za-z-]+"),l("BUILD",`(?:\\+(${o[a.BUILDIDENTIFIER]}(?:\\.${o[a.BUILDIDENTIFIER]})*))`),l("FULLPLAIN",`v?${o[a.MAINVERSION]}${o[a.PRERELEASE]}?${o[a.BUILD]}?`),l("FULL",`^${o[a.FULLPLAIN]}$`),l("LOOSEPLAIN",`[v=\\s]*${o[a.MAINVERSIONLOOSE]}${o[a.PRERELEASELOOSE]}?${o[a.BUILD]}?`),l("LOOSE",`^${o[a.LOOSEPLAIN]}$`),l("GTLT","((?:<|>)?=?)"),l("XRANGEIDENTIFIERLOOSE",o[a.NUMERICIDENTIFIERLOOSE]+"|x|X|\\*"),l("XRANGEIDENTIFIER",o[a.NUMERICIDENTIFIER]+"|x|X|\\*"),l("XRANGEPLAIN",`[v=\\s]*(${o[a.XRANGEIDENTIFIER]})(?:\\.(${o[a.XRANGEIDENTIFIER]})(?:\\.(${o[a.XRANGEIDENTIFIER]})(?:${o[a.PRERELEASE]})?${o[a.BUILD]}?)?)?`),l("XRANGEPLAINLOOSE",`[v=\\s]*(${o[a.XRANGEIDENTIFIERLOOSE]})(?:\\.(${o[a.XRANGEIDENTIFIERLOOSE]})(?:\\.(${o[a.XRANGEIDENTIFIERLOOSE]})(?:${o[a.PRERELEASELOOSE]})?${o[a.BUILD]}?)?)?`),l("XRANGE",`^${o[a.GTLT]}\\s*${o[a.XRANGEPLAIN]}$`),l("XRANGELOOSE",`^${o[a.GTLT]}\\s*${o[a.XRANGEPLAINLOOSE]}$`),l("COERCE",`(^|[^\\d])(\\d{1,${r}})(?:\\.(\\d{1,${r}}))?(?:\\.(\\d{1,${r}}))?(?:$|[^\\d])`),l("COERCERTL",o[a.COERCE],!0),l("LONETILDE","(?:~>?)"),l("TILDETRIM",`(\\s*)${o[a.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",l("TILDE",`^${o[a.LONETILDE]}${o[a.XRANGEPLAIN]}$`),l("TILDELOOSE",`^${o[a.LONETILDE]}${o[a.XRANGEPLAINLOOSE]}$`),l("LONECARET","(?:\\^)"),l("CARETTRIM",`(\\s*)${o[a.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",l("CARET",`^${o[a.LONECARET]}${o[a.XRANGEPLAIN]}$`),l("CARETLOOSE",`^${o[a.LONECARET]}${o[a.XRANGEPLAINLOOSE]}$`),l("COMPARATORLOOSE",`^${o[a.GTLT]}\\s*(${o[a.LOOSEPLAIN]})$|^$`),l("COMPARATOR",`^${o[a.GTLT]}\\s*(${o[a.FULLPLAIN]})$|^$`),l("COMPARATORTRIM",`(\\s*)${o[a.GTLT]}\\s*(${o[a.LOOSEPLAIN]}|${o[a.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",l("HYPHENRANGE",`^\\s*(${o[a.XRANGEPLAIN]})\\s+-\\s+(${o[a.XRANGEPLAIN]})\\s*$`),l("HYPHENRANGELOOSE",`^\\s*(${o[a.XRANGEPLAINLOOSE]})\\s+-\\s+(${o[a.XRANGEPLAINLOOSE]})\\s*$`),l("STAR","(<|>)?=?\\s*\\*"),l("GTE0","^\\s*>=\\s*0.0.0\\s*$"),l("GTE0PRE","^\\s*>=\\s*0.0.0-0\\s*$")},9104:(e,t,n)=>{const r=n(7714);e.exports=(e,t,n)=>r(e,t,">",n)},9057:(e,t,n)=>{const r=n(5287);e.exports=(e,t,n)=>(e=new r(e,n),t=new r(t,n),e.intersects(t))},5072:(e,t,n)=>{const r=n(7714);e.exports=(e,t,n)=>r(e,t,"<",n)},1706:(e,t,n)=>{const r=n(1490),i=n(5287);e.exports=(e,t,n)=>{let s=null,o=null,a=null;try{a=new i(t,n)}catch(e){return null}return e.forEach(e=>{a.test(e)&&(s&&-1!==o.compare(e)||(s=e,o=new r(s,n)))}),s}},7095:(e,t,n)=>{const r=n(1490),i=n(5287);e.exports=(e,t,n)=>{let s=null,o=null,a=null;try{a=new i(t,n)}catch(e){return null}return e.forEach(e=>{a.test(e)&&(s&&1!==o.compare(e)||(s=e,o=new r(s,n)))}),s}},507:(e,t,n)=>{const r=n(1490),i=n(5287),s=n(3473);e.exports=(e,t)=>{e=new i(e,t);let n=new r("0.0.0");if(e.test(n))return n;if(n=new r("0.0.0-0"),e.test(n))return n;n=null;for(let t=0;t{const t=new r(e.semver.version);switch(e.operator){case">":0===t.prerelease.length?t.patch++:t.prerelease.push(0),t.raw=t.format();case"":case">=":n&&!s(n,t)||(n=t);break;case"<":case"<=":break;default:throw new Error("Unexpected operation: "+e.operator)}})}return n&&e.test(n)?n:null}},7714:(e,t,n)=>{const r=n(1490),i=n(1790),{ANY:s}=i,o=n(5287),a=n(1495),c=n(3473),l=n(6762),u=n(973),h=n(2967);e.exports=(e,t,n,p)=>{let d,f,m,g,v;switch(e=new r(e,p),t=new o(t,p),n){case">":d=c,f=u,m=l,g=">",v=">=";break;case"<":d=l,f=h,m=c,g="<",v="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(a(e,t,p))return!1;for(let n=0;n{e.semver===s&&(e=new i(">=0.0.0")),o=o||e,a=a||e,d(e.semver,o.semver,p)?o=e:m(e.semver,a.semver,p)&&(a=e)}),o.operator===g||o.operator===v)return!1;if((!a.operator||a.operator===g)&&f(e,a.semver))return!1;if(a.operator===v&&m(e,a.semver))return!1}return!0}},9550:(e,t,n)=>{const r=n(1495),i=n(4905);e.exports=(e,t,n)=>{const s=[];let o=null,a=null;const c=e.sort((e,t)=>i(e,t,n));for(const e of c){r(e,t,n)?(a=e,o||(o=e)):(a&&s.push([o,a]),a=null,o=null)}o&&s.push([o,null]);const l=[];for(const[e,t]of s)e===t?l.push(e):t||e!==c[0]?t?e===c[0]?l.push("<="+t):l.push(`${e} - ${t}`):l.push(">="+e):l.push("*");const u=l.join(" || "),h="string"==typeof t.raw?t.raw:String(t);return u.length{const r=n(5287),{ANY:i}=n(1790),s=n(1495),o=n(4905),a=(e,t,n)=>{if(1===e.length&&e[0].semver===i)return 1===t.length&&t[0].semver===i;const r=new Set;let a,u,h,p,d,f,m;for(const t of e)">"===t.operator||">="===t.operator?a=c(a,t,n):"<"===t.operator||"<="===t.operator?u=l(u,t,n):r.add(t.semver);if(r.size>1)return null;if(a&&u){if(h=o(a.semver,u.semver,n),h>0)return null;if(0===h&&(">="!==a.operator||"<="!==u.operator))return null}for(const e of r){if(a&&!s(e,String(a),n))return null;if(u&&!s(e,String(u),n))return null;for(const r of t)if(!s(e,String(r),n))return!1;return!0}for(const e of t){if(m=m||">"===e.operator||">="===e.operator,f=f||"<"===e.operator||"<="===e.operator,a)if(">"===e.operator||">="===e.operator){if(p=c(a,e,n),p===e)return!1}else if(">="===a.operator&&!s(a.semver,String(e),n))return!1;if(u)if("<"===e.operator||"<="===e.operator){if(d=l(u,e,n),d===e)return!1}else if("<="===u.operator&&!s(u.semver,String(e),n))return!1;if(!e.operator&&(u||a)&&0!==h)return!1}return!(a&&f&&!u&&0!==h)&&!(u&&m&&!a&&0!==h)},c=(e,t,n)=>{if(!e)return t;const r=o(e.semver,t.semver,n);return r>0?e:r<0||">"===t.operator&&">="===e.operator?t:e},l=(e,t,n)=>{if(!e)return t;const r=o(e.semver,t.semver,n);return r<0?e:r>0||"<"===t.operator&&"<="===e.operator?t:e};e.exports=(e,t,n)=>{e=new r(e,n),t=new r(t,n);let i=!1;e:for(const r of e.set){for(const e of t.set){const t=a(r,e,n);if(i=i||null!==t,t)continue e}if(i)return!1}return!0}},382:(e,t,n)=>{const r=n(5287);e.exports=(e,t)=>new r(e,t).set.map(e=>e.map(e=>e.value).join(" ").trim().split(" "))},8029:(e,t,n)=>{const r=n(5287);e.exports=(e,t)=>{try{return new r(e,t).range||"*"}catch(e){return null}}},9461:e=>{e.exports=function(e,t){if(null==e||0===e.length)return null==t||0===t.length?0:t.length;if(null==t||0===t.length)return e.length;for(var n=0,r=0,i=0,s=0;n+r{function n(e){for(var t in e)this[t]=e[t]}t.get=function(e){var n=Error.stackTraceLimit;Error.stackTraceLimit=1/0;var r={},i=Error.prepareStackTrace;Error.prepareStackTrace=function(e,t){return t},Error.captureStackTrace(r,e||t.get);var s=r.stack;return Error.prepareStackTrace=i,Error.stackTraceLimit=n,s},t.parse=function(e){if(!e.stack)return[];var t=this;return e.stack.split("\n").slice(1).map((function(e){if(e.match(/^\s*[-]{4,}$/))return t._createParsedCallSite({fileName:e,lineNumber:null,functionName:null,typeName:null,methodName:null,columnNumber:null,native:null});var n=e.match(/at (?:(.+)\s+\()?(?:(.+?):(\d+)(?::(\d+))?|([^)]+))\)?/);if(n){var r=null,i=null,s=null,o=null,a=null,c="native"===n[5];if(n[1]){var l=(s=n[1]).lastIndexOf(".");if("."==s[l-1]&&l--,l>0){r=s.substr(0,l),i=s.substr(l+1);var u=r.indexOf(".Module");u>0&&(s=s.substr(u+1),r=r.substr(0,u))}o=null}i&&(o=r,a=i),""===i&&(a=null,s=null);var h={fileName:n[2]||null,lineNumber:parseInt(n[3],10)||null,functionName:s,typeName:o,methodName:a,columnNumber:parseInt(n[4],10)||null,native:c};return t._createParsedCallSite(h)}})).filter((function(e){return!!e}))};["this","typeName","functionName","methodName","fileName","lineNumber","columnNumber","function","evalOrigin"].forEach((function(e){n.prototype[e]=null,n.prototype["get"+e[0].toUpperCase()+e.substr(1)]=function(){return this[e]}})),["topLevel","eval","native","constructor"].forEach((function(e){n.prototype[e]=!1,n.prototype["is"+e[0].toUpperCase()+e.substr(1)]=function(){return this[e]}})),t._createParsedCallSite=function(e){return new n(e)}},3392:(e,t,n)=>{"use strict";const r=n(3634),i=n(3487),s=n(5754).Z;e.exports=(e,t,n)=>{const o=[];return function e(t,n,a){let c;(n=n||{}).indent=n.indent||"\t",a=a||"",c=void 0===n.inlineCharacterLimit?{newLine:"\n",newLineOrSpace:"\n",pad:a,indent:a+n.indent}:{newLine:"@@__STRINGIFY_OBJECT_NEW_LINE__@@",newLineOrSpace:"@@__STRINGIFY_OBJECT_NEW_LINE_OR_SPACE__@@",pad:"@@__STRINGIFY_OBJECT_PAD__@@",indent:"@@__STRINGIFY_OBJECT_INDENT__@@"};const l=e=>{if(void 0===n.inlineCharacterLimit)return e;const t=e.replace(new RegExp(c.newLine,"g"),"").replace(new RegExp(c.newLineOrSpace,"g")," ").replace(new RegExp(c.pad+"|"+c.indent,"g"),"");return t.length<=n.inlineCharacterLimit?t:e.replace(new RegExp(c.newLine+"|"+c.newLineOrSpace,"g"),"\n").replace(new RegExp(c.pad,"g"),a).replace(new RegExp(c.indent,"g"),a+n.indent)};if(-1!==o.indexOf(t))return'"[Circular]"';if(null==t||"number"==typeof t||"boolean"==typeof t||"function"==typeof t||"symbol"==typeof t||r(t))return String(t);if(t instanceof Date)return`new Date('${t.toISOString()}')`;if(Array.isArray(t)){if(0===t.length)return"[]";o.push(t);const r="["+c.newLine+t.map((r,i)=>{const s=t.length-1===i?c.newLine:","+c.newLineOrSpace;let o=e(r,n,a+n.indent);return n.transform&&(o=n.transform(t,i,o)),c.indent+o+s}).join("")+c.pad+"]";return o.pop(),l(r)}if(i(t)){let r=Object.keys(t).concat(s(t));if(n.filter&&(r=r.filter(e=>n.filter(t,e))),0===r.length)return"{}";o.push(t);const i="{"+c.newLine+r.map((i,s)=>{const o=r.length-1===s?c.newLine:","+c.newLineOrSpace,l="symbol"==typeof i,u=!l&&/^[a-z$_][a-z$_0-9]*$/i.test(i),h=l||u?i:e(i,n);let p=e(t[i],n,a+n.indent);return n.transform&&(p=n.transform(t,i,p)),c.indent+String(h)+": "+p+o}).join("")+c.pad+"}";return o.pop(),l(i)}return t=String(t).replace(/[\r\n]/g,e=>"\n"===e?"\\n":"\\r"),!1===n.singleQuotes?`"${t=t.replace(/"/g,'\\"')}"`:`'${t=t.replace(/\\?'/g,"\\'")}'`}(e,t,n)}},8151:(e,t,n)=>{"use strict";const r=n(1468),i=n(6443);const s=new class extends i{content({onError:e,onResult:t,onDone:n}){let r="";return r+=`var _results = new Array(${this.options.taps.length});\n`,r+="var _checkDone = function() {\n",r+="for(var i = 0; i < _results.length; i++) {\n",r+="var item = _results[i];\n",r+="if(item === undefined) return false;\n",r+="if(item.result !== undefined) {\n",r+=t("item.result"),r+="return true;\n",r+="}\n",r+="if(item.error) {\n",r+=e("item.error"),r+="return true;\n",r+="}\n",r+="}\n",r+="return false;\n",r+="}\n",r+=this.callTapsParallel({onError:(e,t,n,r)=>{let i="";return i+=`if(${e} < _results.length && ((_results.length = ${e+1}), (_results[${e}] = { error: ${t} }), _checkDone())) {\n`,i+=r(!0),i+="} else {\n",i+=n(),i+="}\n",i},onResult:(e,t,n,r)=>{let i="";return i+=`if(${e} < _results.length && (${t} !== undefined && (_results.length = ${e+1}), (_results[${e}] = { result: ${t} }), _checkDone())) {\n`,i+=r(!0),i+="} else {\n",i+=n(),i+="}\n",i},onTap:(e,t,n,r)=>{let i="";return e>0&&(i+=`if(${e} >= _results.length) {\n`,i+=n(),i+="} else {\n"),i+=t(),e>0&&(i+="}\n"),i},onDone:n}),r}},o=function(e){return s.setup(this,e),s.create(e)};function a(e=[],t){const n=new r(e,t);return n.constructor=a,n.compile=o,n._call=void 0,n.call=void 0,n}a.prototype=null,e.exports=a},1684:(e,t,n)=>{"use strict";const r=n(1468),i=n(6443);const s=new class extends i{content({onError:e,onDone:t}){return this.callTapsParallel({onError:(t,n,r,i)=>e(n)+i(!0),onDone:t})}},o=function(e){return s.setup(this,e),s.create(e)};function a(e=[],t){const n=new r(e,t);return n.constructor=a,n.compile=o,n._call=void 0,n.call=void 0,n}a.prototype=null,e.exports=a},5734:(e,t,n)=>{"use strict";const r=n(1468),i=n(6443);const s=new class extends i{content({onError:e,onResult:t,resultReturns:n,onDone:r}){return this.callTapsSeries({onError:(t,n,r,i)=>e(n)+i(!0),onResult:(e,n,r)=>`if(${n} !== undefined) {\n${t(n)}\n} else {\n${r()}}\n`,resultReturns:n,onDone:r})}},o=function(e){return s.setup(this,e),s.create(e)};function a(e=[],t){const n=new r(e,t);return n.constructor=a,n.compile=o,n._call=void 0,n.call=void 0,n}a.prototype=null,e.exports=a},6496:(e,t,n)=>{"use strict";const r=n(1468),i=n(6443);const s=new class extends i{content({onError:e,onDone:t}){return this.callTapsSeries({onError:(t,n,r,i)=>e(n)+i(!0),onDone:t})}},o=function(e){return s.setup(this,e),s.create(e)};function a(e=[],t){const n=new r(e,t);return n.constructor=a,n.compile=o,n._call=void 0,n.call=void 0,n}a.prototype=null,e.exports=a},5999:(e,t,n)=>{"use strict";const r=n(1468),i=n(6443);const s=new class extends i{content({onError:e,onDone:t}){return this.callTapsLooping({onError:(t,n,r,i)=>e(n)+i(!0),onDone:t})}},o=function(e){return s.setup(this,e),s.create(e)};function a(e=[],t){const n=new r(e,t);return n.constructor=a,n.compile=o,n._call=void 0,n.call=void 0,n}a.prototype=null,e.exports=a},8118:(e,t,n)=>{"use strict";const r=n(1468),i=n(6443);const s=new class extends i{content({onError:e,onResult:t,onDone:n}){return this.callTapsSeries({onError:(t,n,r,i)=>e(n)+i(!0),onResult:(e,t,n)=>{let r="";return r+=`if(${t} !== undefined) {\n`,r+=`${this._args[0]} = ${t};\n`,r+="}\n",r+=n(),r},onDone:()=>t(this._args[0])})}},o=function(e){return s.setup(this,e),s.create(e)};function a(e=[],t){if(e.length<1)throw new Error("Waterfall hooks must have at least one argument");const n=new r(e,t);return n.constructor=a,n.compile=o,n._call=void 0,n.call=void 0,n}a.prototype=null,e.exports=a},1468:(e,t,n)=>{"use strict";const r=n(1669).deprecate(()=>{},"Hook.context is deprecated and will be removed"),i=function(...e){return this.call=this._createCall("sync"),this.call(...e)},s=function(...e){return this.callAsync=this._createCall("async"),this.callAsync(...e)},o=function(...e){return this.promise=this._createCall("promise"),this.promise(...e)};class a{constructor(e=[],t){this._args=e,this.name=t,this.taps=[],this.interceptors=[],this._call=i,this.call=i,this._callAsync=s,this.callAsync=s,this._promise=o,this.promise=o,this._x=void 0,this.compile=this.compile,this.tap=this.tap,this.tapAsync=this.tapAsync,this.tapPromise=this.tapPromise}compile(e){throw new Error("Abstract: should be overridden")}_createCall(e){return this.compile({taps:this.taps,interceptors:this.interceptors,args:this._args,type:e})}_tap(e,t,n){if("string"==typeof t)t={name:t.trim()};else if("object"!=typeof t||null===t)throw new Error("Invalid tap options");if("string"!=typeof t.name||""===t.name)throw new Error("Missing name for tap");void 0!==t.context&&r(),t=Object.assign({type:e,fn:n},t),t=this._runRegisterInterceptors(t),this._insert(t)}tap(e,t){this._tap("sync",e,t)}tapAsync(e,t){this._tap("async",e,t)}tapPromise(e,t){this._tap("promise",e,t)}_runRegisterInterceptors(e){for(const t of this.interceptors)if(t.register){const n=t.register(e);void 0!==n&&(e=n)}return e}withOptions(e){const t=t=>Object.assign({},e,"string"==typeof t?{name:t}:t);return{name:this.name,tap:(e,n)=>this.tap(t(e),n),tapAsync:(e,n)=>this.tapAsync(t(e),n),tapPromise:(e,n)=>this.tapPromise(t(e),n),intercept:e=>this.intercept(e),isUsed:()=>this.isUsed(),withOptions:e=>this.withOptions(t(e))}}isUsed(){return this.taps.length>0||this.interceptors.length>0}intercept(e){if(this._resetCompilation(),this.interceptors.push(Object.assign({},e)),e.register)for(let t=0;t0;){r--;const e=this.taps[r];this.taps[r+1]=e;const i=e.stage||0;if(t){if(t.has(e.name)){t.delete(e.name);continue}if(t.size>0)continue}if(!(i>n)){r++;break}}this.taps[r]=e}}Object.setPrototypeOf(a.prototype,null),e.exports=a},6443:e=>{"use strict";e.exports=class{constructor(e){this.config=e,this.options=void 0,this._args=void 0}create(e){let t;switch(this.init(e),this.options.type){case"sync":t=new Function(this.args(),'"use strict";\n'+this.header()+this.contentWithInterceptors({onError:e=>`throw ${e};\n`,onResult:e=>`return ${e};\n`,resultReturns:!0,onDone:()=>"",rethrowIfPossible:!0}));break;case"async":t=new Function(this.args({after:"_callback"}),'"use strict";\n'+this.header()+this.contentWithInterceptors({onError:e=>`_callback(${e});\n`,onResult:e=>`_callback(null, ${e});\n`,onDone:()=>"_callback();\n"}));break;case"promise":let e=!1;const n=this.contentWithInterceptors({onError:t=>(e=!0,`_error(${t});\n`),onResult:e=>`_resolve(${e});\n`,onDone:()=>"_resolve();\n"});let r="";r+='"use strict";\n',r+=this.header(),r+="return new Promise((function(_resolve, _reject) {\n",e&&(r+="var _sync = true;\n",r+="function _error(_err) {\n",r+="if(_sync)\n",r+="_resolve(Promise.resolve().then((function() { throw _err; })));\n",r+="else\n",r+="_reject(_err);\n",r+="};\n"),r+=n,e&&(r+="_sync = false;\n"),r+="}));\n",t=new Function(this.args(),r)}return this.deinit(),t}setup(e,t){e._x=t.taps.map(e=>e.fn)}init(e){this.options=e,this._args=e.args.slice()}deinit(){this.options=void 0,this._args=void 0}contentWithInterceptors(e){if(this.options.interceptors.length>0){const t=e.onError,n=e.onResult,r=e.onDone;let i="";for(let e=0;e{let n="";for(let t=0;t{let t="";for(let n=0;n{let e="";for(let t=0;t0&&(e+="var _taps = this.taps;\n",e+="var _interceptors = this.interceptors;\n"),e}needContext(){for(const e of this.options.taps)if(e.context)return!0;return!1}callTap(e,{onError:t,onResult:n,onDone:r,rethrowIfPossible:i}){let s="",o=!1;for(let t=0;t"sync"!==e.type),a=n||i;let c="",l=r,u=0;for(let n=this.options.taps.length-1;n>=0;n--){const i=n;l!==r&&("sync"!==this.options.taps[i].type||u++>20)&&(u=0,c+=`function _next${i}() {\n`,c+=l(),c+="}\n",l=()=>`${a?"return ":""}_next${i}();\n`);const h=l,p=e=>e?"":r(),d=this.callTap(i,{onError:t=>e(i,t,h,p),onResult:t&&(e=>t(i,e,h,p)),onDone:!t&&h,rethrowIfPossible:s&&(o<0||id}return c+=l(),c}callTapsLooping({onError:e,onDone:t,rethrowIfPossible:n}){if(0===this.options.taps.length)return t();const r=this.options.taps.every(e=>"sync"===e.type);let i="";r||(i+="var _looper = (function() {\n",i+="var _loopAsync = false;\n"),i+="var _loop;\n",i+="do {\n",i+="_loop = false;\n";for(let e=0;e{let s="";return s+=`if(${t} !== undefined) {\n`,s+="_loop = true;\n",r||(s+="if(_loopAsync) _looper();\n"),s+=i(!0),s+="} else {\n",s+=n(),s+="}\n",s},onDone:t&&(()=>{let e="";return e+="if(!_loop) {\n",e+=t(),e+="}\n",e}),rethrowIfPossible:n&&r}),i+="} while(_loop);\n",r||(i+="_loopAsync = true;\n",i+="});\n",i+="_looper();\n"),i}callTapsParallel({onError:e,onResult:t,onDone:n,rethrowIfPossible:r,onTap:i=((e,t)=>t())}){if(this.options.taps.length<=1)return this.callTapsSeries({onError:e,onResult:t,onDone:n,rethrowIfPossible:r});let s="";s+="do {\n",s+=`var _counter = ${this.options.taps.length};\n`,n&&(s+="var _done = (function() {\n",s+=n(),s+="});\n");for(let o=0;on?"if(--_counter === 0) _done();\n":"--_counter;",c=e=>e||!n?"_counter = 0;\n":"_counter = 0;\n_done();\n";s+="if(_counter <= 0) break;\n",s+=i(o,()=>this.callTap(o,{onError:t=>{let n="";return n+="if(_counter > 0) {\n",n+=e(o,t,a,c),n+="}\n",n},onResult:t&&(e=>{let n="";return n+="if(_counter > 0) {\n",n+=t(o,e,a,c),n+="}\n",n}),onDone:!t&&(()=>a()),rethrowIfPossible:r}),a,c)}return s+="} while(false);\n",s}args({before:e,after:t}={}){let n=this._args;return e&&(n=[e].concat(n)),t&&(n=n.concat(t)),0===n.length?"":n.join(", ")}getTapFn(e){return`_x[${e}]`}getTap(e){return`_taps[${e}]`}getInterceptor(e){return`_interceptors[${e}]`}}},7079:(e,t,n)=>{"use strict";const r=n(1669),i=(e,t)=>t;class s{constructor(e,t){this._map=new Map,this.name=t,this._factory=e,this._interceptors=[]}get(e){return this._map.get(e)}for(e){const t=this.get(e);if(void 0!==t)return t;let n=this._factory(e);const r=this._interceptors;for(let t=0;t{"use strict";n(1468);class r{constructor(e,t){this.hooks=e,this.name=t}tap(e,t){for(const n of this.hooks)n.tap(e,t)}tapAsync(e,t){for(const n of this.hooks)n.tapAsync(e,t)}tapPromise(e,t){for(const n of this.hooks)n.tapPromise(e,t)}isUsed(){for(const e of this.hooks)if(e.isUsed())return!0;return!1}intercept(e){for(const t of this.hooks)t.intercept(e)}withOptions(e){return new r(this.hooks.map(t=>t.withOptions(e)),this.name)}}e.exports=r},1626:(e,t,n)=>{"use strict";const r=n(1468),i=n(6443);const s=new class extends i{content({onError:e,onResult:t,resultReturns:n,onDone:r,rethrowIfPossible:i}){return this.callTapsSeries({onError:(t,n)=>e(n),onResult:(e,n,r)=>`if(${n} !== undefined) {\n${t(n)};\n} else {\n${r()}}\n`,resultReturns:n,onDone:r,rethrowIfPossible:i})}},o=()=>{throw new Error("tapAsync is not supported on a SyncBailHook")},a=()=>{throw new Error("tapPromise is not supported on a SyncBailHook")},c=function(e){return s.setup(this,e),s.create(e)};function l(e=[],t){const n=new r(e,t);return n.constructor=l,n.tapAsync=o,n.tapPromise=a,n.compile=c,n}l.prototype=null,e.exports=l},9689:(e,t,n)=>{"use strict";const r=n(1468),i=n(6443);const s=new class extends i{content({onError:e,onDone:t,rethrowIfPossible:n}){return this.callTapsSeries({onError:(t,n)=>e(n),onDone:t,rethrowIfPossible:n})}},o=()=>{throw new Error("tapAsync is not supported on a SyncHook")},a=()=>{throw new Error("tapPromise is not supported on a SyncHook")},c=function(e){return s.setup(this,e),s.create(e)};function l(e=[],t){const n=new r(e,t);return n.constructor=l,n.tapAsync=o,n.tapPromise=a,n.compile=c,n}l.prototype=null,e.exports=l},179:(e,t,n)=>{"use strict";const r=n(1468),i=n(6443);const s=new class extends i{content({onError:e,onDone:t,rethrowIfPossible:n}){return this.callTapsLooping({onError:(t,n)=>e(n),onDone:t,rethrowIfPossible:n})}},o=()=>{throw new Error("tapAsync is not supported on a SyncLoopHook")},a=()=>{throw new Error("tapPromise is not supported on a SyncLoopHook")},c=function(e){return s.setup(this,e),s.create(e)};function l(e=[],t){const n=new r(e,t);return n.constructor=l,n.tapAsync=o,n.tapPromise=a,n.compile=c,n}l.prototype=null,e.exports=l},6093:(e,t,n)=>{"use strict";const r=n(1468),i=n(6443);const s=new class extends i{content({onError:e,onResult:t,resultReturns:n,rethrowIfPossible:r}){return this.callTapsSeries({onError:(t,n)=>e(n),onResult:(e,t,n)=>{let r="";return r+=`if(${t} !== undefined) {\n`,r+=`${this._args[0]} = ${t};\n`,r+="}\n",r+=n(),r},onDone:()=>t(this._args[0]),doneReturns:n,rethrowIfPossible:r})}},o=()=>{throw new Error("tapAsync is not supported on a SyncWaterfallHook")},a=()=>{throw new Error("tapPromise is not supported on a SyncWaterfallHook")},c=function(e){return s.setup(this,e),s.create(e)};function l(e=[],t){if(e.length<1)throw new Error("Waterfall hooks must have at least one argument");const n=new r(e,t);return n.constructor=l,n.tapAsync=o,n.tapPromise=a,n.compile=c,n}l.prototype=null,e.exports=l},1242:(e,t,n)=>{"use strict";t.__esModule=!0,t.SyncHook=n(9689),t.SyncBailHook=n(1626),t.SyncWaterfallHook=n(6093),t.SyncLoopHook=n(179),t.AsyncParallelHook=n(1684),t.AsyncParallelBailHook=n(8151),t.AsyncSeriesHook=n(6496),t.AsyncSeriesBailHook=n(5734),t.AsyncSeriesLoopHook=n(5999),t.AsyncSeriesWaterfallHook=n(8118),t.HookMap=n(7079),t.MultiHook=n(3103)},887:(e,t,n)=>{"use strict"; +e.exports=function(e,t){let r,i,o,s=!0;Array.isArray(e)?(r=[],i=e.length):(o=Object.keys(e),r={},i=o.length);function a(e){function i(){t&&t(e,r),t=null}s?n(i):i()}function l(e,t,n){r[e]=n,(0==--i||t)&&a(t)}i?o?o.forEach((function(t){e[t]((function(e,r){l(t,e,r)}))})):e.forEach((function(e,t){e((function(e,r){l(t,e,r)}))})):a(null);s=!1};const n=r(49077)},34777:(e,t,r)=>{const n=Symbol("SemVer ANY");class i{static get ANY(){return n}constructor(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof i){if(e.loose===!!t.loose)return e;e=e.value}l("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===n?this.value="":this.value=this.operator+this.semver.version,l("comp",this)}parse(e){const t=this.options.loose?o[s.COMPARATORLOOSE]:o[s.COMPARATOR],r=e.match(t);if(!r)throw new TypeError("Invalid comparator: "+e);this.operator=void 0!==r[1]?r[1]:"","="===this.operator&&(this.operator=""),r[2]?this.semver=new c(r[2],this.options.loose):this.semver=n}toString(){return this.value}test(e){if(l("Comparator.test",e,this.options.loose),this.semver===n||e===n)return!0;if("string"==typeof e)try{e=new c(e,this.options)}catch(e){return!1}return a(e,this.operator,this.semver,this.options)}intersects(e,t){if(!(e instanceof i))throw new TypeError("a Comparator is required");if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),""===this.operator)return""===this.value||new u(e.value,t).test(this.value);if(""===e.operator)return""===e.value||new u(this.value,t).test(e.semver);const r=!(">="!==this.operator&&">"!==this.operator||">="!==e.operator&&">"!==e.operator),n=!("<="!==this.operator&&"<"!==this.operator||"<="!==e.operator&&"<"!==e.operator),o=this.semver.version===e.semver.version,s=!(">="!==this.operator&&"<="!==this.operator||">="!==e.operator&&"<="!==e.operator),l=a(this.semver,"<",e.semver,t)&&(">="===this.operator||">"===this.operator)&&("<="===e.operator||"<"===e.operator),c=a(this.semver,">",e.semver,t)&&("<="===this.operator||"<"===this.operator)&&(">="===e.operator||">"===e.operator);return r||n||o&&s||l||c}}e.exports=i;const{re:o,t:s}=r(64841),a=r(71128),l=r(15909),c=r(95271),u=r(45636)},45636:(e,t,r)=>{class n{constructor(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof n)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new n(e.raw,t);if(e instanceof i)return this.raw=e.value,this.set=[[e]],this.format(),this;if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e,this.set=e.split(/\s*\|\|\s*/).map(e=>this.parseRange(e.trim())).filter(e=>e.length),!this.set.length)throw new TypeError("Invalid SemVer Range: "+e);this.format()}format(){return this.range=this.set.map(e=>e.join(" ").trim()).join("||").trim(),this.range}toString(){return this.range}parseRange(e){const t=this.options.loose;e=e.trim();const r=t?a[l.HYPHENRANGELOOSE]:a[l.HYPHENRANGE];e=e.replace(r,k(this.options.includePrerelease)),o("hyphen replace",e),e=e.replace(a[l.COMPARATORTRIM],c),o("comparator trim",e,a[l.COMPARATORTRIM]),e=(e=(e=e.replace(a[l.TILDETRIM],u)).replace(a[l.CARETTRIM],p)).split(/\s+/).join(" ");const n=t?a[l.COMPARATORLOOSE]:a[l.COMPARATOR];return e.split(" ").map(e=>d(e,this.options)).join(" ").split(/\s+/).map(e=>x(e,this.options)).filter(this.options.loose?e=>!!e.match(n):()=>!0).map(e=>new i(e,this.options))}intersects(e,t){if(!(e instanceof n))throw new TypeError("a Range is required");return this.set.some(r=>h(r,t)&&e.set.some(e=>h(e,t)&&r.every(r=>e.every(e=>r.intersects(e,t)))))}test(e){if(!e)return!1;if("string"==typeof e)try{e=new s(e,this.options)}catch(e){return!1}for(let t=0;t{let r=!0;const n=e.slice();let i=n.pop();for(;r&&n.length;)r=n.every(e=>i.intersects(e,t)),i=n.pop();return r},d=(e,t)=>(o("comp",e,t),e=v(e,t),o("caret",e),e=g(e,t),o("tildes",e),e=b(e,t),o("xrange",e),e=_(e,t),o("stars",e),e),f=e=>!e||"x"===e.toLowerCase()||"*"===e,g=(e,t)=>e.trim().split(/\s+/).map(e=>m(e,t)).join(" "),m=(e,t)=>{const r=t.loose?a[l.TILDELOOSE]:a[l.TILDE];return e.replace(r,(t,r,n,i,s)=>{let a;return o("tilde",e,t,r,n,i,s),f(r)?a="":f(n)?a=`>=${r}.0.0 <${+r+1}.0.0-0`:f(i)?a=`>=${r}.${n}.0 <${r}.${+n+1}.0-0`:s?(o("replaceTilde pr",s),a=`>=${r}.${n}.${i}-${s} <${r}.${+n+1}.0-0`):a=`>=${r}.${n}.${i} <${r}.${+n+1}.0-0`,o("tilde return",a),a})},v=(e,t)=>e.trim().split(/\s+/).map(e=>y(e,t)).join(" "),y=(e,t)=>{o("caret",e,t);const r=t.loose?a[l.CARETLOOSE]:a[l.CARET],n=t.includePrerelease?"-0":"";return e.replace(r,(t,r,i,s,a)=>{let l;return o("caret",e,t,r,i,s,a),f(r)?l="":f(i)?l=`>=${r}.0.0${n} <${+r+1}.0.0-0`:f(s)?l="0"===r?`>=${r}.${i}.0${n} <${r}.${+i+1}.0-0`:`>=${r}.${i}.0${n} <${+r+1}.0.0-0`:a?(o("replaceCaret pr",a),l="0"===r?"0"===i?`>=${r}.${i}.${s}-${a} <${r}.${i}.${+s+1}-0`:`>=${r}.${i}.${s}-${a} <${r}.${+i+1}.0-0`:`>=${r}.${i}.${s}-${a} <${+r+1}.0.0-0`):(o("no pr"),l="0"===r?"0"===i?`>=${r}.${i}.${s}${n} <${r}.${i}.${+s+1}-0`:`>=${r}.${i}.${s}${n} <${r}.${+i+1}.0-0`:`>=${r}.${i}.${s} <${+r+1}.0.0-0`),o("caret return",l),l})},b=(e,t)=>(o("replaceXRanges",e,t),e.split(/\s+/).map(e=>w(e,t)).join(" ")),w=(e,t)=>{e=e.trim();const r=t.loose?a[l.XRANGELOOSE]:a[l.XRANGE];return e.replace(r,(r,n,i,s,a,l)=>{o("xRange",e,r,n,i,s,a,l);const c=f(i),u=c||f(s),p=u||f(a),h=p;return"="===n&&h&&(n=""),l=t.includePrerelease?"-0":"",c?r=">"===n||"<"===n?"<0.0.0-0":"*":n&&h?(u&&(s=0),a=0,">"===n?(n=">=",u?(i=+i+1,s=0,a=0):(s=+s+1,a=0)):"<="===n&&(n="<",u?i=+i+1:s=+s+1),"<"===n&&(l="-0"),r=`${n+i}.${s}.${a}${l}`):u?r=`>=${i}.0.0${l} <${+i+1}.0.0-0`:p&&(r=`>=${i}.${s}.0${l} <${i}.${+s+1}.0-0`),o("xRange return",r),r})},_=(e,t)=>(o("replaceStars",e,t),e.trim().replace(a[l.STAR],"")),x=(e,t)=>(o("replaceGTE0",e,t),e.trim().replace(a[t.includePrerelease?l.GTE0PRE:l.GTE0],"")),k=e=>(t,r,n,i,o,s,a,l,c,u,p,h,d)=>`${r=f(n)?"":f(i)?`>=${n}.0.0${e?"-0":""}`:f(o)?`>=${n}.${i}.0${e?"-0":""}`:s?">="+r:`>=${r}${e?"-0":""}`} ${l=f(c)?"":f(u)?`<${+c+1}.0.0-0`:f(p)?`<${c}.${+u+1}.0-0`:h?`<=${c}.${u}.${p}-${h}`:e?`<${c}.${u}.${+p+1}-0`:"<="+l}`.trim(),S=(e,t,r)=>{for(let r=0;r0){const n=e[r].semver;if(n.major===t.major&&n.minor===t.minor&&n.patch===t.patch)return!0}return!1}return!0}},95271:(e,t,r)=>{const n=r(15909),{MAX_LENGTH:i,MAX_SAFE_INTEGER:o}=r(57549),{re:s,t:a}=r(64841),{compareIdentifiers:l}=r(7675);class c{constructor(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof c){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;e=e.version}else if("string"!=typeof e)throw new TypeError("Invalid Version: "+e);if(e.length>i)throw new TypeError(`version is longer than ${i} characters`);n("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;const r=e.trim().match(t.loose?s[a.LOOSE]:s[a.FULL]);if(!r)throw new TypeError("Invalid Version: "+e);if(this.raw=e,this.major=+r[1],this.minor=+r[2],this.patch=+r[3],this.major>o||this.major<0)throw new TypeError("Invalid major version");if(this.minor>o||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>o||this.patch<0)throw new TypeError("Invalid patch version");r[4]?this.prerelease=r[4].split(".").map(e=>{if(/^[0-9]+$/.test(e)){const t=+e;if(t>=0&&t=0;)"number"==typeof this.prerelease[e]&&(this.prerelease[e]++,e=-2);-1===e&&this.prerelease.push(0)}t&&(this.prerelease[0]===t?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw new Error("invalid increment argument: "+e)}return this.format(),this.raw=this.version,this}}e.exports=c},65271:(e,t,r)=>{const n=r(60663);e.exports=(e,t)=>{const r=n(e.trim().replace(/^[=v]+/,""),t);return r?r.version:null}},71128:(e,t,r)=>{const n=r(89348),i=r(33678),o=r(20209),s=r(68758),a=r(86197),l=r(16768);e.exports=(e,t,r,c)=>{switch(t){case"===":return"object"==typeof e&&(e=e.version),"object"==typeof r&&(r=r.version),e===r;case"!==":return"object"==typeof e&&(e=e.version),"object"==typeof r&&(r=r.version),e!==r;case"":case"=":case"==":return n(e,r,c);case"!=":return i(e,r,c);case">":return o(e,r,c);case">=":return s(e,r,c);case"<":return a(e,r,c);case"<=":return l(e,r,c);default:throw new TypeError("Invalid operator: "+t)}}},51194:(e,t,r)=>{const n=r(95271),i=r(60663),{re:o,t:s}=r(64841);e.exports=(e,t)=>{if(e instanceof n)return e;if("number"==typeof e&&(e=String(e)),"string"!=typeof e)return null;let r=null;if((t=t||{}).rtl){let t;for(;(t=o[s.COERCERTL].exec(e))&&(!r||r.index+r[0].length!==e.length);)r&&t.index+t[0].length===r.index+r[0].length||(r=t),o[s.COERCERTL].lastIndex=t.index+t[1].length+t[2].length;o[s.COERCERTL].lastIndex=-1}else r=e.match(o[s.COERCE]);return null===r?null:i(`${r[2]}.${r[3]||"0"}.${r[4]||"0"}`,t)}},86587:(e,t,r)=>{const n=r(95271);e.exports=(e,t,r)=>{const i=new n(e,r),o=new n(t,r);return i.compare(o)||i.compareBuild(o)}},43525:(e,t,r)=>{const n=r(23681);e.exports=(e,t)=>n(e,t,!0)},23681:(e,t,r)=>{const n=r(95271);e.exports=(e,t,r)=>new n(e,r).compare(new n(t,r))},16893:(e,t,r)=>{const n=r(60663),i=r(89348);e.exports=(e,t)=>{if(i(e,t))return null;{const r=n(e),i=n(t),o=r.prerelease.length||i.prerelease.length,s=o?"pre":"",a=o?"prerelease":"";for(const e in r)if(("major"===e||"minor"===e||"patch"===e)&&r[e]!==i[e])return s+e;return a}}},89348:(e,t,r)=>{const n=r(23681);e.exports=(e,t,r)=>0===n(e,t,r)},20209:(e,t,r)=>{const n=r(23681);e.exports=(e,t,r)=>n(e,t,r)>0},68758:(e,t,r)=>{const n=r(23681);e.exports=(e,t,r)=>n(e,t,r)>=0},98039:(e,t,r)=>{const n=r(95271);e.exports=(e,t,r,i)=>{"string"==typeof r&&(i=r,r=void 0);try{return new n(e,r).inc(t,i).version}catch(e){return null}}},86197:(e,t,r)=>{const n=r(23681);e.exports=(e,t,r)=>n(e,t,r)<0},16768:(e,t,r)=>{const n=r(23681);e.exports=(e,t,r)=>n(e,t,r)<=0},70672:(e,t,r)=>{const n=r(95271);e.exports=(e,t)=>new n(e,t).major},895:(e,t,r)=>{const n=r(95271);e.exports=(e,t)=>new n(e,t).minor},33678:(e,t,r)=>{const n=r(23681);e.exports=(e,t,r)=>0!==n(e,t,r)},60663:(e,t,r)=>{const{MAX_LENGTH:n}=r(57549),{re:i,t:o}=r(64841),s=r(95271);e.exports=(e,t)=>{if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof s)return e;if("string"!=typeof e)return null;if(e.length>n)return null;if(!(t.loose?i[o.LOOSE]:i[o.FULL]).test(e))return null;try{return new s(e,t)}catch(e){return null}}},10561:(e,t,r)=>{const n=r(95271);e.exports=(e,t)=>new n(e,t).patch},83545:(e,t,r)=>{const n=r(60663);e.exports=(e,t)=>{const r=n(e,t);return r&&r.prerelease.length?r.prerelease:null}},7980:(e,t,r)=>{const n=r(23681);e.exports=(e,t,r)=>n(t,e,r)},17796:(e,t,r)=>{const n=r(86587);e.exports=(e,t)=>e.sort((e,r)=>n(r,e,t))},60822:(e,t,r)=>{const n=r(45636);e.exports=(e,t,r)=>{try{t=new n(t,r)}catch(e){return!1}return t.test(e)}},62e3:(e,t,r)=>{const n=r(86587);e.exports=(e,t)=>e.sort((e,r)=>n(e,r,t))},36312:(e,t,r)=>{const n=r(60663);e.exports=(e,t)=>{const r=n(e,t);return r?r.version:null}},19618:(e,t,r)=>{const n=r(64841);e.exports={re:n.re,src:n.src,tokens:n.t,SEMVER_SPEC_VERSION:r(57549).SEMVER_SPEC_VERSION,SemVer:r(95271),compareIdentifiers:r(7675).compareIdentifiers,rcompareIdentifiers:r(7675).rcompareIdentifiers,parse:r(60663),valid:r(36312),clean:r(65271),inc:r(98039),diff:r(16893),major:r(70672),minor:r(895),patch:r(10561),prerelease:r(83545),compare:r(23681),rcompare:r(7980),compareLoose:r(43525),compareBuild:r(86587),sort:r(62e3),rsort:r(17796),gt:r(20209),lt:r(86197),eq:r(89348),neq:r(33678),gte:r(68758),lte:r(16768),cmp:r(71128),coerce:r(51194),Comparator:r(34777),Range:r(45636),satisfies:r(60822),toComparators:r(2959),maxSatisfying:r(48180),minSatisfying:r(21448),minVersion:r(76368),validRange:r(87472),outside:r(40332),gtr:r(37284),ltr:r(97777),intersects:r(3624),simplifyRange:r(67251),subset:r(41455)}},57549:e=>{const t=Number.MAX_SAFE_INTEGER||9007199254740991;e.exports={SEMVER_SPEC_VERSION:"2.0.0",MAX_LENGTH:256,MAX_SAFE_INTEGER:t,MAX_SAFE_COMPONENT_LENGTH:16}},15909:e=>{const t="object"==typeof process&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};e.exports=t},7675:e=>{const t=/^[0-9]+$/,r=(e,r)=>{const n=t.test(e),i=t.test(r);return n&&i&&(e=+e,r=+r),e===r?0:n&&!i?-1:i&&!n?1:er(t,e)}},64841:(e,t,r)=>{const{MAX_SAFE_COMPONENT_LENGTH:n}=r(57549),i=r(15909),o=(t=e.exports={}).re=[],s=t.src=[],a=t.t={};let l=0;const c=(e,t,r)=>{const n=l++;i(n,t),a[e]=n,s[n]=t,o[n]=new RegExp(t,r?"g":void 0)};c("NUMERICIDENTIFIER","0|[1-9]\\d*"),c("NUMERICIDENTIFIERLOOSE","[0-9]+"),c("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),c("MAINVERSION",`(${s[a.NUMERICIDENTIFIER]})\\.(${s[a.NUMERICIDENTIFIER]})\\.(${s[a.NUMERICIDENTIFIER]})`),c("MAINVERSIONLOOSE",`(${s[a.NUMERICIDENTIFIERLOOSE]})\\.(${s[a.NUMERICIDENTIFIERLOOSE]})\\.(${s[a.NUMERICIDENTIFIERLOOSE]})`),c("PRERELEASEIDENTIFIER",`(?:${s[a.NUMERICIDENTIFIER]}|${s[a.NONNUMERICIDENTIFIER]})`),c("PRERELEASEIDENTIFIERLOOSE",`(?:${s[a.NUMERICIDENTIFIERLOOSE]}|${s[a.NONNUMERICIDENTIFIER]})`),c("PRERELEASE",`(?:-(${s[a.PRERELEASEIDENTIFIER]}(?:\\.${s[a.PRERELEASEIDENTIFIER]})*))`),c("PRERELEASELOOSE",`(?:-?(${s[a.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${s[a.PRERELEASEIDENTIFIERLOOSE]})*))`),c("BUILDIDENTIFIER","[0-9A-Za-z-]+"),c("BUILD",`(?:\\+(${s[a.BUILDIDENTIFIER]}(?:\\.${s[a.BUILDIDENTIFIER]})*))`),c("FULLPLAIN",`v?${s[a.MAINVERSION]}${s[a.PRERELEASE]}?${s[a.BUILD]}?`),c("FULL",`^${s[a.FULLPLAIN]}$`),c("LOOSEPLAIN",`[v=\\s]*${s[a.MAINVERSIONLOOSE]}${s[a.PRERELEASELOOSE]}?${s[a.BUILD]}?`),c("LOOSE",`^${s[a.LOOSEPLAIN]}$`),c("GTLT","((?:<|>)?=?)"),c("XRANGEIDENTIFIERLOOSE",s[a.NUMERICIDENTIFIERLOOSE]+"|x|X|\\*"),c("XRANGEIDENTIFIER",s[a.NUMERICIDENTIFIER]+"|x|X|\\*"),c("XRANGEPLAIN",`[v=\\s]*(${s[a.XRANGEIDENTIFIER]})(?:\\.(${s[a.XRANGEIDENTIFIER]})(?:\\.(${s[a.XRANGEIDENTIFIER]})(?:${s[a.PRERELEASE]})?${s[a.BUILD]}?)?)?`),c("XRANGEPLAINLOOSE",`[v=\\s]*(${s[a.XRANGEIDENTIFIERLOOSE]})(?:\\.(${s[a.XRANGEIDENTIFIERLOOSE]})(?:\\.(${s[a.XRANGEIDENTIFIERLOOSE]})(?:${s[a.PRERELEASELOOSE]})?${s[a.BUILD]}?)?)?`),c("XRANGE",`^${s[a.GTLT]}\\s*${s[a.XRANGEPLAIN]}$`),c("XRANGELOOSE",`^${s[a.GTLT]}\\s*${s[a.XRANGEPLAINLOOSE]}$`),c("COERCE",`(^|[^\\d])(\\d{1,${n}})(?:\\.(\\d{1,${n}}))?(?:\\.(\\d{1,${n}}))?(?:$|[^\\d])`),c("COERCERTL",s[a.COERCE],!0),c("LONETILDE","(?:~>?)"),c("TILDETRIM",`(\\s*)${s[a.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",c("TILDE",`^${s[a.LONETILDE]}${s[a.XRANGEPLAIN]}$`),c("TILDELOOSE",`^${s[a.LONETILDE]}${s[a.XRANGEPLAINLOOSE]}$`),c("LONECARET","(?:\\^)"),c("CARETTRIM",`(\\s*)${s[a.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",c("CARET",`^${s[a.LONECARET]}${s[a.XRANGEPLAIN]}$`),c("CARETLOOSE",`^${s[a.LONECARET]}${s[a.XRANGEPLAINLOOSE]}$`),c("COMPARATORLOOSE",`^${s[a.GTLT]}\\s*(${s[a.LOOSEPLAIN]})$|^$`),c("COMPARATOR",`^${s[a.GTLT]}\\s*(${s[a.FULLPLAIN]})$|^$`),c("COMPARATORTRIM",`(\\s*)${s[a.GTLT]}\\s*(${s[a.LOOSEPLAIN]}|${s[a.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",c("HYPHENRANGE",`^\\s*(${s[a.XRANGEPLAIN]})\\s+-\\s+(${s[a.XRANGEPLAIN]})\\s*$`),c("HYPHENRANGELOOSE",`^\\s*(${s[a.XRANGEPLAINLOOSE]})\\s+-\\s+(${s[a.XRANGEPLAINLOOSE]})\\s*$`),c("STAR","(<|>)?=?\\s*\\*"),c("GTE0","^\\s*>=\\s*0.0.0\\s*$"),c("GTE0PRE","^\\s*>=\\s*0.0.0-0\\s*$")},37284:(e,t,r)=>{const n=r(40332);e.exports=(e,t,r)=>n(e,t,">",r)},3624:(e,t,r)=>{const n=r(45636);e.exports=(e,t,r)=>(e=new n(e,r),t=new n(t,r),e.intersects(t))},97777:(e,t,r)=>{const n=r(40332);e.exports=(e,t,r)=>n(e,t,"<",r)},48180:(e,t,r)=>{const n=r(95271),i=r(45636);e.exports=(e,t,r)=>{let o=null,s=null,a=null;try{a=new i(t,r)}catch(e){return null}return e.forEach(e=>{a.test(e)&&(o&&-1!==s.compare(e)||(o=e,s=new n(o,r)))}),o}},21448:(e,t,r)=>{const n=r(95271),i=r(45636);e.exports=(e,t,r)=>{let o=null,s=null,a=null;try{a=new i(t,r)}catch(e){return null}return e.forEach(e=>{a.test(e)&&(o&&1!==s.compare(e)||(o=e,s=new n(o,r)))}),o}},76368:(e,t,r)=>{const n=r(95271),i=r(45636),o=r(20209);e.exports=(e,t)=>{e=new i(e,t);let r=new n("0.0.0");if(e.test(r))return r;if(r=new n("0.0.0-0"),e.test(r))return r;r=null;for(let t=0;t{const t=new n(e.semver.version);switch(e.operator){case">":0===t.prerelease.length?t.patch++:t.prerelease.push(0),t.raw=t.format();case"":case">=":r&&!o(r,t)||(r=t);break;case"<":case"<=":break;default:throw new Error("Unexpected operation: "+e.operator)}})}return r&&e.test(r)?r:null}},40332:(e,t,r)=>{const n=r(95271),i=r(34777),{ANY:o}=i,s=r(45636),a=r(60822),l=r(20209),c=r(86197),u=r(16768),p=r(68758);e.exports=(e,t,r,h)=>{let d,f,g,m,v;switch(e=new n(e,h),t=new s(t,h),r){case">":d=l,f=u,g=c,m=">",v=">=";break;case"<":d=c,f=p,g=l,m="<",v="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(a(e,t,h))return!1;for(let r=0;r{e.semver===o&&(e=new i(">=0.0.0")),s=s||e,a=a||e,d(e.semver,s.semver,h)?s=e:g(e.semver,a.semver,h)&&(a=e)}),s.operator===m||s.operator===v)return!1;if((!a.operator||a.operator===m)&&f(e,a.semver))return!1;if(a.operator===v&&g(e,a.semver))return!1}return!0}},67251:(e,t,r)=>{const n=r(60822),i=r(23681);e.exports=(e,t,r)=>{const o=[];let s=null,a=null;const l=e.sort((e,t)=>i(e,t,r));for(const e of l){n(e,t,r)?(a=e,s||(s=e)):(a&&o.push([s,a]),a=null,s=null)}s&&o.push([s,null]);const c=[];for(const[e,t]of o)e===t?c.push(e):t||e!==l[0]?t?e===l[0]?c.push("<="+t):c.push(`${e} - ${t}`):c.push(">="+e):c.push("*");const u=c.join(" || "),p="string"==typeof t.raw?t.raw:String(t);return u.length{const n=r(45636),{ANY:i}=r(34777),o=r(60822),s=r(23681),a=(e,t,r)=>{if(1===e.length&&e[0].semver===i)return 1===t.length&&t[0].semver===i;const n=new Set;let a,u,p,h,d,f,g;for(const t of e)">"===t.operator||">="===t.operator?a=l(a,t,r):"<"===t.operator||"<="===t.operator?u=c(u,t,r):n.add(t.semver);if(n.size>1)return null;if(a&&u){if(p=s(a.semver,u.semver,r),p>0)return null;if(0===p&&(">="!==a.operator||"<="!==u.operator))return null}for(const e of n){if(a&&!o(e,String(a),r))return null;if(u&&!o(e,String(u),r))return null;for(const n of t)if(!o(e,String(n),r))return!1;return!0}for(const e of t){if(g=g||">"===e.operator||">="===e.operator,f=f||"<"===e.operator||"<="===e.operator,a)if(">"===e.operator||">="===e.operator){if(h=l(a,e,r),h===e)return!1}else if(">="===a.operator&&!o(a.semver,String(e),r))return!1;if(u)if("<"===e.operator||"<="===e.operator){if(d=c(u,e,r),d===e)return!1}else if("<="===u.operator&&!o(u.semver,String(e),r))return!1;if(!e.operator&&(u||a)&&0!==p)return!1}return!(a&&f&&!u&&0!==p)&&!(u&&g&&!a&&0!==p)},l=(e,t,r)=>{if(!e)return t;const n=s(e.semver,t.semver,r);return n>0?e:n<0||">"===t.operator&&">="===e.operator?t:e},c=(e,t,r)=>{if(!e)return t;const n=s(e.semver,t.semver,r);return n<0?e:n>0||"<"===t.operator&&"<="===e.operator?t:e};e.exports=(e,t,r)=>{e=new n(e,r),t=new n(t,r);let i=!1;e:for(const n of e.set){for(const e of t.set){const t=a(n,e,r);if(i=i||null!==t,t)continue e}if(i)return!1}return!0}},2959:(e,t,r)=>{const n=r(45636);e.exports=(e,t)=>new n(e,t).set.map(e=>e.map(e=>e.value).join(" ").trim().split(" "))},87472:(e,t,r)=>{const n=r(45636);e.exports=(e,t)=>{try{return new n(e,t).range||"*"}catch(e){return null}}},40945:e=>{e.exports=function(e,t){if(null==e||0===e.length)return null==t||0===t.length?0:t.length;if(null==t||0===t.length)return e.length;for(var r=0,n=0,i=0,o=0;r+n{var n=r(23402),i=Object.prototype.hasOwnProperty,o="undefined"!=typeof Map;function s(){this._array=[],this._set=o?new Map:Object.create(null)}s.fromArray=function(e,t){for(var r=new s,n=0,i=e.length;n=0)return t}else{var r=n.toSetString(e);if(i.call(this._set,r))return this._set[r]}throw new Error('"'+e+'" is not in the set.')},s.prototype.at=function(e){if(e>=0&&e{var n=r(65902);t.encode=function(e){var t,r="",i=function(e){return e<0?1+(-e<<1):0+(e<<1)}(e);do{t=31&i,(i>>>=5)>0&&(t|=32),r+=n.encode(t)}while(i>0);return r},t.decode=function(e,t,r){var i,o,s,a,l=e.length,c=0,u=0;do{if(t>=l)throw new Error("Expected more digits in base 64 VLQ value.");if(-1===(o=n.decode(e.charCodeAt(t++))))throw new Error("Invalid base64 digit: "+e.charAt(t-1));i=!!(32&o),c+=(o&=31)<>1,1==(1&s)?-a:a),r.rest=t}},65902:(e,t)=>{var r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");t.encode=function(e){if(0<=e&&e{t.GREATEST_LOWER_BOUND=1,t.LEAST_UPPER_BOUND=2,t.search=function(e,r,n,i){if(0===r.length)return-1;var o=function e(r,n,i,o,s,a){var l=Math.floor((n-r)/2)+r,c=s(i,o[l],!0);return 0===c?l:c>0?n-l>1?e(l,n,i,o,s,a):a==t.LEAST_UPPER_BOUND?n1?e(r,l,i,o,s,a):a==t.LEAST_UPPER_BOUND?l:r<0?-1:r}(-1,r.length,e,r,n,i||t.GREATEST_LOWER_BOUND);if(o<0)return-1;for(;o-1>=0&&0===n(r[o],r[o-1],!0);)--o;return o}},32384:(e,t,r)=>{var n=r(23402);function i(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}i.prototype.unsortedForEach=function(e,t){this._array.forEach(e,t)},i.prototype.add=function(e){var t,r,i,o,s,a;t=this._last,r=e,i=t.generatedLine,o=r.generatedLine,s=t.generatedColumn,a=r.generatedColumn,o>i||o==i&&a>=s||n.compareByGeneratedPositionsInflated(t,r)<=0?(this._last=e,this._array.push(e)):(this._sorted=!1,this._array.push(e))},i.prototype.toArray=function(){return this._sorted||(this._array.sort(n.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},t.H=i},93874:(e,t)=>{function r(e){function t(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}return function e(r,n,i,o){if(i{var n=r(23402),i=r(37268),o=r(11182).I,s=r(53570),a=r(93874).U;function l(e,t){var r=e;return"string"==typeof e&&(r=n.parseSourceMapInput(e)),null!=r.sections?new d(r,t):new c(r,t)}function c(e,t){var r=e;"string"==typeof e&&(r=n.parseSourceMapInput(e));var i=n.getArg(r,"version"),s=n.getArg(r,"sources"),a=n.getArg(r,"names",[]),l=n.getArg(r,"sourceRoot",null),c=n.getArg(r,"sourcesContent",null),u=n.getArg(r,"mappings"),p=n.getArg(r,"file",null);if(i!=this._version)throw new Error("Unsupported version: "+i);l&&(l=n.normalize(l)),s=s.map(String).map(n.normalize).map((function(e){return l&&n.isAbsolute(l)&&n.isAbsolute(e)?n.relative(l,e):e})),this._names=o.fromArray(a.map(String),!0),this._sources=o.fromArray(s,!0),this._absoluteSources=this._sources.toArray().map((function(e){return n.computeSourceURL(l,e,t)})),this.sourceRoot=l,this.sourcesContent=c,this._mappings=u,this._sourceMapURL=t,this.file=p}function u(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}l.fromSourceMap=function(e,t){return c.fromSourceMap(e,t)},l.prototype._version=3,l.prototype.__generatedMappings=null,Object.defineProperty(l.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}}),l.prototype.__originalMappings=null,Object.defineProperty(l.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}}),l.prototype._charIsMappingSeparator=function(e,t){var r=e.charAt(t);return";"===r||","===r},l.prototype._parseMappings=function(e,t){throw new Error("Subclasses must implement _parseMappings")},l.GENERATED_ORDER=1,l.ORIGINAL_ORDER=2,l.GREATEST_LOWER_BOUND=1,l.LEAST_UPPER_BOUND=2,l.prototype.eachMapping=function(e,t,r){var i,o=t||null;switch(r||l.GENERATED_ORDER){case l.GENERATED_ORDER:i=this._generatedMappings;break;case l.ORIGINAL_ORDER:i=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var s=this.sourceRoot;i.map((function(e){var t=null===e.source?null:this._sources.at(e.source);return{source:t=n.computeSourceURL(s,t,this._sourceMapURL),generatedLine:e.generatedLine,generatedColumn:e.generatedColumn,originalLine:e.originalLine,originalColumn:e.originalColumn,name:null===e.name?null:this._names.at(e.name)}}),this).forEach(e,o)},l.prototype.allGeneratedPositionsFor=function(e){var t=n.getArg(e,"line"),r={source:n.getArg(e,"source"),originalLine:t,originalColumn:n.getArg(e,"column",0)};if(r.source=this._findSourceIndex(r.source),r.source<0)return[];var o=[],s=this._findMapping(r,this._originalMappings,"originalLine","originalColumn",n.compareByOriginalPositions,i.LEAST_UPPER_BOUND);if(s>=0){var a=this._originalMappings[s];if(void 0===e.column)for(var l=a.originalLine;a&&a.originalLine===l;)o.push({line:n.getArg(a,"generatedLine",null),column:n.getArg(a,"generatedColumn",null),lastColumn:n.getArg(a,"lastGeneratedColumn",null)}),a=this._originalMappings[++s];else for(var c=a.originalColumn;a&&a.originalLine===t&&a.originalColumn==c;)o.push({line:n.getArg(a,"generatedLine",null),column:n.getArg(a,"generatedColumn",null),lastColumn:n.getArg(a,"lastGeneratedColumn",null)}),a=this._originalMappings[++s]}return o},t.SourceMapConsumer=l,c.prototype=Object.create(l.prototype),c.prototype.consumer=l,c.prototype._findSourceIndex=function(e){var t,r=e;if(null!=this.sourceRoot&&(r=n.relative(this.sourceRoot,r)),this._sources.has(r))return this._sources.indexOf(r);for(t=0;t0&&(e[t]=n,e[t+1]=r)}else if(n<20)for(let n=t;nt;r--){let t=e[r-1],n=e[r];if(p(t,n)<=0)break;e[r-1]=n,e[r]=t}else a(e,p,t)}function d(e,t){var r=e;"string"==typeof e&&(r=n.parseSourceMapInput(e));var i=n.getArg(r,"version"),s=n.getArg(r,"sections");if(i!=this._version)throw new Error("Unsupported version: "+i);this._sources=new o,this._names=new o;var a={line:-1,column:0};this._sections=s.map((function(e){if(e.url)throw new Error("Support for url field in sections not implemented.");var r=n.getArg(e,"offset"),i=n.getArg(r,"line"),o=n.getArg(r,"column");if(i1&&(r.source=g+i[1],g+=i[1],r.originalLine=d+i[2],d=r.originalLine,r.originalLine+=1,r.originalColumn=f+i[3],f=r.originalColumn,i.length>4&&(r.name=m+i[4],m+=i[4])),_.push(r),"number"==typeof r.originalLine){let e=r.source;for(;w.length<=e;)w.push(null);null===w[e]&&(w[e]=[]),w[e].push(r)}}h(_,x),this.__generatedMappings=_;for(var k=0;k=0){var i=this._generatedMappings[r];if(i.generatedLine===t.generatedLine){var o=n.getArg(i,"source",null);null!==o&&(o=this._sources.at(o),o=n.computeSourceURL(this.sourceRoot,o,this._sourceMapURL));var s=n.getArg(i,"name",null);return null!==s&&(s=this._names.at(s)),{source:o,line:n.getArg(i,"originalLine",null),column:n.getArg(i,"originalColumn",null),name:s}}}return{source:null,line:null,column:null,name:null}},c.prototype.hasContentsOfAllSources=function(){return!!this.sourcesContent&&(this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some((function(e){return null==e})))},c.prototype.sourceContentFor=function(e,t){if(!this.sourcesContent)return null;var r=this._findSourceIndex(e);if(r>=0)return this.sourcesContent[r];var i,o=e;if(null!=this.sourceRoot&&(o=n.relative(this.sourceRoot,o)),null!=this.sourceRoot&&(i=n.urlParse(this.sourceRoot))){var s=o.replace(/^file:\/\//,"");if("file"==i.scheme&&this._sources.has(s))return this.sourcesContent[this._sources.indexOf(s)];if((!i.path||"/"==i.path)&&this._sources.has("/"+o))return this.sourcesContent[this._sources.indexOf("/"+o)]}if(t)return null;throw new Error('"'+o+'" is not in the SourceMap.')},c.prototype.generatedPositionFor=function(e){var t=n.getArg(e,"source");if((t=this._findSourceIndex(t))<0)return{line:null,column:null,lastColumn:null};var r={source:t,originalLine:n.getArg(e,"line"),originalColumn:n.getArg(e,"column")},i=this._findMapping(r,this._originalMappings,"originalLine","originalColumn",n.compareByOriginalPositions,n.getArg(e,"bias",l.GREATEST_LOWER_BOUND));if(i>=0){var o=this._originalMappings[i];if(o.source===r.source)return{line:n.getArg(o,"generatedLine",null),column:n.getArg(o,"generatedColumn",null),lastColumn:n.getArg(o,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},d.prototype=Object.create(l.prototype),d.prototype.constructor=l,d.prototype._version=3,Object.defineProperty(d.prototype,"sources",{get:function(){for(var e=[],t=0;t{var n=r(53570),i=r(23402),o=r(11182).I,s=r(32384).H;function a(e){e||(e={}),this._file=i.getArg(e,"file",null),this._sourceRoot=i.getArg(e,"sourceRoot",null),this._skipValidation=i.getArg(e,"skipValidation",!1),this._sources=new o,this._names=new o,this._mappings=new s,this._sourcesContents=null}a.prototype._version=3,a.fromSourceMap=function(e){var t=e.sourceRoot,r=new a({file:e.file,sourceRoot:t});return e.eachMapping((function(e){var n={generated:{line:e.generatedLine,column:e.generatedColumn}};null!=e.source&&(n.source=e.source,null!=t&&(n.source=i.relative(t,n.source)),n.original={line:e.originalLine,column:e.originalColumn},null!=e.name&&(n.name=e.name)),r.addMapping(n)})),e.sources.forEach((function(n){var o=n;null!==t&&(o=i.relative(t,n)),r._sources.has(o)||r._sources.add(o);var s=e.sourceContentFor(n);null!=s&&r.setSourceContent(n,s)})),r},a.prototype.addMapping=function(e){var t=i.getArg(e,"generated"),r=i.getArg(e,"original",null),n=i.getArg(e,"source",null),o=i.getArg(e,"name",null);this._skipValidation||this._validateMapping(t,r,n,o),null!=n&&(n=String(n),this._sources.has(n)||this._sources.add(n)),null!=o&&(o=String(o),this._names.has(o)||this._names.add(o)),this._mappings.add({generatedLine:t.line,generatedColumn:t.column,originalLine:null!=r&&r.line,originalColumn:null!=r&&r.column,source:n,name:o})},a.prototype.setSourceContent=function(e,t){var r=e;null!=this._sourceRoot&&(r=i.relative(this._sourceRoot,r)),null!=t?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[i.toSetString(r)]=t):this._sourcesContents&&(delete this._sourcesContents[i.toSetString(r)],0===Object.keys(this._sourcesContents).length&&(this._sourcesContents=null))},a.prototype.applySourceMap=function(e,t,r){var n=t;if(null==t){if(null==e.file)throw new Error('SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map\'s "file" property. Both were omitted.');n=e.file}var s=this._sourceRoot;null!=s&&(n=i.relative(s,n));var a=new o,l=new o;this._mappings.unsortedForEach((function(t){if(t.source===n&&null!=t.originalLine){var o=e.originalPositionFor({line:t.originalLine,column:t.originalColumn});null!=o.source&&(t.source=o.source,null!=r&&(t.source=i.join(r,t.source)),null!=s&&(t.source=i.relative(s,t.source)),t.originalLine=o.line,t.originalColumn=o.column,null!=o.name&&(t.name=o.name))}var c=t.source;null==c||a.has(c)||a.add(c);var u=t.name;null==u||l.has(u)||l.add(u)}),this),this._sources=a,this._names=l,e.sources.forEach((function(t){var n=e.sourceContentFor(t);null!=n&&(null!=r&&(t=i.join(r,t)),null!=s&&(t=i.relative(s,t)),this.setSourceContent(t,n))}),this)},a.prototype._validateMapping=function(e,t,r,n){if(t&&"number"!=typeof t.line&&"number"!=typeof t.column)throw new Error("original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.");if((!(e&&"line"in e&&"column"in e&&e.line>0&&e.column>=0)||t||r||n)&&!(e&&"line"in e&&"column"in e&&t&&"line"in t&&"column"in t&&e.line>0&&e.column>=0&&t.line>0&&t.column>=0&&r))throw new Error("Invalid mapping: "+JSON.stringify({generated:e,source:r,original:t,name:n}))},a.prototype._serializeMappings=function(){for(var e,t,r,o,s=0,a=1,l=0,c=0,u=0,p=0,h="",d=this._mappings.toArray(),f=0,g=d.length;f0){if(!i.compareByGeneratedPositionsInflated(t,d[f-1]))continue;e+=","}e+=n.encode(t.generatedColumn-s),s=t.generatedColumn,null!=t.source&&(o=this._sources.indexOf(t.source),e+=n.encode(o-p),p=o,e+=n.encode(t.originalLine-1-c),c=t.originalLine-1,e+=n.encode(t.originalColumn-l),l=t.originalColumn,null!=t.name&&(r=this._names.indexOf(t.name),e+=n.encode(r-u),u=r)),h+=e}return h},a.prototype._generateSourcesContent=function(e,t){return e.map((function(e){if(!this._sourcesContents)return null;null!=t&&(e=i.relative(t,e));var r=i.toSetString(e);return Object.prototype.hasOwnProperty.call(this._sourcesContents,r)?this._sourcesContents[r]:null}),this)},a.prototype.toJSON=function(){var e={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return null!=this._file&&(e.file=this._file),null!=this._sourceRoot&&(e.sourceRoot=this._sourceRoot),this._sourcesContents&&(e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)),e},a.prototype.toString=function(){return JSON.stringify(this.toJSON())},t.SourceMapGenerator=a},95087:(e,t,r)=>{var n=r(41819).SourceMapGenerator,i=r(23402),o=/(\r?\n)/,s="$$$isSourceNode$$$";function a(e,t,r,n,i){this.children=[],this.sourceContents={},this.line=null==e?null:e,this.column=null==t?null:t,this.source=null==r?null:r,this.name=null==i?null:i,this[s]=!0,null!=n&&this.add(n)}a.fromStringWithSourceMap=function(e,t,r){var n=new a,s=e.split(o),l=0,c=function(){return e()+(e()||"");function e(){return l=0;t--)this.prepend(e[t]);else{if(!e[s]&&"string"!=typeof e)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);this.children.unshift(e)}return this},a.prototype.walk=function(e){for(var t,r=0,n=this.children.length;r0){for(t=[],r=0;r{t.getArg=function(e,t,r){if(t in e)return e[t];if(3===arguments.length)return r;throw new Error('"'+t+'" is a required argument.')};var r=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,n=/^data:.+\,.+$/;function i(e){var t=e.match(r);return t?{scheme:t[1],auth:t[2],host:t[3],port:t[4],path:t[5]}:null}function o(e){var t="";return e.scheme&&(t+=e.scheme+":"),t+="//",e.auth&&(t+=e.auth+"@"),e.host&&(t+=e.host),e.port&&(t+=":"+e.port),e.path&&(t+=e.path),t}t.urlParse=i,t.urlGenerate=o;var s,a,l=(s=function(e){var r=e,n=i(e);if(n){if(!n.path)return e;r=n.path}for(var s=t.isAbsolute(r),a=[],l=0,c=0;;){if(l=c,-1===(c=r.indexOf("/",l))){a.push(r.slice(l));break}for(a.push(r.slice(l,c));c=0;c--)"."===(u=a[c])?a.splice(c,1):".."===u?p++:p>0&&(""===u?(a.splice(c+1,p),p=0):(a.splice(c,2),p--));return""===(r=a.join("/"))&&(r=s?"/":"."),n?(n.path=r,o(n)):r},a=[],function(e){for(var t=0;t32&&a.pop(),n});function c(e,t){""===e&&(e="."),""===t&&(t=".");var r=i(t),s=i(e);if(s&&(e=s.path||"/"),r&&!r.scheme)return s&&(r.scheme=s.scheme),o(r);if(r||t.match(n))return t;if(s&&!s.host&&!s.path)return s.host=t,o(s);var a="/"===t.charAt(0)?t:l(e.replace(/\/+$/,"")+"/"+t);return s?(s.path=a,o(s)):a}t.normalize=l,t.join=c,t.isAbsolute=function(e){return"/"===e.charAt(0)||r.test(e)},t.relative=function(e,t){""===e&&(e="."),e=e.replace(/\/$/,"");for(var r=0;0!==t.indexOf(e+"/");){var n=e.lastIndexOf("/");if(n<0)return t;if((e=e.slice(0,n)).match(/^([^\/]+:\/)?\/*$/))return t;++r}return Array(r+1).join("../")+t.substr(e.length+1)};var u=!("__proto__"in Object.create(null));function p(e){return e}function h(e){if(!e)return!1;var t=e.length;if(t<9)return!1;if(95!==e.charCodeAt(t-1)||95!==e.charCodeAt(t-2)||111!==e.charCodeAt(t-3)||116!==e.charCodeAt(t-4)||111!==e.charCodeAt(t-5)||114!==e.charCodeAt(t-6)||112!==e.charCodeAt(t-7)||95!==e.charCodeAt(t-8)||95!==e.charCodeAt(t-9))return!1;for(var r=t-10;r>=0;r--)if(36!==e.charCodeAt(r))return!1;return!0}function d(e,t){return e===t?0:null===e?1:null===t?-1:e>t?1:-1}t.toSetString=u?p:function(e){return h(e)?"$"+e:e},t.fromSetString=u?p:function(e){return h(e)?e.slice(1):e},t.compareByOriginalPositions=function(e,t,r){var n=d(e.source,t.source);return 0!==n||0!==(n=e.originalLine-t.originalLine)||0!==(n=e.originalColumn-t.originalColumn)||r||0!==(n=e.generatedColumn-t.generatedColumn)||0!==(n=e.generatedLine-t.generatedLine)?n:d(e.name,t.name)},t.compareByOriginalPositionsNoSource=function(e,t,r){var n;return 0!==(n=e.originalLine-t.originalLine)||0!==(n=e.originalColumn-t.originalColumn)||r||0!==(n=e.generatedColumn-t.generatedColumn)||0!==(n=e.generatedLine-t.generatedLine)?n:d(e.name,t.name)},t.compareByGeneratedPositionsDeflated=function(e,t,r){var n=e.generatedLine-t.generatedLine;return 0!==n||0!==(n=e.generatedColumn-t.generatedColumn)||r||0!==(n=d(e.source,t.source))||0!==(n=e.originalLine-t.originalLine)||0!==(n=e.originalColumn-t.originalColumn)?n:d(e.name,t.name)},t.compareByGeneratedPositionsDeflatedNoLine=function(e,t,r){var n=e.generatedColumn-t.generatedColumn;return 0!==n||r||0!==(n=d(e.source,t.source))||0!==(n=e.originalLine-t.originalLine)||0!==(n=e.originalColumn-t.originalColumn)?n:d(e.name,t.name)},t.compareByGeneratedPositionsInflated=function(e,t){var r=e.generatedLine-t.generatedLine;return 0!==r||0!==(r=e.generatedColumn-t.generatedColumn)||0!==(r=d(e.source,t.source))||0!==(r=e.originalLine-t.originalLine)||0!==(r=e.originalColumn-t.originalColumn)?r:d(e.name,t.name)},t.parseSourceMapInput=function(e){return JSON.parse(e.replace(/^\)]}'[^\n]*\n/,""))},t.computeSourceURL=function(e,t,r){if(t=t||"",e&&("/"!==e[e.length-1]&&"/"!==t[0]&&(e+="/"),t=e+t),r){var n=i(r);if(!n)throw new Error("sourceMapURL could not be parsed");if(n.path){var s=n.path.lastIndexOf("/");s>=0&&(n.path=n.path.substring(0,s+1))}t=c(o(n),t)}return l(t)}},5169:(e,t,r)=>{t.SourceMapGenerator=r(41819).SourceMapGenerator,t.SourceMapConsumer=r(46691).SourceMapConsumer,t.SourceNode=r(95087).SourceNode},95971:(e,t)=>{function r(e){for(var t in e)this[t]=e[t]}t.get=function(e){var r=Error.stackTraceLimit;Error.stackTraceLimit=1/0;var n={},i=Error.prepareStackTrace;Error.prepareStackTrace=function(e,t){return t},Error.captureStackTrace(n,e||t.get);var o=n.stack;return Error.prepareStackTrace=i,Error.stackTraceLimit=r,o},t.parse=function(e){if(!e.stack)return[];var t=this;return e.stack.split("\n").slice(1).map((function(e){if(e.match(/^\s*[-]{4,}$/))return t._createParsedCallSite({fileName:e,lineNumber:null,functionName:null,typeName:null,methodName:null,columnNumber:null,native:null});var r=e.match(/at (?:(.+)\s+\()?(?:(.+?):(\d+)(?::(\d+))?|([^)]+))\)?/);if(r){var n=null,i=null,o=null,s=null,a=null,l="native"===r[5];if(r[1]){var c=(o=r[1]).lastIndexOf(".");if("."==o[c-1]&&c--,c>0){n=o.substr(0,c),i=o.substr(c+1);var u=n.indexOf(".Module");u>0&&(o=o.substr(u+1),n=n.substr(0,u))}s=null}i&&(s=n,a=i),""===i&&(a=null,o=null);var p={fileName:r[2]||null,lineNumber:parseInt(r[3],10)||null,functionName:o,typeName:s,methodName:a,columnNumber:parseInt(r[4],10)||null,native:l};return t._createParsedCallSite(p)}})).filter((function(e){return!!e}))};["this","typeName","functionName","methodName","fileName","lineNumber","columnNumber","function","evalOrigin"].forEach((function(e){r.prototype[e]=null,r.prototype["get"+e[0].toUpperCase()+e.substr(1)]=function(){return this[e]}})),["topLevel","eval","native","constructor"].forEach((function(e){r.prototype[e]=!1,r.prototype["is"+e[0].toUpperCase()+e.substr(1)]=function(){return this[e]}})),t._createParsedCallSite=function(e){return new r(e)}},3755:(e,t,r)=>{"use strict";const n=r(88764),i=r(14938),o=r(90299).Z;e.exports=(e,t,r)=>{const s=[];return function e(t,r,a){let l;(r=r||{}).indent=r.indent||"\t",a=a||"",l=void 0===r.inlineCharacterLimit?{newLine:"\n",newLineOrSpace:"\n",pad:a,indent:a+r.indent}:{newLine:"@@__STRINGIFY_OBJECT_NEW_LINE__@@",newLineOrSpace:"@@__STRINGIFY_OBJECT_NEW_LINE_OR_SPACE__@@",pad:"@@__STRINGIFY_OBJECT_PAD__@@",indent:"@@__STRINGIFY_OBJECT_INDENT__@@"};const c=e=>{if(void 0===r.inlineCharacterLimit)return e;const t=e.replace(new RegExp(l.newLine,"g"),"").replace(new RegExp(l.newLineOrSpace,"g")," ").replace(new RegExp(l.pad+"|"+l.indent,"g"),"");return t.length<=r.inlineCharacterLimit?t:e.replace(new RegExp(l.newLine+"|"+l.newLineOrSpace,"g"),"\n").replace(new RegExp(l.pad,"g"),a).replace(new RegExp(l.indent,"g"),a+r.indent)};if(-1!==s.indexOf(t))return'"[Circular]"';if(null==t||"number"==typeof t||"boolean"==typeof t||"function"==typeof t||"symbol"==typeof t||n(t))return String(t);if(t instanceof Date)return`new Date('${t.toISOString()}')`;if(Array.isArray(t)){if(0===t.length)return"[]";s.push(t);const n="["+l.newLine+t.map((n,i)=>{const o=t.length-1===i?l.newLine:","+l.newLineOrSpace;let s=e(n,r,a+r.indent);return r.transform&&(s=r.transform(t,i,s)),l.indent+s+o}).join("")+l.pad+"]";return s.pop(),c(n)}if(i(t)){let n=Object.keys(t).concat(o(t));if(r.filter&&(n=n.filter(e=>r.filter(t,e))),0===n.length)return"{}";s.push(t);const i="{"+l.newLine+n.map((i,o)=>{const s=n.length-1===o?l.newLine:","+l.newLineOrSpace,c="symbol"==typeof i,u=!c&&/^[a-z$_][a-z$_0-9]*$/i.test(i),p=c||u?i:e(i,r);let h=e(t[i],r,a+r.indent);return r.transform&&(h=r.transform(t,i,h)),l.indent+String(p)+": "+h+s}).join("")+l.pad+"}";return s.pop(),c(i)}return t=String(t).replace(/[\r\n]/g,e=>"\n"===e?"\\n":"\\r"),!1===r.singleQuotes?`"${t=t.replace(/"/g,'\\"')}"`:`'${t=t.replace(/\\?'/g,"\\'")}'`}(e,t,r)}},28106:(e,t,r)=>{"use strict";const n=r(12087),i=r(33867),o=r(58379),{env:s}=process;let a;function l(e){return 0!==e&&{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function c(e,t){if(0===a)return 0;if(o("color=16m")||o("color=full")||o("color=truecolor"))return 3;if(o("color=256"))return 2;if(e&&!t&&void 0===a)return 0;const r=a||0;if("dumb"===s.TERM)return r;if("win32"===process.platform){const e=n.release().split(".");return Number(e[0])>=10&&Number(e[2])>=10586?Number(e[2])>=14931?3:2:1}if("CI"in s)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some(e=>e in s)||"codeship"===s.CI_NAME?1:r;if("TEAMCITY_VERSION"in s)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(s.TEAMCITY_VERSION)?1:0;if("truecolor"===s.COLORTERM)return 3;if("TERM_PROGRAM"in s){const e=parseInt((s.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(s.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(s.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(s.TERM)||"COLORTERM"in s?1:r}o("no-color")||o("no-colors")||o("color=false")||o("color=never")?a=0:(o("color")||o("colors")||o("color=true")||o("color=always"))&&(a=1),"FORCE_COLOR"in s&&(a="true"===s.FORCE_COLOR?1:"false"===s.FORCE_COLOR?0:0===s.FORCE_COLOR.length?1:Math.min(parseInt(s.FORCE_COLOR,10),3)),e.exports={supportsColor:function(e){return l(c(e,e&&e.isTTY))},stdout:l(c(!0,i.isatty(1))),stderr:l(c(!0,i.isatty(2)))}},32600:(e,t,r)=>{let n=r(77574);e.exports=(n.__esModule?n:{default:n}).default},64855:(e,t,r)=>{let n=r(49907);e.exports=(n.__esModule?n:{default:n}).default},28230:(e,t,r)=>{let n=r(3375);e.exports=(n.__esModule?n:{default:n}).default},46600:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default=["preflight","container","accessibility","pointerEvents","visibility","position","inset","isolation","zIndex","order","gridColumn","gridColumnStart","gridColumnEnd","gridRow","gridRowStart","gridRowEnd","float","clear","margin","boxSizing","display","aspectRatio","height","maxHeight","minHeight","width","minWidth","maxWidth","flex","flexShrink","flexGrow","flexBasis","tableLayout","borderCollapse","transformOrigin","translate","rotate","skew","scale","transform","animation","cursor","touchAction","userSelect","resize","scrollSnapType","scrollSnapAlign","scrollSnapStop","scrollMargin","scrollPadding","listStylePosition","listStyleType","appearance","columns","breakBefore","breakInside","breakAfter","gridAutoColumns","gridAutoFlow","gridAutoRows","gridTemplateColumns","gridTemplateRows","flexDirection","flexWrap","placeContent","placeItems","alignContent","alignItems","justifyContent","justifyItems","gap","space","divideWidth","divideStyle","divideColor","divideOpacity","placeSelf","alignSelf","justifySelf","overflow","overscrollBehavior","scrollBehavior","textOverflow","whitespace","wordBreak","borderRadius","borderWidth","borderStyle","borderColor","borderOpacity","backgroundColor","backgroundOpacity","backgroundImage","gradientColorStops","boxDecorationBreak","backgroundSize","backgroundAttachment","backgroundClip","backgroundPosition","backgroundRepeat","backgroundOrigin","fill","stroke","strokeWidth","objectFit","objectPosition","padding","textAlign","textIndent","verticalAlign","fontFamily","fontSize","fontWeight","textTransform","fontStyle","fontVariantNumeric","lineHeight","letterSpacing","textColor","textOpacity","textDecoration","textDecorationColor","textDecorationStyle","textDecorationThickness","textUnderlineOffset","fontSmoothing","placeholderColor","placeholderOpacity","caretColor","accentColor","opacity","backgroundBlendMode","mixBlendMode","boxShadow","boxShadowColor","outlineStyle","outlineWidth","outlineOffset","outlineColor","ringWidth","ringColor","ringOpacity","ringOffsetWidth","ringOffsetColor","blur","brightness","contrast","dropShadow","grayscale","hueRotate","invert","saturate","sepia","filter","backdropBlur","backdropBrightness","backdropContrast","backdropGrayscale","backdropHueRotate","backdropInvert","backdropOpacity","backdropSaturate","backdropSepia","backdropFilter","transitionProperty","transitionDelay","transitionDuration","transitionTimingFunction","willChange","content"]},68361:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.corePlugins=t.variantPlugins=void 0;var n=y(r(35747)),i=b(r(85622)),o=y(r(44633)),s=y(r(40400)),a=y(r(11384)),l=y(r(9531)),c=y(r(86271)),u=b(r(53441)),p=y(r(52711)),h=y(r(70270)),d=y(r(93674)),f=r(43581),g=y(r(72962)),m=r(92285),v=r(51389);function y(e){return e&&e.__esModule?e:{default:e}}function b(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};n.get||n.set?Object.defineProperty(t,r,n):t[r]=e[r]}return t.default=e,t}let w={pseudoElementVariants:({addVariant:e})=>{e("first-letter","&::first-letter"),e("first-line","&::first-line"),e("marker",["& *::marker","&::marker"]),e("selection",["& *::selection","&::selection"]),e("file","&::file-selector-button"),e("placeholder","&::placeholder"),e("before",({container:e})=>(e.walkRules(e=>{let t=!1;e.walkDecls("content",()=>{t=!0}),t||e.prepend(o.default.decl({prop:"content",value:"var(--tw-content)"}))}),"&::before")),e("after",({container:e})=>(e.walkRules(e=>{let t=!1;e.walkDecls("content",()=>{t=!0}),t||e.prepend(o.default.decl({prop:"content",value:"var(--tw-content)"}))}),"&::after"))},pseudoClassVariants:({addVariant:e})=>{let t=[["first",":first-child"],["last",":last-child"],["only",":only-child"],["odd",":nth-child(odd)"],["even",":nth-child(even)"],"first-of-type","last-of-type","only-of-type","visited","target",["open","[open]"],"default","checked","indeterminate","placeholder-shown","autofill","required","valid","invalid","in-range","out-of-range","read-only","empty","focus-within","hover","focus","focus-visible","active","disabled"].map(e=>Array.isArray(e)?e:[e,":"+e]);for(let[r,n]of t)e(r,"&"+n);for(let[r,n]of t)e("group-"+r,`:merge(.group)${n} &`);for(let[r,n]of t)e("peer-"+r,`:merge(.peer)${n} ~ &`)},directionVariants:({addVariant:e})=>{e("ltr",()=>(g.default.warn("rtl-experimental",["The RTL features in Tailwind CSS are currently in preview.","Preview features are not covered by semver, and may be improved in breaking ways at any time."]),'[dir="ltr"] &')),e("rtl",()=>(g.default.warn("rtl-experimental",["The RTL features in Tailwind CSS are currently in preview.","Preview features are not covered by semver, and may be improved in breaking ways at any time."]),'[dir="rtl"] &'))},reducedMotionVariants:({addVariant:e})=>{e("motion-safe","@media (prefers-reduced-motion: no-preference)"),e("motion-reduce","@media (prefers-reduced-motion: reduce)")},darkVariants:({config:e,addVariant:t})=>{let r=e("darkMode","media");!1===r&&(r="media",g.default.warn("darkmode-false",["The `darkMode` option in your Tailwind CSS configuration is set to `false`, which now behaves the same as `media`.","Change `darkMode` to `media` or remove it entirely."])),"class"===r?t("dark",".dark &"):"media"===r&&t("dark","@media (prefers-color-scheme: dark)")},printVariant:({addVariant:e})=>{e("print","@media print")},screenVariants:({theme:e,addVariant:t})=>{for(let r of m.normalizeScreens(e("screens"))){let e=a.default(r);t(r.name,"@media "+e)}},orientationVariants:({addVariant:e})=>{e("portrait","@media (orientation: portrait)"),e("landscape","@media (orientation: landscape)")}};t.variantPlugins=w;let _={preflight:({addBase:e})=>{let t=o.default.parse(n.default.readFileSync(i.join(__dirname,"./css/preflight.css"),"utf8"));e([o.default.comment({text:`! tailwindcss v${f.version} | MIT License | https://tailwindcss.com`}),...t.nodes])},container:function({addComponents:e,theme:t}){let r=m.normalizeScreens(t("container.screens",t("screens"))),n=function(e=[]){return e.flatMap(e=>e.values.map(e=>e.min)).filter(e=>void 0!==e)}(r),i=function(e,t,r){if(void 0===r)return[];if("object"!=typeof r||null===r)return[{screen:"DEFAULT",minWidth:0,padding:r}];let n=[];r.DEFAULT&&n.push({screen:"DEFAULT",minWidth:0,padding:r.DEFAULT});for(let i of e)for(let e of t)for(let{min:t}of e.values)t===i&&n.push({minWidth:i,padding:r[e.name]});return n}(n,r,t("container.padding")),o=e=>{let t=i.find(t=>t.minWidth===e);return t?{paddingRight:t.padding,paddingLeft:t.padding}:{}},s=Array.from(new Set(n.slice().sort((e,t)=>parseInt(e)-parseInt(t)))).map(e=>({[`@media (min-width: ${e})`]:{".container":{"max-width":e,...o(e)}}}));e([{".container":Object.assign({width:"100%"},t("container.center",!1)?{marginRight:"auto",marginLeft:"auto"}:{},o(0))},...s])},accessibility:({addUtilities:e})=>{e({".sr-only":{position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0"},".not-sr-only":{position:"static",width:"auto",height:"auto",padding:"0",margin:"0",overflow:"visible",clip:"auto",whiteSpace:"normal"}})},pointerEvents:({addUtilities:e})=>{e({".pointer-events-none":{"pointer-events":"none"},".pointer-events-auto":{"pointer-events":"auto"}})},visibility:({addUtilities:e})=>{e({".visible":{visibility:"visible"},".invisible":{visibility:"hidden"}})},position:({addUtilities:e})=>{e({".static":{position:"static"},".fixed":{position:"fixed"},".absolute":{position:"absolute"},".relative":{position:"relative"},".sticky":{position:"sticky"}})},inset:s.default("inset",[["inset",["top","right","bottom","left"]],[["inset-x",["left","right"]],["inset-y",["top","bottom"]]],[["top",["top"]],["right",["right"]],["bottom",["bottom"]],["left",["left"]]]],{supportsNegativeValues:!0}),isolation:({addUtilities:e})=>{e({".isolate":{isolation:"isolate"},".isolation-auto":{isolation:"auto"}})},zIndex:s.default("zIndex",[["z",["zIndex"]]],{supportsNegativeValues:!0}),order:s.default("order",void 0,{supportsNegativeValues:!0}),gridColumn:s.default("gridColumn",[["col",["gridColumn"]]]),gridColumnStart:s.default("gridColumnStart",[["col-start",["gridColumnStart"]]]),gridColumnEnd:s.default("gridColumnEnd",[["col-end",["gridColumnEnd"]]]),gridRow:s.default("gridRow",[["row",["gridRow"]]]),gridRowStart:s.default("gridRowStart",[["row-start",["gridRowStart"]]]),gridRowEnd:s.default("gridRowEnd",[["row-end",["gridRowEnd"]]]),float:({addUtilities:e})=>{e({".float-right":{float:"right"},".float-left":{float:"left"},".float-none":{float:"none"}})},clear:({addUtilities:e})=>{e({".clear-left":{clear:"left"},".clear-right":{clear:"right"},".clear-both":{clear:"both"},".clear-none":{clear:"none"}})},margin:s.default("margin",[["m",["margin"]],[["mx",["margin-left","margin-right"]],["my",["margin-top","margin-bottom"]]],[["mt",["margin-top"]],["mr",["margin-right"]],["mb",["margin-bottom"]],["ml",["margin-left"]]]],{supportsNegativeValues:!0}),boxSizing:({addUtilities:e})=>{e({".box-border":{"box-sizing":"border-box"},".box-content":{"box-sizing":"content-box"}})},display:({addUtilities:e})=>{e({".block":{display:"block"},".inline-block":{display:"inline-block"},".inline":{display:"inline"},".flex":{display:"flex"},".inline-flex":{display:"inline-flex"},".table":{display:"table"},".inline-table":{display:"inline-table"},".table-caption":{display:"table-caption"},".table-cell":{display:"table-cell"},".table-column":{display:"table-column"},".table-column-group":{display:"table-column-group"},".table-footer-group":{display:"table-footer-group"},".table-header-group":{display:"table-header-group"},".table-row-group":{display:"table-row-group"},".table-row":{display:"table-row"},".flow-root":{display:"flow-root"},".grid":{display:"grid"},".inline-grid":{display:"inline-grid"},".contents":{display:"contents"},".list-item":{display:"list-item"},".hidden":{display:"none"}})},aspectRatio:s.default("aspectRatio",[["aspect",["aspect-ratio"]]]),height:s.default("height",[["h",["height"]]]),maxHeight:s.default("maxHeight",[["max-h",["maxHeight"]]]),minHeight:s.default("minHeight",[["min-h",["minHeight"]]]),width:s.default("width",[["w",["width"]]]),minWidth:s.default("minWidth",[["min-w",["minWidth"]]]),maxWidth:s.default("maxWidth",[["max-w",["maxWidth"]]]),flex:s.default("flex"),flexShrink:s.default("flexShrink",[["flex-shrink",["flex-shrink"]],["shrink",["flex-shrink"]]]),flexGrow:s.default("flexGrow",[["flex-grow",["flex-grow"]],["grow",["flex-grow"]]]),flexBasis:s.default("flexBasis",[["basis",["flex-basis"]]]),tableLayout:({addUtilities:e})=>{e({".table-auto":{"table-layout":"auto"},".table-fixed":{"table-layout":"fixed"}})},borderCollapse:({addUtilities:e})=>{e({".border-collapse":{"border-collapse":"collapse"},".border-separate":{"border-collapse":"separate"}})},transformOrigin:s.default("transformOrigin",[["origin",["transformOrigin"]]]),translate:s.default("translate",[[["translate-x",[["@defaults transform",{}],"--tw-translate-x",["transform","var(--tw-transform)"]]],["translate-y",[["@defaults transform",{}],"--tw-translate-y",["transform","var(--tw-transform)"]]]]],{supportsNegativeValues:!0}),rotate:s.default("rotate",[["rotate",[["@defaults transform",{}],"--tw-rotate",["transform","var(--tw-transform)"]]]],{supportsNegativeValues:!0}),skew:s.default("skew",[[["skew-x",[["@defaults transform",{}],"--tw-skew-x",["transform","var(--tw-transform)"]]],["skew-y",[["@defaults transform",{}],"--tw-skew-y",["transform","var(--tw-transform)"]]]]],{supportsNegativeValues:!0}),scale:s.default("scale",[["scale",[["@defaults transform",{}],"--tw-scale-x","--tw-scale-y",["transform","var(--tw-transform)"]]],[["scale-x",[["@defaults transform",{}],"--tw-scale-x",["transform","var(--tw-transform)"]]],["scale-y",[["@defaults transform",{}],"--tw-scale-y",["transform","var(--tw-transform)"]]]]],{supportsNegativeValues:!0}),transform:({addDefaults:e,addUtilities:t})=>{e("transform",{"--tw-translate-x":"0","--tw-translate-y":"0","--tw-rotate":"0","--tw-skew-x":"0","--tw-skew-y":"0","--tw-scale-x":"1","--tw-scale-y":"1","--tw-transform":["translateX(var(--tw-translate-x))","translateY(var(--tw-translate-y))","rotate(var(--tw-rotate))","skewX(var(--tw-skew-x))","skewY(var(--tw-skew-y))","scaleX(var(--tw-scale-x))","scaleY(var(--tw-scale-y))"].join(" ")}),t({".transform":{"@defaults transform":{},transform:"var(--tw-transform)"},".transform-cpu":{"--tw-transform":["translateX(var(--tw-translate-x))","translateY(var(--tw-translate-y))","rotate(var(--tw-rotate))","skewX(var(--tw-skew-x))","skewY(var(--tw-skew-y))","scaleX(var(--tw-scale-x))","scaleY(var(--tw-scale-y))"].join(" ")},".transform-gpu":{"--tw-transform":["translate3d(var(--tw-translate-x), var(--tw-translate-y), 0)","rotate(var(--tw-rotate))","skewX(var(--tw-skew-x))","skewY(var(--tw-skew-y))","scaleX(var(--tw-scale-x))","scaleY(var(--tw-scale-y))"].join(" ")},".transform-none":{transform:"none"}})},animation:({matchUtilities:e,theme:t,prefix:r})=>{let n=e=>r("."+e).slice(1);var i;let o=Object.fromEntries(Object.entries(null!==(i=t("keyframes"))&&void 0!==i?i:{}).map(([e,t])=>[e,{["@keyframes "+n(e)]:t}]));e({animate:e=>{let t=l.default(e);return[...t.flatMap(e=>o[e.name]),{animation:t.map(({name:e,value:t})=>void 0===e||void 0===o[e]?t:t.replace(e,n(e))).join(", ")}]}},{values:t("animation")})},cursor:s.default("cursor"),touchAction:({addDefaults:e,addUtilities:t})=>{e("touch-action",{"--tw-pan-x":"var(--tw-empty,/*!*/ /*!*/)","--tw-pan-y":"var(--tw-empty,/*!*/ /*!*/)","--tw-pinch-zoom":"var(--tw-empty,/*!*/ /*!*/)","--tw-touch-action":"var(--tw-pan-x) var(--tw-pan-y) var(--tw-pinch-zoom)"}),t({".touch-auto":{"touch-action":"auto"},".touch-none":{"touch-action":"none"},".touch-pan-x":{"@defaults touch-action":{},"--tw-pan-x":"pan-x","touch-action":"var(--tw-touch-action)"},".touch-pan-left":{"@defaults touch-action":{},"--tw-pan-x":"pan-left","touch-action":"var(--tw-touch-action)"},".touch-pan-right":{"@defaults touch-action":{},"--tw-pan-x":"pan-right","touch-action":"var(--tw-touch-action)"},".touch-pan-y":{"@defaults touch-action":{},"--tw-pan-y":"pan-y","touch-action":"var(--tw-touch-action)"},".touch-pan-up":{"@defaults touch-action":{},"--tw-pan-y":"pan-up","touch-action":"var(--tw-touch-action)"},".touch-pan-down":{"@defaults touch-action":{},"--tw-pan-y":"pan-down","touch-action":"var(--tw-touch-action)"},".touch-pinch-zoom":{"@defaults touch-action":{},"--tw-pinch-zoom":"pinch-zoom","touch-action":"var(--tw-touch-action)"},".touch-manipulation":{"touch-action":"manipulation"}})},userSelect:({addUtilities:e})=>{e({".select-none":{"user-select":"none"},".select-text":{"user-select":"text"},".select-all":{"user-select":"all"},".select-auto":{"user-select":"auto"}})},resize:({addUtilities:e})=>{e({".resize-none":{resize:"none"},".resize-y":{resize:"vertical"},".resize-x":{resize:"horizontal"},".resize":{resize:"both"}})},scrollSnapType:({addDefaults:e,addUtilities:t})=>{e("scroll-snap-type",{"--tw-scroll-snap-strictness":"proximity"}),t({".snap-none":{"scroll-snap-type":"none"},".snap-x":{"@defaults scroll-snap-type":{},"scroll-snap-type":"x var(--tw-scroll-snap-strictness)"},".snap-y":{"@defaults scroll-snap-type":{},"scroll-snap-type":"y var(--tw-scroll-snap-strictness)"},".snap-both":{"@defaults scroll-snap-type":{},"scroll-snap-type":"both var(--tw-scroll-snap-strictness)"},".snap-mandatory":{"--tw-scroll-snap-strictness":"mandatory"},".snap-proximity":{"--tw-scroll-snap-strictness":"proximity"}})},scrollSnapAlign:({addUtilities:e})=>{e({".snap-start":{"scroll-snap-align":"start"},".snap-end":{"scroll-snap-align":"end"},".snap-center":{"scroll-snap-align":"center"},".snap-align-none":{"scroll-snap-align":"none"}})},scrollSnapStop:({addUtilities:e})=>{e({".snap-normal":{"scroll-snap-stop":"normal"},".snap-always":{"scroll-snap-stop":"always"}})},scrollMargin:s.default("scrollMargin",[["scroll-m",["scroll-margin"]],[["scroll-mx",["scroll-margin-left","scroll-margin-right"]],["scroll-my",["scroll-margin-top","scroll-margin-bottom"]]],[["scroll-mt",["scroll-margin-top"]],["scroll-mr",["scroll-margin-right"]],["scroll-mb",["scroll-margin-bottom"]],["scroll-ml",["scroll-margin-left"]]]],{supportsNegativeValues:!0}),scrollPadding:s.default("scrollPadding",[["scroll-p",["scroll-padding"]],[["scroll-px",["scroll-padding-left","scroll-padding-right"]],["scroll-py",["scroll-padding-top","scroll-padding-bottom"]]],[["scroll-pt",["scroll-padding-top"]],["scroll-pr",["scroll-padding-right"]],["scroll-pb",["scroll-padding-bottom"]],["scroll-pl",["scroll-padding-left"]]]]),listStylePosition:({addUtilities:e})=>{e({".list-inside":{"list-style-position":"inside"},".list-outside":{"list-style-position":"outside"}})},listStyleType:s.default("listStyleType",[["list",["listStyleType"]]]),appearance:({addUtilities:e})=>{e({".appearance-none":{appearance:"none"}})},columns:s.default("columns",[["columns",["columns"]]]),breakBefore:({addUtilities:e})=>{e({".break-before-auto":{"break-before":"auto"},".break-before-avoid":{"break-before":"avoid"},".break-before-all":{"break-before":"all"},".break-before-avoid-page":{"break-before":"avoid-page"},".break-before-page":{"break-before":"page"},".break-before-left":{"break-before":"left"},".break-before-right":{"break-before":"right"},".break-before-column":{"break-before":"column"}})},breakInside:({addUtilities:e})=>{e({".break-inside-auto":{"break-inside":"auto"},".break-inside-avoid":{"break-inside":"avoid"},".break-inside-avoid-page":{"break-inside":"avoid-page"},".break-inside-avoid-column":{"break-inside":"avoid-column"}})},breakAfter:({addUtilities:e})=>{e({".break-after-auto":{"break-after":"auto"},".break-after-avoid":{"break-after":"avoid"},".break-after-all":{"break-after":"all"},".break-after-avoid-page":{"break-after":"avoid-page"},".break-after-page":{"break-after":"page"},".break-after-left":{"break-after":"left"},".break-after-right":{"break-after":"right"},".break-after-column":{"break-after":"column"}})},gridAutoColumns:s.default("gridAutoColumns",[["auto-cols",["gridAutoColumns"]]]),gridAutoFlow:({addUtilities:e})=>{e({".grid-flow-row":{gridAutoFlow:"row"},".grid-flow-col":{gridAutoFlow:"column"},".grid-flow-row-dense":{gridAutoFlow:"row dense"},".grid-flow-col-dense":{gridAutoFlow:"column dense"}})},gridAutoRows:s.default("gridAutoRows",[["auto-rows",["gridAutoRows"]]]),gridTemplateColumns:s.default("gridTemplateColumns",[["grid-cols",["gridTemplateColumns"]]]),gridTemplateRows:s.default("gridTemplateRows",[["grid-rows",["gridTemplateRows"]]]),flexDirection:({addUtilities:e})=>{e({".flex-row":{"flex-direction":"row"},".flex-row-reverse":{"flex-direction":"row-reverse"},".flex-col":{"flex-direction":"column"},".flex-col-reverse":{"flex-direction":"column-reverse"}})},flexWrap:({addUtilities:e})=>{e({".flex-wrap":{"flex-wrap":"wrap"},".flex-wrap-reverse":{"flex-wrap":"wrap-reverse"},".flex-nowrap":{"flex-wrap":"nowrap"}})},placeContent:({addUtilities:e})=>{e({".place-content-center":{"place-content":"center"},".place-content-start":{"place-content":"start"},".place-content-end":{"place-content":"end"},".place-content-between":{"place-content":"space-between"},".place-content-around":{"place-content":"space-around"},".place-content-evenly":{"place-content":"space-evenly"},".place-content-stretch":{"place-content":"stretch"}})},placeItems:({addUtilities:e})=>{e({".place-items-start":{"place-items":"start"},".place-items-end":{"place-items":"end"},".place-items-center":{"place-items":"center"},".place-items-stretch":{"place-items":"stretch"}})},alignContent:({addUtilities:e})=>{e({".content-center":{"align-content":"center"},".content-start":{"align-content":"flex-start"},".content-end":{"align-content":"flex-end"},".content-between":{"align-content":"space-between"},".content-around":{"align-content":"space-around"},".content-evenly":{"align-content":"space-evenly"}})},alignItems:({addUtilities:e})=>{e({".items-start":{"align-items":"flex-start"},".items-end":{"align-items":"flex-end"},".items-center":{"align-items":"center"},".items-baseline":{"align-items":"baseline"},".items-stretch":{"align-items":"stretch"}})},justifyContent:({addUtilities:e})=>{e({".justify-start":{"justify-content":"flex-start"},".justify-end":{"justify-content":"flex-end"},".justify-center":{"justify-content":"center"},".justify-between":{"justify-content":"space-between"},".justify-around":{"justify-content":"space-around"},".justify-evenly":{"justify-content":"space-evenly"}})},justifyItems:({addUtilities:e})=>{e({".justify-items-start":{"justify-items":"start"},".justify-items-end":{"justify-items":"end"},".justify-items-center":{"justify-items":"center"},".justify-items-stretch":{"justify-items":"stretch"}})},gap:s.default("gap",[["gap",["gap"]],[["gap-x",["columnGap"]],["gap-y",["rowGap"]]]]),space:({matchUtilities:e,addUtilities:t,theme:r})=>{e({"space-x":e=>({"& > :not([hidden]) ~ :not([hidden])":{"--tw-space-x-reverse":"0","margin-right":`calc(${e="0"===e?"0px":e} * var(--tw-space-x-reverse))`,"margin-left":`calc(${e} * calc(1 - var(--tw-space-x-reverse)))`}}),"space-y":e=>({"& > :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"0","margin-top":`calc(${e="0"===e?"0px":e} * calc(1 - var(--tw-space-y-reverse)))`,"margin-bottom":`calc(${e} * var(--tw-space-y-reverse))`}})},{values:r("space"),supportsNegativeValues:!0}),t({".space-y-reverse > :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"1"},".space-x-reverse > :not([hidden]) ~ :not([hidden])":{"--tw-space-x-reverse":"1"}})},divideWidth:({matchUtilities:e,addUtilities:t,theme:r})=>{e({"divide-x":e=>({"& > :not([hidden]) ~ :not([hidden])":{"@defaults border-width":{},"--tw-divide-x-reverse":"0","border-right-width":`calc(${e="0"===e?"0px":e} * var(--tw-divide-x-reverse))`,"border-left-width":`calc(${e} * calc(1 - var(--tw-divide-x-reverse)))`}}),"divide-y":e=>({"& > :not([hidden]) ~ :not([hidden])":{"@defaults border-width":{},"--tw-divide-y-reverse":"0","border-top-width":`calc(${e="0"===e?"0px":e} * calc(1 - var(--tw-divide-y-reverse)))`,"border-bottom-width":`calc(${e} * var(--tw-divide-y-reverse))`}})},{values:r("divideWidth"),type:["line-width","length"]}),t({".divide-y-reverse > :not([hidden]) ~ :not([hidden])":{"@defaults border-width":{},"--tw-divide-y-reverse":"1"},".divide-x-reverse > :not([hidden]) ~ :not([hidden])":{"@defaults border-width":{},"--tw-divide-x-reverse":"1"}})},divideStyle:({addUtilities:e})=>{e({".divide-solid > :not([hidden]) ~ :not([hidden])":{"border-style":"solid"},".divide-dashed > :not([hidden]) ~ :not([hidden])":{"border-style":"dashed"},".divide-dotted > :not([hidden]) ~ :not([hidden])":{"border-style":"dotted"},".divide-double > :not([hidden]) ~ :not([hidden])":{"border-style":"double"},".divide-none > :not([hidden]) ~ :not([hidden])":{"border-style":"none"}})},divideColor:({matchUtilities:e,theme:t,corePlugins:r})=>{e({divide:e=>r("divideOpacity")?{"& > :not([hidden]) ~ :not([hidden])":u.default({color:e,property:"border-color",variable:"--tw-divide-opacity"})}:{"& > :not([hidden]) ~ :not([hidden])":{"border-color":p.default(e)}}},{values:(({DEFAULT:e,...t})=>t)(c.default(t("divideColor"))),type:"color"})},divideOpacity:({matchUtilities:e,theme:t})=>{e({"divide-opacity":e=>({"& > :not([hidden]) ~ :not([hidden])":{"--tw-divide-opacity":e}})},{values:t("divideOpacity")})},placeSelf:({addUtilities:e})=>{e({".place-self-auto":{"place-self":"auto"},".place-self-start":{"place-self":"start"},".place-self-end":{"place-self":"end"},".place-self-center":{"place-self":"center"},".place-self-stretch":{"place-self":"stretch"}})},alignSelf:({addUtilities:e})=>{e({".self-auto":{"align-self":"auto"},".self-start":{"align-self":"flex-start"},".self-end":{"align-self":"flex-end"},".self-center":{"align-self":"center"},".self-stretch":{"align-self":"stretch"},".self-baseline":{"align-self":"baseline"}})},justifySelf:({addUtilities:e})=>{e({".justify-self-auto":{"justify-self":"auto"},".justify-self-start":{"justify-self":"start"},".justify-self-end":{"justify-self":"end"},".justify-self-center":{"justify-self":"center"},".justify-self-stretch":{"justify-self":"stretch"}})},overflow:({addUtilities:e})=>{e({".overflow-auto":{overflow:"auto"},".overflow-hidden":{overflow:"hidden"},".overflow-clip":{overflow:"clip"},".overflow-visible":{overflow:"visible"},".overflow-scroll":{overflow:"scroll"},".overflow-x-auto":{"overflow-x":"auto"},".overflow-y-auto":{"overflow-y":"auto"},".overflow-x-hidden":{"overflow-x":"hidden"},".overflow-y-hidden":{"overflow-y":"hidden"},".overflow-x-clip":{"overflow-x":"clip"},".overflow-y-clip":{"overflow-y":"clip"},".overflow-x-visible":{"overflow-x":"visible"},".overflow-y-visible":{"overflow-y":"visible"},".overflow-x-scroll":{"overflow-x":"scroll"},".overflow-y-scroll":{"overflow-y":"scroll"}})},overscrollBehavior:({addUtilities:e})=>{e({".overscroll-auto":{"overscroll-behavior":"auto"},".overscroll-contain":{"overscroll-behavior":"contain"},".overscroll-none":{"overscroll-behavior":"none"},".overscroll-y-auto":{"overscroll-behavior-y":"auto"},".overscroll-y-contain":{"overscroll-behavior-y":"contain"},".overscroll-y-none":{"overscroll-behavior-y":"none"},".overscroll-x-auto":{"overscroll-behavior-x":"auto"},".overscroll-x-contain":{"overscroll-behavior-x":"contain"},".overscroll-x-none":{"overscroll-behavior-x":"none"}})},scrollBehavior:({addUtilities:e})=>{e({".scroll-auto":{"scroll-behavior":"auto"},".scroll-smooth":{"scroll-behavior":"smooth"}})},textOverflow:({addUtilities:e})=>{e({".truncate":{overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"},".overflow-ellipsis":{"text-overflow":"ellipsis"},".text-ellipsis":{"text-overflow":"ellipsis"},".text-clip":{"text-overflow":"clip"}})},whitespace:({addUtilities:e})=>{e({".whitespace-normal":{"white-space":"normal"},".whitespace-nowrap":{"white-space":"nowrap"},".whitespace-pre":{"white-space":"pre"},".whitespace-pre-line":{"white-space":"pre-line"},".whitespace-pre-wrap":{"white-space":"pre-wrap"}})},wordBreak:({addUtilities:e})=>{e({".break-normal":{"overflow-wrap":"normal","word-break":"normal"},".break-words":{"overflow-wrap":"break-word"},".break-all":{"word-break":"break-all"}})},borderRadius:s.default("borderRadius",[["rounded",["border-radius"]],[["rounded-t",["border-top-left-radius","border-top-right-radius"]],["rounded-r",["border-top-right-radius","border-bottom-right-radius"]],["rounded-b",["border-bottom-right-radius","border-bottom-left-radius"]],["rounded-l",["border-top-left-radius","border-bottom-left-radius"]]],[["rounded-tl",["border-top-left-radius"]],["rounded-tr",["border-top-right-radius"]],["rounded-br",["border-bottom-right-radius"]],["rounded-bl",["border-bottom-left-radius"]]]]),borderWidth:s.default("borderWidth",[["border",[["@defaults border-width",{}],"border-width"]],[["border-x",[["@defaults border-width",{}],"border-left-width","border-right-width"]],["border-y",[["@defaults border-width",{}],"border-top-width","border-bottom-width"]]],[["border-t",[["@defaults border-width",{}],"border-top-width"]],["border-r",[["@defaults border-width",{}],"border-right-width"]],["border-b",[["@defaults border-width",{}],"border-bottom-width"]],["border-l",[["@defaults border-width",{}],"border-left-width"]]]],{type:["line-width","length"]}),borderStyle:({addUtilities:e})=>{e({".border-solid":{"border-style":"solid"},".border-dashed":{"border-style":"dashed"},".border-dotted":{"border-style":"dotted"},".border-double":{"border-style":"double"},".border-hidden":{"border-style":"hidden"},".border-none":{"border-style":"none"}})},borderColor:({addDefaults:e,matchUtilities:t,theme:r,corePlugins:n})=>{if(n("borderOpacity"))e("border-width",u.default({color:r("borderColor.DEFAULT","currentColor"),property:"border-color",variable:"--tw-border-opacity"}));else{let t=r("borderColor.DEFAULT","currentColor");e("border-width",{"border-color":p.default(t)})}t({border:e=>n("borderOpacity")?u.default({color:e,property:"border-color",variable:"--tw-border-opacity"}):{"border-color":p.default(e)}},{values:(({DEFAULT:e,...t})=>t)(c.default(r("borderColor"))),type:["color"]}),t({"border-x":e=>n("borderOpacity")?u.default({color:e,property:["border-left-color","border-right-color"],variable:"--tw-border-opacity"}):{"border-left-color":p.default(e),"border-right-color":p.default(e)},"border-y":e=>n("borderOpacity")?u.default({color:e,property:["border-top-color","border-bottom-color"],variable:"--tw-border-opacity"}):{"border-top-color":p.default(e),"border-bottom-color":p.default(e)}},{values:(({DEFAULT:e,...t})=>t)(c.default(r("borderColor"))),type:"color"}),t({"border-t":e=>n("borderOpacity")?u.default({color:e,property:"border-top-color",variable:"--tw-border-opacity"}):{"border-top-color":p.default(e)},"border-r":e=>n("borderOpacity")?u.default({color:e,property:"border-right-color",variable:"--tw-border-opacity"}):{"border-right-color":p.default(e)},"border-b":e=>n("borderOpacity")?u.default({color:e,property:"border-bottom-color",variable:"--tw-border-opacity"}):{"border-bottom-color":p.default(e)},"border-l":e=>n("borderOpacity")?u.default({color:e,property:"border-left-color",variable:"--tw-border-opacity"}):{"border-left-color":p.default(e)}},{values:(({DEFAULT:e,...t})=>t)(c.default(r("borderColor"))),type:"color"})},borderOpacity:s.default("borderOpacity",[["border-opacity",["--tw-border-opacity"]]]),backgroundColor:({matchUtilities:e,theme:t,corePlugins:r})=>{e({bg:e=>r("backgroundOpacity")?u.default({color:e,property:"background-color",variable:"--tw-bg-opacity"}):{"background-color":p.default(e)}},{values:c.default(t("backgroundColor")),type:"color"})},backgroundOpacity:s.default("backgroundOpacity",[["bg-opacity",["--tw-bg-opacity"]]]),backgroundImage:s.default("backgroundImage",[["bg",["background-image"]]],{type:["lookup","image","url"]}),gradientColorStops:(()=>{function e(e){return u.withAlphaValue(e,0,"rgb(255 255 255 / 0)")}return function({matchUtilities:t,theme:r}){let n={values:c.default(r("gradientColorStops")),type:["color","any"]};t({from:t=>{let r=e(t);return{"--tw-gradient-from":p.default(t,"from"),"--tw-gradient-stops":`var(--tw-gradient-from), var(--tw-gradient-to, ${r})`}}},n),t({via:t=>{let r=e(t);return{"--tw-gradient-stops":`var(--tw-gradient-from), ${p.default(t,"via")}, var(--tw-gradient-to, ${r})`}}},n),t({to:e=>({"--tw-gradient-to":p.default(e,"to")})},n)}})(),boxDecorationBreak:({addUtilities:e})=>{e({".decoration-slice":{"box-decoration-break":"slice"},".decoration-clone":{"box-decoration-break":"clone"},".box-decoration-slice":{"box-decoration-break":"slice"},".box-decoration-clone":{"box-decoration-break":"clone"}})},backgroundSize:s.default("backgroundSize",[["bg",["background-size"]]],{type:["lookup","length","percentage"]}),backgroundAttachment:({addUtilities:e})=>{e({".bg-fixed":{"background-attachment":"fixed"},".bg-local":{"background-attachment":"local"},".bg-scroll":{"background-attachment":"scroll"}})},backgroundClip:({addUtilities:e})=>{e({".bg-clip-border":{"background-clip":"border-box"},".bg-clip-padding":{"background-clip":"padding-box"},".bg-clip-content":{"background-clip":"content-box"},".bg-clip-text":{"background-clip":"text"}})},backgroundPosition:s.default("backgroundPosition",[["bg",["background-position"]]],{type:["lookup","position"]}),backgroundRepeat:({addUtilities:e})=>{e({".bg-repeat":{"background-repeat":"repeat"},".bg-no-repeat":{"background-repeat":"no-repeat"},".bg-repeat-x":{"background-repeat":"repeat-x"},".bg-repeat-y":{"background-repeat":"repeat-y"},".bg-repeat-round":{"background-repeat":"round"},".bg-repeat-space":{"background-repeat":"space"}})},backgroundOrigin:({addUtilities:e})=>{e({".bg-origin-border":{"background-origin":"border-box"},".bg-origin-padding":{"background-origin":"padding-box"},".bg-origin-content":{"background-origin":"content-box"}})},fill:({matchUtilities:e,theme:t})=>{e({fill:e=>({fill:p.default(e)})},{values:c.default(t("fill")),type:["color","any"]})},stroke:({matchUtilities:e,theme:t})=>{e({stroke:e=>({stroke:p.default(e)})},{values:c.default(t("stroke")),type:["color","url"]})},strokeWidth:s.default("strokeWidth",[["stroke",["stroke-width"]]],{type:["length","number","percentage"]}),objectFit:({addUtilities:e})=>{e({".object-contain":{"object-fit":"contain"},".object-cover":{"object-fit":"cover"},".object-fill":{"object-fit":"fill"},".object-none":{"object-fit":"none"},".object-scale-down":{"object-fit":"scale-down"}})},objectPosition:s.default("objectPosition",[["object",["object-position"]]]),padding:s.default("padding",[["p",["padding"]],[["px",["padding-left","padding-right"]],["py",["padding-top","padding-bottom"]]],[["pt",["padding-top"]],["pr",["padding-right"]],["pb",["padding-bottom"]],["pl",["padding-left"]]]]),textAlign:({addUtilities:e})=>{e({".text-left":{"text-align":"left"},".text-center":{"text-align":"center"},".text-right":{"text-align":"right"},".text-justify":{"text-align":"justify"}})},textIndent:s.default("textIndent",[["indent",["text-indent"]]],{supportsNegativeValues:!0}),verticalAlign:({addUtilities:e,matchUtilities:t})=>{e({".align-baseline":{"vertical-align":"baseline"},".align-top":{"vertical-align":"top"},".align-middle":{"vertical-align":"middle"},".align-bottom":{"vertical-align":"bottom"},".align-text-top":{"vertical-align":"text-top"},".align-text-bottom":{"vertical-align":"text-bottom"},".align-sub":{"vertical-align":"sub"},".align-super":{"vertical-align":"super"}}),t({align:e=>({"vertical-align":e})})},fontFamily:s.default("fontFamily",[["font",["fontFamily"]]],{type:["lookup","generic-name","family-name"]}),fontSize:({matchUtilities:e,theme:t})=>{e({text:e=>{let[t,r]=Array.isArray(e)?e:[e],{lineHeight:n,letterSpacing:i}=h.default(r)?r:{lineHeight:r};return{"font-size":t,...void 0===n?{}:{"line-height":n},...void 0===i?{}:{"letter-spacing":i}}}},{values:t("fontSize"),type:["absolute-size","relative-size","length","percentage"]})},fontWeight:s.default("fontWeight",[["font",["fontWeight"]]],{type:["lookup","number"]}),textTransform:({addUtilities:e})=>{e({".uppercase":{"text-transform":"uppercase"},".lowercase":{"text-transform":"lowercase"},".capitalize":{"text-transform":"capitalize"},".normal-case":{"text-transform":"none"}})},fontStyle:({addUtilities:e})=>{e({".italic":{"font-style":"italic"},".not-italic":{"font-style":"normal"}})},fontVariantNumeric:({addUtilities:e})=>{e({"@defaults font-variant-numeric":{"--tw-ordinal":"var(--tw-empty,/*!*/ /*!*/)","--tw-slashed-zero":"var(--tw-empty,/*!*/ /*!*/)","--tw-numeric-figure":"var(--tw-empty,/*!*/ /*!*/)","--tw-numeric-spacing":"var(--tw-empty,/*!*/ /*!*/)","--tw-numeric-fraction":"var(--tw-empty,/*!*/ /*!*/)","--tw-font-variant-numeric":"var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)"},".normal-nums":{"font-variant-numeric":"normal"},".ordinal":{"@defaults font-variant-numeric":{},"--tw-ordinal":"ordinal","font-variant-numeric":"var(--tw-font-variant-numeric)"},".slashed-zero":{"@defaults font-variant-numeric":{},"--tw-slashed-zero":"slashed-zero","font-variant-numeric":"var(--tw-font-variant-numeric)"},".lining-nums":{"@defaults font-variant-numeric":{},"--tw-numeric-figure":"lining-nums","font-variant-numeric":"var(--tw-font-variant-numeric)"},".oldstyle-nums":{"@defaults font-variant-numeric":{},"--tw-numeric-figure":"oldstyle-nums","font-variant-numeric":"var(--tw-font-variant-numeric)"},".proportional-nums":{"@defaults font-variant-numeric":{},"--tw-numeric-spacing":"proportional-nums","font-variant-numeric":"var(--tw-font-variant-numeric)"},".tabular-nums":{"@defaults font-variant-numeric":{},"--tw-numeric-spacing":"tabular-nums","font-variant-numeric":"var(--tw-font-variant-numeric)"},".diagonal-fractions":{"@defaults font-variant-numeric":{},"--tw-numeric-fraction":"diagonal-fractions","font-variant-numeric":"var(--tw-font-variant-numeric)"},".stacked-fractions":{"@defaults font-variant-numeric":{},"--tw-numeric-fraction":"stacked-fractions","font-variant-numeric":"var(--tw-font-variant-numeric)"}})},lineHeight:s.default("lineHeight",[["leading",["lineHeight"]]]),letterSpacing:s.default("letterSpacing",[["tracking",["letterSpacing"]]],{supportsNegativeValues:!0}),textColor:({matchUtilities:e,theme:t,corePlugins:r})=>{e({text:e=>r("textOpacity")?u.default({color:e,property:"color",variable:"--tw-text-opacity"}):{color:p.default(e)}},{values:c.default(t("textColor")),type:"color"})},textOpacity:s.default("textOpacity",[["text-opacity",["--tw-text-opacity"]]]),textDecoration:({addUtilities:e})=>{e({".underline":{"text-decoration-line":"underline"},".overline":{"text-decoration-line":"overline"},".line-through":{"text-decoration-line":"line-through"},".no-underline":{"text-decoration-line":"none"}})},textDecorationColor:({matchUtilities:e,theme:t})=>{e({decoration:e=>({"text-decoration-color":p.default(e)})},{values:c.default(t("textDecorationColor")),type:["color"]})},textDecorationStyle:({addUtilities:e})=>{e({".decoration-solid":{"text-decoration-style":"solid"},".decoration-double":{"text-decoration-style":"double"},".decoration-dotted":{"text-decoration-style":"dotted"},".decoration-dashed":{"text-decoration-style":"dashed"},".decoration-wavy":{"text-decoration-style":"wavy"}})},textDecorationThickness:s.default("textDecorationThickness",[["decoration",["text-decoration-thickness"]]],{type:["length","percentage"]}),textUnderlineOffset:s.default("textUnderlineOffset",[["underline-offset",["text-underline-offset"]]],{type:["length","percentage"]}),fontSmoothing:({addUtilities:e})=>{e({".antialiased":{"-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale"},".subpixel-antialiased":{"-webkit-font-smoothing":"auto","-moz-osx-font-smoothing":"auto"}})},placeholderColor:({matchUtilities:e,theme:t,corePlugins:r})=>{e({placeholder:e=>r("placeholderOpacity")?{"&::placeholder":u.default({color:e,property:"color",variable:"--tw-placeholder-opacity"})}:{"&::placeholder":{color:p.default(e)}}},{values:c.default(t("placeholderColor")),type:["color","any"]})},placeholderOpacity:({matchUtilities:e,theme:t})=>{e({"placeholder-opacity":e=>({"&::placeholder":{"--tw-placeholder-opacity":e}})},{values:t("placeholderOpacity")})},caretColor:({matchUtilities:e,theme:t})=>{e({caret:e=>({"caret-color":p.default(e)})},{values:c.default(t("caretColor")),type:["color","any"]})},accentColor:({matchUtilities:e,theme:t})=>{e({accent:e=>({"accent-color":p.default(e)})},{values:c.default(t("accentColor")),type:["color","any"]})},opacity:s.default("opacity",[["opacity",["opacity"]]]),backgroundBlendMode:({addUtilities:e})=>{e({".bg-blend-normal":{"background-blend-mode":"normal"},".bg-blend-multiply":{"background-blend-mode":"multiply"},".bg-blend-screen":{"background-blend-mode":"screen"},".bg-blend-overlay":{"background-blend-mode":"overlay"},".bg-blend-darken":{"background-blend-mode":"darken"},".bg-blend-lighten":{"background-blend-mode":"lighten"},".bg-blend-color-dodge":{"background-blend-mode":"color-dodge"},".bg-blend-color-burn":{"background-blend-mode":"color-burn"},".bg-blend-hard-light":{"background-blend-mode":"hard-light"},".bg-blend-soft-light":{"background-blend-mode":"soft-light"},".bg-blend-difference":{"background-blend-mode":"difference"},".bg-blend-exclusion":{"background-blend-mode":"exclusion"},".bg-blend-hue":{"background-blend-mode":"hue"},".bg-blend-saturation":{"background-blend-mode":"saturation"},".bg-blend-color":{"background-blend-mode":"color"},".bg-blend-luminosity":{"background-blend-mode":"luminosity"}})},mixBlendMode:({addUtilities:e})=>{e({".mix-blend-normal":{"mix-blend-mode":"normal"},".mix-blend-multiply":{"mix-blend-mode":"multiply"},".mix-blend-screen":{"mix-blend-mode":"screen"},".mix-blend-overlay":{"mix-blend-mode":"overlay"},".mix-blend-darken":{"mix-blend-mode":"darken"},".mix-blend-lighten":{"mix-blend-mode":"lighten"},".mix-blend-color-dodge":{"mix-blend-mode":"color-dodge"},".mix-blend-color-burn":{"mix-blend-mode":"color-burn"},".mix-blend-hard-light":{"mix-blend-mode":"hard-light"},".mix-blend-soft-light":{"mix-blend-mode":"soft-light"},".mix-blend-difference":{"mix-blend-mode":"difference"},".mix-blend-exclusion":{"mix-blend-mode":"exclusion"},".mix-blend-hue":{"mix-blend-mode":"hue"},".mix-blend-saturation":{"mix-blend-mode":"saturation"},".mix-blend-color":{"mix-blend-mode":"color"},".mix-blend-luminosity":{"mix-blend-mode":"luminosity"}})},boxShadow:(()=>{let e=d.default("boxShadow"),t=["var(--tw-ring-offset-shadow, 0 0 #0000)","var(--tw-ring-shadow, 0 0 #0000)","var(--tw-shadow)"].join(", ");return function({matchUtilities:r,addDefaults:n,theme:i}){n(" box-shadow",{"--tw-ring-offset-shadow":"0 0 #0000","--tw-ring-shadow":"0 0 #0000","--tw-shadow":"0 0 #0000","--tw-shadow-colored":"0 0 #0000"}),r({shadow:r=>{r=e(r);let n=v.parseBoxShadowValue(r);for(let e of n)e.valid&&(e.color="var(--tw-shadow-color)");return{"@defaults box-shadow":{},"--tw-shadow":"none"===r?"0 0 #0000":r,"--tw-shadow-colored":"none"===r?"0 0 #0000":v.formatBoxShadowValue(n),"box-shadow":t}}},{values:i("boxShadow"),type:["shadow"]})}})(),boxShadowColor:({matchUtilities:e,theme:t})=>{e({shadow:e=>({"--tw-shadow-color":p.default(e),"--tw-shadow":"var(--tw-shadow-colored)"})},{values:c.default(t("boxShadowColor")),type:["color"]})},outlineStyle:({addUtilities:e})=>{e({".outline-none":{outline:"2px solid transparent","outline-offset":"2px"},".outline":{"outline-style":"solid"},".outline-dashed":{"outline-style":"dashed"},".outline-dotted":{"outline-style":"dotted"},".outline-double":{"outline-style":"double"},".outline-hidden":{"outline-style":"hidden"}})},outlineWidth:s.default("outlineWidth",[["outline",["outline-width"]]],{type:["length","number","percentage"]}),outlineOffset:s.default("outlineOffset",[["outline-offset",["outline-offset"]]],{type:["length","number","percentage"]}),outlineColor:({matchUtilities:e,theme:t})=>{e({outline:e=>({"outline-color":p.default(e)})},{values:c.default(t("outlineColor")),type:["color"]})},ringWidth:({matchUtilities:e,addDefaults:t,addUtilities:r,theme:n})=>{let i=n("ringOpacity.DEFAULT","0.5"),o=u.withAlphaValue(n("ringColor.DEFAULT"),i,`rgb(147 197 253 / ${i})`);t("ring-width",{"--tw-ring-inset":"var(--tw-empty,/*!*/ /*!*/)","--tw-ring-offset-width":n("ringOffsetWidth.DEFAULT","0px"),"--tw-ring-offset-color":n("ringOffsetColor.DEFAULT","#fff"),"--tw-ring-color":o,"--tw-ring-offset-shadow":"0 0 #0000","--tw-ring-shadow":"0 0 #0000","--tw-shadow":"0 0 #0000","--tw-shadow-colored":"0 0 #0000"}),e({ring:e=>({"@defaults ring-width":{},"--tw-ring-offset-shadow":"var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)","--tw-ring-shadow":`var(--tw-ring-inset) 0 0 0 calc(${e} + var(--tw-ring-offset-width)) var(--tw-ring-color)`,"box-shadow":["var(--tw-ring-offset-shadow)","var(--tw-ring-shadow)","var(--tw-shadow, 0 0 #0000)"].join(", ")})},{values:n("ringWidth"),type:"length"}),r({".ring-inset":{"@defaults ring-width":{},"--tw-ring-inset":"inset"}})},ringColor:({matchUtilities:e,theme:t})=>{e({ring:e=>u.default({color:e,property:"--tw-ring-color",variable:"--tw-ring-opacity"})},{values:Object.fromEntries(Object.entries(c.default(t("ringColor"))).filter(([e])=>"DEFAULT"!==e)),type:"color"})},ringOpacity:s.default("ringOpacity",[["ring-opacity",["--tw-ring-opacity"]]],{filterDefault:!0}),ringOffsetWidth:s.default("ringOffsetWidth",[["ring-offset",["--tw-ring-offset-width"]]],{type:"length"}),ringOffsetColor:({matchUtilities:e,theme:t})=>{e({"ring-offset":e=>({"--tw-ring-offset-color":p.default(e)})},{values:c.default(t("ringOffsetColor")),type:"color"})},blur:({matchUtilities:e,theme:t})=>{e({blur:e=>({"--tw-blur":`blur(${e})`,"@defaults filter":{},filter:"var(--tw-filter)"})},{values:t("blur")})},brightness:({matchUtilities:e,theme:t})=>{e({brightness:e=>({"--tw-brightness":`brightness(${e})`,"@defaults filter":{},filter:"var(--tw-filter)"})},{values:t("brightness")})},contrast:({matchUtilities:e,theme:t})=>{e({contrast:e=>({"--tw-contrast":`contrast(${e})`,"@defaults filter":{},filter:"var(--tw-filter)"})},{values:t("contrast")})},dropShadow:({matchUtilities:e,theme:t})=>{e({"drop-shadow":e=>({"--tw-drop-shadow":Array.isArray(e)?e.map(e=>`drop-shadow(${e})`).join(" "):`drop-shadow(${e})`,"@defaults filter":{},filter:"var(--tw-filter)"})},{values:t("dropShadow")})},grayscale:({matchUtilities:e,theme:t})=>{e({grayscale:e=>({"--tw-grayscale":`grayscale(${e})`,"@defaults filter":{},filter:"var(--tw-filter)"})},{values:t("grayscale")})},hueRotate:({matchUtilities:e,theme:t})=>{e({"hue-rotate":e=>({"--tw-hue-rotate":`hue-rotate(${e})`,"@defaults filter":{},filter:"var(--tw-filter)"})},{values:t("hueRotate"),supportsNegativeValues:!0})},invert:({matchUtilities:e,theme:t})=>{e({invert:e=>({"--tw-invert":`invert(${e})`,"@defaults filter":{},filter:"var(--tw-filter)"})},{values:t("invert")})},saturate:({matchUtilities:e,theme:t})=>{e({saturate:e=>({"--tw-saturate":`saturate(${e})`,"@defaults filter":{},filter:"var(--tw-filter)"})},{values:t("saturate")})},sepia:({matchUtilities:e,theme:t})=>{e({sepia:e=>({"--tw-sepia":`sepia(${e})`,"@defaults filter":{},filter:"var(--tw-filter)"})},{values:t("sepia")})},filter:({addDefaults:e,addUtilities:t})=>{e("filter",{"--tw-blur":"var(--tw-empty,/*!*/ /*!*/)","--tw-brightness":"var(--tw-empty,/*!*/ /*!*/)","--tw-contrast":"var(--tw-empty,/*!*/ /*!*/)","--tw-grayscale":"var(--tw-empty,/*!*/ /*!*/)","--tw-hue-rotate":"var(--tw-empty,/*!*/ /*!*/)","--tw-invert":"var(--tw-empty,/*!*/ /*!*/)","--tw-saturate":"var(--tw-empty,/*!*/ /*!*/)","--tw-sepia":"var(--tw-empty,/*!*/ /*!*/)","--tw-drop-shadow":"var(--tw-empty,/*!*/ /*!*/)","--tw-filter":["var(--tw-blur)","var(--tw-brightness)","var(--tw-contrast)","var(--tw-grayscale)","var(--tw-hue-rotate)","var(--tw-invert)","var(--tw-saturate)","var(--tw-sepia)","var(--tw-drop-shadow)"].join(" ")}),t({".filter":{"@defaults filter":{},filter:"var(--tw-filter)"},".filter-none":{filter:"none"}})},backdropBlur:({matchUtilities:e,theme:t})=>{e({"backdrop-blur":e=>({"--tw-backdrop-blur":`blur(${e})`,"@defaults backdrop-filter":{},"backdrop-filter":"var(--tw-backdrop-filter)"})},{values:t("backdropBlur")})},backdropBrightness:({matchUtilities:e,theme:t})=>{e({"backdrop-brightness":e=>({"--tw-backdrop-brightness":`brightness(${e})`,"@defaults backdrop-filter":{},"backdrop-filter":"var(--tw-backdrop-filter)"})},{values:t("backdropBrightness")})},backdropContrast:({matchUtilities:e,theme:t})=>{e({"backdrop-contrast":e=>({"--tw-backdrop-contrast":`contrast(${e})`,"@defaults backdrop-filter":{},"backdrop-filter":"var(--tw-backdrop-filter)"})},{values:t("backdropContrast")})},backdropGrayscale:({matchUtilities:e,theme:t})=>{e({"backdrop-grayscale":e=>({"--tw-backdrop-grayscale":`grayscale(${e})`,"@defaults backdrop-filter":{},"backdrop-filter":"var(--tw-backdrop-filter)"})},{values:t("backdropGrayscale")})},backdropHueRotate:({matchUtilities:e,theme:t})=>{e({"backdrop-hue-rotate":e=>({"--tw-backdrop-hue-rotate":`hue-rotate(${e})`,"@defaults backdrop-filter":{},"backdrop-filter":"var(--tw-backdrop-filter)"})},{values:t("backdropHueRotate"),supportsNegativeValues:!0})},backdropInvert:({matchUtilities:e,theme:t})=>{e({"backdrop-invert":e=>({"--tw-backdrop-invert":`invert(${e})`,"@defaults backdrop-filter":{},"backdrop-filter":"var(--tw-backdrop-filter)"})},{values:t("backdropInvert")})},backdropOpacity:({matchUtilities:e,theme:t})=>{e({"backdrop-opacity":e=>({"--tw-backdrop-opacity":`opacity(${e})`,"@defaults backdrop-filter":{},"backdrop-filter":"var(--tw-backdrop-filter)"})},{values:t("backdropOpacity")})},backdropSaturate:({matchUtilities:e,theme:t})=>{e({"backdrop-saturate":e=>({"--tw-backdrop-saturate":`saturate(${e})`,"@defaults backdrop-filter":{},"backdrop-filter":"var(--tw-backdrop-filter)"})},{values:t("backdropSaturate")})},backdropSepia:({matchUtilities:e,theme:t})=>{e({"backdrop-sepia":e=>({"--tw-backdrop-sepia":`sepia(${e})`,"@defaults backdrop-filter":{},"backdrop-filter":"var(--tw-backdrop-filter)"})},{values:t("backdropSepia")})},backdropFilter:({addDefaults:e,addUtilities:t})=>{e("backdrop-filter",{"--tw-backdrop-blur":"var(--tw-empty,/*!*/ /*!*/)","--tw-backdrop-brightness":"var(--tw-empty,/*!*/ /*!*/)","--tw-backdrop-contrast":"var(--tw-empty,/*!*/ /*!*/)","--tw-backdrop-grayscale":"var(--tw-empty,/*!*/ /*!*/)","--tw-backdrop-hue-rotate":"var(--tw-empty,/*!*/ /*!*/)","--tw-backdrop-invert":"var(--tw-empty,/*!*/ /*!*/)","--tw-backdrop-opacity":"var(--tw-empty,/*!*/ /*!*/)","--tw-backdrop-saturate":"var(--tw-empty,/*!*/ /*!*/)","--tw-backdrop-sepia":"var(--tw-empty,/*!*/ /*!*/)","--tw-backdrop-filter":["var(--tw-backdrop-blur)","var(--tw-backdrop-brightness)","var(--tw-backdrop-contrast)","var(--tw-backdrop-grayscale)","var(--tw-backdrop-hue-rotate)","var(--tw-backdrop-invert)","var(--tw-backdrop-opacity)","var(--tw-backdrop-saturate)","var(--tw-backdrop-sepia)"].join(" ")}),t({".backdrop-filter":{"@defaults backdrop-filter":{},"backdrop-filter":"var(--tw-backdrop-filter)"},".backdrop-filter-none":{"backdrop-filter":"none"}})},transitionProperty:({matchUtilities:e,theme:t})=>{let r=t("transitionTimingFunction.DEFAULT"),n=t("transitionDuration.DEFAULT");e({transition:e=>({"transition-property":e,..."none"===e?{}:{"transition-timing-function":r,"transition-duration":n}})},{values:t("transitionProperty")})},transitionDelay:s.default("transitionDelay",[["delay",["transitionDelay"]]]),transitionDuration:s.default("transitionDuration",[["duration",["transitionDuration"]]],{filterDefault:!0}),transitionTimingFunction:s.default("transitionTimingFunction",[["ease",["transitionTimingFunction"]]],{filterDefault:!0}),willChange:s.default("willChange",[["will-change",["will-change"]]]),content:s.default("content",[["content",["--tw-content",["content","var(--tw-content)"]]]])};t.corePlugins=_},40197:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.flagEnabled=function(e,t){var r,n,i,o,l,c;return a.future.includes(t)?"all"===e.future||null!==(i=null!==(n=null==e||null===(r=e.future)||void 0===r?void 0:r[t])&&void 0!==n?n:s[t])&&void 0!==i&&i:!!a.experimental.includes(t)&&("all"===e.experimental||null!==(c=null!==(l=null==e||null===(o=e.experimental)||void 0===o?void 0:o[t])&&void 0!==l?l:s[t])&&void 0!==c&&c)},t.issueFlagNotices=function(e){if(void 0!==process.env.JEST_WORKER_ID)return;if(l(e).length>0){let t=l(e).map(e=>n.default.yellow(e)).join(", ");i.default.warn("experimental-flags-enabled",["You have enabled experimental features: "+t,"Experimental features in Tailwind CSS are not covered by semver, may introduce breaking changes, and can change at any time."])}},t.default=void 0;var n=o(r(44265)),i=o(r(72962));function o(e){return e&&e.__esModule?e:{default:e}}let s={optimizeUniversalDefaults:"test"===process.env.NODE_ENV},a={future:[],experimental:["optimizeUniversalDefaults"]};function l(e){return"all"===e.experimental?a.experimental:Object.keys(null!==(t=null==e?void 0:e.experimental)&&void 0!==t?t:{}).filter(t=>a.experimental.includes(t)&&e.experimental[t]);var t}var c=a;t.default=c},16258:(e,t,r)=>{"use strict";var n=s(r(63823)),i=s(r(60386)),o=r(56144);function s(e){return e&&e.__esModule?e:{default:e}}e.exports=function(e){return{postcssPlugin:"tailwindcss",plugins:[o.env.DEBUG&&function(e){return console.log("\n"),console.time("JIT TOTAL"),e},function(t,r){i.default(n.default(e))(t,r)},o.env.DEBUG&&function(e){return console.timeEnd("JIT TOTAL"),console.log("\n"),e}].filter(Boolean)}},e.exports.postcss=!0},35285:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return e=>{let t=null;e.each(e=>{if(!n.has(e.type))return void(t=null);if(null===t)return void(t=e);let i=r[e.type];var o,s;"atrule"===e.type&&"font-face"===e.name?t=e:i.every(r=>(null!==(o=e[r])&&void 0!==o?o:"").replace(/\s+/g," ")===(null!==(s=t[r])&&void 0!==s?s:"").replace(/\s+/g," "))?(t.append(e.nodes),e.remove()):t=e})}};let r={atrule:["name","params"],rule:["selector"]},n=new Set(Object.keys(r))},21761:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return e=>{e.walkRules(e=>{let t=new Map,r=new Set([]),i=new Map;e.walkDecls(n=>{if(n.parent===e){if(t.has(n.prop)){if(t.get(n.prop).value===n.value)return r.add(t.get(n.prop)),void t.set(n.prop,n);i.has(n.prop)||i.set(n.prop,new Set),i.get(n.prop).add(t.get(n.prop)),i.get(n.prop).add(n)}t.set(n.prop,n)}});for(let e of r)e.remove();for(let e of i.values()){let t=new Map;for(let r of e){let e=n(r.value);null!==e&&(t.has(e)||t.set(e,new Set),t.get(e).add(r))}for(let e of t.values()){let t=Array.from(e).slice(0,-1);for(let e of t)e.remove()}}})}};let r=Symbol("unitless-number");function n(e){let t=/^-?\d*.?\d+([\w%]+)?$/g.exec(e);var n;return t?null!==(n=t[1])&&void 0!==n?n:r:null}},73023:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultExtractor=function(e){let t=e.matchAll(n),r=e.match(i)||[];return[...t,...r].flat().filter(e=>void 0!==e)};const r=[/(?:\['([^'\s]+[^<>"'`\s:\\])')/.source,/(?:\["([^"\s]+[^<>"'`\s:\\])")/.source,/(?:\[`([^`\s]+[^<>"'`\s:\\])`)/.source,/([^<>"'`\s]*\[\w*'[^"`\s]*'?\])/.source,/([^<>"'`\s]*\[\w*"[^'`\s]*"?\])/.source,/([^<>"'`\s]*\[\w*\('[^"'`\s]*'\)\])/.source,/([^<>"'`\s]*\[\w*\("[^"'`\s]*"\)\])/.source,/([^<>"'`\s]*\[\w*\('[^"`\s]*'\)\])/.source,/([^<>"'`\s]*\[\w*\("[^'`\s]*"\)\])/.source,/([^<>"'`\s]*\['[^"'`\s]*'\])/.source,/([^<>"'`\s]*\["[^"'`\s]*"\])/.source,/([^<>"'`\s]*\[[^<>"'`\s]*:[^\]\s]*\])/.source,/([^<>"'`\s]*\[[^<>"'`\s]*:'[^"'`\s]*'\])/.source,/([^<>"'`\s]*\[[^<>"'`\s]*:"[^"'`\s]*"\])/.source,/([^<>"'`\s]*\[[^"'`\s]+\][^<>"'`\s]*)/.source,/([^"'`\s]*[^<>"'`\s:\\])/.source,/([^<>"'`\s]*[^"'`\s:\\])/.source].join("|"),n=new RegExp(r,"g"),i=/[^<>"'`\s.(){}[\]#=%$]*[^<>"'`\s.(){}[\]#=%:$]/g},38805:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(e,t)=>{let r=!1;e.walkAtRules("tailwind",e=>!r&&(e.parent&&"root"!==e.parent.type?(r=!0,e.warn(t,["Nested @tailwind rules were detected, but are not supported.","Consider using a prefix to scope Tailwind's classes: https://tailwindcss.com/docs/configuration#prefix","Alternatively, use the important selector strategy: https://tailwindcss.com/docs/configuration#selector-strategy"].join("\n")),!1):void 0)),e.walkRules(e=>{if(r)return!1;e.walkRules(e=>(r=!0,e.warn(t,["Nested CSS was detected, but CSS nesting has not been configured correctly.","Please enable a CSS nesting plugin *before* Tailwind in your configuration.","See how here: https://tailwindcss.com/docs/using-with-preprocessors#nesting"].join("\n")),!1))})}}},31581:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function({tailwindConfig:e}){let t={theme:(t,r,...s)=>{const{isValid:a,value:l,error:u}=function e(t,r,s){const a=Array.isArray(r)?h(r):r.replace(/^['"]+/g,"").replace(/['"]+$/g,""),l=Array.isArray(r)?r:c.toPath(a),u=n.default(t.theme,l,s);if(void 0===u){let r=`'${a}' does not exist in your theme config.`;const o=l.slice(0,-1),s=n.default(t.theme,o);if(p(s)){const n=Object.keys(s).filter(r=>e(t,[...o,r]).isValid),a=i.default(l[l.length-1],n);a?r+=` Did you mean '${h([...o,a])}'?`:n.length>0&&(r+=` '${h(o)}' has the following valid keys: ${d(n)}`)}else{const e=function(e,t){let r=c.toPath(t);do{if(r.pop(),void 0!==n.default(e,r))break}while(r.length);return r.length?r:void 0}(t.theme,a);if(e){const i=n.default(t.theme,e);p(i)?r+=` '${h(e)}' has the following keys: ${f(i)}`:r+=` '${h(e)}' is not an object.`}else r+=" Your theme has the following top-level keys: "+f(t.theme)}return{isValid:!1,error:r}}if(!("string"==typeof u||"number"==typeof u||"function"==typeof u||u instanceof String||u instanceof Number||Array.isArray(u))){let r=`'${a}' was found but does not resolve to a string.`;if(p(u)){let n=Object.keys(u).filter(r=>e(t,[...l,r]).isValid);n.length&&(r+=` Did you mean something like '${h([...l,n[0]])}'?`)}return{isValid:!1,error:r}}const[g]=l;return{isValid:!0,value:o.default(g)(u)}}(e,r,s.length?s:void 0);if(!a)throw t.error(u);return l},screen:(t,r)=>{r=r.replace(/^['"]+/g,"").replace(/['"]+$/g,"");let n=a.normalizeScreens(e.theme.screens).find(({name:e})=>e===r);if(!n)throw t.error(`The '${r}' screen does not exist in your theme.`);return l.default(n)}};return e=>{e.walk(e=>{let r=m[e.type];void 0!==r&&(e[r]=function(e,t,r){return s.default(t).walk(t=>{g(e,t,r)}).toString()}(e,e[r],t))})}};var n=u(r(44627)),i=u(r(21293)),o=u(r(93674)),s=u(r(58810)),a=r(92285),l=u(r(11384)),c=r(25682);function u(e){return e&&e.__esModule?e:{default:e}}function p(e){return"object"==typeof e&&null!==e}function h(e){return"string"==typeof e?e:e.reduce((e,t,r)=>t.includes(".")?`${e}[${t}]`:0===r?t:`${e}.${t}`,"")}function d(e){return e.map(e=>`'${e}'`).join(", ")}function f(e){return d(Object.keys(e))}function g(e,t,r){if("function"===t.type&&void 0!==r[t.value]){let n=function(e,t,r){t=t.map(t=>g(e,t,r));let n=[""];for(let e of t)"div"===e.type&&","===e.value?n.push(""):n[n.length-1]+=s.default.stringify(e);return n}(e,t.nodes,r);t.type="word",t.value=r[t.value](e,...n)}return t}let m={atrule:"params",decl:"value"}},31034:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return t=>{!function(e){let t=new Set;e.walkAtRules("apply",e=>{t.add(e.parent)});for(let e of t){let t=[],r=[];for(let n of e.nodes)"atrule"===n.type&&"apply"===n.name?(r.length>0&&(t.push(r),r=[]),t.push([n])):r.push(n);if(r.length>0&&t.push(r),1!==t.length){for(let r of[...t].reverse()){let t=e.clone({nodes:[]});t.append(r),e.after(t)}e.remove()}}}(t),function e(t,r){let i=new Set,l=[];if(t.walkAtRules("apply",e=>{let[t]=h(e.params);for(let e of t)i.add(e);l.push(e)}),l.length>0){let f=function(e,t){for(let r of e){if(t.notClassCache.has(r)||t.applyClassCache.has(r))continue;if(t.classCache.has(r)){t.applyClassCache.set(r,t.classCache.get(r).map(([e,t])=>[e,t.clone()]));continue}let e=Array.from(o.resolveMatches(r,t));0!==e.length?t.applyClassCache.set(r,e):t.notClassCache.add(r)}return t.applyClassCache}(i,r);function d(e,t,r){let n="."+a.default(r),i=t.split(/\s*\,(?![^(]*\))\s*/g);return e.split(/\s*\,(?![^(]*\))\s*/g).map(e=>{let t=[];for(let r of i){let i=r.replace(n,e);i!==r&&t.push(i)}return t.join(", ")}).join(", ")}let g=new Map;for(let e of l){let t=g.get(e.parent)||[];g.set(e.parent,t);let[n,i]=h(e.params);if("atrule"===e.parent.type){if("screen"===e.parent.name){const t=e.parent.params;throw e.error(`@apply is not supported within nested at-rules like @screen. We suggest you write this as @apply ${n.map(e=>`${t}:${e}`).join(" ")} instead.`)}throw e.error(`@apply is not supported within nested at-rules like @${e.parent.name}. You can fix this by un-nesting @${e.parent.name}.`)}for(let o of n){if(!f.has(o)){if(o===p(r,"group"))throw e.error(`@apply should not be used with the '${o}' utility`);throw e.error(`The \`${o}\` class does not exist. If \`${o}\` is a custom class, make sure it is defined within a \`@layer\` directive.`)}let n=f.get(o);t.push([o,i,n])}}for(const[e,t]of g){let i=[];for(let[o,s,a]of t)for(let[t,l]of a){let a=c(e),p=c(l);if(p=p.concat(u(p,r.tailwindConfig.separator)),a.some(e=>p.includes(e)))throw l.error(`You cannot \`@apply\` the \`${o}\` utility here because it creates a circular dependency.`);let h=n.default.root({nodes:[l.clone()]});("atrule"!==l.type||"atrule"===l.type&&"keyframes"!==l.name)&&h.walkRules(r=>{c(r).some(e=>e===o)?(r.selector=d(e.selector,r.selector,o),r.walkDecls(e=>{e.important=t.important||s})):r.remove()}),i.push([{...t,sort:t.sort|r.layerOrder[t.layer]},h.nodes[0]])}let o=i.sort(([e],[t])=>s.default(e.sort-t.sort)).map(e=>e[1]);e.after(o)}for(let e of l)e.parent.nodes.length>1?e.remove():e.parent.remove();e(t,r)}}(t,e)}};var n=l(r(44633)),i=l(r(32137)),o=r(58754),s=l(r(88663)),a=l(r(52850));function l(e){return e&&e.__esModule?e:{default:e}}function c(e){let t=new Set;return n.default.root({nodes:[e.clone()]}).walkRules(e=>{i.default(e=>{e.walkClasses(e=>{t.add(e.value)})}).processSync(e.selector)}),Array.from(t)}function u(e,t){let r=new Set;for(let n of e)r.add(n.split(t).pop());return Array.from(r)}function p(e,t){let r=e.tailwindConfig.prefix;return"function"==typeof r?r(t):r+t}function h(e){let t=e.split(/[\s\t\n]+/g);return"!important"===t[t.length-1]?[t.slice(0,-1),!0]:[t,!1]}},50427:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return t=>{let r={base:null,components:null,utilities:null,variants:null};if(t.walkAtRules(e=>{"tailwind"===e.name&&Object.keys(r).includes(e.params)&&(r[e.params]=e)}),Object.values(r).every(e=>null===e))return t;let n=new Set(["*"]),l=new Set;u.DEBUG&&console.time("Reading changed files");for(let{content:t,extension:r}of e.changedContent){let i=f(e.tailwindConfig,r),o=d(e.tailwindConfig,r);m(i(t),o,n,l)}let c=e.classCache.size;u.DEBUG&&console.time("Generate rules");let p=o.generateRules(n,e);if(u.DEBUG&&console.timeEnd("Generate rules"),u.DEBUG&&console.time("Build stylesheet"),null===e.stylesheetCache||e.classCache.size!==c){for(let t of p)e.ruleCache.add(t);e.stylesheetCache=function(e,t){let r=e.sort(([e],[t])=>s.default(e-t)),n={base:new Set,defaults:new Set,components:new Set,utilities:new Set,variants:new Set,user:new Set};for(let[e,i]of r)e>=t.minimumScreen?n.variants.add(i):e&t.layerOrder.base?n.base.add(i):e&t.layerOrder.defaults?n.defaults.add(i):e&t.layerOrder.components?n.components.add(i):e&t.layerOrder.utilities?n.utilities.add(i):e&t.layerOrder.user&&n.user.add(i);return n}([...e.ruleCache],e)}u.DEBUG&&console.timeEnd("Build stylesheet");let{defaults:h,base:g,components:y,utilities:b,variants:w}=e.stylesheetCache;r.base&&r.base.before(a.default([...g],r.base.source)),!1!==e.tailwindConfig[v]&&(r.base?r.base.after(a.default([...h],t.source)):t.prepend(a.default([...h],t.source))),r.base&&r.base.remove(),r.components&&(r.components.before(a.default([...y],r.components.source)),r.components.remove()),r.utilities&&(r.utilities.before(a.default([...b],r.utilities.source)),r.utilities.remove()),r.variants?(r.variants.before(a.default([...w],r.variants.source)),r.variants.remove()):t.append(a.default([...w],t.source)),u.DEBUG&&(console.log("Potential classes: ",n.size),console.log("Active contexts: ",i.contextSourcesMap.size)),e.changedContent=[],t.walkAtRules("layer",e=>{Object.keys(r).includes(e.params)&&e.remove()})}},t.DEFAULTS_LAYER=void 0;var n=c(r(1541)),i=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};n.get||n.set?Object.defineProperty(t,r,n):t[r]=e[r]}return t.default=e,t}(r(56144)),o=r(58754),s=c(r(88663)),a=c(r(81640)),l=r(73023);function c(e){return e&&e.__esModule?e:{default:e}}let u=i.env;const p={DEFAULT:l.defaultExtractor},h={DEFAULT:e=>e,svelte:e=>e.replace(/(?:^|\s)class:/g," ")};function d(e,t){let r=e.content.extract;return r[t]||r.DEFAULT||p[t]||p.DEFAULT}function f(e,t){let r=e.content.transform;return r[t]||r.DEFAULT||h[t]||h.DEFAULT}let g=new WeakMap;function m(e,t,r,i){g.has(t)||g.set(t,new n.default({maxSize:25e3}));for(let n of e.split("\n"))if(n=n.trim(),!i.has(n))if(i.add(n),g.get(t).has(n))for(let e of g.get(t).get(n))r.add(e);else{let e=t(n).filter(e=>"!*"!==e),i=new Set(e);for(let e of i)r.add(e);g.get(t).set(n,i)}}const v=Symbol("defaults-layer");t.DEFAULTS_LAYER=v},58754:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.generateRules=t.resolveMatches=void 0;var n=f(r(44633)),i=f(r(32137)),o=f(r(82912)),s=f(r(70270)),a=f(r(66506)),l=r(75784),c=f(r(72962)),u=r(92964),p=r(12301),h=r(81991),d=f(r(79218));function f(e){return e&&e.__esModule?e:{default:e}}let g=i.default(e=>e.first.filter(({type:e})=>"class"===e).pop().value);function m(e){return g.transformSync(e)}function v(e,t){if(0===e.length||""===t.tailwindConfig.prefix)return e;for(let r of e){let[e]=r;if(e.options.respectPrefix){let e=n.default.root({nodes:[r[1].clone()]});e.walkRules(e=>{e.selector=a.default(t.tailwindConfig.prefix,e.selector)}),r[1]=e.nodes[0]}}return e}function y(e){if(0===e.length)return e;let t=[];for(let[r,i]of e){let e=n.default.root({nodes:[i.clone()]});e.walkRules(e=>{e.selector=l.updateAllClasses(e.selector,e=>"!"+e),e.walkDecls(e=>e.important=!0)}),t.push([{...r,important:!0},e.nodes[0]])}return t}function b(e,t,r){if(0===t.length)return t;if(r.variantMap.has(e)){let l=r.variantMap.get(e),c=[];for(let[u,p]of t){if("user"===u.layer)continue;let t=n.default.root({nodes:[p.clone()]});for(let[n,p]of l){let l=t.clone(),h=[],d=new Map;function o(){d.size>0||l.walkRules(e=>d.set(e,e.selector))}function s(e){return o(),l.each(t=>{"rule"===t.type&&(t.selectors=t.selectors.map(t=>e({get className(){return m(t)},selector:t})))}),l}let f=p({get container(){return o(),l},separator:r.tailwindConfig.separator,modifySelectors:s,wrap(e){let t=l.nodes;l.removeAll(),e.append(t),l.append(e)},format(e){h.push(e)}});if("string"==typeof f&&h.push(f),null===f)continue;var a;d.size>0&&l.walkRules(t=>{if(!d.has(t))return;let n=d.get(t);if(n===t.selector)return;let o=t.selector,s=i.default(t=>{t.walkClasses(t=>{t.value=`${e}${r.tailwindConfig.separator}${t.value}`})}).processSync(n);h.push(o.replace(s,"&")),t.selector=n});let g=[{...u,sort:n|u.sort,collectedFormats:(null!==(a=u.collectedFormats)&&void 0!==a?a:[]).concat(h)},l.nodes[0]];c.push(g)}}return c}return[]}function w(e,t,r={}){return s.default(e)||Array.isArray(e)?Array.isArray(e)?w(e[0],t,e[1]):(t.has(e)||t.set(e,o.default(e)),[t.get(e),r]):[[e],r]}const _=/^[a-z_-]/;function x(e,t){var r;let[,i,o]=null!==(r=e.match(/^\[([a-zA-Z0-9-_]+):(\S+)\]$/))&&void 0!==r?r:[];if(void 0===o)return null;if(s=i,!_.test(s))return null;var s;if(!d.default(o))return null;let a=h.normalize(o);return function(e,t){try{return n.default.parse(`a{${e}:${t}}`).toResult(),!0}catch(e){return!1}}(i,a)?[[{sort:t.arbitraryPropertiesSort,layer:"utilities"},()=>({[p.asClass(e)]:{[i]:a}})]]:null}function*k(e,t){t.candidateRuleMap.has(e)&&(yield[t.candidateRuleMap.get(e),"DEFAULT"]),yield*function*(e){null!==e&&(yield[e,"DEFAULT"])}(x(e,t));let r=e,n=!1;const i=t.tailwindConfig.prefix,o=i.length;"-"===r[o]&&(n=!0,r=i+r.slice(o+1)),n&&t.candidateRuleMap.has(r)&&(yield[t.candidateRuleMap.get(r),"-DEFAULT"]);for(let[e,i]of function*e(t,r=1/0){if(r<0)return;let n;if(r===1/0&&t.endsWith("]")){let e=t.indexOf("[");n=["-","/"].includes(t[e-1])?e-1:-1}else n=t.lastIndexOf("-",r);if(n<0)return;let i=t.slice(0,n),o=t.slice(n+1);yield[i,o],yield*e(t,n-1)}(r))t.candidateRuleMap.has(e)&&(yield[t.candidateRuleMap.get(e),n?"-"+i:i])}function*S(e,t){let r=t.tailwindConfig.separator,[i,...o]=function(e,t){return e.split(new RegExp(`\\${t}(?![^[]*\\])`,"g"))}(e,r).reverse(),s=!1;i.startsWith("!")&&(s=!0,i=i.slice(1));for(let r of k(i,t)){let i=[],h=new Map,[d,f]=r,g=1===d.length;for(let[e,r]of d){let n=[];if("function"==typeof r)for(let i of[].concat(r(f,{isOnlyPlugin:g}))){let[r,o]=w(i,t.postCssNodeCache);for(let t of r)n.push([{...e,options:{...e.options,...o}},t])}else if("DEFAULT"===f||"-DEFAULT"===f){let i=r,[o,s]=w(i,t.postCssNodeCache);for(let t of o)n.push([{...e,options:{...e.options,...s}},t])}var a;if(n.length>0)h.set(n,null===(a=e.options)||void 0===a?void 0:a.type),i.push(n)}if((p=f).startsWith("[")&&p.endsWith("]")&&i.length>1){var l;let t=i.map(e=>new Set([...null!==(l=h.get(e))&&void 0!==l?l:[]]));for(let e of t)for(let r of e){let n=!1;for(let i of t)e!==i&&i.has(r)&&(i.delete(r),n=!0);n&&e.delete(r)}let r=[];for(let[n,o]of t.entries())for(let t of o){let o=i[n].map(([,e])=>e).flat().map(e=>e.toString().split("\n").slice(1,-1).map(e=>e.trim()).map(e=>" "+e).join("\n")).join("\n\n");r.push(` Use \`${e.replace("[",`[${t}:`)}\` for \`${o.trim()}\``);break}c.default.warn([`The class \`${e}\` is ambiguous and matches multiple utilities.`,...r,`If this is content and not a class, replace it with \`${e.replace("[","[").replace("]","]")}\` to silence this warning.`])}else{i=v(i.flat(),t),s&&(i=y(i));for(let e of o)i=b(e,i,t);for(let r of i){if(r[0].collectedFormats){let i=u.formatVariantSelector("&",...r[0].collectedFormats),o=n.default.root({nodes:[r[1].clone()]});o.walkRules(r=>{E(r)||(r.selector=u.finalizeSelector(i,{selector:r.selector,candidate:e,context:t}))}),r[1]=o.nodes[0]}yield r}}}var p}function E(e){return e.parent&&"atrule"===e.parent.type&&"keyframes"===e.parent.name}t.resolveMatches=S,t.generateRules=function(e,t){let r=[];for(let n of e){if(t.notClassCache.has(n))continue;if(t.classCache.has(n)){r.push(t.classCache.get(n));continue}let e=Array.from(S(n,t));0!==e.length?(t.classCache.set(n,e),r.push(e)):t.notClassCache.add(n)}let i=!0===(o=t.tailwindConfig.important)?e=>{e.walkDecls(e=>{"rule"!==e.parent.type||E(e.parent)||(e.important=!0)})}:"string"==typeof o?e=>{e.selectors=e.selectors.map(e=>`${o} ${e}`)}:void 0;var o;return r.flat(1).map(([{sort:e,layer:r,options:o},s])=>{if(o.respectImportant&&i){let e=n.default.root({nodes:[s.clone()]});e.walkRules(e=>{E(e)||i(e)}),s=e.nodes[0]}return[e|t.layerOrder[r],s]})}},6502:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const t=[l(e)];for(const e of t)e.requires.filter(e=>e.startsWith("./")||e.startsWith("../")).forEach(r=>{try{const n=i.default.dirname(e.file),s=l(o.default.sync(r,{basedir:n}));t.push(s)}catch(e){}});return t};var n=a(r(35747)),i=a(r(85622)),o=a(r(72305)),s=a(r(29890));function a(e){return e&&e.__esModule?e:{default:e}}function l(e){const t=n.default.readFileSync(e,"utf-8");return{file:e,requires:s.default(t)}}},54458:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let t=new Set,r=new Set,n=new Set;if(e.walkAtRules(e=>{"apply"===e.name&&n.add(e),"import"===e.name&&('"tailwindcss/base"'===e.params||"'tailwindcss/base'"===e.params?(e.name="tailwind",e.params="base"):'"tailwindcss/components"'===e.params||"'tailwindcss/components'"===e.params?(e.name="tailwind",e.params="components"):'"tailwindcss/utilities"'===e.params||"'tailwindcss/utilities'"===e.params?(e.name="tailwind",e.params="utilities"):'"tailwindcss/screens"'!==e.params&&"'tailwindcss/screens'"!==e.params&&'"tailwindcss/variants"'!==e.params&&"'tailwindcss/variants'"!==e.params||(e.name="tailwind",e.params="variants")),"tailwind"===e.name&&("screens"===e.params&&(e.params="variants"),t.add(e.params)),["layer","responsive","variants"].includes(e.name)&&(["responsive","variants"].includes(e.name)&&i.default.warn(e.name+"-at-rule-deprecated",[`The \`@${e.name}\` directive has been deprecated in Tailwind CSS v3.0.`,"Use `@layer utilities` or `@layer components` instead."]),r.add(e))}),!t.has("base")||!t.has("components")||!t.has("utilities"))for(let e of r)if("layer"===e.name&&["base","components","utilities"].includes(e.params)){if(!t.has(e.params))throw e.error(`\`@layer ${e.params}\` is used but no matching \`@tailwind ${e.params}\` directive is present.`)}else if("responsive"===e.name){if(!t.has("utilities"))throw e.error("`@responsive` is used but `@tailwind utilities` is missing.")}else if("variants"===e.name&&!t.has("utilities"))throw e.error("`@variants` is used but `@tailwind utilities` is missing.");return{tailwindDirectives:t,applyDirectives:n}};var n,i=(n=r(72962))&&n.__esModule?n:{default:n}},65746:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function({tailwindConfig:e}){return t=>{let r=new Map,i=new Set;t.walkAtRules("defaults",e=>{if(e.nodes&&e.nodes.length>0)return void i.add(e);let t=e.params;r.has(t)||r.set(t,new Set),r.get(t).add(e.parent),e.remove()});for(let t of i){let i=new Map;var s;let l=null!==(s=r.get(t.params))&&void 0!==s?s:[];for(let e of l)for(let t of u(e.selector)){let e=t.includes(":-")||t.includes("::-")?t:"__DEFAULT__";var a;let r=null!==(a=i.get(e))&&void 0!==a?a:new Set;i.set(e,r),r.add(t)}if(0!==i.size){if(o.flagEnabled(e,"optimizeUniversalDefaults"))for(let[,e]of i){let r=n.default.rule();r.selectors=[...e],r.append(t.nodes.map(e=>e.clone())),t.before(r)}else{let e=n.default.rule();e.selectors=["*","::before","::after"],e.append(t.nodes),t.before(e)}t.remove()}else t.remove()}}},t.elementSelectorParser=void 0;var n=s(r(44633)),i=s(r(32137)),o=r(40197);function s(e){return e&&e.__esModule?e:{default:e}}let a={id:e=>i.default.attribute({attribute:"id",operator:"=",value:e.value,quoteMark:'"'})};let l=i.default(e=>e.map(e=>function(e){let t=e.filter(e=>"pseudo"!==e.type||(e.nodes.length>0||(e.value.startsWith("::")||[":before",":after",":first-line",":first-letter"].includes(e.value)))).reverse(),r=new Set(["tag","class","id","attribute"]),n=t.findIndex(e=>r.has(e.type));if(-1===n)return t.reverse().join("").trim();let o=t[n],s=a[o.type]?a[o.type](o):o;t=t.slice(0,n);let l=t.findIndex(e=>"combinator"===e.type&&">"===e.value);return-1!==l&&(t.splice(0,l),t.unshift(i.default.universal())),[s,...t.reverse()].join("").trim()}(e.split(e=>"combinator"===e.type&&" "===e.value).pop())));t.elementSelectorParser=l;let c=new Map;function u(e){return c.has(e)||c.set(e,l.transformSync(e)),c.get(e)}},40865:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getFileModifiedMap=A,t.createContext=P,t.getContext=function(e,t,r,n,i,o){let s,a=t.opts.from,l=null!==n;if(v.env.DEBUG&&console.log("Source path:",a),l&&I.has(a))s=I.get(a);else if(M.has(i)){let e=M.get(i);D.get(e).add(a),I.set(a,e),s=e}if(s){if(!R([...o],A(s)))return[s,!1]}if(I.has(a)){let e=I.get(a);if(D.has(e)&&(D.get(e).delete(a),0===D.get(e).size)){D.delete(e);for(let[t,r]of M)r===e&&M.delete(t);for(let t of e.disposables.splice(0))t(e)}}v.env.DEBUG&&console.log("Setting up new context...");let c=P(r,[],e);R([...o],A(c)),M.set(i,c),I.set(a,c),D.has(c)||D.set(c,new Set);return D.get(c).add(a),[c,!0]};var n=x(r(35747)),i=x(r(78835)),o=x(r(44633)),s=x(r(44627)),a=x(r(32137)),l=x(r(93674)),c=x(r(82912)),u=x(r(66506)),p=x(r(70270)),h=x(r(52850)),d=k(r(12301)),f=r(75784),g=x(r(88663)),m=r(68361),v=k(r(56144)),y=r(25682),b=x(r(72962)),w=x(r(17717)),_=x(r(79218));function x(e){return e&&e.__esModule?e:{default:e}}function k(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};n.get||n.set?Object.defineProperty(t,r,n):t[r]=e[r]}return t.default=e,t}function S(e){return a.default(e=>{let t=[];return e.walkClasses(e=>{t.push(e.value)}),t}).transformSync(e)}function E(e){return function e(t){return Array.isArray(t)?t.flatMap(e=>!Array.isArray(e)&&!p.default(e)?e:c.default(e)):e([t])}(e).flatMap(e=>{let t=new Map,r=function(e){let t=[];if("rule"===e.type){for(let r of e.selectors){let e=S(r);if(0===e.length)return[];t=[...t,...e]}return t}return"atrule"===e.type&&e.walkRules(e=>{t=[...t,...e.selectors.flatMap(e=>S(e))]}),t}(e);return 0===r.length?[["*",e]]:r.map(r=>(t.has(e)||t.set(e,e),[r,t.get(e)]))})}function C(e,t,{variantList:r,variantMap:n,offsets:i,classList:a}){function c(t,r){return t?s.default(e,t,r):e}function p(e,r){return"*"===e?"*":r.respectPrefix?t.tailwindConfig.prefix+e:e}return{addVariant(e,t,i={}){t=[].concat(t).map(e=>{if("string"!=typeof e)return({modifySelectors:t,container:r,separator:n})=>e({modifySelectors:t,container:r,separator:n});let t=function e(t){if(t.includes("{")){if(!function(e){let t=0;for(let r of e)if("{"===r)t++;else if("}"===r&&--t<0)return!1;return 0===t}(t))throw new Error("Your { and } are unbalanced.");return t.split(/{(.*)}/gim).flatMap(t=>e(t)).filter(Boolean)}return[t.trim()]}(e=e.replace(/\n+/g,"").replace(/\s{1,}/g," ").trim()).map(e=>{if(!e.startsWith("@"))return({format:t})=>t(e);let[,t,r]=/@(.*?) (.*)/g.exec(e);return({wrap:e})=>e(o.default.atRule({name:t,params:r}))}).reverse();return e=>{for(let r of t)r(e)}}),function(e,t,{before:r=[]}={}){if((r=[].concat(r)).length<=0)return void e.push(t);let n=e.length-1;for(let t of r){let r=e.indexOf(t);-1!==r&&(n=Math.min(n,r))}e.splice(n,0,t)}(r,e,i),n.set(e,t)},postcss:o.default,prefix:function(t){return u.default(e.prefix,t)},e:h.default,config:c,theme(e,t){const[r,...n]=y.toPath(e),i=c(["theme",r,...n],t);return l.default(r)(i)},corePlugins:t=>Array.isArray(e.corePlugins)?e.corePlugins.includes(t):c(["corePlugins",t],!0),variants:()=>[],addUserCss(e){for(let[r,n]of E(e)){let e=i.user++;t.candidateRuleMap.has(r)||t.candidateRuleMap.set(r,[]),t.candidateRuleMap.get(r).push([{sort:e,layer:"user"},n])}},addBase(e){for(let[r,n]of E(e)){let e=p(r,{}),o=i.base++;t.candidateRuleMap.has(e)||t.candidateRuleMap.set(e,[]),t.candidateRuleMap.get(e).push([{sort:o,layer:"base"},n])}},addDefaults(e,r){const n={["@defaults "+e]:r};for(let[e,r]of E(n)){let n=p(e,{}),o=i.base++;t.candidateRuleMap.has(n)||t.candidateRuleMap.set(n,[]),t.candidateRuleMap.get(n).push([{sort:o,layer:"defaults"},r])}},addComponents(e,r){r=Object.assign({},{respectPrefix:!0,respectImportant:!1},Array.isArray(r)?{}:r);for(let[n,o]of E(e)){let e=p(n,r),s=i.components++;a.add(e),t.candidateRuleMap.has(e)||t.candidateRuleMap.set(e,[]),t.candidateRuleMap.get(e).push([{sort:s,layer:"components",options:r},o])}},addUtilities(e,r){r=Object.assign({},{respectPrefix:!0,respectImportant:!0},Array.isArray(r)?{}:r);for(let[n,o]of E(e)){let e=p(n,r),s=i.utilities++;a.add(e),t.candidateRuleMap.has(e)||t.candidateRuleMap.set(e,[]),t.candidateRuleMap.get(e).push([{sort:s,layer:"utilities",options:r},o])}},matchUtilities:function(r,n){n={respectPrefix:!0,respectImportant:!0,...n};let o=i.utilities++;for(let i in r){let l=p(i,n),c=r[i];function s(t,{isOnlyPlugin:r}){let{type:o="any"}=n;o=[].concat(o);let[s,a]=f.coerceValue(o,t,n,e);return void 0===s?[]:(o.includes(a)||r)&&_.default(s)?[].concat(c(s)).filter(Boolean).map(e=>({[d.default(i,t)]:e})):[]}a.add([l,n]);let u=[{sort:o,layer:"utilities",options:n},s];t.candidateRuleMap.has(l)||t.candidateRuleMap.set(l,[]),t.candidateRuleMap.get(l).push(u)}},matchComponents:function(r,n){n={respectPrefix:!0,respectImportant:!1,...n};let o=i.components++;for(let i in r){let l=p(i,n),c=r[i];function s(t,{isOnlyPlugin:r}){let{type:o="any"}=n;o=[].concat(o);let[s,a]=f.coerceValue(o,t,n,e);if(void 0===s)return[];if(!o.includes(a)){if(!r)return[];b.default.warn([`Unnecessary typehint \`${a}\` in \`${i}-${t}\`.`,`You can safely update it to \`${i}-${t.replace(a+":","")}\`.`])}return _.default(s)?[].concat(c(s)).filter(Boolean).map(e=>({[d.default(i,t)]:e})):[]}a.add([l,n]);let u=[{sort:o,layer:"components",options:n},s];t.candidateRuleMap.has(l)||t.candidateRuleMap.set(l,[]),t.candidateRuleMap.get(l).push(u)}}}}let T=new WeakMap;function A(e){return T.has(e)||T.set(e,new Map),T.get(e)}function R(e,t){let r=!1;for(let s of e){var o;if(!s)continue;let e=i.default.parse(s),a=e.hash?e.href.replace(e.hash,""):e.href;a=e.search?a.replace(e.search,""):a;let l=null===(o=n.default.statSync(decodeURIComponent(a),{throwIfNoEntry:!1}))||void 0===o?void 0:o.mtimeMs;l&&((!t.has(s)||l>t.get(s))&&(r=!0),t.set(s,l))}return r}function O(e){let t=[];return e.each(e=>{"atrule"===e.type&&["responsive","variants"].includes(e.name)&&(e.name="layer",e.params="utilities")}),e.walkAtRules("layer",e=>{if(function e(t){t.walkAtRules(t=>{["responsive","variants"].includes(t.name)&&(e(t),t.before(t.nodes),t.remove())})}(e),"base"===e.params){for(let r of e.nodes)t.push((function({addBase:e}){e(r,{respectPrefix:!1})}));e.remove()}else if("components"===e.params){for(let r of e.nodes)t.push((function({addComponents:e}){e(r,{respectPrefix:!1})}));e.remove()}else if("utilities"===e.params){for(let r of e.nodes)t.push((function({addUtilities:e}){e(r,{respectPrefix:!1})}));e.remove()}}),e.walkRules(e=>{t.push((function({addUserCss:t}){t(e,{respectPrefix:!1})}))}),t}function P(e,t=[],r=o.default.root()){let n={disposables:[],ruleCache:new Set,classCache:new Map,applyClassCache:new Map,notClassCache:new Set,postCssNodeCache:new Map,candidateRuleMap:new Map,tailwindConfig:e,changedContent:t,variantMap:new Map,stylesheetCache:null};return function(e,t){let r=[],n=new Map,i={defaults:0n,base:0n,components:0n,utilities:0n,user:0n},o=new Set,s=C(t.tailwindConfig,t,{variantList:r,variantMap:n,offsets:i,classList:o});for(let t of e)if(Array.isArray(t))for(let e of t)e(s);else null==t||t(s);let a=[i.base,i.defaults,i.components,i.utilities,i.user].reduce((e,t)=>t>e?t:e),l=BigInt(a.toString(2).length);t.arbitraryPropertiesSort=(1n<{let r=n.get(e).length,i=1n<g.default(e-t))),t.minimumScreen=[...t.variantOrder.values()].shift();for(let[e,r]of n.entries()){let n=t.variantOrder.get(e);t.variantMap.set(e,r.map((e,t)=>[n<0){let e=[];for(let r of p)"string"!=typeof r?r instanceof RegExp?b.default.warn("root-regex",["Regular expressions in `safelist` work differently in Tailwind CSS v3.0.","Update your `safelist` configuration to eliminate this warning."]):e.push(r):t.changedContent.push({content:r,extension:"html"});if(e.length>0){let r=new Map;for(let n of o){let i=Array.isArray(n)?(()=>{let[e,t]=n;var r;let i=Object.keys(null!==(r=null==t?void 0:t.values)&&void 0!==r?r:{}).map(t=>d.formatClass(e,t));return(null==t?void 0:t.supportsNegativeValues)&&(i=[...i,...i.map(e=>"-"+e)]),i})():[n];for(let n of i)for(let{pattern:i,variants:o=[]}of e)if(i.lastIndex=0,r.has(i)||r.set(i,0),i.test(n)){r.set(i,r.get(i)+1),t.changedContent.push({content:n,extension:"html"});for(let e of o)t.changedContent.push({content:e+t.tailwindConfig.separator+n,extension:"html"})}}for(let[e,t]of r.entries())0===t&&b.default.warn([`The safelist pattern \`${e}\` doesn't match any Tailwind CSS classes.`,"Fix this pattern or remove it from your `safelist` configuration."])}}t.getClassList=function(){let e=[];for(let r of o)if(Array.isArray(r)){let[n,i]=r,o=[];var t;for(let[r,s]of Object.entries(null!==(t=null==i?void 0:i.values)&&void 0!==t?t:{}))e.push(d.formatClass(n,r)),(null==i?void 0:i.supportsNegativeValues)&&w.default(s)&&o.push(d.formatClass(n,"-"+r));e.push(...o)}else e.push(r);return e}}(function(e,t){let r=Object.entries({...m.variantPlugins,...m.corePlugins}).map(([t,r])=>e.tailwindConfig.corePlugins.includes(t)?r:null).filter(Boolean),n=e.tailwindConfig.plugins.map(e=>(e.__isOptionsFunction&&(e=e()),"function"==typeof e?e:e.handler)),i=O(t);return[...r,...[m.variantPlugins.pseudoElementVariants,m.variantPlugins.pseudoClassVariants],...n,...[m.variantPlugins.directionVariants,m.variantPlugins.reducedMotionVariants,m.variantPlugins.darkVariants,m.variantPlugins.printVariant,m.variantPlugins.screenVariants,m.variantPlugins.orientationVariants],...i]}(n,r),n),n}let I=v.contextMap,M=v.configContextMap,D=v.contextSourcesMap},63823:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return({tailwindDirectives:t,registerDependency:r,applyDirectives:s})=>(g,y)=>{let[b,w,_,x]=function(e){let t=p.default(e);if(null!==t){let[e,r,i,o]=m.get(t)||[],s=c.default(t).map(e=>e.file),a=!1,p=new Map;for(let e of s){let t=n.default.statSync(e).mtimeMs;p.set(e,t),(!o||!o.has(e)||t>o.get(e))&&(a=!0)}if(!a)return[e,t,r,i];for(let e of s)delete require.cache[e];let h=u.default(require(t)),d=l.default(h);return m.set(t,[h,d,s,p]),[h,t,d,s]}let r=u.default(void 0===e.config?e:e.config);return[r,null,l.default(r),[]]}(e),k=new Set(x);if(t.size>0||s.size>0){k.add(y.opts.from);for(let e of y.messages)"dependency"===e.type&&k.add(e.file)}let[S]=d.getContext(g,y,b,w,_,k),E=function(e,t){if(v.has(e))return v.get(e);let r=t.content.files.filter(e=>"string"==typeof e).map(e=>a.default(e));return v.set(e,r).get(e)}(S,b);if(t.size>0||s.size>0){let e=d.getFileModifiedMap(S);for(let e of E){let t=f.default(e);t&&r(t)}for(let t of function(e,t,r){let s=e.tailwindConfig.content.files.filter(e=>"string"==typeof e.raw).map(({raw:e,extension:t="html"})=>({content:e,extension:t}));for(let e of function(e,t){let r=new Set;h.env.DEBUG&&console.time("Finding changed files");let i=o.default.sync(e);for(let e of i){let i=t.has(e)?t.get(e):-1/0,o=n.default.statSync(e).mtimeMs;o>i&&(r.add(e),t.set(e,o))}return h.env.DEBUG&&console.timeEnd("Finding changed files"),r}(t,r)){let t=n.default.readFileSync(e,"utf8"),r=i.default.extname(e).slice(1);s.push({content:t,extension:r})}return s}(S,E,e))S.changedContent.push(t)}for(let e of x)r({type:"dependency",file:e});return S}};var n=g(r(35747)),i=g(r(85622)),o=g(r(8578)),s=g(r(1541)),a=g(r(4448)),l=g(r(88700)),c=g(r(6502)),u=g(r(15414)),p=g(r(23151)),h=r(56144),d=r(40865),f=g(r(85942));function g(e){return e&&e.__esModule?e:{default:e}}let m=new s.default({maxSize:100}),v=new WeakMap},56144:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resolveDebug=s,t.contextSourcesMap=t.configContextMap=t.contextMap=t.env=void 0;const r={NODE_ENV:process.env.NODE_ENV,DEBUG:s(process.env.DEBUG)};t.env=r;const n=new Map;t.contextMap=n;const i=new Map;t.configContextMap=i;const o=new Map;function s(e){if(void 0===e)return!1;if("true"===e||"1"===e)return!0;if("false"===e||"0"===e)return!1;if("*"===e)return!0;let t=e.split(",").map(e=>e.split(":")[0]);return!t.includes("-tailwindcss")&&!!t.includes("tailwindcss")}t.contextSourcesMap=o},29576:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function({tailwindConfig:{theme:e}}){return function(t){t.walkAtRules("screen",t=>{let r=t.params,n=i.normalizeScreens(e.screens).find(({name:e})=>e===r);if(!n)throw t.error(`No \`${r}\` screen found.`);t.name="media",t.params=o.default(n)})}};var n,i=r(92285),o=(n=r(11384))&&n.__esModule?n:{default:n}},60386:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return function(t,r){let{tailwindDirectives:f,applyDirectives:g}=n.default(t),m=e({tailwindDirectives:f,applyDirectives:g,registerDependency(e){r.messages.push({plugin:"tailwindcss",parent:r.opts.from,...e})},createContext:(e,r)=>h.createContext(e,r,t)})(t,r);if("-"===m.tailwindConfig.separator)throw new Error("The '-' character cannot be used as a custom separator in JIT mode due to parsing ambiguity. Please use another character like '_' instead.");d.issueFlagNotices(m.tailwindConfig),p.default(m)(t,r),i.default(m)(t,r),o.default(m)(t,r),s.default(m)(t,r),a.default(m)(t,r),l.default(m)(t,r),c.default(m)(t,r),u.default(m)(t,r)}};var n=f(r(54458)),i=f(r(50427)),o=f(r(31034)),s=f(r(31581)),a=f(r(29576)),l=f(r(65746)),c=f(r(35285)),u=f(r(21761)),p=f(r(38805)),h=r(40865),d=r(40197);function f(e){return e&&e.__esModule?e:{default:e}}},77574:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,i=(n=r(72962))&&n.__esModule?n:{default:n};function o({version:e,from:t,to:r}){i.default.warn(t+"-color-renamed",[`As of Tailwind CSS ${e}, \`${t}\` has been renamed to \`${r}\`.`,"Update your configuration file to silence this warning."])}var s={inherit:"inherit",current:"currentColor",transparent:"transparent",black:"#000",white:"#fff",slate:{50:"#f8fafc",100:"#f1f5f9",200:"#e2e8f0",300:"#cbd5e1",400:"#94a3b8",500:"#64748b",600:"#475569",700:"#334155",800:"#1e293b",900:"#0f172a"},gray:{50:"#f9fafb",100:"#f3f4f6",200:"#e5e7eb",300:"#d1d5db",400:"#9ca3af",500:"#6b7280",600:"#4b5563",700:"#374151",800:"#1f2937",900:"#111827"},zinc:{50:"#fafafa",100:"#f4f4f5",200:"#e4e4e7",300:"#d4d4d8",400:"#a1a1aa",500:"#71717a",600:"#52525b",700:"#3f3f46",800:"#27272a",900:"#18181b"},neutral:{50:"#fafafa",100:"#f5f5f5",200:"#e5e5e5",300:"#d4d4d4",400:"#a3a3a3",500:"#737373",600:"#525252",700:"#404040",800:"#262626",900:"#171717"},stone:{50:"#fafaf9",100:"#f5f5f4",200:"#e7e5e4",300:"#d6d3d1",400:"#a8a29e",500:"#78716c",600:"#57534e",700:"#44403c",800:"#292524",900:"#1c1917"},red:{50:"#fef2f2",100:"#fee2e2",200:"#fecaca",300:"#fca5a5",400:"#f87171",500:"#ef4444",600:"#dc2626",700:"#b91c1c",800:"#991b1b",900:"#7f1d1d"},orange:{50:"#fff7ed",100:"#ffedd5",200:"#fed7aa",300:"#fdba74",400:"#fb923c",500:"#f97316",600:"#ea580c",700:"#c2410c",800:"#9a3412",900:"#7c2d12"},amber:{50:"#fffbeb",100:"#fef3c7",200:"#fde68a",300:"#fcd34d",400:"#fbbf24",500:"#f59e0b",600:"#d97706",700:"#b45309",800:"#92400e",900:"#78350f"},yellow:{50:"#fefce8",100:"#fef9c3",200:"#fef08a",300:"#fde047",400:"#facc15",500:"#eab308",600:"#ca8a04",700:"#a16207",800:"#854d0e",900:"#713f12"},lime:{50:"#f7fee7",100:"#ecfccb",200:"#d9f99d",300:"#bef264",400:"#a3e635",500:"#84cc16",600:"#65a30d",700:"#4d7c0f",800:"#3f6212",900:"#365314"},green:{50:"#f0fdf4",100:"#dcfce7",200:"#bbf7d0",300:"#86efac",400:"#4ade80",500:"#22c55e",600:"#16a34a",700:"#15803d",800:"#166534",900:"#14532d"},emerald:{50:"#ecfdf5",100:"#d1fae5",200:"#a7f3d0",300:"#6ee7b7",400:"#34d399",500:"#10b981",600:"#059669",700:"#047857",800:"#065f46",900:"#064e3b"},teal:{50:"#f0fdfa",100:"#ccfbf1",200:"#99f6e4",300:"#5eead4",400:"#2dd4bf",500:"#14b8a6",600:"#0d9488",700:"#0f766e",800:"#115e59",900:"#134e4a"},cyan:{50:"#ecfeff",100:"#cffafe",200:"#a5f3fc",300:"#67e8f9",400:"#22d3ee",500:"#06b6d4",600:"#0891b2",700:"#0e7490",800:"#155e75",900:"#164e63"},sky:{50:"#f0f9ff",100:"#e0f2fe",200:"#bae6fd",300:"#7dd3fc",400:"#38bdf8",500:"#0ea5e9",600:"#0284c7",700:"#0369a1",800:"#075985",900:"#0c4a6e"},blue:{50:"#eff6ff",100:"#dbeafe",200:"#bfdbfe",300:"#93c5fd",400:"#60a5fa",500:"#3b82f6",600:"#2563eb",700:"#1d4ed8",800:"#1e40af",900:"#1e3a8a"},indigo:{50:"#eef2ff",100:"#e0e7ff",200:"#c7d2fe",300:"#a5b4fc",400:"#818cf8",500:"#6366f1",600:"#4f46e5",700:"#4338ca",800:"#3730a3",900:"#312e81"},violet:{50:"#f5f3ff",100:"#ede9fe",200:"#ddd6fe",300:"#c4b5fd",400:"#a78bfa",500:"#8b5cf6",600:"#7c3aed",700:"#6d28d9",800:"#5b21b6",900:"#4c1d95"},purple:{50:"#faf5ff",100:"#f3e8ff",200:"#e9d5ff",300:"#d8b4fe",400:"#c084fc",500:"#a855f7",600:"#9333ea",700:"#7e22ce",800:"#6b21a8",900:"#581c87"},fuchsia:{50:"#fdf4ff",100:"#fae8ff",200:"#f5d0fe",300:"#f0abfc",400:"#e879f9",500:"#d946ef",600:"#c026d3",700:"#a21caf",800:"#86198f",900:"#701a75"},pink:{50:"#fdf2f8",100:"#fce7f3",200:"#fbcfe8",300:"#f9a8d4",400:"#f472b6",500:"#ec4899",600:"#db2777",700:"#be185d",800:"#9d174d",900:"#831843"},rose:{50:"#fff1f2",100:"#ffe4e6",200:"#fecdd3",300:"#fda4af",400:"#fb7185",500:"#f43f5e",600:"#e11d48",700:"#be123c",800:"#9f1239",900:"#881337"},get lightBlue(){return o({version:"v2.2",from:"lightBlue",to:"sky"}),this.sky},get warmGray(){return o({version:"v3.0",from:"warmGray",to:"stone"}),this.stone},get trueGray(){return o({version:"v3.0",from:"trueGray",to:"neutral"}),this.neutral},get coolGray(){return o({version:"v3.0",from:"coolGray",to:"gray"}),this.gray},get blueGray(){return o({version:"v3.0",from:"blueGray",to:"slate"}),this.slate}};t.default=s},26244:(e,t,r)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=((n=r(34138))&&n.__esModule?n:{default:n}).default;t.default=i},49907:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,i=r(81297),o=(n=r(65539))&&n.__esModule?n:{default:n};var s=i.cloneDeep(o.default);t.default=s},3375:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,i=r(81297),o=(n=r(65539))&&n.__esModule?n:{default:n};var s=i.cloneDeep(o.default.theme);t.default=s},15414:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(...e){let[,...t]=i.default(e[0]);return n.default([...e,...t])};var n=o(r(55646)),i=o(r(79968));function o(e){return e&&e.__esModule?e:{default:e}}},88663:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(e>0n)-(e<0n)}},11384:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(e=Array.isArray(e)?e:[e]).map(e=>e.values.map(e=>void 0!==e.raw?e.raw:[e.min&&`(min-width: ${e.min})`,e.max&&`(max-width: ${e.max})`].filter(Boolean).join(" and "))).join(", ")}},81297:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.cloneDeep=function e(t){if(Array.isArray(t))return t.map(t=>e(t));if("object"==typeof t&&null!==t)return Object.fromEntries(Object.entries(t).map(([t,r])=>[t,e(r)]));return t}},81640:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return e.map(e=>{let r=e.clone();return void 0!==t&&(r.source=t),r})}},52728:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseColor=function(e){if("string"!=typeof e)return null;if("transparent"===(e=e.trim()))return{mode:"rgb",color:["0","0","0"],alpha:"0"};if(e in i.default)return{mode:"rgb",color:i.default[e].map(e=>e.toString())};let t=e.replace(s,(e,t,r,n,i)=>["#",t,t,r,r,n,n,i?i+i:""].join("")).match(o);if(null!==t)return{mode:"rgb",color:[parseInt(t[1],16),parseInt(t[2],16),parseInt(t[3],16)].map(e=>e.toString()),alpha:t[4]?(parseInt(t[4],16)/255).toString():void 0};let r=e.match(c);var n,a;if(null!==r)return{mode:"rgb",color:[r[1],r[2],r[3]].map(e=>e.toString()),alpha:null===(n=r[4])||void 0===n||null===(a=n.toString)||void 0===a?void 0:a.call(n)};let l=e.match(u);var p,h;return null!==l?{mode:"hsl",color:[l[1],l[2],l[3]].map(e=>e.toString()),alpha:null===(p=l[4])||void 0===p||null===(h=p.toString)||void 0===h?void 0:h.call(p)}:null},t.formatColor=function({mode:e,color:t,alpha:r}){let n=void 0!==r;return`${e}(${t.join(" ")}${n?" / "+r:""})`};var n,i=(n=r(78679))&&n.__esModule?n:{default:n};let o=/^#([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})?$/i,s=/^#([a-f\d])([a-f\d])([a-f\d])([a-f\d])?$/i,a="(?:\\d+|\\d*\\.\\d+)%?",l="(?:\\s*,\\s*|\\s+)",c=new RegExp(`^rgba?\\(\\s*(${a})${l}(${a})${l}(${a})(?:\\s*[,/]\\s*(${a}))?\\s*\\)$`),u=new RegExp(`^hsla?\\(\\s*((?:${a})(?:deg|rad|grad|turn)?)${l}(${a})${l}(${a})(?:\\s*[,/]\\s*(${a}))?\\s*\\)$`)},69834:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(void 0===e)return t;return Array.isArray(e)?e:[...new Set(t.filter(t=>!1!==e&&!1!==e[t]).concat(Object.keys(e).filter(t=>!1!==e[t])))]}},34138:(e,t)=>{"use strict";function r(e,t){return{handler:e,config:t}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r.withOptions=function(e,t=(()=>({}))){const r=function(r){return{__options:r,handler:e(r),config:t(r)}};return r.__isOptionsFunction=!0,r.__pluginFunction=e,r.__configFunction=t,r};var n=r;t.default=n},40400:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t=[[e,[e]]],{filterDefault:r=!1,...n}={}){let o=i.default(e);return function({matchUtilities:i,theme:s}){for(let l of t){var a;i((Array.isArray(l[0])?l:[l]).reduce((e,[t,r])=>Object.assign(e,{[t]:e=>r.reduce((t,r)=>Array.isArray(r)?Object.assign(t,{[r[0]]:r[1]}):Object.assign(t,{[r]:o(e)}),{})}),{}),{...n,values:r?Object.fromEntries(Object.entries(null!==(a=s(e))&&void 0!==a?a:{}).filter(([e])=>"DEFAULT"!==e)):s(e)})}}};var n,i=(n=r(93674))&&n.__esModule?n:{default:n}},81991:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.normalize=l,t.url=c,t.number=function(e){return!isNaN(Number(e))||o.some(t=>new RegExp(`^${t}\\(.+?`).test(e))},t.percentage=u,t.length=h,t.lineWidth=function(e){return d.has(e)},t.shadow=function(e){let t=i.parseBoxShadowValue(l(e));for(let e of t)if(!e.valid)return!1;return!0},t.color=function(e){let t=0;return!!e.split(a).every(e=>!!(e=l(e)).startsWith("var(")||null!==n.parseColor(e)&&(t++,!0))&&t>0},t.image=function(e){let t=0;return!!e.split(s).every(e=>!!(e=l(e)).startsWith("var(")||!!(c(e)||g(e)||["element(","image(","cross-fade(","image-set("].some(t=>e.startsWith(t)))&&(t++,!0))&&t>0},t.gradient=g,t.position=function(e){let t=0;return!!e.split(a).every(e=>!!(e=l(e)).startsWith("var(")||!!(m.has(e)||h(e)||u(e))&&(t++,!0))&&t>0},t.familyName=function(e){let t=0;return!!e.split(s).every(e=>!!(e=l(e)).startsWith("var(")||!(e.includes(" ")&&!/(['"])([^"']+)\1/g.test(e))&&(!/^\d/g.test(e)&&(t++,!0)))&&t>0},t.genericName=function(e){return v.has(e)},t.absoluteSize=function(e){return y.has(e)},t.relativeSize=function(e){return b.has(e)};var n=r(52728),i=r(51389);let o=["min","max","clamp","calc"],s=/,(?![^(]*\))/g,a=/_(?![^(]*\))/g;function l(e,t=!0){return e.includes("url(")?e.split(/(url\(.*?\))/g).filter(Boolean).map(e=>/^url\(.*?\)$/.test(e)?e:l(e,!1)).join(""):(e=e.replace(/([^\\])_+/g,(e,t)=>t+" ".repeat(e.length-1)).replace(/^_/g," ").replace(/\\_/g,"_"),t&&(e=e.trim()),e.replace(/(-?\d*\.?\d(?!\b-.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g,"$1 $2 "))}function c(e){return e.startsWith("url(")}function u(e){return/%$/g.test(e)||o.some(t=>new RegExp(`^${t}\\(.+?%`).test(e))}let p=`(?:${["cm","mm","Q","in","pc","pt","px","em","ex","ch","rem","lh","vw","vh","vmin","vmax"].join("|")})`;function h(e){return e.split(a).every(e=>"0"===e||new RegExp(p+"$").test(e)||o.some(t=>new RegExp(`^${t}\\(.+?${p}`).test(e)))}let d=new Set(["thin","medium","thick"]);let f=new Set(["linear-gradient","radial-gradient","repeating-linear-gradient","repeating-radial-gradient","conic-gradient"]);function g(e){e=l(e);for(let t of f)if(e.startsWith(t+"("))return!0;return!1}let m=new Set(["center","top","right","bottom","left"]);let v=new Set(["serif","sans-serif","monospace","cursive","fantasy","system-ui","ui-serif","ui-sans-serif","ui-monospace","ui-rounded","math","emoji","fangsong"]);let y=new Set(["xx-small","x-small","small","medium","large","x-large","x-large","xxx-large"]);let b=new Set(["larger","smaller"])},63237:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaults=function(e,...t){for(let i of t){for(let t in i){var r;(null==e||null===(r=e.hasOwnProperty)||void 0===r?void 0:r.call(e,t))||(e[t]=i[t])}for(let t of Object.getOwnPropertySymbols(i)){var n;(null==e||null===(n=e.hasOwnProperty)||void 0===n?void 0:n.call(e,t))||(e[t]=i[t])}}return e}},52850:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t;let r=n.default.className();var o;return r.value=e,i.default(null!==(o=null==r||null===(t=r.raws)||void 0===t?void 0:t.value)&&void 0!==o?o:r.value)};var n=o(r(32137)),i=o(r(21438));function o(e){return e&&e.__esModule?e:{default:e}}},21438:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.replace(/\\,/g,"\\2c ")}},86271:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;const r=e=>Object.assign({},...Object.entries(null!=e?e:{}).flatMap(([e,t])=>"object"==typeof t?Object.entries(r(t)).map(([t,r])=>({[e+("DEFAULT"===t?"":"-"+t)]:r})):[{[""+e]:t}]));var n=r;t.default=n},92964:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.formatVariantSelector=function(e,...t){for(let r of t){let t=d(r,":merge");if(null!==t){if(null!==d(e,":merge",t)){let n=`:merge(${t})`,i=r.indexOf(n),o=r.slice(i+n.length).split(" ")[0];e=e.replace(n,n+o);continue}}e=r.replace("&",e)}return e},t.finalizeSelector=function(e,{selector:t,candidate:r,context:a}){var c,u,d;let f=null!==(d=null==a||null===(c=a.tailwindConfig)||void 0===c?void 0:c.separator)&&void 0!==d?d:":",g=new RegExp(`\\${f}(?![^[]*\\])`),m=r.split(g).pop();(null==a||null===(u=a.tailwindConfig)||void 0===u?void 0:u.prefix)&&(e=s.default(a.tailwindConfig.prefix,e));return e=e.replace("&","."+o.default(r)),t=(t=n.default(e=>e.walkClasses(e=>(e.raws&&e.value.includes(m)&&(e.raws.value=o.default(i.default(e.raws.value))),e))).processSync(t)).replace("."+o.default(m),e),n.default(e=>e.map(e=>{e.walkPseudos(e=>(l.has(e.value)&&e.replaceWith(e.nodes),e));let t=function e(t){let r=[];for(let n of t.nodes)h(n)&&(r.push(n),t.removeChild(n)),(null==n?void 0:n.nodes)&&r.push(...e(n));return r}(e);return t.length>0&&e.nodes.push(t.sort(p)),e})).processSync(t)},t.selectorFunctions=void 0;var n=a(r(32137)),i=a(r(73831)),o=a(r(52850)),s=a(r(66506));function a(e){return e&&e.__esModule?e:{default:e}}let l=new Set([":merge"]);t.selectorFunctions=l;let c=[":before",":after",":first-line",":first-letter"],u=["::file-selector-button"];function p(e,t){return"pseudo"!==e.type&&"pseudo"!==t.type||"combinator"===e.type^"combinator"===t.type?0:"pseudo"===e.type^"pseudo"===t.type?("pseudo"===e.type)-("pseudo"===t.type):h(e)-h(t)}function h(e){return"pseudo"===e.type&&(!u.includes(e.value)&&(e.value.startsWith("::")||c.includes(e.value)))}function d(e,t,r){let n=e.indexOf(r?`${t}(${r})`:t);if(-1===n)return null;n+=t.length+1;let i="",o=0;for(let t of e.slice(n))if("("!==t&&")"!==t)i+=t;else if("("===t)i+=t,o++;else if(")"===t){if(--o<0)break;i+=t}return i}},79968:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t){var r;const n=(null!==(r=null==t?void 0:t.presets)&&void 0!==r?r:[i.default]).slice().reverse().flatMap(t=>e(t instanceof Function?t():t)),s={},a=Object.keys(s).filter(e=>o.flagEnabled(t,e)).map(e=>s[e]);return[t,...a,...n]};var n,i=(n=r(65539))&&n.__esModule?n:{default:n},o=r(40197)},88700:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return i.default(e,{ignoreUnknown:!0})};var n,i=(n=r(59839))&&n.__esModule?n:{default:n}},70270:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if("[object Object]"!==Object.prototype.toString.call(e))return!1;const t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}},79218:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let t=[],o=!1;for(let s=0;s0)return!1;return!0};let r=new Map([["{","}"],["[","]"],["(",")"]]),n=new Map(Array.from(r.entries()).map(([e,t])=>[t,e])),i=new Set(['"',"'","`"])},72962:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.dim=function(e){return i.default.dim(e)},t.default=void 0;var n,i=(n=r(44265))&&n.__esModule?n:{default:n};let o=new Set;function s(e,t,r){void 0===process.env.JEST_WORKER_ID&&(r&&o.has(r)||(r&&o.add(r),console.warn(""),t.forEach(t=>console.warn(e,"-",t))))}var a={info(e,t){s(i.default.bold.cyan("info"),...Array.isArray(e)?[e]:[t,e])},warn(e,t){s(i.default.bold.yellow("warn"),...Array.isArray(e)?[e]:[t,e])},risk(e,t){s(i.default.bold.magenta("risk"),...Array.isArray(e)?[e]:[t,e])}};t.default=a},12301:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.asClass=s,t.default=function(e,t){return s(a(e,t))},t.formatClass=a;var n=o(r(52850)),i=o(r(21438));function o(e){return e&&e.__esModule?e:{default:e}}function s(e){return i.default("."+n.default(e))}function a(e,t){return"DEFAULT"===t?e:"-"===t||"-DEFAULT"===t?"-"+e:t.startsWith("-")?`-${e}${t}`:`${e}-${t}`}},17717:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if("0"===(e=""+e))return"0";if(/^[+-]?(\d+|\d*\.\d+)(e[+-]?\d+)?(%|\w+)?$/.test(e))return e.replace(/^[+-]?/,e=>"-"===e?"":"-");if(e.includes("var(")||e.includes("calc("))return`calc(${e} * -1)`}},98372:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.normalizeConfig=function(e){(()=>{if(e.purge)return!1;if(!e.content)return!1;if(!Array.isArray(e.content)&&("object"!=typeof e.content||null===e.content))return!1;if(Array.isArray(e.content))return e.content.every(e=>"string"==typeof e||"string"==typeof(null==e?void 0:e.raw)&&(!(null==e?void 0:e.extension)||"string"==typeof(null==e?void 0:e.extension)));if("object"==typeof e.content&&null!==e.content){if(Object.keys(e.content).some(e=>!["files","extract","transform"].includes(e)))return!1;if(Array.isArray(e.content.files)){if(!e.content.files.every(e=>"string"==typeof e||"string"==typeof(null==e?void 0:e.raw)&&(!(null==e?void 0:e.extension)||"string"==typeof(null==e?void 0:e.extension))))return!1;if("object"==typeof e.content.extract){for(let t of Object.values(e.content.extract))if("function"!=typeof t)return!1}else if(void 0!==e.content.extract&&"function"!=typeof e.content.extract)return!1;if("object"==typeof e.content.transform){for(let t of Object.values(e.content.transform))if("function"!=typeof t)return!1}else if(void 0!==e.content.transform&&"function"!=typeof e.content.transform)return!1}return!0}return!1})()||n.default.warn("purge-deprecation",["The `purge`/`content` options have changed in Tailwind CSS v3.0.","Update your configuration file to eliminate this warning."]);if(e.safelist=(()=>{var t;let{content:r,purge:n,safelist:i}=e;return Array.isArray(i)?i:Array.isArray(null==r?void 0:r.safelist)?r.safelist:Array.isArray(null==n?void 0:n.safelist)?n.safelist:Array.isArray(null==n||null===(t=n.options)||void 0===t?void 0:t.safelist)?n.options.safelist:[]})(),"function"==typeof e.prefix)n.default.warn("prefix-function",["As of Tailwind CSS v3.0, `prefix` cannot be a function.","Update `prefix` in your configuration to be a string to eliminate this warning."]),e.prefix="";else{var t;e.prefix=null!==(t=e.prefix)&&void 0!==t?t:""}e.content={files:(()=>{let{content:t,purge:r}=e;return Array.isArray(r)?r:Array.isArray(null==r?void 0:r.content)?r.content:Array.isArray(t)?t:Array.isArray(null==t?void 0:t.content)?t.content:Array.isArray(null==t?void 0:t.files)?t.files:[]})(),extract:(()=>{let t=(null===(r=e.purge)||void 0===r?void 0:r.extract)?e.purge.extract:(null===(n=e.content)||void 0===n?void 0:n.extract)?e.content.extract:(null===(i=e.purge)||void 0===i||null===(o=i.extract)||void 0===o?void 0:o.DEFAULT)?e.purge.extract.DEFAULT:(null===(s=e.content)||void 0===s||null===(a=s.extract)||void 0===a?void 0:a.DEFAULT)?e.content.extract.DEFAULT:(null===(l=e.purge)||void 0===l||null===(c=l.options)||void 0===c?void 0:c.extractors)?e.purge.options.extractors:(null===(u=e.content)||void 0===u||null===(p=u.options)||void 0===p?void 0:p.extractors)?e.content.options.extractors:{};var r,n,i,o,s,a,l,c,u,p;let h={},d=(()=>{var t,r,n,i;return(null===(t=e.purge)||void 0===t||null===(r=t.options)||void 0===r?void 0:r.defaultExtractor)?e.purge.options.defaultExtractor:(null===(n=e.content)||void 0===n||null===(i=n.options)||void 0===i?void 0:i.defaultExtractor)?e.content.options.defaultExtractor:void 0})();if(void 0!==d&&(h.DEFAULT=d),"function"==typeof t)h.DEFAULT=t;else if(Array.isArray(t))for(let{extensions:e,extractor:r}of null!=t?t:[])for(let t of e)h[t]=r;else"object"==typeof t&&null!==t&&Object.assign(h,t);return h})(),transform:(()=>{let t=(null===(r=e.purge)||void 0===r?void 0:r.transform)?e.purge.transform:(null===(n=e.content)||void 0===n?void 0:n.transform)?e.content.transform:(null===(i=e.purge)||void 0===i||null===(o=i.transform)||void 0===o?void 0:o.DEFAULT)?e.purge.transform.DEFAULT:(null===(s=e.content)||void 0===s||null===(a=s.transform)||void 0===a?void 0:a.DEFAULT)?e.content.transform.DEFAULT:{};var r,n,i,o,s,a;let l={};return"function"==typeof t&&(l.DEFAULT=t),"object"==typeof t&&null!==t&&Object.assign(l,t),l})()};for(let t of e.content.files)if("string"==typeof t&&/{([^,]*?)}/g.test(t)){n.default.warn("invalid-glob-braces",[`The glob pattern ${n.dim(t)} in your config is invalid.`,` Update it to ${n.dim(t.replace(/{([^,]*?)}/g,"$1"))} to silence this warning.`]);break}return e};var n=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};n.get||n.set?Object.defineProperty(t,r,n):t[r]=e[r]}return t.default=e,t}(r(72962))},92285:(e,t)=>{"use strict";function r({"min-width":e,min:t=e,max:r,raw:n}={}){return{min:t,max:r,raw:n}}Object.defineProperty(t,"__esModule",{value:!0}),t.normalizeScreens=function e(t,n=!0){if(Array.isArray(t))return t.map(e=>{if(n&&Array.isArray(e))throw new Error("The tuple syntax is not supported for `screens`.");if("string"==typeof e)return{name:e.toString(),values:[{min:e,max:void 0}]};let[t,i]=e;return t=t.toString(),"string"==typeof i?{name:t,values:[{min:i,max:void 0}]}:Array.isArray(i)?{name:t,values:i.map(e=>r(e))}:{name:t,values:[r(i)]}});return e(Object.entries(null!=t?t:{}),!1)}},9531:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.split(l).map(e=>{let t=e.trim(),l={value:t},h=t.split(c),d=new Set;for(let e of h)!d.has("DIRECTIONS")&&r.has(e)?(l.direction=e,d.add("DIRECTIONS")):!d.has("PLAY_STATES")&&n.has(e)?(l.playState=e,d.add("PLAY_STATES")):!d.has("FILL_MODES")&&i.has(e)?(l.fillMode=e,d.add("FILL_MODES")):d.has("ITERATION_COUNTS")||!o.has(e)&&!p.test(e)?!d.has("TIMING_FUNCTION")&&s.has(e)||!d.has("TIMING_FUNCTION")&&a.some(t=>e.startsWith(t+"("))?(l.timingFunction=e,d.add("TIMING_FUNCTION")):!d.has("DURATION")&&u.test(e)?(l.duration=e,d.add("DURATION")):!d.has("DELAY")&&u.test(e)?(l.delay=e,d.add("DELAY")):d.has("NAME")?(l.unknown||(l.unknown=[]),l.unknown.push(e)):(l.name=e,d.add("NAME")):(l.iterationCount=e,d.add("ITERATION_COUNTS"));return l})};const r=new Set(["normal","reverse","alternate","alternate-reverse"]),n=new Set(["running","paused"]),i=new Set(["none","forwards","backwards","both"]),o=new Set(["infinite"]),s=new Set(["linear","ease","ease-in","ease-out","ease-in-out","step-start","step-end"]),a=["cubic-bezier","steps"],l=/\,(?![^(]*\))/g,c=/\ +(?![^(]*\))/g,u=/^(-?[\d.]+m?s)$/,p=/^(\d+)$/},51389:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseBoxShadowValue=function(e){return e.split(n).map(e=>{let t=e.trim(),n={raw:t},s=t.split(i),a=new Set;for(let e of s)o.lastIndex=0,!a.has("KEYWORD")&&r.has(e)?(n.keyword=e,a.add("KEYWORD")):o.test(e)?a.has("X")?a.has("Y")?a.has("BLUR")?a.has("SPREAD")||(n.spread=e,a.add("SPREAD")):(n.blur=e,a.add("BLUR")):(n.y=e,a.add("Y")):(n.x=e,a.add("X")):n.color?(n.unknown||(n.unknown=[]),n.unknown.push(e)):n.color=e;return n.valid=void 0!==n.x&&void 0!==n.y,n})},t.formatBoxShadowValue=function(e){return e.map(e=>e.valid?[e.keyword,e.x,e.y,e.blur,e.spread,e.color].filter(Boolean).join(" "):e.raw).join(", ")};let r=new Set(["inset","inherit","initial","revert","unset"]),n=/\,(?![^(]*\))/g,i=/\ +(?![^(]*\))/g,o=/^-?(\d+)(.*?)$/g},85942:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if(e.startsWith("!"))return null;let t;if(n.default(e)){let{base:r,glob:n}=function(e){let t=e,r=i.default(e);"."!==r&&(t=e.substr(r.length),"/"===t.charAt(0)&&(t=t.substr(1)));"./"===t.substr(0,2)&&(t=t.substr(2));"/"===t.charAt(0)&&(t=t.substr(1));return{base:r,glob:t}}(e);t={type:"dir-dependency",dir:o.default.resolve(r),glob:n}}else t={type:"dependency",file:o.default.resolve(e)};"dir-dependency"===t.type&&"true"===process.env.ROLLUP_WATCH&&(t={type:"dependency",file:t.dir});return t};var n=s(r(2182)),i=s(r(36197)),o=s(r(85622));function s(e){return e&&e.__esModule?e:{default:e}}},82912:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t){if(!Array.isArray(t))return e([t]);return t.flatMap(e=>n.default([i.default({bubble:["screen"]})]).process(e,{parser:o.default}).root.nodes)};var n=s(r(44633)),i=s(r(7909)),o=s(r(89459));function s(e){return e&&e.__esModule?e:{default:e}}},75784:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.updateAllClasses=function(e,t){return n.default(e=>{e.walkClasses(e=>{let r=t(e.value);e.value=r,e.raws&&e.raws.value&&(e.raws.value=i.default(e.raws.value))})}).processSync(e)},t.asValue=u,t.asColor=h,t.asLookupValue=d,t.coerceValue=function(e,t,r,n){if(p(t)){let e=t.slice(1,-1),[n,i]=function(e,t){let r=e.indexOf(t);return-1===r?[void 0,e]:[e.slice(0,r),e.slice(r+1)]}(e,":");if(/^[\w-_]+$/g.test(n)){if(void 0!==n&&!m.includes(n))return[]}else i=e;if(i.length>0&&m.includes(n))return[u(`[${i}]`,r),n]}for(let i of[].concat(e)){let e=g[i](t,r,{tailwindConfig:n});if(e)return[e,i]}return[]};var n=l(r(32137)),i=l(r(21438)),o=r(53441),s=r(81991),a=l(r(17717));function l(e){return e&&e.__esModule?e:{default:e}}function c(e,t){if(!p(e))return;let r=e.slice(1,-1);return t(r)?s.normalize(r):void 0}function u(e,t={},{validate:r=(()=>!0)}={}){var n;let i=null===(n=t.values)||void 0===n?void 0:n[e];return void 0!==i?i:t.supportsNegativeValues&&e.startsWith("-")?function(e,t={},r){let n=t[e];if(void 0!==n)return a.default(n);if(p(e)){let t=c(e,r);if(void 0===t)return;return a.default(t)}}(e.slice(1),t.values,r):c(e,r)}function p(e){return e.startsWith("[")&&e.endsWith("]")}function h(e,t={},{tailwindConfig:r={}}={}){var n,i;if(void 0!==(null===(n=t.values)||void 0===n?void 0:n[e]))return null===(i=t.values)||void 0===i?void 0:i[e];let[a,l]=function(e){let t=e.lastIndexOf("/");return-1===t||t===e.length-1?[e]:[e.slice(0,t),e.slice(t+1)]}(e);if(void 0!==l){var c,h,d,f;let e=null!==(f=null===(c=t.values)||void 0===c?void 0:c[a])&&void 0!==f?f:p(a)?a.slice(1,-1):void 0;if(void 0===e)return;if(p(l))return o.withAlphaValue(e,l.slice(1,-1));if(void 0===(null===(h=r.theme)||void 0===h||null===(d=h.opacity)||void 0===d?void 0:d[l]))return;return o.withAlphaValue(e,r.theme.opacity[l])}return u(e,t,{validate:s.color})}function d(e,t={}){var r;return null===(r=t.values)||void 0===r?void 0:r[e]}function f(e){return(t,r)=>u(t,r,{validate:e})}let g={any:u,color:h,url:f(s.url),image:f(s.image),length:f(s.length),percentage:f(s.percentage),position:f(s.position),lookup:d,"generic-name":f(s.genericName),"family-name":f(s.familyName),number:f(s.number),"line-width":f(s.lineWidth),"absolute-size":f(s.absoluteSize),"relative-size":f(s.relativeSize),shadow:f(s.shadow)},m=Object.keys(g)},66506:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return i.default(t=>{t.walkClasses(t=>{o.tap(t.value,r=>{t.value=`${e}${r}`})})}).processSync(t)};var n,i=(n=r(32137))&&n.__esModule?n:{default:n},o=r(93260)},55646:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let t=[..._(e),{prefix:"",important:!1,separator:":",variantOrder:s.default.variantOrder}];var r,n;return u.normalizeConfig(l.defaults({theme:w(b((o=t.map(e=>null!==(r=null==e?void 0:e.theme)&&void 0!==r?r:{}),{...o.reduce((e,t)=>l.defaults(e,t),{}),extend:(i=o,i.reduce((e,{extend:t})=>m(e,t,(e,t)=>void 0===e?[t]:Array.isArray(e)?[t,...e]:[t,e]),{}))}))),corePlugins:x(t.map(e=>e.corePlugins)),plugins:k(e.map(e=>null!==(n=null==e?void 0:e.plugins)&&void 0!==n?n:[]))},...t));var i;var o};var n=d(r(17717)),i=d(r(46600)),o=d(r(69834)),s=d(r(65539)),a=d(r(77574)),l=r(63237),c=r(25682),u=r(98372),p=d(r(70270)),h=r(81297);function d(e){return e&&e.__esModule?e:{default:e}}function f(e){return"function"==typeof e}function g(e){return"object"==typeof e&&null!==e}function m(e,...t){let r=t.pop();for(let n of t)for(let t in n){let i=r(e[t],n[t]);void 0===i?g(e[t])&&g(n[t])?e[t]=m(e[t],n[t],r):e[t]=n[t]:e[t]=i}return e}const v={colors:a.default,negative:e=>Object.keys(e).filter(t=>"0"!==e[t]).reduce((t,r)=>{let i=n.default(e[r]);return void 0!==i&&(t["-"+r]=i),t},{}),breakpoints:e=>Object.keys(e).filter(t=>"string"==typeof e[t]).reduce((t,r)=>({...t,["screen-"+r]:e[r]}),{})};function y(e,t){return Array.isArray(e)&&g(e[0])?e.concat(t):Array.isArray(t)&&g(t[0])&&g(e)?[e,...t]:Array.isArray(t)?t:void 0}function b({extend:e,...t}){return m(t,e,(e,t)=>f(e)||t.some(f)?(r,n)=>m({},...[e,...t].map(e=>function(e,...t){return f(e)?e(...t):e}(e,r,n)),y):m({},e,...t,y))}function w(e){const t=(r,n)=>{const i=c.toPath(r);let o=0,s=e;for(;null!=s&&o({...r,[n]:f(e[n])?e[n](t,v):e[n]}),{})}function _(e){let t=[];return e.forEach(e=>{var r;t=[...t,e];const n=null!==(r=null==e?void 0:e.plugins)&&void 0!==r?r:[];0!==n.length&&n.forEach(e=>{var r;e.__isOptionsFunction&&(e=e()),t=[...t,..._([null!==(r=null==e?void 0:e.config)&&void 0!==r?r:{}])]})}),t}function x(e){return[...e].reduceRight((e,t)=>f(t)?t({corePlugins:e}):o.default(t,e),i.default)}function k(e){return[...e].reduceRight((e,t)=>[...e,...t],[])}},23151:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if(s(e)&&void 0===e.config&&(t=e,0!==Object.keys(t).length))return null;var t;if(s(e)&&void 0!==e.config&&a(e.config))return i.default.resolve(e.config);if(s(e)&&void 0!==e.config&&s(e.config))return null;if(a(e))return i.default.resolve(e);for(const e of["./tailwind.config.js","./tailwind.config.cjs"])try{const t=i.default.resolve(e);return n.default.accessSync(t),t}catch(e){}return null};var n=o(r(35747)),i=o(r(85622));function o(e){return e&&e.__esModule?e:{default:e}}function s(e){return"object"==typeof e&&null!==e}function a(e){return"string"==typeof e||e instanceof String}},93260:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.tap=function(e,t){return t(e),e}},52711:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return"function"==typeof e?e({}):e}},25682:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.toPath=function(e){if(Array.isArray(e))return e;let t=e.split("[").length-1,r=e.split("]").length-1;if(t!==r)throw new Error("Path is invalid. Has unbalanced brackets: "+e);return e.split(/\.(?![^\[]*\])|[\[\]]/g).filter(Boolean)}},93674:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if(["fontSize","outline"].includes(e))return e=>("function"==typeof e&&(e=e({})),Array.isArray(e)&&(e=e[0]),e);if(["fontFamily","boxShadow","transitionProperty","transitionDuration","transitionDelay","transitionTimingFunction","backgroundImage","backgroundSize","backgroundColor","cursor","animation"].includes(e))return e=>("function"==typeof e&&(e=e({})),Array.isArray(e)&&(e=e.join(", ")),e);if(["gridTemplateColumns","gridTemplateRows","objectPosition"].includes(e))return e=>("function"==typeof e&&(e=e({})),"string"==typeof e&&(e=i.default.list.comma(e).join(" ")),e);return e=>("function"==typeof e&&(e=e({})),e)};var n,i=(n=r(44633))&&n.__esModule?n:{default:n}},53441:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.withAlphaValue=function(e,t,r){if("function"==typeof e)return e({opacityValue:t});let i=n.parseColor(e);if(null===i)return r;return n.formatColor({...i,alpha:t})},t.default=function({color:e,property:t,variable:r}){let i=[].concat(t);if("function"==typeof e)return{[r]:"1",...Object.fromEntries(i.map(t=>[t,e({opacityVariable:r,opacityValue:`var(${r})`})]))};const o=n.parseColor(e);if(null===o)return Object.fromEntries(i.map(t=>[t,e]));if(void 0!==o.alpha)return Object.fromEntries(i.map(t=>[t,e]));return{[r]:"1",...Object.fromEntries(i.map(e=>[e,n.formatColor({...o,alpha:`var(${r})`})]))}};var n=r(52728)},44265:(e,t,r)=>{"use strict";const n=r(58588),{stdout:i,stderr:o}=r(28106),{stringReplaceAll:s,stringEncaseCRLFWithFirstIndex:a}=r(88494),{isArray:l}=Array,c=["ansi","ansi","ansi256","ansi16m"],u=Object.create(null);class p{constructor(e){return h(e)}}const h=e=>{const t={};return((e,t={})=>{if(t.level&&!(Number.isInteger(t.level)&&t.level>=0&&t.level<=3))throw new Error("The `level` option should be an integer from 0 to 3");const r=i?i.level:0;e.level=void 0===t.level?r:t.level})(t,e),t.template=(...e)=>w(t.template,...e),Object.setPrototypeOf(t,d.prototype),Object.setPrototypeOf(t.template,t),t.template.constructor=()=>{throw new Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.")},t.template.Instance=p,t.template};function d(e){return h(e)}for(const[e,t]of Object.entries(n))u[e]={get(){const r=v(this,m(t.open,t.close,this._styler),this._isEmpty);return Object.defineProperty(this,e,{value:r}),r}};u.visible={get(){const e=v(this,this._styler,!0);return Object.defineProperty(this,"visible",{value:e}),e}};const f=["rgb","hex","keyword","hsl","hsv","hwb","ansi","ansi256"];for(const e of f)u[e]={get(){const{level:t}=this;return function(...r){const i=m(n.color[c[t]][e](...r),n.color.close,this._styler);return v(this,i,this._isEmpty)}}};for(const e of f){u["bg"+e[0].toUpperCase()+e.slice(1)]={get(){const{level:t}=this;return function(...r){const i=m(n.bgColor[c[t]][e](...r),n.bgColor.close,this._styler);return v(this,i,this._isEmpty)}}}}const g=Object.defineProperties(()=>{},{...u,level:{enumerable:!0,get(){return this._generator.level},set(e){this._generator.level=e}}}),m=(e,t,r)=>{let n,i;return void 0===r?(n=e,i=t):(n=r.openAll+e,i=t+r.closeAll),{open:e,close:t,openAll:n,closeAll:i,parent:r}},v=(e,t,r)=>{const n=(...e)=>l(e[0])&&l(e[0].raw)?y(n,w(n,...e)):y(n,1===e.length?""+e[0]:e.join(" "));return Object.setPrototypeOf(n,g),n._generator=e,n._styler=t,n._isEmpty=r,n},y=(e,t)=>{if(e.level<=0||!t)return e._isEmpty?"":t;let r=e._styler;if(void 0===r)return t;const{openAll:n,closeAll:i}=r;if(-1!==t.indexOf(""))for(;void 0!==r;)t=s(t,r.close,r.open),r=r.parent;const o=t.indexOf("\n");return-1!==o&&(t=a(t,i,n,o)),n+t+i};let b;const w=(e,...t)=>{const[n]=t;if(!l(n)||!l(n.raw))return t.join(" ");const i=t.slice(1),o=[n.raw[0]];for(let e=1;e{"use strict";const t=/(?:\\(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,n=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,i=/\\(u(?:[a-f\d]{4}|{[a-f\d]{1,6}})|x[a-f\d]{2}|.)|([^\\])/gi,o=new Map([["n","\n"],["r","\r"],["t","\t"],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e",""],["a",""]]);function s(e){const t="u"===e[0],r="{"===e[1];return t&&!r&&5===e.length||"x"===e[0]&&3===e.length?String.fromCharCode(parseInt(e.slice(1),16)):t&&r?String.fromCodePoint(parseInt(e.slice(2,-1),16)):o.get(e)||e}function a(e,t){const r=[],o=t.trim().split(/\s*,\s*/g);let a;for(const t of o){const o=Number(t);if(Number.isNaN(o)){if(!(a=t.match(n)))throw new Error(`Invalid Chalk template style argument: ${t} (in style '${e}')`);r.push(a[2].replace(i,(e,t,r)=>t?s(t):r))}else r.push(o)}return r}function l(e){r.lastIndex=0;const t=[];let n;for(;null!==(n=r.exec(e));){const e=n[1];if(n[2]){const r=a(e,n[2]);t.push([e].concat(r))}else t.push([e])}return t}function c(e,t){const r={};for(const e of t)for(const t of e.styles)r[t[0]]=e.inverse?null:t.slice(1);let n=e;for(const[e,t]of Object.entries(r))if(Array.isArray(t)){if(!(e in n))throw new Error("Unknown Chalk style: "+e);n=t.length>0?n[e](...t):n[e]}return n}e.exports=(e,r)=>{const n=[],i=[];let o=[];if(r.replace(t,(t,r,a,u,p,h)=>{if(r)o.push(s(r));else if(u){const t=o.join("");o=[],i.push(0===n.length?t:c(e,n)(t)),n.push({inverse:a,styles:l(u)})}else if(p){if(0===n.length)throw new Error("Found extraneous } in Chalk template literal");i.push(c(e,n)(o.join(""))),o=[],n.pop()}else o.push(h)}),i.push(o.join("")),n.length>0){const e=`Chalk template literal is missing ${n.length} closing bracket${1===n.length?"":"s"} (\`}\`)`;throw new Error(e)}return i.join("")}},88494:e=>{"use strict";e.exports={stringReplaceAll:(e,t,r)=>{let n=e.indexOf(t);if(-1===n)return e;const i=t.length;let o=0,s="";do{s+=e.substr(o,n-o)+t+r,o=n+i,n=e.indexOf(t,o)}while(-1!==n);return s+=e.substr(o),s},stringEncaseCRLFWithFirstIndex:(e,t,r,n)=>{let i=0,o="";do{const s="\r"===e[n-1];o+=e.substr(i,(s?n-1:n)-i)+t+(s?"\r\n":"\n")+r,i=n+1,n=e.indexOf("\n",i)}while(-1!==n);return o+=e.substr(i),o}}},72401:(e,t,r)=>{"use strict";var n=r(2182),i=r(85622).posix.dirname,o="win32"===r(12087).platform(),s=/\\/g,a=/[\{\[].*[\}\]]$/,l=/(^|[^\\])([\{\[]|\([^\)]+$)/,c=/\\([\!\*\?\|\[\]\(\)\{\}])/g;e.exports=function(e,t){Object.assign({flipBackslashes:!0},t).flipBackslashes&&o&&e.indexOf("/")<0&&(e=e.replace(s,"/")),a.test(e)&&(e+="/"),e+="a";do{e=i(e)}while(n(e)||l.test(e));return e.replace(c,"$1")}},8578:(e,t,r)=>{"use strict";const n=r(76130),i=r(27295),o=r(5338),s=r(12943),a=r(11954),l=r(8264);async function c(e,t){p(e);const r=u(e,i.default,t),n=await Promise.all(r);return l.array.flatten(n)}function u(e,t,r){const i=[].concat(e),o=new a.default(r),s=n.generate(i,o),l=new t(o);return s.map(l.read,l)}function p(e){if(![].concat(e).every(e=>l.string.isString(e)&&!l.string.isEmpty(e)))throw new TypeError("Patterns must be a string (non empty) or an array of strings")}!function(e){e.sync=function(e,t){p(e);const r=u(e,s.default,t);return l.array.flatten(r)},e.stream=function(e,t){p(e);const r=u(e,o.default,t);return l.stream.merge(r)},e.generateTasks=function(e,t){p(e);const r=[].concat(e),i=new a.default(t);return n.generate(r,i)},e.isDynamicPattern=function(e,t){p(e);const r=new a.default(t);return l.pattern.isDynamicPattern(e,r)},e.escapePath=function(e){return p(e),l.path.escape(e)}}(c||(c={})),e.exports=c},76130:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.convertPatternGroupToTask=t.convertPatternGroupsToTasks=t.groupPatternsByBaseDirectory=t.getNegativePatternsAsPositive=t.getPositivePatterns=t.convertPatternsToTasks=t.generate=void 0;const n=r(8264);function i(e,t,r){const i=[],o=n.pattern.getPatternsOutsideCurrentDirectory(e),s=n.pattern.getPatternsInsideCurrentDirectory(e),u=a(o),p=a(s);return i.push(...l(u,t,r)),"."in p?i.push(c(".",s,t,r)):i.push(...l(p,t,r)),i}function o(e){return n.pattern.getPositivePatterns(e)}function s(e,t){return n.pattern.getNegativePatterns(e).concat(t).map(n.pattern.convertToPositivePattern)}function a(e){return e.reduce((e,t)=>{const r=n.pattern.getBaseDirectory(t);return r in e?e[r].push(t):e[r]=[t],e},{})}function l(e,t,r){return Object.keys(e).map(n=>c(n,e[n],t,r))}function c(e,t,r,i){return{dynamic:i,positive:t,negative:r,base:e,patterns:[].concat(t,r.map(n.pattern.convertToNegativePattern))}}t.generate=function(e,t){const r=o(e),a=s(e,t.ignore),l=r.filter(e=>n.pattern.isStaticPattern(e,t)),c=r.filter(e=>n.pattern.isDynamicPattern(e,t)),u=i(l,a,!1),p=i(c,a,!0);return u.concat(p)},t.convertPatternsToTasks=i,t.getPositivePatterns=o,t.getNegativePatternsAsPositive=s,t.groupPatternsByBaseDirectory=a,t.convertPatternGroupsToTasks=l,t.convertPatternGroupToTask=c},27295:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(90117),i=r(57419);class o extends i.default{constructor(){super(...arguments),this._reader=new n.default(this._settings)}read(e){const t=this._getRootDirectory(e),r=this._getReaderOptions(e),n=[];return new Promise((i,o)=>{const s=this.api(t,e,r);s.once("error",o),s.on("data",e=>n.push(r.transform(e))),s.once("end",()=>i(n))})}api(e,t,r){return t.dynamic?this._reader.dynamic(e,r):this._reader.static(t.patterns,r)}}t.default=o},87830:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(8264),i=r(46849);t.default=class{constructor(e,t){this._settings=e,this._micromatchOptions=t}getFilter(e,t,r){const n=this._getMatcher(t),i=this._getNegativePatternsRe(r);return t=>this._filter(e,t,n,i)}_getMatcher(e){return new i.default(e,this._settings,this._micromatchOptions)}_getNegativePatternsRe(e){const t=e.filter(n.pattern.isAffectDepthOfReadingPattern);return n.pattern.convertPatternsToRe(t,this._micromatchOptions)}_filter(e,t,r,i){if(this._isSkippedByDeep(e,t.path))return!1;if(this._isSkippedSymbolicLink(t))return!1;const o=n.path.removeLeadingDotSegment(t.path);return!this._isSkippedByPositivePatterns(o,r)&&this._isSkippedByNegativePatterns(o,i)}_isSkippedByDeep(e,t){return this._settings.deep!==1/0&&this._getEntryLevel(e,t)>=this._settings.deep}_getEntryLevel(e,t){const r=t.split("/").length;return""===e?r:r-e.split("/").length}_isSkippedSymbolicLink(e){return!this._settings.followSymbolicLinks&&e.dirent.isSymbolicLink()}_isSkippedByPositivePatterns(e,t){return!this._settings.baseNameMatch&&!t.match(e)}_isSkippedByNegativePatterns(e,t){return!n.pattern.matchAny(e,t)}}},54211:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(8264);t.default=class{constructor(e,t){this._settings=e,this._micromatchOptions=t,this.index=new Map}getFilter(e,t){const r=n.pattern.convertPatternsToRe(e,this._micromatchOptions),i=n.pattern.convertPatternsToRe(t,this._micromatchOptions);return e=>this._filter(e,r,i)}_filter(e,t,r){if(this._settings.unique&&this._isDuplicateEntry(e))return!1;if(this._onlyFileFilter(e)||this._onlyDirectoryFilter(e))return!1;if(this._isSkippedByAbsoluteNegativePatterns(e.path,r))return!1;const n=this._settings.baseNameMatch?e.name:e.path,i=this._isMatchToPatterns(n,t)&&!this._isMatchToPatterns(e.path,r);return this._settings.unique&&i&&this._createIndexRecord(e),i}_isDuplicateEntry(e){return this.index.has(e.path)}_createIndexRecord(e){this.index.set(e.path,void 0)}_onlyFileFilter(e){return this._settings.onlyFiles&&!e.dirent.isFile()}_onlyDirectoryFilter(e){return this._settings.onlyDirectories&&!e.dirent.isDirectory()}_isSkippedByAbsoluteNegativePatterns(e,t){if(!this._settings.absolute)return!1;const r=n.path.makeAbsolute(this._settings.cwd,e);return n.pattern.matchAny(r,t)}_isMatchToPatterns(e,t){const r=n.path.removeLeadingDotSegment(e);return n.pattern.matchAny(r,t)}}},12666:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(8264);t.default=class{constructor(e){this._settings=e}getFilter(){return e=>this._isNonFatalError(e)}_isNonFatalError(e){return n.errno.isEnoentCodeError(e)||this._settings.suppressErrors}}},7799:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(8264);t.default=class{constructor(e,t,r){this._patterns=e,this._settings=t,this._micromatchOptions=r,this._storage=[],this._fillStorage()}_fillStorage(){const e=n.pattern.expandPatternsWithBraceExpansion(this._patterns);for(const t of e){const e=this._getPatternSegments(t),r=this._splitSegmentsIntoSections(e);this._storage.push({complete:r.length<=1,pattern:t,segments:e,sections:r})}}_getPatternSegments(e){return n.pattern.getPatternParts(e,this._micromatchOptions).map(e=>n.pattern.isDynamicPattern(e,this._settings)?{dynamic:!0,pattern:e,patternRe:n.pattern.makeRe(e,this._micromatchOptions)}:{dynamic:!1,pattern:e})}_splitSegmentsIntoSections(e){return n.array.splitWhen(e,e=>e.dynamic&&n.pattern.hasGlobStar(e.pattern))}}},46849:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(7799);class i extends n.default{match(e){const t=e.split("/"),r=t.length,n=this._storage.filter(e=>!e.complete||e.segments.length>r);for(const e of n){const n=e.sections[0];if(!e.complete&&r>n.length)return!0;if(t.every((t,r)=>{const n=e.segments[r];return!(!n.dynamic||!n.patternRe.test(t))||!n.dynamic&&n.pattern===t}))return!0}return!1}}t.default=i},57419:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(85622),i=r(87830),o=r(54211),s=r(12666),a=r(73411);t.default=class{constructor(e){this._settings=e,this.errorFilter=new s.default(this._settings),this.entryFilter=new o.default(this._settings,this._getMicromatchOptions()),this.deepFilter=new i.default(this._settings,this._getMicromatchOptions()),this.entryTransformer=new a.default(this._settings)}_getRootDirectory(e){return n.resolve(this._settings.cwd,e.base)}_getReaderOptions(e){const t="."===e.base?"":e.base;return{basePath:t,pathSegmentSeparator:"/",concurrency:this._settings.concurrency,deepFilter:this.deepFilter.getFilter(t,e.positive,e.negative),entryFilter:this.entryFilter.getFilter(e.positive,e.negative),errorFilter:this.errorFilter.getFilter(),followSymbolicLinks:this._settings.followSymbolicLinks,fs:this._settings.fs,stats:this._settings.stats,throwErrorOnBrokenSymbolicLink:this._settings.throwErrorOnBrokenSymbolicLink,transform:this.entryTransformer.getTransformer()}}_getMicromatchOptions(){return{dot:this._settings.dot,matchBase:this._settings.baseNameMatch,nobrace:!this._settings.braceExpansion,nocase:!this._settings.caseSensitiveMatch,noext:!this._settings.extglob,noglobstar:!this._settings.globstar,posix:!0,strictSlashes:!1}}}},5338:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(92413),i=r(90117),o=r(57419);class s extends o.default{constructor(){super(...arguments),this._reader=new i.default(this._settings)}read(e){const t=this._getRootDirectory(e),r=this._getReaderOptions(e),i=this.api(t,e,r),o=new n.Readable({objectMode:!0,read:()=>{}});return i.once("error",e=>o.emit("error",e)).on("data",e=>o.emit("data",r.transform(e))).once("end",()=>o.emit("end")),o.once("close",()=>i.destroy()),o}api(e,t,r){return t.dynamic?this._reader.dynamic(e,r):this._reader.static(t.patterns,r)}}t.default=s},12943:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(70441),i=r(57419);class o extends i.default{constructor(){super(...arguments),this._reader=new n.default(this._settings)}read(e){const t=this._getRootDirectory(e),r=this._getReaderOptions(e);return this.api(t,e,r).map(r.transform)}api(e,t,r){return t.dynamic?this._reader.dynamic(e,r):this._reader.static(t.patterns,r)}}t.default=o},73411:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(8264);t.default=class{constructor(e){this._settings=e}getTransformer(){return e=>this._transform(e)}_transform(e){let t=e.path;return this._settings.absolute&&(t=n.path.makeAbsolute(this._settings.cwd,t),t=n.path.unixify(t)),this._settings.markDirectories&&e.dirent.isDirectory()&&(t+="/"),this._settings.objectMode?Object.assign(Object.assign({},e),{path:t}):t}}},29298:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(85622),i=r(4516),o=r(8264);t.default=class{constructor(e){this._settings=e,this._fsStatSettings=new i.Settings({followSymbolicLink:this._settings.followSymbolicLinks,fs:this._settings.fs,throwErrorOnBrokenSymbolicLink:this._settings.followSymbolicLinks})}_getFullEntryPath(e){return n.resolve(this._settings.cwd,e)}_makeEntry(e,t){const r={name:t,path:t,dirent:o.fs.createDirentFromStats(t,e)};return this._settings.stats&&(r.stats=e),r}_isFatalError(e){return!o.errno.isEnoentCodeError(e)&&!this._settings.suppressErrors}}},90117:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(92413),i=r(4516),o=r(5923),s=r(29298);class a extends s.default{constructor(){super(...arguments),this._walkStream=o.walkStream,this._stat=i.stat}dynamic(e,t){return this._walkStream(e,t)}static(e,t){const r=e.map(this._getFullEntryPath,this),i=new n.PassThrough({objectMode:!0});i._write=(n,o,s)=>this._getEntry(r[n],e[n],t).then(e=>{null!==e&&t.entryFilter(e)&&i.push(e),n===r.length-1&&i.end(),s()}).catch(s);for(let e=0;ethis._makeEntry(e,t)).catch(e=>{if(r.errorFilter(e))return null;throw e})}_getStat(e){return new Promise((t,r)=>{this._stat(e,this._fsStatSettings,(e,n)=>null===e?t(n):r(e))})}}t.default=a},70441:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(4516),i=r(5923),o=r(29298);class s extends o.default{constructor(){super(...arguments),this._walkSync=i.walkSync,this._statSync=n.statSync}dynamic(e,t){return this._walkSync(e,t)}static(e,t){const r=[];for(const n of e){const e=this._getFullEntryPath(n),i=this._getEntry(e,n,t);null!==i&&t.entryFilter(i)&&r.push(i)}return r}_getEntry(e,t,r){try{const r=this._getStat(e);return this._makeEntry(r,t)}catch(e){if(r.errorFilter(e))return null;throw e}}_getStat(e){return this._statSync(e,this._fsStatSettings)}}t.default=s},11954:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DEFAULT_FILE_SYSTEM_ADAPTER=void 0;const n=r(35747),i=r(12087),o=Math.max(i.cpus().length,1);t.DEFAULT_FILE_SYSTEM_ADAPTER={lstat:n.lstat,lstatSync:n.lstatSync,stat:n.stat,statSync:n.statSync,readdir:n.readdir,readdirSync:n.readdirSync};t.default=class{constructor(e={}){this._options=e,this.absolute=this._getValue(this._options.absolute,!1),this.baseNameMatch=this._getValue(this._options.baseNameMatch,!1),this.braceExpansion=this._getValue(this._options.braceExpansion,!0),this.caseSensitiveMatch=this._getValue(this._options.caseSensitiveMatch,!0),this.concurrency=this._getValue(this._options.concurrency,o),this.cwd=this._getValue(this._options.cwd,process.cwd()),this.deep=this._getValue(this._options.deep,1/0),this.dot=this._getValue(this._options.dot,!1),this.extglob=this._getValue(this._options.extglob,!0),this.followSymbolicLinks=this._getValue(this._options.followSymbolicLinks,!0),this.fs=this._getFileSystemMethods(this._options.fs),this.globstar=this._getValue(this._options.globstar,!0),this.ignore=this._getValue(this._options.ignore,[]),this.markDirectories=this._getValue(this._options.markDirectories,!1),this.objectMode=this._getValue(this._options.objectMode,!1),this.onlyDirectories=this._getValue(this._options.onlyDirectories,!1),this.onlyFiles=this._getValue(this._options.onlyFiles,!0),this.stats=this._getValue(this._options.stats,!1),this.suppressErrors=this._getValue(this._options.suppressErrors,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!1),this.unique=this._getValue(this._options.unique,!0),this.onlyDirectories&&(this.onlyFiles=!1),this.stats&&(this.objectMode=!0)}_getValue(e,t){return void 0===e?t:e}_getFileSystemMethods(e={}){return Object.assign(Object.assign({},t.DEFAULT_FILE_SYSTEM_ADAPTER),e)}}},40587:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.splitWhen=t.flatten=void 0,t.flatten=function(e){return e.reduce((e,t)=>[].concat(e,t),[])},t.splitWhen=function(e,t){const r=[[]];let n=0;for(const i of e)t(i)?(n++,r[n]=[]):r[n].push(i);return r}},76709:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isEnoentCodeError=void 0,t.isEnoentCodeError=function(e){return"ENOENT"===e.code}},28783:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createDirentFromStats=void 0;class r{constructor(e,t){this.name=e,this.isBlockDevice=t.isBlockDevice.bind(t),this.isCharacterDevice=t.isCharacterDevice.bind(t),this.isDirectory=t.isDirectory.bind(t),this.isFIFO=t.isFIFO.bind(t),this.isFile=t.isFile.bind(t),this.isSocket=t.isSocket.bind(t),this.isSymbolicLink=t.isSymbolicLink.bind(t)}}t.createDirentFromStats=function(e,t){return new r(e,t)}},8264:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.string=t.stream=t.pattern=t.path=t.fs=t.errno=t.array=void 0;const n=r(40587);t.array=n;const i=r(76709);t.errno=i;const o=r(28783);t.fs=o;const s=r(54742);t.path=s;const a=r(41087);t.pattern=a;const l=r(39020);t.stream=l;const c=r(54027);t.string=c},54742:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.removeLeadingDotSegment=t.escape=t.makeAbsolute=t.unixify=void 0;const n=r(85622),i=/(\\?)([()*?[\]{|}]|^!|[!+@](?=\())/g;t.unixify=function(e){return e.replace(/\\/g,"/")},t.makeAbsolute=function(e,t){return n.resolve(e,t)},t.escape=function(e){return e.replace(i,"\\$2")},t.removeLeadingDotSegment=function(e){if("."===e.charAt(0)){const t=e.charAt(1);if("/"===t||"\\"===t)return e.slice(2)}return e}},41087:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.matchAny=t.convertPatternsToRe=t.makeRe=t.getPatternParts=t.expandBraceExpansion=t.expandPatternsWithBraceExpansion=t.isAffectDepthOfReadingPattern=t.endsWithSlashGlobStar=t.hasGlobStar=t.getBaseDirectory=t.isPatternRelatedToParentDirectory=t.getPatternsOutsideCurrentDirectory=t.getPatternsInsideCurrentDirectory=t.getPositivePatterns=t.getNegativePatterns=t.isPositivePattern=t.isNegativePattern=t.convertToNegativePattern=t.convertToPositivePattern=t.isDynamicPattern=t.isStaticPattern=void 0;const n=r(85622),i=r(72401),o=r(53024),s=/[*?]|^!/,a=/\[.*]/,l=/(?:^|[^!*+?@])\(.*\|.*\)/,c=/[!*+?@]\(.*\)/,u=/{.*(?:,|\.\.).*}/;function p(e,t={}){return!h(e,t)}function h(e,t={}){return""!==e&&(!(!1!==t.caseSensitiveMatch&&!e.includes("\\"))||(!!(s.test(e)||a.test(e)||l.test(e))||(!(!1===t.extglob||!c.test(e))||!(!1===t.braceExpansion||!u.test(e)))))}function d(e){return e.startsWith("!")&&"("!==e[1]}function f(e){return!d(e)}function g(e){return e.startsWith("..")||e.startsWith("./..")}function m(e){return e.endsWith("/**")}function v(e){return o.braces(e,{expand:!0,nodupes:!0})}function y(e,t){return o.makeRe(e,t)}t.isStaticPattern=p,t.isDynamicPattern=h,t.convertToPositivePattern=function(e){return d(e)?e.slice(1):e},t.convertToNegativePattern=function(e){return"!"+e},t.isNegativePattern=d,t.isPositivePattern=f,t.getNegativePatterns=function(e){return e.filter(d)},t.getPositivePatterns=function(e){return e.filter(f)},t.getPatternsInsideCurrentDirectory=function(e){return e.filter(e=>!g(e))},t.getPatternsOutsideCurrentDirectory=function(e){return e.filter(g)},t.isPatternRelatedToParentDirectory=g,t.getBaseDirectory=function(e){return i(e,{flipBackslashes:!1})},t.hasGlobStar=function(e){return e.includes("**")},t.endsWithSlashGlobStar=m,t.isAffectDepthOfReadingPattern=function(e){const t=n.basename(e);return m(e)||p(t)},t.expandPatternsWithBraceExpansion=function(e){return e.reduce((e,t)=>e.concat(v(t)),[])},t.expandBraceExpansion=v,t.getPatternParts=function(e,t){let{parts:r}=o.scan(e,Object.assign(Object.assign({},t),{parts:!0}));return 0===r.length&&(r=[e]),r[0].startsWith("/")&&(r[0]=r[0].slice(1),r.unshift("")),r},t.makeRe=y,t.convertPatternsToRe=function(e,t){return e.map(e=>y(e,t))},t.matchAny=function(e,t){return t.some(t=>t.test(e))}},39020:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.merge=void 0;const n=r(13774);function i(e){e.forEach(e=>e.emit("close"))}t.merge=function(e){const t=n(e);return e.forEach(e=>{e.once("error",e=>t.emit("error",e))}),t.once("close",()=>i(e)),t.once("end",()=>i(e)),t}},54027:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isEmpty=t.isString=void 0,t.isString=function(e){return"string"==typeof e},t.isEmpty=function(e){return""===e}},36197:(e,t,r)=>{"use strict";var n=r(2182),i=r(85622).posix.dirname,o="win32"===r(12087).platform(),s=/\\/g,a=/\\([!*?|[\](){}])/g;function l(e){return!!/\([^()]+$/.test(e)||("{"===e[0]||"["===e[0]||(!!/[^\\][{[]/.test(e)||n(e)))}e.exports=function(e,t){Object.assign({flipBackslashes:!0},t).flipBackslashes&&o&&e.indexOf("/")<0&&(e=e.replace(s,"/")),function(e){var t;switch(e.slice(-1)){case"}":t="{";break;case"]":t="[";break;default:return!1}var r=e.indexOf(t);if(r<0)return!1;return e.slice(r+1,-1).includes("/")}(e)&&(e+="/"),e+="a";do{e=i(e)}while(l(e));return e.replace(a,"$1")}},49821:(e,t,r)=>{let n=r(44633),i=r(62330),o=r(36277);e.exports=function(e){let t=n(e);return async e=>{let r=await t.process(e,{parser:o,from:void 0});return i(r)}}},89459:(e,t,r)=>{let n=r(20205),i=r(36277),o=r(49821),s=r(22806);e.exports={objectify:n,parse:i,async:o,sync:s}},20205:(e,t,r)=>{let n=r(50320),i={boxFlex:!0,boxFlexGroup:!0,columnCount:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,strokeDashoffset:!0,strokeOpacity:!0,strokeWidth:!0};function o(e){return void 0===e.nodes||s(e)}function s(e){let t,r={};return e.each(e=>{if("atrule"===e.type)t="@"+e.name,e.params&&(t+=" "+e.params),void 0===r[t]?r[t]=o(e):Array.isArray(r[t])?r[t].push(o(e)):r[t]=[r[t],o(e)];else if("rule"===e.type){let t=s(e);if(r[e.selector])for(let n in t)r[e.selector][n]=t[n];else r[e.selector]=t}else if("decl"===e.type){t="-"===e.prop[0]&&"-"===e.prop[1]?e.prop:n(e.prop);let o=e.value;!isNaN(e.value)&&i[t]&&(o=parseFloat(e.value)),e.important&&(o+=" !important"),void 0===r[t]?r[t]=o:Array.isArray(r[t])?r[t].push(o):r[t]=[r[t],o]}}),r}e.exports=s},36277:(e,t,r)=>{let n=r(44633),i=/\s*!important\s*$/i,o={"box-flex":!0,"box-flex-group":!0,"column-count":!0,flex:!0,"flex-grow":!0,"flex-positive":!0,"flex-shrink":!0,"flex-negative":!0,"font-weight":!0,"line-clamp":!0,"line-height":!0,opacity:!0,order:!0,orphans:!0,"tab-size":!0,widows:!0,"z-index":!0,zoom:!0,"fill-opacity":!0,"stroke-dashoffset":!0,"stroke-opacity":!0,"stroke-width":!0};function s(e,t,r){!1!==r&&null!==r&&(t.startsWith("--")||(t=t.replace(/([A-Z])/g,"-$1").replace(/^ms-/,"-ms-").toLowerCase()),"number"==typeof r&&(0===r||o[t]?r=r.toString():r+="px"),"css-float"===t&&(t="float"),i.test(r)?(r=r.replace(i,""),e.push(n.decl({prop:t,value:r,important:!0}))):e.push(n.decl({prop:t,value:r})))}function a(e,t,r){let i=n.atRule({name:t[1],params:t[3]||""});"object"==typeof r&&(i.nodes=[],l(r,i)),e.push(i)}function l(e,t){let r,i,o;for(r in e)if(i=e[r],null!=i)if("@"===r[0]){let e=r.match(/@(\S+)(\s+([\W\w]*)\s*)?/);if(Array.isArray(i))for(let r of i)a(t,e,r);else a(t,e,i)}else if(Array.isArray(i))for(let e of i)s(t,r,e);else"object"==typeof i?(o=n.rule({selector:r}),l(i,o),t.push(o)):s(t,r,i)}e.exports=function(e){let t=n.root();return l(e,t),t}},62330:(e,t,r)=>{let n=r(20205);e.exports=function(e){return console&&console.warn&&e.warnings().forEach(e=>{let t=e.plugin||"PostCSS";console.warn(t+": "+e.text)}),n(e.root)}},22806:(e,t,r)=>{let n=r(44633),i=r(62330),o=r(36277);e.exports=function(e){let t=n(e);return e=>{let r=t.process(e,{parser:o,from:void 0});return i(r)}}},7909:(e,t,r)=>{let n=r(32137);function i(e,t){let r,i=n(e=>{r=e});try{i.processSync(e)}catch(r){throw e.includes(":")?t?t.error("Missed semicolon"):r:t?t.error(r.message):r}return r.at(0)}function o(e,t){let r=[];return e.selectors.forEach(o=>{let s=i(o,e);t.selectors.forEach(e=>{if(e.length){let o=i(e,t);(function e(t,r){let n=!1;return t.each(t=>{if("nesting"===t.type){let e=r.clone();"&"!==t.value?t.replaceWith(i(t.value.replace("&",e.toString()))):t.replaceWith(e),n=!0}else t.nodes&&e(t,r)&&(n=!0)}),n})(o,s)||(o.prepend(n.combinator({value:" "})),o.prepend(s.clone())),r.push(o.toString())}})}),r}function s(e,t){return e&&"comment"===e.type?(t.after(e),e):t}function a(e,t,r,n){let i=new n({selector:e,nodes:[]});for(let e of t)i.append(e);return r.after(i),i}function l(e,t){let r={};for(let t of e)r[t]=!0;if(t)for(let e of t){r[e.replace(/^@/,"")]=!0}return r}e.exports=(e={})=>{let t=l(["media","supports"],e.bubble),r=function(e){return function t(r,n,i){let s=[];if(n.each(n=>{"comment"===n.type||"decl"===n.type?s.push(n):"rule"===n.type&&i?n.selectors=o(r,n):"atrule"===n.type&&(n.nodes&&e[n.name]?t(r,n,!0):s.push(n))}),i&&s.length){let e=r.clone({nodes:[]});for(let t of s)e.append(t);n.prepend(e)}}}(t),n=l(["document","font-face","keyframes","-webkit-keyframes","-moz-keyframes"],e.unwrap),i=e.preserveEmpty;return{postcssPlugin:"postcss-nested",Rule(e,{Rule:l}){let c=!1,u=e,p=!1,h=[];e.each(i=>{if("rule"===i.type)h.length&&(u=a(e.selector,h,u,l),h=[]),p=!0,c=!0,i.selectors=o(e,i),u=s(i.prev(),u),u.after(i),u=i;else if("atrule"===i.type)if(h.length&&(u=a(e.selector,h,u,l),h=[]),"at-root"===i.name){c=!0,r(e,i,!1);let t=i.nodes;i.params&&(t=new l({selector:i.params,nodes:t})),u.after(t),u=t,i.remove()}else t[i.name]?(p=!0,c=!0,r(e,i,!0),u=s(i.prev(),u),u.after(i),u=i):n[i.name]?(p=!0,c=!0,r(e,i,!1),u=s(i.prev(),u),u.after(i),u=i):p&&h.push(i);else"decl"===i.type&&p&&h.push(i)}),h.length&&(u=a(e.selector,h,u,l)),c&&!0!==i&&(e.raws.semicolon=!0,0===e.nodes.length&&e.remove())}}},e.exports.postcss=!0},32137:(e,t,r)=>{"use strict";t.__esModule=!0,t.default=void 0;var n,i=(n=r(62297))&&n.__esModule?n:{default:n},o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=n?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(r,i,o):r[i]=e[i]}r.default=e,t&&t.set(e,r);return r}(r(72080));function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}var a=function(e){return new i.default(e)};Object.assign(a,o),delete a.__esModule;var l=a;t.default=l,e.exports=t.default},14048:(e,t,r)=>{"use strict";t.__esModule=!0,t.default=void 0;var n,i,o=S(r(88921)),s=S(r(2215)),a=S(r(4687)),l=S(r(6724)),c=S(r(78186)),u=S(r(77841)),p=S(r(37567)),h=S(r(47602)),d=k(r(86772)),f=S(r(46312)),g=S(r(66015)),m=S(r(83979)),v=S(r(7958)),y=k(r(3413)),b=k(r(16665)),w=k(r(16776)),_=r(29180);function x(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return x=function(){return e},e}function k(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=x();if(t&&t.has(e))return t.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=n?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(r,i,o):r[i]=e[i]}return r.default=e,t&&t.set(e,r),r}function S(e){return e&&e.__esModule?e:{default:e}}function E(e,t){for(var r=0;rthis.position&&(i=this.parseWhitespaceEquivalentTokens(t)),this.isNamedCombinator()?r=this.namedCombinator():this.currToken[y.FIELDS.TYPE]===b.combinator?(r=new g.default({value:this.content(),source:P(this.currToken),sourceIndex:this.currToken[y.FIELDS.START_POS]}),this.position++):C[this.currToken[y.FIELDS.TYPE]]||i||this.unexpected(),r){if(i){var o=this.convertWhitespaceNodesToSpace(i),s=o.space,a=o.rawSpace;r.spaces.before=s,r.rawSpaceBefore=a}}else{var l=this.convertWhitespaceNodesToSpace(i,!0),c=l.space,u=l.rawSpace;u||(u=c);var p={},h={spaces:{}};c.endsWith(" ")&&u.endsWith(" ")?(p.before=c.slice(0,c.length-1),h.spaces.before=u.slice(0,u.length-1)):c.startsWith(" ")&&u.startsWith(" ")?(p.after=c.slice(1),h.spaces.after=u.slice(1)):h.value=u,r=new g.default({value:" ",source:I(n,this.tokens[this.position-1]),sourceIndex:n[y.FIELDS.START_POS],spaces:p,raws:h})}return this.currToken&&this.currToken[y.FIELDS.TYPE]===b.space&&(r.spaces.after=this.optionalSpace(this.content()),this.position++),this.newNode(r)}var d=this.parseWhitespaceEquivalentTokens(t);if(d.length>0){var f=this.current.last;if(f){var m=this.convertWhitespaceNodesToSpace(d),v=m.space,w=m.rawSpace;void 0!==w&&(f.rawSpaceAfter+=w),f.spaces.after+=v}else d.forEach((function(t){return e.newNode(t)}))}},i.comma=function(){if(this.position===this.tokens.length-1)return this.root.trailingComma=!0,void this.position++;this.current._inferEndPosition();var e=new s.default({source:{start:A(this.tokens[this.position+1])}});this.current.parent.append(e),this.current=e,this.position++},i.comment=function(){var e=this.currToken;this.newNode(new l.default({value:this.content(),source:P(e),sourceIndex:e[y.FIELDS.START_POS]})),this.position++},i.error=function(e,t){throw this.root.error(e,t)},i.missingBackslash=function(){return this.error("Expected a backslash preceding the semicolon.",{index:this.currToken[y.FIELDS.START_POS]})},i.missingParenthesis=function(){return this.expected("opening parenthesis",this.currToken[y.FIELDS.START_POS])},i.missingSquareBracket=function(){return this.expected("opening square bracket",this.currToken[y.FIELDS.START_POS])},i.unexpected=function(){return this.error("Unexpected '"+this.content()+"'. Escaping special characters with \\ may help.",this.currToken[y.FIELDS.START_POS])},i.namespace=function(){var e=this.prevToken&&this.content(this.prevToken)||!0;return this.nextToken[y.FIELDS.TYPE]===b.word?(this.position++,this.word(e)):this.nextToken[y.FIELDS.TYPE]===b.asterisk?(this.position++,this.universal(e)):void 0},i.nesting=function(){if(this.nextToken&&"|"===this.content(this.nextToken))return void this.position++;var e=this.currToken;this.newNode(new m.default({value:this.content(),source:P(e),sourceIndex:e[y.FIELDS.START_POS]})),this.position++},i.parentheses=function(){var e=this.current.last,t=1;if(this.position++,e&&e.type===w.PSEUDO){var r=new s.default({source:{start:A(this.tokens[this.position-1])}}),n=this.current;for(e.append(r),this.current=r;this.position1&&e.nextToken&&e.nextToken[y.FIELDS.TYPE]===b.openParenthesis&&e.error("Misplaced parenthesis.",{index:e.nextToken[y.FIELDS.START_POS]})})):this.expected(["pseudo-class","pseudo-element"],this.position-1)},i.space=function(){var e=this.content();0===this.position||this.prevToken[y.FIELDS.TYPE]===b.comma||this.prevToken[y.FIELDS.TYPE]===b.openParenthesis||this.current.nodes.every((function(e){return"comment"===e.type}))?(this.spaces=this.optionalSpace(e),this.position++):this.position===this.tokens.length-1||this.nextToken[y.FIELDS.TYPE]===b.comma||this.nextToken[y.FIELDS.TYPE]===b.closeParenthesis?(this.current.last.spaces.after=this.optionalSpace(e),this.position++):this.combinator()},i.string=function(){var e=this.currToken;this.newNode(new p.default({value:this.content(),source:P(e),sourceIndex:e[y.FIELDS.START_POS]})),this.position++},i.universal=function(e){var t=this.nextToken;if(t&&"|"===this.content(t))return this.position++,this.namespace();var r=this.currToken;this.newNode(new f.default({value:this.content(),source:P(r),sourceIndex:r[y.FIELDS.START_POS]}),e),this.position++},i.splitWord=function(e,t){for(var r=this,n=this.nextToken,i=this.content();n&&~[b.dollar,b.caret,b.equals,b.word].indexOf(n[y.FIELDS.TYPE]);){this.position++;var o=this.content();if(i+=o,o.lastIndexOf("\\")===o.length-1){var s=this.nextToken;s&&s[y.FIELDS.TYPE]===b.space&&(i+=this.requiredSpace(this.content(s)),this.position++)}n=this.nextToken}var l=D(i,".").filter((function(e){var t="\\"===i[e-1],r=/^\d+\.\d+%$/.test(i);return!t&&!r})),p=D(i,"#").filter((function(e){return"\\"!==i[e-1]})),h=D(i,"#{");h.length&&(p=p.filter((function(e){return!~h.indexOf(e)})));var d=(0,v.default)(function(){var e=Array.prototype.concat.apply([],arguments);return e.filter((function(t,r){return r===e.indexOf(t)}))}([0].concat(l,p)));d.forEach((function(n,o){var s,h=d[o+1]||i.length,f=i.slice(n,h);if(0===o&&t)return t.call(r,f,d.length);var g=r.currToken,m=g[y.FIELDS.START_POS]+d[o],v=O(g[1],g[2]+n,g[3],g[2]+(h-1));if(~l.indexOf(n)){var b={value:f.slice(1),source:v,sourceIndex:m};s=new a.default(M(b,"value"))}else if(~p.indexOf(n)){var w={value:f.slice(1),source:v,sourceIndex:m};s=new c.default(M(w,"value"))}else{var _={value:f,source:v,sourceIndex:m};M(_,"value"),s=new u.default(_)}r.newNode(s,e),e=null})),this.position++},i.word=function(e){var t=this.nextToken;return t&&"|"===this.content(t)?(this.position++,this.namespace()):this.splitWord(e)},i.loop=function(){for(;this.position{"use strict";t.__esModule=!0,t.default=void 0;var n,i=(n=r(14048))&&n.__esModule?n:{default:n};var o=function(){function e(e,t){this.func=e||function(){},this.funcRes=null,this.options=t}var t=e.prototype;return t._shouldUpdateSelector=function(e,t){return void 0===t&&(t={}),!1!==Object.assign({},this.options,t).updateSelector&&"string"!=typeof e},t._isLossy=function(e){return void 0===e&&(e={}),!1===Object.assign({},this.options,e).lossless},t._root=function(e,t){return void 0===t&&(t={}),new i.default(e,this._parseOptions(t)).root},t._parseOptions=function(e){return{lossy:this._isLossy(e)}},t._run=function(e,t){var r=this;return void 0===t&&(t={}),new Promise((function(n,i){try{var o=r._root(e,t);Promise.resolve(r.func(o)).then((function(n){var i=void 0;return r._shouldUpdateSelector(e,t)&&(i=o.toString(),e.selector=i),{transform:n,root:o,string:i}})).then(n,i)}catch(e){return void i(e)}}))},t._runSync=function(e,t){void 0===t&&(t={});var r=this._root(e,t),n=this.func(r);if(n&&"function"==typeof n.then)throw new Error("Selector processor returned a promise to a synchronous call.");var i=void 0;return t.updateSelector&&"string"!=typeof e&&(i=r.toString(),e.selector=i),{transform:n,root:r,string:i}},t.ast=function(e,t){return this._run(e,t).then((function(e){return e.root}))},t.astSync=function(e,t){return this._runSync(e,t).root},t.transform=function(e,t){return this._run(e,t).then((function(e){return e.transform}))},t.transformSync=function(e,t){return this._runSync(e,t).transform},t.process=function(e,t){return this._run(e,t).then((function(e){return e.string||e.root.toString()}))},t.processSync=function(e,t){var r=this._runSync(e,t);return r.string||r.root.toString()},e}();t.default=o,e.exports=t.default},86772:(e,t,r)=>{"use strict";t.__esModule=!0,t.unescapeValue=m,t.default=void 0;var n,i=l(r(25455)),o=l(r(73831)),s=l(r(69772)),a=r(16776);function l(e){return e&&e.__esModule?e:{default:e}}function c(e,t){for(var r=0;r0)||e.quoted||0!==r.before.length||e.spaces.value&&e.spaces.value.after||(r.before=" "),b(t,r)})))),t.push("]"),t.push(this.rawSpaceAfter),t.join("")},o=n,(s=[{key:"quoted",get:function(){var e=this.quoteMark;return"'"===e||'"'===e},set:function(e){f()}},{key:"quoteMark",get:function(){return this._quoteMark},set:function(e){this._constructed?this._quoteMark!==e&&(this._quoteMark=e,this._syncRawValue()):this._quoteMark=e}},{key:"qualifiedAttribute",get:function(){return this.qualifiedName(this.raws.attribute||this.attribute)}},{key:"insensitiveFlag",get:function(){return this.insensitive?"i":""}},{key:"value",get:function(){return this._value},set:function(e){if(this._constructed){var t=m(e),r=t.deprecatedUsage,n=t.unescaped,i=t.quoteMark;if(r&&d(),n===this._value&&i===this._quoteMark)return;this._value=n,this._quoteMark=i,this._syncRawValue()}else this._value=e}},{key:"attribute",get:function(){return this._attribute},set:function(e){this._handleEscapes("attribute",e),this._attribute=e}}])&&c(o.prototype,s),l&&c(o,l),n}(s.default);t.default=v,v.NO_QUOTE=null,v.SINGLE_QUOTE="'",v.DOUBLE_QUOTE='"';var y=((n={"'":{quotes:"single",wrap:!0},'"':{quotes:"double",wrap:!0}}).null={isIdentifier:!0},n);function b(e,t){return""+t.before+e+t.after}},4687:(e,t,r)=>{"use strict";t.__esModule=!0,t.default=void 0;var n=a(r(25455)),i=r(29180),o=a(r(71662)),s=r(16776);function a(e){return e&&e.__esModule?e:{default:e}}function l(e,t){for(var r=0;r{"use strict";t.__esModule=!0,t.default=void 0;var n,i=(n=r(71662))&&n.__esModule?n:{default:n},o=r(16776);function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var a=function(e){var t,r;function n(t){var r;return(r=e.call(this,t)||this).type=o.COMBINATOR,r}return r=e,(t=n).prototype=Object.create(r.prototype),t.prototype.constructor=t,s(t,r),n}(i.default);t.default=a,e.exports=t.default},6724:(e,t,r)=>{"use strict";t.__esModule=!0,t.default=void 0;var n,i=(n=r(71662))&&n.__esModule?n:{default:n},o=r(16776);function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var a=function(e){var t,r;function n(t){var r;return(r=e.call(this,t)||this).type=o.COMMENT,r}return r=e,(t=n).prototype=Object.create(r.prototype),t.prototype.constructor=t,s(t,r),n}(i.default);t.default=a,e.exports=t.default},80211:(e,t,r)=>{"use strict";t.__esModule=!0,t.universal=t.tag=t.string=t.selector=t.root=t.pseudo=t.nesting=t.id=t.comment=t.combinator=t.className=t.attribute=void 0;var n=g(r(86772)),i=g(r(4687)),o=g(r(66015)),s=g(r(6724)),a=g(r(78186)),l=g(r(83979)),c=g(r(47602)),u=g(r(88921)),p=g(r(2215)),h=g(r(37567)),d=g(r(77841)),f=g(r(46312));function g(e){return e&&e.__esModule?e:{default:e}}t.attribute=function(e){return new n.default(e)};t.className=function(e){return new i.default(e)};t.combinator=function(e){return new o.default(e)};t.comment=function(e){return new s.default(e)};t.id=function(e){return new a.default(e)};t.nesting=function(e){return new l.default(e)};t.pseudo=function(e){return new c.default(e)};t.root=function(e){return new u.default(e)};t.selector=function(e){return new p.default(e)};t.string=function(e){return new h.default(e)};t.tag=function(e){return new d.default(e)};t.universal=function(e){return new f.default(e)}},38927:(e,t,r)=>{"use strict";t.__esModule=!0,t.default=void 0;var n,i=(n=r(71662))&&n.__esModule?n:{default:n},o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=n?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(r,i,o):r[i]=e[i]}r.default=e,t&&t.set(e,r);return r}(r(16776));function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function a(e,t){var r;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(r=function(e,t){if(!e)return;if("string"==typeof e)return l(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return l(e,t)}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(r=e[Symbol.iterator]()).next.bind(r)}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r=e&&(this.indexes[r]=t-1);return this},p.removeAll=function(){for(var e,t=a(this.nodes);!(e=t()).done;){e.value.parent=void 0}return this.nodes=[],this},p.empty=function(){return this.removeAll()},p.insertAfter=function(e,t){t.parent=this;var r,n=this.index(e);for(var i in this.nodes.splice(n+1,0,t),t.parent=this,this.indexes)n<=(r=this.indexes[i])&&(this.indexes[i]=r+1);return this},p.insertBefore=function(e,t){t.parent=this;var r,n=this.index(e);for(var i in this.nodes.splice(n,0,t),t.parent=this,this.indexes)(r=this.indexes[i])<=n&&(this.indexes[i]=r+1);return this},p._findChildAtPosition=function(e,t){var r=void 0;return this.each((function(n){if(n.atPosition){var i=n.atPosition(e,t);if(i)return r=i,!1}else if(n.isAtPosition(e,t))return r=n,!1})),r},p.atPosition=function(e,t){return this.isAtPosition(e,t)?this._findChildAtPosition(e,t)||this:void 0},p._inferEndPosition=function(){this.last&&this.last.source&&this.last.source.end&&(this.source=this.source||{},this.source.end=this.source.end||{},Object.assign(this.source.end,this.last.source.end))},p.each=function(e){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach++;var t=this.lastEach;if(this.indexes[t]=0,this.length){for(var r,n;this.indexes[t]{"use strict";t.__esModule=!0,t.isNode=s,t.isPseudoElement=w,t.isPseudoClass=function(e){return f(e)&&!w(e)},t.isContainer=function(e){return!(!s(e)||!e.walk)},t.isNamespace=function(e){return l(e)||y(e)},t.isUniversal=t.isTag=t.isString=t.isSelector=t.isRoot=t.isPseudo=t.isNesting=t.isIdentifier=t.isComment=t.isCombinator=t.isClassName=t.isAttribute=void 0;var n,i=r(16776),o=((n={})[i.ATTRIBUTE]=!0,n[i.CLASS]=!0,n[i.COMBINATOR]=!0,n[i.COMMENT]=!0,n[i.ID]=!0,n[i.NESTING]=!0,n[i.PSEUDO]=!0,n[i.ROOT]=!0,n[i.SELECTOR]=!0,n[i.STRING]=!0,n[i.TAG]=!0,n[i.UNIVERSAL]=!0,n);function s(e){return"object"==typeof e&&o[e.type]}function a(e,t){return s(t)&&t.type===e}var l=a.bind(null,i.ATTRIBUTE);t.isAttribute=l;var c=a.bind(null,i.CLASS);t.isClassName=c;var u=a.bind(null,i.COMBINATOR);t.isCombinator=u;var p=a.bind(null,i.COMMENT);t.isComment=p;var h=a.bind(null,i.ID);t.isIdentifier=h;var d=a.bind(null,i.NESTING);t.isNesting=d;var f=a.bind(null,i.PSEUDO);t.isPseudo=f;var g=a.bind(null,i.ROOT);t.isRoot=g;var m=a.bind(null,i.SELECTOR);t.isSelector=m;var v=a.bind(null,i.STRING);t.isString=v;var y=a.bind(null,i.TAG);t.isTag=y;var b=a.bind(null,i.UNIVERSAL);function w(e){return f(e)&&e.value&&(e.value.startsWith("::")||":before"===e.value.toLowerCase()||":after"===e.value.toLowerCase())}t.isUniversal=b},78186:(e,t,r)=>{"use strict";t.__esModule=!0,t.default=void 0;var n,i=(n=r(71662))&&n.__esModule?n:{default:n},o=r(16776);function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var a=function(e){var t,r;function n(t){var r;return(r=e.call(this,t)||this).type=o.ID,r}return r=e,(t=n).prototype=Object.create(r.prototype),t.prototype.constructor=t,s(t,r),n.prototype.valueToString=function(){return"#"+e.prototype.valueToString.call(this)},n}(i.default);t.default=a,e.exports=t.default},72080:(e,t,r)=>{"use strict";t.__esModule=!0;var n=r(16776);Object.keys(n).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===n[e]||(t[e]=n[e]))}));var i=r(80211);Object.keys(i).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===i[e]||(t[e]=i[e]))}));var o=r(37264);Object.keys(o).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===o[e]||(t[e]=o[e]))}))},69772:(e,t,r)=>{"use strict";t.__esModule=!0,t.default=void 0;var n=o(r(25455)),i=r(29180);function o(e){return e&&e.__esModule?e:{default:e}}function s(e,t){for(var r=0;r{"use strict";t.__esModule=!0,t.default=void 0;var n,i=(n=r(71662))&&n.__esModule?n:{default:n},o=r(16776);function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var a=function(e){var t,r;function n(t){var r;return(r=e.call(this,t)||this).type=o.NESTING,r.value="&",r}return r=e,(t=n).prototype=Object.create(r.prototype),t.prototype.constructor=t,s(t,r),n}(i.default);t.default=a,e.exports=t.default},71662:(e,t,r)=>{"use strict";t.__esModule=!0,t.default=void 0;var n=r(29180);function i(e,t){for(var r=0;re)&&(!(this.source.end.linet)&&!(this.source.end.line===e&&this.source.end.column{"use strict";t.__esModule=!0,t.default=void 0;var n,i=(n=r(38927))&&n.__esModule?n:{default:n},o=r(16776);function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var a=function(e){var t,r;function n(t){var r;return(r=e.call(this,t)||this).type=o.PSEUDO,r}return r=e,(t=n).prototype=Object.create(r.prototype),t.prototype.constructor=t,s(t,r),n.prototype.toString=function(){var e=this.length?"("+this.map(String).join(",")+")":"";return[this.rawSpaceBefore,this.stringifyProperty("value"),e,this.rawSpaceAfter].join("")},n}(i.default);t.default=a,e.exports=t.default},88921:(e,t,r)=>{"use strict";t.__esModule=!0,t.default=void 0;var n,i=(n=r(38927))&&n.__esModule?n:{default:n},o=r(16776);function s(e,t){for(var r=0;r{"use strict";t.__esModule=!0,t.default=void 0;var n,i=(n=r(38927))&&n.__esModule?n:{default:n},o=r(16776);function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var a=function(e){var t,r;function n(t){var r;return(r=e.call(this,t)||this).type=o.SELECTOR,r}return r=e,(t=n).prototype=Object.create(r.prototype),t.prototype.constructor=t,s(t,r),n}(i.default);t.default=a,e.exports=t.default},37567:(e,t,r)=>{"use strict";t.__esModule=!0,t.default=void 0;var n,i=(n=r(71662))&&n.__esModule?n:{default:n},o=r(16776);function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var a=function(e){var t,r;function n(t){var r;return(r=e.call(this,t)||this).type=o.STRING,r}return r=e,(t=n).prototype=Object.create(r.prototype),t.prototype.constructor=t,s(t,r),n}(i.default);t.default=a,e.exports=t.default},77841:(e,t,r)=>{"use strict";t.__esModule=!0,t.default=void 0;var n,i=(n=r(69772))&&n.__esModule?n:{default:n},o=r(16776);function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var a=function(e){var t,r;function n(t){var r;return(r=e.call(this,t)||this).type=o.TAG,r}return r=e,(t=n).prototype=Object.create(r.prototype),t.prototype.constructor=t,s(t,r),n}(i.default);t.default=a,e.exports=t.default},16776:(e,t)=>{"use strict";t.__esModule=!0,t.UNIVERSAL=t.ATTRIBUTE=t.CLASS=t.COMBINATOR=t.COMMENT=t.ID=t.NESTING=t.PSEUDO=t.ROOT=t.SELECTOR=t.STRING=t.TAG=void 0;t.TAG="tag";t.STRING="string";t.SELECTOR="selector";t.ROOT="root";t.PSEUDO="pseudo";t.NESTING="nesting";t.ID="id";t.COMMENT="comment";t.COMBINATOR="combinator";t.CLASS="class";t.ATTRIBUTE="attribute";t.UNIVERSAL="universal"},46312:(e,t,r)=>{"use strict";t.__esModule=!0,t.default=void 0;var n,i=(n=r(69772))&&n.__esModule?n:{default:n},o=r(16776);function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var a=function(e){var t,r;function n(t){var r;return(r=e.call(this,t)||this).type=o.UNIVERSAL,r.value="*",r}return r=e,(t=n).prototype=Object.create(r.prototype),t.prototype.constructor=t,s(t,r),n}(i.default);t.default=a,e.exports=t.default},7958:(e,t)=>{"use strict";t.__esModule=!0,t.default=function(e){return e.sort((function(e,t){return e-t}))},e.exports=t.default},16665:(e,t)=>{"use strict";t.__esModule=!0,t.combinator=t.word=t.comment=t.str=t.tab=t.newline=t.feed=t.cr=t.backslash=t.bang=t.slash=t.doubleQuote=t.singleQuote=t.space=t.greaterThan=t.pipe=t.equals=t.plus=t.caret=t.tilde=t.dollar=t.closeSquare=t.openSquare=t.closeParenthesis=t.openParenthesis=t.semicolon=t.colon=t.comma=t.at=t.asterisk=t.ampersand=void 0;t.ampersand=38;t.asterisk=42;t.at=64;t.comma=44;t.colon=58;t.semicolon=59;t.openParenthesis=40;t.closeParenthesis=41;t.openSquare=91;t.closeSquare=93;t.dollar=36;t.tilde=126;t.caret=94;t.plus=43;t.equals=61;t.pipe=124;t.greaterThan=62;t.space=32;t.singleQuote=39;t.doubleQuote=34;t.slash=47;t.bang=33;t.backslash=92;t.cr=13;t.feed=12;t.newline=10;t.tab=9;t.str=39;t.comment=-1;t.word=-2;t.combinator=-3},3413:(e,t,r)=>{"use strict";t.__esModule=!0,t.default=function(e){var t,r,n,i,s,a,l,c,u,h,d,f,g,m=[],v=e.css.valueOf(),y=v.length,b=-1,w=1,_=0,x=0;function k(t,r){if(!e.safe)throw e.error("Unclosed "+t,w,_-b,_);u=(v+=r).length-1}for(;_0?(h=w+l,d=u-c[l].length):(h=w,d=b),g=o.comment,w=h,i=h,n=u-d):t===o.slash?(g=t,i=w,n=_-b,x=(u=_)+1):(u=p(v,_),g=o.word,i=w,n=u-b),x=u+1}m.push([g,w,_-b,i,n,_,x]),d&&(b=d,d=null),_=x}return m},t.FIELDS=void 0;var n,i,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=n?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(r,i,o):r[i]=e[i]}r.default=e,t&&t.set(e,r);return r}(r(16665));function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}for(var a=((n={})[o.tab]=!0,n[o.newline]=!0,n[o.cr]=!0,n[o.feed]=!0,n),l=((i={})[o.space]=!0,i[o.tab]=!0,i[o.newline]=!0,i[o.cr]=!0,i[o.feed]=!0,i[o.ampersand]=!0,i[o.asterisk]=!0,i[o.bang]=!0,i[o.comma]=!0,i[o.colon]=!0,i[o.semicolon]=!0,i[o.openParenthesis]=!0,i[o.closeParenthesis]=!0,i[o.openSquare]=!0,i[o.closeSquare]=!0,i[o.singleQuote]=!0,i[o.doubleQuote]=!0,i[o.plus]=!0,i[o.pipe]=!0,i[o.tilde]=!0,i[o.greaterThan]=!0,i[o.equals]=!0,i[o.dollar]=!0,i[o.caret]=!0,i[o.slash]=!0,i),c={},u=0;u<"0123456789abcdefABCDEF".length;u++)c["0123456789abcdefABCDEF".charCodeAt(u)]=!0;function p(e,t){var r,n=t;do{if(r=e.charCodeAt(n),l[r])return n-1;r===o.backslash?n=h(e,n)+1:n++}while(n{"use strict";t.__esModule=!0,t.default=function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n0;){var i=r.shift();e[i]||(e[i]={}),e=e[i]}},e.exports=t.default},58195:(e,t)=>{"use strict";t.__esModule=!0,t.default=function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n0;){var i=r.shift();if(!e[i])return;e=e[i]}return e},e.exports=t.default},29180:(e,t,r)=>{"use strict";t.__esModule=!0,t.stripComments=t.ensureObject=t.getProp=t.unesc=void 0;var n=a(r(73831));t.unesc=n.default;var i=a(r(58195));t.getProp=i.default;var o=a(r(37445));t.ensureObject=o.default;var s=a(r(43050));function a(e){return e&&e.__esModule?e:{default:e}}t.stripComments=s.default},43050:(e,t)=>{"use strict";t.__esModule=!0,t.default=function(e){var t="",r=e.indexOf("/*"),n=0;for(;r>=0;){t+=e.slice(n,r);var i=e.indexOf("*/",r+2);if(i<0)return t;n=i+2,r=e.indexOf("/*",n)}return t+=e.slice(n)},e.exports=t.default},73831:(e,t)=>{"use strict";function r(e){for(var t=e.toLowerCase(),r="",n=!1,i=0;i<6&&void 0!==t[i];i++){var o=t.charCodeAt(i);if(n=32===o,!(o>=97&&o<=102||o>=48&&o<=57))break;r+=t[i]}if(0!==r.length){var s=parseInt(r,16);return s>=55296&&s<=57343||0===s||s>1114111?["�",r.length+(n?1:0)]:[String.fromCodePoint(s),r.length+(n?1:0)]}}t.__esModule=!0,t.default=function(e){if(!n.test(e))return e;for(var t="",i=0;i{"use strict";class t{constructor(e={}){if(!(e.maxSize&&e.maxSize>0))throw new TypeError("`maxSize` must be a number greater than 0");this.maxSize=e.maxSize,this.onEviction=e.onEviction,this.cache=new Map,this.oldCache=new Map,this._size=0}_set(e,t){if(this.cache.set(e,t),this._size++,this._size>=this.maxSize){if(this._size=0,"function"==typeof this.onEviction)for(const[e,t]of this.oldCache.entries())this.onEviction(e,t);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)){const 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){return this.cache.has(e)?this.cache.get(e):this.oldCache.has(e)?this.oldCache.get(e):void 0}delete(e){const 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(const[e]of this)yield e}*values(){for(const[,e]of this)yield e}*[Symbol.iterator](){for(const e of this.cache)yield e;for(const e of this.oldCache){const[t]=e;this.cache.has(t)||(yield e)}}get size(){let e=0;for(const t of this.oldCache.keys())this.cache.has(t)||e++;return Math.min(this._size+e,this.maxSize)}}e.exports=t},31108:(e,t,r)=>{let n=r(26244);e.exports=(n.__esModule?n:{default:n}).default},60362:(e,t,r)=>{let n=r(15414);e.exports=(n.__esModule?n:{default:n}).default},65539:e=>{e.exports={content:[],presets:[],darkMode:"media",theme:{screens:{sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},colors:({colors:e})=>({inherit:e.inherit,current:e.current,transparent:e.transparent,black:e.black,white:e.white,slate:e.slate,gray:e.gray,zinc:e.zinc,neutral:e.neutral,stone:e.stone,red:e.red,orange:e.orange,amber:e.amber,yellow:e.yellow,lime:e.lime,green:e.green,emerald:e.emerald,teal:e.teal,cyan:e.cyan,sky:e.sky,blue:e.blue,indigo:e.indigo,violet:e.violet,purple:e.purple,fuchsia:e.fuchsia,pink:e.pink,rose:e.rose}),columns:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12","3xs":"16rem","2xs":"18rem",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem"},spacing:{px:"1px",0:"0px",.5:"0.125rem",1:"0.25rem",1.5:"0.375rem",2:"0.5rem",2.5:"0.625rem",3:"0.75rem",3.5:"0.875rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem",11:"2.75rem",12:"3rem",14:"3.5rem",16:"4rem",20:"5rem",24:"6rem",28:"7rem",32:"8rem",36:"9rem",40:"10rem",44:"11rem",48:"12rem",52:"13rem",56:"14rem",60:"15rem",64:"16rem",72:"18rem",80:"20rem",96:"24rem"},animation:{none:"none",spin:"spin 1s linear infinite",ping:"ping 1s cubic-bezier(0, 0, 0.2, 1) infinite",pulse:"pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite",bounce:"bounce 1s infinite"},aspectRatio:{auto:"auto",square:"1 / 1",video:"16 / 9"},backdropBlur:({theme:e})=>e("blur"),backdropBrightness:({theme:e})=>e("brightness"),backdropContrast:({theme:e})=>e("contrast"),backdropGrayscale:({theme:e})=>e("grayscale"),backdropHueRotate:({theme:e})=>e("hueRotate"),backdropInvert:({theme:e})=>e("invert"),backdropOpacity:({theme:e})=>e("opacity"),backdropSaturate:({theme:e})=>e("saturate"),backdropSepia:({theme:e})=>e("sepia"),backgroundColor:({theme:e})=>e("colors"),backgroundImage:{none:"none","gradient-to-t":"linear-gradient(to top, var(--tw-gradient-stops))","gradient-to-tr":"linear-gradient(to top right, var(--tw-gradient-stops))","gradient-to-r":"linear-gradient(to right, var(--tw-gradient-stops))","gradient-to-br":"linear-gradient(to bottom right, var(--tw-gradient-stops))","gradient-to-b":"linear-gradient(to bottom, var(--tw-gradient-stops))","gradient-to-bl":"linear-gradient(to bottom left, var(--tw-gradient-stops))","gradient-to-l":"linear-gradient(to left, var(--tw-gradient-stops))","gradient-to-tl":"linear-gradient(to top left, var(--tw-gradient-stops))"},backgroundOpacity:({theme:e})=>e("opacity"),backgroundPosition:{bottom:"bottom",center:"center",left:"left","left-bottom":"left bottom","left-top":"left top",right:"right","right-bottom":"right bottom","right-top":"right top",top:"top"},backgroundSize:{auto:"auto",cover:"cover",contain:"contain"},blur:{0:"0",none:"0",sm:"4px",DEFAULT:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},brightness:{0:"0",50:".5",75:".75",90:".9",95:".95",100:"1",105:"1.05",110:"1.1",125:"1.25",150:"1.5",200:"2"},borderColor:({theme:e})=>({...e("colors"),DEFAULT:e("colors.gray.200","currentColor")}),borderOpacity:({theme:e})=>e("opacity"),borderRadius:{none:"0px",sm:"0.125rem",DEFAULT:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},borderWidth:{DEFAULT:"1px",0:"0px",2:"2px",4:"4px",8:"8px"},boxShadow:{sm:"0 1px 2px 0 rgb(0 0 0 / 0.05)",DEFAULT:"0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)",md:"0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)",lg:"0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)",xl:"0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)","2xl":"0 25px 50px -12px rgb(0 0 0 / 0.25)",inner:"inset 0 2px 4px 0 rgb(0 0 0 / 0.05)",none:"none"},boxShadowColor:({theme:e})=>e("colors"),caretColor:({theme:e})=>e("colors"),accentColor:({theme:e})=>({...e("colors"),auto:"auto"}),contrast:{0:"0",50:".5",75:".75",100:"1",125:"1.25",150:"1.5",200:"2"},container:{},content:{none:"none"},cursor:{auto:"auto",default:"default",pointer:"pointer",wait:"wait",text:"text",move:"move",help:"help","not-allowed":"not-allowed",none:"none","context-menu":"context-menu",progress:"progress",cell:"cell",crosshair:"crosshair","vertical-text":"vertical-text",alias:"alias",copy:"copy","no-drop":"no-drop",grab:"grab",grabbing:"grabbing","all-scroll":"all-scroll","col-resize":"col-resize","row-resize":"row-resize","n-resize":"n-resize","e-resize":"e-resize","s-resize":"s-resize","w-resize":"w-resize","ne-resize":"ne-resize","nw-resize":"nw-resize","se-resize":"se-resize","sw-resize":"sw-resize","ew-resize":"ew-resize","ns-resize":"ns-resize","nesw-resize":"nesw-resize","nwse-resize":"nwse-resize","zoom-in":"zoom-in","zoom-out":"zoom-out"},divideColor:({theme:e})=>e("borderColor"),divideOpacity:({theme:e})=>e("borderOpacity"),divideWidth:({theme:e})=>e("borderWidth"),dropShadow:{sm:"0 1px 1px rgb(0 0 0 / 0.05)",DEFAULT:["0 1px 2px rgb(0 0 0 / 0.1)","0 1px 1px rgb(0 0 0 / 0.06)"],md:["0 4px 3px rgb(0 0 0 / 0.07)","0 2px 2px rgb(0 0 0 / 0.06)"],lg:["0 10px 8px rgb(0 0 0 / 0.04)","0 4px 3px rgb(0 0 0 / 0.1)"],xl:["0 20px 13px rgb(0 0 0 / 0.03)","0 8px 5px rgb(0 0 0 / 0.08)"],"2xl":"0 25px 25px rgb(0 0 0 / 0.15)",none:"0 0 #0000"},fill:({theme:e})=>e("colors"),grayscale:{0:"0",DEFAULT:"100%"},hueRotate:{0:"0deg",15:"15deg",30:"30deg",60:"60deg",90:"90deg",180:"180deg"},invert:{0:"0",DEFAULT:"100%"},flex:{1:"1 1 0%",auto:"1 1 auto",initial:"0 1 auto",none:"none"},flexBasis:({theme:e})=>({auto:"auto",...e("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%","1/12":"8.333333%","2/12":"16.666667%","3/12":"25%","4/12":"33.333333%","5/12":"41.666667%","6/12":"50%","7/12":"58.333333%","8/12":"66.666667%","9/12":"75%","10/12":"83.333333%","11/12":"91.666667%",full:"100%"}),flexGrow:{0:"0",DEFAULT:"1"},flexShrink:{0:"0",DEFAULT:"1"},fontFamily:{sans:["ui-sans-serif","system-ui","-apple-system","BlinkMacSystemFont",'"Segoe UI"',"Roboto",'"Helvetica Neue"',"Arial",'"Noto Sans"',"sans-serif",'"Apple Color Emoji"','"Segoe UI Emoji"','"Segoe UI Symbol"','"Noto Color Emoji"'],serif:["ui-serif","Georgia","Cambria",'"Times New Roman"',"Times","serif"],mono:["ui-monospace","SFMono-Regular","Menlo","Monaco","Consolas",'"Liberation Mono"','"Courier New"',"monospace"]},fontSize:{xs:["0.75rem",{lineHeight:"1rem"}],sm:["0.875rem",{lineHeight:"1.25rem"}],base:["1rem",{lineHeight:"1.5rem"}],lg:["1.125rem",{lineHeight:"1.75rem"}],xl:["1.25rem",{lineHeight:"1.75rem"}],"2xl":["1.5rem",{lineHeight:"2rem"}],"3xl":["1.875rem",{lineHeight:"2.25rem"}],"4xl":["2.25rem",{lineHeight:"2.5rem"}],"5xl":["3rem",{lineHeight:"1"}],"6xl":["3.75rem",{lineHeight:"1"}],"7xl":["4.5rem",{lineHeight:"1"}],"8xl":["6rem",{lineHeight:"1"}],"9xl":["8rem",{lineHeight:"1"}]},fontWeight:{thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},gap:({theme:e})=>e("spacing"),gradientColorStops:({theme:e})=>e("colors"),gridAutoColumns:{auto:"auto",min:"min-content",max:"max-content",fr:"minmax(0, 1fr)"},gridAutoRows:{auto:"auto",min:"min-content",max:"max-content",fr:"minmax(0, 1fr)"},gridColumn:{auto:"auto","span-1":"span 1 / span 1","span-2":"span 2 / span 2","span-3":"span 3 / span 3","span-4":"span 4 / span 4","span-5":"span 5 / span 5","span-6":"span 6 / span 6","span-7":"span 7 / span 7","span-8":"span 8 / span 8","span-9":"span 9 / span 9","span-10":"span 10 / span 10","span-11":"span 11 / span 11","span-12":"span 12 / span 12","span-full":"1 / -1"},gridColumnEnd:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13"},gridColumnStart:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13"},gridRow:{auto:"auto","span-1":"span 1 / span 1","span-2":"span 2 / span 2","span-3":"span 3 / span 3","span-4":"span 4 / span 4","span-5":"span 5 / span 5","span-6":"span 6 / span 6","span-full":"1 / -1"},gridRowStart:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7"},gridRowEnd:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7"},gridTemplateColumns:{none:"none",1:"repeat(1, minmax(0, 1fr))",2:"repeat(2, minmax(0, 1fr))",3:"repeat(3, minmax(0, 1fr))",4:"repeat(4, minmax(0, 1fr))",5:"repeat(5, minmax(0, 1fr))",6:"repeat(6, minmax(0, 1fr))",7:"repeat(7, minmax(0, 1fr))",8:"repeat(8, minmax(0, 1fr))",9:"repeat(9, minmax(0, 1fr))",10:"repeat(10, minmax(0, 1fr))",11:"repeat(11, minmax(0, 1fr))",12:"repeat(12, minmax(0, 1fr))"},gridTemplateRows:{none:"none",1:"repeat(1, minmax(0, 1fr))",2:"repeat(2, minmax(0, 1fr))",3:"repeat(3, minmax(0, 1fr))",4:"repeat(4, minmax(0, 1fr))",5:"repeat(5, minmax(0, 1fr))",6:"repeat(6, minmax(0, 1fr))"},height:({theme:e})=>({auto:"auto",...e("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%",full:"100%",screen:"100vh",min:"min-content",max:"max-content",fit:"fit-content"}),inset:({theme:e})=>({auto:"auto",...e("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%",full:"100%"}),keyframes:{spin:{to:{transform:"rotate(360deg)"}},ping:{"75%, 100%":{transform:"scale(2)",opacity:"0"}},pulse:{"50%":{opacity:".5"}},bounce:{"0%, 100%":{transform:"translateY(-25%)",animationTimingFunction:"cubic-bezier(0.8,0,1,1)"},"50%":{transform:"none",animationTimingFunction:"cubic-bezier(0,0,0.2,1)"}}},letterSpacing:{tighter:"-0.05em",tight:"-0.025em",normal:"0em",wide:"0.025em",wider:"0.05em",widest:"0.1em"},lineHeight:{none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2",3:".75rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem"},listStyleType:{none:"none",disc:"disc",decimal:"decimal"},margin:({theme:e})=>({auto:"auto",...e("spacing")}),maxHeight:({theme:e})=>({...e("spacing"),full:"100%",screen:"100vh",min:"min-content",max:"max-content",fit:"fit-content"}),maxWidth:({theme:e,breakpoints:t})=>({none:"none",0:"0rem",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem",full:"100%",min:"min-content",max:"max-content",fit:"fit-content",prose:"65ch",...t(e("screens"))}),minHeight:{0:"0px",full:"100%",screen:"100vh",min:"min-content",max:"max-content",fit:"fit-content"},minWidth:{0:"0px",full:"100%",min:"min-content",max:"max-content",fit:"fit-content"},objectPosition:{bottom:"bottom",center:"center",left:"left","left-bottom":"left bottom","left-top":"left top",right:"right","right-bottom":"right bottom","right-top":"right top",top:"top"},opacity:{0:"0",5:"0.05",10:"0.1",20:"0.2",25:"0.25",30:"0.3",40:"0.4",50:"0.5",60:"0.6",70:"0.7",75:"0.75",80:"0.8",90:"0.9",95:"0.95",100:"1"},order:{first:"-9999",last:"9999",none:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12"},padding:({theme:e})=>e("spacing"),placeholderColor:({theme:e})=>e("colors"),placeholderOpacity:({theme:e})=>e("opacity"),outlineColor:({theme:e})=>e("colors"),outlineOffset:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},outlineWidth:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},ringColor:({theme:e})=>({DEFAULT:e("colors.blue.500","#3b82f6"),...e("colors")}),ringOffsetColor:({theme:e})=>e("colors"),ringOffsetWidth:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},ringOpacity:({theme:e})=>({DEFAULT:"0.5",...e("opacity")}),ringWidth:{DEFAULT:"3px",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},rotate:{0:"0deg",1:"1deg",2:"2deg",3:"3deg",6:"6deg",12:"12deg",45:"45deg",90:"90deg",180:"180deg"},saturate:{0:"0",50:".5",100:"1",150:"1.5",200:"2"},scale:{0:"0",50:".5",75:".75",90:".9",95:".95",100:"1",105:"1.05",110:"1.1",125:"1.25",150:"1.5"},scrollMargin:({theme:e})=>({...e("spacing")}),scrollPadding:({theme:e})=>e("spacing"),sepia:{0:"0",DEFAULT:"100%"},skew:{0:"0deg",1:"1deg",2:"2deg",3:"3deg",6:"6deg",12:"12deg"},space:({theme:e})=>({...e("spacing")}),stroke:({theme:e})=>e("colors"),strokeWidth:{0:"0",1:"1",2:"2"},textColor:({theme:e})=>e("colors"),textDecorationColor:({theme:e})=>e("colors"),textDecorationThickness:{auto:"auto","from-font":"from-font",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},textUnderlineOffset:{auto:"auto",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},textIndent:({theme:e})=>({...e("spacing")}),textOpacity:({theme:e})=>e("opacity"),transformOrigin:{center:"center",top:"top","top-right":"top right",right:"right","bottom-right":"bottom right",bottom:"bottom","bottom-left":"bottom left",left:"left","top-left":"top left"},transitionDelay:{75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms"},transitionDuration:{DEFAULT:"150ms",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms"},transitionProperty:{none:"none",all:"all",DEFAULT:"color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter",colors:"color, background-color, border-color, text-decoration-color, fill, stroke",opacity:"opacity",shadow:"box-shadow",transform:"transform"},transitionTimingFunction:{DEFAULT:"cubic-bezier(0.4, 0, 0.2, 1)",linear:"linear",in:"cubic-bezier(0.4, 0, 1, 1)",out:"cubic-bezier(0, 0, 0.2, 1)","in-out":"cubic-bezier(0.4, 0, 0.2, 1)"},translate:({theme:e})=>({...e("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%",full:"100%"}),width:({theme:e})=>({auto:"auto",...e("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%","1/12":"8.333333%","2/12":"16.666667%","3/12":"25%","4/12":"33.333333%","5/12":"41.666667%","6/12":"50%","7/12":"58.333333%","8/12":"66.666667%","9/12":"75%","10/12":"83.333333%","11/12":"91.666667%",full:"100%",screen:"100vw",min:"min-content",max:"max-content",fit:"fit-content"}),willChange:{auto:"auto",scroll:"scroll-position",contents:"contents",transform:"transform"},zIndex:{auto:"auto",0:"0",10:"10",20:"20",30:"30",40:"40",50:"50"}},variantOrder:["first","last","odd","even","visited","checked","empty","read-only","group-hover","group-focus","focus-within","hover","focus","focus-visible","active","disabled"],plugins:[]}},27836:(e,t,r)=>{"use strict";const n=r(12233),i=r(64288);const o=new class extends i{content({onError:e,onResult:t,onDone:r}){let n="";return n+=`var _results = new Array(${this.options.taps.length});\n`,n+="var _checkDone = function() {\n",n+="for(var i = 0; i < _results.length; i++) {\n",n+="var item = _results[i];\n",n+="if(item === undefined) return false;\n",n+="if(item.result !== undefined) {\n",n+=t("item.result"),n+="return true;\n",n+="}\n",n+="if(item.error) {\n",n+=e("item.error"),n+="return true;\n",n+="}\n",n+="}\n",n+="return false;\n",n+="}\n",n+=this.callTapsParallel({onError:(e,t,r,n)=>{let i="";return i+=`if(${e} < _results.length && ((_results.length = ${e+1}), (_results[${e}] = { error: ${t} }), _checkDone())) {\n`,i+=n(!0),i+="} else {\n",i+=r(),i+="}\n",i},onResult:(e,t,r,n)=>{let i="";return i+=`if(${e} < _results.length && (${t} !== undefined && (_results.length = ${e+1}), (_results[${e}] = { result: ${t} }), _checkDone())) {\n`,i+=n(!0),i+="} else {\n",i+=r(),i+="}\n",i},onTap:(e,t,r,n)=>{let i="";return e>0&&(i+=`if(${e} >= _results.length) {\n`,i+=r(),i+="} else {\n"),i+=t(),e>0&&(i+="}\n"),i},onDone:r}),n}},s=function(e){return o.setup(this,e),o.create(e)};function a(e=[],t){const r=new n(e,t);return r.constructor=a,r.compile=s,r._call=void 0,r.call=void 0,r}a.prototype=null,e.exports=a},14616:(e,t,r)=>{"use strict";const n=r(12233),i=r(64288);const o=new class extends i{content({onError:e,onDone:t}){return this.callTapsParallel({onError:(t,r,n,i)=>e(r)+i(!0),onDone:t})}},s=function(e){return o.setup(this,e),o.create(e)};function a(e=[],t){const r=new n(e,t);return r.constructor=a,r.compile=s,r._call=void 0,r.call=void 0,r}a.prototype=null,e.exports=a},89674:(e,t,r)=>{"use strict";const n=r(12233),i=r(64288);const o=new class extends i{content({onError:e,onResult:t,resultReturns:r,onDone:n}){return this.callTapsSeries({onError:(t,r,n,i)=>e(r)+i(!0),onResult:(e,r,n)=>`if(${r} !== undefined) {\n${t(r)}\n} else {\n${n()}}\n`,resultReturns:r,onDone:n})}},s=function(e){return o.setup(this,e),o.create(e)};function a(e=[],t){const r=new n(e,t);return r.constructor=a,r.compile=s,r._call=void 0,r.call=void 0,r}a.prototype=null,e.exports=a},55328:(e,t,r)=>{"use strict";const n=r(12233),i=r(64288);const o=new class extends i{content({onError:e,onDone:t}){return this.callTapsSeries({onError:(t,r,n,i)=>e(r)+i(!0),onDone:t})}},s=function(e){return o.setup(this,e),o.create(e)};function a(e=[],t){const r=new n(e,t);return r.constructor=a,r.compile=s,r._call=void 0,r.call=void 0,r}a.prototype=null,e.exports=a},86287:(e,t,r)=>{"use strict";const n=r(12233),i=r(64288);const o=new class extends i{content({onError:e,onDone:t}){return this.callTapsLooping({onError:(t,r,n,i)=>e(r)+i(!0),onDone:t})}},s=function(e){return o.setup(this,e),o.create(e)};function a(e=[],t){const r=new n(e,t);return r.constructor=a,r.compile=s,r._call=void 0,r.call=void 0,r}a.prototype=null,e.exports=a},14568:(e,t,r)=>{"use strict";const n=r(12233),i=r(64288);const o=new class extends i{content({onError:e,onResult:t,onDone:r}){return this.callTapsSeries({onError:(t,r,n,i)=>e(r)+i(!0),onResult:(e,t,r)=>{let n="";return n+=`if(${t} !== undefined) {\n`,n+=`${this._args[0]} = ${t};\n`,n+="}\n",n+=r(),n},onDone:()=>t(this._args[0])})}},s=function(e){return o.setup(this,e),o.create(e)};function a(e=[],t){if(e.length<1)throw new Error("Waterfall hooks must have at least one argument");const r=new n(e,t);return r.constructor=a,r.compile=s,r._call=void 0,r.call=void 0,r}a.prototype=null,e.exports=a},12233:(e,t,r)=>{"use strict";const n=r(31669).deprecate(()=>{},"Hook.context is deprecated and will be removed"),i=function(...e){return this.call=this._createCall("sync"),this.call(...e)},o=function(...e){return this.callAsync=this._createCall("async"),this.callAsync(...e)},s=function(...e){return this.promise=this._createCall("promise"),this.promise(...e)};class a{constructor(e=[],t){this._args=e,this.name=t,this.taps=[],this.interceptors=[],this._call=i,this.call=i,this._callAsync=o,this.callAsync=o,this._promise=s,this.promise=s,this._x=void 0,this.compile=this.compile,this.tap=this.tap,this.tapAsync=this.tapAsync,this.tapPromise=this.tapPromise}compile(e){throw new Error("Abstract: should be overridden")}_createCall(e){return this.compile({taps:this.taps,interceptors:this.interceptors,args:this._args,type:e})}_tap(e,t,r){if("string"==typeof t)t={name:t.trim()};else if("object"!=typeof t||null===t)throw new Error("Invalid tap options");if("string"!=typeof t.name||""===t.name)throw new Error("Missing name for tap");void 0!==t.context&&n(),t=Object.assign({type:e,fn:r},t),t=this._runRegisterInterceptors(t),this._insert(t)}tap(e,t){this._tap("sync",e,t)}tapAsync(e,t){this._tap("async",e,t)}tapPromise(e,t){this._tap("promise",e,t)}_runRegisterInterceptors(e){for(const t of this.interceptors)if(t.register){const r=t.register(e);void 0!==r&&(e=r)}return e}withOptions(e){const t=t=>Object.assign({},e,"string"==typeof t?{name:t}:t);return{name:this.name,tap:(e,r)=>this.tap(t(e),r),tapAsync:(e,r)=>this.tapAsync(t(e),r),tapPromise:(e,r)=>this.tapPromise(t(e),r),intercept:e=>this.intercept(e),isUsed:()=>this.isUsed(),withOptions:e=>this.withOptions(t(e))}}isUsed(){return this.taps.length>0||this.interceptors.length>0}intercept(e){if(this._resetCompilation(),this.interceptors.push(Object.assign({},e)),e.register)for(let t=0;t0;){n--;const e=this.taps[n];this.taps[n+1]=e;const i=e.stage||0;if(t){if(t.has(e.name)){t.delete(e.name);continue}if(t.size>0)continue}if(!(i>r)){n++;break}}this.taps[n]=e}}Object.setPrototypeOf(a.prototype,null),e.exports=a},64288:e=>{"use strict";e.exports=class{constructor(e){this.config=e,this.options=void 0,this._args=void 0}create(e){let t;switch(this.init(e),this.options.type){case"sync":t=new Function(this.args(),'"use strict";\n'+this.header()+this.contentWithInterceptors({onError:e=>`throw ${e};\n`,onResult:e=>`return ${e};\n`,resultReturns:!0,onDone:()=>"",rethrowIfPossible:!0}));break;case"async":t=new Function(this.args({after:"_callback"}),'"use strict";\n'+this.header()+this.contentWithInterceptors({onError:e=>`_callback(${e});\n`,onResult:e=>`_callback(null, ${e});\n`,onDone:()=>"_callback();\n"}));break;case"promise":let e=!1;const r=this.contentWithInterceptors({onError:t=>(e=!0,`_error(${t});\n`),onResult:e=>`_resolve(${e});\n`,onDone:()=>"_resolve();\n"});let n="";n+='"use strict";\n',n+=this.header(),n+="return new Promise((function(_resolve, _reject) {\n",e&&(n+="var _sync = true;\n",n+="function _error(_err) {\n",n+="if(_sync)\n",n+="_resolve(Promise.resolve().then((function() { throw _err; })));\n",n+="else\n",n+="_reject(_err);\n",n+="};\n"),n+=r,e&&(n+="_sync = false;\n"),n+="}));\n",t=new Function(this.args(),n)}return this.deinit(),t}setup(e,t){e._x=t.taps.map(e=>e.fn)}init(e){this.options=e,this._args=e.args.slice()}deinit(){this.options=void 0,this._args=void 0}contentWithInterceptors(e){if(this.options.interceptors.length>0){const t=e.onError,r=e.onResult,n=e.onDone;let i="";for(let e=0;e{let r="";for(let t=0;t{let t="";for(let r=0;r{let e="";for(let t=0;t0&&(e+="var _taps = this.taps;\n",e+="var _interceptors = this.interceptors;\n"),e}needContext(){for(const e of this.options.taps)if(e.context)return!0;return!1}callTap(e,{onError:t,onResult:r,onDone:n,rethrowIfPossible:i}){let o="",s=!1;for(let t=0;t"sync"!==e.type),a=r||i;let l="",c=n,u=0;for(let r=this.options.taps.length-1;r>=0;r--){const i=r;c!==n&&("sync"!==this.options.taps[i].type||u++>20)&&(u=0,l+=`function _next${i}() {\n`,l+=c(),l+="}\n",c=()=>`${a?"return ":""}_next${i}();\n`);const p=c,h=e=>e?"":n(),d=this.callTap(i,{onError:t=>e(i,t,p,h),onResult:t&&(e=>t(i,e,p,h)),onDone:!t&&p,rethrowIfPossible:o&&(s<0||id}return l+=c(),l}callTapsLooping({onError:e,onDone:t,rethrowIfPossible:r}){if(0===this.options.taps.length)return t();const n=this.options.taps.every(e=>"sync"===e.type);let i="";n||(i+="var _looper = (function() {\n",i+="var _loopAsync = false;\n"),i+="var _loop;\n",i+="do {\n",i+="_loop = false;\n";for(let e=0;e{let o="";return o+=`if(${t} !== undefined) {\n`,o+="_loop = true;\n",n||(o+="if(_loopAsync) _looper();\n"),o+=i(!0),o+="} else {\n",o+=r(),o+="}\n",o},onDone:t&&(()=>{let e="";return e+="if(!_loop) {\n",e+=t(),e+="}\n",e}),rethrowIfPossible:r&&n}),i+="} while(_loop);\n",n||(i+="_loopAsync = true;\n",i+="});\n",i+="_looper();\n"),i}callTapsParallel({onError:e,onResult:t,onDone:r,rethrowIfPossible:n,onTap:i=((e,t)=>t())}){if(this.options.taps.length<=1)return this.callTapsSeries({onError:e,onResult:t,onDone:r,rethrowIfPossible:n});let o="";o+="do {\n",o+=`var _counter = ${this.options.taps.length};\n`,r&&(o+="var _done = (function() {\n",o+=r(),o+="});\n");for(let s=0;sr?"if(--_counter === 0) _done();\n":"--_counter;",l=e=>e||!r?"_counter = 0;\n":"_counter = 0;\n_done();\n";o+="if(_counter <= 0) break;\n",o+=i(s,()=>this.callTap(s,{onError:t=>{let r="";return r+="if(_counter > 0) {\n",r+=e(s,t,a,l),r+="}\n",r},onResult:t&&(e=>{let r="";return r+="if(_counter > 0) {\n",r+=t(s,e,a,l),r+="}\n",r}),onDone:!t&&(()=>a()),rethrowIfPossible:n}),a,l)}return o+="} while(false);\n",o}args({before:e,after:t}={}){let r=this._args;return e&&(r=[e].concat(r)),t&&(r=r.concat(t)),0===r.length?"":r.join(", ")}getTapFn(e){return`_x[${e}]`}getTap(e){return`_taps[${e}]`}getInterceptor(e){return`_interceptors[${e}]`}}},35233:(e,t,r)=>{"use strict";const n=r(31669),i=(e,t)=>t;class o{constructor(e,t){this._map=new Map,this.name=t,this._factory=e,this._interceptors=[]}get(e){return this._map.get(e)}for(e){const t=this.get(e);if(void 0!==t)return t;let r=this._factory(e);const n=this._interceptors;for(let t=0;t{"use strict";r(12233);class n{constructor(e,t){this.hooks=e,this.name=t}tap(e,t){for(const r of this.hooks)r.tap(e,t)}tapAsync(e,t){for(const r of this.hooks)r.tapAsync(e,t)}tapPromise(e,t){for(const r of this.hooks)r.tapPromise(e,t)}isUsed(){for(const e of this.hooks)if(e.isUsed())return!0;return!1}intercept(e){for(const t of this.hooks)t.intercept(e)}withOptions(e){return new n(this.hooks.map(t=>t.withOptions(e)),this.name)}}e.exports=n},16477:(e,t,r)=>{"use strict";const n=r(12233),i=r(64288);const o=new class extends i{content({onError:e,onResult:t,resultReturns:r,onDone:n,rethrowIfPossible:i}){return this.callTapsSeries({onError:(t,r)=>e(r),onResult:(e,r,n)=>`if(${r} !== undefined) {\n${t(r)};\n} else {\n${n()}}\n`,resultReturns:r,onDone:n,rethrowIfPossible:i})}},s=()=>{throw new Error("tapAsync is not supported on a SyncBailHook")},a=()=>{throw new Error("tapPromise is not supported on a SyncBailHook")},l=function(e){return o.setup(this,e),o.create(e)};function c(e=[],t){const r=new n(e,t);return r.constructor=c,r.tapAsync=s,r.tapPromise=a,r.compile=l,r}c.prototype=null,e.exports=c},77633:(e,t,r)=>{"use strict";const n=r(12233),i=r(64288);const o=new class extends i{content({onError:e,onDone:t,rethrowIfPossible:r}){return this.callTapsSeries({onError:(t,r)=>e(r),onDone:t,rethrowIfPossible:r})}},s=()=>{throw new Error("tapAsync is not supported on a SyncHook")},a=()=>{throw new Error("tapPromise is not supported on a SyncHook")},l=function(e){return o.setup(this,e),o.create(e)};function c(e=[],t){const r=new n(e,t);return r.constructor=c,r.tapAsync=s,r.tapPromise=a,r.compile=l,r}c.prototype=null,e.exports=c},13608:(e,t,r)=>{"use strict";const n=r(12233),i=r(64288);const o=new class extends i{content({onError:e,onDone:t,rethrowIfPossible:r}){return this.callTapsLooping({onError:(t,r)=>e(r),onDone:t,rethrowIfPossible:r})}},s=()=>{throw new Error("tapAsync is not supported on a SyncLoopHook")},a=()=>{throw new Error("tapPromise is not supported on a SyncLoopHook")},l=function(e){return o.setup(this,e),o.create(e)};function c(e=[],t){const r=new n(e,t);return r.constructor=c,r.tapAsync=s,r.tapPromise=a,r.compile=l,r}c.prototype=null,e.exports=c},6548:(e,t,r)=>{"use strict";const n=r(12233),i=r(64288);const o=new class extends i{content({onError:e,onResult:t,resultReturns:r,rethrowIfPossible:n}){return this.callTapsSeries({onError:(t,r)=>e(r),onResult:(e,t,r)=>{let n="";return n+=`if(${t} !== undefined) {\n`,n+=`${this._args[0]} = ${t};\n`,n+="}\n",n+=r(),n},onDone:()=>t(this._args[0]),doneReturns:r,rethrowIfPossible:n})}},s=()=>{throw new Error("tapAsync is not supported on a SyncWaterfallHook")},a=()=>{throw new Error("tapPromise is not supported on a SyncWaterfallHook")},l=function(e){return o.setup(this,e),o.create(e)};function c(e=[],t){if(e.length<1)throw new Error("Waterfall hooks must have at least one argument");const r=new n(e,t);return r.constructor=c,r.tapAsync=s,r.tapPromise=a,r.compile=l,r}c.prototype=null,e.exports=c},92402:(e,t,r)=>{"use strict";t.__esModule=!0,t.SyncHook=r(77633),t.SyncBailHook=r(16477),t.SyncWaterfallHook=r(6548),t.SyncLoopHook=r(13608),t.AsyncParallelHook=r(14616),t.AsyncParallelBailHook=r(27836),t.AsyncSeriesHook=r(55328),t.AsyncSeriesBailHook=r(89674),t.AsyncSeriesLoopHook=r(86287),t.AsyncSeriesWaterfallHook=r(14568),t.HookMap=r(35233),t.MultiHook=r(93607)},1353:(e,t,r)=>{"use strict"; /*! * to-regex-range * * Copyright (c) 2015-present, Jon Schlinkert. * Released under the MIT License. - */const r=n(6110),i=(e,t,n)=>{if(!1===r(e))throw new TypeError("toRegexRange: expected the first argument to be a number");if(void 0===t||e===t)return String(e);if(!1===r(t))throw new TypeError("toRegexRange: expected the second argument to be a number.");let s={relaxZeros:!0,...n};"boolean"==typeof s.strictZeros&&(s.relaxZeros=!1===s.strictZeros);let c=e+":"+t+"="+String(s.relaxZeros)+String(s.shorthand)+String(s.capture)+String(s.wrap);if(i.cache.hasOwnProperty(c))return i.cache[c].result;let l=Math.min(e,t),u=Math.max(e,t);if(1===Math.abs(l-u)){let n=e+"|"+t;return s.capture?`(${n})`:!1===s.wrap?n:`(?:${n})`}let h=f(e)||f(t),p={min:e,max:t,a:l,b:u},d=[],m=[];if(h&&(p.isPadded=h,p.maxLen=String(p.max).length),l<0){m=o(u<0?Math.abs(u):1,Math.abs(l),p,s),l=p.a=0}return u>=0&&(d=o(l,u,p,s)),p.negatives=m,p.positives=d,p.result=function(e,t,n){let r=a(e,t,"-",!1,n)||[],i=a(t,e,"",!1,n)||[],s=a(e,t,"-?",!0,n)||[];return r.concat(s).concat(i).join("|")}(m,d,s),!0===s.capture?p.result=`(${p.result})`:!1!==s.wrap&&d.length+m.length>1&&(p.result=`(?:${p.result})`),i.cache[c]=p,p.result};function s(e,t,n){if(e===t)return{pattern:e,count:[],digits:0};let r=function(e,t){let n=[];for(let r=0;r1&&i.count.pop(),i.count.push(c.count[0]),i.string=i.pattern+p(i.count),l=t+1)}return a}function a(e,t,n,r,i){let s=[];for(let i of e){let{string:e}=i;r||l(t,"string",e)||s.push(n+e),r&&l(t,"string",e)&&s.push(n+e)}return s}function c(e,t){return e>t?1:t>e?-1:0}function l(e,t,n){return e.some(e=>e[t]===n)}function u(e,t){return Number(String(e).slice(0,-t)+"9".repeat(t))}function h(e,t){return e-e%Math.pow(10,t)}function p(e){let[t=0,n=""]=e;return n||t>1?`{${t+(n?","+n:"")}}`:""}function d(e,t,n){return`[${e}${t-e==1?"":"-"}${t}]`}function f(e){return/^-?(0+)\d/.test(e)}function m(e,t,n){if(!t.isPadded)return e;let r=Math.abs(t.maxLen-String(e).length),i=!1!==n.relaxZeros;switch(r){case 0:return"";case 1:return i?"0?":"0";case 2:return i?"0{0,2}":"00";default:return i?`0{0,${r}}`:`0{${r}}`}}i.cache={},i.clearCache=()=>i.cache={},e.exports=i},6258:e=>{"use strict";e.exports=function(e,t,n){return 0===e.length?e:t?(n||e.sort(t),function(e,t){for(var n=1,r=e.length,i=e[0],s=e[0],o=1;o{e.exports=function(e,t){"use strict";var n={};function r(t){if(n[t])return n[t].exports;var i=n[t]={i:t,l:!1,exports:{}};return e[t].call(i.exports,i,i.exports,r),i.l=!0,i.exports}return r.ab=__dirname+"/",function(e){e.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},function(){var t=Object.prototype.hasOwnProperty;e.d=function(e,n,r){t.call(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:r})}}()}(r),r(104)}({34:function(e,t){!function(e){"use strict";var t={indent:"\t",tagCase:"",attributeCase:"",attributeQuotes:"double",format:!0,formatSkip:["html"],formatForce:["body"],inlineBreak:3,compactBooleanAttributes:!1,booleanAttributes:["contenteditable","seamless","async","autofocus","autoplay","checked","controls","defer","disabled","formnovalidate","hidden","ismap","loop","multiple","muted","novalidate","readonly","required","reversed","selected","typemustmatch"],selfClosingStyle:"html",inlineElements:["a","abbr","acronym","applet","b","basefont","bdo","big","br","button","cite","code","del","dfn","em","font","i","iframe","img","input","ins","kbd","label","map","object","q","s","samp","select","small","span","strike","strong","sub","sup","textarea","tt","u","var"]};class n{constructor(e){this.options=Object.assign({},t,e),this.quoteChar="single"===this.options.attributeQuotes?"'":'"'}get(e){return this.options[e]}quote(e){return`${this.quoteChar}${null!=e?e:""}${this.quoteChar}`}name(e){return r(e,this.options.tagCase)}attribute(e){return r(e,this.options.attributeCase)}isBooleanAttribute(e){return e.options.boolean||-1!==this.get("booleanAttributes").indexOf((e.name||"").toLowerCase())}selfClose(){switch(this.options.selfClosingStyle){case"xhtml":return" /";case"xml":return"/";default:return""}}indent(e){e=e||0;let t="";for(;e--;)t+=this.options.indent;return t}isInline(e){return"string"==typeof e?-1!==this.get("inlineElements").indexOf(e.toLowerCase()):null!=e.name?this.isInline(e.name):e.isTextOnly}field(e,t){return this.options.field(e,t)}}function r(e,t){return t&&(e="upper"===t?e.toUpperCase():e.toLowerCase()),e}class i{constructor(e,t){this.key=e,this.value=t}}class s{constructor(e){this._string=new Map,this._regexp=new Map,this._disabled=!1,this.load(e)}get disabled(){return this._disabled}disable(){this._disabled=!0}enable(){this._disabled=!1}set(e,t){if("string"==typeof e)e.split("|").forEach(e=>this._string.set(e,new i(e,t)));else{if(!(e instanceof RegExp))throw new Error("Unknow snippet key: "+e);this._regexp.set(e,new i(e,t))}return this}get(e){if(this.disabled)return;if(this._string.has(e))return this._string.get(e);const t=Array.from(this._regexp.keys());for(let n=0,r=t.length;nthis.set(t,e)):e&&"object"==typeof e&&Object.keys(e).forEach(t=>this.set(t,e[t]))}reset(){this._string.clear(),this._regexp.clear()}values(){if(this.disabled)return[];const e=Array.from(this._string.values()),t=Array.from(this._regexp.values());return e.concat(t)}}class o{constructor(e){this._registry=[],Array.isArray(e)?e.forEach((e,t)=>this.add(t,e)):"object"==typeof e&&this.add(e)}get(e){for(let t=0;tt.level-e.level),n}remove(e){this._registry=this._registry.filter(t=>t.level!==e&&t.store!==e)}resolve(e){for(let t=0;t{const r=n.key instanceof RegExp?"regexp":"string";e.type&&e.type!==r||t.has(n.key)||t.set(n.key,n)};return this._registry.forEach(e=>{e.store.values().forEach(n)}),Array.from(t.values())}clear(){this._registry.length=0}}const a={escape:92,throws:!1};var c=function(e,t){t=t?Object.assign({},a,t):a;const n=e.pos,r=e.peek();if(e.eat(l)){for(;!e.eof();)switch(e.next()){case r:return e.start=n,!0;case t.escape:e.next()}if(e.pos=n,t.throws)throw e.error("Unable to consume quoted string")}return!1};function l(e){return 39===e||34===e}function u(e){return e>47&&e<58}function h(e,t,n){return n=n||90,(e&=-33)>=(t=t||65)&&e<=n}function p(e){return 32===e||9===e||160===e}class d{constructor(e,t,n){this.name=e,this.value=null!=t?t:null,this.options=n||{}}clone(){return new d(this.name,this.value,Object.assign({},this.options))}valueOf(){return`${this.name}="${this.value}"`}}class f{constructor(e,t){this.name=e||null,this.value=null,this.repeat=null,this.selfClosing=!1,this.children=[],this.parent=null,this.next=null,this.previous=null,this._attributes=[],Array.isArray(t)&&t.forEach(e=>this.setAttribute(e))}get attributes(){return this._attributes}get attributesMap(){return this.attributes.reduce((e,t)=>(e[t.name]=t.options.boolean?t.name:t.value,e),{})}get isGroup(){return!this.name&&!this.value&&!this._attributes.length}get isTextOnly(){return!this.name&&!!this.value&&!this._attributes.length}get firstChild(){return this.children[0]}get lastChild(){return this.children[this.children.length-1]}get childIndex(){return this.parent?this.parent.children.indexOf(this):-1}get nextSibling(){return this.next}get previousSibling(){return this.previous}get classList(){const e=this.getAttribute("class");return e&&e.value?e.value.split(/\s+/g).filter(v):[]}create(e,t){return new f(e,t)}setAttribute(e,t){const n=m(e,t),r=this.getAttribute(e);r?this.replaceAttribute(r,n):this._attributes.push(n)}hasAttribute(e){return!!this.getAttribute(e)}getAttribute(e){"object"==typeof e&&(e=e.name);for(var t=0;tt!==e).join(" "))}appendChild(e){this.insertAt(e,this.children.length)}insertBefore(e,t){this.insertAt(e,this.children.indexOf(t))}insertAt(e,t){if(t<0||t>this.children.length)throw new Error("Unable to insert node: position is out of child list range");const n=this.children[t-1],r=this.children[t];e.remove(),e.parent=this,this.children.splice(t,0,e),n&&(e.previous=n,n.next=e),r&&(e.next=r,r.previous=e)}removeChild(e){const t=this.children.indexOf(e);-1!==t&&(this.children.splice(t,1),e.previous&&(e.previous.next=e.next),e.next&&(e.next.previous=e.previous),e.parent=e.next=e.previous=null)}remove(){this.parent&&this.parent.removeChild(this)}clone(e){const t=new f(this.name);return t.value=this.value,t.selfClosing=this.selfClosing,this.repeat&&(t.repeat=Object.assign({},this.repeat)),this._attributes.forEach(e=>t.setAttribute(e.clone())),e&&this.children.forEach(e=>t.appendChild(e.clone(!0))),t}walk(e,t){t=t||0;let n=this.firstChild;for(;n;){const r=n.next;if(!1===e(n,t)||!1===n.walk(e,t+1))return!1;n=r}}use(e){const t=[this];for(var n=1;n{const t=(e=this.getAttribute(e.name)).options;let n=`${t&&t.implied?"!":""}${e.name||""}`;return t&&t.boolean?n+=".":null!=e.value&&(n+=`="${e.value}"`),n});let t=""+(this.name||"");return e.length&&(t+=`[${e.join(" ")}]`),null!=this.value&&(t+=`{${this.value}}`),this.selfClosing&&(t+="/"),this.repeat&&(t+="*"+(this.repeat.count?this.repeat.count:""),null!=this.repeat.value&&(t+="@"+this.repeat.value)),t}}function m(e,t){return e instanceof d?e:"string"==typeof e?new d(e,t):e&&"object"==typeof e?new d(e.name,e.value,e.options):void 0}function g(e){return String(e).trim()}function v(e,t,n){return e&&n.indexOf(e)===t}class y{constructor(e,t,n){null==n&&"string"==typeof e&&(n=e.length),this.string=e,this.pos=this.start=t||0,this.end=n}eof(){return this.pos>=this.end}limit(e,t){return new this.constructor(this.string,e,t)}peek(){return this.string.charCodeAt(this.pos)}next(){if(this.pos0;)i.firstChild.repeat=i.repeat,t.insertAt(i.firstChild,n++);else t.insertAt(i,n++)}e.parent.removeChild(e)}var N=function(e,t){return e.walk(e=>function(e,t){const n=new Set,r=e=>{const i=t.resolve(e.name);if(!i||n.has(i))return;if("function"==typeof i.value)return i.value(e,t,r);const s=O(i.value);n.add(i),s.walk(r),n.delete(i);const o=function(e){for(;e.children.length;)e=e.children[e.children.length-1];return e}(s);for(function(e,t){t.name=e.name,e.selfClosing&&(t.selfClosing=!0),null!=e.value&&(t.value=e.value),e.repeat&&(t.repeat=Object.assign({},e.repeat)),function(e,t){!function(e,t){const n=e.classList;for(let e=0;e{null==e.name&&e.attributes.length&&(e.name=L(e.parent.name))}),e};function q(e,t){const n=new Set,r=t.length;let i=0;for(;-1!==(i=e.indexOf(t,i));)n.add(i),i+=r;if(n.size){let t=0;const r=e.length;for(;tfunction(e,t){return[e,t]}(e,r))}function F(e,t,n){for(let r=t.length-1;r>=0;r--){const i=t[r];let s=0,o=0;if("@"===e.substr(i[0]+i[1],1)){const t=e.substr(i[0]+i[1]+1).match(/^(\d+)/);t&&(o=t[1].length+1,s=parseInt(t[1])-1)}e=e.substring(0,i[0])+("function"==typeof n?n(e.substr(i[0],i[1]),s):n)+e.substring(i[0]+i[1]+o)}return e}var $=function(e){return e.walk(H),e};function H(e){const t=function(e){for(;e;){if(e.repeat)return e.repeat;e=e.parent}}(e);if(t&&null!=t.value){const n=t.value;e.name=z(e.name,n),e.value=z(e.value,n),e.attributes.forEach(t=>{const r=e.getAttribute(t.name).clone();r.name=z(t.name,n),r.value=z(t.value,n),e.replaceAttribute(t.name,r)})}return e}function z(e,t){if("string"==typeof e){const n=function(e){return q(e||"","$").reduce((t,n)=>{if(!/[#{]/.test(e[n[0]+1]||"")){const e=t[t.length-1];e&&e[0]+e[1]===n[0]?e[1]+=n[1]:t.push(n)}return t},[])}(e);return function(e,t,n){return function(e){let t=0,n="";const r=e.length;for(;t{let r=String(n+t);for(;r.length{if(e.repeat&&null===e.repeat.count){for(let n=0;n{e.repeat&&e.repeat.implicit&&(n=!0,function(e,t){let n=K(e,t);e.walk(e=>n|=K(e,t)),n||X(Q(e),t)}(e,t[e.repeat.index]))}),n||X(Q(e),t.join("\n"))}return e}function K(e,t){const n={replaced:!1};return e.value=Y(e.value,t,n),e.attributes.forEach(r=>{r.value&&e.setAttribute(r.name,Y(r.value,t,n))}),n.replaced}function Y(e,t,n){if("string"==typeof e){const r=q(e,"$#");r.length&&(n&&(n.replaced=!0),e=F(e,r,t))}return e}function Q(e){for(;e.children.length;)e=e.children[e.children.length-1];return e}function X(e,t){if(e.value){const n=q(e.value,"|");if(n.length)return void(e.value=F(e.value,n,t))}("a"===e.name.toLowerCase()||e.hasAttribute("href"))&&(B.test(t)?e.setAttribute("href",(U.test(t)?"":"http://")+t):W.test(t)&&e.setAttribute("href","mailto:"+t)),e.value=t}const J={element:"__",modifier:"_"},Z=/^(-+)([a-z0-9]+[a-z0-9-]*)/i,ee=/^(_+)([a-z0-9]+[a-z0-9-]*)/i,te=e=>/^[a-z]\-/i.test(e),ne=e=>/^[a-z]/i.test(e);function re(e,t,n){let r=n.length>1?n.length:0;for(;e.parent&&e.parent.parent&&r--;)e=e.parent;return t.get(e)||""}function ie(e,t){return e.filter(t)[0]}function se(e,t,n){let r=e.getAttribute(t);r&&(r.name=n)}const oe=/^xsl:(variable|with\-param)$/i,ae={bem:function(e,t){t=Object.assign({},J,t),e.walk(e=>function(e,t){const n=e.classList.reduce((e,t)=>{const n=t.indexOf("_");return n>0&&!t.startsWith("-")?(e.add(t.slice(0,n)),e.add(t.slice(n)),e):e.add(t)},new Set);n.size&&e.setAttribute("class",Array.from(n).join(" "))}(e));const n=function(e){const t=new Map;return e.walk(e=>{const n=e.classList;n.length&&t.set(e,ie(n,te)||ie(n,ne)||t.get(e.parent))}),t}(e);return e.walk(e=>function(e,t,n){const r=e.classList.reduce((r,i)=>{let s,o;const a=i;for((o=i.match(Z))&&(s=re(e,t,o[1])+n.element+o[2],r.add(s),i=i.slice(o[0].length));o=i.match(ee);)s||(s=re(e,t,o[1]),r.add(s)),r.add(`${s}${n.modifier}${o[2]}`),i=i.slice(o[0].length);return i===a&&r.add(a),r},new Set),i=Array.from(r).filter(Boolean);i.length&&e.setAttribute("class",i.join(" "))}(e,n,t)),e},jsx:function(e){return e.walk(e=>{se(e,"class","className"),se(e,"for","htmlFor")}),e},xsl:function(e){return e.walk(e=>{oe.test(e.name||"")&&(e.children.length||e.value)&&e.removeAttribute("select")}),e}};var ce=function(e,t){return Object.keys(t||{}).forEach(n=>{if(n in ae){const r="object"==typeof t[n]?t[n]:null;e=e.use(ae[n],r)}}),e},le=function(e,t,n){return"string"==typeof t?t=[t]:t&&"object"==typeof t&&!Array.isArray(t)&&(n=t,t=null),e.use(j).use(V,Array.isArray(t)?t.length:null).use($).use(G,t).use(ce,n)};function ue(e,t){return t=t||{},e.walk(e=>function(e,t){const n=e.attributes;for(let r=0,i=n.length;r({order:t,field:e,end:e.location+e.length})).sort((e,t)=>e.end-t.end||e.order-t.order);let i=0;return r.map(t=>{const r=e.substr(t.field.location,t.field.length),s=e.slice(i,t.field.location);return i=t.end,s+n(t.field.index,r)}).join("")+e.slice(i)}(this.string,this.fields,e)}toString(){return string}}const ye=e=>e;class be{constructor(e,t,n){"object"==typeof t&&(n=t,t=null),this.node=e,this._fieldsRenderer=t||ye,this.open=null,this.beforeOpen="",this.afterOpen="",this.close=null,this.beforeClose="",this.afterClose="",this.text=null,this.beforeText="",this.afterText="",this.indent="",this.newline="",n&&Object.assign(this,n)}clone(){return new this.constructor(this.node,this)}indentText(e){const t=function(e){return(e||"").split(/\r\n|\r|\n/g)}(e);if(1===t.length)return e;const n=this.newline||this.indent?this.newline:" ";return t.map((e,t)=>t?this.indent+e:e).join(n)}renderFields(e){return this._fieldsRenderer(e)}toString(e){const t=this._wrap(this.open,this.beforeOpen,this.afterOpen),n=this._wrap(this.close,this.beforeClose,this.afterClose);return t+this._wrap(this.text,this.beforeText,this.afterText)+(null!=e?e:"")+n}_wrap(e,t,n){return t=null!=t?t:"",n=null!=n?n:"",null!=e?(e=t?e.replace(/^\s+/,""):e,e=n?e.replace(/\s+$/,""):e,t+this.indentText(e)+n):""}}const _e=(e,t)=>t||"";function we(e,t,n){void 0===n&&(n=t,t=null),t=t||_e;const r={index:1};return function e(t,n,r){return t.map(t=>{const i=n(new be(t,r));return i?i.toString(e(t.children,n,r)):""}).join("")}(e.children,n,e=>null==e?t(r.index++):function(e,t){const n="object"==typeof e?e:pe(e);let r=-1;return n.fields.forEach(e=>{e.index+=t.index,e.index>r&&(r=e.index)}),-1!==r&&(t.index=r+1),n}(e,r).mark(t))}const xe=/^(.*?)([A-Z_]+)(.*?)$/;function ke(e,t){if(null==e)return e;const n=[],r=(e,n,r,i)=>null!=t[r]?n+t[r]+i:"";let i,s,o="",a=0,c=0;for(;c!e||t.index=t.get("inlineBreak"))return!0}for(let n=0,r=e.children.length;ne.join(""),secondary:e=>e.map(e=>e.isBoolean?e.name:`${e.name}=${e.value}`).join(", ")},Le={open:null,close:null,omitName:/^div$/i,attributes:Me};function je(e,t,n){n=Object.assign({},Le,n);const r=e.node;if(e.indent=t.indent(function(e,t){let n=e.parent.isTextOnly?-2:-1,r=e;for(;r=r.parent;)n++;return n<0?0:n}(r)),e.newline="\n",Ce(r.parent)&&Se(r)||(e.beforeOpen=e.newline+e.indent),r.name){const i=Object.assign({NAME:t.name(r.name),SELF_CLOSE:r.selfClosing?n.selfClose:null},function(e,t,n){n=Object.assign({},Me,n);const r=[],i=[];return e.node.attributes.forEach(n=>{if(n.options.implied&&null==n.value)return null;const s=t.attribute(n.name),o=e.renderFields(n.value);if(Ne.test(s))o&&r.push("#"+o);else if(De.test(s))o&&r.push("."+o.replace(/\s+/g,"."));else{const e=null==n.value&&(n.options.boolean||-1!==t.get("booleanAttributes").indexOf(s.toLowerCase()));i.push({name:s,value:o,isBoolean:e})}}),{PRIMARY_ATTRS:n.primary(r)||null,SECONDARY_ATTRS:n.secondary(i)||null}}(e,t,n.attributes));n.omitName&&n.omitName.test(i.NAME)&&i.PRIMARY_ATTRS&&(i.NAME=null),null!=n.open&&(e.open=ke(n.open,i)),null!=n.close&&(e.close=ke(n.close,i))}return e}const qe=/\n|\r/,Fe=/\n|\r/,$e={none:"[ SECONDARY_ATTRS]",round:"[(SECONDARY_ATTRS)]",curly:"[{SECONDARY_ATTRS}]",square:"[[SECONDARY_ATTRS]"},He=/\n|\r/,ze={html:function(e,t,n){return(n=Object.assign({},n)).comment=Object.assign({},Ae,n.comment),we(e,n.field,e=>{if(!Te(e=function(e,t){const n=e.node;if(Pe(n,t)){e.indent=t.indent(function(e,t){const n=t.get("formatSkip")||[];let r=e.parent.isTextOnly?-2:-1,i=e;for(;i=i.parent;)-1===n.indexOf((i.name||"").toLowerCase())&&r++;return r<0?0:r}(n,t)),e.newline="\n";const r=e.newline+e.indent;Ce(n.parent)&&Se(n)||(e.beforeOpen=r,n.isTextOnly&&(e.beforeText=r)),function(e,t){const n=(e.name||"").toLowerCase();if(-1!==t.get("formatForce").indexOf(n))return!0;for(let n=0;n{if(n.options.implied&&null==n.value)return null;const r=t.attribute(n.name);let i=null;if(n.options.boolean||-1!==t.get("booleanAttributes").indexOf(r.toLowerCase())){if(t.get("compactBooleanAttributes")&&null==n.value)return" "+r;null==n.value&&(i=r)}return null==i&&(i=e.renderFields(n.value)),n.options.before&&n.options.after?` ${r}=${n.options.before+i+n.options.after}`:` ${r}=${t.quote(i)}`}).join("")}(e,t);e.open=`<${i}${s}${r.selfClosing?t.selfClose():""}>`,r.selfClosing||(e.close=``),function(e,t){const n=e.node;if(!t.enabled||!t.trigger||!n.name)return;const r=e.node.attributes.reduce((e,t)=>(t.name&&null!=t.value&&(e[t.name.toUpperCase().replace(/-/g,"_")]=t.value),e),{});for(let n=0,i=t.trigger.length;ne.map(e=>e.isBoolean?`${e.name}${t.get("compactBooleanAttributes")?"":"=true"}`:`${e.name}=${t.quote(e.value)}`).join(" ")}};return we(e,(n=n||{}).field,e=>{if(!Te(e=function(e,t){const n=e.node;return!n.isTextOnly&&n.value&&(e.beforeText=qe.test(n.value)?e.newline+e.indent+t.indent(1):" "),e}(e=je(e,t,r),t))){const n=e.node;(n.value||!n.children.length&&!n.selfClosing)&&(e.text=e.renderFields(function(e,t){if(null!=e.value&&qe.test(e.value)){const n=Ee(e.value),r=t.indent(1),i=n.reduce((e,t)=>Math.max(e,t.length),0);return n.map((e,t)=>`${t?r:""}${function(e,t){for(;e.lengthe.name+"=true":e=>e.name,s={open:`[NAME][PRIMARY_ATTRS]${r}[SELF_CLOSE]`,selfClose:"/",attributes:{secondary:e=>e.map(e=>e.isBoolean?i(e):`${e.name}=${t.quote(e.value)}`).join(" ")}};return we(e,n.field,(e,n)=>{if(!Te(e=function(e,t){const n=e.node,r=n.parent;return 0===t.get("inlineBreak")&&function(e,t){return e&&(e.isTextOnly||t.isInline(e))}(n,t)&&!Ce(r)&&null==r.value&&1===r.children.length&&(e.beforeOpen=": "),!n.isTextOnly&&n.value&&(e.beforeText=Fe.test(n.value)?e.newline+e.indent+t.indent(1):" "),e}(e=je(e,t,s),t))){const n=e.node;(n.value||!n.children.length&&!n.selfClosing)&&(e.text=e.renderFields(function(e,t){if(null!=e.value&&Fe.test(e.value)){const n=t.indent(1);return Ee(e.value).map((e,t)=>`${n}${t?" ":"|"} ${e}`).join("\n")}return e.value}(n,t)))}return e})},pug:function(e,t,n){const r={open:"[NAME][PRIMARY_ATTRS][(SECONDARY_ATTRS)]",attributes:{secondary:e=>e.map(e=>e.isBoolean?e.name:`${e.name}=${t.quote(e.value)}`).join(", ")}};return we(e,(n=n||{}).field,e=>{if(!Te(e=function(e,t){const n=e.node;return!n.isTextOnly&&n.value&&(e.beforeText=He.test(n.value)?e.newline+e.indent+t.indent(1):" "),e}(e=je(e,t,r),t))){const n=e.node;(n.value||!n.children.length&&!n.selfClosing)&&(e.text=e.renderFields(function(e,t){if(null!=e.value&&He.test(e.value)){const n=t.indent(1);return Ee(e.value).map(e=>`${n}| ${e}`).join("\n")}return e.value}(n,t)))}return e})}};var Be=function(e,t,n,r){return"object"==typeof n&&(r=n,n=null),function(e){return!!e&&e in ze}(n)||(n="html"),ze[n](e,t,r)};function We(e,t){return O(e).use(N,t.snippets).use(ue,t.variables).use(le,t.text,t.addons)}class Ue{constructor(){this.type="css-value",this.value=[]}get size(){return this.value.length}add(e){this.value.push(e)}has(e){return-1!==this.value.indexOf(e)}toString(){return this.value.join(" ")}}var Ve=function(e){if(35===e.peek()){e.start=e.pos,e.next(),e.eat(116)||e.eatWhile(Ke);const t=e.current();if(e.start=e.pos,e.eat(46)&&!e.eatWhile(u))throw e.error("Unexpected character for alpha value of color");return new Ge(t,e.current())}};class Ge{constructor(e,t){this.type="color",this.raw=e,this.alpha=Number(null!=t&&""!==t?t:1);let n=0,r=0,i=0;if("t"===(e=e.slice(1)))this.alpha=0;else switch(e.length){case 0:break;case 1:n=r=i=e+e;break;case 2:n=r=i=e;break;case 3:n=e[0]+e[0],r=e[1]+e[1],i=e[2]+e[2];break;default:n=(e+=e).slice(0,2),r=e.slice(2,4),i=e.slice(4,6)}this.r=parseInt(n,16),this.g=parseInt(r,16),this.b=parseInt(i,16)}toHex(e){const t=e&&Ye(this.r)&&Ye(this.g)&&Ye(this.b)?Qe:Xe;return"#"+t(this.r)+t(this.g)+t(this.b)}toRGB(){const e=[this.r,this.g,this.b];return 1!==this.alpha&&e.push(this.alpha.toFixed(8).replace(/\.?0+$/,"")),`${3===e.length?"rgb":"rgba"}(${e.join(", ")})`}toString(e){return this.r||this.g||this.b||this.alpha?1===this.alpha?this.toHex(e):this.toRGB():"transparent"}}function Ke(e){return u(e)||h(e,65,70)}function Ye(e){return!(e%17)}function Qe(e){return(e>>4).toString(16)}function Xe(e){return function(e,t){for(;e.lengthnew _t(e.key,e.value)))};class _t{constructor(e,t){this.key=e,this.value=t,this.property=null;const n=t&&t.match(yt);n&&(this.property=n[1],this.value=n[2]),this.dependencies=[]}addDependency(e){this.dependencies.push(e)}get defaulValue(){return null!=this.value?kt(this.value)[0]:null}keywords(){const e=[],t=new Set;let n,r,i=0;for(this.property&&e.push(this);ifunction(e,t,n){const r=It(e.name,t,"key",n.fuzzySearchMinScore);return r?r.property?function(e,t,n){const r=e.name;if(e.name=t.property,e.value&&"object"==typeof e.value){const i=t.keywords();if(e.value.size)for(let t,r=0;r=s&&(s=a,i=r)}return s>=r?i:null}function Nt(e,t){const n=e&&"object"==typeof e?e[t]:e,r=(n||"").match(/^[\w-@]+/);return r?r[0]:n}function Dt(e){return Lt(e,"keyword")}function Mt(e){return Lt(e,"numeric")}function Lt(e,t){return e&&"object"==typeof e&&e.type===t}function jt(e,t,n){return t.unit?t.unit=n.unitAliases[t.unit]||t.unit:0!==t.value&&-1===St.indexOf(e)&&(t.unit=t.value===(0|t.value)?n.intUnit:n.floatUnit),t}const qt={shortHex:!0,format:{between:": ",after:";"}};function Ft(e,t,n){return n=Object.assign({},qt,n),we(e,n.field,r=>{const i=r.node;let s=String(i.value||"");return i.attributes.length&&(s=function(e,t){const n=pe(e),r=n.fields.length;if(r)for((t=t.slice()).length>r&&(t=t.slice(0,r-1).concat(t.slice(r-1).join(", ")));t.length;){const e=t.shift(),r=n.fields.shift(),i=e.length-r.length;n.string=n.string.slice(0,r.location)+e+n.string.slice(r.location+r.length);for(let e=0,t=n.fields.length;efunction(e,t){return e.value&&"object"==typeof e.value&&"css-value"===e.value.type?e.value.value.map(e=>e&&"object"==typeof e?"color"===e.type?e.toString(t.shortHex):e.toString():String(e)).join(" "):null!=e.value?String(e.value):""}(e,n)))),r.open=i.name&&t.name(i.name),r.afterOpen=n.format.between,r.text=r.renderFields(s||null),!r.open||r.text&&r.text.endsWith(";")||(r.afterText=n.format.after),t.get("format")&&(r.newline="\n",e.lastChild!==i&&(r.afterText+=r.newline)),r})}const $t={css:{between:": ",after:";"},scss:"css",less:"css",sass:{between:": ",after:""},stylus:{between:" ",after:""}};var Ht=function(e,t,n,r){return"object"==typeof n&&(r=n,n=null),function(e){return!!e&&e in $t}(n)||(n="css"),Ft(e,t,r=Object.assign({},r,{format:zt(n,r)}))};function zt(e,t){let n=$t[e];return"string"==typeof n&&(n=$t[n]),Object.assign({},n,t&&t.stylesheet)}function Bt(e,t){return"string"==typeof e&&(e=function(e){const t=new f,n=new y(e);for(;!n.eof();){let e=new f(dt(n));e.value=ft(n);const r=lt(n);if(r)for(let t=0;tsrc:m+img","ri:t|ri:type":"pic>src:t+img","!!!":"{}",doc:"html[lang=${lang}]>(head>meta[charset=${charset}]+meta:vp+title{${1:Document}})+body","!|html:5":"!!!+doc",c:"{\x3c!-- ${0} --\x3e}","cc:ie":"{\x3c!--[if IE]>${0}\x3c!--\x3e${0}\x3c!--xsl:when+xsl:otherwise",xsl:"!!!+xsl:stylesheet[version=1.0 xmlns:xsl=http://www.w3.org/1999/XSL/Transform]>{\n|}","!!!":'{}'}};const Ut={latin:{common:["lorem","ipsum","dolor","sit","amet","consectetur","adipisicing","elit"],words:["exercitationem","perferendis","perspiciatis","laborum","eveniet","sunt","iure","nam","nobis","eum","cum","officiis","excepturi","odio","consectetur","quasi","aut","quisquam","vel","eligendi","itaque","non","odit","tempore","quaerat","dignissimos","facilis","neque","nihil","expedita","vitae","vero","ipsum","nisi","animi","cumque","pariatur","velit","modi","natus","iusto","eaque","sequi","illo","sed","ex","et","voluptatibus","tempora","veritatis","ratione","assumenda","incidunt","nostrum","placeat","aliquid","fuga","provident","praesentium","rem","necessitatibus","suscipit","adipisci","quidem","possimus","voluptas","debitis","sint","accusantium","unde","sapiente","voluptate","qui","aspernatur","laudantium","soluta","amet","quo","aliquam","saepe","culpa","libero","ipsa","dicta","reiciendis","nesciunt","doloribus","autem","impedit","minima","maiores","repudiandae","ipsam","obcaecati","ullam","enim","totam","delectus","ducimus","quis","voluptates","dolores","molestiae","harum","dolorem","quia","voluptatem","molestias","magni","distinctio","omnis","illum","dolorum","voluptatum","ea","quas","quam","corporis","quae","blanditiis","atque","deserunt","laboriosam","earum","consequuntur","hic","cupiditate","quibusdam","accusamus","ut","rerum","error","minus","eius","ab","ad","nemo","fugit","officia","at","in","id","quos","reprehenderit","numquam","iste","fugiat","sit","inventore","beatae","repellendus","magnam","recusandae","quod","explicabo","doloremque","aperiam","consequatur","asperiores","commodi","optio","dolor","labore","temporibus","repellat","veniam","architecto","est","esse","mollitia","nulla","a","similique","eos","alias","dolore","tenetur","deleniti","porro","facere","maxime","corrupti"]},ru:{common:["далеко-далеко","за","словесными","горами","в стране","гласных","и согласных","живут","рыбные","тексты"],words:["вдали","от всех","они","буквенных","домах","на берегу","семантика","большого","языкового","океана","маленький","ручеек","даль","журчит","по всей","обеспечивает","ее","всеми","необходимыми","правилами","эта","парадигматическая","страна","которой","жаренные","предложения","залетают","прямо","рот","даже","всемогущая","пунктуация","не","имеет","власти","над","рыбными","текстами","ведущими","безорфографичный","образ","жизни","однажды","одна","маленькая","строчка","рыбного","текста","имени","lorem","ipsum","решила","выйти","большой","мир","грамматики","великий","оксмокс","предупреждал","о","злых","запятых","диких","знаках","вопроса","коварных","точках","запятой","но","текст","дал","сбить","себя","толку","он","собрал","семь","своих","заглавных","букв","подпоясал","инициал","за","пояс","пустился","дорогу","взобравшись","первую","вершину","курсивных","гор","бросил","последний","взгляд","назад","силуэт","своего","родного","города","буквоград","заголовок","деревни","алфавит","подзаголовок","своего","переулка","грустный","реторический","вопрос","скатился","его","щеке","продолжил","свой","путь","дороге","встретил","рукопись","она","предупредила","моей","все","переписывается","несколько","раз","единственное","что","меня","осталось","это","приставка","возвращайся","ты","лучше","свою","безопасную","страну","послушавшись","рукописи","наш","продолжил","свой","путь","вскоре","ему","повстречался","коварный","составитель","рекламных","текстов","напоивший","языком","речью","заманивший","свое","агентство","которое","использовало","снова","снова","своих","проектах","если","переписали","то","живет","там","до","сих","пор"]},sp:{common:["mujer","uno","dolor","más","de","poder","mismo","si"],words:["ejercicio","preferencia","perspicacia","laboral","paño","suntuoso","molde","namibia","planeador","mirar","demás","oficinista","excepción","odio","consecuencia","casi","auto","chicharra","velo","elixir","ataque","no","odio","temporal","cuórum","dignísimo","facilismo","letra","nihilista","expedición","alma","alveolar","aparte","león","animal","como","paria","belleza","modo","natividad","justo","ataque","séquito","pillo","sed","ex","y","voluminoso","temporalidad","verdades","racional","asunción","incidente","marejada","placenta","amanecer","fuga","previsor","presentación","lejos","necesariamente","sospechoso","adiposidad","quindío","pócima","voluble","débito","sintió","accesorio","falda","sapiencia","volutas","queso","permacultura","laudo","soluciones","entero","pan","litro","tonelada","culpa","libertario","mosca","dictado","reincidente","nascimiento","dolor","escolar","impedimento","mínima","mayores","repugnante","dulce","obcecado","montaña","enigma","total","deletéreo","décima","cábala","fotografía","dolores","molesto","olvido","paciencia","resiliencia","voluntad","molestias","magnífico","distinción","ovni","marejada","cerro","torre","y","abogada","manantial","corporal","agua","crepúsculo","ataque","desierto","laboriosamente","angustia","afortunado","alma","encefalograma","materialidad","cosas","o","renuncia","error","menos","conejo","abadía","analfabeto","remo","fugacidad","oficio","en","almácigo","vos","pan","represión","números","triste","refugiado","trote","inventor","corchea","repelente","magma","recusado","patrón","explícito","paloma","síndrome","inmune","autoinmune","comodidad","ley","vietnamita","demonio","tasmania","repeler","apéndice","arquitecto","columna","yugo","computador","mula","a","propósito","fantasía","alias","rayo","tenedor","deleznable","ventana","cara","anemia","corrupto"]}},Vt={wordCount:30,skipCommon:!1,lang:"latin"};function Gt(e,t){return Math.floor(Math.random()*(t-e)+e)}function Kt(e,t){const n=e.length,r=Math.min(n,t),i=new Set;for(;i.size3&&t<=6?Gt(0,1):t>6&&t<=12?Gt(0,2):Gt(1,4);for(let i,s=0;s1)return!0;e=e.parent}return!1}(e);return e.repeat||function(e){return!e.parent}(e.parent)?(e.value=Jt(n,t.wordCount,r),e.name=e.parent.name?L(e.parent.name):null):(e.parent.value=Jt(n,t.wordCount,r),e.remove()),e}(e,t)}const tn={lang:"en",locale:"en-US",charset:"UTF-8"},nn=new Set(["css","sass","scss","less","stylus","sss"]),rn={syntax:"html",field:(e,t)=>t||"",text:null,profile:null,variables:{},snippets:{},addons:null,format:null};function sn(e,t){return t instanceof o?t:function(e,t){const n=[Wt[e]||Wt.html];Array.isArray(t)?t.forEach(e=>{n.push("string"==typeof e?Wt[e]:e)}):"object"==typeof t&&n.push(t);const r=new o(n.filter(Boolean));return"css"!==e&&r.get(0).set(Zt,en),r}(an(e)?"css":e,t)}function on(e){return"string"==typeof e&&(e={syntax:e}),(e=Object.assign({},rn,e)).format=Object.assign({field:e.field},e.format),e.profile=cn(e),e.variables=Object.assign({},tn,e.variables),e.snippets=sn(an(e.syntax)?"css":e.syntax,e.snippets),e}function an(e){return nn.has(e)}function cn(e){return e.profile instanceof n?e.profile:new n(e.profile)}e.expand=function(e,t){return an((t=on(t)).syntax)?function(e,t){return t=t||{},"string"==typeof e&&(e=Bt(e,t)),Ht(e,t.profile,t.syntax,t.format)}(e,t):function(e,t){return t=t||{},"string"==typeof e&&(e=We(e,t)),Be(e,t.profile,t.syntax,t.format)}(e,t)},e.parse=function(e,t){return an((t=on(t)).syntax)?Bt(e,t):We(e,t)},e.createSnippetsRegistry=sn,e.createOptions=on,e.isStylesheet=an,e.createProfile=cn,Object.defineProperty(e,"__esModule",{value:!0})}(t)},87:function(e){e.exports=n(2087)},104:function(e,t,n){"use strict";n.r(t);var r=n(183);n.n(r);for(var i in r)"default"!==i&&n.d(t,i,function(e){return r[e]}.bind(0,i))},183:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(280),i=n(34),s=n(234),o=n(622),a=n(747),c=n(762),l=n(87),u=n(233),h=new Map;let p,d;const f=new Map,m=/^[a-z,A-Z,!,(,[,#,\.]/,g=/^-?[a-z,A-Z,!,@,#]/,v=/[a-z,A-Z\.]/,y=["html","pug","slim","haml","xml","xsl","jsx","css","scss","sass","less","stylus"],b=[...u.htmlData.tags,"lorem"],_="bem",w="t",x="c",k={w:"webkit",m:"moz",s:"ms",o:"o"},E={w:"animation, animation-delay, animation-direction, animation-duration, animation-fill-mode, animation-iteration-count, animation-name, animation-play-state, animation-timing-function, appearance, backface-visibility, background-clip, background-composite, background-origin, background-size, border-fit, border-horizontal-spacing, border-image, border-vertical-spacing, box-align, box-direction, box-flex, box-flex-group, box-lines, box-ordinal-group, box-orient, box-pack, box-reflect, box-shadow, color-correction, column-break-after, column-break-before, column-break-inside, column-count, column-gap, column-rule-color, column-rule-style, column-rule-width, column-span, column-width, dashboard-region, font-smoothing, highlight, hyphenate-character, hyphenate-limit-after, hyphenate-limit-before, hyphens, line-box-contain, line-break, line-clamp, locale, margin-before-collapse, margin-after-collapse, marquee-direction, marquee-increment, marquee-repetition, marquee-style, mask-attachment, mask-box-image, mask-box-image-outset, mask-box-image-repeat, mask-box-image-slice, mask-box-image-source, mask-box-image-width, mask-clip, mask-composite, mask-image, mask-origin, mask-position, mask-repeat, mask-size, nbsp-mode, perspective, perspective-origin, rtl-ordering, text-combine, text-decorations-in-effect, text-emphasis-color, text-emphasis-position, text-emphasis-style, text-fill-color, text-orientation, text-security, text-stroke-color, text-stroke-width, transform, transition, transform-origin, transform-style, transition-delay, transition-duration, transition-property, transition-timing-function, user-drag, user-modify, user-select, writing-mode, svg-shadow, box-sizing, border-radius",m:"animation-delay, animation-direction, animation-duration, animation-fill-mode, animation-iteration-count, animation-name, animation-play-state, animation-timing-function, appearance, backface-visibility, background-inline-policy, binding, border-bottom-colors, border-image, border-left-colors, border-right-colors, border-top-colors, box-align, box-direction, box-flex, box-ordinal-group, box-orient, box-pack, box-shadow, box-sizing, column-count, column-gap, column-rule-color, column-rule-style, column-rule-width, column-width, float-edge, font-feature-settings, font-language-override, force-broken-image-icon, hyphens, image-region, orient, outline-radius-bottomleft, outline-radius-bottomright, outline-radius-topleft, outline-radius-topright, perspective, perspective-origin, stack-sizing, tab-size, text-blink, text-decoration-color, text-decoration-line, text-decoration-style, text-size-adjust, transform, transform-origin, transform-style, transition, transition-delay, transition-duration, transition-property, transition-timing-function, user-focus, user-input, user-modify, user-select, window-shadow, background-clip, border-radius",s:"accelerator, backface-visibility, background-position-x, background-position-y, behavior, block-progression, box-align, box-direction, box-flex, box-line-progression, box-lines, box-ordinal-group, box-orient, box-pack, content-zoom-boundary, content-zoom-boundary-max, content-zoom-boundary-min, content-zoom-chaining, content-zoom-snap, content-zoom-snap-points, content-zoom-snap-type, content-zooming, filter, flow-from, flow-into, font-feature-settings, grid-column, grid-column-align, grid-column-span, grid-columns, grid-layer, grid-row, grid-row-align, grid-row-span, grid-rows, high-contrast-adjust, hyphenate-limit-chars, hyphenate-limit-lines, hyphenate-limit-zone, hyphens, ime-mode, interpolation-mode, layout-flow, layout-grid, layout-grid-char, layout-grid-line, layout-grid-mode, layout-grid-type, line-break, overflow-style, perspective, perspective-origin, perspective-origin-x, perspective-origin-y, scroll-boundary, scroll-boundary-bottom, scroll-boundary-left, scroll-boundary-right, scroll-boundary-top, scroll-chaining, scroll-rails, scroll-snap-points-x, scroll-snap-points-y, scroll-snap-type, scroll-snap-x, scroll-snap-y, scrollbar-arrow-color, scrollbar-base-color, scrollbar-darkshadow-color, scrollbar-face-color, scrollbar-highlight-color, scrollbar-shadow-color, scrollbar-track-color, text-align-last, text-autospace, text-justify, text-kashida-space, text-overflow, text-size-adjust, text-underline-position, touch-action, transform, transform-origin, transform-origin-x, transform-origin-y, transform-origin-z, transform-style, transition, transition-delay, transition-duration, transition-property, transition-timing-function, user-select, word-break, wrap-flow, wrap-margin, wrap-through, writing-mode",o:"dashboard-region, animation, animation-delay, animation-direction, animation-duration, animation-fill-mode, animation-iteration-count, animation-name, animation-play-state, animation-timing-function, border-image, link, link-source, object-fit, object-position, tab-size, table-baseline, transform, transform-origin, transition, transition-delay, transition-duration, transition-property, transition-timing-function, accesskey, input-format, input-required, marquee-dir, marquee-loop, marquee-speed, marquee-style"};function S(e,t,n,s){if("never"===s.showExpandedAbbreviation||!B(n,s.excludeLanguages))return;if(!D(n)){if(!h.has(n)||!d||0===d.length){let e=O[n]?O[n]:i.createSnippetsRegistry(n);h.has(n)||h.set(n,e.all({type:"string"}).map(e=>e.key)),d=e.all({type:"regexp"}).map(e=>e.key)}p=h.get(n)}let o=L(e,t,{syntax:n,lookAhead:!D(n)});if(!o)return;let{abbreviationRange:a,abbreviation:c,filter:l}=o,m=P(e,t).substr(0,t.character);if(function(e){if(e){let t=e.match(/[\w,:,-,\.]*$/);if(t)return t[0]}}(m)===c&&m.endsWith("<"+c)&&("html"===n||"xml"===n||"xsl"===n||"jsx"===n))return;let g,v,y=q(n,s,l),_=y.preferences;delete y.preferences;let w=[];const x=(e,t)=>{if(j(e,c)){try{g=i.expand(t,y)}catch(e){}g&&!function(e,t,n){if(D(e)){let r="sass"===e||"stylus"===e?"":";";return n===`${t}: \${1}${r}`||n.replace(/\s/g,"")===t.replace(/\s/g,"")+r}if(b.indexOf(t.toLowerCase())>-1||p.indexOf(t)>-1)return!1;if(/[-,:]/.test(t)&&!/--|::/.test(t)&&!t.endsWith(":"))return!1;if("."===t)return!1;const r=t.match(/^([a-z,A-Z,\d]*)\.$/);if(r)return!r[1]||!u.htmlData.tags.includes(r[1]);return n.toLowerCase()===`<${t.toLowerCase()}>\${1}`}(e,t,g)&&(v=r.CompletionItem.create(t),v.textEdit=r.TextEdit.replace(a,T(A(g))),v.documentation=R(g),v.insertTextFormat=r.InsertTextFormat.Snippet,v.detail="Emmet Abbreviation",v.label=c,v.label+=l?"|"+l.replace(",","|"):"",w=[v])}};if(D(n)){let{prefixOptions:e,abbreviationWithoutPrefix:t}=F(c);if(x(n,t),t.length>4&&u.cssData.properties.find(e=>e.startsWith(t)))return r.CompletionList.create([],!0);if(v){let i=$(g,e,_);v.textEdit=r.TextEdit.replace(a,T(A(i))),v.documentation=R(i),v.label=function(e){return e.replace(/([^\\])\$\{\d+\}/g,"$1").replace(/\$\{\d+:([^\}]+)\}/g,"$1")}(g),v.filterText=c;const s=f.has(n)?f.get(n):f.get("css");if(w=C(s,c,c,a,y,"Emmet Custom Snippet",!1),!w.find(e=>e.textEdit.newText===v.textEdit.newText)){const e=new RegExp(".*"+t.split("").map(e=>"$"===e||"+"===e?"\\"+e:e).join(".*")+".*","i");(/\d/.test(c)||e.test(v.label))&&w.push(v)}}if(!w.length&&("-"===c||/^-[wmso]{1,4}-?$/.test(c)))return r.CompletionList.create([],!0)}else{x(n,c);let e=c,t=c.match(/(>|\+)([\w:-]+)$/);t&&3===t.length&&(e=t[2]);let r=C(b,e,c,a,y,"Emmet Abbreviation");if(w=w.concat(r),!0===s.showAbbreviationSuggestions){let t=C(p.filter(e=>!b.includes(e)),e,c,a,y,"Emmet Abbreviation");v&&t.length>0&&e!==c&&(v.sortText="0"+v.label,t.forEach(e=>{e.filterText=c,e.sortText="9"+c})),w=w.concat(t)}}return!0===s.showSuggestionsAsSnippets&&w.forEach(e=>e.kind=r.CompletionItemKind.Snippet),w.length?r.CompletionList.create(w,!0):void 0}function C(e,t,n,s,o,a,c=!0){if(!t||!e)return[];let l=[];return e.forEach(e=>{if(!e.startsWith(t.toLowerCase())||c&&e===t.toLowerCase())return;let u,h=n+e.substr(t.length);try{u=i.expand(h,o)}catch(e){}if(!u)return;let p=r.CompletionItem.create(t+e.substr(t.length));p.documentation=R(u),p.detail=a,p.textEdit=r.TextEdit.replace(s,T(A(u))),p.insertTextFormat=r.InsertTextFormat.Snippet,l.push(p)}),l}function R(e){return e.replace(/([^\\])\$\{\d+\}/g,"$1|").replace(/\$\{\d+:([^\}]+)\}/g,"$1")}function T(e){return e?e.replace(/([^\\])(\$)([^\{])/g,"$1\\$2$3"):e}function A(e){if(!e||!e.trim())return e;let t=-1,n=[],r=!1,i=!1,s=0,o=e.length;try{for(;s=o||"}"!=e[s]&&":"!=e[s])continue;const l=e.substring(a,c);if(r="0"===l,r)break;let u=!1;if(":"==e[s++])for(;sNumber(t)?(t=l,n=[{numberStart:a,numberEnd:c}],i=!u):l==t&&n.push({numberStart:a,numberEnd:c})}}catch(e){}if(i&&!r)for(let t=0;t=0;e--)if("\n"===r[e]){i=e+1;break}for(let e=n;e-1}function M(e,t){let n;for(let r=0;r<3;r++)if(e.endsWith("|bem",t))t-=_.length+1,n=n?"bem,"+n:_;else if(e.endsWith("|c",t))t-=x.length+1,n=n?"c,"+n:x;else{if(!e.endsWith("|t",t))break;t-=w.length+1,n=n?"t,"+n:w}return{pos:t,filter:n}}function L(e,t,n){const i=P(e,t),o=i.substr(0,t.character),{pos:a,filter:c}=M(o,t.character),l=c?c.length+1:0;try{let e=n;"boolean"!=typeof e&&(e=e||{},e={syntax:D(e.syntax)||"stylesheet"===e.syntax?"stylesheet":"markup",lookAhead:e.lookAhead});const o=s(i,a,e);return{abbreviationRange:r.Range.create(t.line,o.location,t.line,o.location+o.abbreviation.length+l),abbreviation:o.abbreviation,filter:c}}catch(e){}}function j(e,t){if(!t)return!1;if(D(e))return!t.endsWith(":")&&(t.indexOf("#")>-1?U.test(t)||W.test(t):g.test(t));if(t.startsWith("!"))return!/[^!]/.test(t);const n=t.match(/\*(\d+)$/);return n?parseInt(n[1],10)<=100:!!(!/\(/.test(t)&&!/\)/.test(t)||/\{[^\}\{]*[\(\)]+[^\}\{]*\}(?:[>\+\*\^]|$)/.test(t)||/\(.*\)[>\+\*\^]/.test(t)||/[>\+\*\^]\(.*\)/.test(t))&&(m.test(t)&&v.test(t))}function q(e,n,r){(n=n||{}).preferences=n.preferences||{};let i=D(e)?"css":"html";!O[e]&&O[i]&&(O[e]=O[i]);let s=function(e,t){t||(t={});let n=Object.assign({},N,t)[e];if(!n||"string"==typeof n)return"xhtml"===n?{selfClosingStyle:"xhtml"}:{};let r={};for(let e in n)switch(e){case"tag_case":r.tagCase="lower"===n[e]||"upper"===n[e]?n[e]:"";break;case"attr_case":r.attributeCase="lower"===n[e]||"upper"===n[e]?n[e]:"";break;case"attr_quotes":r.attributeQuotes=n[e];break;case"tag_nl":r.format=!0!==n[e]&&!1!==n[e]||n[e];break;case"inline_break":r.inlineBreak=n[e];break;case"self_closing_tag":if(!0===n[e]){r.selfClosingStyle="xml";break}if(!1===n[e]){r.selfClosingStyle="html";break}r.selfClosingStyle=n[e];break;case"compact_bool":r.compactBooleanAttributes=n[e];break;default:r[e]=n[e]}return r}(e,n.syntaxProfiles),o=s&&s.filters?s.filters.split(","):[];o=o.map(e=>e.trim()),n.preferences["format.noIndentTags"]&&(Array.isArray(n.preferences["format.noIndentTags"])?s.formatSkip=n.preferences["format.noIndentTags"]:"string"==typeof n.preferences["format.noIndentTags"]&&(s.formatSkip=n.preferences["format.noIndentTags"].split(","))),n.preferences["format.forceIndentationForTags"]&&(Array.isArray(n.preferences["format.forceIndentationForTags"])?s.formatForce=n.preferences["format.forceIndentationForTags"]:"string"==typeof n.preferences["format.forceIndentationForTags"]&&(s.formatForce=n.preferences["format.forceIndentationForTags"].split(","))),n.preferences["profile.allowCompactBoolean"]&&"boolean"==typeof n.preferences["profile.allowCompactBoolean"]&&(s.compactBooleanAttributes=n.preferences["profile.allowCompactBoolean"]);let a={};(r&&r.split(",").find(e=>"bem"===e.trim())||o.indexOf("bem")>-1)&&(a.bem={element:"__"},n.preferences["bem.elementSeparator"]&&(a.bem.element=n.preferences["bem.elementSeparator"]),n.preferences["bem.modifierSeparator"]&&(a.bem.modifier=n.preferences["bem.modifierSeparator"])),"jsx"===e&&(a.jsx=!0);let c=function(e,t){if(!t)return{};if(!D(e)){let e={};for(let n in t)switch(n){case"filter.commentAfter":e.after=t[n];break;case"filter.commentBefore":e.before=t[n];break;case"filter.commentTrigger":e.trigger=t[n]}return{comment:e}}let n="number"==typeof t["css.fuzzySearchMinScore"]?t["css.fuzzySearchMinScore"]:.3;n>1?n=1:n<0&&(n=0);let r={fuzzySearchMinScore:n};for(let n in t)switch(n){case"css.floatUnit":r.floatUnit=t[n];break;case"css.intUnit":r.intUnit=t[n];break;case"css.unitAliases":let i={};t[n].split(",").forEach(e=>{if(!e||!e.trim()||-1===e.indexOf(":"))return;let t=e.substr(0,e.indexOf(":")),n=e.substr(t.length+1);t.trim()&&n&&(i[t.trim()]=n)}),r.unitAliases=i;break;case e+".valueSeparator":r.between=t[n];break;case e+".propertyEnd":r.after=t[n]}return{stylesheet:r}}(e,n.preferences);(r&&r.split(",").find(e=>"c"===e.trim())||o.indexOf("c")>-1)&&(c.comment?c.comment.enabled=!0:c.comment={enabled:!0});let l=n.preferences;for(const e in k){null==l["css."+k[e]+"Properties"]&&(l["css."+k[e]+"Properties"]=E[e])}return{field:t.emmetSnippetField,syntax:e,profile:s,addons:a,variables:H(n.variables),snippets:O[e],format:c,preferences:l}}function F(e){if("-"!=(e=e||"")[0])return{prefixOptions:"",abbreviationWithoutPrefix:e};{e=e.substr(1);let t="-";if(/^[wmso]*-./.test(e)){let n=e.indexOf("-");n>-1&&(t+=e.substr(0,n+1),e=e.substr(n+1))}return{prefixOptions:t,abbreviationWithoutPrefix:e}}}function $(e,t,n){if(n=n||{},e=e||"","-"!==(t=t||"")[0])return e;if("-"==t){let r="-",i=e.substr(0,e.indexOf(":"));if(!i)return e;for(const e in k){let t=n["css."+k[e]+"Properties"];t&&t.split(",").find(e=>e.trim()===i)&&(r+=e)}t="-"==r?"-wmso":r,t+="-"}t=t.substr(1);let r="";for(let n=0;n-1))return/\b(typescriptreact|javascriptreact|jsx-tags)\b/.test(e)?"jsx":"sass-indented"===e?"sass":"jade"===e?"pug":y.indexOf(e)>-1?e:void 0}t.emmetSnippetField=(e,t)=>`\${${e}${t?":"+t:""}}`,t.isStyleSheet=D,t.extractAbbreviation=L,t.extractAbbreviationFromText=function(e,t){if(!e)return;const{pos:n,filter:r}=M(e,e.length);try{let i=!D(t)&&"stylesheet"!==t||{syntax:"stylesheet",lookAhead:!1};return{abbreviation:s(e,n,i).abbreviation,filter:r}}catch(e){}},t.isAbbreviationValid=j,t.getExpandOptions=q,t.parseAbbreviation=function(e,t){return i.parse(e,t)},t.expandAbbreviation=function(e,t){let n,r=t.preferences;if(delete t.preferences,D(t.syntax)&&"string"==typeof e){let{prefixOptions:s,abbreviationWithoutPrefix:o}=F(e);n=i.expand(o,t),n=$(n,s,r)}else n=i.expand(e,t);return T(A(n))},t.updateExtensionsPath=function(e,t){if(!e||!e.trim())return z(),Promise.resolve();if(e=e.trim(),t=t?t.trim():"","~"===e[0]?e=o.join(l.homedir(),e.substr(1)):!o.isAbsolute(e)&&t&&(e=o.join(t,e)),!o.isAbsolute(e))return z(),Promise.reject("The path provided in emmet.extensionsPath setting should be absoulte path");if(!function(e){try{return a.statSync(e).isDirectory()}catch(e){return!1}}(e))return z(),Promise.reject(`The directory ${e} doesnt exist. Update emmet.extensionsPath setting`);let n=e,r=o.join(n,"snippets.json"),s=o.join(n,"syntaxProfiles.json"),u=new Promise((e,t)=>{a.readFile(r,(n,s)=>{if(n)return t("Error while fetching the file "+r);try{let e=[],n=c.parse(s.toString(),e);if(e.length>0)return t(`Found error ${c.ScanError[e[0].error]} while parsing the file ${r} at offset ${e[0].offset}`);I=n.variables,O={},h.clear(),Object.keys(n).forEach(e=>{if(!n[e].snippets)return;let t=D(e)?"css":"html",r=n[e].snippets;if(n[t]&&n[t].snippets&&t!==e&&(r=Object.assign({},n[t].snippets,n[e].snippets)),D(e))f.set(e,Object.keys(r));else for(let e in r)r.hasOwnProperty(e)&&r[e].startsWith("<")&&r[e].endsWith(">")&&(r[e]=`{${r[e]}}`);O[e]=i.createSnippetsRegistry(e,r);let s=O[e].all({type:"string"}).map(e=>e.key);h.set(e,s)})}catch(e){return t("Error while parsing the file "+r)}return e()})});return new Promise((e,t)=>{a.readFile(s,(t,n)=>{try{t||(N=JSON.parse(n.toString()))}catch(e){}return e()})}),Promise.all([u,I]).then(()=>Promise.resolve())},t.getEmmetMode=B;const W=/^[a-zA-Z]+:?#[\d.a-fA-F]{0,6}$/,U=/^#[\d,a-f,A-F]{1,6}$/,V=/^[a-z,A-Z]+$/;t.getEmmetCompletionParticipants=function(e,t,n,r,i){return{getId:()=>"emmet",onCssProperty:s=>{if(s&&s.propertyName){const s=S(e,t,n,r);i&&s&&(i.items=s.items,i.isIncomplete=!0)}},onCssPropertyValue:s=>{if(s&&s.propertyValue){const o=L(e,t,{syntax:"css",lookAhead:!1});if(!o)return;if(o.abbreviation===`${s.propertyName}:${s.propertyValue}`&&V.test(s.propertyValue)||U.test(o.abbreviation)||"!"===o.abbreviation){const s=S(e,t,n,r);i&&s&&(i.items=s.items,i.isIncomplete=!0)}}},onHtmlContent:()=>{const s=S(e,t,n,r);i&&s&&(i.items=s.items,i.isIncomplete=!0)}}}},233:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.cssData={properties:["additive-symbols","align-content","align-items","justify-items","justify-self","justify-items","align-self","all","alt","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-position-x","background-position-y","background-repeat","background-size","behavior","block-size","border","border-block-end","border-block-start","border-block-end-color","border-block-start-color","border-block-end-style","border-block-start-style","border-block-end-width","border-block-start-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline-end","border-inline-start","border-inline-end-color","border-inline-start-color","border-inline-end-style","border-inline-start-style","border-inline-end-width","border-inline-start-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","color-interpolation-filters","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","columns","column-span","column-width","contain","content","counter-increment","counter-reset","cursor","direction","display","empty-cells","enable-background","fallback","fill","fill-opacity","fill-rule","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flood-color","flood-opacity","font","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-stretch","font-style","font-synthesis","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-weight","glyph-orientation-horizontal","glyph-orientation-vertical","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-gap","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-gap","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","height","hyphens","image-orientation","image-rendering","ime-mode","inline-size","isolation","justify-content","kerning","left","letter-spacing","lighting-color","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block-end","margin-block-start","margin-bottom","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marker","marker-end","marker-mid","marker-start","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","motion","motion-offset","motion-path","motion-rotation","-moz-animation","-moz-animation-delay","-moz-animation-direction","-moz-animation-duration","-moz-animation-iteration-count","-moz-animation-name","-moz-animation-play-state","-moz-animation-timing-function","-moz-appearance","-moz-backface-visibility","-moz-background-clip","-moz-background-inline-policy","-moz-background-origin","-moz-border-bottom-colors","-moz-border-image","-moz-border-left-colors","-moz-border-right-colors","-moz-border-top-colors","-moz-box-align","-moz-box-direction","-moz-box-flex","-moz-box-flexgroup","-moz-box-ordinal-group","-moz-box-orient","-moz-box-pack","-moz-box-sizing","-moz-column-count","-moz-column-gap","-moz-column-rule","-moz-column-rule-color","-moz-column-rule-style","-moz-column-rule-width","-moz-columns","-moz-column-width","-moz-font-feature-settings","-moz-hyphens","-moz-perspective","-moz-perspective-origin","-moz-text-align-last","-moz-text-decoration-color","-moz-text-decoration-line","-moz-text-decoration-style","-moz-text-size-adjust","-moz-transform","-moz-transform-origin","-moz-transition","-moz-transition-delay","-moz-transition-duration","-moz-transition-property","-moz-transition-timing-function","-moz-user-focus","-moz-user-select","-ms-accelerator","-ms-behavior","-ms-block-progression","-ms-content-zoom-chaining","-ms-content-zooming","-ms-content-zoom-limit","-ms-content-zoom-limit-max","-ms-content-zoom-limit-min","-ms-content-zoom-snap","-ms-content-zoom-snap-points","-ms-content-zoom-snap-type","-ms-filter","-ms-flex","-ms-flex-align","-ms-flex-direction","-ms-flex-flow","-ms-flex-item-align","-ms-flex-line-pack","-ms-flex-order","-ms-flex-pack","-ms-flex-wrap","-ms-flow-from","-ms-flow-into","-ms-grid-column","-ms-grid-column-align","-ms-grid-columns","-ms-grid-column-span","-ms-grid-layer","-ms-grid-row","-ms-grid-row-align","-ms-grid-rows","-ms-grid-row-span","-ms-high-contrast-adjust","-ms-hyphenate-limit-chars","-ms-hyphenate-limit-lines","-ms-hyphenate-limit-zone","-ms-hyphens","-ms-ime-mode","-ms-interpolation-mode","-ms-layout-grid","-ms-layout-grid-char","-ms-layout-grid-line","-ms-layout-grid-mode","-ms-layout-grid-type","-ms-line-break","-ms-overflow-style","-ms-perspective","-ms-perspective-origin","-ms-perspective-origin-x","-ms-perspective-origin-y","-ms-progress-appearance","-ms-scrollbar-3dlight-color","-ms-scrollbar-arrow-color","-ms-scrollbar-base-color","-ms-scrollbar-darkshadow-color","-ms-scrollbar-face-color","-ms-scrollbar-highlight-color","-ms-scrollbar-shadow-color","-ms-scrollbar-track-color","-ms-scroll-chaining","-ms-scroll-limit","-ms-scroll-limit-x-max","-ms-scroll-limit-x-min","-ms-scroll-limit-y-max","-ms-scroll-limit-y-min","-ms-scroll-rails","-ms-scroll-snap-points-x","-ms-scroll-snap-points-y","-ms-scroll-snap-type","-ms-scroll-snap-x","-ms-scroll-snap-y","-ms-scroll-translation","-ms-text-align-last","-ms-text-autospace","-ms-text-combine-horizontal","-ms-text-justify","-ms-text-kashida-space","-ms-text-overflow","-ms-text-size-adjust","-ms-text-underline-position","-ms-touch-action","-ms-touch-select","-ms-transform","-ms-transform-origin","-ms-transform-origin-x","-ms-transform-origin-y","-ms-transform-origin-z","-ms-user-select","-ms-word-break","-ms-word-wrap","-ms-wrap-flow","-ms-wrap-margin","-ms-wrap-through","-ms-writing-mode","-ms-zoom","-ms-zoom-animation","nav-down","nav-index","nav-left","nav-right","nav-up","negative","-o-animation","-o-animation-delay","-o-animation-direction","-o-animation-duration","-o-animation-fill-mode","-o-animation-iteration-count","-o-animation-name","-o-animation-play-state","-o-animation-timing-function","object-fit","object-position","-o-border-image","-o-object-fit","-o-object-position","opacity","order","orphans","-o-table-baseline","-o-tab-size","-o-text-overflow","-o-transform","-o-transform-origin","-o-transition","-o-transition-delay","-o-transition-duration","-o-transition-property","-o-transition-timing-function","offset-block-end","offset-block-start","offset-inline-end","offset-inline-start","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","pad","padding","padding-bottom","padding-block-end","padding-block-start","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","paint-order","perspective","perspective-origin","pointer-events","position","prefix","quotes","range","resize","right","ruby-align","ruby-overhang","ruby-position","ruby-span","scrollbar-3dlight-color","scrollbar-arrow-color","scrollbar-base-color","scrollbar-darkshadow-color","scrollbar-face-color","scrollbar-highlight-color","scrollbar-shadow-color","scrollbar-track-color","scroll-behavior","scroll-snap-coordinate","scroll-snap-destination","scroll-snap-points-x","scroll-snap-points-y","scroll-snap-type","shape-image-threshold","shape-margin","shape-outside","shape-rendering","size","src","stop-color","stop-opacity","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","suffix","system","symbols","table-layout","tab-size","text-align","text-align-last","text-anchor","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","touch-action","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","unicode-range","user-select","vertical-align","visibility","-webkit-animation","-webkit-animation-delay","-webkit-animation-direction","-webkit-animation-duration","-webkit-animation-fill-mode","-webkit-animation-iteration-count","-webkit-animation-name","-webkit-animation-play-state","-webkit-animation-timing-function","-webkit-appearance","-webkit-backdrop-filter","-webkit-backface-visibility","-webkit-background-clip","-webkit-background-composite","-webkit-background-origin","-webkit-border-image","-webkit-box-align","-webkit-box-direction","-webkit-box-flex","-webkit-box-flex-group","-webkit-box-ordinal-group","-webkit-box-orient","-webkit-box-pack","-webkit-box-reflect","-webkit-box-sizing","-webkit-break-after","-webkit-break-before","-webkit-break-inside","-webkit-column-break-after","-webkit-column-break-before","-webkit-column-break-inside","-webkit-column-count","-webkit-column-gap","-webkit-column-rule","-webkit-column-rule-color","-webkit-column-rule-style","-webkit-column-rule-width","-webkit-columns","-webkit-column-span","-webkit-column-width","-webkit-filter","-webkit-flow-from","-webkit-flow-into","-webkit-font-feature-settings","-webkit-hyphens","-webkit-line-break","-webkit-margin-bottom-collapse","-webkit-margin-collapse","-webkit-margin-start","-webkit-margin-top-collapse","-webkit-mask-clip","-webkit-mask-image","-webkit-mask-origin","-webkit-mask-repeat","-webkit-mask-size","-webkit-nbsp-mode","-webkit-overflow-scrolling","-webkit-padding-start","-webkit-perspective","-webkit-perspective-origin","-webkit-region-fragment","-webkit-tap-highlight-color","-webkit-text-fill-color","-webkit-text-size-adjust","-webkit-text-stroke","-webkit-text-stroke-color","-webkit-text-stroke-width","-webkit-touch-callout","-webkit-transform","-webkit-transform-origin","-webkit-transform-origin-x","-webkit-transform-origin-y","-webkit-transform-origin-z","-webkit-transform-style","-webkit-transition","-webkit-transition-delay","-webkit-transition-duration","-webkit-transition-property","-webkit-transition-timing-function","-webkit-user-drag","-webkit-user-modify","-webkit-user-select","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index","zoom"]},t.htmlData={tags:["body","head","html","address","blockquote","dd","div","section","article","aside","header","footer","nav","menu","dl","dt","fieldset","form","frame","frameset","h1","h2","h3","h4","h5","h6","iframe","noframes","object","ol","p","ul","applet","center","dir","hr","pre","a","abbr","acronym","area","b","base","basefont","bdo","big","br","button","caption","cite","code","col","colgroup","del","dfn","em","font","head","html","i","img","input","ins","isindex","kbd","label","legend","li","link","map","meta","noscript","optgroup","option","param","q","s","samp","script","select","small","span","strike","strong","style","sub","sup","table","tbody","td","textarea","tfoot","th","thead","title","tr","tt","u","var","canvas","main","figure","plaintext"]}},234:function(e){"use strict";class t{constructor(e){this.string=e,this.pos=this.string.length}sol(){return 0===this.pos}peek(e){return this.string.charCodeAt(this.pos-1+(e||0))}prev(){if(!this.sol())return this.string.charCodeAt(--this.pos)}eat(e){const t="function"==typeof e?e(this.peek()):e===this.peek();return t&&this.pos--,t}eatWhile(e){const t=this.pos;for(;this.eat(e););return this.pos=65&&e<=90}(e)||function(e){return e>47&&e<58}(e)}function c(e){return 32===e||9===e}function l(e){return e&&61!==e&&!c(e)&&!n(e)}const u=e=>e.charCodeAt(0),h=u("["),p=u("]"),d=u("("),f=u(")"),m=u("{"),g=u("}"),v=new Set("#.*:$-_!@%^+>/".split("").map(u)),y=(new Map).set(h,p).set(d,f).set(m,g),b={syntax:"markup",lookAhead:null};function _(e,t){return-1!==e.indexOf(t)}function w(e){return e>64&&e<91||e>96&&e<123||e>47&&e<58||v.has(e)}function x(e,t){return e===d||"markup"===t&&(e===h||e===m)}function k(e,t){return e===f||"markup"===t&&(e===p||e===g)}e.exports=function(e,i,s){let o;i=Math.min(e.length,Math.max(0,null==i?e.length:i)),null!=(s="boolean"==typeof s?Object.assign(b,{lookAhead:s}):Object.assign(b,s)).lookAhead&&!0!==s.lookAhead||(i=function(e,t,r){n(e.charCodeAt(t))&&t++;for(;k(e.charCodeAt(t),r.syntax);)t++;return t}(e,i,s));const a=new t(e);a.pos=i;const c=[];for(;!a.sol();){if(o=a.peek(),k(o,s.syntax))c.push(o);else if(x(o,s.syntax)){if(c.pop()!==y.get(o))break}else{if(_(c,p)||_(c,g)){a.pos--;continue}if(r(a)||!w(o))break}a.pos--}if(!c.length&&a.pos!==i){const t=e.slice(a.pos,i).replace(/^[*+>^]+/,"");return{abbreviation:t,location:i-t.length}}}},280:function(e,t){!function(n){if("object"==typeof e.exports){var r=n(require,t);void 0!==r&&(e.exports=r)}else"function"==typeof define&&define.amd&&define(["require","exports"],n)}((function(e,t){"use strict";var n,r,i,s,o,a,c,l,u,h,p,d,f;Object.defineProperty(t,"__esModule",{value:!0}),function(e){e.create=function(e,t){return{line:e,character:t}},e.is=function(e){var t=e;return w.objectLiteral(t)&&w.number(t.line)&&w.number(t.character)}}(n=t.Position||(t.Position={})),function(e){e.create=function(e,t,r,i){if(w.number(e)&&w.number(t)&&w.number(r)&&w.number(i))return{start:n.create(e,t),end:n.create(r,i)};if(n.is(e)&&n.is(t))return{start:e,end:t};throw new Error("Range#create called with invalid arguments["+e+", "+t+", "+r+", "+i+"]")},e.is=function(e){var t=e;return w.objectLiteral(t)&&n.is(t.start)&&n.is(t.end)}}(r=t.Range||(t.Range={})),function(e){e.create=function(e,t){return{uri:e,range:t}},e.is=function(e){var t=e;return w.defined(t)&&r.is(t.range)&&(w.string(t.uri)||w.undefined(t.uri))}}(i=t.Location||(t.Location={})),function(e){e.create=function(e,t,n,r){return{targetUri:e,targetRange:t,targetSelectionRange:n,originSelectionRange:r}},e.is=function(e){var t=e;return w.defined(t)&&r.is(t.targetRange)&&w.string(t.targetUri)&&(r.is(t.targetSelectionRange)||w.undefined(t.targetSelectionRange))&&(r.is(t.originSelectionRange)||w.undefined(t.originSelectionRange))}}(t.LocationLink||(t.LocationLink={})),function(e){e.create=function(e,t,n,r){return{red:e,green:t,blue:n,alpha:r}},e.is=function(e){var t=e;return w.number(t.red)&&w.number(t.green)&&w.number(t.blue)&&w.number(t.alpha)}}(s=t.Color||(t.Color={})),function(e){e.create=function(e,t){return{range:e,color:t}},e.is=function(e){var t=e;return r.is(t.range)&&s.is(t.color)}}(t.ColorInformation||(t.ColorInformation={})),function(e){e.create=function(e,t,n){return{label:e,textEdit:t,additionalTextEdits:n}},e.is=function(e){var t=e;return w.string(t.label)&&(w.undefined(t.textEdit)||l.is(t))&&(w.undefined(t.additionalTextEdits)||w.typedArray(t.additionalTextEdits,l.is))}}(t.ColorPresentation||(t.ColorPresentation={})),function(e){e.Comment="comment",e.Imports="imports",e.Region="region"}(t.FoldingRangeKind||(t.FoldingRangeKind={})),function(e){e.create=function(e,t,n,r,i){var s={startLine:e,endLine:t};return w.defined(n)&&(s.startCharacter=n),w.defined(r)&&(s.endCharacter=r),w.defined(i)&&(s.kind=i),s},e.is=function(e){var t=e;return w.number(t.startLine)&&w.number(t.startLine)&&(w.undefined(t.startCharacter)||w.number(t.startCharacter))&&(w.undefined(t.endCharacter)||w.number(t.endCharacter))&&(w.undefined(t.kind)||w.string(t.kind))}}(t.FoldingRange||(t.FoldingRange={})),function(e){e.create=function(e,t){return{location:e,message:t}},e.is=function(e){var t=e;return w.defined(t)&&i.is(t.location)&&w.string(t.message)}}(o=t.DiagnosticRelatedInformation||(t.DiagnosticRelatedInformation={})),function(e){e.Error=1,e.Warning=2,e.Information=3,e.Hint=4}(t.DiagnosticSeverity||(t.DiagnosticSeverity={})),function(e){e.Unnecessary=1,e.Deprecated=2}(t.DiagnosticTag||(t.DiagnosticTag={})),function(e){e.create=function(e,t,n,r,i,s){var o={range:e,message:t};return w.defined(n)&&(o.severity=n),w.defined(r)&&(o.code=r),w.defined(i)&&(o.source=i),w.defined(s)&&(o.relatedInformation=s),o},e.is=function(e){var t=e;return w.defined(t)&&r.is(t.range)&&w.string(t.message)&&(w.number(t.severity)||w.undefined(t.severity))&&(w.number(t.code)||w.string(t.code)||w.undefined(t.code))&&(w.string(t.source)||w.undefined(t.source))&&(w.undefined(t.relatedInformation)||w.typedArray(t.relatedInformation,o.is))}}(a=t.Diagnostic||(t.Diagnostic={})),function(e){e.create=function(e,t){for(var n=[],r=2;r0&&(i.arguments=n),i},e.is=function(e){var t=e;return w.defined(t)&&w.string(t.title)&&w.string(t.command)}}(c=t.Command||(t.Command={})),function(e){e.replace=function(e,t){return{range:e,newText:t}},e.insert=function(e,t){return{range:{start:e,end:e},newText:t}},e.del=function(e){return{range:e,newText:""}},e.is=function(e){var t=e;return w.objectLiteral(t)&&w.string(t.newText)&&r.is(t.range)}}(l=t.TextEdit||(t.TextEdit={})),function(e){e.create=function(e,t){return{textDocument:e,edits:t}},e.is=function(e){var t=e;return w.defined(t)&&m.is(t.textDocument)&&Array.isArray(t.edits)}}(u=t.TextDocumentEdit||(t.TextDocumentEdit={})),function(e){e.create=function(e,t){var n={kind:"create",uri:e};return void 0===t||void 0===t.overwrite&&void 0===t.ignoreIfExists||(n.options=t),n},e.is=function(e){var t=e;return t&&"create"===t.kind&&w.string(t.uri)&&(void 0===t.options||(void 0===t.options.overwrite||w.boolean(t.options.overwrite))&&(void 0===t.options.ignoreIfExists||w.boolean(t.options.ignoreIfExists)))}}(h=t.CreateFile||(t.CreateFile={})),function(e){e.create=function(e,t,n){var r={kind:"rename",oldUri:e,newUri:t};return void 0===n||void 0===n.overwrite&&void 0===n.ignoreIfExists||(r.options=n),r},e.is=function(e){var t=e;return t&&"rename"===t.kind&&w.string(t.oldUri)&&w.string(t.newUri)&&(void 0===t.options||(void 0===t.options.overwrite||w.boolean(t.options.overwrite))&&(void 0===t.options.ignoreIfExists||w.boolean(t.options.ignoreIfExists)))}}(p=t.RenameFile||(t.RenameFile={})),function(e){e.create=function(e,t){var n={kind:"delete",uri:e};return void 0===t||void 0===t.recursive&&void 0===t.ignoreIfNotExists||(n.options=t),n},e.is=function(e){var t=e;return t&&"delete"===t.kind&&w.string(t.uri)&&(void 0===t.options||(void 0===t.options.recursive||w.boolean(t.options.recursive))&&(void 0===t.options.ignoreIfNotExists||w.boolean(t.options.ignoreIfNotExists)))}}(d=t.DeleteFile||(t.DeleteFile={})),function(e){e.is=function(e){var t=e;return t&&(void 0!==t.changes||void 0!==t.documentChanges)&&(void 0===t.documentChanges||t.documentChanges.every((function(e){return w.string(e.kind)?h.is(e)||p.is(e)||d.is(e):u.is(e)})))}}(f=t.WorkspaceEdit||(t.WorkspaceEdit={}));var m,g,v,y,b=function(){function e(e){this.edits=e}return e.prototype.insert=function(e,t){this.edits.push(l.insert(e,t))},e.prototype.replace=function(e,t){this.edits.push(l.replace(e,t))},e.prototype.delete=function(e){this.edits.push(l.del(e))},e.prototype.add=function(e){this.edits.push(e)},e.prototype.all=function(){return this.edits},e.prototype.clear=function(){this.edits.splice(0,this.edits.length)},e}(),_=function(){function e(e){var t=this;this._textEditChanges=Object.create(null),e&&(this._workspaceEdit=e,e.documentChanges?e.documentChanges.forEach((function(e){if(u.is(e)){var n=new b(e.edits);t._textEditChanges[e.textDocument.uri]=n}})):e.changes&&Object.keys(e.changes).forEach((function(n){var r=new b(e.changes[n]);t._textEditChanges[n]=r})))}return Object.defineProperty(e.prototype,"edit",{get:function(){return this._workspaceEdit},enumerable:!0,configurable:!0}),e.prototype.getTextEditChange=function(e){if(m.is(e)){if(this._workspaceEdit||(this._workspaceEdit={documentChanges:[]}),!this._workspaceEdit.documentChanges)throw new Error("Workspace edit is not configured for document changes.");var t=e;if(!(r=this._textEditChanges[t.uri])){var n={textDocument:t,edits:i=[]};this._workspaceEdit.documentChanges.push(n),r=new b(i),this._textEditChanges[t.uri]=r}return r}if(this._workspaceEdit||(this._workspaceEdit={changes:Object.create(null)}),!this._workspaceEdit.changes)throw new Error("Workspace edit is not configured for normal text edit changes.");var r;if(!(r=this._textEditChanges[e])){var i=[];this._workspaceEdit.changes[e]=i,r=new b(i),this._textEditChanges[e]=r}return r},e.prototype.createFile=function(e,t){this.checkDocumentChanges(),this._workspaceEdit.documentChanges.push(h.create(e,t))},e.prototype.renameFile=function(e,t,n){this.checkDocumentChanges(),this._workspaceEdit.documentChanges.push(p.create(e,t,n))},e.prototype.deleteFile=function(e,t){this.checkDocumentChanges(),this._workspaceEdit.documentChanges.push(d.create(e,t))},e.prototype.checkDocumentChanges=function(){if(!this._workspaceEdit||!this._workspaceEdit.documentChanges)throw new Error("Workspace edit is not configured for document changes.")},e}();t.WorkspaceChange=_,function(e){e.create=function(e){return{uri:e}},e.is=function(e){var t=e;return w.defined(t)&&w.string(t.uri)}}(t.TextDocumentIdentifier||(t.TextDocumentIdentifier={})),function(e){e.create=function(e,t){return{uri:e,version:t}},e.is=function(e){var t=e;return w.defined(t)&&w.string(t.uri)&&(null===t.version||w.number(t.version))}}(m=t.VersionedTextDocumentIdentifier||(t.VersionedTextDocumentIdentifier={})),function(e){e.create=function(e,t,n,r){return{uri:e,languageId:t,version:n,text:r}},e.is=function(e){var t=e;return w.defined(t)&&w.string(t.uri)&&w.string(t.languageId)&&w.number(t.version)&&w.string(t.text)}}(t.TextDocumentItem||(t.TextDocumentItem={})),function(e){e.PlainText="plaintext",e.Markdown="markdown"}(g=t.MarkupKind||(t.MarkupKind={})),function(e){e.is=function(t){var n=t;return n===e.PlainText||n===e.Markdown}}(g=t.MarkupKind||(t.MarkupKind={})),function(e){e.is=function(e){var t=e;return w.objectLiteral(e)&&g.is(t.kind)&&w.string(t.value)}}(v=t.MarkupContent||(t.MarkupContent={})),function(e){e.Text=1,e.Method=2,e.Function=3,e.Constructor=4,e.Field=5,e.Variable=6,e.Class=7,e.Interface=8,e.Module=9,e.Property=10,e.Unit=11,e.Value=12,e.Enum=13,e.Keyword=14,e.Snippet=15,e.Color=16,e.File=17,e.Reference=18,e.Folder=19,e.EnumMember=20,e.Constant=21,e.Struct=22,e.Event=23,e.Operator=24,e.TypeParameter=25}(t.CompletionItemKind||(t.CompletionItemKind={})),function(e){e.PlainText=1,e.Snippet=2}(t.InsertTextFormat||(t.InsertTextFormat={})),function(e){e.Deprecated=1}(t.CompletionItemTag||(t.CompletionItemTag={})),function(e){e.create=function(e){return{label:e}}}(t.CompletionItem||(t.CompletionItem={})),function(e){e.create=function(e,t){return{items:e||[],isIncomplete:!!t}}}(t.CompletionList||(t.CompletionList={})),function(e){e.fromPlainText=function(e){return e.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")},e.is=function(e){var t=e;return w.string(t)||w.objectLiteral(t)&&w.string(t.language)&&w.string(t.value)}}(y=t.MarkedString||(t.MarkedString={})),function(e){e.is=function(e){var t=e;return!!t&&w.objectLiteral(t)&&(v.is(t.contents)||y.is(t.contents)||w.typedArray(t.contents,y.is))&&(void 0===e.range||r.is(e.range))}}(t.Hover||(t.Hover={})),function(e){e.create=function(e,t){return t?{label:e,documentation:t}:{label:e}}}(t.ParameterInformation||(t.ParameterInformation={})),function(e){e.create=function(e,t){for(var n=[],r=2;r=0;s--){var o=r[s],a=e.offsetAt(o.range.start),c=e.offsetAt(o.range.end);if(!(c<=i))throw new Error("Overlapping edit");n=n.substring(0,a)+o.newText+n.substring(c,n.length),i=a}return n}}(t.TextDocument||(t.TextDocument={}));var w,x=function(){function e(e,t,n,r){this._uri=e,this._languageId=t,this._version=n,this._content=r,this._lineOffsets=void 0}return Object.defineProperty(e.prototype,"uri",{get:function(){return this._uri},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"languageId",{get:function(){return this._languageId},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"version",{get:function(){return this._version},enumerable:!0,configurable:!0}),e.prototype.getText=function(e){if(e){var t=this.offsetAt(e.start),n=this.offsetAt(e.end);return this._content.substring(t,n)}return this._content},e.prototype.update=function(e,t){this._content=e.text,this._version=t,this._lineOffsets=void 0},e.prototype.getLineOffsets=function(){if(void 0===this._lineOffsets){for(var e=[],t=this._content,n=!0,r=0;r0&&e.push(t.length),this._lineOffsets=e}return this._lineOffsets},e.prototype.positionAt=function(e){e=Math.max(Math.min(e,this._content.length),0);var t=this.getLineOffsets(),r=0,i=t.length;if(0===i)return n.create(0,e);for(;re?i=s:r=s+1}var o=r-1;return n.create(o,e-t[o])},e.prototype.offsetAt=function(e){var t=this.getLineOffsets();if(e.line>=t.length)return this._content.length;if(e.line<0)return 0;var n=t[e.line],r=e.line+1=48&&o<=57)s=16*s+o-48;else if(o>=65&&o<=70)s=16*s+o-65+10;else{if(!(o>=97&&o<=102))break;s=16*s+o-97+10}i++,r++}return r=s)return a=s,h=r.EOF;var t=e.charCodeAt(i);if(c(t)){do{i++,o+=String.fromCharCode(t),t=e.charCodeAt(i)}while(c(t));return h=r.Trivia}if(l(t))return i++,o+=String.fromCharCode(t),13===t&&10===e.charCodeAt(i)&&(i++,o+="\n"),h=r.LineBreakTrivia;switch(t){case 123:return i++,h=r.OpenBraceToken;case 125:return i++,h=r.CloseBraceToken;case 91:return i++,h=r.OpenBracketToken;case 93:return i++,h=r.CloseBracketToken;case 58:return i++,h=r.ColonToken;case 44:return i++,h=r.CommaToken;case 34:return i++,o=function(){for(var t="",r=i;;){if(i>=s){t+=e.substring(r,i),p=n.UnexpectedEndOfString;break}var o=e.charCodeAt(i);if(34===o){t+=e.substring(r,i),i++;break}if(92!==o){if(o>=0&&o<=31){if(l(o)){t+=e.substring(r,i),p=n.UnexpectedEndOfString;break}p=n.InvalidCharacter}i++}else{if(t+=e.substring(r,i),++i>=s){p=n.UnexpectedEndOfString;break}switch(o=e.charCodeAt(i++)){case 34:t+='"';break;case 92:t+="\\";break;case 47:t+="/";break;case 98:t+="\b";break;case 102:t+="\f";break;case 110:t+="\n";break;case 114:t+="\r";break;case 116:t+="\t";break;case 117:var a=d(4,!0);a>=0?t+=String.fromCharCode(a):p=n.InvalidUnicode;break;default:p=n.InvalidEscapeCharacter}r=i}}return t}(),h=r.StringLiteral;case 47:var f=i-1;if(47===e.charCodeAt(i+1)){for(i+=2;i=r.LineCommentTrivia&&e<=r.Trivia);return e}:f,getToken:function(){return h},getTokenValue:function(){return o},getTokenOffset:function(){return a},getTokenLength:function(){return i-a},getTokenError:function(){return p}}}function c(e){return 32===e||9===e||11===e||12===e||160===e||5760===e||e>=8192&&e<=8203||8239===e||8287===e||12288===e||65279===e}function l(e){return 10===e||13===e||8232===e||8233===e}function u(e){return e>=48&&e<=57}function h(e){switch(typeof e){case"boolean":return"boolean";case"number":return"number";case"string":return"string";default:return"null"}}function p(e,t,s){var o=a(e,!1);function c(e){return e?function(){return e(o.getTokenOffset(),o.getTokenLength())}:function(){return!0}}function l(e){return e?function(t){return e(t,o.getTokenOffset(),o.getTokenLength())}:function(){return!0}}var u=c(t.onObjectBegin),h=l(t.onObjectProperty),p=c(t.onObjectEnd),d=c(t.onArrayBegin),f=c(t.onArrayEnd),m=l(t.onLiteralValue),g=l(t.onSeparator),v=c(t.onComment),y=l(t.onError),b=s&&s.disallowComments,_=s&&s.allowTrailingComma;function w(){for(;;){var e=o.scan();switch(o.getTokenError()){case n.InvalidUnicode:x(i.InvalidUnicode);break;case n.InvalidEscapeCharacter:x(i.InvalidEscapeCharacter);break;case n.UnexpectedEndOfNumber:x(i.UnexpectedEndOfNumber);break;case n.UnexpectedEndOfComment:b||x(i.UnexpectedEndOfComment);break;case n.UnexpectedEndOfString:x(i.UnexpectedEndOfString);break;case n.InvalidCharacter:x(i.InvalidCharacter)}switch(e){case r.LineCommentTrivia:case r.BlockCommentTrivia:b?x(i.InvalidCommentToken):v();break;case r.Unknown:x(i.InvalidSymbol);break;case r.Trivia:case r.LineBreakTrivia:break;default:return e}}}function x(e,t,n){if(void 0===t&&(t=[]),void 0===n&&(n=[]),y(e),t.length+n.length>0)for(var i=o.getToken();i!==r.EOF;){if(-1!==t.indexOf(i)){w();break}if(-1!==n.indexOf(i))break;i=w()}}function k(e){var t=o.getTokenValue();return e?m(t):h(t),w(),!0}function E(){switch(o.getToken()){case r.OpenBracketToken:return function(){d(),w();for(var e=!1;o.getToken()!==r.CloseBracketToken&&o.getToken()!==r.EOF;){if(o.getToken()===r.CommaToken){if(e||x(i.ValueExpected,[],[]),g(","),w(),o.getToken()===r.CloseBracketToken&&_)break}else e&&x(i.CommaExpected,[],[]);E()||x(i.ValueExpected,[],[r.CloseBracketToken,r.CommaToken]),e=!0}return f(),o.getToken()!==r.CloseBracketToken?x(i.CloseBracketExpected,[r.CloseBracketToken],[]):w(),!0}();case r.OpenBraceToken:return function(){u(),w();for(var e=!1;o.getToken()!==r.CloseBraceToken&&o.getToken()!==r.EOF;){if(o.getToken()===r.CommaToken){if(e||x(i.ValueExpected,[],[]),g(","),w(),o.getToken()===r.CloseBraceToken&&_)break}else e&&x(i.CommaExpected,[],[]);(o.getToken()!==r.StringLiteral?(x(i.PropertyNameExpected,[],[r.CloseBraceToken,r.CommaToken]),0):(k(!1),o.getToken()===r.ColonToken?(g(":"),w(),E()||x(i.ValueExpected,[],[r.CloseBraceToken,r.CommaToken])):x(i.ColonExpected,[],[r.CloseBraceToken,r.CommaToken]),1))||x(i.ValueExpected,[],[r.CloseBraceToken,r.CommaToken]),e=!0}return p(),o.getToken()!==r.CloseBraceToken?x(i.CloseBraceExpected,[r.CloseBraceToken],[]):w(),!0}();case r.StringLiteral:return k(!0);default:return function(){switch(o.getToken()){case r.NumericLiteral:var e=0;try{"number"!=typeof(e=JSON.parse(o.getTokenValue()))&&(x(i.InvalidNumberFormat),e=0)}catch(e){x(i.InvalidNumberFormat)}m(e);break;case r.NullKeyword:m(null);break;case r.TrueKeyword:m(!0);break;case r.FalseKeyword:m(!1);break;default:return!1}return w(),!0}()}}return w(),o.getToken()===r.EOF||(E()?(o.getToken()!==r.EOF&&x(i.EndOfFileExpected,[],[]),!0):(x(i.ValueExpected,[],[]),!1))}!function(e){e[e.None=0]="None",e[e.UnexpectedEndOfComment=1]="UnexpectedEndOfComment",e[e.UnexpectedEndOfString=2]="UnexpectedEndOfString",e[e.UnexpectedEndOfNumber=3]="UnexpectedEndOfNumber",e[e.InvalidUnicode=4]="InvalidUnicode",e[e.InvalidEscapeCharacter=5]="InvalidEscapeCharacter",e[e.InvalidCharacter=6]="InvalidCharacter"}(n=t.ScanError||(t.ScanError={})),function(e){e[e.Unknown=0]="Unknown",e[e.OpenBraceToken=1]="OpenBraceToken",e[e.CloseBraceToken=2]="CloseBraceToken",e[e.OpenBracketToken=3]="OpenBracketToken",e[e.CloseBracketToken=4]="CloseBracketToken",e[e.CommaToken=5]="CommaToken",e[e.ColonToken=6]="ColonToken",e[e.NullKeyword=7]="NullKeyword",e[e.TrueKeyword=8]="TrueKeyword",e[e.FalseKeyword=9]="FalseKeyword",e[e.StringLiteral=10]="StringLiteral",e[e.NumericLiteral=11]="NumericLiteral",e[e.LineCommentTrivia=12]="LineCommentTrivia",e[e.BlockCommentTrivia=13]="BlockCommentTrivia",e[e.LineBreakTrivia=14]="LineBreakTrivia",e[e.Trivia=15]="Trivia",e[e.EOF=16]="EOF"}(r=t.SyntaxKind||(t.SyntaxKind={})),t.createScanner=a,t.stripComments=function(e,t){var n,i,s=a(e),o=[],c=0;do{switch(i=s.getPosition(),n=s.scan()){case r.LineCommentTrivia:case r.BlockCommentTrivia:case r.EOF:c!==i&&o.push(e.substring(c,i)),void 0!==t&&o.push(s.getTokenValue().replace(/[^\r\n]/g,t)),c=s.getPosition()}}while(n!==r.EOF);return o.join("")},function(e){e[e.InvalidSymbol=0]="InvalidSymbol",e[e.InvalidNumberFormat=1]="InvalidNumberFormat",e[e.PropertyNameExpected=2]="PropertyNameExpected",e[e.ValueExpected=3]="ValueExpected",e[e.ColonExpected=4]="ColonExpected",e[e.CommaExpected=5]="CommaExpected",e[e.CloseBraceExpected=6]="CloseBraceExpected",e[e.CloseBracketExpected=7]="CloseBracketExpected",e[e.EndOfFileExpected=8]="EndOfFileExpected",e[e.InvalidCommentToken=9]="InvalidCommentToken",e[e.UnexpectedEndOfComment=10]="UnexpectedEndOfComment",e[e.UnexpectedEndOfString=11]="UnexpectedEndOfString",e[e.UnexpectedEndOfNumber=12]="UnexpectedEndOfNumber",e[e.InvalidUnicode=13]="InvalidUnicode",e[e.InvalidEscapeCharacter=14]="InvalidEscapeCharacter",e[e.InvalidCharacter=15]="InvalidCharacter"}(i=t.ParseErrorCode||(t.ParseErrorCode={})),t.getLocation=function(e,t){var n=[],r=new Object,i=void 0,s={value:{},offset:0,length:0,type:"object"},o=!1;function a(e,t,n,r){s.value=e,s.offset=t,s.length=n,s.type=r,s.columnOffset=void 0,i=s}try{p(e,{onObjectBegin:function(e,s){if(t<=e)throw r;i=void 0,o=t>e,n.push("")},onObjectProperty:function(e,i,s){if(t=n.children.length)return;n=n.children[u]}}return n}},t.getNodeValue=function e(t){if("array"===t.type)return t.children.map(e);if("object"===t.type){for(var n=Object.create(null),r=0,i=t.children;r=0;n--)e=o.applyEdit(e,t[n]);return e}}))}})},3301:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CancellationSenderStrategy=t.CancellationReceiverStrategy=t.ConnectionError=t.ConnectionErrors=t.LogTraceNotification=t.SetTraceNotification=t.TraceFormat=t.Trace=t.ProgressType=t.createMessageConnection=t.NullLogger=t.ConnectionOptions=t.ConnectionStrategy=t.WriteableStreamMessageWriter=t.AbstractMessageWriter=t.MessageWriter=t.ReadableStreamMessageReader=t.AbstractMessageReader=t.MessageReader=t.CancellationToken=t.CancellationTokenSource=t.Emitter=t.Event=t.Disposable=t.ParameterStructures=t.NotificationType9=t.NotificationType8=t.NotificationType7=t.NotificationType6=t.NotificationType5=t.NotificationType4=t.NotificationType3=t.NotificationType2=t.NotificationType1=t.NotificationType0=t.NotificationType=t.ErrorCodes=t.ResponseError=t.RequestType9=t.RequestType8=t.RequestType7=t.RequestType6=t.RequestType5=t.RequestType4=t.RequestType3=t.RequestType2=t.RequestType1=t.RequestType0=t.RequestType=t.RAL=void 0,t.CancellationStrategy=void 0;const r=n(6622);Object.defineProperty(t,"RequestType",{enumerable:!0,get:function(){return r.RequestType}}),Object.defineProperty(t,"RequestType0",{enumerable:!0,get:function(){return r.RequestType0}}),Object.defineProperty(t,"RequestType1",{enumerable:!0,get:function(){return r.RequestType1}}),Object.defineProperty(t,"RequestType2",{enumerable:!0,get:function(){return r.RequestType2}}),Object.defineProperty(t,"RequestType3",{enumerable:!0,get:function(){return r.RequestType3}}),Object.defineProperty(t,"RequestType4",{enumerable:!0,get:function(){return r.RequestType4}}),Object.defineProperty(t,"RequestType5",{enumerable:!0,get:function(){return r.RequestType5}}),Object.defineProperty(t,"RequestType6",{enumerable:!0,get:function(){return r.RequestType6}}),Object.defineProperty(t,"RequestType7",{enumerable:!0,get:function(){return r.RequestType7}}),Object.defineProperty(t,"RequestType8",{enumerable:!0,get:function(){return r.RequestType8}}),Object.defineProperty(t,"RequestType9",{enumerable:!0,get:function(){return r.RequestType9}}),Object.defineProperty(t,"ResponseError",{enumerable:!0,get:function(){return r.ResponseError}}),Object.defineProperty(t,"ErrorCodes",{enumerable:!0,get:function(){return r.ErrorCodes}}),Object.defineProperty(t,"NotificationType",{enumerable:!0,get:function(){return r.NotificationType}}),Object.defineProperty(t,"NotificationType0",{enumerable:!0,get:function(){return r.NotificationType0}}),Object.defineProperty(t,"NotificationType1",{enumerable:!0,get:function(){return r.NotificationType1}}),Object.defineProperty(t,"NotificationType2",{enumerable:!0,get:function(){return r.NotificationType2}}),Object.defineProperty(t,"NotificationType3",{enumerable:!0,get:function(){return r.NotificationType3}}),Object.defineProperty(t,"NotificationType4",{enumerable:!0,get:function(){return r.NotificationType4}}),Object.defineProperty(t,"NotificationType5",{enumerable:!0,get:function(){return r.NotificationType5}}),Object.defineProperty(t,"NotificationType6",{enumerable:!0,get:function(){return r.NotificationType6}}),Object.defineProperty(t,"NotificationType7",{enumerable:!0,get:function(){return r.NotificationType7}}),Object.defineProperty(t,"NotificationType8",{enumerable:!0,get:function(){return r.NotificationType8}}),Object.defineProperty(t,"NotificationType9",{enumerable:!0,get:function(){return r.NotificationType9}}),Object.defineProperty(t,"ParameterStructures",{enumerable:!0,get:function(){return r.ParameterStructures}});const i=n(4788);Object.defineProperty(t,"Disposable",{enumerable:!0,get:function(){return i.Disposable}});const s=n(478);Object.defineProperty(t,"Event",{enumerable:!0,get:function(){return s.Event}}),Object.defineProperty(t,"Emitter",{enumerable:!0,get:function(){return s.Emitter}});const o=n(2648);Object.defineProperty(t,"CancellationTokenSource",{enumerable:!0,get:function(){return o.CancellationTokenSource}}),Object.defineProperty(t,"CancellationToken",{enumerable:!0,get:function(){return o.CancellationToken}});const a=n(1505);Object.defineProperty(t,"MessageReader",{enumerable:!0,get:function(){return a.MessageReader}}),Object.defineProperty(t,"AbstractMessageReader",{enumerable:!0,get:function(){return a.AbstractMessageReader}}),Object.defineProperty(t,"ReadableStreamMessageReader",{enumerable:!0,get:function(){return a.ReadableStreamMessageReader}});const c=n(7918);Object.defineProperty(t,"MessageWriter",{enumerable:!0,get:function(){return c.MessageWriter}}),Object.defineProperty(t,"AbstractMessageWriter",{enumerable:!0,get:function(){return c.AbstractMessageWriter}}),Object.defineProperty(t,"WriteableStreamMessageWriter",{enumerable:!0,get:function(){return c.WriteableStreamMessageWriter}});const l=n(3817);Object.defineProperty(t,"ConnectionStrategy",{enumerable:!0,get:function(){return l.ConnectionStrategy}}),Object.defineProperty(t,"ConnectionOptions",{enumerable:!0,get:function(){return l.ConnectionOptions}}),Object.defineProperty(t,"NullLogger",{enumerable:!0,get:function(){return l.NullLogger}}),Object.defineProperty(t,"createMessageConnection",{enumerable:!0,get:function(){return l.createMessageConnection}}),Object.defineProperty(t,"ProgressType",{enumerable:!0,get:function(){return l.ProgressType}}),Object.defineProperty(t,"Trace",{enumerable:!0,get:function(){return l.Trace}}),Object.defineProperty(t,"TraceFormat",{enumerable:!0,get:function(){return l.TraceFormat}}),Object.defineProperty(t,"SetTraceNotification",{enumerable:!0,get:function(){return l.SetTraceNotification}}),Object.defineProperty(t,"LogTraceNotification",{enumerable:!0,get:function(){return l.LogTraceNotification}}),Object.defineProperty(t,"ConnectionErrors",{enumerable:!0,get:function(){return l.ConnectionErrors}}),Object.defineProperty(t,"ConnectionError",{enumerable:!0,get:function(){return l.ConnectionError}}),Object.defineProperty(t,"CancellationReceiverStrategy",{enumerable:!0,get:function(){return l.CancellationReceiverStrategy}}),Object.defineProperty(t,"CancellationSenderStrategy",{enumerable:!0,get:function(){return l.CancellationSenderStrategy}}),Object.defineProperty(t,"CancellationStrategy",{enumerable:!0,get:function(){return l.CancellationStrategy}});const u=n(3996);t.RAL=u.default},2648:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CancellationTokenSource=t.CancellationToken=void 0;const r=n(3996),i=n(8294),s=n(478);var o;!function(e){e.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:s.Event.None}),e.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:s.Event.None}),e.is=function(t){const n=t;return n&&(n===e.None||n===e.Cancelled||i.boolean(n.isCancellationRequested)&&!!n.onCancellationRequested)}}(o=t.CancellationToken||(t.CancellationToken={}));const a=Object.freeze((function(e,t){const n=r.default().timer.setTimeout(e.bind(t),0);return{dispose(){r.default().timer.clearTimeout(n)}}}));class c{constructor(){this._isCancelled=!1}cancel(){this._isCancelled||(this._isCancelled=!0,this._emitter&&(this._emitter.fire(void 0),this.dispose()))}get isCancellationRequested(){return this._isCancelled}get onCancellationRequested(){return this._isCancelled?a:(this._emitter||(this._emitter=new s.Emitter),this._emitter.event)}dispose(){this._emitter&&(this._emitter.dispose(),this._emitter=void 0)}}t.CancellationTokenSource=class{get token(){return this._token||(this._token=new c),this._token}cancel(){this._token?this._token.cancel():this._token=o.Cancelled}dispose(){this._token?this._token instanceof c&&this._token.dispose():this._token=o.None}}},3817:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createMessageConnection=t.ConnectionOptions=t.CancellationStrategy=t.CancellationSenderStrategy=t.CancellationReceiverStrategy=t.ConnectionStrategy=t.ConnectionError=t.ConnectionErrors=t.LogTraceNotification=t.SetTraceNotification=t.TraceFormat=t.Trace=t.NullLogger=t.ProgressType=void 0;const r=n(3996),i=n(8294),s=n(6622),o=n(2514),a=n(478),c=n(2648);var l,u,h,p,d,f,m,g,v,y,b,_,w;!function(e){e.type=new s.NotificationType("$/cancelRequest")}(l||(l={})),function(e){e.type=new s.NotificationType("$/progress")}(u||(u={}));t.ProgressType=class{constructor(){}},function(e){e.is=function(e){return i.func(e)}}(h||(h={})),t.NullLogger=Object.freeze({error:()=>{},warn:()=>{},info:()=>{},log:()=>{}}),function(e){e[e.Off=0]="Off",e[e.Messages=1]="Messages",e[e.Verbose=2]="Verbose"}(p=t.Trace||(t.Trace={})),function(e){e.fromString=function(t){if(!i.string(t))return e.Off;switch(t=t.toLowerCase()){case"off":return e.Off;case"messages":return e.Messages;case"verbose":return e.Verbose;default:return e.Off}},e.toString=function(t){switch(t){case e.Off:return"off";case e.Messages:return"messages";case e.Verbose:return"verbose";default:return"off"}}}(p=t.Trace||(t.Trace={})),function(e){e.Text="text",e.JSON="json"}(t.TraceFormat||(t.TraceFormat={})),function(e){e.fromString=function(t){return"json"===(t=t.toLowerCase())?e.JSON:e.Text}}(d=t.TraceFormat||(t.TraceFormat={})),function(e){e.type=new s.NotificationType("$/setTrace")}(f=t.SetTraceNotification||(t.SetTraceNotification={})),function(e){e.type=new s.NotificationType("$/logTrace")}(m=t.LogTraceNotification||(t.LogTraceNotification={})),function(e){e[e.Closed=1]="Closed",e[e.Disposed=2]="Disposed",e[e.AlreadyListening=3]="AlreadyListening"}(g=t.ConnectionErrors||(t.ConnectionErrors={}));class x extends Error{constructor(e,t){super(t),this.code=e,Object.setPrototypeOf(this,x.prototype)}}t.ConnectionError=x,function(e){e.is=function(e){const t=e;return t&&i.func(t.cancelUndispatched)}}(v=t.ConnectionStrategy||(t.ConnectionStrategy={})),function(e){e.Message=Object.freeze({createCancellationTokenSource:e=>new c.CancellationTokenSource}),e.is=function(e){const t=e;return t&&i.func(t.createCancellationTokenSource)}}(y=t.CancellationReceiverStrategy||(t.CancellationReceiverStrategy={})),function(e){e.Message=Object.freeze({sendCancellation(e,t){e.sendNotification(l.type,{id:t})},cleanup(e){}}),e.is=function(e){const t=e;return t&&i.func(t.sendCancellation)&&i.func(t.cleanup)}}(b=t.CancellationSenderStrategy||(t.CancellationSenderStrategy={})),function(e){e.Message=Object.freeze({receiver:y.Message,sender:b.Message}),e.is=function(e){const t=e;return t&&y.is(t.receiver)&&b.is(t.sender)}}(_=t.CancellationStrategy||(t.CancellationStrategy={})),function(e){e.is=function(e){const t=e;return t&&(_.is(t.cancellationStrategy)||v.is(t.connectionStrategy))}}(t.ConnectionOptions||(t.ConnectionOptions={})),function(e){e[e.New=1]="New",e[e.Listening=2]="Listening",e[e.Closed=3]="Closed",e[e.Disposed=4]="Disposed"}(w||(w={})),t.createMessageConnection=function(e,n,v,y){const b=void 0!==v?v:t.NullLogger;let k=0,E=0,S=0,C=void 0;const R=Object.create(null);let T=void 0;const A=Object.create(null),P=new Map;let O,I,N=new o.LinkedMap,D=Object.create(null),M=Object.create(null),L=p.Off,j=d.Text,q=w.New;const F=new a.Emitter,$=new a.Emitter,H=new a.Emitter,z=new a.Emitter,B=new a.Emitter,W=y&&y.cancellationStrategy?y.cancellationStrategy:_.Message;function U(e){if(null===e)throw new Error("Can't send requests with id null since the response can't be correlated.");return"req-"+e.toString()}function V(e,t){var n;s.isRequestMessage(t)?e.set(U(t.id),t):s.isResponseMessage(t)?e.set(null===(n=t.id)?"res-unknown-"+(++S).toString():"res-"+n.toString(),t):e.set("not-"+(++E).toString(),t)}function G(e){}function K(){return q===w.Listening}function Y(){return q===w.Closed}function Q(){return q===w.Disposed}function X(){q!==w.New&&q!==w.Listening||(q=w.Closed,$.fire(void 0))}function J(){O||0===N.size||(O=r.default().timer.setImmediate(()=>{O=void 0,function(){if(0===N.size)return;const e=N.shift();try{s.isRequestMessage(e)?function(e){if(Q())return;function t(t,r,i){const o={jsonrpc:"2.0",id:e.id};t instanceof s.ResponseError?o.error=t.toJson():o.result=void 0===t?null:t,ee(o,r,i),n.write(o)}function r(t,r,i){const s={jsonrpc:"2.0",id:e.id,error:t.toJson()};ee(s,r,i),n.write(s)}!function(e){if(L===p.Off||!I)return;if(j===d.Text){let t=void 0;L===p.Verbose&&e.params&&(t=`Params: ${JSON.stringify(e.params,null,4)}\n\n`),I.log(`Received request '${e.method} - (${e.id})'.`,t)}else te("receive-request",e)}(e);const o=R[e.method];let a,c;o&&(a=o.type,c=o.handler);const l=Date.now();if(c||C){const o=String(e.id),u=W.receiver.createCancellationTokenSource(o);M[o]=u;try{let h;if(c)if(void 0===e.params){if(void 0!==a&&0!==a.numberOfParams)return void r(new s.ResponseError(s.ErrorCodes.InvalidParams,`Request ${e.method} defines ${a.numberOfParams} params but recevied none.`),e.method,l);h=c(u.token)}else if(Array.isArray(e.params)){if(void 0!==a&&a.parameterStructures===s.ParameterStructures.byName)return void r(new s.ResponseError(s.ErrorCodes.InvalidParams,`Request ${e.method} defines parameters by name but received parameters by position`),e.method,l);h=c(...e.params,u.token)}else{if(void 0!==a&&a.parameterStructures===s.ParameterStructures.byPosition)return void r(new s.ResponseError(s.ErrorCodes.InvalidParams,`Request ${e.method} defines parameters by position but received parameters by name`),e.method,l);h=c(e.params,u.token)}else C&&(h=C(e.method,e.params,u.token));const p=h;h?p.then?p.then(n=>{delete M[o],t(n,e.method,l)},t=>{delete M[o],t instanceof s.ResponseError?r(t,e.method,l):t&&i.string(t.message)?r(new s.ResponseError(s.ErrorCodes.InternalError,`Request ${e.method} failed with message: ${t.message}`),e.method,l):r(new s.ResponseError(s.ErrorCodes.InternalError,`Request ${e.method} failed unexpectedly without providing any details.`),e.method,l)}):(delete M[o],t(h,e.method,l)):(delete M[o],function(t,r,i){void 0===t&&(t=null);const s={jsonrpc:"2.0",id:e.id,result:t};ee(s,r,i),n.write(s)}(h,e.method,l))}catch(n){delete M[o],n instanceof s.ResponseError?t(n,e.method,l):n&&i.string(n.message)?r(new s.ResponseError(s.ErrorCodes.InternalError,`Request ${e.method} failed with message: ${n.message}`),e.method,l):r(new s.ResponseError(s.ErrorCodes.InternalError,`Request ${e.method} failed unexpectedly without providing any details.`),e.method,l)}}else r(new s.ResponseError(s.ErrorCodes.MethodNotFound,"Unhandled method "+e.method),e.method,l)}(e):s.isNotificationMessage(e)?function(e){if(Q())return;let t,n=void 0;if(e.method===l.type.method)t=e=>{const t=e.id,n=M[String(t)];n&&n.cancel()};else{const r=A[e.method];r&&(t=r.handler,n=r.type)}if(t||T)try{!function(e){if(L===p.Off||!I||e.method===m.type.method)return;if(j===d.Text){let t=void 0;L===p.Verbose&&(t=e.params?`Params: ${JSON.stringify(e.params,null,4)}\n\n`:"No parameters provided.\n\n"),I.log(`Received notification '${e.method}'.`,t)}else te("receive-notification",e)}(e),t?void 0===e.params?(void 0!==n&&0!==n.numberOfParams&&n.parameterStructures!==s.ParameterStructures.byName&&b.error(`Notification ${e.method} defines ${n.numberOfParams} params but recevied none.`),t()):Array.isArray(e.params)?(void 0!==n&&(n.parameterStructures===s.ParameterStructures.byName&&b.error(`Notification ${e.method} defines parameters by name but received parameters by position`),n.numberOfParams!==e.params.length&&b.error(`Notification ${e.method} defines ${n.numberOfParams} params but received ${e.params.length} argumennts`)),t(...e.params)):(void 0!==n&&n.parameterStructures===s.ParameterStructures.byPosition&&b.error(`Notification ${e.method} defines parameters by position but received parameters by name`),t(e.params)):T&&T(e.method,e.params)}catch(t){t.message?b.error(`Notification handler '${e.method}' failed with message: ${t.message}`):b.error(`Notification handler '${e.method}' failed unexpectedly.`)}else H.fire(e)}(e):s.isResponseMessage(e)?function(e){if(Q())return;if(null===e.id)e.error?b.error("Received response message without id: Error is: \n"+JSON.stringify(e.error,void 0,4)):b.error("Received response message without id. No further error information provided.");else{const t=String(e.id),n=D[t];if(function(e,t){if(L===p.Off||!I)return;if(j===d.Text){let n=void 0;if(L===p.Verbose&&(e.error&&e.error.data?n=`Error data: ${JSON.stringify(e.error.data,null,4)}\n\n`:e.result?n=`Result: ${JSON.stringify(e.result,null,4)}\n\n`:void 0===e.error&&(n="No result returned.\n\n")),t){const r=e.error?` Request failed: ${e.error.message} (${e.error.code}).`:"";I.log(`Received response '${t.method} - (${e.id})' in ${Date.now()-t.timerStart}ms.${r}`,n)}else I.log(`Received response ${e.id} without active response promise.`,n)}else te("receive-response",e)}(e,n),n){delete D[t];try{if(e.error){const t=e.error;n.reject(new s.ResponseError(t.code,t.message,t.data))}else{if(void 0===e.result)throw new Error("Should never happen.");n.resolve(e.result)}}catch(e){e.message?b.error(`Response handler '${n.method}' failed with message: ${e.message}`):b.error(`Response handler '${n.method}' failed unexpectedly.`)}}}}(e):function(e){if(!e)return void b.error("Received empty message.");b.error("Received message which is neither a response nor a notification message:\n"+JSON.stringify(e,null,4));const t=e;if(i.string(t.id)||i.number(t.id)){const e=String(t.id),n=D[e];n&&n.reject(new Error("The received response has neither a result nor an error property."))}}(e)}finally{J()}}()}))}e.onClose(X),e.onError((function(e){F.fire([e,void 0,void 0])})),n.onClose(X),n.onError((function(e){F.fire(e)}));const Z=e=>{try{if(s.isNotificationMessage(e)&&e.method===l.type.method){const t=U(e.params.id),r=N.get(t);if(s.isRequestMessage(r)){const i=null==y?void 0:y.connectionStrategy,s=i&&i.cancelUndispatched?i.cancelUndispatched(r,G):void 0;if(s&&(void 0!==s.error||void 0!==s.result))return N.delete(t),s.id=r.id,ee(s,e.method,Date.now()),void n.write(s)}}V(N,e)}finally{J()}};function ee(e,t,n){if(L!==p.Off&&I)if(j===d.Text){let r=void 0;L===p.Verbose&&(e.error&&e.error.data?r=`Error data: ${JSON.stringify(e.error.data,null,4)}\n\n`:e.result?r=`Result: ${JSON.stringify(e.result,null,4)}\n\n`:void 0===e.error&&(r="No result returned.\n\n")),I.log(`Sending response '${t} - (${e.id})'. Processing request took ${Date.now()-n}ms`,r)}else te("send-response",e)}function te(e,t){if(!I||L===p.Off)return;const n={isLSPMessage:!0,type:e,message:t,timestamp:Date.now()};I.log(n)}function ne(){if(Y())throw new x(g.Closed,"Connection is closed.");if(Q())throw new x(g.Disposed,"Connection is disposed.")}function re(e){return void 0===e?null:e}function ie(e){return null===e?void 0:e}function se(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}function oe(e,t){switch(e){case s.ParameterStructures.auto:return se(t)?ie(t):[re(t)];case s.ParameterStructures.byName:if(!se(t))throw new Error("Recevied parameters by name but param is not an object literal.");return ie(t);case s.ParameterStructures.byPosition:return[re(t)];default:throw new Error("Unknown parameter structure "+e.toString())}}function ae(e,t){let n;const r=e.numberOfParams;switch(r){case 0:n=void 0;break;case 1:n=oe(e.parameterStructures,t[0]);break;default:n=[];for(let e=0;e{let r,o;if(ne(),i.string(e)){r=e;const n=t[0];let i=0,a=s.ParameterStructures.auto;s.ParameterStructures.is(n)&&(i=1,a=n);let c=t.length;const l=c-i;switch(l){case 0:o=void 0;break;case 1:o=oe(a,t[i]);break;default:if(a===s.ParameterStructures.byName)throw new Error(`Recevied ${l} parameters for 'by Name' notification parameter structure.`);o=t.slice(i,c).map(e=>re(e))}}else{const n=t;r=e.method,o=ae(e,n)}const a={jsonrpc:"2.0",method:r,params:o};!function(e){if(L!==p.Off&&I)if(j===d.Text){let t=void 0;L===p.Verbose&&(t=e.params?`Params: ${JSON.stringify(e.params,null,4)}\n\n`:"No parameters provided.\n\n"),I.log(`Sending notification '${e.method}'.`,t)}else te("send-notification",e)}(a),n.write(a)},onNotification:(e,t)=>{let n;return ne(),i.func(e)?T=e:t&&(i.string(e)?(n=e,A[e]={type:void 0,handler:t}):(n=e.method,A[e.method]={type:e,handler:t})),{dispose:()=>{void 0!==n?delete A[n]:T=void 0}}},onProgress:(e,t,n)=>{if(P.has(t))throw new Error(`Progress handler for token ${t} already registered`);return P.set(t,n),{dispose:()=>{P.delete(t)}}},sendProgress:(e,t,n)=>{ce.sendNotification(u.type,{token:t,value:n})},onUnhandledProgress:z.event,sendRequest:(e,...t)=>{let r,o;ne(),function(){if(!K())throw new Error("Call listen() first.")}();let a=void 0;if(i.string(e)){r=e;const n=t[0],i=t[t.length-1];let l=0,u=s.ParameterStructures.auto;s.ParameterStructures.is(n)&&(l=1,u=n);let h=t.length;c.CancellationToken.is(i)&&(h-=1,a=i);const p=h-l;switch(p){case 0:o=void 0;break;case 1:o=oe(u,t[l]);break;default:if(u===s.ParameterStructures.byName)throw new Error(`Recevied ${p} parameters for 'by Name' request parameter structure.`);o=t.slice(l,h).map(e=>re(e))}}else{const n=t;r=e.method,o=ae(e,n);const i=e.numberOfParams;a=c.CancellationToken.is(n[i])?n[i]:void 0}const l=k++;let u;return a&&(u=a.onCancellationRequested(()=>{W.sender.sendCancellation(ce,l)})),new Promise((e,t)=>{const i={jsonrpc:"2.0",id:l,method:r,params:o};let a={method:r,timerStart:Date.now(),resolve:t=>{e(t),W.sender.cleanup(l),null==u||u.dispose()},reject:e=>{t(e),W.sender.cleanup(l),null==u||u.dispose()}};!function(e){if(L!==p.Off&&I)if(j===d.Text){let t=void 0;L===p.Verbose&&e.params&&(t=`Params: ${JSON.stringify(e.params,null,4)}\n\n`),I.log(`Sending request '${e.method} - (${e.id})'.`,t)}else te("send-request",e)}(i);try{n.write(i)}catch(e){a.reject(new s.ResponseError(s.ErrorCodes.MessageWriteError,e.message?e.message:"Unknown reason")),a=null}a&&(D[String(l)]=a)})},onRequest:(e,t)=>{ne();let n=null;return h.is(e)?(n=void 0,C=e):i.string(e)?(n=null,void 0!==t&&(n=e,R[e]={handler:t,type:void 0})):void 0!==t&&(n=e.method,R[e.method]={type:e,handler:t}),{dispose:()=>{null!==n&&(void 0!==n?delete R[n]:C=void 0)}}},trace:(e,t,n)=>{let r=!1,s=d.Text;void 0!==n&&(i.boolean(n)?r=n:(r=n.sendNotification||!1,s=n.traceFormat||d.Text)),L=e,j=s,I=L===p.Off?void 0:t,!r||Y()||Q()||ce.sendNotification(f.type,{value:p.toString(e)})},onError:F.event,onClose:$.event,onUnhandledNotification:H.event,onDispose:B.event,end:()=>{n.end()},dispose:()=>{if(Q())return;q=w.Disposed,B.fire(void 0);const t=new Error("Connection got disposed.");Object.keys(D).forEach(e=>{D[e].reject(t)}),D=Object.create(null),M=Object.create(null),N=new o.LinkedMap,i.func(n.dispose)&&n.dispose(),i.func(e.dispose)&&e.dispose()},listen:()=>{ne(),function(){if(K())throw new x(g.AlreadyListening,"Connection is already listening")}(),q=w.Listening,e.listen(Z)},inspect:()=>{r.default().console.log("inspect")}};return ce.onNotification(m.type,e=>{L!==p.Off&&I&&I.log(e.message,L===p.Verbose?e.verbose:void 0)}),ce.onNotification(u.type,e=>{const t=P.get(e.token);t?t(e.value):z.fire(e)}),ce}},4788:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Disposable=void 0,function(e){e.create=function(e){return{dispose:e}}}(t.Disposable||(t.Disposable={}))},478:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Emitter=t.Event=void 0;const r=n(3996);!function(e){const t={dispose(){}};e.None=function(){return t}}(t.Event||(t.Event={}));class i{add(e,t=null,n){this._callbacks||(this._callbacks=[],this._contexts=[]),this._callbacks.push(e),this._contexts.push(t),Array.isArray(n)&&n.push({dispose:()=>this.remove(e,t)})}remove(e,t=null){if(!this._callbacks)return;let n=!1;for(let r=0,i=this._callbacks.length;r{this._callbacks||(this._callbacks=new i),this._options&&this._options.onFirstListenerAdd&&this._callbacks.isEmpty()&&this._options.onFirstListenerAdd(this),this._callbacks.add(e,t);const r={dispose:()=>{this._callbacks&&(this._callbacks.remove(e,t),r.dispose=s._noop,this._options&&this._options.onLastListenerRemove&&this._callbacks.isEmpty()&&this._options.onLastListenerRemove(this))}};return Array.isArray(n)&&n.push(r),r}),this._event}fire(e){this._callbacks&&this._callbacks.invoke.call(this._callbacks,e)}dispose(){this._callbacks&&(this._callbacks.dispose(),this._callbacks=void 0)}}t.Emitter=s,s._noop=function(){}},8294:(e,t)=>{"use strict";function n(e){return"string"==typeof e||e instanceof String}function r(e){return Array.isArray(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.stringArray=t.array=t.func=t.error=t.number=t.string=t.boolean=void 0,t.boolean=function(e){return!0===e||!1===e},t.string=n,t.number=function(e){return"number"==typeof e||e instanceof Number},t.error=function(e){return e instanceof Error},t.func=function(e){return"function"==typeof e},t.array=r,t.stringArray=function(e){return r(e)&&e.every(e=>n(e))}},2514:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.LRUCache=t.LinkedMap=t.Touch=void 0,function(e){e.None=0,e.First=1,e.AsOld=e.First,e.Last=2,e.AsNew=e.Last}(n=t.Touch||(t.Touch={}));class r{constructor(){this[Symbol.toStringTag]="LinkedMap",this._map=new Map,this._head=void 0,this._tail=void 0,this._size=0,this._state=0}clear(){this._map.clear(),this._head=void 0,this._tail=void 0,this._size=0,this._state++}isEmpty(){return!this._head&&!this._tail}get size(){return this._size}get first(){var e;return null===(e=this._head)||void 0===e?void 0:e.value}get last(){var e;return null===(e=this._tail)||void 0===e?void 0:e.value}has(e){return this._map.has(e)}get(e,t=n.None){const r=this._map.get(e);if(r)return t!==n.None&&this.touch(r,t),r.value}set(e,t,r=n.None){let i=this._map.get(e);if(i)i.value=t,r!==n.None&&this.touch(i,r);else{switch(i={key:e,value:t,next:void 0,previous:void 0},r){case n.None:this.addItemLast(i);break;case n.First:this.addItemFirst(i);break;case n.Last:default:this.addItemLast(i)}this._map.set(e,i),this._size++}return this}delete(e){return!!this.remove(e)}remove(e){const t=this._map.get(e);if(t)return this._map.delete(e),this.removeItem(t),this._size--,t.value}shift(){if(!this._head&&!this._tail)return;if(!this._head||!this._tail)throw new Error("Invalid list");const e=this._head;return this._map.delete(e.key),this.removeItem(e),this._size--,e.value}forEach(e,t){const n=this._state;let r=this._head;for(;r;){if(t?e.bind(t)(r.value,r.key,this):e(r.value,r.key,this),this._state!==n)throw new Error("LinkedMap got modified during iteration.");r=r.next}}keys(){const e=this,t=this._state;let n=this._head;const r={[Symbol.iterator]:()=>r,next(){if(e._state!==t)throw new Error("LinkedMap got modified during iteration.");if(n){const e={value:n.key,done:!1};return n=n.next,e}return{value:void 0,done:!0}}};return r}values(){const e=this,t=this._state;let n=this._head;const r={[Symbol.iterator]:()=>r,next(){if(e._state!==t)throw new Error("LinkedMap got modified during iteration.");if(n){const e={value:n.value,done:!1};return n=n.next,e}return{value:void 0,done:!0}}};return r}entries(){const e=this,t=this._state;let n=this._head;const r={[Symbol.iterator]:()=>r,next(){if(e._state!==t)throw new Error("LinkedMap got modified during iteration.");if(n){const e={value:[n.key,n.value],done:!1};return n=n.next,e}return{value:void 0,done:!0}}};return r}[Symbol.iterator](){return this.entries()}trimOld(e){if(e>=this.size)return;if(0===e)return void this.clear();let t=this._head,n=this.size;for(;t&&n>e;)this._map.delete(t.key),t=t.next,n--;this._head=t,this._size=n,t&&(t.previous=void 0),this._state++}addItemFirst(e){if(this._head||this._tail){if(!this._head)throw new Error("Invalid list");e.next=this._head,this._head.previous=e}else this._tail=e;this._head=e,this._state++}addItemLast(e){if(this._head||this._tail){if(!this._tail)throw new Error("Invalid list");e.previous=this._tail,this._tail.next=e}else this._head=e;this._tail=e,this._state++}removeItem(e){if(e===this._head&&e===this._tail)this._head=void 0,this._tail=void 0;else if(e===this._head){if(!e.next)throw new Error("Invalid list");e.next.previous=void 0,this._head=e.next}else if(e===this._tail){if(!e.previous)throw new Error("Invalid list");e.previous.next=void 0,this._tail=e.previous}else{const t=e.next,n=e.previous;if(!t||!n)throw new Error("Invalid list");t.previous=n,n.next=t}e.next=void 0,e.previous=void 0,this._state++}touch(e,t){if(!this._head||!this._tail)throw new Error("Invalid list");if(t===n.First||t===n.Last)if(t===n.First){if(e===this._head)return;const t=e.next,n=e.previous;e===this._tail?(n.next=void 0,this._tail=n):(t.previous=n,n.next=t),e.previous=void 0,e.next=this._head,this._head.previous=e,this._head=e,this._state++}else if(t===n.Last){if(e===this._tail)return;const t=e.next,n=e.previous;e===this._head?(t.previous=void 0,this._head=t):(t.previous=n,n.next=t),e.next=void 0,e.previous=this._tail,this._tail.next=e,this._tail=e,this._state++}}toJSON(){const e=[];return this.forEach((t,n)=>{e.push([n,t])}),e}fromJSON(e){this.clear();for(const[t,n]of e)this.set(t,n)}}t.LinkedMap=r;t.LRUCache=class extends r{constructor(e,t=1){super(),this._limit=e,this._ratio=Math.min(Math.max(0,t),1)}get limit(){return this._limit}set limit(e){this._limit=e,this.checkTrim()}get ratio(){return this._ratio}set ratio(e){this._ratio=Math.min(Math.max(0,e),1),this.checkTrim()}get(e,t=n.AsNew){return super.get(e,t)}peek(e){return super.get(e,n.None)}set(e,t){return super.set(e,t,n.Last),this.checkTrim(),this}checkTrim(){this.size>this._limit&&this.trimOld(Math.round(this._limit*this._ratio))}}},1228:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AbstractMessageBuffer=void 0;t.AbstractMessageBuffer=class{constructor(e="utf-8"){this._encoding=e,this._chunks=[],this._totalLength=0}get encoding(){return this._encoding}append(e){const t="string"==typeof e?this.fromString(e,this._encoding):e;this._chunks.push(t),this._totalLength+=t.byteLength}tryReadHeaders(){if(0===this._chunks.length)return;let e=0,t=0,n=0,r=0;e:for(;tthis._totalLength)throw new Error("Cannot read so many bytes!");if(this._chunks[0].byteLength===e){const t=this._chunks[0];return this._chunks.shift(),this._totalLength-=e,this.asNative(t)}if(this._chunks[0].byteLength>e){const t=this._chunks[0],n=this.asNative(t,e);return this._chunks[0]=t.slice(e),this._totalLength-=e,n}const t=this.allocNative(e);let n=0;for(;e>0;){const r=this._chunks[0];if(r.byteLength>e){const i=r.slice(0,e);t.set(i,n),n+=e,this._chunks[0]=r.slice(e),this._totalLength-=e,e-=e}else t.set(r,n),n+=r.byteLength,this._chunks.shift(),this._totalLength-=r.byteLength,e-=r.byteLength}return t}}},1505:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ReadableStreamMessageReader=t.AbstractMessageReader=t.MessageReader=void 0;const r=n(3996),i=n(8294),s=n(478);var o;!function(e){e.is=function(e){let t=e;return t&&i.func(t.listen)&&i.func(t.dispose)&&i.func(t.onError)&&i.func(t.onClose)&&i.func(t.onPartialMessage)}}(t.MessageReader||(t.MessageReader={}));class a{constructor(){this.errorEmitter=new s.Emitter,this.closeEmitter=new s.Emitter,this.partialMessageEmitter=new s.Emitter}dispose(){this.errorEmitter.dispose(),this.closeEmitter.dispose()}get onError(){return this.errorEmitter.event}fireError(e){this.errorEmitter.fire(this.asError(e))}get onClose(){return this.closeEmitter.event}fireClose(){this.closeEmitter.fire(void 0)}get onPartialMessage(){return this.partialMessageEmitter.event}firePartialMessage(e){this.partialMessageEmitter.fire(e)}asError(e){return e instanceof Error?e:new Error("Reader received error. Reason: "+(i.string(e.message)?e.message:"unknown"))}}t.AbstractMessageReader=a,function(e){e.fromOptions=function(e){var t;let n,i;const s=new Map;let o;const a=new Map;if(void 0===e||"string"==typeof e)n=null!=e?e:"utf-8";else{if(n=null!==(t=e.charset)&&void 0!==t?t:"utf-8",void 0!==e.contentDecoder&&(i=e.contentDecoder,s.set(i.name,i)),void 0!==e.contentDecoders)for(const t of e.contentDecoders)s.set(t.name,t);if(void 0!==e.contentTypeDecoder&&(o=e.contentTypeDecoder,a.set(o.name,o)),void 0!==e.contentTypeDecoders)for(const t of e.contentTypeDecoders)a.set(t.name,t)}return void 0===o&&(o=r.default().applicationJson.decoder,a.set(o.name,o)),{charset:n,contentDecoder:i,contentDecoders:s,contentTypeDecoder:o,contentTypeDecoders:a}}}(o||(o={}));t.ReadableStreamMessageReader=class extends a{constructor(e,t){super(),this.readable=e,this.options=o.fromOptions(t),this.buffer=r.default().messageBuffer.create(this.options.charset),this._partialMessageTimeout=1e4,this.nextMessageLength=-1,this.messageToken=0}set partialMessageTimeout(e){this._partialMessageTimeout=e}get partialMessageTimeout(){return this._partialMessageTimeout}listen(e){this.nextMessageLength=-1,this.messageToken=0,this.partialMessageTimer=void 0,this.callback=e;const t=this.readable.onData(e=>{this.onData(e)});return this.readable.onError(e=>this.fireError(e)),this.readable.onClose(()=>this.fireClose()),t}onData(e){for(this.buffer.append(e);;){if(-1===this.nextMessageLength){const e=this.buffer.tryReadHeaders();if(!e)return;const t=e.get("Content-Length");if(!t)throw new Error("Header must provide a Content-Length property.");const n=parseInt(t);if(isNaN(n))throw new Error("Content-Length value must be a number.");this.nextMessageLength=n}const e=this.buffer.tryReadBody(this.nextMessageLength);if(void 0===e)return void this.setPartialMessageTimer();let t;this.clearPartialMessageTimer(),this.nextMessageLength=-1,t=void 0!==this.options.contentDecoder?this.options.contentDecoder.decode(e):Promise.resolve(e),t.then(e=>{this.options.contentTypeDecoder.decode(e,this.options).then(e=>{this.callback(e)},e=>{this.fireError(e)})},e=>{this.fireError(e)})}}clearPartialMessageTimer(){this.partialMessageTimer&&(r.default().timer.clearTimeout(this.partialMessageTimer),this.partialMessageTimer=void 0)}setPartialMessageTimer(){this.clearPartialMessageTimer(),this._partialMessageTimeout<=0||(this.partialMessageTimer=r.default().timer.setTimeout((e,t)=>{this.partialMessageTimer=void 0,e===this.messageToken&&(this.firePartialMessage({messageToken:e,waitingTime:t}),this.setPartialMessageTimer())},this._partialMessageTimeout,this.messageToken,this._partialMessageTimeout))}}},7918:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WriteableStreamMessageWriter=t.AbstractMessageWriter=t.MessageWriter=void 0;const r=n(3996),i=n(8294),s=n(8264),o=n(478);var a;!function(e){e.is=function(e){let t=e;return t&&i.func(t.dispose)&&i.func(t.onClose)&&i.func(t.onError)&&i.func(t.write)}}(t.MessageWriter||(t.MessageWriter={}));class c{constructor(){this.errorEmitter=new o.Emitter,this.closeEmitter=new o.Emitter}dispose(){this.errorEmitter.dispose(),this.closeEmitter.dispose()}get onError(){return this.errorEmitter.event}fireError(e,t,n){this.errorEmitter.fire([this.asError(e),t,n])}get onClose(){return this.closeEmitter.event}fireClose(){this.closeEmitter.fire(void 0)}asError(e){return e instanceof Error?e:new Error("Writer received error. Reason: "+(i.string(e.message)?e.message:"unknown"))}}t.AbstractMessageWriter=c,function(e){e.fromOptions=function(e){var t,n;return void 0===e||"string"==typeof e?{charset:null!=e?e:"utf-8",contentTypeEncoder:r.default().applicationJson.encoder}:{charset:null!==(t=e.charset)&&void 0!==t?t:"utf-8",contentEncoder:e.contentEncoder,contentTypeEncoder:null!==(n=e.contentTypeEncoder)&&void 0!==n?n:r.default().applicationJson.encoder}}}(a||(a={}));t.WriteableStreamMessageWriter=class extends c{constructor(e,t){super(),this.writable=e,this.options=a.fromOptions(t),this.errorCount=0,this.writeSemaphore=new s.Semaphore(1),this.writable.onError(e=>this.fireError(e)),this.writable.onClose(()=>this.fireClose())}async write(e){return this.writeSemaphore.lock(async()=>this.options.contentTypeEncoder.encode(e,this.options).then(e=>void 0!==this.options.contentEncoder?this.options.contentEncoder.encode(e):e).then(t=>{const n=[];return n.push("Content-Length: ",t.byteLength.toString(),"\r\n"),n.push("\r\n"),this.doWrite(e,n,t)},e=>{throw this.fireError(e),e}))}async doWrite(e,t,n){try{return await this.writable.write(t.join(""),"ascii"),this.writable.write(n)}catch(t){return this.handleError(t,e),Promise.reject(t)}}handleError(e,t){this.errorCount++,this.fireError(e,t,this.errorCount)}end(){this.writable.end()}}},6622:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isResponseMessage=t.isNotificationMessage=t.isRequestMessage=t.NotificationType9=t.NotificationType8=t.NotificationType7=t.NotificationType6=t.NotificationType5=t.NotificationType4=t.NotificationType3=t.NotificationType2=t.NotificationType1=t.NotificationType0=t.NotificationType=t.RequestType9=t.RequestType8=t.RequestType7=t.RequestType6=t.RequestType5=t.RequestType4=t.RequestType3=t.RequestType2=t.RequestType1=t.RequestType=t.RequestType0=t.AbstractMessageSignature=t.ParameterStructures=t.ResponseError=t.ErrorCodes=void 0;const r=n(8294);var i;!function(e){e.ParseError=-32700,e.InvalidRequest=-32600,e.MethodNotFound=-32601,e.InvalidParams=-32602,e.InternalError=-32603,e.jsonrpcReservedErrorRangeStart=-32099,e.serverErrorStart=e.jsonrpcReservedErrorRangeStart,e.MessageWriteError=-32099,e.MessageReadError=-32098,e.ServerNotInitialized=-32002,e.UnknownErrorCode=-32001,e.jsonrpcReservedErrorRangeEnd=-32e3,e.serverErrorEnd=e.jsonrpcReservedErrorRangeEnd}(i=t.ErrorCodes||(t.ErrorCodes={}));class s extends Error{constructor(e,t,n){super(t),this.code=r.number(e)?e:i.UnknownErrorCode,this.data=n,Object.setPrototypeOf(this,s.prototype)}toJson(){return{code:this.code,message:this.message,data:this.data}}}t.ResponseError=s;class o{constructor(e){this.kind=e}static is(e){return e===o.auto||e===o.byName||e===o.byPosition}toString(){return this.kind}}t.ParameterStructures=o,o.auto=new o("auto"),o.byPosition=new o("byPosition"),o.byName=new o("byName");class a{constructor(e,t){this.method=e,this.numberOfParams=t}get parameterStructures(){return o.auto}}t.AbstractMessageSignature=a;t.RequestType0=class extends a{constructor(e){super(e,0)}};t.RequestType=class extends a{constructor(e,t=o.auto){super(e,1),this._parameterStructures=t}get parameterStructures(){return this._parameterStructures}};t.RequestType1=class extends a{constructor(e,t=o.auto){super(e,1),this._parameterStructures=t}get parameterStructures(){return this._parameterStructures}};t.RequestType2=class extends a{constructor(e){super(e,2)}};t.RequestType3=class extends a{constructor(e){super(e,3)}};t.RequestType4=class extends a{constructor(e){super(e,4)}};t.RequestType5=class extends a{constructor(e){super(e,5)}};t.RequestType6=class extends a{constructor(e){super(e,6)}};t.RequestType7=class extends a{constructor(e){super(e,7)}};t.RequestType8=class extends a{constructor(e){super(e,8)}};t.RequestType9=class extends a{constructor(e){super(e,9)}};t.NotificationType=class extends a{constructor(e,t=o.auto){super(e,1),this._parameterStructures=t}get parameterStructures(){return this._parameterStructures}};t.NotificationType0=class extends a{constructor(e){super(e,0)}};t.NotificationType1=class extends a{constructor(e,t=o.auto){super(e,1),this._parameterStructures=t}get parameterStructures(){return this._parameterStructures}};t.NotificationType2=class extends a{constructor(e){super(e,2)}};t.NotificationType3=class extends a{constructor(e){super(e,3)}};t.NotificationType4=class extends a{constructor(e){super(e,4)}};t.NotificationType5=class extends a{constructor(e){super(e,5)}};t.NotificationType6=class extends a{constructor(e){super(e,6)}};t.NotificationType7=class extends a{constructor(e){super(e,7)}};t.NotificationType8=class extends a{constructor(e){super(e,8)}};t.NotificationType9=class extends a{constructor(e){super(e,9)}},t.isRequestMessage=function(e){const t=e;return t&&r.string(t.method)&&(r.string(t.id)||r.number(t.id))},t.isNotificationMessage=function(e){const t=e;return t&&r.string(t.method)&&void 0===e.id},t.isResponseMessage=function(e){const t=e;return t&&(void 0!==t.result||!!t.error)&&(r.string(t.id)||r.number(t.id)||null===t.id)}},3996:(e,t)=>{"use strict";let n;function r(){if(void 0===n)throw new Error("No runtime abstraction layer installed");return n}Object.defineProperty(t,"__esModule",{value:!0}),function(e){e.install=function(e){if(void 0===e)throw new Error("No runtime abstraction layer provided");n=e}}(r||(r={})),t.default=r},8264:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Semaphore=void 0;const r=n(3996);t.Semaphore=class{constructor(e=1){if(e<=0)throw new Error("Capacity must be greater than 0");this._capacity=e,this._active=0,this._waiting=[]}lock(e){return new Promise((t,n)=>{this._waiting.push({thunk:e,resolve:t,reject:n}),this.runNext()})}get active(){return this._active}runNext(){0!==this._waiting.length&&this._active!==this._capacity&&r.default().timer.setImmediate(()=>this.doRunNext())}doRunNext(){if(0===this._waiting.length||this._active===this._capacity)return;const e=this._waiting.shift();if(this._active++,this._active>this._capacity)throw new Error("To many thunks active");try{const t=e.thunk();t instanceof Promise?t.then(t=>{this._active--,e.resolve(t),this.runNext()},t=>{this._active--,e.reject(t),this.runNext()}):(this._active--,e.resolve(t),this.runNext())}catch(t){this._active--,e.reject(t),this.runNext()}}}},1983:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.createMessageConnection=t.createServerSocketTransport=t.createClientSocketTransport=t.createServerPipeTransport=t.createClientPipeTransport=t.generateRandomPipeName=t.StreamMessageWriter=t.StreamMessageReader=t.SocketMessageWriter=t.SocketMessageReader=t.IPCMessageWriter=t.IPCMessageReader=void 0;const s=n(498);s.default.install();const o=n(3301),a=n(5622),c=n(2087),l=n(6417),u=n(1631);i(n(3301),t);class h extends o.AbstractMessageReader{constructor(e){super(),this.process=e;let t=this.process;t.on("error",e=>this.fireError(e)),t.on("close",()=>this.fireClose())}listen(e){return this.process.on("message",e),o.Disposable.create(()=>this.process.off("message",e))}}t.IPCMessageReader=h;class p extends o.AbstractMessageWriter{constructor(e){super(),this.process=e,this.errorCount=0;let t=this.process;t.on("error",e=>this.fireError(e)),t.on("close",()=>this.fireClose)}write(e){try{return"function"==typeof this.process.send&&this.process.send(e,void 0,void 0,t=>{t?(this.errorCount++,this.handleError(t,e)):this.errorCount=0}),Promise.resolve()}catch(t){return this.handleError(t,e),Promise.reject(t)}}handleError(e,t){this.errorCount++,this.fireError(e,t,this.errorCount)}end(){}}t.IPCMessageWriter=p;class d extends o.ReadableStreamMessageReader{constructor(e,t="utf-8"){super(s.default().stream.asReadableStream(e),t)}}t.SocketMessageReader=d;class f extends o.WriteableStreamMessageWriter{constructor(e,t){super(s.default().stream.asWritableStream(e),t),this.socket=e}dispose(){super.dispose(),this.socket.destroy()}}t.SocketMessageWriter=f;class m extends o.ReadableStreamMessageReader{constructor(e,t){super(s.default().stream.asReadableStream(e),t)}}t.StreamMessageReader=m;class g extends o.WriteableStreamMessageWriter{constructor(e,t){super(s.default().stream.asWritableStream(e),t)}}t.StreamMessageWriter=g;const v=process.env.XDG_RUNTIME_DIR,y=new Map([["linux",107],["darwin",103]]);t.generateRandomPipeName=function(){const e=l.randomBytes(21).toString("hex");if("win32"===process.platform)return`\\\\.\\pipe\\vscode-jsonrpc-${e}-sock`;let t;t=v?a.join(v,`vscode-ipc-${e}.sock`):a.join(c.tmpdir(),`vscode-${e}.sock`);const n=y.get(process.platform);return void 0!==n&&t.length>=n&&s.default().console.warn(`WARNING: IPC handle "${t}" is longer than ${n} characters.`),t},t.createClientPipeTransport=function(e,t="utf-8"){let n;const r=new Promise((e,t)=>{n=e});return new Promise((i,s)=>{let o=u.createServer(e=>{o.close(),n([new d(e,t),new f(e,t)])});o.on("error",s),o.listen(e,()=>{o.removeListener("error",s),i({onConnected:()=>r})})})},t.createServerPipeTransport=function(e,t="utf-8"){const n=u.createConnection(e);return[new d(n,t),new f(n,t)]},t.createClientSocketTransport=function(e,t="utf-8"){let n;const r=new Promise((e,t)=>{n=e});return new Promise((i,s)=>{const o=u.createServer(e=>{o.close(),n([new d(e,t),new f(e,t)])});o.on("error",s),o.listen(e,"127.0.0.1",()=>{o.removeListener("error",s),i({onConnected:()=>r})})})},t.createServerSocketTransport=function(e,t="utf-8"){const n=u.createConnection(e,"127.0.0.1");return[new d(n,t),new f(n,t)]},t.createMessageConnection=function(e,t,n,r){n||(n=o.NullLogger);const i=function(e){const t=e;return void 0!==t.read&&void 0!==t.addListener}(e)?new m(e):e,s=function(e){const t=e;return void 0!==t.write&&void 0!==t.addListener}(t)?new g(t):t;return o.ConnectionStrategy.is(r)&&(r={connectionStrategy:r}),o.createMessageConnection(i,s,n,r)}},498:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(3996),i=n(1669),s=n(4788),o=n(1228);class a extends o.AbstractMessageBuffer{constructor(e="utf-8"){super(e)}emptyBuffer(){return a.emptyBuffer}fromString(e,t){return Buffer.from(e,t)}toString(e,t){return e instanceof Buffer?e.toString(t):new i.TextDecoder(t).decode(e)}asNative(e,t){return void 0===t?e instanceof Buffer?e:Buffer.from(e):e instanceof Buffer?e.slice(0,t):Buffer.from(e,0,t)}allocNative(e){return Buffer.allocUnsafe(e)}}a.emptyBuffer=Buffer.allocUnsafe(0);class c{constructor(e){this.stream=e}onClose(e){return this.stream.on("close",e),s.Disposable.create(()=>this.stream.off("close",e))}onError(e){return this.stream.on("error",e),s.Disposable.create(()=>this.stream.off("error",e))}onEnd(e){return this.stream.on("end",e),s.Disposable.create(()=>this.stream.off("end",e))}onData(e){return this.stream.on("data",e),s.Disposable.create(()=>this.stream.off("data",e))}}class l{constructor(e){this.stream=e}onClose(e){return this.stream.on("close",e),s.Disposable.create(()=>this.stream.off("close",e))}onError(e){return this.stream.on("error",e),s.Disposable.create(()=>this.stream.off("error",e))}onEnd(e){return this.stream.on("end",e),s.Disposable.create(()=>this.stream.off("end",e))}write(e,t){return new Promise((n,r)=>{const i=e=>{null==e?n():r(e)};"string"==typeof e?this.stream.write(e,t,i):this.stream.write(e,i)})}end(){this.stream.end()}}const u=Object.freeze({messageBuffer:Object.freeze({create:e=>new a(e)}),applicationJson:Object.freeze({encoder:Object.freeze({name:"application/json",encode:(e,t)=>{try{return Promise.resolve(Buffer.from(JSON.stringify(e,void 0,0),t.charset))}catch(e){return Promise.reject(e)}}}),decoder:Object.freeze({name:"application/json",decode:(e,t)=>{try{return e instanceof Buffer?Promise.resolve(JSON.parse(e.toString(t.charset))):Promise.resolve(JSON.parse(new i.TextDecoder(t.charset).decode(e)))}catch(e){return Promise.reject(e)}}})}),stream:Object.freeze({asReadableStream:e=>new c(e),asWritableStream:e=>new l(e)}),console:console,timer:Object.freeze({setTimeout:(e,t,...n)=>setTimeout(e,t,...n),clearTimeout(e){clearTimeout(e)},setImmediate:(e,...t)=>setImmediate(e,...t),clearImmediate(e){clearImmediate(e)}})});function h(){return u}!function(e){e.install=function(){r.default.install(u)}}(h||(h={})),t.default=h},8186:(e,t,n)=>{"use strict";e.exports=n(1983)},6474:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.LSPErrorCodes=t.createProtocolConnection=void 0,i(n(1983),t),i(n(4726),t),i(n(8126),t),i(n(3550),t);var s=n(3546);Object.defineProperty(t,"createProtocolConnection",{enumerable:!0,get:function(){return s.createProtocolConnection}}),function(e){e.lspReservedErrorRangeStart=-32899,e.ContentModified=-32801,e.RequestCancelled=-32800,e.lspReservedErrorRangeEnd=-32800}(t.LSPErrorCodes||(t.LSPErrorCodes={}))},3546:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createProtocolConnection=void 0;const r=n(1983);t.createProtocolConnection=function(e,t,n,i){return r.ConnectionStrategy.is(i)&&(i={connectionStrategy:i}),r.createMessageConnection(e,t,n,i)}},8126:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ProtocolNotificationType=t.ProtocolNotificationType0=t.ProtocolRequestType=t.ProtocolRequestType0=t.RegistrationType=void 0;const r=n(1983);t.RegistrationType=class{constructor(e){this.method=e}};class i extends r.RequestType0{constructor(e){super(e)}}t.ProtocolRequestType0=i;class s extends r.RequestType{constructor(e){super(e,r.ParameterStructures.byName)}}t.ProtocolRequestType=s;class o extends r.NotificationType0{constructor(e){super(e)}}t.ProtocolNotificationType0=o;class a extends r.NotificationType{constructor(e){super(e,r.ParameterStructures.byName)}}t.ProtocolNotificationType=a},4638:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CallHierarchyOutgoingCallsRequest=t.CallHierarchyIncomingCallsRequest=t.CallHierarchyPrepareRequest=void 0;const r=n(8126);!function(e){e.method="textDocument/prepareCallHierarchy",e.type=new r.ProtocolRequestType(e.method)}(t.CallHierarchyPrepareRequest||(t.CallHierarchyPrepareRequest={})),function(e){e.method="callHierarchy/incomingCalls",e.type=new r.ProtocolRequestType(e.method)}(t.CallHierarchyIncomingCallsRequest||(t.CallHierarchyIncomingCallsRequest={})),function(e){e.method="callHierarchy/outgoingCalls",e.type=new r.ProtocolRequestType(e.method)}(t.CallHierarchyOutgoingCallsRequest||(t.CallHierarchyOutgoingCallsRequest={}))},6125:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ColorPresentationRequest=t.DocumentColorRequest=void 0;const r=n(8126);!function(e){e.method="textDocument/documentColor",e.type=new r.ProtocolRequestType(e.method)}(t.DocumentColorRequest||(t.DocumentColorRequest={})),function(e){e.type=new r.ProtocolRequestType("textDocument/colorPresentation")}(t.ColorPresentationRequest||(t.ColorPresentationRequest={}))},4127:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ConfigurationRequest=void 0;const r=n(8126);!function(e){e.type=new r.ProtocolRequestType("workspace/configuration")}(t.ConfigurationRequest||(t.ConfigurationRequest={}))},5765:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DeclarationRequest=void 0;const r=n(8126);!function(e){e.method="textDocument/declaration",e.type=new r.ProtocolRequestType(e.method)}(t.DeclarationRequest||(t.DeclarationRequest={}))},6243:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WillDeleteFilesRequest=t.DidDeleteFilesNotification=t.DidRenameFilesNotification=t.WillRenameFilesRequest=t.DidCreateFilesNotification=t.WillCreateFilesRequest=t.FileOperationPatternKind=void 0;const r=n(8126);!function(e){e.file="file",e.folder="folder"}(t.FileOperationPatternKind||(t.FileOperationPatternKind={})),function(e){e.method="workspace/willCreateFiles",e.type=new r.ProtocolRequestType(e.method)}(t.WillCreateFilesRequest||(t.WillCreateFilesRequest={})),function(e){e.method="workspace/didCreateFiles",e.type=new r.ProtocolNotificationType(e.method)}(t.DidCreateFilesNotification||(t.DidCreateFilesNotification={})),function(e){e.method="workspace/willRenameFiles",e.type=new r.ProtocolRequestType(e.method)}(t.WillRenameFilesRequest||(t.WillRenameFilesRequest={})),function(e){e.method="workspace/didRenameFiles",e.type=new r.ProtocolNotificationType(e.method)}(t.DidRenameFilesNotification||(t.DidRenameFilesNotification={})),function(e){e.method="workspace/didDeleteFiles",e.type=new r.ProtocolNotificationType(e.method)}(t.DidDeleteFilesNotification||(t.DidDeleteFilesNotification={})),function(e){e.method="workspace/willDeleteFiles",e.type=new r.ProtocolRequestType(e.method)}(t.WillDeleteFilesRequest||(t.WillDeleteFilesRequest={}))},6823:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FoldingRangeRequest=t.FoldingRangeKind=void 0;const r=n(8126);!function(e){e.Comment="comment",e.Imports="imports",e.Region="region"}(t.FoldingRangeKind||(t.FoldingRangeKind={})),function(e){e.method="textDocument/foldingRange",e.type=new r.ProtocolRequestType(e.method)}(t.FoldingRangeRequest||(t.FoldingRangeRequest={}))},441:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ImplementationRequest=void 0;const r=n(8126);!function(e){e.method="textDocument/implementation",e.type=new r.ProtocolRequestType(e.method)}(t.ImplementationRequest||(t.ImplementationRequest={}))},3550:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DocumentLinkRequest=t.CodeLensRefreshRequest=t.CodeLensResolveRequest=t.CodeLensRequest=t.WorkspaceSymbolRequest=t.CodeActionResolveRequest=t.CodeActionRequest=t.DocumentSymbolRequest=t.DocumentHighlightRequest=t.ReferencesRequest=t.DefinitionRequest=t.SignatureHelpRequest=t.SignatureHelpTriggerKind=t.HoverRequest=t.CompletionResolveRequest=t.CompletionRequest=t.CompletionTriggerKind=t.PublishDiagnosticsNotification=t.WatchKind=t.FileChangeType=t.DidChangeWatchedFilesNotification=t.WillSaveTextDocumentWaitUntilRequest=t.WillSaveTextDocumentNotification=t.TextDocumentSaveReason=t.DidSaveTextDocumentNotification=t.DidCloseTextDocumentNotification=t.DidChangeTextDocumentNotification=t.TextDocumentContentChangeEvent=t.DidOpenTextDocumentNotification=t.TextDocumentSyncKind=t.TelemetryEventNotification=t.LogMessageNotification=t.ShowMessageRequest=t.ShowMessageNotification=t.MessageType=t.DidChangeConfigurationNotification=t.ExitNotification=t.ShutdownRequest=t.InitializedNotification=t.InitializeError=t.InitializeRequest=t.WorkDoneProgressOptions=t.TextDocumentRegistrationOptions=t.StaticRegistrationOptions=t.FailureHandlingKind=t.ResourceOperationKind=t.UnregistrationRequest=t.RegistrationRequest=t.DocumentSelector=t.DocumentFilter=void 0,t.MonikerRequest=t.MonikerKind=t.UniquenessLevel=t.WillDeleteFilesRequest=t.DidDeleteFilesNotification=t.WillRenameFilesRequest=t.DidRenameFilesNotification=t.WillCreateFilesRequest=t.DidCreateFilesNotification=t.FileOperationPatternKind=t.LinkedEditingRangeRequest=t.ShowDocumentRequest=t.SemanticTokensRegistrationType=t.SemanticTokensRefreshRequest=t.SemanticTokensRangeRequest=t.SemanticTokensDeltaRequest=t.SemanticTokensRequest=t.TokenFormat=t.SemanticTokens=t.SemanticTokenModifiers=t.SemanticTokenTypes=t.CallHierarchyPrepareRequest=t.CallHierarchyOutgoingCallsRequest=t.CallHierarchyIncomingCallsRequest=t.WorkDoneProgressCancelNotification=t.WorkDoneProgressCreateRequest=t.WorkDoneProgress=t.SelectionRangeRequest=t.DeclarationRequest=t.FoldingRangeRequest=t.ColorPresentationRequest=t.DocumentColorRequest=t.ConfigurationRequest=t.DidChangeWorkspaceFoldersNotification=t.WorkspaceFoldersRequest=t.TypeDefinitionRequest=t.ImplementationRequest=t.ApplyWorkspaceEditRequest=t.ExecuteCommandRequest=t.PrepareRenameRequest=t.RenameRequest=t.PrepareSupportDefaultBehavior=t.DocumentOnTypeFormattingRequest=t.DocumentRangeFormattingRequest=t.DocumentFormattingRequest=t.DocumentLinkResolveRequest=void 0;const r=n(4065),i=n(8126),s=n(441);Object.defineProperty(t,"ImplementationRequest",{enumerable:!0,get:function(){return s.ImplementationRequest}});const o=n(9895);Object.defineProperty(t,"TypeDefinitionRequest",{enumerable:!0,get:function(){return o.TypeDefinitionRequest}});const a=n(6432);Object.defineProperty(t,"WorkspaceFoldersRequest",{enumerable:!0,get:function(){return a.WorkspaceFoldersRequest}}),Object.defineProperty(t,"DidChangeWorkspaceFoldersNotification",{enumerable:!0,get:function(){return a.DidChangeWorkspaceFoldersNotification}});const c=n(4127);Object.defineProperty(t,"ConfigurationRequest",{enumerable:!0,get:function(){return c.ConfigurationRequest}});const l=n(6125);Object.defineProperty(t,"DocumentColorRequest",{enumerable:!0,get:function(){return l.DocumentColorRequest}}),Object.defineProperty(t,"ColorPresentationRequest",{enumerable:!0,get:function(){return l.ColorPresentationRequest}});const u=n(6823);Object.defineProperty(t,"FoldingRangeRequest",{enumerable:!0,get:function(){return u.FoldingRangeRequest}});const h=n(5765);Object.defineProperty(t,"DeclarationRequest",{enumerable:!0,get:function(){return h.DeclarationRequest}});const p=n(7424);Object.defineProperty(t,"SelectionRangeRequest",{enumerable:!0,get:function(){return p.SelectionRangeRequest}});const d=n(5431);Object.defineProperty(t,"WorkDoneProgress",{enumerable:!0,get:function(){return d.WorkDoneProgress}}),Object.defineProperty(t,"WorkDoneProgressCreateRequest",{enumerable:!0,get:function(){return d.WorkDoneProgressCreateRequest}}),Object.defineProperty(t,"WorkDoneProgressCancelNotification",{enumerable:!0,get:function(){return d.WorkDoneProgressCancelNotification}});const f=n(4638);Object.defineProperty(t,"CallHierarchyIncomingCallsRequest",{enumerable:!0,get:function(){return f.CallHierarchyIncomingCallsRequest}}),Object.defineProperty(t,"CallHierarchyOutgoingCallsRequest",{enumerable:!0,get:function(){return f.CallHierarchyOutgoingCallsRequest}}),Object.defineProperty(t,"CallHierarchyPrepareRequest",{enumerable:!0,get:function(){return f.CallHierarchyPrepareRequest}});const m=n(4918);Object.defineProperty(t,"SemanticTokenTypes",{enumerable:!0,get:function(){return m.SemanticTokenTypes}}),Object.defineProperty(t,"SemanticTokenModifiers",{enumerable:!0,get:function(){return m.SemanticTokenModifiers}}),Object.defineProperty(t,"SemanticTokens",{enumerable:!0,get:function(){return m.SemanticTokens}}),Object.defineProperty(t,"TokenFormat",{enumerable:!0,get:function(){return m.TokenFormat}}),Object.defineProperty(t,"SemanticTokensRequest",{enumerable:!0,get:function(){return m.SemanticTokensRequest}}),Object.defineProperty(t,"SemanticTokensDeltaRequest",{enumerable:!0,get:function(){return m.SemanticTokensDeltaRequest}}),Object.defineProperty(t,"SemanticTokensRangeRequest",{enumerable:!0,get:function(){return m.SemanticTokensRangeRequest}}),Object.defineProperty(t,"SemanticTokensRefreshRequest",{enumerable:!0,get:function(){return m.SemanticTokensRefreshRequest}}),Object.defineProperty(t,"SemanticTokensRegistrationType",{enumerable:!0,get:function(){return m.SemanticTokensRegistrationType}});const g=n(9806);Object.defineProperty(t,"ShowDocumentRequest",{enumerable:!0,get:function(){return g.ShowDocumentRequest}});const v=n(8727);Object.defineProperty(t,"LinkedEditingRangeRequest",{enumerable:!0,get:function(){return v.LinkedEditingRangeRequest}});const y=n(6243);Object.defineProperty(t,"FileOperationPatternKind",{enumerable:!0,get:function(){return y.FileOperationPatternKind}}),Object.defineProperty(t,"DidCreateFilesNotification",{enumerable:!0,get:function(){return y.DidCreateFilesNotification}}),Object.defineProperty(t,"WillCreateFilesRequest",{enumerable:!0,get:function(){return y.WillCreateFilesRequest}}),Object.defineProperty(t,"DidRenameFilesNotification",{enumerable:!0,get:function(){return y.DidRenameFilesNotification}}),Object.defineProperty(t,"WillRenameFilesRequest",{enumerable:!0,get:function(){return y.WillRenameFilesRequest}}),Object.defineProperty(t,"DidDeleteFilesNotification",{enumerable:!0,get:function(){return y.DidDeleteFilesNotification}}),Object.defineProperty(t,"WillDeleteFilesRequest",{enumerable:!0,get:function(){return y.WillDeleteFilesRequest}});const b=n(608);var _,w;Object.defineProperty(t,"UniquenessLevel",{enumerable:!0,get:function(){return b.UniquenessLevel}}),Object.defineProperty(t,"MonikerKind",{enumerable:!0,get:function(){return b.MonikerKind}}),Object.defineProperty(t,"MonikerRequest",{enumerable:!0,get:function(){return b.MonikerRequest}}),function(e){e.is=function(e){const t=e;return r.string(t.language)||r.string(t.scheme)||r.string(t.pattern)}}(_=t.DocumentFilter||(t.DocumentFilter={})),function(e){e.is=function(e){if(!Array.isArray(e))return!1;for(let t of e)if(!r.string(t)&&!_.is(t))return!1;return!0}}(w=t.DocumentSelector||(t.DocumentSelector={})),function(e){e.type=new i.ProtocolRequestType("client/registerCapability")}(t.RegistrationRequest||(t.RegistrationRequest={})),function(e){e.type=new i.ProtocolRequestType("client/unregisterCapability")}(t.UnregistrationRequest||(t.UnregistrationRequest={})),function(e){e.Create="create",e.Rename="rename",e.Delete="delete"}(t.ResourceOperationKind||(t.ResourceOperationKind={})),function(e){e.Abort="abort",e.Transactional="transactional",e.TextOnlyTransactional="textOnlyTransactional",e.Undo="undo"}(t.FailureHandlingKind||(t.FailureHandlingKind={})),function(e){e.hasId=function(e){const t=e;return t&&r.string(t.id)&&t.id.length>0}}(t.StaticRegistrationOptions||(t.StaticRegistrationOptions={})),function(e){e.is=function(e){const t=e;return t&&(null===t.documentSelector||w.is(t.documentSelector))}}(t.TextDocumentRegistrationOptions||(t.TextDocumentRegistrationOptions={})),function(e){e.is=function(e){const t=e;return r.objectLiteral(t)&&(void 0===t.workDoneProgress||r.boolean(t.workDoneProgress))},e.hasWorkDoneProgress=function(e){const t=e;return t&&r.boolean(t.workDoneProgress)}}(t.WorkDoneProgressOptions||(t.WorkDoneProgressOptions={})),function(e){e.type=new i.ProtocolRequestType("initialize")}(t.InitializeRequest||(t.InitializeRequest={})),function(e){e.unknownProtocolVersion=1}(t.InitializeError||(t.InitializeError={})),function(e){e.type=new i.ProtocolNotificationType("initialized")}(t.InitializedNotification||(t.InitializedNotification={})),function(e){e.type=new i.ProtocolRequestType0("shutdown")}(t.ShutdownRequest||(t.ShutdownRequest={})),function(e){e.type=new i.ProtocolNotificationType0("exit")}(t.ExitNotification||(t.ExitNotification={})),function(e){e.type=new i.ProtocolNotificationType("workspace/didChangeConfiguration")}(t.DidChangeConfigurationNotification||(t.DidChangeConfigurationNotification={})),function(e){e.Error=1,e.Warning=2,e.Info=3,e.Log=4}(t.MessageType||(t.MessageType={})),function(e){e.type=new i.ProtocolNotificationType("window/showMessage")}(t.ShowMessageNotification||(t.ShowMessageNotification={})),function(e){e.type=new i.ProtocolRequestType("window/showMessageRequest")}(t.ShowMessageRequest||(t.ShowMessageRequest={})),function(e){e.type=new i.ProtocolNotificationType("window/logMessage")}(t.LogMessageNotification||(t.LogMessageNotification={})),function(e){e.type=new i.ProtocolNotificationType("telemetry/event")}(t.TelemetryEventNotification||(t.TelemetryEventNotification={})),function(e){e.None=0,e.Full=1,e.Incremental=2}(t.TextDocumentSyncKind||(t.TextDocumentSyncKind={})),function(e){e.method="textDocument/didOpen",e.type=new i.ProtocolNotificationType(e.method)}(t.DidOpenTextDocumentNotification||(t.DidOpenTextDocumentNotification={})),function(e){e.isIncremental=function(e){let t=e;return null!=t&&"string"==typeof t.text&&void 0!==t.range&&(void 0===t.rangeLength||"number"==typeof t.rangeLength)},e.isFull=function(e){let t=e;return null!=t&&"string"==typeof t.text&&void 0===t.range&&void 0===t.rangeLength}}(t.TextDocumentContentChangeEvent||(t.TextDocumentContentChangeEvent={})),function(e){e.method="textDocument/didChange",e.type=new i.ProtocolNotificationType(e.method)}(t.DidChangeTextDocumentNotification||(t.DidChangeTextDocumentNotification={})),function(e){e.method="textDocument/didClose",e.type=new i.ProtocolNotificationType(e.method)}(t.DidCloseTextDocumentNotification||(t.DidCloseTextDocumentNotification={})),function(e){e.method="textDocument/didSave",e.type=new i.ProtocolNotificationType(e.method)}(t.DidSaveTextDocumentNotification||(t.DidSaveTextDocumentNotification={})),function(e){e.Manual=1,e.AfterDelay=2,e.FocusOut=3}(t.TextDocumentSaveReason||(t.TextDocumentSaveReason={})),function(e){e.method="textDocument/willSave",e.type=new i.ProtocolNotificationType(e.method)}(t.WillSaveTextDocumentNotification||(t.WillSaveTextDocumentNotification={})),function(e){e.method="textDocument/willSaveWaitUntil",e.type=new i.ProtocolRequestType(e.method)}(t.WillSaveTextDocumentWaitUntilRequest||(t.WillSaveTextDocumentWaitUntilRequest={})),function(e){e.type=new i.ProtocolNotificationType("workspace/didChangeWatchedFiles")}(t.DidChangeWatchedFilesNotification||(t.DidChangeWatchedFilesNotification={})),function(e){e.Created=1,e.Changed=2,e.Deleted=3}(t.FileChangeType||(t.FileChangeType={})),function(e){e.Create=1,e.Change=2,e.Delete=4}(t.WatchKind||(t.WatchKind={})),function(e){e.type=new i.ProtocolNotificationType("textDocument/publishDiagnostics")}(t.PublishDiagnosticsNotification||(t.PublishDiagnosticsNotification={})),function(e){e.Invoked=1,e.TriggerCharacter=2,e.TriggerForIncompleteCompletions=3}(t.CompletionTriggerKind||(t.CompletionTriggerKind={})),function(e){e.method="textDocument/completion",e.type=new i.ProtocolRequestType(e.method)}(t.CompletionRequest||(t.CompletionRequest={})),function(e){e.method="completionItem/resolve",e.type=new i.ProtocolRequestType(e.method)}(t.CompletionResolveRequest||(t.CompletionResolveRequest={})),function(e){e.method="textDocument/hover",e.type=new i.ProtocolRequestType(e.method)}(t.HoverRequest||(t.HoverRequest={})),function(e){e.Invoked=1,e.TriggerCharacter=2,e.ContentChange=3}(t.SignatureHelpTriggerKind||(t.SignatureHelpTriggerKind={})),function(e){e.method="textDocument/signatureHelp",e.type=new i.ProtocolRequestType(e.method)}(t.SignatureHelpRequest||(t.SignatureHelpRequest={})),function(e){e.method="textDocument/definition",e.type=new i.ProtocolRequestType(e.method)}(t.DefinitionRequest||(t.DefinitionRequest={})),function(e){e.method="textDocument/references",e.type=new i.ProtocolRequestType(e.method)}(t.ReferencesRequest||(t.ReferencesRequest={})),function(e){e.method="textDocument/documentHighlight",e.type=new i.ProtocolRequestType(e.method)}(t.DocumentHighlightRequest||(t.DocumentHighlightRequest={})),function(e){e.method="textDocument/documentSymbol",e.type=new i.ProtocolRequestType(e.method)}(t.DocumentSymbolRequest||(t.DocumentSymbolRequest={})),function(e){e.method="textDocument/codeAction",e.type=new i.ProtocolRequestType(e.method)}(t.CodeActionRequest||(t.CodeActionRequest={})),function(e){e.method="codeAction/resolve",e.type=new i.ProtocolRequestType(e.method)}(t.CodeActionResolveRequest||(t.CodeActionResolveRequest={})),function(e){e.method="workspace/symbol",e.type=new i.ProtocolRequestType(e.method)}(t.WorkspaceSymbolRequest||(t.WorkspaceSymbolRequest={})),function(e){e.method="textDocument/codeLens",e.type=new i.ProtocolRequestType(e.method)}(t.CodeLensRequest||(t.CodeLensRequest={})),function(e){e.method="codeLens/resolve",e.type=new i.ProtocolRequestType(e.method)}(t.CodeLensResolveRequest||(t.CodeLensResolveRequest={})),function(e){e.method="workspace/codeLens/refresh",e.type=new i.ProtocolRequestType0(e.method)}(t.CodeLensRefreshRequest||(t.CodeLensRefreshRequest={})),function(e){e.method="textDocument/documentLink",e.type=new i.ProtocolRequestType(e.method)}(t.DocumentLinkRequest||(t.DocumentLinkRequest={})),function(e){e.method="documentLink/resolve",e.type=new i.ProtocolRequestType(e.method)}(t.DocumentLinkResolveRequest||(t.DocumentLinkResolveRequest={})),function(e){e.method="textDocument/formatting",e.type=new i.ProtocolRequestType(e.method)}(t.DocumentFormattingRequest||(t.DocumentFormattingRequest={})),function(e){e.method="textDocument/rangeFormatting",e.type=new i.ProtocolRequestType(e.method)}(t.DocumentRangeFormattingRequest||(t.DocumentRangeFormattingRequest={})),function(e){e.method="textDocument/onTypeFormatting",e.type=new i.ProtocolRequestType(e.method)}(t.DocumentOnTypeFormattingRequest||(t.DocumentOnTypeFormattingRequest={})),function(e){e.Identifier=1}(t.PrepareSupportDefaultBehavior||(t.PrepareSupportDefaultBehavior={})),function(e){e.method="textDocument/rename",e.type=new i.ProtocolRequestType(e.method)}(t.RenameRequest||(t.RenameRequest={})),function(e){e.method="textDocument/prepareRename",e.type=new i.ProtocolRequestType(e.method)}(t.PrepareRenameRequest||(t.PrepareRenameRequest={})),function(e){e.type=new i.ProtocolRequestType("workspace/executeCommand")}(t.ExecuteCommandRequest||(t.ExecuteCommandRequest={})),function(e){e.type=new i.ProtocolRequestType("workspace/applyEdit")}(t.ApplyWorkspaceEditRequest||(t.ApplyWorkspaceEditRequest={}))},8727:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LinkedEditingRangeRequest=void 0;const r=n(8126);!function(e){e.method="textDocument/linkedEditingRange",e.type=new r.ProtocolRequestType(e.method)}(t.LinkedEditingRangeRequest||(t.LinkedEditingRangeRequest={}))},608:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MonikerRequest=t.MonikerKind=t.UniquenessLevel=void 0;const r=n(8126);!function(e){e.document="document",e.project="project",e.group="group",e.scheme="scheme",e.global="global"}(t.UniquenessLevel||(t.UniquenessLevel={})),function(e){e.import="import",e.export="export",e.local="local"}(t.MonikerKind||(t.MonikerKind={})),function(e){e.method="textDocument/moniker",e.type=new r.ProtocolRequestType(e.method)}(t.MonikerRequest||(t.MonikerRequest={}))},5431:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WorkDoneProgressCancelNotification=t.WorkDoneProgressCreateRequest=t.WorkDoneProgress=void 0;const r=n(1983),i=n(8126);!function(e){e.type=new r.ProgressType,e.is=function(t){return t===e.type}}(t.WorkDoneProgress||(t.WorkDoneProgress={})),function(e){e.type=new i.ProtocolRequestType("window/workDoneProgress/create")}(t.WorkDoneProgressCreateRequest||(t.WorkDoneProgressCreateRequest={})),function(e){e.type=new i.ProtocolNotificationType("window/workDoneProgress/cancel")}(t.WorkDoneProgressCancelNotification||(t.WorkDoneProgressCancelNotification={}))},7424:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SelectionRangeRequest=void 0;const r=n(8126);!function(e){e.method="textDocument/selectionRange",e.type=new r.ProtocolRequestType(e.method)}(t.SelectionRangeRequest||(t.SelectionRangeRequest={}))},4918:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SemanticTokensRefreshRequest=t.SemanticTokensRangeRequest=t.SemanticTokensDeltaRequest=t.SemanticTokensRequest=t.SemanticTokensRegistrationType=t.TokenFormat=t.SemanticTokens=t.SemanticTokenModifiers=t.SemanticTokenTypes=void 0;const r=n(8126);!function(e){e.namespace="namespace",e.type="type",e.class="class",e.enum="enum",e.interface="interface",e.struct="struct",e.typeParameter="typeParameter",e.parameter="parameter",e.variable="variable",e.property="property",e.enumMember="enumMember",e.event="event",e.function="function",e.method="method",e.macro="macro",e.keyword="keyword",e.modifier="modifier",e.comment="comment",e.string="string",e.number="number",e.regexp="regexp",e.operator="operator"}(t.SemanticTokenTypes||(t.SemanticTokenTypes={})),function(e){e.declaration="declaration",e.definition="definition",e.readonly="readonly",e.static="static",e.deprecated="deprecated",e.abstract="abstract",e.async="async",e.modification="modification",e.documentation="documentation",e.defaultLibrary="defaultLibrary"}(t.SemanticTokenModifiers||(t.SemanticTokenModifiers={})),function(e){e.is=function(e){const t=e;return void 0!==t&&(void 0===t.resultId||"string"==typeof t.resultId)&&Array.isArray(t.data)&&(0===t.data.length||"number"==typeof t.data[0])}}(t.SemanticTokens||(t.SemanticTokens={})),function(e){e.Relative="relative"}(t.TokenFormat||(t.TokenFormat={})),function(e){e.method="textDocument/semanticTokens",e.type=new r.RegistrationType(e.method)}(t.SemanticTokensRegistrationType||(t.SemanticTokensRegistrationType={})),function(e){e.method="textDocument/semanticTokens/full",e.type=new r.ProtocolRequestType(e.method)}(t.SemanticTokensRequest||(t.SemanticTokensRequest={})),function(e){e.method="textDocument/semanticTokens/full/delta",e.type=new r.ProtocolRequestType(e.method)}(t.SemanticTokensDeltaRequest||(t.SemanticTokensDeltaRequest={})),function(e){e.method="textDocument/semanticTokens/range",e.type=new r.ProtocolRequestType(e.method)}(t.SemanticTokensRangeRequest||(t.SemanticTokensRangeRequest={})),function(e){e.method="workspace/semanticTokens/refresh",e.type=new r.ProtocolRequestType0(e.method)}(t.SemanticTokensRefreshRequest||(t.SemanticTokensRefreshRequest={}))},9806:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ShowDocumentRequest=void 0;const r=n(8126);!function(e){e.method="window/showDocument",e.type=new r.ProtocolRequestType(e.method)}(t.ShowDocumentRequest||(t.ShowDocumentRequest={}))},9895:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TypeDefinitionRequest=void 0;const r=n(8126);!function(e){e.method="textDocument/typeDefinition",e.type=new r.ProtocolRequestType(e.method)}(t.TypeDefinitionRequest||(t.TypeDefinitionRequest={}))},6432:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DidChangeWorkspaceFoldersNotification=t.WorkspaceFoldersRequest=void 0;const r=n(8126);!function(e){e.type=new r.ProtocolRequestType0("workspace/workspaceFolders")}(t.WorkspaceFoldersRequest||(t.WorkspaceFoldersRequest={})),function(e){e.type=new r.ProtocolNotificationType("workspace/didChangeWorkspaceFolders")}(t.DidChangeWorkspaceFoldersNotification||(t.DidChangeWorkspaceFoldersNotification={}))},4065:(e,t)=>{"use strict";function n(e){return"string"==typeof e||e instanceof String}function r(e){return Array.isArray(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.objectLiteral=t.typedArray=t.stringArray=t.array=t.func=t.error=t.number=t.string=t.boolean=void 0,t.boolean=function(e){return!0===e||!1===e},t.string=n,t.number=function(e){return"number"==typeof e||e instanceof Number},t.error=function(e){return e instanceof Error},t.func=function(e){return"function"==typeof e},t.array=r,t.stringArray=function(e){return r(e)&&e.every(e=>n(e))},t.typedArray=function(e,t){return Array.isArray(e)&&e.every(t)},t.objectLiteral=function(e){return null!==e&&"object"==typeof e}},3302:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.createProtocolConnection=void 0;const s=n(8186);i(n(8186),t),i(n(6474),t),t.createProtocolConnection=function(e,t,n,r){return s.createMessageConnection(e,t,n,r)}},7798:(e,t,n)=>{"use strict";e.exports=n(3302)},7960:(e,t)=>{!function(t){if("object"==typeof e.exports){var n=t(require);void 0!==n&&(e.exports=n)}else"function"==typeof define&&define.amd&&define(["require","exports"],t)}((function(){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var e=function(){function e(e,t,n,r){this._uri=e,this._languageId=t,this._version=n,this._content=r,this._lineOffsets=void 0}return Object.defineProperty(e.prototype,"uri",{get:function(){return this._uri},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"languageId",{get:function(){return this._languageId},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"version",{get:function(){return this._version},enumerable:!0,configurable:!0}),e.prototype.getText=function(e){if(e){var t=this.offsetAt(e.start),n=this.offsetAt(e.end);return this._content.substring(t,n)}return this._content},e.prototype.update=function(t,i){for(var s=0,o=t;se?r=i:n=i+1}var s=n-1;return{line:s,character:e-t[s]}},e.prototype.offsetAt=function(e){var t=this.getLineOffsets();if(e.line>=t.length)return this._content.length;if(e.line<0)return 0;var n=t[e.line],r=e.line+1n.line||t.line===n.line&&t.character>n.character?{start:n,end:t}:e}function i(e){var t=r(e.range);return t!==e.range?{newText:e.newText,range:t}:e}!function(t){t.create=function(t,n,r,i){return new e(t,n,r,i)},t.update=function(t,n,r){if(t instanceof e)return t.update(n,r),t;throw new Error("TextDocument.update: document must be created by TextDocument.create")},t.applyEdits=function(e,t){for(var n=e.getText(),r=0,s=[],o=0,a=function e(t,n){if(t.length<=1)return t;var r=t.length/2|0,i=t.slice(0,r),s=t.slice(r);e(i,n),e(s,n);var o=0,a=0,c=0;for(;or&&s.push(n.substring(r,l)),c.newText.length&&s.push(c.newText),r=e.offsetAt(c.range.end)}return s.push(n.substr(r)),s.join("")}}(t.TextDocument||(t.TextDocument={}))}))},4726:(e,t)=>{!function(t){if("object"==typeof e.exports){var n=t(require);void 0!==n&&(e.exports=n)}else"function"==typeof define&&define.amd&&define(["require","exports"],t)}((function(){"use strict";var e,n,r,i,s,o,a,c,l,u,h,p,d,f,m,g,v;Object.defineProperty(t,"__esModule",{value:!0}),t.TextDocument=t.EOL=t.SelectionRange=t.DocumentLink=t.FormattingOptions=t.CodeLens=t.CodeAction=t.CodeActionContext=t.CodeActionKind=t.DocumentSymbol=t.SymbolInformation=t.SymbolTag=t.SymbolKind=t.DocumentHighlight=t.DocumentHighlightKind=t.SignatureInformation=t.ParameterInformation=t.Hover=t.MarkedString=t.CompletionList=t.CompletionItem=t.InsertTextMode=t.InsertReplaceEdit=t.CompletionItemTag=t.InsertTextFormat=t.CompletionItemKind=t.MarkupContent=t.MarkupKind=t.TextDocumentItem=t.OptionalVersionedTextDocumentIdentifier=t.VersionedTextDocumentIdentifier=t.TextDocumentIdentifier=t.WorkspaceChange=t.WorkspaceEdit=t.DeleteFile=t.RenameFile=t.CreateFile=t.TextDocumentEdit=t.AnnotatedTextEdit=t.ChangeAnnotationIdentifier=t.ChangeAnnotation=t.TextEdit=t.Command=t.Diagnostic=t.CodeDescription=t.DiagnosticTag=t.DiagnosticSeverity=t.DiagnosticRelatedInformation=t.FoldingRange=t.FoldingRangeKind=t.ColorPresentation=t.ColorInformation=t.Color=t.LocationLink=t.Location=t.Range=t.Position=t.uinteger=t.integer=void 0,function(e){e.MIN_VALUE=-2147483648,e.MAX_VALUE=2147483647}(t.integer||(t.integer={})),function(e){e.MIN_VALUE=0,e.MAX_VALUE=2147483647}(e=t.uinteger||(t.uinteger={})),function(t){t.create=function(t,n){return t===Number.MAX_VALUE&&(t=e.MAX_VALUE),n===Number.MAX_VALUE&&(n=e.MAX_VALUE),{line:t,character:n}},t.is=function(e){var t=e;return S.objectLiteral(t)&&S.uinteger(t.line)&&S.uinteger(t.character)}}(n=t.Position||(t.Position={})),function(e){e.create=function(e,t,r,i){if(S.uinteger(e)&&S.uinteger(t)&&S.uinteger(r)&&S.uinteger(i))return{start:n.create(e,t),end:n.create(r,i)};if(n.is(e)&&n.is(t))return{start:e,end:t};throw new Error("Range#create called with invalid arguments["+e+", "+t+", "+r+", "+i+"]")},e.is=function(e){var t=e;return S.objectLiteral(t)&&n.is(t.start)&&n.is(t.end)}}(r=t.Range||(t.Range={})),function(e){e.create=function(e,t){return{uri:e,range:t}},e.is=function(e){var t=e;return S.defined(t)&&r.is(t.range)&&(S.string(t.uri)||S.undefined(t.uri))}}(i=t.Location||(t.Location={})),function(e){e.create=function(e,t,n,r){return{targetUri:e,targetRange:t,targetSelectionRange:n,originSelectionRange:r}},e.is=function(e){var t=e;return S.defined(t)&&r.is(t.targetRange)&&S.string(t.targetUri)&&(r.is(t.targetSelectionRange)||S.undefined(t.targetSelectionRange))&&(r.is(t.originSelectionRange)||S.undefined(t.originSelectionRange))}}(t.LocationLink||(t.LocationLink={})),function(e){e.create=function(e,t,n,r){return{red:e,green:t,blue:n,alpha:r}},e.is=function(e){var t=e;return S.numberRange(t.red,0,1)&&S.numberRange(t.green,0,1)&&S.numberRange(t.blue,0,1)&&S.numberRange(t.alpha,0,1)}}(s=t.Color||(t.Color={})),function(e){e.create=function(e,t){return{range:e,color:t}},e.is=function(e){var t=e;return r.is(t.range)&&s.is(t.color)}}(t.ColorInformation||(t.ColorInformation={})),function(e){e.create=function(e,t,n){return{label:e,textEdit:t,additionalTextEdits:n}},e.is=function(e){var t=e;return S.string(t.label)&&(S.undefined(t.textEdit)||l.is(t))&&(S.undefined(t.additionalTextEdits)||S.typedArray(t.additionalTextEdits,l.is))}}(t.ColorPresentation||(t.ColorPresentation={})),function(e){e.Comment="comment",e.Imports="imports",e.Region="region"}(t.FoldingRangeKind||(t.FoldingRangeKind={})),function(e){e.create=function(e,t,n,r,i){var s={startLine:e,endLine:t};return S.defined(n)&&(s.startCharacter=n),S.defined(r)&&(s.endCharacter=r),S.defined(i)&&(s.kind=i),s},e.is=function(e){var t=e;return S.uinteger(t.startLine)&&S.uinteger(t.startLine)&&(S.undefined(t.startCharacter)||S.uinteger(t.startCharacter))&&(S.undefined(t.endCharacter)||S.uinteger(t.endCharacter))&&(S.undefined(t.kind)||S.string(t.kind))}}(t.FoldingRange||(t.FoldingRange={})),function(e){e.create=function(e,t){return{location:e,message:t}},e.is=function(e){var t=e;return S.defined(t)&&i.is(t.location)&&S.string(t.message)}}(o=t.DiagnosticRelatedInformation||(t.DiagnosticRelatedInformation={})),function(e){e.Error=1,e.Warning=2,e.Information=3,e.Hint=4}(t.DiagnosticSeverity||(t.DiagnosticSeverity={})),function(e){e.Unnecessary=1,e.Deprecated=2}(t.DiagnosticTag||(t.DiagnosticTag={})),function(e){e.is=function(e){var t=e;return null!=t&&S.string(t.href)}}(t.CodeDescription||(t.CodeDescription={})),function(e){e.create=function(e,t,n,r,i,s){var o={range:e,message:t};return S.defined(n)&&(o.severity=n),S.defined(r)&&(o.code=r),S.defined(i)&&(o.source=i),S.defined(s)&&(o.relatedInformation=s),o},e.is=function(e){var t,n=e;return S.defined(n)&&r.is(n.range)&&S.string(n.message)&&(S.number(n.severity)||S.undefined(n.severity))&&(S.integer(n.code)||S.string(n.code)||S.undefined(n.code))&&(S.undefined(n.codeDescription)||S.string(null===(t=n.codeDescription)||void 0===t?void 0:t.href))&&(S.string(n.source)||S.undefined(n.source))&&(S.undefined(n.relatedInformation)||S.typedArray(n.relatedInformation,o.is))}}(a=t.Diagnostic||(t.Diagnostic={})),function(e){e.create=function(e,t){for(var n=[],r=2;r0&&(i.arguments=n),i},e.is=function(e){var t=e;return S.defined(t)&&S.string(t.title)&&S.string(t.command)}}(c=t.Command||(t.Command={})),function(e){e.replace=function(e,t){return{range:e,newText:t}},e.insert=function(e,t){return{range:{start:e,end:e},newText:t}},e.del=function(e){return{range:e,newText:""}},e.is=function(e){var t=e;return S.objectLiteral(t)&&S.string(t.newText)&&r.is(t.range)}}(l=t.TextEdit||(t.TextEdit={})),function(e){e.create=function(e,t,n){var r={label:e};return void 0!==t&&(r.needsConfirmation=t),void 0!==n&&(r.description=n),r},e.is=function(e){var t=e;return void 0!==t&&S.objectLiteral(t)&&S.string(t.label)&&(S.boolean(t.needsConfirmation)||void 0===t.needsConfirmation)&&(S.string(t.description)||void 0===t.description)}}(u=t.ChangeAnnotation||(t.ChangeAnnotation={})),function(e){e.is=function(e){return"string"==typeof e}}(h=t.ChangeAnnotationIdentifier||(t.ChangeAnnotationIdentifier={})),function(e){e.replace=function(e,t,n){return{range:e,newText:t,annotationId:n}},e.insert=function(e,t,n){return{range:{start:e,end:e},newText:t,annotationId:n}},e.del=function(e,t){return{range:e,newText:"",annotationId:t}},e.is=function(e){var t=e;return l.is(t)&&(u.is(t.annotationId)||h.is(t.annotationId))}}(p=t.AnnotatedTextEdit||(t.AnnotatedTextEdit={})),function(e){e.create=function(e,t){return{textDocument:e,edits:t}},e.is=function(e){var t=e;return S.defined(t)&&y.is(t.textDocument)&&Array.isArray(t.edits)}}(d=t.TextDocumentEdit||(t.TextDocumentEdit={})),function(e){e.create=function(e,t,n){var r={kind:"create",uri:e};return void 0===t||void 0===t.overwrite&&void 0===t.ignoreIfExists||(r.options=t),void 0!==n&&(r.annotationId=n),r},e.is=function(e){var t=e;return t&&"create"===t.kind&&S.string(t.uri)&&(void 0===t.options||(void 0===t.options.overwrite||S.boolean(t.options.overwrite))&&(void 0===t.options.ignoreIfExists||S.boolean(t.options.ignoreIfExists)))&&(void 0===t.annotationId||h.is(t.annotationId))}}(f=t.CreateFile||(t.CreateFile={})),function(e){e.create=function(e,t,n,r){var i={kind:"rename",oldUri:e,newUri:t};return void 0===n||void 0===n.overwrite&&void 0===n.ignoreIfExists||(i.options=n),void 0!==r&&(i.annotationId=r),i},e.is=function(e){var t=e;return t&&"rename"===t.kind&&S.string(t.oldUri)&&S.string(t.newUri)&&(void 0===t.options||(void 0===t.options.overwrite||S.boolean(t.options.overwrite))&&(void 0===t.options.ignoreIfExists||S.boolean(t.options.ignoreIfExists)))&&(void 0===t.annotationId||h.is(t.annotationId))}}(m=t.RenameFile||(t.RenameFile={})),function(e){e.create=function(e,t,n){var r={kind:"delete",uri:e};return void 0===t||void 0===t.recursive&&void 0===t.ignoreIfNotExists||(r.options=t),void 0!==n&&(r.annotationId=n),r},e.is=function(e){var t=e;return t&&"delete"===t.kind&&S.string(t.uri)&&(void 0===t.options||(void 0===t.options.recursive||S.boolean(t.options.recursive))&&(void 0===t.options.ignoreIfNotExists||S.boolean(t.options.ignoreIfNotExists)))&&(void 0===t.annotationId||h.is(t.annotationId))}}(g=t.DeleteFile||(t.DeleteFile={})),function(e){e.is=function(e){var t=e;return t&&(void 0!==t.changes||void 0!==t.documentChanges)&&(void 0===t.documentChanges||t.documentChanges.every((function(e){return S.string(e.kind)?f.is(e)||m.is(e)||g.is(e):d.is(e)})))}}(v=t.WorkspaceEdit||(t.WorkspaceEdit={}));var y,b,_,w,x=function(){function e(e,t){this.edits=e,this.changeAnnotations=t}return e.prototype.insert=function(e,t,n){var r,i;if(void 0===n?r=l.insert(e,t):h.is(n)?(i=n,r=p.insert(e,t,n)):(this.assertChangeAnnotations(this.changeAnnotations),i=this.changeAnnotations.manage(n),r=p.insert(e,t,i)),this.edits.push(r),void 0!==i)return i},e.prototype.replace=function(e,t,n){var r,i;if(void 0===n?r=l.replace(e,t):h.is(n)?(i=n,r=p.replace(e,t,n)):(this.assertChangeAnnotations(this.changeAnnotations),i=this.changeAnnotations.manage(n),r=p.replace(e,t,i)),this.edits.push(r),void 0!==i)return i},e.prototype.delete=function(e,t){var n,r;if(void 0===t?n=l.del(e):h.is(t)?(r=t,n=p.del(e,t)):(this.assertChangeAnnotations(this.changeAnnotations),r=this.changeAnnotations.manage(t),n=p.del(e,r)),this.edits.push(n),void 0!==r)return r},e.prototype.add=function(e){this.edits.push(e)},e.prototype.all=function(){return this.edits},e.prototype.clear=function(){this.edits.splice(0,this.edits.length)},e.prototype.assertChangeAnnotations=function(e){if(void 0===e)throw new Error("Text edit change is not configured to manage change annotations.")},e}(),k=function(){function e(e){this._annotations=void 0===e?Object.create(null):e,this._counter=0,this._size=0}return e.prototype.all=function(){return this._annotations},Object.defineProperty(e.prototype,"size",{get:function(){return this._size},enumerable:!1,configurable:!0}),e.prototype.manage=function(e,t){var n;if(h.is(e)?n=e:(n=this.nextId(),t=e),void 0!==this._annotations[n])throw new Error("Id "+n+" is already in use.");if(void 0===t)throw new Error("No annotation provided for id "+n);return this._annotations[n]=t,this._size++,n},e.prototype.nextId=function(){return this._counter++,this._counter.toString()},e}(),E=function(){function e(e){var t=this;this._textEditChanges=Object.create(null),void 0!==e?(this._workspaceEdit=e,e.documentChanges?(this._changeAnnotations=new k(e.changeAnnotations),e.changeAnnotations=this._changeAnnotations.all(),e.documentChanges.forEach((function(e){if(d.is(e)){var n=new x(e.edits,t._changeAnnotations);t._textEditChanges[e.textDocument.uri]=n}}))):e.changes&&Object.keys(e.changes).forEach((function(n){var r=new x(e.changes[n]);t._textEditChanges[n]=r}))):this._workspaceEdit={}}return Object.defineProperty(e.prototype,"edit",{get:function(){return this.initDocumentChanges(),void 0!==this._changeAnnotations&&(0===this._changeAnnotations.size?this._workspaceEdit.changeAnnotations=void 0:this._workspaceEdit.changeAnnotations=this._changeAnnotations.all()),this._workspaceEdit},enumerable:!1,configurable:!0}),e.prototype.getTextEditChange=function(e){if(y.is(e)){if(this.initDocumentChanges(),void 0===this._workspaceEdit.documentChanges)throw new Error("Workspace edit is not configured for document changes.");var t={uri:e.uri,version:e.version};if(!(r=this._textEditChanges[t.uri])){var n={textDocument:t,edits:i=[]};this._workspaceEdit.documentChanges.push(n),r=new x(i,this._changeAnnotations),this._textEditChanges[t.uri]=r}return r}if(this.initChanges(),void 0===this._workspaceEdit.changes)throw new Error("Workspace edit is not configured for normal text edit changes.");var r;if(!(r=this._textEditChanges[e])){var i=[];this._workspaceEdit.changes[e]=i,r=new x(i),this._textEditChanges[e]=r}return r},e.prototype.initDocumentChanges=function(){void 0===this._workspaceEdit.documentChanges&&void 0===this._workspaceEdit.changes&&(this._changeAnnotations=new k,this._workspaceEdit.documentChanges=[],this._workspaceEdit.changeAnnotations=this._changeAnnotations.all())},e.prototype.initChanges=function(){void 0===this._workspaceEdit.documentChanges&&void 0===this._workspaceEdit.changes&&(this._workspaceEdit.changes=Object.create(null))},e.prototype.createFile=function(e,t,n){if(this.initDocumentChanges(),void 0===this._workspaceEdit.documentChanges)throw new Error("Workspace edit is not configured for document changes.");var r,i,s;if(u.is(t)||h.is(t)?r=t:n=t,void 0===r?i=f.create(e,n):(s=h.is(r)?r:this._changeAnnotations.manage(r),i=f.create(e,n,s)),this._workspaceEdit.documentChanges.push(i),void 0!==s)return s},e.prototype.renameFile=function(e,t,n,r){if(this.initDocumentChanges(),void 0===this._workspaceEdit.documentChanges)throw new Error("Workspace edit is not configured for document changes.");var i,s,o;if(u.is(n)||h.is(n)?i=n:r=n,void 0===i?s=m.create(e,t,r):(o=h.is(i)?i:this._changeAnnotations.manage(i),s=m.create(e,t,r,o)),this._workspaceEdit.documentChanges.push(s),void 0!==o)return o},e.prototype.deleteFile=function(e,t,n){if(this.initDocumentChanges(),void 0===this._workspaceEdit.documentChanges)throw new Error("Workspace edit is not configured for document changes.");var r,i,s;if(u.is(t)||h.is(t)?r=t:n=t,void 0===r?i=g.create(e,n):(s=h.is(r)?r:this._changeAnnotations.manage(r),i=g.create(e,n,s)),this._workspaceEdit.documentChanges.push(i),void 0!==s)return s},e}();t.WorkspaceChange=E,function(e){e.create=function(e){return{uri:e}},e.is=function(e){var t=e;return S.defined(t)&&S.string(t.uri)}}(t.TextDocumentIdentifier||(t.TextDocumentIdentifier={})),function(e){e.create=function(e,t){return{uri:e,version:t}},e.is=function(e){var t=e;return S.defined(t)&&S.string(t.uri)&&S.integer(t.version)}}(t.VersionedTextDocumentIdentifier||(t.VersionedTextDocumentIdentifier={})),function(e){e.create=function(e,t){return{uri:e,version:t}},e.is=function(e){var t=e;return S.defined(t)&&S.string(t.uri)&&(null===t.version||S.integer(t.version))}}(y=t.OptionalVersionedTextDocumentIdentifier||(t.OptionalVersionedTextDocumentIdentifier={})),function(e){e.create=function(e,t,n,r){return{uri:e,languageId:t,version:n,text:r}},e.is=function(e){var t=e;return S.defined(t)&&S.string(t.uri)&&S.string(t.languageId)&&S.integer(t.version)&&S.string(t.text)}}(t.TextDocumentItem||(t.TextDocumentItem={})),function(e){e.PlainText="plaintext",e.Markdown="markdown"}(b=t.MarkupKind||(t.MarkupKind={})),function(e){e.is=function(t){var n=t;return n===e.PlainText||n===e.Markdown}}(b=t.MarkupKind||(t.MarkupKind={})),function(e){e.is=function(e){var t=e;return S.objectLiteral(e)&&b.is(t.kind)&&S.string(t.value)}}(_=t.MarkupContent||(t.MarkupContent={})),function(e){e.Text=1,e.Method=2,e.Function=3,e.Constructor=4,e.Field=5,e.Variable=6,e.Class=7,e.Interface=8,e.Module=9,e.Property=10,e.Unit=11,e.Value=12,e.Enum=13,e.Keyword=14,e.Snippet=15,e.Color=16,e.File=17,e.Reference=18,e.Folder=19,e.EnumMember=20,e.Constant=21,e.Struct=22,e.Event=23,e.Operator=24,e.TypeParameter=25}(t.CompletionItemKind||(t.CompletionItemKind={})),function(e){e.PlainText=1,e.Snippet=2}(t.InsertTextFormat||(t.InsertTextFormat={})),function(e){e.Deprecated=1}(t.CompletionItemTag||(t.CompletionItemTag={})),function(e){e.create=function(e,t,n){return{newText:e,insert:t,replace:n}},e.is=function(e){var t=e;return t&&S.string(t.newText)&&r.is(t.insert)&&r.is(t.replace)}}(t.InsertReplaceEdit||(t.InsertReplaceEdit={})),function(e){e.asIs=1,e.adjustIndentation=2}(t.InsertTextMode||(t.InsertTextMode={})),function(e){e.create=function(e){return{label:e}}}(t.CompletionItem||(t.CompletionItem={})),function(e){e.create=function(e,t){return{items:e||[],isIncomplete:!!t}}}(t.CompletionList||(t.CompletionList={})),function(e){e.fromPlainText=function(e){return e.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")},e.is=function(e){var t=e;return S.string(t)||S.objectLiteral(t)&&S.string(t.language)&&S.string(t.value)}}(w=t.MarkedString||(t.MarkedString={})),function(e){e.is=function(e){var t=e;return!!t&&S.objectLiteral(t)&&(_.is(t.contents)||w.is(t.contents)||S.typedArray(t.contents,w.is))&&(void 0===e.range||r.is(e.range))}}(t.Hover||(t.Hover={})),function(e){e.create=function(e,t){return t?{label:e,documentation:t}:{label:e}}}(t.ParameterInformation||(t.ParameterInformation={})),function(e){e.create=function(e,t){for(var n=[],r=2;r=0;s--){var o=r[s],a=e.offsetAt(o.range.start),c=e.offsetAt(o.range.end);if(!(c<=i))throw new Error("Overlapping edit");n=n.substring(0,a)+o.newText+n.substring(c,n.length),i=a}return n}}(t.TextDocument||(t.TextDocument={}));var S,C=function(){function e(e,t,n,r){this._uri=e,this._languageId=t,this._version=n,this._content=r,this._lineOffsets=void 0}return Object.defineProperty(e.prototype,"uri",{get:function(){return this._uri},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"languageId",{get:function(){return this._languageId},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"version",{get:function(){return this._version},enumerable:!1,configurable:!0}),e.prototype.getText=function(e){if(e){var t=this.offsetAt(e.start),n=this.offsetAt(e.end);return this._content.substring(t,n)}return this._content},e.prototype.update=function(e,t){this._content=e.text,this._version=t,this._lineOffsets=void 0},e.prototype.getLineOffsets=function(){if(void 0===this._lineOffsets){for(var e=[],t=this._content,n=!0,r=0;r0&&e.push(t.length),this._lineOffsets=e}return this._lineOffsets},e.prototype.positionAt=function(e){e=Math.max(Math.min(e,this._content.length),0);var t=this.getLineOffsets(),r=0,i=t.length;if(0===i)return n.create(0,e);for(;re?i=s:r=s+1}var o=r-1;return n.create(o,e-t[o])},e.prototype.offsetAt=function(e){var t=this.getLineOffsets();if(e.line>=t.length)return this._content.length;if(e.line<0)return 0;var n=t[e.line],r=e.line+1{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CallHierarchyFeature=void 0;const r=n(3302);t.CallHierarchyFeature=e=>class extends e{get callHierarchy(){return{onPrepare:e=>{this.connection.onRequest(r.CallHierarchyPrepareRequest.type,(t,n)=>e(t,n,this.attachWorkDoneProgress(t),void 0))},onIncomingCalls:e=>{const t=r.CallHierarchyIncomingCallsRequest.type;this.connection.onRequest(t,(n,r)=>e(n,r,this.attachWorkDoneProgress(n),this.attachPartialResultProgress(t,n)))},onOutgoingCalls:e=>{const t=r.CallHierarchyOutgoingCallsRequest.type;this.connection.onRequest(t,(n,r)=>e(n,r,this.attachWorkDoneProgress(n),this.attachPartialResultProgress(t,n)))}}}}},7792:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ConfigurationFeature=void 0;const r=n(3302),i=n(7018);t.ConfigurationFeature=e=>class extends e{getConfiguration(e){return e?i.string(e)?this._getConfiguration({section:e}):this._getConfiguration(e):this._getConfiguration({})}_getConfiguration(e){let t={items:Array.isArray(e)?e:[e]};return this.connection.sendRequest(r.ConfigurationRequest.type,t).then(t=>Array.isArray(e)?t:t[0])}}},9293:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FileOperationsFeature=void 0;const r=n(3302);t.FileOperationsFeature=e=>class extends e{onDidCreateFiles(e){this.connection.onNotification(r.DidCreateFilesNotification.type,t=>{e(t)})}onDidRenameFiles(e){this.connection.onNotification(r.DidRenameFilesNotification.type,t=>{e(t)})}onDidDeleteFiles(e){this.connection.onNotification(r.DidDeleteFilesNotification.type,t=>{e(t)})}onWillCreateFiles(e){return this.connection.onRequest(r.WillCreateFilesRequest.type,(t,n)=>e(t,n))}onWillRenameFiles(e){return this.connection.onRequest(r.WillRenameFilesRequest.type,(t,n)=>e(t,n))}onWillDeleteFiles(e){return this.connection.onRequest(r.WillDeleteFilesRequest.type,(t,n)=>e(t,n))}}},6940:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LinkedEditingRangeFeature=void 0;const r=n(3302);t.LinkedEditingRangeFeature=e=>class extends e{onLinkedEditingRange(e){this.connection.onRequest(r.LinkedEditingRangeRequest.type,(t,n)=>e(t,n,this.attachWorkDoneProgress(t),void 0))}}},4097:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MonikerFeature=void 0;const r=n(3302);t.MonikerFeature=e=>class extends e{get moniker(){return{on:e=>{const t=r.MonikerRequest.type;this.connection.onRequest(t,(n,r)=>e(n,r,this.attachWorkDoneProgress(n),this.attachPartialResultProgress(t,n)))}}}}},6232:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.attachPartialResult=t.ProgressFeature=t.attachWorkDone=void 0;const r=n(3302),i=n(1702);class s{constructor(e,t){this._connection=e,this._token=t,s.Instances.set(this._token,this)}begin(e,t,n,i){let s={kind:"begin",title:e,percentage:t,message:n,cancellable:i};this._connection.sendProgress(r.WorkDoneProgress.type,this._token,s)}report(e,t){let n={kind:"report"};"number"==typeof e?(n.percentage=e,void 0!==t&&(n.message=t)):n.message=e,this._connection.sendProgress(r.WorkDoneProgress.type,this._token,n)}done(){s.Instances.delete(this._token),this._connection.sendProgress(r.WorkDoneProgress.type,this._token,{kind:"end"})}}s.Instances=new Map;class o extends s{constructor(e,t){super(e,t),this._source=new r.CancellationTokenSource}get token(){return this._source.token}done(){this._source.dispose(),super.done()}cancel(){this._source.cancel()}}class a{constructor(){}begin(){}report(){}done(){}}class c extends a{constructor(){super(),this._source=new r.CancellationTokenSource}get token(){return this._source.token}done(){this._source.dispose()}cancel(){this._source.cancel()}}t.attachWorkDone=function(e,t){if(void 0===t||void 0===t.workDoneToken)return new a;const n=t.workDoneToken;return delete t.workDoneToken,new s(e,n)};var l;t.ProgressFeature=e=>class extends e{constructor(){super(),this._progressSupported=!1}initialize(e){var t;!0===(null===(t=null==e?void 0:e.window)||void 0===t?void 0:t.workDoneProgress)&&(this._progressSupported=!0,this.connection.onNotification(r.WorkDoneProgressCancelNotification.type,e=>{let t=s.Instances.get(e.token);(t instanceof o||t instanceof c)&&t.cancel()}))}attachWorkDoneProgress(e){return void 0===e?new a:new s(this.connection,e)}createWorkDoneProgress(){if(this._progressSupported){const e=i.generateUuid();return this.connection.sendRequest(r.WorkDoneProgressCreateRequest.type,{token:e}).then(()=>new o(this.connection,e))}return Promise.resolve(new c)}},function(e){e.type=new r.ProgressType}(l||(l={}));class u{constructor(e,t){this._connection=e,this._token=t}report(e){this._connection.sendProgress(l.type,this._token,e)}}t.attachPartialResult=function(e,t){if(void 0===t||void 0===t.partialResultToken)return;const n=t.partialResultToken;return delete t.partialResultToken,new u(e,n)}},7241:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SemanticTokensBuilder=t.SemanticTokensFeature=void 0;const r=n(3302);t.SemanticTokensFeature=e=>class extends e{get semanticTokens(){return{on:e=>{const t=r.SemanticTokensRequest.type;this.connection.onRequest(t,(n,r)=>e(n,r,this.attachWorkDoneProgress(n),this.attachPartialResultProgress(t,n)))},onDelta:e=>{const t=r.SemanticTokensDeltaRequest.type;this.connection.onRequest(t,(n,r)=>e(n,r,this.attachWorkDoneProgress(n),this.attachPartialResultProgress(t,n)))},onRange:e=>{const t=r.SemanticTokensRangeRequest.type;this.connection.onRequest(t,(n,r)=>e(n,r,this.attachWorkDoneProgress(n),this.attachPartialResultProgress(t,n)))}}}};t.SemanticTokensBuilder=class{constructor(){this._prevData=void 0,this.initialize()}initialize(){this._id=Date.now(),this._prevLine=0,this._prevChar=0,this._data=[],this._dataLen=0}push(e,t,n,r,i){let s=e,o=t;this._dataLen>0&&(s-=this._prevLine,0===s&&(o-=this._prevChar)),this._data[this._dataLen++]=s,this._data[this._dataLen++]=o,this._data[this._dataLen++]=n,this._data[this._dataLen++]=r,this._data[this._dataLen++]=i,this._prevLine=e,this._prevChar=t}get id(){return this._id.toString()}previousResult(e){this.id===e&&(this._prevData=this._data),this.initialize()}build(){return this._prevData=void 0,{resultId:this.id,data:this._data}}canBuildEdits(){return void 0!==this._prevData}buildEdits(){if(void 0!==this._prevData){const e=this._prevData.length,t=this._data.length;let n=0;for(;n{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createConnection=t.combineFeatures=t.combineLanguagesFeatures=t.combineWorkspaceFeatures=t.combineWindowFeatures=t.combineClientFeatures=t.combineTracerFeatures=t.combineTelemetryFeatures=t.combineConsoleFeatures=t._LanguagesImpl=t.BulkUnregistration=t.BulkRegistration=t.ErrorMessageTracker=t.TextDocuments=void 0;const r=n(3302),i=n(7018),s=n(1702),o=n(6232),a=n(7792),c=n(2510),l=n(5354),u=n(7241),h=n(2613),p=n(9293),d=n(6940),f=n(4097);function m(e){if(null!==e)return e}t.TextDocuments=class{constructor(e){this._documents=Object.create(null),this._configuration=e,this._onDidChangeContent=new r.Emitter,this._onDidOpen=new r.Emitter,this._onDidClose=new r.Emitter,this._onDidSave=new r.Emitter,this._onWillSave=new r.Emitter}get onDidChangeContent(){return this._onDidChangeContent.event}get onDidOpen(){return this._onDidOpen.event}get onWillSave(){return this._onWillSave.event}onWillSaveWaitUntil(e){this._willSaveWaitUntil=e}get onDidSave(){return this._onDidSave.event}get onDidClose(){return this._onDidClose.event}get(e){return this._documents[e]}all(){return Object.keys(this._documents).map(e=>this._documents[e])}keys(){return Object.keys(this._documents)}listen(e){e.__textDocumentSync=r.TextDocumentSyncKind.Full,e.onDidOpenTextDocument(e=>{let t=e.textDocument,n=this._configuration.create(t.uri,t.languageId,t.version,t.text);this._documents[t.uri]=n;let r=Object.freeze({document:n});this._onDidOpen.fire(r),this._onDidChangeContent.fire(r)}),e.onDidChangeTextDocument(e=>{let t=e.textDocument,n=e.contentChanges;if(0===n.length)return;let r=this._documents[t.uri];const{version:i}=t;if(null==i)throw new Error(`Received document change event for ${t.uri} without valid version identifier`);r=this._configuration.update(r,n,i),this._documents[t.uri]=r,this._onDidChangeContent.fire(Object.freeze({document:r}))}),e.onDidCloseTextDocument(e=>{let t=this._documents[e.textDocument.uri];t&&(delete this._documents[e.textDocument.uri],this._onDidClose.fire(Object.freeze({document:t})))}),e.onWillSaveTextDocument(e=>{let t=this._documents[e.textDocument.uri];t&&this._onWillSave.fire(Object.freeze({document:t,reason:e.reason}))}),e.onWillSaveTextDocumentWaitUntil((e,t)=>{let n=this._documents[e.textDocument.uri];return n&&this._willSaveWaitUntil?this._willSaveWaitUntil(Object.freeze({document:n,reason:e.reason}),t):[]}),e.onDidSaveTextDocument(e=>{let t=this._documents[e.textDocument.uri];t&&this._onDidSave.fire(Object.freeze({document:t}))})}};t.ErrorMessageTracker=class{constructor(){this._messages=Object.create(null)}add(e){let t=this._messages[e];t||(t=0),t++,this._messages[e]=t}sendErrors(e){Object.keys(this._messages).forEach(t=>{e.window.showErrorMessage(t)})}};class g{constructor(){}rawAttach(e){this._rawConnection=e}attach(e){this._connection=e}get connection(){if(!this._connection)throw new Error("Remote is not attached to a connection yet.");return this._connection}fillServerCapabilities(e){}initialize(e){}error(e){this.send(r.MessageType.Error,e)}warn(e){this.send(r.MessageType.Warning,e)}info(e){this.send(r.MessageType.Info,e)}log(e){this.send(r.MessageType.Log,e)}send(e,t){this._rawConnection&&this._rawConnection.sendNotification(r.LogMessageNotification.type,{type:e,message:t})}}const v=h.ShowDocumentFeature(o.ProgressFeature(class{constructor(){}attach(e){this._connection=e}get connection(){if(!this._connection)throw new Error("Remote is not attached to a connection yet.");return this._connection}initialize(e){}fillServerCapabilities(e){}showErrorMessage(e,...t){let n={type:r.MessageType.Error,message:e,actions:t};return this.connection.sendRequest(r.ShowMessageRequest.type,n).then(m)}showWarningMessage(e,...t){let n={type:r.MessageType.Warning,message:e,actions:t};return this.connection.sendRequest(r.ShowMessageRequest.type,n).then(m)}showInformationMessage(e,...t){let n={type:r.MessageType.Info,message:e,actions:t};return this.connection.sendRequest(r.ShowMessageRequest.type,n).then(m)}}));!function(e){e.create=function(){return new y}}(t.BulkRegistration||(t.BulkRegistration={}));class y{constructor(){this._registrations=[],this._registered=new Set}add(e,t){const n=i.string(e)?e:e.method;if(this._registered.has(n))throw new Error(n+" is already added to this registration");const r=s.generateUuid();this._registrations.push({id:r,method:n,registerOptions:t||{}}),this._registered.add(n)}asRegistrationParams(){return{registrations:this._registrations}}}!function(e){e.create=function(){return new b(void 0,[])}}(t.BulkUnregistration||(t.BulkUnregistration={}));class b{constructor(e,t){this._connection=e,this._unregistrations=new Map,t.forEach(e=>{this._unregistrations.set(e.method,e)})}get isAttached(){return!!this._connection}attach(e){this._connection=e}add(e){this._unregistrations.set(e.method,e)}dispose(){let e=[];for(let t of this._unregistrations.values())e.push(t);let t={unregisterations:e};this._connection.sendRequest(r.UnregistrationRequest.type,t).then(void 0,e=>{this._connection.console.info("Bulk unregistration failed.")})}disposeSingle(e){const t=i.string(e)?e:e.method,n=this._unregistrations.get(t);if(!n)return!1;let s={unregisterations:[n]};return this._connection.sendRequest(r.UnregistrationRequest.type,s).then(()=>{this._unregistrations.delete(t)},e=>{this._connection.console.info(`Un-registering request handler for ${n.id} failed.`)}),!0}}class _{attach(e){this._connection=e}get connection(){if(!this._connection)throw new Error("Remote is not attached to a connection yet.");return this._connection}initialize(e){}fillServerCapabilities(e){}register(e,t,n){return e instanceof y?this.registerMany(e):e instanceof b?this.registerSingle1(e,t,n):this.registerSingle2(e,t)}registerSingle1(e,t,n){const o=i.string(t)?t:t.method,a=s.generateUuid();let c={registrations:[{id:a,method:o,registerOptions:n||{}}]};return e.isAttached||e.attach(this.connection),this.connection.sendRequest(r.RegistrationRequest.type,c).then(t=>(e.add({id:a,method:o}),e),e=>(this.connection.console.info(`Registering request handler for ${o} failed.`),Promise.reject(e)))}registerSingle2(e,t){const n=i.string(e)?e:e.method,o=s.generateUuid();let a={registrations:[{id:o,method:n,registerOptions:t||{}}]};return this.connection.sendRequest(r.RegistrationRequest.type,a).then(e=>r.Disposable.create(()=>{this.unregisterSingle(o,n)}),e=>(this.connection.console.info(`Registering request handler for ${n} failed.`),Promise.reject(e)))}unregisterSingle(e,t){let n={unregisterations:[{id:e,method:t}]};return this.connection.sendRequest(r.UnregistrationRequest.type,n).then(void 0,t=>{this.connection.console.info(`Un-registering request handler for ${e} failed.`)})}registerMany(e){let t=e.asRegistrationParams();return this.connection.sendRequest(r.RegistrationRequest.type,t).then(()=>new b(this._connection,t.registrations.map(e=>({id:e.id,method:e.method}))),e=>(this.connection.console.info("Bulk registration failed."),Promise.reject(e)))}}const w=p.FileOperationsFeature(c.WorkspaceFoldersFeature(a.ConfigurationFeature(class{constructor(){}attach(e){this._connection=e}get connection(){if(!this._connection)throw new Error("Remote is not attached to a connection yet.");return this._connection}initialize(e){}fillServerCapabilities(e){}applyEdit(e){let t=(n=e)&&n.edit?e:{edit:e};var n;return this.connection.sendRequest(r.ApplyWorkspaceEditRequest.type,t)}})));class x{constructor(){this._trace=r.Trace.Off}attach(e){this._connection=e}get connection(){if(!this._connection)throw new Error("Remote is not attached to a connection yet.");return this._connection}initialize(e){}fillServerCapabilities(e){}set trace(e){this._trace=e}log(e,t){this._trace!==r.Trace.Off&&this.connection.sendNotification(r.LogTraceNotification.type,{message:e,verbose:this._trace===r.Trace.Verbose?t:void 0})}}class k{constructor(){}attach(e){this._connection=e}get connection(){if(!this._connection)throw new Error("Remote is not attached to a connection yet.");return this._connection}initialize(e){}fillServerCapabilities(e){}logEvent(e){this.connection.sendNotification(r.TelemetryEventNotification.type,e)}}class E{constructor(){}attach(e){this._connection=e}get connection(){if(!this._connection)throw new Error("Remote is not attached to a connection yet.");return this._connection}initialize(e){}fillServerCapabilities(e){}attachWorkDoneProgress(e){return o.attachWorkDone(this.connection,e)}attachPartialResultProgress(e,t){return o.attachPartialResult(this.connection,t)}}t._LanguagesImpl=E;const S=f.MonikerFeature(d.LinkedEditingRangeFeature(u.SemanticTokensFeature(l.CallHierarchyFeature(E))));function C(e,t){return function(n){return t(e(n))}}function R(e,t){return function(n){return t(e(n))}}function T(e,t){return function(n){return t(e(n))}}function A(e,t){return function(n){return t(e(n))}}function P(e,t){return function(n){return t(e(n))}}function O(e,t){return function(n){return t(e(n))}}t.combineConsoleFeatures=C,t.combineTelemetryFeatures=R,t.combineTracerFeatures=T,t.combineClientFeatures=A,t.combineWindowFeatures=P,t.combineWorkspaceFeatures=O,t.combineLanguagesFeatures=function(e,t){return function(n){return t(e(n))}},t.combineFeatures=function(e,t){function n(e,t,n){return e&&t?n(e,t):e||t}return{__brand:"features",console:n(e.console,t.console,C),tracer:n(e.tracer,t.tracer,T),telemetry:n(e.telemetry,t.telemetry,R),client:n(e.client,t.client,A),window:n(e.window,t.window,P),workspace:n(e.workspace,t.workspace,O)}},t.createConnection=function(e,t,n){const s=n&&n.console?new(n.console(g)):new g,a=e(s);s.rawAttach(a);const c=n&&n.tracer?new(n.tracer(x)):new x,l=n&&n.telemetry?new(n.telemetry(k)):new k,u=n&&n.client?new(n.client(_)):new _,h=n&&n.window?new(n.window(v)):new v,p=n&&n.workspace?new(n.workspace(w)):new w,d=n&&n.languages?new(n.languages(S)):new S,f=[s,c,l,u,h,p,d];function m(e){return e instanceof Promise?e:i.thenable(e)?new Promise((t,n)=>{e.then(e=>t(e),e=>n(e))}):Promise.resolve(e)}let y=void 0,b=void 0,E=void 0,C={listen:()=>a.listen(),sendRequest:(e,...t)=>a.sendRequest(i.string(e)?e:e.method,...t),onRequest:(e,t)=>a.onRequest(e,t),sendNotification:(e,t)=>{const n=i.string(e)?e:e.method;1===arguments.length?a.sendNotification(n):a.sendNotification(n,t)},onNotification:(e,t)=>a.onNotification(e,t),onProgress:a.onProgress,sendProgress:a.sendProgress,onInitialize:e=>b=e,onInitialized:e=>a.onNotification(r.InitializedNotification.type,e),onShutdown:e=>y=e,onExit:e=>E=e,get console(){return s},get telemetry(){return l},get tracer(){return c},get client(){return u},get window(){return h},get workspace(){return p},get languages(){return d},onDidChangeConfiguration:e=>a.onNotification(r.DidChangeConfigurationNotification.type,e),onDidChangeWatchedFiles:e=>a.onNotification(r.DidChangeWatchedFilesNotification.type,e),__textDocumentSync:void 0,onDidOpenTextDocument:e=>a.onNotification(r.DidOpenTextDocumentNotification.type,e),onDidChangeTextDocument:e=>a.onNotification(r.DidChangeTextDocumentNotification.type,e),onDidCloseTextDocument:e=>a.onNotification(r.DidCloseTextDocumentNotification.type,e),onWillSaveTextDocument:e=>a.onNotification(r.WillSaveTextDocumentNotification.type,e),onWillSaveTextDocumentWaitUntil:e=>a.onRequest(r.WillSaveTextDocumentWaitUntilRequest.type,e),onDidSaveTextDocument:e=>a.onNotification(r.DidSaveTextDocumentNotification.type,e),sendDiagnostics:e=>a.sendNotification(r.PublishDiagnosticsNotification.type,e),onHover:e=>a.onRequest(r.HoverRequest.type,(t,n)=>e(t,n,o.attachWorkDone(a,t),void 0)),onCompletion:e=>a.onRequest(r.CompletionRequest.type,(t,n)=>e(t,n,o.attachWorkDone(a,t),o.attachPartialResult(a,t))),onCompletionResolve:e=>a.onRequest(r.CompletionResolveRequest.type,e),onSignatureHelp:e=>a.onRequest(r.SignatureHelpRequest.type,(t,n)=>e(t,n,o.attachWorkDone(a,t),void 0)),onDeclaration:e=>a.onRequest(r.DeclarationRequest.type,(t,n)=>e(t,n,o.attachWorkDone(a,t),o.attachPartialResult(a,t))),onDefinition:e=>a.onRequest(r.DefinitionRequest.type,(t,n)=>e(t,n,o.attachWorkDone(a,t),o.attachPartialResult(a,t))),onTypeDefinition:e=>a.onRequest(r.TypeDefinitionRequest.type,(t,n)=>e(t,n,o.attachWorkDone(a,t),o.attachPartialResult(a,t))),onImplementation:e=>a.onRequest(r.ImplementationRequest.type,(t,n)=>e(t,n,o.attachWorkDone(a,t),o.attachPartialResult(a,t))),onReferences:e=>a.onRequest(r.ReferencesRequest.type,(t,n)=>e(t,n,o.attachWorkDone(a,t),o.attachPartialResult(a,t))),onDocumentHighlight:e=>a.onRequest(r.DocumentHighlightRequest.type,(t,n)=>e(t,n,o.attachWorkDone(a,t),o.attachPartialResult(a,t))),onDocumentSymbol:e=>a.onRequest(r.DocumentSymbolRequest.type,(t,n)=>e(t,n,o.attachWorkDone(a,t),o.attachPartialResult(a,t))),onWorkspaceSymbol:e=>a.onRequest(r.WorkspaceSymbolRequest.type,(t,n)=>e(t,n,o.attachWorkDone(a,t),o.attachPartialResult(a,t))),onCodeAction:e=>a.onRequest(r.CodeActionRequest.type,(t,n)=>e(t,n,o.attachWorkDone(a,t),o.attachPartialResult(a,t))),onCodeActionResolve:e=>a.onRequest(r.CodeActionResolveRequest.type,(t,n)=>e(t,n)),onCodeLens:e=>a.onRequest(r.CodeLensRequest.type,(t,n)=>e(t,n,o.attachWorkDone(a,t),o.attachPartialResult(a,t))),onCodeLensResolve:e=>a.onRequest(r.CodeLensResolveRequest.type,(t,n)=>e(t,n)),onDocumentFormatting:e=>a.onRequest(r.DocumentFormattingRequest.type,(t,n)=>e(t,n,o.attachWorkDone(a,t),void 0)),onDocumentRangeFormatting:e=>a.onRequest(r.DocumentRangeFormattingRequest.type,(t,n)=>e(t,n,o.attachWorkDone(a,t),void 0)),onDocumentOnTypeFormatting:e=>a.onRequest(r.DocumentOnTypeFormattingRequest.type,(t,n)=>e(t,n)),onRenameRequest:e=>a.onRequest(r.RenameRequest.type,(t,n)=>e(t,n,o.attachWorkDone(a,t),void 0)),onPrepareRename:e=>a.onRequest(r.PrepareRenameRequest.type,(t,n)=>e(t,n)),onDocumentLinks:e=>a.onRequest(r.DocumentLinkRequest.type,(t,n)=>e(t,n,o.attachWorkDone(a,t),o.attachPartialResult(a,t))),onDocumentLinkResolve:e=>a.onRequest(r.DocumentLinkResolveRequest.type,(t,n)=>e(t,n)),onDocumentColor:e=>a.onRequest(r.DocumentColorRequest.type,(t,n)=>e(t,n,o.attachWorkDone(a,t),o.attachPartialResult(a,t))),onColorPresentation:e=>a.onRequest(r.ColorPresentationRequest.type,(t,n)=>e(t,n,o.attachWorkDone(a,t),o.attachPartialResult(a,t))),onFoldingRanges:e=>a.onRequest(r.FoldingRangeRequest.type,(t,n)=>e(t,n,o.attachWorkDone(a,t),o.attachPartialResult(a,t))),onSelectionRanges:e=>a.onRequest(r.SelectionRangeRequest.type,(t,n)=>e(t,n,o.attachWorkDone(a,t),o.attachPartialResult(a,t))),onExecuteCommand:e=>a.onRequest(r.ExecuteCommandRequest.type,(t,n)=>e(t,n,o.attachWorkDone(a,t),void 0)),dispose:()=>a.dispose()};for(let e of f)e.attach(C);return a.onRequest(r.InitializeRequest.type,e=>{t.initialize(e),i.string(e.trace)&&(c.trace=r.Trace.fromString(e.trace));for(let t of f)t.initialize(e.capabilities);if(b){return m(b(e,(new r.CancellationTokenSource).token,o.attachWorkDone(a,e),void 0)).then(e=>{if(e instanceof r.ResponseError)return e;let t=e;t||(t={capabilities:{}});let n=t.capabilities;n||(n={},t.capabilities=n),void 0===n.textDocumentSync||null===n.textDocumentSync?n.textDocumentSync=i.number(C.__textDocumentSync)?C.__textDocumentSync:r.TextDocumentSyncKind.None:i.number(n.textDocumentSync)||i.number(n.textDocumentSync.change)||(n.textDocumentSync.change=i.number(C.__textDocumentSync)?C.__textDocumentSync:r.TextDocumentSyncKind.None);for(let e of f)e.fillServerCapabilities(n);return t})}{let e={capabilities:{textDocumentSync:r.TextDocumentSyncKind.None}};for(let t of f)t.fillServerCapabilities(e.capabilities);return e}}),a.onRequest(r.ShutdownRequest.type,()=>(t.shutdownReceived=!0,y?y((new r.CancellationTokenSource).token):void 0)),a.onNotification(r.ExitNotification.type,()=>{try{E&&E()}finally{t.shutdownReceived?t.exit(0):t.exit(1)}}),a.onNotification(r.SetTraceNotification.type,e=>{c.trace=r.Trace.fromString(e.value)}),C}},2613:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ShowDocumentFeature=void 0;const r=n(3302);t.ShowDocumentFeature=e=>class extends e{showDocument(e){return this.connection.sendRequest(r.ShowDocumentRequest.type,e)}}},7018:(e,t)=>{"use strict";function n(e){return"string"==typeof e||e instanceof String}function r(e){return"function"==typeof e}function i(e){return Array.isArray(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.thenable=t.typedArray=t.stringArray=t.array=t.func=t.error=t.number=t.string=t.boolean=void 0,t.boolean=function(e){return!0===e||!1===e},t.string=n,t.number=function(e){return"number"==typeof e||e instanceof Number},t.error=function(e){return e instanceof Error},t.func=r,t.array=i,t.stringArray=function(e){return i(e)&&e.every(e=>n(e))},t.typedArray=function(e,t){return Array.isArray(e)&&e.every(t)},t.thenable=function(e){return e&&r(e.then)}},1702:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.generateUuid=t.parse=t.isUUID=t.v4=t.empty=void 0;class n{constructor(e){this._value=e}asHex(){return this._value}equals(e){return this.asHex()===e.asHex()}}class r extends n{constructor(){super([r._randomHex(),r._randomHex(),r._randomHex(),r._randomHex(),r._randomHex(),r._randomHex(),r._randomHex(),r._randomHex(),"-",r._randomHex(),r._randomHex(),r._randomHex(),r._randomHex(),"-","4",r._randomHex(),r._randomHex(),r._randomHex(),"-",r._oneOf(r._timeHighBits),r._randomHex(),r._randomHex(),r._randomHex(),"-",r._randomHex(),r._randomHex(),r._randomHex(),r._randomHex(),r._randomHex(),r._randomHex(),r._randomHex(),r._randomHex(),r._randomHex(),r._randomHex(),r._randomHex(),r._randomHex()].join(""))}static _oneOf(e){return e[Math.floor(e.length*Math.random())]}static _randomHex(){return r._oneOf(r._chars)}}function i(){return new r}r._chars=["0","1","2","3","4","5","6","6","7","8","9","a","b","c","d","e","f"],r._timeHighBits=["8","9","a","b"],t.empty=new n("00000000-0000-0000-0000-000000000000"),t.v4=i;const s=/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i;function o(e){return s.test(e)}t.isUUID=o,t.parse=function(e){if(!o(e))throw new Error("invalid uuid");return new n(e)},t.generateUuid=function(){return i().asHex()}},2510:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WorkspaceFoldersFeature=void 0;const r=n(3302);t.WorkspaceFoldersFeature=e=>class extends e{initialize(e){let t=e.workspace;t&&t.workspaceFolders&&(this._onDidChangeWorkspaceFolders=new r.Emitter,this.connection.onNotification(r.DidChangeWorkspaceFoldersNotification.type,e=>{this._onDidChangeWorkspaceFolders.fire(e.event)}))}getWorkspaceFolders(){return this.connection.sendRequest(r.WorkspaceFoldersRequest.type)}get onDidChangeWorkspaceFolders(){if(!this._onDidChangeWorkspaceFolders)throw new Error("Client doesn't support sending workspace folder change events.");return this._unregistration||(this._unregistration=this.connection.client.register(r.DidChangeWorkspaceFoldersNotification.type)),this._onDidChangeWorkspaceFolders.event}}},9800:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resolveModulePath=t.FileSystem=t.resolveGlobalYarnPath=t.resolveGlobalNodePath=t.resolve=t.uriToFilePath=void 0;const r=n(8835),i=n(5622),s=n(5747),o=n(3129);function a(){return"win32"===process.platform}function c(e,t,n,r){const a=["var p = process;","p.on('message',function(m){","if(m.c==='e'){","p.exit(0);","}","else if(m.c==='rs'){","try{","var r=require.resolve(m.a);","p.send({c:'r',s:true,r:r});","}","catch(err){","p.send({c:'r',s:false});","}","}","});"].join("");return new Promise((c,l)=>{let u=process.env,h=Object.create(null);Object.keys(u).forEach(e=>h[e]=u[e]),t&&s.existsSync(t)&&(h.NODE_PATH?h.NODE_PATH=t+i.delimiter+h.NODE_PATH:h.NODE_PATH=t,r&&r("NODE_PATH value is: "+h.NODE_PATH)),h.ELECTRON_RUN_AS_NODE="1";try{let t=o.fork("",[],{cwd:n,env:h,execArgv:["-e",a]});if(void 0===t.pid)return void l(new Error(`Starting process to resolve node module ${e} failed`));t.on("error",e=>{l(e)}),t.on("message",n=>{"r"===n.c&&(t.send({c:"e"}),n.s?c(n.r):l(new Error("Failed to resolve module: "+e)))});let r={c:"rs",a:e};t.send(r)}catch(e){l(e)}})}function l(e){let t="npm";const n=Object.create(null);Object.keys(process.env).forEach(e=>n[e]=process.env[e]),n.NO_UPDATE_NOTIFIER="true";const r={encoding:"utf8",env:n};a()&&(t="npm.cmd",r.shell=!0);let s=()=>{};try{process.on("SIGPIPE",s);let n=o.spawnSync(t,["config","get","prefix"],r).stdout;if(!n)return void(e&&e("'npm config get prefix' didn't return a value."));let c=n.trim();return e&&e("'npm config get prefix' value is: "+c),c.length>0?a()?i.join(c,"node_modules"):i.join(c,"lib","node_modules"):void 0}catch(e){return}finally{process.removeListener("SIGPIPE",s)}}var u;t.uriToFilePath=function(e){let t=r.parse(e);if("file:"!==t.protocol||!t.path)return;let n=t.path.split("/");for(var s=0,o=n.length;s1){let e=n[0],t=n[1];0===e.length&&t.length>1&&":"===t[1]&&n.shift()}return i.normalize(n.join("/"))},t.resolve=c,t.resolveGlobalNodePath=l,t.resolveGlobalYarnPath=function(e){let t="yarn",n={encoding:"utf8"};a()&&(t="yarn.cmd",n.shell=!0);let r=()=>{};try{process.on("SIGPIPE",r);let s=o.spawnSync(t,["global","dir","--json"],n),a=s.stdout;if(!a)return void(e&&(e("'yarn global dir' didn't return a value."),s.stderr&&e(s.stderr)));let c=a.trim().split(/\r?\n/);for(let e of c)try{let t=JSON.parse(e);if("log"===t.type)return i.join(t.data,"node_modules")}catch(e){}return}catch(e){return}finally{process.removeListener("SIGPIPE",r)}},function(e){let t=void 0;function n(){return void 0!==t||(t="win32"!==process.platform&&(!s.existsSync(__filename.toUpperCase())||!s.existsSync(__filename.toLowerCase()))),t}e.isCaseSensitive=n,e.isParent=function(e,t){return n()?0===i.normalize(t).indexOf(i.normalize(e)):0===i.normalize(t).toLowerCase().indexOf(i.normalize(e).toLowerCase())}}(u=t.FileSystem||(t.FileSystem={})),t.resolveModulePath=function(e,t,n,r){return n?(i.isAbsolute(n)||(n=i.join(e,n)),c(t,n,n,r).then(e=>u.isParent(n,e)?e:Promise.reject(new Error(`Failed to load ${t} from node path location.`))).then(void 0,n=>c(t,l(r),e,r))):c(t,l(r),e,r)}},2333:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.createConnection=t.Files=void 0;const s=n(7018),o=n(3472),a=n(9800),c=n(7798);i(n(7798),t),i(n(9755),t),function(e){e.uriToFilePath=a.uriToFilePath,e.resolveGlobalNodePath=a.resolveGlobalNodePath,e.resolveGlobalYarnPath=a.resolveGlobalYarnPath,e.resolve=a.resolve,e.resolveModulePath=a.resolveModulePath}(t.Files||(t.Files={}));let l=!1,u=void 0;!function(){function e(e){try{let t=parseInt(e);isNaN(t)||(u=setInterval(()=>{try{process.kill(t,0)}catch(e){process.exit(l?0:1)}},3e3))}catch(e){}}for(let t=2;t{const t=e.processId;s.number(t)&&void 0===u&&setInterval(()=>{try{process.kill(t,0)}catch(e){process.exit(l?0:1)}},3e3)},get shutdownReceived(){return l},set shutdownReceived(e){l=e},exit:e=>{process.exit(e)}};t.createConnection=function(e,t,n,r){let i,a,u,p;return void 0!==e&&"features"===e.__brand&&(i=e,e=t,t=n,n=r),c.ConnectionStrategy.is(e)||c.ConnectionOptions.is(e)?p=e:(a=e,u=t,p=n),function(e,t,n,r){if(!e&&!t&&process.argv.length>2){let n=void 0,r=void 0,s=process.argv.slice(2);for(let o=0;o{process.exit(l?0:1)}),t.on("close",()=>{process.exit(l?0:1)})}return o.createConnection(r=>c.createProtocolConnection(e,t,r,n),h,r)}(a,u,p,i)}},7160:(e,t,n)=>{"use strict";e.exports=n(2333)},4820:function(e){e.exports=(()=>{"use strict";var e={470:e=>{function t(e){if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}function n(e,t){for(var n,r="",i=0,s=-1,o=0,a=0;a<=e.length;++a){if(a2){var c=r.lastIndexOf("/");if(c!==r.length-1){-1===c?(r="",i=0):i=(r=r.slice(0,c)).length-1-r.lastIndexOf("/"),s=a,o=0;continue}}else if(2===r.length||1===r.length){r="",i=0,s=a,o=0;continue}t&&(r.length>0?r+="/..":r="..",i=2)}else r.length>0?r+="/"+e.slice(s+1,a):r=e.slice(s+1,a),i=a-s-1;s=a,o=0}else 46===n&&-1!==o?++o:o=-1}return r}var r={resolve:function(){for(var e,r="",i=!1,s=arguments.length-1;s>=-1&&!i;s--){var o;s>=0?o=arguments[s]:(void 0===e&&(e=process.cwd()),o=e),t(o),0!==o.length&&(r=o+"/"+r,i=47===o.charCodeAt(0))}return r=n(r,!i),i?r.length>0?"/"+r:"/":r.length>0?r:"."},normalize:function(e){if(t(e),0===e.length)return".";var r=47===e.charCodeAt(0),i=47===e.charCodeAt(e.length-1);return 0!==(e=n(e,!r)).length||r||(e="."),e.length>0&&i&&(e+="/"),r?"/"+e:e},isAbsolute:function(e){return t(e),e.length>0&&47===e.charCodeAt(0)},join:function(){if(0===arguments.length)return".";for(var e,n=0;n0&&(void 0===e?e=i:e+="/"+i)}return void 0===e?".":r.normalize(e)},relative:function(e,n){if(t(e),t(n),e===n)return"";if((e=r.resolve(e))===(n=r.resolve(n)))return"";for(var i=1;il){if(47===n.charCodeAt(a+h))return n.slice(a+h+1);if(0===h)return n.slice(a+h)}else o>l&&(47===e.charCodeAt(i+h)?u=h:0===h&&(u=0));break}var p=e.charCodeAt(i+h);if(p!==n.charCodeAt(a+h))break;47===p&&(u=h)}var d="";for(h=i+u+1;h<=s;++h)h!==s&&47!==e.charCodeAt(h)||(0===d.length?d+="..":d+="/..");return d.length>0?d+n.slice(a+u):(a+=u,47===n.charCodeAt(a)&&++a,n.slice(a))},_makeLong:function(e){return e},dirname:function(e){if(t(e),0===e.length)return".";for(var n=e.charCodeAt(0),r=47===n,i=-1,s=!0,o=e.length-1;o>=1;--o)if(47===(n=e.charCodeAt(o))){if(!s){i=o;break}}else s=!1;return-1===i?r?"/":".":r&&1===i?"//":e.slice(0,i)},basename:function(e,n){if(void 0!==n&&"string"!=typeof n)throw new TypeError('"ext" argument must be a string');t(e);var r,i=0,s=-1,o=!0;if(void 0!==n&&n.length>0&&n.length<=e.length){if(n.length===e.length&&n===e)return"";var a=n.length-1,c=-1;for(r=e.length-1;r>=0;--r){var l=e.charCodeAt(r);if(47===l){if(!o){i=r+1;break}}else-1===c&&(o=!1,c=r+1),a>=0&&(l===n.charCodeAt(a)?-1==--a&&(s=r):(a=-1,s=c))}return i===s?s=c:-1===s&&(s=e.length),e.slice(i,s)}for(r=e.length-1;r>=0;--r)if(47===e.charCodeAt(r)){if(!o){i=r+1;break}}else-1===s&&(o=!1,s=r+1);return-1===s?"":e.slice(i,s)},extname:function(e){t(e);for(var n=-1,r=0,i=-1,s=!0,o=0,a=e.length-1;a>=0;--a){var c=e.charCodeAt(a);if(47!==c)-1===i&&(s=!1,i=a+1),46===c?-1===n?n=a:1!==o&&(o=1):-1!==n&&(o=-1);else if(!s){r=a+1;break}}return-1===n||-1===i||0===o||1===o&&n===i-1&&n===r+1?"":e.slice(n,i)},format:function(e){if(null===e||"object"!=typeof e)throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof e);return function(e,t){var n=t.dir||t.root,r=t.base||(t.name||"")+(t.ext||"");return n?n===t.root?n+r:n+"/"+r:r}(0,e)},parse:function(e){t(e);var n={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return n;var r,i=e.charCodeAt(0),s=47===i;s?(n.root="/",r=1):r=0;for(var o=-1,a=0,c=-1,l=!0,u=e.length-1,h=0;u>=r;--u)if(47!==(i=e.charCodeAt(u)))-1===c&&(l=!1,c=u+1),46===i?-1===o?o=u:1!==h&&(h=1):-1!==o&&(h=-1);else if(!l){a=u+1;break}return-1===o||-1===c||0===h||1===h&&o===c-1&&o===a+1?-1!==c&&(n.base=n.name=0===a&&s?e.slice(1,c):e.slice(a,c)):(0===a&&s?(n.name=e.slice(1,o),n.base=e.slice(1,c)):(n.name=e.slice(a,o),n.base=e.slice(a,c)),n.ext=e.slice(o,c)),a>0?n.dir=e.slice(0,a-1):s&&(n.dir="/"),n},sep:"/",delimiter:":",win32:null,posix:null};r.posix=r,e.exports=r},465:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Utils=t.URI=void 0;var r=n(796);Object.defineProperty(t,"URI",{enumerable:!0,get:function(){return r.URI}});var i=n(679);Object.defineProperty(t,"Utils",{enumerable:!0,get:function(){return i.Utils}})},674:(e,t)=>{if(Object.defineProperty(t,"__esModule",{value:!0}),t.isWindows=void 0,"object"==typeof process)t.isWindows="win32"===process.platform;else if("object"==typeof navigator){var n=navigator.userAgent;t.isWindows=n.indexOf("Windows")>=0}},796:function(e,t,n){var r,i,s=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.uriToFsPath=t.URI=void 0;var o=n(674),a=/^\w[\w\d+.-]*$/,c=/^\//,l=/^\/\//,u="",h="/",p=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/,d=function(){function e(e,t,n,r,i,s){void 0===s&&(s=!1),"object"==typeof e?(this.scheme=e.scheme||u,this.authority=e.authority||u,this.path=e.path||u,this.query=e.query||u,this.fragment=e.fragment||u):(this.scheme=function(e,t){return e||t?e:"file"}(e,s),this.authority=t||u,this.path=function(e,t){switch(e){case"https":case"http":case"file":t?t[0]!==h&&(t=h+t):t=h}return t}(this.scheme,n||u),this.query=r||u,this.fragment=i||u,function(e,t){if(!e.scheme&&t)throw new Error('[UriError]: Scheme is missing: {scheme: "", authority: "'+e.authority+'", path: "'+e.path+'", query: "'+e.query+'", fragment: "'+e.fragment+'"}');if(e.scheme&&!a.test(e.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(e.path)if(e.authority){if(!c.test(e.path))throw new Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(l.test(e.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}(this,s))}return e.isUri=function(t){return t instanceof e||!!t&&"string"==typeof t.authority&&"string"==typeof t.fragment&&"string"==typeof t.path&&"string"==typeof t.query&&"string"==typeof t.scheme&&"function"==typeof t.fsPath&&"function"==typeof t.with&&"function"==typeof t.toString},Object.defineProperty(e.prototype,"fsPath",{get:function(){return b(this,!1)},enumerable:!1,configurable:!0}),e.prototype.with=function(e){if(!e)return this;var t=e.scheme,n=e.authority,r=e.path,i=e.query,s=e.fragment;return void 0===t?t=this.scheme:null===t&&(t=u),void 0===n?n=this.authority:null===n&&(n=u),void 0===r?r=this.path:null===r&&(r=u),void 0===i?i=this.query:null===i&&(i=u),void 0===s?s=this.fragment:null===s&&(s=u),t===this.scheme&&n===this.authority&&r===this.path&&i===this.query&&s===this.fragment?this:new m(t,n,r,i,s)},e.parse=function(e,t){void 0===t&&(t=!1);var n=p.exec(e);return n?new m(n[2]||u,x(n[4]||u),x(n[5]||u),x(n[7]||u),x(n[9]||u),t):new m(u,u,u,u,u)},e.file=function(e){var t=u;if(o.isWindows&&(e=e.replace(/\\/g,h)),e[0]===h&&e[1]===h){var n=e.indexOf(h,2);-1===n?(t=e.substring(2),e=h):(t=e.substring(2,n),e=e.substring(n)||h)}return new m("file",t,e,u,u)},e.from=function(e){return new m(e.scheme,e.authority,e.path,e.query,e.fragment)},e.prototype.toString=function(e){return void 0===e&&(e=!1),_(this,e)},e.prototype.toJSON=function(){return this},e.revive=function(t){if(t){if(t instanceof e)return t;var n=new m(t);return n._formatted=t.external,n._fsPath=t._sep===f?t.fsPath:null,n}return t},e}();t.URI=d;var f=o.isWindows?1:void 0,m=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._formatted=null,t._fsPath=null,t}return s(t,e),Object.defineProperty(t.prototype,"fsPath",{get:function(){return this._fsPath||(this._fsPath=b(this,!1)),this._fsPath},enumerable:!1,configurable:!0}),t.prototype.toString=function(e){return void 0===e&&(e=!1),e?_(this,!0):(this._formatted||(this._formatted=_(this,!1)),this._formatted)},t.prototype.toJSON=function(){var e={$mid:1};return this._fsPath&&(e.fsPath=this._fsPath,e._sep=f),this._formatted&&(e.external=this._formatted),this.path&&(e.path=this.path),this.scheme&&(e.scheme=this.scheme),this.authority&&(e.authority=this.authority),this.query&&(e.query=this.query),this.fragment&&(e.fragment=this.fragment),e},t}(d),g=((i={})[58]="%3A",i[47]="%2F",i[63]="%3F",i[35]="%23",i[91]="%5B",i[93]="%5D",i[64]="%40",i[33]="%21",i[36]="%24",i[38]="%26",i[39]="%27",i[40]="%28",i[41]="%29",i[42]="%2A",i[43]="%2B",i[44]="%2C",i[59]="%3B",i[61]="%3D",i[32]="%20",i);function v(e,t){for(var n=void 0,r=-1,i=0;i=97&&s<=122||s>=65&&s<=90||s>=48&&s<=57||45===s||46===s||95===s||126===s||t&&47===s)-1!==r&&(n+=encodeURIComponent(e.substring(r,i)),r=-1),void 0!==n&&(n+=e.charAt(i));else{void 0===n&&(n=e.substr(0,i));var o=g[s];void 0!==o?(-1!==r&&(n+=encodeURIComponent(e.substring(r,i)),r=-1),n+=o):-1===r&&(r=i)}}return-1!==r&&(n+=encodeURIComponent(e.substring(r))),void 0!==n?n:e}function y(e){for(var t=void 0,n=0;n1&&"file"===e.scheme?"//"+e.authority+e.path:47===e.path.charCodeAt(0)&&(e.path.charCodeAt(1)>=65&&e.path.charCodeAt(1)<=90||e.path.charCodeAt(1)>=97&&e.path.charCodeAt(1)<=122)&&58===e.path.charCodeAt(2)?t?e.path.substr(1):e.path[1].toLowerCase()+e.path.substr(2):e.path,o.isWindows&&(n=n.replace(/\//g,"\\")),n}function _(e,t){var n=t?y:v,r="",i=e.scheme,s=e.authority,o=e.path,a=e.query,c=e.fragment;if(i&&(r+=i,r+=":"),(s||"file"===i)&&(r+=h,r+=h),s){var l=s.indexOf("@");if(-1!==l){var u=s.substr(0,l);s=s.substr(l+1),-1===(l=u.indexOf(":"))?r+=n(u,!1):(r+=n(u.substr(0,l),!1),r+=":",r+=n(u.substr(l+1),!1)),r+="@"}-1===(l=(s=s.toLowerCase()).indexOf(":"))?r+=n(s,!1):(r+=n(s.substr(0,l),!1),r+=s.substr(l))}if(o){if(o.length>=3&&47===o.charCodeAt(0)&&58===o.charCodeAt(2))(p=o.charCodeAt(1))>=65&&p<=90&&(o="/"+String.fromCharCode(p+32)+":"+o.substr(3));else if(o.length>=2&&58===o.charCodeAt(1)){var p;(p=o.charCodeAt(0))>=65&&p<=90&&(o=String.fromCharCode(p+32)+":"+o.substr(2))}r+=n(o,!0)}return a&&(r+="?",r+=n(a,!1)),c&&(r+="#",r+=t?c:v(c,!1)),r}t.uriToFsPath=b;var w=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function x(e){return e.match(w)?e.replace(w,(function(e){return function e(t){try{return decodeURIComponent(t)}catch(n){return t.length>3?t.substr(0,3)+e(t.substr(3)):t}}(e)})):e}},679:function(e,t,n){var r=this&&this.__spreadArrays||function(){for(var e=0,t=0,n=arguments.length;t{e.exports=function(){for(var e={},n=0;n{class t{constructor(e){this.value=e,this.next=void 0}}class n{constructor(){this.clear()}enqueue(e){const n=new t(e);this._head?(this._tail.next=n,this._tail=n):(this._head=n,this._tail=n),this._size++}dequeue(){const e=this._head;if(e)return this._head=this._head.next,this._size--,e.value}clear(){this._head=void 0,this._tail=void 0,this._size=0}get size(){return this._size}*[Symbol.iterator](){let e=this._head;for(;e;)yield e.value,e=e.next}}e.exports=n},2941:(e,t,n)=>{const r=n(2087),i=n(5622),s=n(5747),o=process.config&&process.config.variables||{},a=r.arch(),c=r.platform(),l=process.versions.modules,u=!(!process.versions||!process.versions.electron)||!!process.env.ELECTRON_RUN_AS_NODE||"undefined"!=typeof window&&window.process&&"renderer"===window.process.type?"electron":"node",h=process.env.LIBC||(function(e){return"linux"===e&&s.existsSync("/etc/alpine-release")}(c)?"musl":"glibc"),p=process.env.ARM_VERSION||("arm64"===a?"8":o.arm_version)||"",d=(process.versions.uv||"").split(".")[0],f={"darwin-arm64":{"node.napi.glibc.node":()=>n(3319)},"darwin-x64":{"node.napi.glibc.node":()=>n(9181)},"linux-x64":{"node.napi.glibc.node":()=>n(3110),"node.napi.musl.node":()=>n(456)},"win32-x64":{"node.napi.glibc.node":()=>n(7972)}};let m=()=>{let e=function(){var e=Object.keys(f).map(g).filter(function(e,t){return function(n){return null!=n&&(n.platform===e&&n.architectures.includes(t))}}(c,a)).sort(v)[0];if(!e)return;var t=f[e.name],n=Object.keys(t).map(y).filter(function(e,t){return function(n){return null!=n&&(!(n.runtime!==e&&!function(e){return"node"===e.runtime&&e.napi}(n))&&(!(n.abi!==t&&!n.napi)&&((!n.uv||n.uv===d)&&((!n.armv||n.armv===p)&&(!n.libc||n.libc===h)))))}}(u,l)).sort(function(e){return function(t,n){return t.runtime!==n.runtime?t.runtime===e?-1:1:t.abi!==n.abi?t.abi?-1:1:t.specificity!==n.specificity?t.specificity>n.specificity?-1:1:0}}(u))[0];if(n)try{return t[n.file]()}catch(e){}}();return m=()=>e,e};function g(e){var t=e.split("-");if(2===t.length){var n=t[0],r=t[1].split("+");if(n&&r.length&&r.every(Boolean))return{name:e,platform:n,architectures:r}}}function v(e,t){return e.architectures.length-t.architectures.length}function y(e){var t=e.split("."),n={file:e,specificity:0};if("node"===t.pop()){for(var r=0;ri.resolve(e,t))})),t}t.Fp=m,t.Ld=async(e,t,n)=>(e=i.resolve(e),n=b(e,n),await m().subscribe(e,t,n),{unsubscribe:()=>m().unsubscribe(e,t,n)})},2125:(e,t,n)=>{e.exports=require(n.ab+"fsevents.node")},5055:module=>{module.exports=eval("require")("pnpapi")},2265:e=>{"use strict";e.exports=JSON.parse('["3dm","3ds","3g2","3gp","7z","a","aac","adp","ai","aif","aiff","alz","ape","apk","appimage","ar","arj","asf","au","avi","bak","baml","bh","bin","bk","bmp","btif","bz2","bzip2","cab","caf","cgm","class","cmx","cpio","cr2","cur","dat","dcm","deb","dex","djvu","dll","dmg","dng","doc","docm","docx","dot","dotm","dra","DS_Store","dsk","dts","dtshd","dvb","dwg","dxf","ecelp4800","ecelp7470","ecelp9600","egg","eol","eot","epub","exe","f4v","fbs","fh","fla","flac","flatpak","fli","flv","fpx","fst","fvt","g3","gh","gif","graffle","gz","gzip","h261","h263","h264","icns","ico","ief","img","ipa","iso","jar","jpeg","jpg","jpgv","jpm","jxr","key","ktx","lha","lib","lvp","lz","lzh","lzma","lzo","m3u","m4a","m4v","mar","mdi","mht","mid","midi","mj2","mka","mkv","mmr","mng","mobi","mov","movie","mp3","mp4","mp4a","mpeg","mpg","mpga","mxu","nef","npx","numbers","nupkg","o","odp","ods","odt","oga","ogg","ogv","otf","ott","pages","pbm","pcx","pdb","pdf","pea","pgm","pic","png","pnm","pot","potm","potx","ppa","ppam","ppm","pps","ppsm","ppsx","ppt","pptm","pptx","psd","pya","pyc","pyo","pyv","qt","rar","ras","raw","resources","rgb","rip","rlc","rmf","rmvb","rpm","rtf","rz","s3m","s7z","scpt","sgi","shar","snap","sil","sketch","slk","smv","snk","so","stl","suo","sub","swf","tar","tbz","tbz2","tga","tgz","thmx","tif","tiff","tlz","ttc","ttf","txz","udf","uvh","uvi","uvm","uvp","uvs","uvu","viv","vob","war","wav","wax","wbmp","wdp","weba","webm","webp","whl","wim","wm","wma","wmv","wmx","woff","woff2","wrm","wvx","xbm","xif","xla","xlam","xls","xlsb","xlsm","xlsx","xlt","xltm","xltx","xm","xmind","xpi","xpm","xwd","xz","z","zip","zipx"]')},4986:e=>{"use strict";e.exports=JSON.parse('{"assert":true,"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.9.7","buffer":true,"node:buffer":[">= 14.18 && < 15",">= 16"],"child_process":true,"node:child_process":[">= 14.18 && < 15",">= 16"],"cluster":true,"node:cluster":[">= 14.18 && < 15",">= 16"],"console":true,"node:console":[">= 14.18 && < 15",">= 16"],"constants":true,"node:constants":[">= 14.18 && < 15",">= 16"],"crypto":true,"node:crypto":[">= 14.18 && < 15",">= 16"],"_debug_agent":">= 1 && < 8","_debugger":"< 8","dgram":true,"node:dgram":[">= 14.18 && < 15",">= 16"],"diagnostics_channel":[">= 14.17 && < 15",">= 15.1"],"node:diagnostics_channel":[">= 14.18 && < 15",">= 16"],"dns":true,"node:dns":[">= 14.18 && < 15",">= 16"],"dns/promises":">= 15","node:dns/promises":">= 16","domain":">= 0.7.12","node:domain":[">= 14.18 && < 15",">= 16"],"events":true,"node:events":[">= 14.18 && < 15",">= 16"],"freelist":"< 6","fs":true,"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":true,"node:http":[">= 14.18 && < 15",">= 16"],"http2":">= 8.8","node:http2":[">= 14.18 && < 15",">= 16"],"https":true,"node:https":[">= 14.18 && < 15",">= 16"],"inspector":">= 8","node:inspector":[">= 14.18 && < 15",">= 16"],"_linklist":"< 8","module":true,"node:module":[">= 14.18 && < 15",">= 16"],"net":true,"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":true,"node:os":[">= 14.18 && < 15",">= 16"],"path":true,"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":true,"node:punycode":[">= 14.18 && < 15",">= 16"],"querystring":true,"node:querystring":[">= 14.18 && < 15",">= 16"],"readline":true,"node:readline":[">= 14.18 && < 15",">= 16"],"readline/promises":">= 17","node:readline/promises":">= 17","repl":true,"node:repl":[">= 14.18 && < 15",">= 16"],"smalloc":">= 0.11.5 && < 3","_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":true,"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":true,"node:string_decoder":[">= 14.18 && < 15",">= 16"],"sys":[">= 0.6 && < 0.7",">= 0.8"],"node:sys":[">= 14.18 && < 15",">= 16"],"timers":true,"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":true,"node:tls":[">= 14.18 && < 15",">= 16"],"trace_events":">= 10","node:trace_events":[">= 14.18 && < 15",">= 16"],"tty":true,"node:tty":[">= 14.18 && < 15",">= 16"],"url":true,"node:url":[">= 14.18 && < 15",">= 16"],"util":true,"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":true,"node:vm":[">= 14.18 && < 15",">= 16"],"wasi":">= 13.4 && < 13.5","worker_threads":">= 11.7","node:worker_threads":[">= 14.18 && < 15",">= 16"],"zlib":true,"node:zlib":[">= 14.18 && < 15",">= 16"]}')},2538:e=>{"use strict";e.exports=JSON.parse('{"assert":true,"assert/strict":">= 15","async_hooks":">= 8","buffer_ieee754":"< 0.9.7","buffer":true,"child_process":true,"cluster":true,"console":true,"constants":true,"crypto":true,"_debug_agent":">= 1 && < 8","_debugger":"< 8","dgram":true,"diagnostics_channel":">= 15.1","dns":true,"dns/promises":">= 15","domain":">= 0.7.12","events":true,"freelist":"< 6","fs":true,"fs/promises":[">= 10 && < 10.1",">= 14"],"_http_agent":">= 0.11.1","_http_client":">= 0.11.1","_http_common":">= 0.11.1","_http_incoming":">= 0.11.1","_http_outgoing":">= 0.11.1","_http_server":">= 0.11.1","http":true,"http2":">= 8.8","https":true,"inspector":">= 8.0.0","_linklist":"< 8","module":true,"net":true,"node-inspect/lib/_inspect":">= 7.6.0 && < 12","node-inspect/lib/internal/inspect_client":">= 7.6.0 && < 12","node-inspect/lib/internal/inspect_repl":">= 7.6.0 && < 12","os":true,"path":true,"path/posix":">= 15.3","path/win32":">= 15.3","perf_hooks":">= 8.5","process":">= 1","punycode":true,"querystring":true,"readline":true,"repl":true,"smalloc":">= 0.11.5 && < 3","_stream_duplex":">= 0.9.4","_stream_transform":">= 0.9.4","_stream_wrap":">= 1.4.1","_stream_passthrough":">= 0.9.4","_stream_readable":">= 0.9.4","_stream_writable":">= 0.9.4","stream":true,"stream/promises":">= 15","string_decoder":true,"sys":[">= 0.6 && < 0.7",">= 0.8"],"timers":true,"timers/promises":">= 15","_tls_common":">= 0.11.13","_tls_legacy":">= 0.11.3 && < 10","_tls_wrap":">= 0.11.3","tls":true,"trace_events":">= 10","tty":true,"url":true,"util":true,"util/types":">= 15.3","v8/tools/arguments":">= 10 && < 12","v8/tools/codemap":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/consarray":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/csvparser":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/logreader":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/profile_view":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/splaytree":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8":">= 1","vm":true,"wasi":">= 13.4 && < 13.5","worker_threads":">= 11.7","zlib":true}')},2357:e=>{"use strict";e.exports=require("assert")},3129:e=>{"use strict";e.exports=require("child_process")},7619:e=>{"use strict";e.exports=require("constants")},6417:e=>{"use strict";e.exports=require("crypto")},8614:e=>{"use strict";e.exports=require("events")},5747:e=>{"use strict";e.exports=require("fs")},2282:e=>{"use strict";e.exports=require("module")},1631:e=>{"use strict";e.exports=require("net")},2087:e=>{"use strict";e.exports=require("os")},5622:e=>{"use strict";e.exports=require("path")},1765:e=>{"use strict";e.exports=require("process")},2413:e=>{"use strict";e.exports=require("stream")},8835:e=>{"use strict";e.exports=require("url")},1669:e=>{"use strict";e.exports=require("util")}},__webpack_module_cache__={};function __nccwpck_require__(e){var t=__webpack_module_cache__[e];if(void 0!==t)return t.exports;var n=__webpack_module_cache__[e]={exports:{}},r=!0;try{__webpack_modules__[e].call(n.exports,n,n.exports,__nccwpck_require__),r=!1}finally{r&&delete __webpack_module_cache__[e]}return n.exports}__nccwpck_require__.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return __nccwpck_require__.d(t,{a:t}),t},__nccwpck_require__.d=(e,t)=>{for(var n in t)__nccwpck_require__.o(t,n)&&!__nccwpck_require__.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},__nccwpck_require__.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),__nccwpck_require__.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},void 0!==__nccwpck_require__&&(__nccwpck_require__.ab=__dirname+"/");var __webpack_exports__={};(()=>{"use strict";__nccwpck_require__.r(__webpack_exports__);var e=__nccwpck_require__(2282),t=__nccwpck_require__.n(e),n=__nccwpck_require__(5622),r=__nccwpck_require__.n(n),i=__nccwpck_require__(5747),s=__nccwpck_require__.n(i),o=__nccwpck_require__(662);function a(e={}){return o.ResolverFactory.createResolver(Object.assign({fileSystem:new o.CachedInputFileSystem(i,4e3),useSyncFileSystemCalls:!0,conditionNames:["node","require"]},e))}let c=a();function l(e,t){if(t.startsWith("\\\\"))return t;let n=c.resolveSync({},e,t);if(!1===n)throw Error();return n.replace(/\0#/g,"#")}var u=__nccwpck_require__(3675),h=__nccwpck_require__.n(u);process.env.TAILWIND_MODE="build",process.env.TAILWIND_DISABLE_TOUCH="true";let p=t()._resolveFilename;t()._resolveFilename=(e,t)=>h().includes(e)?p(e,t):l(n.dirname(t.id),e);var d=__nccwpck_require__(7160),f=__nccwpck_require__(7960),m=__nccwpck_require__(4820);function g(e,t,n=!0){return t?`${e}: ${function(e,t=!0){if(e instanceof Error){let n=e;return`${n.message}${t?"\n"+n.stack:""}`}return"string"==typeof e?e:e.toString()}(t,n)}`:e}function v(e,t,n="Tailwind CSS"){console.error(g(n,t)),t instanceof y||e.sendNotification("@/tailwindCSS/error",{message:g(n,t,!1)})}function y(e){this.name="SilentError",this.message=e,this.stack=(new Error).stack}y.prototype=new Error;var b=__nccwpck_require__(3909),_=__nccwpck_require__.n(b),w=__nccwpck_require__(4458),x=__nccwpck_require__.n(w),k=__nccwpck_require__(2087),E=__nccwpck_require__(4823),S=__nccwpck_require__.n(E),C=__nccwpck_require__(9566),R=__nccwpck_require__.n(C);class T{constructor(e,n){if(this.cache={},this.deps=[],this._unhooked=!1,this._origRequire=t().prototype.require,"function"!=typeof t()._resolveFilename)throw new Error(`Error: Expected Module._resolveFilename to be a function (was: ${typeof t()._resolveFilename}) - aborting!`);let r=this,i={};this._require=t().prototype.require=function(s){if(r._unhooked)return r._origRequire.apply(this,arguments);let o=t()._resolveFilename(s,this);if(r.cache.hasOwnProperty(o))return r.cache[o];let a=i[o];a||(i[o]=!0);let c=r._origRequire.apply(this,arguments);return o!==e||a?c:(delete i[o],r.cache.hasOwnProperty(o)||(r.cache[o]=c,r.cache[o]=n(c)),r.cache[o])}}unhook(){this._unhooked=!0,this._require===t().prototype.require&&(t().prototype.require=this._origRequire)}}var A=__nccwpck_require__(7546),P=__nccwpck_require__.n(A),O=__nccwpck_require__(7639),I=__nccwpck_require__.n(O),N=__nccwpck_require__(7007),D=__nccwpck_require__.n(N),M=__nccwpck_require__(7135),L=__nccwpck_require__.n(M),j=__nccwpck_require__(7921),q=__nccwpck_require__(5266),F=__nccwpck_require__.n(q),$=function(e,t,n,r){return new(n||(n=Promise))((function(i,s){function o(e){try{c(r.next(e))}catch(e){s(e)}}function a(e){try{c(r.throw(e))}catch(e){s(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,a)}c((r=r.apply(e,t||[])).next())}))};function H(e){return"atrule"===e.type}function z(e){if(0===e.length)return null;const t=F().selector({value:""});for(let n=0;n-1!==t.indexOf(e))}function W(e,t,n){const r=Object.keys(n);for(let i=0;i{if("comment"===e.type){let t=e.text.trim().match(/^__tw_intellisense_layer_([a-z]+)__$/);if(null===t)return;return r=t[1],void e.remove()}if("rule"!==e.type)return;const i=e,s=function(e){const t=[],{nodes:n}=F()().astSync(e);for(let e=0;e{o[e.prop]?o[e.prop]=[...Array.isArray(o[e.prop])?o[e.prop]:[o[e.prop]],e.value]:o[e.prop]=e.value});let a=i;const c=[];for(;"root"!==a.parent.type;)a=a.parent,H(a)&&c.push(`@${a.name} ${a.params}`);for(let e=0;e"&"+e));for(let e=0;en.indexOf(e)===t)}function Z(e){return Array.isArray(e)?e:[e]}function ee(e){return[].concat.apply([],e)}function te(e,t){if(e===t)return!0;if(e.length!==t.length)return!1;let n=e.concat().sort(),r=t.concat().sort();for(let e=0;e"function"==typeof e[t]?"ƒ":n})}function ae(e,t,{tabSize:n=2,showPixelEquivalents:r=!1,rootFontSize:i=16}={}){if(!0!==t.__rule&&!Array.isArray(t))return null;if(Array.isArray(t)){const s=t.map(t=>ae(e,t,{tabSize:n,showPixelEquivalents:r,rootFontSize:i})).filter(Boolean);return 0===s.length?null:s.join("\n\n")}let s="";const o=" ".repeat(n),a=se(t,"__context",[]),c=Object.keys(Y(t));if(0===c.length)return null;for(let e=0;e`${e}${0===s?"":"\n"}${Z(t[n]).map(e=>{const t=r?ne(e,i):void 0;return`${l+o}${n}: ${e}${t?`/* ${t} */`:""};`}).join("\n")}`,"");s+=`${l}${function(e,t){const n=t.__pseudo.join("");return`${t.__scope?t.__scope+" ":""}.${X()(e)}${n}`}(e,t)} {\n${u}\n${l}}`;for(let e=a.length-1;e>=0;e--)s+=o.repeat(e)+"\n}";return s}const ce=["aspnetcorerazor","astro","astro-markdown","blade","django-html","edge","ejs","erb","gohtml","GoHTML","haml","handlebars","hbs","html","HTML (Eex)","HTML (EEx)","html-eex","jade","leaf","liquid","markdown","mdx","mustache","njk","nunjucks","phoenix-heex","php","razor","slim","twig"],le=["css","less","postcss","sass","scss","stylus","sugarss"],ue=["javascript","javascriptreact","reason","rescript","typescript","typescriptreact"];function he(e,t){const n=Object.keys(e.editor.userLanguages).filter(t=>ce.includes(e.editor.userLanguages[t]));return-1!==[...ce,...n].indexOf(t.languageId)}function pe(e){return"vue"===e.languageId}function de(e){return"svelte"===e.languageId}function fe(e,t,n){let r=t.getText({start:{line:0,character:0},end:n});return!(!he(e,t)||me(r,["script","style"]))||(pe(t)?me(r,["template"]):!!de(t)&&!me(r,["script","style"]))}function me(e,t){let n,r=0,i=0,s=Array.isArray(t)?t:[t],o=new RegExp(`<(?/?)(?:${s.join("|")})(?:\\s[^>]*[^/]>|\\s*>)`,"ig");for(;null!==(n=o.exec(e));)n.groups.slash?i+=1:r+=1;return r>0&&r>i}function ge(e,t){const n=Object.keys(e.editor.userLanguages).filter(t=>ue.includes(e.editor.userLanguages[t]));return-1!==[...ue,...n].indexOf(t.languageId)}function ve(e,t,n){if(ge(e,t))return!0;let r=t.getText({start:{line:0,character:0},end:n});return!(!he(e,t)||!me(r,["script"]))||!(!pe(t)&&!de(t))&&me(r,["script"])}function ye(e,t){const n=Object.keys(e.editor.userLanguages).filter(t=>le.includes(e.editor.userLanguages[t]));return-1!==[...le,...n].indexOf(t.languageId)}function be(e,t,n){if(ye(e,t))return!0;if(he(e,t)||pe(t)||de(t)||ge(e,t)){return me(t.getText({start:{line:0,character:0},end:n}),["style"])}return!1}var _e=__nccwpck_require__(674),we=__nccwpck_require__.n(_e);function xe(e,t){return e.line===t.start.line&&e.character>=t.start.character?!(e.line===t.end.line&&e.character>t.end.character):e.line===t.end.line&&e.character<=t.end.character?!(e.line===t.start.line&&e.charactert.start.line&&e.line{let t=!1,n=null;const r=function(){return t||(n=e.apply(this,arguments),t=!0),n};return r.isLazy=!0,r},Ce=()=>({doubleClassList:{lbrace:{match:new RegExp("(?{let e=!0;try{new RegExp("(?{let e=!0;try{new RegExp("(?<(?template|style|script)\b[^>]*>).*?(?<\/\k>|$)/gis,e),r=[],i=[];for(let t=0;t]*[^\/]>|\s*>)).*?(?<\/style>|$)/gis,e),r=[],i=[],s=0;for(let t=0;te.substr(0,e.length-2)),"g"));let a=1+s.filter(e=>eo.execForGroup(e,a)}}var De=function(e,t,n,r){return new(n||(n=Promise))((function(i,s){function o(e){try{c(r.next(e))}catch(e){s(e)}}function a(e){try{c(r.throw(e))}catch(e){s(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,a)}c((r=r.apply(e,t||[])).next())}))};const Me=__nccwpck_require__(7639);function Le(e,t){let n,r=[];for(;null!==(n=e.exec(t));)r.push(Object.assign({},n));return r}function je({classList:e,range:t,important:n}){const r=e.split(/(\s+)/),i=[];let s=0;for(let o=0;o[^;}]+?)(?\s*!important)?\s*[;}]/g,n),i=t?t.start:{line:0,character:0};return r.map(e=>{const t=Ue(n,e.index+e[1].length),r=Ue(n,e.index+e[1].length+e.groups.classList.length);return{classList:e.groups.classList,important:Boolean(e.groups.important),range:{start:{line:i.line+t.line,character:(0===r.line?i.character:0)+t.character},end:{line:i.line+r.line,character:(0===r.line?i.character:0)+r.character}}}})}function $e(e,t,n){return De(this,void 0,void 0,(function*(){const r=yield e.editor.getConfiguration(t.uri),i=Me(r,"tailwindCSS.experimental.classRegex",[]);if(!Array.isArray(i)||0===i.length)return[];const s=t.getText(n),o=[];for(let e=0;e"string"==typeof e).flatMap(e=>[e,`\\[${e}\\]`]);return Le(new RegExp(/(?:\s|:|\()(ATTRS)\s*=\s*['"`{]/.source.replace("ATTRS",n.join("|")),"gi"),e)}function ze(e,t,n){return De(this,void 0,void 0,(function*(){const r=t.getText(n),i=He(r,(yield e.editor.getConfiguration(t.uri)).tailwindCSS.classAttributes),s=[];return i.forEach(e=>{const t=r.substr(e.index+e[0].length-1);let i=":"===e[0][0]||e[1].startsWith("[")&&e[1].endsWith("]")?Ae():Te();i.reset(t);let o,a=[];try{for(let e of i)"classlist"===e.type?o?o.value+=e.value:o={value:e.value,offset:e.offset}:(o&&a.push({value:o.value,offset:o.offset}),o=void 0)}catch(e){}o&&a.push({value:o.value,offset:o.offset}),s.push(...a.map(({value:t,offset:i})=>{if(""===t.trim())return null;const s=t.match(/^\s*/),o=null===s?0:s[0].length,a=t.match(/\s*$/),c=null===a?0:-a[0].length,l=Ue(r,e.index+e[0].length-1+i+o),u=Ue(r,e.index+e[0].length-1+i+t.length+c);return{classList:t.substr(o,t.length+c),range:{start:{line:((null==n?void 0:n.start.line)||0)+l.line,character:(0===u.line&&(null==n?void 0:n.start.character)||0)+l.character},end:{line:((null==n?void 0:n.start.line)||0)+u.line,character:(0===u.line&&(null==n?void 0:n.start.character)||0)+u.character}}}}).filter(e=>null!==e))}),s}))}function Be(e,t){return De(this,void 0,void 0,(function*(){if(ye(e,t))return Fe(t);let n=Pe(e,t);return n?ee([...yield Promise.all(n.html.map(n=>ze(e,t,n))),...n.css.map(e=>Fe(t,e)),yield $e(e,t)]):[]}))}function We(e,t){const n=e.getText(t);return Le(/(?^|\s)(?theme|config)\((?:(?')([^']+)'|(?")([^"]+)")\)/gm,n).map(e=>{let r=e[4]||e[6],i=e.index+e.groups.before.length;return{full:e[0].substr(e.groups.before.length),value:r,helper:"theme"===e.groups.helper?"theme":"config",quotes:e.groups.single?"'":'"',range:Oe({start:Ue(n,i),end:Ue(n,e.index+e[0].length)},t),valueRange:Oe({start:Ue(n,i+e.groups.helper.length+1),end:Ue(n,i+e.groups.helper.length+1+1+r.length+1)},t)}})}function Ue(e,t){const{line:n,col:r}=we()(e+"\n",t);return{line:n-1,character:r-1}}function Ve(e){let t=function(e,n,r){if(e||n)return n?(t(e+n[0],n.slice(1),r),t(e,n.slice(1),r)):r.push(e),r};return t("",e,[])}const Ge=__nccwpck_require__(7639);function Ke(e,t){let n=e.separator,r=(t=t.replace(/^\./,"")).split(n);return 1===r.length?!0===Ge(e.classNames.classNames,[t,"__info","__rule"])||Array.isArray(Ge(e.classNames.classNames,[t,"__info"]))?[t]:null:[[t],...Ve("123456789".substr(0,r.length-1)).map(e=>e.split("").map(e=>parseInt(e,10))).map(e=>{let t=[],n=0;return e.forEach(e=>{t.push(r.slice(n,e).join("-")),n=e}),t.push(r.slice(n).join("-")),t})].find(t=>!(!0!==Ge(e.classNames.classNames,[...t,"__info","__rule"])&&!Array.isArray(Ge(e.classNames.classNames,[...t,"__info"]))))}const Ye=__nccwpck_require__(7639);function Qe(e,t){const n=Array.isArray(t)?t:Ke(e,t);if(!n)return null;const r=Ye(e.classNames.classNames,[...n,"__info"]);return Array.isArray(r)?r.map(e=>({source:e.__source,pseudo:e.__pseudo,scope:e.__scope,context:e.__context})):{source:r.__source,pseudo:r.__pseudo,scope:r.__scope,context:r.__context}}const Xe=__nccwpck_require__(7639);function Je(e,t){return e.featureFlags.future.includes(t)?"all"===e.config.future||Xe(e.config,["future",t],!1):!!e.featureFlags.experimental.includes(t)&&("all"===e.config.experimental||Xe(e.config,["experimental",t],!1))}function Ze(e,t){if(e.jit)return{isApplyable:!0};const n=Qe(e,t);if(!n)return null;if(P().gte(e.version,"2.0.0-alpha.1")||Je(e,"applyComplexClasses"))return{isApplyable:!0};const r=Array.isArray(t)?t.join(e.separator):t;let i;return Array.isArray(n)?i=`'@apply' cannot be used with '${r}' because it is included in multiple rulesets.`:"utilities"!==n.source?i=`'@apply' cannot be used with '${r}' because it is not a utility.`:n.context&&n.context.length>0?i=1===n.context.length?`'@apply' cannot be used with '${r}' because it is nested inside of an at-rule ('${n.context[0]}').`:`'@apply' cannot be used with '${r}' because it is nested inside of at-rules (${n.context.map(e=>`'${e}'`).join(", ")}).`:n.pseudo&&n.pseudo.length>0&&(i=1===n.pseudo.length?`'@apply' cannot be used with '${r}' because its definition includes a pseudo-selector ('${n.pseudo[0]}')`:`'@apply' cannot be used with '${r}' because its definition includes pseudo-selectors (${n.pseudo.map(e=>`'${e}'`).join(", ")}).`),i?{isApplyable:!1,reason:i}:{isApplyable:!0}}var et,tt=function(e,t,n,r){return new(n||(n=Promise))((function(i,s){function o(e){try{c(r.next(e))}catch(e){s(e)}}function a(e){try{c(r.throw(e))}catch(e){s(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,a)}c((r=r.apply(e,t||[])).next())}))};function nt(e){return(e>0n)-(e<0n)}function rt(e,t){let n=e.modules.jit.generateRules.module(new Set(t),e.jitContext).sort(([e],[t])=>nt(e-t)),r=e.modules.postcss.module.root({nodes:n.map(([,e])=>e)});e.modules.jit.expandApplyAtRules.module(e.jitContext)(r);let i=[];return r.walkRules(e=>{i.push(e)}),{root:r,rules:i}}function it(e,t,n){return tt(this,void 0,void 0,(function*(){let r=yield e.editor.getConfiguration(n),i=I()(r,"editor.tabSize",2),s=I()(r,"tailwindCSS.showPixelEquivalents",!0),o=I()(r,"tailwindCSS.rootFontSize",16),a=t.clone();return a.walkAtRules("defaults",e=>{e.remove()}),s&&a.walkDecls(e=>{let t=ne(e.value,o);t&&(e.value=`${e.value}/* ${t} */`)}),a.toString().replace(/([^;{}\s])(\n\s*})/g,(e,t,n)=>`${t};${n}`).replace(/^(?: )+/gm,e=>" ".repeat(e.length/4*i))}))}function st(e,t,n,r){return e.modules.postcssSelectorParser.module(e=>{e.walkClasses(e=>{e.value===n&&(e.value=r)})}).processSync(t)}function ot(e,t,n){let r=[st(e,t.selector,n,"__placeholder__")],i=t;for(;i.parent&&"root"!==i.parent.type;)i=i.parent,"atrule"===i.type&&r.unshift(`@${i.name} ${i.params}`);return r}!function(e){e.CssConflict="cssConflict",e.InvalidApply="invalidApply",e.InvalidScreen="invalidScreen",e.InvalidVariant="invalidVariant",e.InvalidConfigPath="invalidConfigPath",e.InvalidTailwindDirective="invalidTailwindDirective",e.RecommendedVariantOrder="recommendedVariantOrder"}(et||(et={}));let at=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ct=/\\(\\)?/g;function lt(e){let t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(at,(e,n,r,i)=>{t.push(r?i.replace(ct,"$1"):n||e)}),t}var ut=__nccwpck_require__(9461),ht=__nccwpck_require__.n(ut);function pt(e,t){return t.concat([]).sort((t,n)=>ht()(e,t)-ht()(e,n))[0]}function dt(e,t){return{start:{line:((null==t?void 0:t.start.line)||0)+e.start.line,character:(0===e.end.line&&(null==t?void 0:t.start.character)||0)+e.start.character},end:{line:((null==t?void 0:t.start.line)||0)+e.end.line,character:(0===e.end.line&&(null==t?void 0:t.start.character)||0)+e.end.character}}}const ft=__nccwpck_require__(7639);function mt(e){return"string"==typeof e?e:e.reduce((e,t,n)=>0===n?t:t.includes(".")?`${e}[${t}]`:`${e}.${t}`,"")}function gt(e,t,n=[]){let r=Array.isArray(t)?t:lt(t),i=ft(e.config,[...n,...r]),s=[];function o(){return Ve("123456789".substr(0,r.length-1)).map(e=>e.split("").map(e=>parseInt(e,10))).map(e=>{let t=[],n=0;return e.forEach(e=>{t.push(r.slice(n,e).join(".")),n=e}),t.push(r.slice(n).join(".")),t}).slice(1).find(t=>gt(e,t,n).isValid)}if(void 0===i){let i=`'${mt(t)}' does not exist in your theme config.`,a=[...n,...r.slice(0,r.length-1)],c=ft(e.config,a);if(K(c)){let t=pt(r[r.length-1],Object.keys(c).filter(t=>gt(e,[...a,t]).isValid));t&&(s.push(mt([...r.slice(0,r.length-1),t])),i+=` Did you mean '${s[0]}'?`)}else{let e=o();if(e)return{isValid:!1,reason:`${i} Did you mean '${mt(e)}'?`,suggestions:[mt(e)]}}return{isValid:!1,reason:i,suggestions:s}}if(!("string"==typeof i||"number"==typeof i||i instanceof String||i instanceof Number||Array.isArray(i)||"function"==typeof i)){let o=`'${mt(t)}' was found but does not resolve to a valid theme value.`;if(K(i)){let t=Object.keys(i).filter(t=>gt(e,[...r,t],n).isValid);t.length&&(s.push(...t.map(e=>mt([...r,e]))),o+=` Did you mean something like '${s[0]}'?`)}return{isValid:!1,reason:o,suggestions:s}}let a=!0;for(let t=r.length-1;t>=0;t--){let i=r[t],s=ft(e.config,[...n,...r.slice(0,t)]);if(/^[0-9]+$/.test(i)){if(!K(s)&&!Array.isArray(s)){a=!1;break}}else if(!K(s)){a=!1;break}}if(!a){let e=`'${mt(t)}' does not exist in your theme config.`,n=o();return n?{isValid:!1,reason:`${e} Did you mean '${mt(n)}'?`,suggestions:[mt(n)]}:{isValid:!1,reason:e,suggestions:[]}}return{isValid:!0,value:i}}function vt(e,t,n){let r=n.tailwindCSS.lint.invalidConfigPath;if("ignore"===r)return[];let i=[],s=[];if(ye(e,t))s.push(void 0);else{let n=Pe(e,t);if(!n)return[];s.push(...n.css)}return s.forEach(n=>{let s=t.getText(n);Le(/(?\s|^)(?config|theme)\((?['"])(?[^)]+)\k\)/g,s).forEach(t=>{let o="theme"===t.groups.helper?["theme"]:[],a=gt(e,t.groups.key,o);if(!0===a.isValid)return null;let c=t.index+t.groups.prefix.length+t.groups.helper.length+1+t.groups.quote.length;i.push({code:et.InvalidConfigPath,range:dt({start:Ue(s,c),end:Ue(s,c+t.groups.key.length)},n),severity:"error"===r?1:2,message:a.reason,suggestions:a.suggestions})})}),i}var yt=function(e,t,n,r){return new(n||(n=Promise))((function(i,s){function o(e){try{c(r.next(e))}catch(e){s(e)}}function a(e){try{c(r.throw(e))}catch(e){s(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,a)}c((r=r.apply(e,t||[])).next())}))};const bt=__nccwpck_require__(7639);function _t(e,t,n){return yt(this,void 0,void 0,(function*(){return(yield function(e,t,n){return yt(this,void 0,void 0,(function*(){let r=yield function(e,t,n){return De(this,void 0,void 0,(function*(){let r=[];const i=t.offsetAt(n),s={start:t.positionAt(Math.max(0,i-1e3)),end:t.positionAt(i+1e3)};if(be(e,t,n)?r=yield qe(e,t,s,"css"):(fe(e,t,n)||ve(e,t,n))&&(r=yield qe(e,t,s,"html")),0===r.length)return null;const o=r.find(({range:e})=>xe(n,e));return o||null}))}(e,t,n);if(null===r)return null;if(e.jit){let{root:n,rules:i}=rt(e,[r.className]);return 0===i.length?null:{contents:{language:"css",value:yield it(e,n,t.uri)},range:r.range}}const i=Ke(e,r.className);if(!i)return null;if(be(e,t,n)){let t=Ze(e,i);if(null===t||!1===t.isApplyable)return null}const s=yield e.editor.getConfiguration(t.uri),o=ae(r.className,bt(e.classNames.classNames,[...i,"__info"]),{tabSize:bt(s,"editor.tabSize",2),showPixelEquivalents:bt(s,"tailwindCSS.showPixelEquivalents",!0),rootFontSize:bt(s,"tailwindCSS.rootFontSize",16)});return o?{contents:{language:"css",value:o},range:r.range}:null}))}(e,t,n))||function(e,t,n){if(!be(e,t,n))return null;const r=t.getText({start:{line:n.line,character:0},end:{line:n.line+1,character:0}}).match(/(?theme|config)\((?['"])(?[^)]+)\k\)/);if(null===r)return null;const i=r.index+r.groups.helper.length+2,s=i+r.groups.key.length;if(n.character=s)return null;let o=r.groups.key.split(/(\[[^\]]+\]|\.)/).filter(Boolean).filter(e=>"."!==e).map(e=>e.replace(/^\[([^\]]+)\]$/,"$1"));if(0===o.length)return null;"theme"===r.groups.helper&&(o=["theme",...o]);const a=gt(e,o).isValid?oe(bt(e.config,o)):null;return null===a?null:{contents:{kind:"markdown",value:["```plaintext",a,"```"].join("\n")},range:{start:{line:n.line,character:i},end:{line:n.line,character:s}}}}(e,t,n)}))}var wt=__nccwpck_require__(2351),xt=__nccwpck_require__(9407),kt=__nccwpck_require__.n(xt);const Et=__nccwpck_require__(7639),St=["accent-color","caret-color","color","column-rule-color","background-color","border-color","border-top-color","border-right-color","border-bottom-color","border-left-color","fill","outline-color","stop-color","stroke","text-decoration-color"];function Ct(e){if("string"!=typeof e)return null;let t=e.toLowerCase();return"transparent"===t?"transparent":"currentcolor"===t?"currentColor":null}const Rt=new RegExp(`(?:^|\\s|\\(|,)(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\\((-?[\\d.]+%?(\\s*[,/]\\s*|\\s+)+){2,3}\\s*([\\d.]+%?|var\\([^)]+\\))?\\)|transparent|currentColor|${Object.keys(kt()).join("|")})(?:$|\\s|\\)|,)`,"gi");function Tt(e){return/(?:box|drop)-shadow/.test(e)?[]:Array.from(e.matchAll(Rt),e=>{var t;let n=e[1].replace(/var\([^)]+\)/,"1");return null!==(t=Ct(n))&&void 0!==t?t:wt.parse(n)}).filter(Boolean)}function At(e){let t=Object.keys(e).filter(t=>"content"!==t||'""'!==e[t]&&"''"!==e[t]&&"var(--tw-content)"!==e[t]);if(0===t.length)return null;const n=t.filter(e=>!e.startsWith("--")),r=0===n.length;if(!r&&n.some(e=>!St.includes(e)))return null;const i=(r?t:n).flatMap(t=>Z(e[t]).flatMap(Tt)),s=J(i.map(e=>"string"==typeof e?e:wt.formatRgb(Object.assign(Object.assign({},e),{alpha:void 0}))));if(1!==s.length)return null;let o=Ct(s[0]);if(o)return o;const a=i.filter(e=>"string"!=typeof e),c=J(a.map(e=>{var t;return null!==(t=e.alpha)&&void 0!==t?t:1}));return 1===c.length?a[0]:2===c.length&&c.includes(0)?a.find(e=>{var t;return 0!==(null!==(t=e.alpha)&&void 0!==t?t:1)}):null}function Pt(e,t){if(e.jit){if(e.classNames){const n=Et(e.classNames.classNames,[t,"__info"]);if(n&&n.__rule)return At(Y(n))}let{root:n,rules:r}=rt(e,[t]);if(0===r.length)return null;let i={};return n.walkDecls(e=>{let t=i[e.prop];t?Array.isArray(t)?t.push(e.value):i[e.prop]=[t,e.value]:i[e.prop]=e.value}),At(i)}let n=Ke(e,t);if(!n)return null;const r=Et(e.classNames.classNames,[...n,"__info"]);return r.__rule?At(Y(r)):null}function Ot(e){if("string"!=typeof e)return null;const t=e.trim();if("transparent"===t.toLowerCase())return"transparent";if("currentcolor"===t.toLowerCase())return"currentColor";if(!/^\s*(?:rgba?|hsla?)\s*\([^)]+\)\s*$/.test(t)&&!/^\s*#[0-9a-f]+\s*$/i.test(t)&&!Object.keys(kt()).includes(t))return null;const n=wt.parse(t);return null!=n?n:null}let It=wt.converter("rgb");function Nt(e){var t;let n=It(e);return{red:n.r,green:n.g,blue:n.b,alpha:null!==(t=n.alpha)&&void 0!==t?t:1}}function Dt(e){if(!e)return;if("string"==typeof e)return`@media (min-width: ${e})`;if(function(e){return K(e)&&void 0!==e.raw}(e))return"@media "+e.raw;let t=(Array.isArray(e)?e:[e]).map(e=>["string"==typeof e.min?`(min-width: ${e.min})`:null,"string"==typeof e.max?`(max-width: ${e.max})`:null].filter(Boolean).join(" and ")).join(", ");return t?"@media "+t:void 0}var Mt=__nccwpck_require__(542);function Lt(e){return("00000000"+e).substr(-8)}function jt(e){return("string"==typeof e?e:e.toString()).replace(/\d+/g,Lt)}function qt(e,t){let n=0,r="https://tailwindcss-v0.netlify.app/docs/";return P().gte(e,"0.99.0")&&(n=1,r="https://v1.tailwindcss.com/docs/"),P().gte(e,"1.99.0")&&(n=2,r="https://tailwindcss.com/docs/"),`${r}${Array.isArray(t)?t[n]||t[t.length-1]:t}`}function Ft(e,t){let n=t,r=Object.keys(e.variants).sort((e,t)=>t.length-e.length),i=new Set,s=0;for(;n;){let t=!1;for(let o of r)if(n.startsWith(o+e.separator)){i.add(o),n=n.substr(o.length+e.separator.length),s+=o.length+e.separator.length,t=!0;break}t||(n="")}return{variants:Array.from(i),offset:s}}var $t=function(e,t,n,r){return new(n||(n=Promise))((function(i,s){function o(e){try{c(r.next(e))}catch(e){s(e)}}function a(e){try{c(r.throw(e))}catch(e){s(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,a)}c((r=r.apply(e,t||[])).next())}))};const Ht=__nccwpck_require__(7639);function zt(e,t,n,r,i,s){let o=t.split(/[\s+]/);const a=o[o.length-1];let c,l=e.separator,u=a.split(l),h=[],p=!1,d=Object.assign(Object.assign({},n),{start:Object.assign(Object.assign({},n.start),{character:n.end.character-a.length})});if(e.jit){if(s&&(1===s.triggerKind||2===s.triggerKind&&"/"===s.triggerCharacter)&&a.includes("/")){let t=a.split("/").slice(0,-1).join("/"),n=t+"/[0]",{rules:r}=rt(e,[n]);if(r.length>0){let n=Ht(e.config,"theme.opacity",{});return K(n)||(n={}),{isIncomplete:!1,items:Object.keys(n).map((n,r)=>{var i;let s=`${t}/${n}`,o=21,a=null;const c=Pt(e,s);return null!==c&&(o=16,"string"!=typeof c&&0!==(null!==(i=c.alpha)&&void 0!==i?i:1)&&(a=wt.formatRgb(c))),{label:s,documentation:a,kind:o,sortText:jt(r),data:[s],textEdit:{newText:s,range:d}}})}}}let t=Object.keys(e.variants),{variants:i,offset:o}=Ft(e,a);d.start.character+=o;let c=a.substr(o).startsWith("!");c&&(d.start.character+=1);let u=[];if(!c){let r=!P().gte(e.version,"2.99.0");u.push(...Object.entries(e.variants).filter(([e])=>!i.includes(e)).map(([e,s],o)=>{let c=[...i,e];return r&&(c=c.sort((e,n)=>t.indexOf(n)-t.indexOf(e))),{label:e+l,kind:9,detail:s,data:"variant",command:{title:"",command:"editor.action.triggerSuggest"},sortText:"-"+jt(o),textEdit:{newText:c[c.length-1]+l,range:d},additionalTextEdits:r&&c.length>1?[{newText:c.slice(0,c.length-1).join(l)+l,range:{start:Object.assign(Object.assign({},n.start),{character:n.end.character-a.length}),end:Object.assign(Object.assign({},d.start),{character:d.start.character})}}]:[]}}))}return e.classList?{isIncomplete:!1,items:u.concat(e.classList.map(([e,{color:t}],n)=>{let r=t?16:21,s=null;return t&&"string"!=typeof t&&(s=wt.formatRgb(t)),{label:e,kind:r,documentation:s,sortText:jt(n),data:[...i,c?"!"+e:e],textEdit:{newText:e,range:d}}}))}:{isIncomplete:!1,items:u.concat(Object.keys(e.classNames.classNames).filter(t=>{let n=e.classNames.classNames[t];return 0===i.length?n.__info:n.__info&&(e=>Array.isArray(e.__info)?e.__info.some(e=>"utilities"===e.__source):"utilities"===e.__info.__source)(n)}).map((t,n)=>{var r;let s=21,o=null;const a=Pt(e,t);return null!==a&&(s=16,"string"!=typeof a&&0!==(null!==(r=a.alpha)&&void 0!==r?r:1)&&(o=wt.formatRgb(a))),{label:t,kind:s,documentation:o,sortText:jt(n),data:[...i,c?"!"+t:t],textEdit:{newText:t,range:d}}})).filter(e=>null!==e&&!(r&&!r(e)))}}for(let t=u.length-1;t>0;t--){let n=u.slice(0,t).filter(Boolean);if(c=Ht(e.classNames.classNames,n),void 0!==c&&void 0===Ht(c,["__info","__rule"])){p=!0,h=n,d=Object.assign(Object.assign({},d),{start:Object.assign(Object.assign({},d.start),{character:d.start.character+n.join(l).length+l.length})});break}}return{isIncomplete:!1,items:Object.keys(p?c:e.classNames.classNames).filter(e=>"__info"!==e).filter(t=>function(e,t){const n=Ht(e.classNames.classNames,[t]);if(!K(n))return!1;if(!e.classNames.context[t[t.length-1]])return!1;if(Object.keys(n).filter(e=>"__info"!==e).length>0)return!0;return K(n.__info)&&!n.__info.__rule}(e,[...h,t])).map((e,t)=>({label:e+l,kind:9,documentation:null,command:{title:"",command:"editor.action.triggerSuggest"},sortText:"-"+jt(t),data:[...h,e],textEdit:{newText:e+l,range:d}})).concat(Object.keys(p?c:e.classNames.classNames).filter(t=>Ht(e.classNames.classNames,[...h,t,"__info"])).map((t,n)=>{var r;let i=21,s=null;const o=Pt(e,t);return null!==o&&(i=16,"string"!=typeof o&&0!==(null!==(r=o.alpha)&&void 0!==r?r:1)&&(s=wt.formatRgb(o))),{label:t,kind:i,documentation:s,sortText:jt(n),data:[...h,t],textEdit:{newText:t,range:d}}})).filter(e=>null!==e&&!(r&&!r(e)))}}function Bt(e,t,n){const r=function(e,t){const n=Le(e,t);return 0===n.length?null:n[n.length-1]}(/@apply\s+(?[^;}]*)$/gi,t.getText({start:{line:Math.max(n.line-30,0),character:0},end:n}));if(null===r)return null;const i=r.groups.classList;return zt(e,i,{start:{line:n.line,character:n.character-i.length},end:n},t=>{if(9===t.kind)return P().gte(e.version,"2.0.0-alpha.1")||Je(e,"applyComplexClasses");let n=Ze(e,t.data);return null!==n&&!0===n.isApplyable})}function Wt(e,t,n,r){return $t(this,void 0,void 0,(function*(){return be(e,t,n)?Bt(e,t,n):fe(e,t,n)||ve(e,t,n)?function(e,t,n,r){return $t(this,void 0,void 0,(function*(){let i=t.getText({start:t.positionAt(Math.max(0,t.offsetAt(n)-1e3)),end:n}),s=He(i,(yield e.editor.getConfiguration(t.uri)).tailwindCSS.classAttributes);if(0===s.length)return null;let o=s[s.length-1];const a=":"===o[0][0]||o[1].startsWith("[")&&o[1].endsWith("]")?Ae():Te();a.reset(i.substr(o.index+o[0].length-1));try{let t=Array.from(a),i=t[t.length-1];if(i.type.startsWith("start")||"classlist"===i.type){let i="";for(let e=t.length-1;e>=0&&"classlist"===t[e].type;e--)i=t[e].value+i;return zt(e,i,{start:{line:n.line,character:n.character-i.length},end:n},void 0,0,r)}}catch(e){}return null}))}(e,t,n,r):null}))}function Ut(e,t,n,r){return $t(this,void 0,void 0,(function*(){if(null===e)return{items:[],isIncomplete:!1};const i=(yield Wt(e,t,n,r))||function(e,t,n){if(!be(e,t,n))return null;let r=t.getText({start:{line:n.line,character:0},end:{line:n.line,character:n.character+1}});const i=r.substr(0,r.length-1).match(/\b(?config|theme)\(['"](?[^'"]*)$/);if(null===i)return null;let s,o="config"===i.groups.helper?e.config:Ht(e.config,"theme",{}),a=i.groups.keys.split(/([\[\].]+)/),c=a.filter((e,t)=>t%2==0),l=a.filter((e,t)=>t%2!=0),u=0,h=l.length?l[l.length-1]:null;if(1===c.length)s=o;else for(let e=c.length-1;e>0;e--){let t=Ht(o,c.slice(0,e));if(K(t)){s=t,p=a.slice(2*e),u=p.reduce((e,t)=>e+t.length,0),h=l[e-1];break}}var p;return s?{isIncomplete:!1,items:Object.keys(s).map((e,t)=>{var i;let o=Ot(s[e]);const a=-1!==e.indexOf(".")&&h&&h.endsWith("."),l="]"!==r.charAt(r.length-1)&&(a||h&&h.endsWith("[")),p=oe(s[e]);return{label:e,filterText:`${a?".":""}${e}`,sortText:jt(t),kind:o?16:K(s[e])?9:10,detail:"0"===p||"transparent"===p?p+" ":p,documentation:o&&"string"!=typeof o&&0!==(null!==(i=o.alpha)&&void 0!==i?i:1)?wt.formatRgb(o):null,textEdit:{newText:`${a?"[":""}${e}${l?"]":""}`,range:{start:{line:n.line,character:n.character-c[c.length-1].length-(a?1:0)-u},end:n}},data:"helper"}})}:null}(e,t,n)||function(e,t,n){if(!be(e,t,n))return null;const r=t.getText({start:{line:n.line,character:0},end:n}).match(/^\s*@(?[a-z]*)$/i);return null===r?null:{isIncomplete:!1,items:[{label:"@tailwind",documentation:{kind:"markdown",value:`Use the \`@tailwind\` directive to insert Tailwind’s \`base\`, \`components\`, \`utilities\` and \`${e.jit&&P().gte(e.version,"2.1.99")?"variants":"screens"}\` styles into your CSS.\n\n[Tailwind CSS Documentation](${qt(e.version,"functions-and-directives/#tailwind")})`}},{label:"@screen",documentation:{kind:"markdown",value:`The \`@screen\` directive allows you to create media queries that reference your breakpoints by name instead of duplicating their values in your own CSS.\n\n[Tailwind CSS Documentation](${qt(e.version,"functions-and-directives/#screen")})`}},{label:"@apply",documentation:{kind:"markdown",value:`Use \`@apply\` to inline any existing utility classes into your own custom CSS.\n\n[Tailwind CSS Documentation](${qt(e.version,"functions-and-directives/#apply")})`}},...P().gte(e.version,"1.8.0")?[{label:"@layer",documentation:{kind:"markdown",value:`Use the \`@layer\` directive to tell Tailwind which "bucket" a set of custom styles belong to. Valid layers are \`base\`, \`components\`, and \`utilities\`.\n\n[Tailwind CSS Documentation](${qt(e.version,"functions-and-directives/#layer")})`}}]:[],...P().gte(e.version,"2.99.0")?[]:[{label:"@variants",documentation:{kind:"markdown",value:`You can generate \`responsive\`, \`hover\`, \`focus\`, \`active\`, and other variants of your own utilities by wrapping their definitions in the \`@variants\` directive.\n\n[Tailwind CSS Documentation](${qt(e.version,"functions-and-directives/#variants")})`}},{label:"@responsive",documentation:{kind:"markdown",value:`You can generate responsive variants of your own classes by wrapping their definitions in the \`@responsive\` directive.\n\n[Tailwind CSS Documentation](${qt(e.version,"functions-and-directives/#responsive")})`}}]].map(e=>Object.assign(Object.assign({},e),{kind:14,data:"directive",textEdit:{newText:e.label,range:{start:{line:n.line,character:n.character-r.groups.partial.length-1},end:n}}}))}}(e,t,n)||function(e,t,n){if(!be(e,t,n))return null;const r=t.getText({start:{line:n.line,character:0},end:n}).match(/^\s*@screen\s+(?[^\s]*)$/i);if(null===r)return null;const i=Ht(e.config,["screens"],Ht(e.config,["theme","screens"],{}));return K(i)?{isIncomplete:!1,items:Object.keys(i).map((e,t)=>({label:e,kind:21,data:"screen",sortText:jt(t),textEdit:{newText:e,range:{start:{line:n.line,character:n.character-r.groups.partial.length},end:n}}}))}:null}(e,t,n)||function(e,t,n){if(!be(e,t,n))return null;if(P().gte(e.version,"2.99.0"))return null;const r=t.getText({start:{line:n.line,character:0},end:n}).match(/^\s*@variants\s+(?[^}]*)$/i);if(null===r)return null;const i=r.groups.partial.split(/\s*,\s*/);if(/\s+/.test(i[i.length-1]))return null;let s=Object.keys(e.variants);const o=i.slice(0,i.length-1);return e.jit&&(s.unshift("responsive"),s=s.filter(t=>!e.screens.includes(t))),{isIncomplete:!1,items:s.filter(e=>-1===o.indexOf(e)).map((t,r)=>({label:t,detail:e.variants[t],kind:21,data:"variant",sortText:jt(r),textEdit:{newText:t,range:{start:{line:n.line,character:n.character-i[i.length-1].length},end:n}}}))}}(e,t,n)||function(e,t,n){if(!be(e,t,n))return null;const r=t.getText({start:{line:n.line,character:0},end:n}).match(/^\s*@tailwind\s+(?[^\s]*)$/i);return null===r?null:{isIncomplete:!1,items:[P().gte(e.version,"1.0.0-beta.1")?{label:"base",documentation:{kind:"markdown",value:`This injects Tailwind’s base styles and any base styles registered by plugins.\n\n[Tailwind CSS Documentation](${qt(e.version,"functions-and-directives/#tailwind")})`}}:{label:"preflight",documentation:{kind:"markdown",value:`This injects Tailwind’s base styles, which is a combination of Normalize.css and some additional base styles.\n\n[Tailwind CSS Documentation](${qt(e.version,"functions-and-directives/#tailwind")})`}},{label:"components",documentation:{kind:"markdown",value:`This injects Tailwind’s component classes and any component classes registered by plugins.\n\n[Tailwind CSS Documentation](${qt(e.version,"functions-and-directives/#tailwind")})`}},{label:"utilities",documentation:{kind:"markdown",value:`This injects Tailwind’s utility classes and any utility classes registered by plugins.\n\n[Tailwind CSS Documentation](${qt(e.version,"functions-and-directives/#tailwind")})`}},e.jit&&P().gte(e.version,"2.1.99")?{label:"variants",documentation:{kind:"markdown",value:`Use this directive to control where Tailwind injects the utility variants.\n\nThis directive is considered an advanced escape hatch and it is recommended to omit it whenever possible. If omitted, Tailwind will append these classes to the very end of your stylesheet by default.\n\n[Tailwind CSS Documentation](${qt(e.version,"just-in-time-mode#variants-are-inserted-at-tailwind-variants")})`}}:{label:"screens",documentation:{kind:"markdown",value:`Use this directive to control where Tailwind injects the responsive variations of each utility.\n\nIf omitted, Tailwind will append these classes to the very end of your stylesheet by default.\n\n[Tailwind CSS Documentation](${qt(e.version,"functions-and-directives/#tailwind")})`}}].map(e=>Object.assign(Object.assign({},e),{kind:21,data:"@tailwind",textEdit:{newText:e.label,range:{start:{line:n.line,character:n.character-r.groups.partial.length},end:n}}}))}}(e,t,n)||function(e,t,n){if(!be(e,t,n))return null;const r=t.getText({start:{line:n.line,character:0},end:n}).match(/^\s*@layer\s+(?[^\s]*)$/i);return null===r?null:{isIncomplete:!1,items:["base","components","utilities"].map((e,t)=>({label:e,kind:21,data:"layer",sortText:jt(t),textEdit:{newText:e,range:{start:{line:n.line,character:n.character-r.groups.partial.length},end:n}}}))}}(e,t,n)||(yield function(e,t,n){return $t(this,void 0,void 0,(function*(){const r=yield e.editor.getConfiguration(t.uri),i=Ht(r,"tailwindCSS.experimental.classRegex",[]);if(0===i.length)return null;const s=t.offsetAt(n),o={start:t.positionAt(Math.max(0,s-1e3)),end:t.positionAt(s+1e3)};let a=t.getText(o);for(let r=0;r=i&&c<=a){let t;if(l){let e;for(l=Ne(l);null!==(e=l.exec(s.match));){const n=i+e.start,r=i+e.end;c>=n&&c<=r&&(t=e.match.substr(0,c-n))}if(void 0===t)throw Error()}else t=s.match.substr(0,c-i);return zt(e,t,{start:{line:n.line,character:n.character-t.length},end:n})}}}catch(e){}return null}))}(e,t,n));return i||function(e,t,n){return $t(this,void 0,void 0,(function*(){if(!0!==(yield e.editor.getConfiguration(t.uri)).tailwindCSS.emmetCompletions)return null;const r=fe(e,t,n),i=!r&&ve(e,t,n),s=r?"html":i?"jsx":null;if(null===s)return null;const o=Mt.extractAbbreviation(t,n,!0);if(!o||!Mt.isAbbreviationValid(s,o.abbreviation))return null;if(!function(e,t){let n=0,r=0,i=e.getText({start:{line:n,character:r},end:{line:t.start.line,character:t.start.character}});if(i.length>500&&(i=i.substr(i.length-500)),!i.trim())return!0;let s=!0,o=!1,a=i.length-1;if("<"===i[a])return!1;for(;a>=0;){const e=i[a];if(a--,o||!/\s/.test(e))if("?"!==e||"<"!==i[a]){if(/\s/.test(e)&&"<"===i[a])a--;else if("<"===e||">"===e)if(a>=0&&"\\"===i[a])a--;else{if(">"===e){if(a>=0&&"="===i[a])continue;break}if("<"===e){s=!o;break}}}else a--;else o=!0}return s}(t,o.abbreviationRange))return null;if(i){const n=o.abbreviation;if(n.startsWith("this."))return null;const r=yield e.editor.getDocumentSymbols(t.uri);if(r&&r.find(e=>n===e.name||n.startsWith(e.name+".")&&!/>|\*|\+/.test(n)))return null}const a=Mt.doComplete(t,n,s,{});if(!a||!a.items||1!==a.items.length)return null;if("widows: ;"===a.items[0].label)return null;const c=a.items[0].label.split(".");return c.length<2?null:zt(e,c[c.length-1],{start:{line:n.line,character:n.character-c[c.length-1].length},end:n})}))}(e,t,n)}))}function Vt(e,t){return $t(this,void 0,void 0,(function*(){if(["helper","directive","variant","layer","@tailwind"].includes(t.data))return t;if("screen"===t.data){let n=Ht(e.config,["theme","screens"],Ht(e.config,["screens"],{}));return K(n)||(n={}),t.detail=Dt(n[t.label]),t}if(!Array.isArray(t.data))return t;if(e.jit){if(9===t.kind)return t;if(t.detail&&t.documentation)return t;let{root:n,rules:r}=rt(e,[t.data.join(e.separator)]);return 0===r.length||(t.detail||(1===r.length?t.detail=yield function(e,t,n){return tt(this,void 0,void 0,(function*(){let r=yield e.editor.getConfiguration(n),i=I()(r,"tailwindCSS.showPixelEquivalents",!0),s=I()(r,"tailwindCSS.rootFontSize",16),o=[];return t.walkDecls(({prop:e,value:t})=>{let n=i?ne(t,s):void 0;o.push(`${e}: ${t}${n?`/* ${n} */`:""};`)}),o.join(" ")}))}(e,r[0]):t.detail=r.length+" rules"),t.documentation||(t.documentation={kind:"markdown",value:["```css",yield it(e,n),"```"].join("\n")})),t}const n=Ht(e.classNames.classNames,[...t.data,"__info"]);if(9===t.kind)t.detail=e.classNames.context[t.data[t.data.length-1]].join(", ");else if(t.detail=yield function(e,t){return $t(this,void 0,void 0,(function*(){if(Array.isArray(t))return t.length+" rules";if(!0===t.__rule){const n=yield e.editor.getConfiguration();return function(e,{showPixelEquivalents:t=!1,rootFontSize:n=16}={}){let r=Object.keys(e),i=r.filter(e=>!e.startsWith("--"));r.length!==i.length&&0!==i.length&&(r=i);return r.map(r=>Z(e[r]).map(e=>{const i=t?ne(e,n):void 0;return`${r}: ${e}${i?`/* ${i} */`:""};`}).join(" ")).join(" ")}(Y(t),{showPixelEquivalents:Ht(n,"tailwindCSS.showPixelEquivalents",!0),rootFontSize:Ht(n,"tailwindCSS.rootFontSize",16)})}return null}))}(e,n),!t.documentation){const r=yield e.editor.getConfiguration(),i=ae(t.data.join(":"),n,{tabSize:Ht(r,"editor.tabSize",2),showPixelEquivalents:Ht(r,"tailwindCSS.showPixelEquivalents",!0),rootFontSize:Ht(r,"tailwindCSS.rootFontSize",16)});i&&(t.documentation={kind:"markdown",value:["```css",i,"```"].join("\n")})}return t}))}function Gt(e){return e.reduce((t,n,r)=>0===r?n:e.length>1&&r===e.length-1?`${t} and ${n}`:`${t}, ${n}`,"")}const Kt=__nccwpck_require__(7639);function Yt(e,t){const n=Ke(e,t);if(!n)return null;const r=Kt(e.classNames.classNames,[...n,"__info"]);return Array.isArray(r)?r.map(Y):Y(r)}var Qt=function(e,t,n,r){return new(n||(n=Promise))((function(i,s){function o(e){try{c(r.next(e))}catch(e){s(e)}}function a(e){try{c(r.throw(e))}catch(e){s(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,a)}c((r=r.apply(e,t||[])).next())}))};function Xt(e,t,n){return Qt(this,void 0,void 0,(function*(){let r=n.tailwindCSS.lint.cssConflict;if("ignore"===r)return[];let i=[];return(yield Be(e,t)).forEach(n=>{const s=je(n);s.forEach((n,o)=>{if(e.jit){let{rules:a}=rt(e,[n.className]);if(1!==a.length)return;let c,l=a[0],u=[];l.walkDecls(({prop:e})=>{u.push(e)});let h=s.filter((e,t)=>t!==o).filter(t=>{let{rules:r}=rt(e,[t.className]);if(1!==r.length)return!1;let i=r[0],s=[];if(i.walkDecls(({prop:e})=>{s.push(e)}),!te(u,s))return!1;c||(c=ot(e,l,n.className));let o=ot(e,i,t.className);return!!te(c,o)});if(0===h.length)return;return void i.push({code:et.CssConflict,className:n,otherClassNames:h,range:n.range,severity:"error"===r?1:2,message:`'${n.className}' applies the same CSS ${1===u.length?"property":"properties"} as ${Gt(h.map(e=>`'${e.className}'`))}.`,relatedInformation:h.map(e=>({message:e.className,location:{uri:t.uri,range:e.range}}))})}let a=Yt(e,n.className);if(!a)return;let c=Object.keys(a),l=Qe(e,n.className),u=s.filter((e,t)=>t!==o).filter(t=>{let n=Yt(e,t.className);if(!n)return!1;let r=Qe(e,t.className);return te(c,Object.keys(n))&&!Array.isArray(l)&&!Array.isArray(r)&&te(l.context,r.context)&&te(l.pseudo,r.pseudo)&&l.scope===r.scope});0!==u.length&&i.push({code:et.CssConflict,className:n,otherClassNames:u,range:n.range,severity:"error"===r?1:2,message:`'${n.className}' applies the same CSS ${1===c.length?"property":"properties"} as ${Gt(u.map(e=>`'${e.className}'`))}.`,relatedInformation:u.map(e=>({message:e.className,location:{uri:t.uri,range:e.range}}))})})}),i}))}var Jt=function(e,t,n,r){return new(n||(n=Promise))((function(i,s){function o(e){try{c(r.next(e))}catch(e){s(e)}}function a(e){try{c(r.throw(e))}catch(e){s(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,a)}c((r=r.apply(e,t||[])).next())}))};function Zt(e,t,n){return Jt(this,void 0,void 0,(function*(){let r=n.tailwindCSS.lint.invalidApply;if("ignore"===r)return[];return(yield qe(e,t,void 0,"css",!1)).map(t=>{let n=Ze(e,t.className);return null===n||!0===n.isApplyable?null:{code:et.InvalidApply,severity:"error"===r?1:2,range:t.range,message:n.reason,className:t}}).filter(Boolean)}))}__nccwpck_require__(7639);function en(e,t,n){let r=n.tailwindCSS.lint.invalidScreen;if("ignore"===r)return[];let i=[],s=[];if(ye(e,t))s.push(void 0);else{let n=Pe(e,t);if(!n)return[];s.push(...n.css)}return s.forEach(n=>{let s=t.getText(n);Le(/(?:\s|^)@screen\s+(?[^\s{]+)/g,s).forEach(t=>{if(e.screens.includes(t.groups.screen))return null;let o=`The screen '${t.groups.screen}' does not exist in your theme config.`,a=[],c=pt(t.groups.screen,e.screens);c&&(a.push(c),o+=` Did you mean '${c}'?`),i.push({code:et.InvalidScreen,range:dt({start:Ue(s,t.index+t[0].length-t.groups.screen.length),end:Ue(s,t.index+t[0].length)},n),severity:"error"===r?1:2,message:o,suggestions:a})})}),i}function tn(e,t,n){let r=n.tailwindCSS.lint.invalidVariant;if("ignore"===r)return[];if(P().gte(e.version,"2.99.0"))return[];let i=[],s=[];if(ye(e,t))s.push(void 0);else{let n=Pe(e,t);if(!n)return[];s.push(...n.css)}let o=Object.keys(e.variants);return e.jit&&(o.unshift("responsive"),o=o.filter(t=>!e.screens.includes(t))),s.forEach(e=>{let n=t.getText(e);Le(/(?:\s|^)@variants\s+(?[^{]+)/g,n).forEach(t=>{let s=t.groups.variants.split(/(\s*,\s*)/),a=t.index+t[0].length-t.groups.variants.length;for(let t=0;t{let s=t.getText(n),a=Le(/(?:\s|^)@tailwind\s+(?[^;]+)/g,s),c=["utilities","components","screens",P().gte(e.version,"1.0.0-beta.1")?"base":"preflight",o&&"variants"].filter(Boolean),l=c;o&&(l=l.filter(e=>"screens"!==e)),a.forEach(e=>{if(c.includes(e.groups.value))return null;let t=`'${e.groups.value}' is not a valid value.`,o=[];if("preflight"===e.groups.value)o.push("base"),t+=" Did you mean 'base'?";else{let n=pt(e.groups.value,l);n&&(o.push(n),t+=` Did you mean '${n}'?`)}i.push({code:et.InvalidTailwindDirective,range:dt({start:Ue(s,e.index+e[0].length-e.groups.value.length),end:Ue(s,e.index+e[0].length)},n),severity:"error"===r?1:2,message:t,suggestions:o})})}),i}var rn=function(e,t,n,r){return new(n||(n=Promise))((function(i,s){function o(e){try{c(r.next(e))}catch(e){s(e)}}function a(e){try{c(r.throw(e))}catch(e){s(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,a)}c((r=r.apply(e,t||[])).next())}))};function sn(e,t,n){return rn(this,void 0,void 0,(function*(){if(!e.jit)return[];if(P().gte(e.version,"2.99.0"))return[];let r=n.tailwindCSS.lint.recommendedVariantOrder;if("ignore"===r)return[];let i=[];return(yield Be(e,t)).forEach(t=>{je(t).forEach(t=>{let{rules:n}=rt(e,[t.className]);if(0===n.length)return;let{variants:s,offset:o}=Ft(e,t.className),a=[...s].sort((t,n)=>nt(e.jitContext.variantOrder.get(n)-e.jitContext.variantOrder.get(t)));(function(e,t){if(e===t)return!0;if(e.length!==t.length)return!1;for(let n=0;n{ln(e,t)})}function hn(e,t){let n=Z(t),r=we()(e+"\n",{origin:0}),i=[];n.forEach(t=>{let n=r.toIndex(t.start.line,t.start.character),s=r.toIndex(t.end.line,t.end.character);for(let t=n-1;t>=0&&/\s/.test(e.charAt(t));t--)n=t;i.push({start:n,end:s})}),i.sort((e,t)=>e.start-t.start);let s="",o=0;return i.forEach(t=>{s+=e.substring(o,t.start),o=t.end}),s+=e.substring(o),s.trim()}var pn=function(e,t,n,r){return new(n||(n=Promise))((function(i,s){function o(e){try{c(r.next(e))}catch(e){s(e)}}function a(e){try{c(r.throw(e))}catch(e){s(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,a)}c((r=r.apply(e,t||[])).next())}))};var dn=__nccwpck_require__(3e3),fn=__nccwpck_require__.n(dn),mn=/\s*!important\s*$/i,gn={"box-flex":!0,"box-flex-group":!0,"column-count":!0,flex:!0,"flex-grow":!0,"flex-positive":!0,"flex-shrink":!0,"flex-negative":!0,"font-weight":!0,"line-clamp":!0,"line-height":!0,opacity:!0,order:!0,orphans:!0,"tab-size":!0,widows:!0,"z-index":!0,zoom:!0,"fill-opacity":!0,"stroke-dashoffset":!0,"stroke-opacity":!0,"stroke-width":!0};function vn(e,t,n,r){!1!==n&&null!==n&&(t=t.replace(/([A-Z])/g,"-$1").replace(/^ms-/,"-ms-").toLowerCase(),"number"==typeof n&&(n=0===n||gn[t]?n.toString():n.toString()+"px"),"css-float"===t&&(t="float"),mn.test(n)?(n=n.replace(mn,""),e.push(r.decl({prop:t,value:n,important:!0}))):e.push(r.decl({prop:t,value:n})))}function yn(e,t,n,r){var i=r.atRule({name:t[1],params:t[3]||""});"object"==typeof n&&(i.nodes=[],bn(n,i,r)),e.push(i)}function bn(e,t,n){var r,i,s,o;for(r in e)if(e.hasOwnProperty(r)){if(null==(i=e[r]))continue;if("@"===r[0]){var a=r.match(/@([^\s]+)(\s+([\w\W]*)\s*)?/);if(Array.isArray(i))for(o=0;oxe(n.range.start,e)),!r)return[];s=i.getText(r)}try{yield o.module([o.module.plugin("",(t={})=>t=>{t.walkRules(t=>{if(a.length)return!1;t.walkAtRules("apply",i=>{let o=kn(i.source);if(r&&(o=dt(o,r)),!xe(n.range.start,o))return;let l=function(e,t,n,r=!1){const i=t[t.length-1],s=Ze(e,[i]);if(null===s||!1===s.isApplyable)return null;const o=Qe(e,t);if(Array.isArray(o))return null;let a=o.context,c=o.pseudo;const l=e.classNames.context,u=[];for(let n=0;n!i.includes(e)))}u.push(...a);let h={};for(let e=1;e<=u.length;e++)D()(h,u.slice(0,e),{});if(null===(n=function(e,t){if(0===t.length)return e;let n=!0,r=F()(e=>{ee(e.split(e=>!0)).forEach(e=>{for(let r=e.nodes.length-1;r>=0&&"pseudo"===e.nodes[r].type;r--)if(t.includes(e.nodes[r].value)){n=!1;break}n&&t.forEach(t=>{e.append(F().pseudo({value:t}))})})}).processSync(e);return n?r:null}(n,c)))return null;let p={[n]:{[`@apply ${i}${r?" !important":""}`]:""}};u.length?D()(h,u,p):h=p;return function(e,t){var n=t.root();return bn(e,n,t),n}(h,e.modules.postcss)}(e,u,t.selector,n.className.classList.important);if(!l)return!1;t.after(l.nodes);let h=t.next();if(!h)return!1;1===c?i.remove():a.push({range:n.className.classList.range,newText:hn(n.className.classList.classList,n.className.relativeRange)});let p,d=kn(t.source);r&&(d=dt(d,r));let f=fn()(s);return a.push({range:d,newText:t.toString()+(h.raws.before||"\n\n")+h.toString().replace(/\n\s*\n/g,"\n").replace(/(@apply [^;\n]+)$/gm,"$1;").replace(/([^\s^]){$/gm,"$1 {").replace(/^\s+/gm,e=>(void 0===p&&(p=e),e.replace(new RegExp(p,"g"),f.indent))).replace(/^(\s+)(.*?[^{}]\n)([^\s}])/gm,"$1$2$1$3")}),!1})})})]).process(s,{from:void 0})}catch(e){return[]}return a.length?[{title:"Extract to new rule",kind:"quickfix",diagnostics:[n],edit:{changes:{[t.textDocument.uri]:a}}}]:[]}))}function kn(e){return{start:{line:e.start.line-1,character:e.start.column-1},end:{line:e.end.line-1,character:e.end.column}}}var En=function(e,t,n,r){return new(n||(n=Promise))((function(i,s){function o(e){try{c(r.next(e))}catch(e){s(e)}}function a(e){try{c(r.throw(e))}catch(e){s(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,a)}c((r=r.apply(e,t||[])).next())}))};function Sn(e,t){return En(this,void 0,void 0,(function*(){let n=yield function(e,t,n){return En(this,void 0,void 0,(function*(){let r=e.editor.documents.get(t.textDocument.uri),i=yield an(e,r,n);return t.context.diagnostics.map(e=>i.find(t=>{return t.code===e.code&&t.message===e.message&&(n=t.range,r=e.range,n.start.line===r.start.line&&n.start.character===r.start.character&&n.end.line===r.end.line&&n.end.character===r.end.character);var n,r})).filter(Boolean)}))}(e,t,t.context.diagnostics.map(e=>e.code).filter(Boolean));return Promise.all(n.map(n=>function(e){return e.code===et.InvalidApply}(n)?xn(e,t,n):function(e){return e.code===et.CssConflict}(n)?function(e,t,n){return pn(this,void 0,void 0,(function*(){return[{title:"Delete "+Gt(n.otherClassNames.map(e=>`'${e.className}'`)),kind:"quickfix",diagnostics:[n],edit:{changes:{[t.textDocument.uri]:[{range:n.className.classList.range,newText:hn(n.className.classList.classList,n.otherClassNames.map(e=>e.relativeRange))}]}}}]}))}(0,t,n):function(e){return e.code===et.InvalidConfigPath}(n)||function(e){return e.code===et.InvalidTailwindDirective}(n)||function(e){return e.code===et.InvalidScreen}(n)||function(e){return e.code===et.InvalidVariant}(n)||function(e){return e.code===et.RecommendedVariantOrder}(n)?function(e,t,n){return n.suggestions.map(e=>({title:`Replace with '${e}'`,kind:"quickfix",diagnostics:[n],edit:{changes:{[t.textDocument.uri]:[{range:n.range,newText:e}]}}}))}(0,t,n):[])).then(ee).then(e=>{return t=e=>JSON.stringify(e.edit),e.filter((e,n,r)=>r.map(t).indexOf(t(e))===n);var t})}))}var Cn=function(e,t,n,r){return new(n||(n=Promise))((function(i,s){function o(e){try{c(r.next(e))}catch(e){s(e)}}function a(e){try{c(r.throw(e))}catch(e){s(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,a)}c((r=r.apply(e,t||[])).next())}))};function Rn(e,t){return Cn(this,void 0,void 0,(function*(){let n=[];return e.enabled?(!1===(yield e.editor.getConfiguration(t.uri)).tailwindCSS.colorDecorators||((yield Be(e,t)).forEach(t=>{je(t).forEach(t=>{var r;let i=Pt(e,t.className);null!==i&&"string"!=typeof i&&0!==(null!==(r=i.alpha)&&void 0!==r?r:1)&&n.push({range:t.range,color:Nt(i)})})}),function(e,t){if(ye(e,t))return We(t);let n=Pe(e,t);return n?ee(n.css.map(e=>We(t,e))):[]}(e,t).forEach(t=>{var r;let i=lt(t.value),s="theme"===t.helper?["theme"]:[],o=Ot(I()(e.config,[...s,...i]));o&&"string"!=typeof o&&0!==(null!==(r=o.alpha)&&void 0!==r?r:1)&&n.push({range:t.valueRange,color:Nt(o)})})),n):n}))}var Tn=__nccwpck_require__(8685),An=__nccwpck_require__(9227),Pn=__nccwpck_require__.n(An),On=__nccwpck_require__(7410),In=__nccwpck_require__.n(On);function Nn(e){return function(e){const t=[Dn(e)];for(const e of t)e.requires.filter(e=>e.startsWith("./")||e.startsWith("../")).forEach(n=>{try{const i=r().dirname(e.file),s=Dn(Pn().sync(n,{basedir:i}));t.push(s)}catch(e){}});return t}(e).map(({file:e})=>e).filter(t=>t!==e)}function Dn(e){const t=s().readFileSync(e,"utf-8");return{file:e,requires:In()(t)}}var Mn=__nccwpck_require__(2357),Ln=__nccwpck_require__.n(Mn),jn=__nccwpck_require__(2941),qn=function(e,t,n,r){return new(n||(n=Promise))((function(i,s){function o(e){try{c(r.next(e))}catch(e){s(e)}}function a(e){try{c(r.throw(e))}catch(e){s(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,a)}c((r=r.apply(e,t||[])).next())}))};const Fn="{tailwind,tailwind.config}.{js,cjs}",$n=['"',"'","`"," ",".","[","!","/"],Hn=Object.keys(kt()),zn=process.argv.length<=2?(0,d.createConnection)(process.stdin,process.stdout):(0,d.createConnection)();function Bn(e,t){return JSON.stringify([e,...t].map(e=>[e,i.statSync(e).mtimeMs]))}function Wn(...e){for(let t=0;tqn(this,void 0,void 0,(function*(){if(g.has(e))return g.get(e);let[t,n]=yield Promise.all([r.workspace.getConfiguration({section:"editor",scopeUri:e}),r.workspace.getConfiguration({section:"tailwindCSS",scopeUri:e})]),i={editor:t,tailwindCSS:n};return g.set(e,i),i})),getDocumentSymbols:e=>r.sendRequest("@/tailwindCSS/getDocumentSymbols",{uri:e})}},g=new Map;let b,w,E=["**/.git/objects/**","**/.git/subtree-cache/**","**/node_modules/**","**/.hg/store/**"];function C(e){let t=!1,n=!1;for(let r of e){let e=x()(r.file);for(let t of E)R()(e,t,{dot:!0});let i=R()(e,"**/"+Fn,{dot:!0}),s=R()(e,"**/package.json",{dot:!0}),o=f.dependencies&&f.dependencies.includes(r.file);if(i||s||o){if(r.type===d.FileChangeType.Created){t=!0;break}if(r.type===d.FileChangeType.Changed){if(!f.enabled||s){t=!0;break}n=!0}else if(r.type===d.FileChangeType.Deleted){if(!f.enabled||s||i){t=!0;break}n=!0}}}t?N():n&&M()}if(null===(h=null===(u=s.capabilities.workspace)||void 0===u?void 0:u.didChangeWatchedFiles)||void 0===h?void 0:h.dynamicRegistration)r.onDidChangeWatchedFiles(({changes:e})=>{C(e.map(({uri:e,type:t})=>({file:m.URI.parse(e).fsPath,type:t})))}),r.client.register(d.DidChangeWatchedFilesNotification.type,{watchers:[{globPattern:"**/"+Fn},{globPattern:"**/package.json"}]});else if(jn.Fp()){let t={create:d.FileChangeType.Created,update:d.FileChangeType.Changed,delete:d.FileChangeType.Deleted},r=yield jn.Ld(e,(e,n)=>{C(n.map(e=>({file:e.path,type:t[e.type]})))},{ignore:E.map(t=>n.resolve(e,t.replace(/^[*/]+/,"").replace(/[*/]+$/,"")))});p.push({dispose(){r.unsubscribe()}})}else{let t=__nccwpck_require__(3002).Y;w=t(["**/"+Fn,"**/package.json"],{cwd:e,ignorePermissionErrors:!0,ignoreInitial:!0,ignored:E,awaitWriteFinish:{stabilityThreshold:100,pollInterval:20}}),yield new Promise(e=>{w.on("ready",()=>e())}),w.on("add",e=>C([{file:e,type:d.FileChangeType.Created}])).on("change",e=>C([{file:e,type:d.FileChangeType.Changed}])).on("unlink",e=>C([{file:e,type:d.FileChangeType.Deleted}])),p.push({dispose(){w.close()}})}function A(e=[]){if(Yn(r,s)){b&&b.then(e=>e.dispose());let t=d.BulkRegistration.create();t.add(d.HoverRequest.type,{documentSelector:null}),t.add(d.DocumentColorRequest.type,{documentSelector:null}),t.add(d.CodeActionRequest.type,{documentSelector:null}),t.add(d.CompletionRequest.type,{documentSelector:null,resolveProvider:!0,triggerCharacters:[...$n,f.separator]}),e.length>0&&t.add(d.DidChangeWatchedFilesNotification.type,{watchers:e.map(e=>({globPattern:e}))}),b=r.client.register(t)}}function O(){!function(e){var t;null===(t=e.editor)||void 0===t||t.documents.all().forEach(t=>{!function(e,t){var n;null===(n=e.editor)||void 0===n||n.connection.sendDiagnostics({uri:t.uri,diagnostics:[]})}(e,t)})}(f),Object.keys(f).forEach(e=>{"editor"!==e&&"dependencies"!==e&&delete f[e]}),f.enabled=!1,A(f.dependencies)}function N(){return qn(this,void 0,void 0,(function*(){try{yield function(){return qn(this,void 0,void 0,(function*(){q();let[t]=(yield _()(["**/"+Fn],{cwd:e,ignore:["**/node_modules"],onlyFiles:!0,absolute:!0,suppressErrors:!0,dot:!0,concurrency:Math.max(k.cpus().length,1)})).sort((e,t)=>e.split("/").length-t.split("/").length).map(n.normalize);if(!t)throw new y("No config file found.");const r=S().sync(t=>{let r=n.join(t,".pnp.js");return S().sync.exists(r)?r:(r=n.join(t,".pnp.cjs"),S().sync.exists(r)?r:t===e?S().stop:void 0)},{cwd:e});if(r){let e=require(r);e.setup(),function(e){c=a({pnpApi:e})}(e)}const i=Bn(t,Nn(t)),s=n.dirname(t);let o,u,h,p,d,m,g,v,b,w={future:[],experimental:[]};try{const r=l(s,"tailwindcss"),a=l(s,"tailwindcss/package.json"),c=n.dirname(a),y=l(c,"postcss"),_=l(c,"postcss/package.json"),x=n.dirname(_),k=l(c,"postcss-selector-parser");if(m=require(_).version,d=require(a).version,f.enabled&&m===f.modules.postcss.version&&d===f.modules.tailwindcss.version&&t===f.configPath&&i===f.configId)return;console.log("Found Tailwind CSS config file: "+t),u=require(y),h=require(k),console.log(`Loaded postcss v${m}: ${x}`),o=require(r),console.log(`Loaded tailwindcss v${d}: ${c}`);try{v=require(l(c,"./resolveConfig.js"))}catch(e){try{const e=require(l(c,"./lib/util/resolveConfig.js")),t=require(l(c,"./stubs/defaultConfig.stub.js"));v=n=>e([n,t])}catch(e){try{const e=require(l(c,"./lib/util/mergeConfigWithDefaults.js")),t=require(l(c,"./defaultConfig.js"));v=n=>e(n,t())}catch(e){throw Error("Failed to load resolveConfig function.")}}}if(P().gte(d,"1.4.0")&&P().lte(d,"1.99.0")){const t=l(c,"browserslist");g=require(t)(void 0,{path:e})}P().gte(d,"1.99.0")?b=function(...e){for(let t=0;trequire(l(c,"./lib/lib/substituteClassApplyAtRules"))):P().gte(d,"1.7.0")&&(b=require(l(c,"./lib/flagged/applyComplexClasses")));try{w=require(l(c,"./lib/featureFlags.js")).default}catch(e){}let E=new Set,S=u.root(),C={opts:{},messages:[]},R=()=>{};try{let e=Wn(()=>{let e=require(l(s,"tailwindcss/lib/lib/setupContextUtils")).createContext;return Ln().strictEqual(typeof e,"function"),t=>e(t.config)},()=>{let e=require(l(s,"tailwindcss/lib/jit/lib/setupContextUtils")).createContext;return Ln().strictEqual(typeof e,"function"),t=>e(t.config)},()=>{let e=require(l(s,"tailwindcss/lib/jit/lib/setupTrackingContext")).default;return Ln().strictEqual(typeof e,"function"),t=>e(t.configPath,E,R)(C,S)},()=>{let e=require(l(s,"tailwindcss/lib/jit/lib/setupContext")).default;return Ln().strictEqual(typeof e,"function"),t=>e(t.configPath,E)(C,S)});p={generateRules:{module:Wn(()=>require(l(s,"tailwindcss/lib/lib/generateRules")).generateRules,()=>require(l(s,"tailwindcss/lib/jit/lib/generateRules")).generateRules)},createContext:{module:e},expandApplyAtRules:{module:Wn(()=>require(l(s,"tailwindcss/lib/lib/expandApplyAtRules")).default,()=>require(l(s,"tailwindcss/lib/jit/lib/expandApplyAtRules")).default)}}}catch(e){try{let e=require(l(s,"tailwindcss/jit/lib/setupContext"));p={generateRules:{module:require(l(s,"tailwindcss/jit/lib/generateRules")).generateRules},createContext:{module:t=>e(t.configPath,E)(C,S)},expandApplyAtRules:{module:require(l(s,"tailwindcss/jit/lib/expandApplyAtRules"))}}}catch(e){}}}catch(e){throw new y(e.message)}f.configPath=t,f.modules={tailwindcss:{version:d,module:o},postcss:{version:m,module:u},postcssSelectorParser:{module:h},resolveConfig:{module:v},jit:p},f.browserslist=g,f.featureFlags=w,f.version=d;try{f.corePlugins=Object.keys(require(l(n.dirname(f.configPath),"tailwindcss/lib/plugins/index.js")))}catch(e){}if(b&&!b.default.__patched){let e=b.default;b.default=(t,...n)=>{if(f.jit)return f.modules.jit.expandApplyAtRules.module(f.jitContext);let r=G(t);r.separator=void 0===f.separator?":":f.separator;let i=e(r,...n);return e=>qn(this,void 0,void 0,(function*(){return e.walkRules(e=>{const t=e.selector.replace(/__TWSEP__(.*?)__TWSEP__/g,"$1");t!==e.selector&&(e.before(u.comment({text:"__ORIGINAL_SELECTOR__:"+e.selector})),e.selector=t)}),yield i(e),e.walkComments(e=>{e.text.startsWith("__ORIGINAL_SELECTOR__:")&&(e.next().selector=e.text.replace(/^__ORIGINAL_SELECTOR__:/,""),e.remove())}),e}))},b.default.__patched=!0}yield M()}))}()}catch(e){O(),v(r,e)}}))}function M(){return qn(this,void 0,void 0,(function*(){try{yield function(){return qn(this,void 0,void 0,(function*(){q();const{tailwindcss:e,postcss:t,resolveConfig:r}=f.modules,s=P().gte(e.version,"0.99.0")?["separator"]:["options","separator"];let o,a,c=[],l=P().gte(e.version,"2.99.0"),u=new T(i.realpathSync(f.configPath),e=>{o=G(e);let t=I()(e,s);"string"!=typeof t&&(t=":"),D()(e,s,`__TWSEP__${t}__TWSEP__`),e[l?"content":"purge"]=[];let n=function e(t){if(void 0!==t.mode)return t.mode;if(Array.isArray(t.presets))for(let n=t.presets.length-1;n>=0;n--){let r=e(t.presets[n]);if(void 0!==r)return r}}(e);if(function e(t){if(delete t.mode,Array.isArray(t.presets))for(let n of t.presets)e(n)}(e),l||f.modules.jit&&"jit"===n){if(f.jit=!0,e.variants=[],Array.isArray(e.presets))for(let t of e.presets)c.push(t.variants),t.variants=[]}else f.jit=!1;if(f.corePlugins){let t={};for(let e of f.corePlugins)t[e]=!0;e.corePlugins=t}return Array.isArray(e.plugins)&&(e.plugins=e.plugins.map(e=>{if(e.__isOptionsFunction&&(e=e()),"function"==typeof e){let t=(...t)=>(t[0].matchUtilities||(t[0].matchUtilities=()=>{}),e(...t));return t.__intellisense_cache_bust=Math.random(),t}return e.handler?Object.assign(Object.assign({},e),{handler:(...t)=>(t[0].matchUtilities||(t[0].matchUtilities=()=>{}),e.handler(...t)),__intellisense_cache_bust:Math.random()}):e})),e});try{require(f.configPath)}catch(e){throw u.unhook(),e}if(!o)throw new y("Failed to load config file: "+f.configPath);try{f.config=r.module(o),f.separator=f.config.separator,f.jit?(f.jitContext=f.modules.jit.createContext.module(f),f.jitContext.tailwindConfig.separator=f.config.separator,f.jitContext.getClassList&&(f.classList=f.jitContext.getClassList().filter(e=>"*"!==e).map(e=>[e,{color:Pt(f,e)}]))):(delete f.jitContext,delete f.classList)}catch(e){throw u.unhook(),e}if(f.classList)u.unhook();else try{a=yield t.module([e.module(f.configPath)]).process([P().gte(e.version,"0.99.0")?"base":"preflight","components","utilities"].map(e=>`/*__tw_intellisense_layer_${e}__*/\n@tailwind ${e};`).join("\n"),{from:void 0})}catch(e){throw e}finally{u.unhook()}f.dependencies&&(null==w||w.unwatch(f.dependencies)),f.dependencies=Nn(f.configPath),null==w||w.add(f.dependencies),f.configId=Bn(f.configPath,f.dependencies),f.plugins=yield function(e){return qn(this,void 0,void 0,(function*(){let t=e.plugins;return Array.isArray(t)?Promise.all(t.map(e=>qn(this,void 0,void 0,(function*(){let t=e.config;Vn(t)||(t={});let r={theme:Vn(t.theme)?Object.keys(t.theme):[],variants:Vn(t.variants)?Object.keys(t.variants):[]};const i=e.handler||e,s="string"==typeof i.name&&"handler"!==i.name&&""!==i.name?i.name:null;try{i()}catch(e){const t=j.parse(e);if(0===t.length)return{name:s};const i=t[0].fileName,o=n.dirname(i);let a;if(!L().sync({cwd:o}))return{name:s};try{a=require(a)}catch(e){return{name:s}}if(a.name&&n.resolve(o,a.main||"index.js")===i)return{name:a.name,homepage:a.homepage,contributes:r}}return{name:s}})))):[]}))}(o),a&&(f.classNames=yield U(a.root)),f.variants=function(e){if(e.jit){function t(t){let n=e.modules.postcssSelectorParser.module.className();return n.value=t,I()(n,"raws.value",n.value)}let n={};return Array.from(e.jitContext.variantMap).forEach(([r,i])=>{let s=(Array.isArray(i[0])?i:[i]).map(([e,t])=>t),o="__variant_placeholder__",a=e.modules.postcss.module.root({nodes:[e.modules.postcss.module.rule({selector:"."+t(o),nodes:[]})]}),c=e.modules.postcssSelectorParser.module(e=>e.first.filter(({type:e})=>"class"===e).pop().value);function l(e){return a.each(t=>{"rule"===t.type&&(t.selectors=t.selectors.map(t=>e({get className(){return function(e){return c.transformSync(e)}(t)},selector:t})))}),a}let u=[];for(let n of s){let i,s=a.clone(),c=n({container:s,separator:e.separator,modifySelectors:l,format:e=>{i=e.replace(/:merge\(([^)]+)\)/g,"$1")},wrap:e=>{Gn(e)&&(i=`@${e.name} ${e.params}`)}});i||(i=c),i?u.push(i):(s.walkDecls(e=>{e.remove()}),i=s.toString().replace("."+t(`${r}:${o}`),"&").replace(/(?{!function(e,t,n={}){let r=t.config,i=t.modules.postcss.module,s=t.browserslist;const o=s&&s.includes("ie 11")?"ie11":"relaxed",a="function"==typeof e?e:e.handler;try{a(Object.assign({addUtilities:()=>{},addComponents:()=>{},addBase:()=>{},matchUtilities:()=>{},addVariant:()=>{},e:e=>e,prefix:e=>e,theme:(e,t)=>I()(r,"theme."+e,t),variants:()=>[],config:(e,t)=>I()(r,e,t),corePlugins:e=>Array.isArray(r.corePlugins)?r.corePlugins.includes(e):I()(r,"corePlugins."+e,!0),target:e=>{if("string"==typeof r.target)return"browserslist"===r.target?o:r.target;const[t,n]=I()(r,"target"),i=I()(n,e,t);return"browserslist"===i?o:i},postcss:i},n))}catch(e){}}(t,e,{addVariant:e=>{i.push(e)}})}),i.reduce((e,t)=>Object.assign(Object.assign({},e),{[t]:null}),{})}(f);let h=I()(f.config,"theme.screens",I()(f.config,"screens",{}));f.screens=Vn(h)?Object.keys(h):[],f.enabled=!0,un(f),A(f.dependencies)}))}()}catch(e){O(),v(r,e)}}))}function q(){Object.keys(require.cache).forEach(e=>{e.endsWith(".node")||delete require.cache[e]}),Object.keys(t()._pathCache).forEach(e=>{delete t()._pathCache[e]})}return{state:f,tryInit:N,dispose(){for(let{dispose:e}of p)e()},onUpdateSettings(e){g.clear(),f.enabled&&un(f),e.editor.colorDecorators?A(f.dependencies):r.sendNotification("@/tailwindCSS/clearColors")},onHover(e){if(!f.enabled)return null;let t=o.getDocument(e.textDocument.uri);return t?_t(f,t,e.position):null},onCompletion(e){if(!f.enabled)return null;let t=o.getDocument(e.textDocument.uri);return t?Ut(f,t,e.position,e.context):null},onCompletionResolve:e=>f.enabled?Vt(f,e):null,onCodeAction:e=>f.enabled?Sn(f,e):null,provideDiagnostics:(0,Tn.debounce)(e=>{f.enabled&&ln(f,e)},500),onDocumentColor(e){return qn(this,void 0,void 0,(function*(){if(!f.enabled)return[];let t=o.getDocument(e.textDocument.uri);return t?Rn(f,t):[]}))},onColorPresentation(e){var t;return qn(this,void 0,void 0,(function*(){let n=o.getDocument(e.textDocument.uri).getText(e.range),r=n.match(new RegExp(`-\\[(${Hn.join("|")}|(?:(?:#|rgba?\\(|hsla?\\())[^\\]]+)\\]$`,"i"));if(null===r)return[];let i=r[1],s=Hn.includes(i),a={mode:"rgb",r:e.color.red,g:e.color.green,b:e.color.blue,alpha:e.color.alpha},c=wt.formatHex8(a);if(!s&&(4===i.length||5===i.length)){let[,...e]=null!==(t=c.match(/^#([a-f\d])\1([a-f\d])\2([a-f\d])\3(?:([a-f\d])\4)?$/i))&&void 0!==t?t:[];e.length&&(c="#"+e.filter(Boolean).join(""))}5===c.length?c=c.replace(/f$/,""):9===c.length&&(c=c.replace(/ff$/,""));let l=n.substr(0,r.index);return[c,wt.formatRgb(a).replace(/ /g,""),wt.formatHsl(a).replace(/ /g,"").replace(/\d+\.\d+(%?)/g,(e,t)=>`${Math.round(parseFloat(e))}${t}`)].map(e=>({label:`${l}-[${e}]`}))}))}}}))}function Vn(e){return"[object Object]"===Object.prototype.toString.call(e)}function Gn(e){return"atrule"===e.type}console.log=zn.console.log.bind(zn.console),console.error=zn.console.error.bind(zn.console),process.on("unhandledRejection",e=>{zn.console.error(g("Unhandled exception",e))});class Kn{constructor(e){this.documents=new d.TextDocuments(f.TextDocument),this.documents.listen(e)}getDocument(e){return this.documents.get(e)}getAllDocuments(){return this.documents.all()}get onDidChangeContent(){return this.documents.onDidChangeContent}get onDidClose(){return this.documents.onDidClose}}function Yn(e,t){return e.onInitialized&&t.capabilities.textDocument.hover.dynamicRegistration&&t.capabilities.textDocument.colorProvider.dynamicRegistration&&t.capabilities.textDocument.codeAction.dynamicRegistration&&t.capabilities.textDocument.completion.dynamicRegistration}const Qn=new class{constructor(e){this.connection=e,this.initialized=!1,this.documentService=new Kn(this.connection),this.workspaces=new Map,this.projects=new Map}init(){return qn(this,void 0,void 0,(function*(){if(this.initialized)return;this.initialized=!0;const e=this.initializeParams.rootPath?[{name:"",fsPath:(t=this.initializeParams.rootPath,m.URI.file(t).fsPath)}]:[];var t;0!==e.length?(yield Promise.all(e.map(e=>qn(this,void 0,void 0,(function*(){return this.addProject(e.fsPath,this.initializeParams)})))),this.setupLSPHandlers(),this.connection.onDidChangeConfiguration(({settings:e})=>qn(this,void 0,void 0,(function*(){for(let[,t]of this.projects)t.onUpdateSettings(e)}))),this.connection.onShutdown(()=>{this.dispose()}),this.documentService.onDidChangeContent(e=>{const t=Array.from(this.projects.values())[0];null==t||t.provideDiagnostics(e.document)})):console.error("No workspace folders found, not initializing.")}))}addProject(e,t){return qn(this,void 0,void 0,(function*(){if(this.projects.has(e))yield this.projects.get(e).tryInit();else{const n=yield Un(e,this.connection,t,this.documentService);yield n.tryInit(),this.projects.set(e,n)}}))}setupLSPHandlers(){this.connection.onHover(this.onHover.bind(this)),this.connection.onCompletion(this.onCompletion.bind(this)),this.connection.onCompletionResolve(this.onCompletionResolve.bind(this)),this.connection.onDocumentColor(this.onDocumentColor.bind(this)),this.connection.onColorPresentation(this.onColorPresentation.bind(this)),this.connection.onCodeAction(this.onCodeAction.bind(this))}onDocumentColor(e){var t;return qn(this,void 0,void 0,(function*(){const n=Array.from(this.projects.values())[0];return null!==(t=null==n?void 0:n.onDocumentColor(e))&&void 0!==t?t:[]}))}onColorPresentation(e){var t;return qn(this,void 0,void 0,(function*(){const n=Array.from(this.projects.values())[0];return null!==(t=null==n?void 0:n.onColorPresentation(e))&&void 0!==t?t:[]}))}onHover(e){var t;return qn(this,void 0,void 0,(function*(){const n=Array.from(this.projects.values())[0];return null!==(t=null==n?void 0:n.onHover(e))&&void 0!==t?t:null}))}onCompletion(e){var t;return qn(this,void 0,void 0,(function*(){const n=Array.from(this.projects.values())[0];return null!==(t=null==n?void 0:n.onCompletion(e))&&void 0!==t?t:null}))}onCompletionResolve(e){var t;return qn(this,void 0,void 0,(function*(){const n=Array.from(this.projects.values())[0];return null!==(t=null==n?void 0:n.onCompletionResolve(e))&&void 0!==t?t:null}))}onCodeAction(e){var t;const n=Array.from(this.projects.values())[0];return null!==(t=null==n?void 0:n.onCodeAction(e))&&void 0!==t?t:null}listen(){this.connection.listen()}dispose(){for(let[,e]of this.projects)e.dispose()}}(zn);zn.onInitialize(e=>qn(void 0,void 0,void 0,(function*(){return Qn.initializeParams=e,Yn(zn,e)?{capabilities:{textDocumentSync:d.TextDocumentSyncKind.Full}}:(Qn.init(),{capabilities:{textDocumentSync:d.TextDocumentSyncKind.Full,hoverProvider:!0,colorProvider:!0,codeActionProvider:!0,completionProvider:{resolveProvider:!0,triggerCharacters:[...$n,":"]}}})}))),zn.onInitialized(()=>qn(void 0,void 0,void 0,(function*(){yield Qn.init()}))),Qn.listen()})(),module.exports=__webpack_exports__})(); \ No newline at end of file + */const n=r(87218),i=(e,t,r)=>{if(!1===n(e))throw new TypeError("toRegexRange: expected the first argument to be a number");if(void 0===t||e===t)return String(e);if(!1===n(t))throw new TypeError("toRegexRange: expected the second argument to be a number.");let o={relaxZeros:!0,...r};"boolean"==typeof o.strictZeros&&(o.relaxZeros=!1===o.strictZeros);let l=e+":"+t+"="+String(o.relaxZeros)+String(o.shorthand)+String(o.capture)+String(o.wrap);if(i.cache.hasOwnProperty(l))return i.cache[l].result;let c=Math.min(e,t),u=Math.max(e,t);if(1===Math.abs(c-u)){let r=e+"|"+t;return o.capture?`(${r})`:!1===o.wrap?r:`(?:${r})`}let p=f(e)||f(t),h={min:e,max:t,a:c,b:u},d=[],g=[];if(p&&(h.isPadded=p,h.maxLen=String(h.max).length),c<0){g=s(u<0?Math.abs(u):1,Math.abs(c),h,o),c=h.a=0}return u>=0&&(d=s(c,u,h,o)),h.negatives=g,h.positives=d,h.result=function(e,t,r){let n=a(e,t,"-",!1,r)||[],i=a(t,e,"",!1,r)||[],o=a(e,t,"-?",!0,r)||[];return n.concat(o).concat(i).join("|")}(g,d,o),!0===o.capture?h.result=`(${h.result})`:!1!==o.wrap&&d.length+g.length>1&&(h.result=`(?:${h.result})`),i.cache[l]=h,h.result};function o(e,t,r){if(e===t)return{pattern:e,count:[],digits:0};let n=function(e,t){let r=[];for(let n=0;n1&&i.count.pop(),i.count.push(l.count[0]),i.string=i.pattern+h(i.count),c=t+1)}return a}function a(e,t,r,n,i){let o=[];for(let i of e){let{string:e}=i;n||c(t,"string",e)||o.push(r+e),n&&c(t,"string",e)&&o.push(r+e)}return o}function l(e,t){return e>t?1:t>e?-1:0}function c(e,t,r){return e.some(e=>e[t]===r)}function u(e,t){return Number(String(e).slice(0,-t)+"9".repeat(t))}function p(e,t){return e-e%Math.pow(10,t)}function h(e){let[t=0,r=""]=e;return r||t>1?`{${t+(r?","+r:"")}}`:""}function d(e,t,r){return`[${e}${t-e==1?"":"-"}${t}]`}function f(e){return/^-?(0+)\d/.test(e)}function g(e,t,r){if(!t.isPadded)return e;let n=Math.abs(t.maxLen-String(e).length),i=!1!==r.relaxZeros;switch(n){case 0:return"";case 1:return i?"0?":"0";case 2:return i?"0{0,2}":"00";default:return i?`0{0,${n}}`:`0{${n}}`}}i.cache={},i.clearCache=()=>i.cache={},e.exports=i},85632:e=>{"use strict";e.exports=function(e,t,r){return 0===e.length?e:t?(r||e.sort(t),function(e,t){for(var r=1,n=e.length,i=e[0],o=e[0],s=1;s{e.exports=r(31669).deprecate},56235:(e,t,r)=>{e.exports=function(e,t){"use strict";var r={};function n(t){if(r[t])return r[t].exports;var i=r[t]={i:t,l:!1,exports:{}};return e[t].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.ab=__dirname+"/",function(e){e.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},e.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(r,"a",r),r},function(){var t=Object.prototype.hasOwnProperty;e.d=function(e,r,n){t.call(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:n})}}()}(n),n(104)}({34:function(e,t){!function(e){"use strict";var t={indent:"\t",tagCase:"",attributeCase:"",attributeQuotes:"double",format:!0,formatSkip:["html"],formatForce:["body"],inlineBreak:3,compactBooleanAttributes:!1,booleanAttributes:["contenteditable","seamless","async","autofocus","autoplay","checked","controls","defer","disabled","formnovalidate","hidden","ismap","loop","multiple","muted","novalidate","readonly","required","reversed","selected","typemustmatch"],selfClosingStyle:"html",inlineElements:["a","abbr","acronym","applet","b","basefont","bdo","big","br","button","cite","code","del","dfn","em","font","i","iframe","img","input","ins","kbd","label","map","object","q","s","samp","select","small","span","strike","strong","sub","sup","textarea","tt","u","var"]};class r{constructor(e){this.options=Object.assign({},t,e),this.quoteChar="single"===this.options.attributeQuotes?"'":'"'}get(e){return this.options[e]}quote(e){return`${this.quoteChar}${null!=e?e:""}${this.quoteChar}`}name(e){return n(e,this.options.tagCase)}attribute(e){return n(e,this.options.attributeCase)}isBooleanAttribute(e){return e.options.boolean||-1!==this.get("booleanAttributes").indexOf((e.name||"").toLowerCase())}selfClose(){switch(this.options.selfClosingStyle){case"xhtml":return" /";case"xml":return"/";default:return""}}indent(e){e=e||0;let t="";for(;e--;)t+=this.options.indent;return t}isInline(e){return"string"==typeof e?-1!==this.get("inlineElements").indexOf(e.toLowerCase()):null!=e.name?this.isInline(e.name):e.isTextOnly}field(e,t){return this.options.field(e,t)}}function n(e,t){return t&&(e="upper"===t?e.toUpperCase():e.toLowerCase()),e}class i{constructor(e,t){this.key=e,this.value=t}}class o{constructor(e){this._string=new Map,this._regexp=new Map,this._disabled=!1,this.load(e)}get disabled(){return this._disabled}disable(){this._disabled=!0}enable(){this._disabled=!1}set(e,t){if("string"==typeof e)e.split("|").forEach(e=>this._string.set(e,new i(e,t)));else{if(!(e instanceof RegExp))throw new Error("Unknow snippet key: "+e);this._regexp.set(e,new i(e,t))}return this}get(e){if(this.disabled)return;if(this._string.has(e))return this._string.get(e);const t=Array.from(this._regexp.keys());for(let r=0,n=t.length;rthis.set(t,e)):e&&"object"==typeof e&&Object.keys(e).forEach(t=>this.set(t,e[t]))}reset(){this._string.clear(),this._regexp.clear()}values(){if(this.disabled)return[];const e=Array.from(this._string.values()),t=Array.from(this._regexp.values());return e.concat(t)}}class s{constructor(e){this._registry=[],Array.isArray(e)?e.forEach((e,t)=>this.add(t,e)):"object"==typeof e&&this.add(e)}get(e){for(let t=0;tt.level-e.level),r}remove(e){this._registry=this._registry.filter(t=>t.level!==e&&t.store!==e)}resolve(e){for(let t=0;t{const n=r.key instanceof RegExp?"regexp":"string";e.type&&e.type!==n||t.has(r.key)||t.set(r.key,r)};return this._registry.forEach(e=>{e.store.values().forEach(r)}),Array.from(t.values())}clear(){this._registry.length=0}}const a={escape:92,throws:!1};var l=function(e,t){t=t?Object.assign({},a,t):a;const r=e.pos,n=e.peek();if(e.eat(c)){for(;!e.eof();)switch(e.next()){case n:return e.start=r,!0;case t.escape:e.next()}if(e.pos=r,t.throws)throw e.error("Unable to consume quoted string")}return!1};function c(e){return 39===e||34===e}function u(e){return e>47&&e<58}function p(e,t,r){return r=r||90,(e&=-33)>=(t=t||65)&&e<=r}function h(e){return 32===e||9===e||160===e}class d{constructor(e,t,r){this.name=e,this.value=null!=t?t:null,this.options=r||{}}clone(){return new d(this.name,this.value,Object.assign({},this.options))}valueOf(){return`${this.name}="${this.value}"`}}class f{constructor(e,t){this.name=e||null,this.value=null,this.repeat=null,this.selfClosing=!1,this.children=[],this.parent=null,this.next=null,this.previous=null,this._attributes=[],Array.isArray(t)&&t.forEach(e=>this.setAttribute(e))}get attributes(){return this._attributes}get attributesMap(){return this.attributes.reduce((e,t)=>(e[t.name]=t.options.boolean?t.name:t.value,e),{})}get isGroup(){return!this.name&&!this.value&&!this._attributes.length}get isTextOnly(){return!this.name&&!!this.value&&!this._attributes.length}get firstChild(){return this.children[0]}get lastChild(){return this.children[this.children.length-1]}get childIndex(){return this.parent?this.parent.children.indexOf(this):-1}get nextSibling(){return this.next}get previousSibling(){return this.previous}get classList(){const e=this.getAttribute("class");return e&&e.value?e.value.split(/\s+/g).filter(v):[]}create(e,t){return new f(e,t)}setAttribute(e,t){const r=g(e,t),n=this.getAttribute(e);n?this.replaceAttribute(n,r):this._attributes.push(r)}hasAttribute(e){return!!this.getAttribute(e)}getAttribute(e){"object"==typeof e&&(e=e.name);for(var t=0;tt!==e).join(" "))}appendChild(e){this.insertAt(e,this.children.length)}insertBefore(e,t){this.insertAt(e,this.children.indexOf(t))}insertAt(e,t){if(t<0||t>this.children.length)throw new Error("Unable to insert node: position is out of child list range");const r=this.children[t-1],n=this.children[t];e.remove(),e.parent=this,this.children.splice(t,0,e),r&&(e.previous=r,r.next=e),n&&(e.next=n,n.previous=e)}removeChild(e){const t=this.children.indexOf(e);-1!==t&&(this.children.splice(t,1),e.previous&&(e.previous.next=e.next),e.next&&(e.next.previous=e.previous),e.parent=e.next=e.previous=null)}remove(){this.parent&&this.parent.removeChild(this)}clone(e){const t=new f(this.name);return t.value=this.value,t.selfClosing=this.selfClosing,this.repeat&&(t.repeat=Object.assign({},this.repeat)),this._attributes.forEach(e=>t.setAttribute(e.clone())),e&&this.children.forEach(e=>t.appendChild(e.clone(!0))),t}walk(e,t){t=t||0;let r=this.firstChild;for(;r;){const n=r.next;if(!1===e(r,t)||!1===r.walk(e,t+1))return!1;r=n}}use(e){const t=[this];for(var r=1;r{const t=(e=this.getAttribute(e.name)).options;let r=`${t&&t.implied?"!":""}${e.name||""}`;return t&&t.boolean?r+=".":null!=e.value&&(r+=`="${e.value}"`),r});let t=""+(this.name||"");return e.length&&(t+=`[${e.join(" ")}]`),null!=this.value&&(t+=`{${this.value}}`),this.selfClosing&&(t+="/"),this.repeat&&(t+="*"+(this.repeat.count?this.repeat.count:""),null!=this.repeat.value&&(t+="@"+this.repeat.value)),t}}function g(e,t){return e instanceof d?e:"string"==typeof e?new d(e,t):e&&"object"==typeof e?new d(e.name,e.value,e.options):void 0}function m(e){return String(e).trim()}function v(e,t,r){return e&&r.indexOf(e)===t}class y{constructor(e,t,r){null==r&&"string"==typeof e&&(r=e.length),this.string=e,this.pos=this.start=t||0,this.end=r}eof(){return this.pos>=this.end}limit(e,t){return new this.constructor(this.string,e,t)}peek(){return this.string.charCodeAt(this.pos)}next(){if(this.pos0;)i.firstChild.repeat=i.repeat,t.insertAt(i.firstChild,r++);else t.insertAt(i,r++)}e.parent.removeChild(e)}var M=function(e,t){return e.walk(e=>function(e,t){const r=new Set,n=e=>{const i=t.resolve(e.name);if(!i||r.has(i))return;if("function"==typeof i.value)return i.value(e,t,n);const o=P(i.value);r.add(i),o.walk(n),r.delete(i);const s=function(e){for(;e.children.length;)e=e.children[e.children.length-1];return e}(o);for(function(e,t){t.name=e.name,e.selfClosing&&(t.selfClosing=!0),null!=e.value&&(t.value=e.value),e.repeat&&(t.repeat=Object.assign({},e.repeat)),function(e,t){!function(e,t){const r=e.classList;for(let e=0;e{null==e.name&&e.attributes.length&&(e.name=N(e.parent.name))}),e};function F(e,t){const r=new Set,n=t.length;let i=0;for(;-1!==(i=e.indexOf(t,i));)r.add(i),i+=n;if(r.size){let t=0;const n=e.length;for(;tfunction(e,t){return[e,t]}(e,n))}function q(e,t,r){for(let n=t.length-1;n>=0;n--){const i=t[n];let o=0,s=0;if("@"===e.substr(i[0]+i[1],1)){const t=e.substr(i[0]+i[1]+1).match(/^(\d+)/);t&&(s=t[1].length+1,o=parseInt(t[1])-1)}e=e.substring(0,i[0])+("function"==typeof r?r(e.substr(i[0],i[1]),o):r)+e.substring(i[0]+i[1]+s)}return e}var $=function(e){return e.walk(B),e};function B(e){const t=function(e){for(;e;){if(e.repeat)return e.repeat;e=e.parent}}(e);if(t&&null!=t.value){const r=t.value;e.name=z(e.name,r),e.value=z(e.value,r),e.attributes.forEach(t=>{const n=e.getAttribute(t.name).clone();n.name=z(t.name,r),n.value=z(t.value,r),e.replaceAttribute(t.name,n)})}return e}function z(e,t){if("string"==typeof e){const r=function(e){return F(e||"","$").reduce((t,r)=>{if(!/[#{]/.test(e[r[0]+1]||"")){const e=t[t.length-1];e&&e[0]+e[1]===r[0]?e[1]+=r[1]:t.push(r)}return t},[])}(e);return function(e,t,r){return function(e){let t=0,r="";const n=e.length;for(;t{let n=String(r+t);for(;n.length{if(e.repeat&&null===e.repeat.count){for(let r=0;r{e.repeat&&e.repeat.implicit&&(r=!0,function(e,t){let r=Y(e,t);e.walk(e=>r|=Y(e,t)),r||J(Q(e),t)}(e,t[e.repeat.index]))}),r||J(Q(e),t.join("\n"))}return e}function Y(e,t){const r={replaced:!1};return e.value=K(e.value,t,r),e.attributes.forEach(n=>{n.value&&e.setAttribute(n.name,K(n.value,t,r))}),r.replaced}function K(e,t,r){if("string"==typeof e){const n=F(e,"$#");n.length&&(r&&(r.replaced=!0),e=q(e,n,t))}return e}function Q(e){for(;e.children.length;)e=e.children[e.children.length-1];return e}function J(e,t){if(e.value){const r=F(e.value,"|");if(r.length)return void(e.value=q(e.value,r,t))}("a"===e.name.toLowerCase()||e.hasAttribute("href"))&&(U.test(t)?e.setAttribute("href",(H.test(t)?"":"http://")+t):W.test(t)&&e.setAttribute("href","mailto:"+t)),e.value=t}const X={element:"__",modifier:"_"},Z=/^(-+)([a-z0-9]+[a-z0-9-]*)/i,ee=/^(_+)([a-z0-9]+[a-z0-9-]*)/i,te=e=>/^[a-z]\-/i.test(e),re=e=>/^[a-z]/i.test(e);function ne(e,t,r){let n=r.length>1?r.length:0;for(;e.parent&&e.parent.parent&&n--;)e=e.parent;return t.get(e)||""}function ie(e,t){return e.filter(t)[0]}function oe(e,t,r){let n=e.getAttribute(t);n&&(n.name=r)}const se=/^xsl:(variable|with\-param)$/i,ae={bem:function(e,t){t=Object.assign({},X,t),e.walk(e=>function(e,t){const r=e.classList.reduce((e,t)=>{const r=t.indexOf("_");return r>0&&!t.startsWith("-")?(e.add(t.slice(0,r)),e.add(t.slice(r)),e):e.add(t)},new Set);r.size&&e.setAttribute("class",Array.from(r).join(" "))}(e));const r=function(e){const t=new Map;return e.walk(e=>{const r=e.classList;r.length&&t.set(e,ie(r,te)||ie(r,re)||t.get(e.parent))}),t}(e);return e.walk(e=>function(e,t,r){const n=e.classList.reduce((n,i)=>{let o,s;const a=i;for((s=i.match(Z))&&(o=ne(e,t,s[1])+r.element+s[2],n.add(o),i=i.slice(s[0].length));s=i.match(ee);)o||(o=ne(e,t,s[1]),n.add(o)),n.add(`${o}${r.modifier}${s[2]}`),i=i.slice(s[0].length);return i===a&&n.add(a),n},new Set),i=Array.from(n).filter(Boolean);i.length&&e.setAttribute("class",i.join(" "))}(e,r,t)),e},jsx:function(e){return e.walk(e=>{oe(e,"class","className"),oe(e,"for","htmlFor")}),e},xsl:function(e){return e.walk(e=>{se.test(e.name||"")&&(e.children.length||e.value)&&e.removeAttribute("select")}),e}};var le=function(e,t){return Object.keys(t||{}).forEach(r=>{if(r in ae){const n="object"==typeof t[r]?t[r]:null;e=e.use(ae[r],n)}}),e},ce=function(e,t,r){return"string"==typeof t?t=[t]:t&&"object"==typeof t&&!Array.isArray(t)&&(r=t,t=null),e.use(L).use(V,Array.isArray(t)?t.length:null).use($).use(G,t).use(le,r)};function ue(e,t){return t=t||{},e.walk(e=>function(e,t){const r=e.attributes;for(let n=0,i=r.length;n({order:t,field:e,end:e.location+e.length})).sort((e,t)=>e.end-t.end||e.order-t.order);let i=0;return n.map(t=>{const n=e.substr(t.field.location,t.field.length),o=e.slice(i,t.field.location);return i=t.end,o+r(t.field.index,n)}).join("")+e.slice(i)}(this.string,this.fields,e)}toString(){return string}}const ye=e=>e;class be{constructor(e,t,r){"object"==typeof t&&(r=t,t=null),this.node=e,this._fieldsRenderer=t||ye,this.open=null,this.beforeOpen="",this.afterOpen="",this.close=null,this.beforeClose="",this.afterClose="",this.text=null,this.beforeText="",this.afterText="",this.indent="",this.newline="",r&&Object.assign(this,r)}clone(){return new this.constructor(this.node,this)}indentText(e){const t=function(e){return(e||"").split(/\r\n|\r|\n/g)}(e);if(1===t.length)return e;const r=this.newline||this.indent?this.newline:" ";return t.map((e,t)=>t?this.indent+e:e).join(r)}renderFields(e){return this._fieldsRenderer(e)}toString(e){const t=this._wrap(this.open,this.beforeOpen,this.afterOpen),r=this._wrap(this.close,this.beforeClose,this.afterClose);return t+this._wrap(this.text,this.beforeText,this.afterText)+(null!=e?e:"")+r}_wrap(e,t,r){return t=null!=t?t:"",r=null!=r?r:"",null!=e?(e=t?e.replace(/^\s+/,""):e,e=r?e.replace(/\s+$/,""):e,t+this.indentText(e)+r):""}}const we=(e,t)=>t||"";function _e(e,t,r){void 0===r&&(r=t,t=null),t=t||we;const n={index:1};return function e(t,r,n){return t.map(t=>{const i=r(new be(t,n));return i?i.toString(e(t.children,r,n)):""}).join("")}(e.children,r,e=>null==e?t(n.index++):function(e,t){const r="object"==typeof e?e:he(e);let n=-1;return r.fields.forEach(e=>{e.index+=t.index,e.index>n&&(n=e.index)}),-1!==n&&(t.index=n+1),r}(e,n).mark(t))}const xe=/^(.*?)([A-Z_]+)(.*?)$/;function ke(e,t){if(null==e)return e;const r=[],n=(e,r,n,i)=>null!=t[n]?r+t[n]+i:"";let i,o,s="",a=0,l=0;for(;l!e||t.index=t.get("inlineBreak"))return!0}for(let r=0,n=e.children.length;re.join(""),secondary:e=>e.map(e=>e.isBoolean?e.name:`${e.name}=${e.value}`).join(", ")},Ne={open:null,close:null,omitName:/^div$/i,attributes:je};function Le(e,t,r){r=Object.assign({},Ne,r);const n=e.node;if(e.indent=t.indent(function(e,t){let r=e.parent.isTextOnly?-2:-1,n=e;for(;n=n.parent;)r++;return r<0?0:r}(n)),e.newline="\n",Ce(n.parent)&&Ee(n)||(e.beforeOpen=e.newline+e.indent),n.name){const i=Object.assign({NAME:t.name(n.name),SELF_CLOSE:n.selfClosing?r.selfClose:null},function(e,t,r){r=Object.assign({},je,r);const n=[],i=[];return e.node.attributes.forEach(r=>{if(r.options.implied&&null==r.value)return null;const o=t.attribute(r.name),s=e.renderFields(r.value);if(Me.test(o))s&&n.push("#"+s);else if(De.test(o))s&&n.push("."+s.replace(/\s+/g,"."));else{const e=null==r.value&&(r.options.boolean||-1!==t.get("booleanAttributes").indexOf(o.toLowerCase()));i.push({name:o,value:s,isBoolean:e})}}),{PRIMARY_ATTRS:r.primary(n)||null,SECONDARY_ATTRS:r.secondary(i)||null}}(e,t,r.attributes));r.omitName&&r.omitName.test(i.NAME)&&i.PRIMARY_ATTRS&&(i.NAME=null),null!=r.open&&(e.open=ke(r.open,i)),null!=r.close&&(e.close=ke(r.close,i))}return e}const Fe=/\n|\r/,qe=/\n|\r/,$e={none:"[ SECONDARY_ATTRS]",round:"[(SECONDARY_ATTRS)]",curly:"[{SECONDARY_ATTRS}]",square:"[[SECONDARY_ATTRS]"},Be=/\n|\r/,ze={html:function(e,t,r){return(r=Object.assign({},r)).comment=Object.assign({},Re,r.comment),_e(e,r.field,e=>{if(!Ae(e=function(e,t){const r=e.node;if(Oe(r,t)){e.indent=t.indent(function(e,t){const r=t.get("formatSkip")||[];let n=e.parent.isTextOnly?-2:-1,i=e;for(;i=i.parent;)-1===r.indexOf((i.name||"").toLowerCase())&&n++;return n<0?0:n}(r,t)),e.newline="\n";const n=e.newline+e.indent;Ce(r.parent)&&Ee(r)||(e.beforeOpen=n,r.isTextOnly&&(e.beforeText=n)),function(e,t){const r=(e.name||"").toLowerCase();if(-1!==t.get("formatForce").indexOf(r))return!0;for(let r=0;r{if(r.options.implied&&null==r.value)return null;const n=t.attribute(r.name);let i=null;if(r.options.boolean||-1!==t.get("booleanAttributes").indexOf(n.toLowerCase())){if(t.get("compactBooleanAttributes")&&null==r.value)return" "+n;null==r.value&&(i=n)}return null==i&&(i=e.renderFields(r.value)),r.options.before&&r.options.after?` ${n}=${r.options.before+i+r.options.after}`:` ${n}=${t.quote(i)}`}).join("")}(e,t);e.open=`<${i}${o}${n.selfClosing?t.selfClose():""}>`,n.selfClosing||(e.close=``),function(e,t){const r=e.node;if(!t.enabled||!t.trigger||!r.name)return;const n=e.node.attributes.reduce((e,t)=>(t.name&&null!=t.value&&(e[t.name.toUpperCase().replace(/-/g,"_")]=t.value),e),{});for(let r=0,i=t.trigger.length;re.map(e=>e.isBoolean?`${e.name}${t.get("compactBooleanAttributes")?"":"=true"}`:`${e.name}=${t.quote(e.value)}`).join(" ")}};return _e(e,(r=r||{}).field,e=>{if(!Ae(e=function(e,t){const r=e.node;return!r.isTextOnly&&r.value&&(e.beforeText=Fe.test(r.value)?e.newline+e.indent+t.indent(1):" "),e}(e=Le(e,t,n),t))){const r=e.node;(r.value||!r.children.length&&!r.selfClosing)&&(e.text=e.renderFields(function(e,t){if(null!=e.value&&Fe.test(e.value)){const r=Se(e.value),n=t.indent(1),i=r.reduce((e,t)=>Math.max(e,t.length),0);return r.map((e,t)=>`${t?n:""}${function(e,t){for(;e.lengthe.name+"=true":e=>e.name,o={open:`[NAME][PRIMARY_ATTRS]${n}[SELF_CLOSE]`,selfClose:"/",attributes:{secondary:e=>e.map(e=>e.isBoolean?i(e):`${e.name}=${t.quote(e.value)}`).join(" ")}};return _e(e,r.field,(e,r)=>{if(!Ae(e=function(e,t){const r=e.node,n=r.parent;return 0===t.get("inlineBreak")&&function(e,t){return e&&(e.isTextOnly||t.isInline(e))}(r,t)&&!Ce(n)&&null==n.value&&1===n.children.length&&(e.beforeOpen=": "),!r.isTextOnly&&r.value&&(e.beforeText=qe.test(r.value)?e.newline+e.indent+t.indent(1):" "),e}(e=Le(e,t,o),t))){const r=e.node;(r.value||!r.children.length&&!r.selfClosing)&&(e.text=e.renderFields(function(e,t){if(null!=e.value&&qe.test(e.value)){const r=t.indent(1);return Se(e.value).map((e,t)=>`${r}${t?" ":"|"} ${e}`).join("\n")}return e.value}(r,t)))}return e})},pug:function(e,t,r){const n={open:"[NAME][PRIMARY_ATTRS][(SECONDARY_ATTRS)]",attributes:{secondary:e=>e.map(e=>e.isBoolean?e.name:`${e.name}=${t.quote(e.value)}`).join(", ")}};return _e(e,(r=r||{}).field,e=>{if(!Ae(e=function(e,t){const r=e.node;return!r.isTextOnly&&r.value&&(e.beforeText=Be.test(r.value)?e.newline+e.indent+t.indent(1):" "),e}(e=Le(e,t,n),t))){const r=e.node;(r.value||!r.children.length&&!r.selfClosing)&&(e.text=e.renderFields(function(e,t){if(null!=e.value&&Be.test(e.value)){const r=t.indent(1);return Se(e.value).map(e=>`${r}| ${e}`).join("\n")}return e.value}(r,t)))}return e})}};var Ue=function(e,t,r,n){return"object"==typeof r&&(n=r,r=null),function(e){return!!e&&e in ze}(r)||(r="html"),ze[r](e,t,n)};function We(e,t){return P(e).use(M,t.snippets).use(ue,t.variables).use(ce,t.text,t.addons)}class He{constructor(){this.type="css-value",this.value=[]}get size(){return this.value.length}add(e){this.value.push(e)}has(e){return-1!==this.value.indexOf(e)}toString(){return this.value.join(" ")}}var Ve=function(e){if(35===e.peek()){e.start=e.pos,e.next(),e.eat(116)||e.eatWhile(Ye);const t=e.current();if(e.start=e.pos,e.eat(46)&&!e.eatWhile(u))throw e.error("Unexpected character for alpha value of color");return new Ge(t,e.current())}};class Ge{constructor(e,t){this.type="color",this.raw=e,this.alpha=Number(null!=t&&""!==t?t:1);let r=0,n=0,i=0;if("t"===(e=e.slice(1)))this.alpha=0;else switch(e.length){case 0:break;case 1:r=n=i=e+e;break;case 2:r=n=i=e;break;case 3:r=e[0]+e[0],n=e[1]+e[1],i=e[2]+e[2];break;default:r=(e+=e).slice(0,2),n=e.slice(2,4),i=e.slice(4,6)}this.r=parseInt(r,16),this.g=parseInt(n,16),this.b=parseInt(i,16)}toHex(e){const t=e&&Ke(this.r)&&Ke(this.g)&&Ke(this.b)?Qe:Je;return"#"+t(this.r)+t(this.g)+t(this.b)}toRGB(){const e=[this.r,this.g,this.b];return 1!==this.alpha&&e.push(this.alpha.toFixed(8).replace(/\.?0+$/,"")),`${3===e.length?"rgb":"rgba"}(${e.join(", ")})`}toString(e){return this.r||this.g||this.b||this.alpha?1===this.alpha?this.toHex(e):this.toRGB():"transparent"}}function Ye(e){return u(e)||p(e,65,70)}function Ke(e){return!(e%17)}function Qe(e){return(e>>4).toString(16)}function Je(e){return function(e,t){for(;e.lengthnew wt(e.key,e.value)))};class wt{constructor(e,t){this.key=e,this.value=t,this.property=null;const r=t&&t.match(yt);r&&(this.property=r[1],this.value=r[2]),this.dependencies=[]}addDependency(e){this.dependencies.push(e)}get defaulValue(){return null!=this.value?kt(this.value)[0]:null}keywords(){const e=[],t=new Set;let r,n,i=0;for(this.property&&e.push(this);ifunction(e,t,r){const n=It(e.name,t,"key",r.fuzzySearchMinScore);return n?n.property?function(e,t,r){const n=e.name;if(e.name=t.property,e.value&&"object"==typeof e.value){const i=t.keywords();if(e.value.size)for(let t,n=0;n=o&&(o=a,i=n)}return o>=n?i:null}function Mt(e,t){const r=e&&"object"==typeof e?e[t]:e,n=(r||"").match(/^[\w-@]+/);return n?n[0]:r}function Dt(e){return Nt(e,"keyword")}function jt(e){return Nt(e,"numeric")}function Nt(e,t){return e&&"object"==typeof e&&e.type===t}function Lt(e,t,r){return t.unit?t.unit=r.unitAliases[t.unit]||t.unit:0!==t.value&&-1===Et.indexOf(e)&&(t.unit=t.value===(0|t.value)?r.intUnit:r.floatUnit),t}const Ft={shortHex:!0,format:{between:": ",after:";"}};function qt(e,t,r){return r=Object.assign({},Ft,r),_e(e,r.field,n=>{const i=n.node;let o=String(i.value||"");return i.attributes.length&&(o=function(e,t){const r=he(e),n=r.fields.length;if(n)for((t=t.slice()).length>n&&(t=t.slice(0,n-1).concat(t.slice(n-1).join(", ")));t.length;){const e=t.shift(),n=r.fields.shift(),i=e.length-n.length;r.string=r.string.slice(0,n.location)+e+r.string.slice(n.location+n.length);for(let e=0,t=r.fields.length;efunction(e,t){return e.value&&"object"==typeof e.value&&"css-value"===e.value.type?e.value.value.map(e=>e&&"object"==typeof e?"color"===e.type?e.toString(t.shortHex):e.toString():String(e)).join(" "):null!=e.value?String(e.value):""}(e,r)))),n.open=i.name&&t.name(i.name),n.afterOpen=r.format.between,n.text=n.renderFields(o||null),!n.open||n.text&&n.text.endsWith(";")||(n.afterText=r.format.after),t.get("format")&&(n.newline="\n",e.lastChild!==i&&(n.afterText+=n.newline)),n})}const $t={css:{between:": ",after:";"},scss:"css",less:"css",sass:{between:": ",after:""},stylus:{between:" ",after:""}};var Bt=function(e,t,r,n){return"object"==typeof r&&(n=r,r=null),function(e){return!!e&&e in $t}(r)||(r="css"),qt(e,t,n=Object.assign({},n,{format:zt(r,n)}))};function zt(e,t){let r=$t[e];return"string"==typeof r&&(r=$t[r]),Object.assign({},r,t&&t.stylesheet)}function Ut(e,t){return"string"==typeof e&&(e=function(e){const t=new f,r=new y(e);for(;!r.eof();){let e=new f(dt(r));e.value=ft(r);const n=ct(r);if(n)for(let t=0;tsrc:m+img","ri:t|ri:type":"pic>src:t+img","!!!":"{}",doc:"html[lang=${lang}]>(head>meta[charset=${charset}]+meta:vp+title{${1:Document}})+body","!|html:5":"!!!+doc",c:"{\x3c!-- ${0} --\x3e}","cc:ie":"{\x3c!--[if IE]>${0}\x3c!--\x3e${0}\x3c!--xsl:when+xsl:otherwise",xsl:"!!!+xsl:stylesheet[version=1.0 xmlns:xsl=http://www.w3.org/1999/XSL/Transform]>{\n|}","!!!":'{}'}};const Ht={latin:{common:["lorem","ipsum","dolor","sit","amet","consectetur","adipisicing","elit"],words:["exercitationem","perferendis","perspiciatis","laborum","eveniet","sunt","iure","nam","nobis","eum","cum","officiis","excepturi","odio","consectetur","quasi","aut","quisquam","vel","eligendi","itaque","non","odit","tempore","quaerat","dignissimos","facilis","neque","nihil","expedita","vitae","vero","ipsum","nisi","animi","cumque","pariatur","velit","modi","natus","iusto","eaque","sequi","illo","sed","ex","et","voluptatibus","tempora","veritatis","ratione","assumenda","incidunt","nostrum","placeat","aliquid","fuga","provident","praesentium","rem","necessitatibus","suscipit","adipisci","quidem","possimus","voluptas","debitis","sint","accusantium","unde","sapiente","voluptate","qui","aspernatur","laudantium","soluta","amet","quo","aliquam","saepe","culpa","libero","ipsa","dicta","reiciendis","nesciunt","doloribus","autem","impedit","minima","maiores","repudiandae","ipsam","obcaecati","ullam","enim","totam","delectus","ducimus","quis","voluptates","dolores","molestiae","harum","dolorem","quia","voluptatem","molestias","magni","distinctio","omnis","illum","dolorum","voluptatum","ea","quas","quam","corporis","quae","blanditiis","atque","deserunt","laboriosam","earum","consequuntur","hic","cupiditate","quibusdam","accusamus","ut","rerum","error","minus","eius","ab","ad","nemo","fugit","officia","at","in","id","quos","reprehenderit","numquam","iste","fugiat","sit","inventore","beatae","repellendus","magnam","recusandae","quod","explicabo","doloremque","aperiam","consequatur","asperiores","commodi","optio","dolor","labore","temporibus","repellat","veniam","architecto","est","esse","mollitia","nulla","a","similique","eos","alias","dolore","tenetur","deleniti","porro","facere","maxime","corrupti"]},ru:{common:["далеко-далеко","за","словесными","горами","в стране","гласных","и согласных","живут","рыбные","тексты"],words:["вдали","от всех","они","буквенных","домах","на берегу","семантика","большого","языкового","океана","маленький","ручеек","даль","журчит","по всей","обеспечивает","ее","всеми","необходимыми","правилами","эта","парадигматическая","страна","которой","жаренные","предложения","залетают","прямо","рот","даже","всемогущая","пунктуация","не","имеет","власти","над","рыбными","текстами","ведущими","безорфографичный","образ","жизни","однажды","одна","маленькая","строчка","рыбного","текста","имени","lorem","ipsum","решила","выйти","большой","мир","грамматики","великий","оксмокс","предупреждал","о","злых","запятых","диких","знаках","вопроса","коварных","точках","запятой","но","текст","дал","сбить","себя","толку","он","собрал","семь","своих","заглавных","букв","подпоясал","инициал","за","пояс","пустился","дорогу","взобравшись","первую","вершину","курсивных","гор","бросил","последний","взгляд","назад","силуэт","своего","родного","города","буквоград","заголовок","деревни","алфавит","подзаголовок","своего","переулка","грустный","реторический","вопрос","скатился","его","щеке","продолжил","свой","путь","дороге","встретил","рукопись","она","предупредила","моей","все","переписывается","несколько","раз","единственное","что","меня","осталось","это","приставка","возвращайся","ты","лучше","свою","безопасную","страну","послушавшись","рукописи","наш","продолжил","свой","путь","вскоре","ему","повстречался","коварный","составитель","рекламных","текстов","напоивший","языком","речью","заманивший","свое","агентство","которое","использовало","снова","снова","своих","проектах","если","переписали","то","живет","там","до","сих","пор"]},sp:{common:["mujer","uno","dolor","más","de","poder","mismo","si"],words:["ejercicio","preferencia","perspicacia","laboral","paño","suntuoso","molde","namibia","planeador","mirar","demás","oficinista","excepción","odio","consecuencia","casi","auto","chicharra","velo","elixir","ataque","no","odio","temporal","cuórum","dignísimo","facilismo","letra","nihilista","expedición","alma","alveolar","aparte","león","animal","como","paria","belleza","modo","natividad","justo","ataque","séquito","pillo","sed","ex","y","voluminoso","temporalidad","verdades","racional","asunción","incidente","marejada","placenta","amanecer","fuga","previsor","presentación","lejos","necesariamente","sospechoso","adiposidad","quindío","pócima","voluble","débito","sintió","accesorio","falda","sapiencia","volutas","queso","permacultura","laudo","soluciones","entero","pan","litro","tonelada","culpa","libertario","mosca","dictado","reincidente","nascimiento","dolor","escolar","impedimento","mínima","mayores","repugnante","dulce","obcecado","montaña","enigma","total","deletéreo","décima","cábala","fotografía","dolores","molesto","olvido","paciencia","resiliencia","voluntad","molestias","magnífico","distinción","ovni","marejada","cerro","torre","y","abogada","manantial","corporal","agua","crepúsculo","ataque","desierto","laboriosamente","angustia","afortunado","alma","encefalograma","materialidad","cosas","o","renuncia","error","menos","conejo","abadía","analfabeto","remo","fugacidad","oficio","en","almácigo","vos","pan","represión","números","triste","refugiado","trote","inventor","corchea","repelente","magma","recusado","patrón","explícito","paloma","síndrome","inmune","autoinmune","comodidad","ley","vietnamita","demonio","tasmania","repeler","apéndice","arquitecto","columna","yugo","computador","mula","a","propósito","fantasía","alias","rayo","tenedor","deleznable","ventana","cara","anemia","corrupto"]}},Vt={wordCount:30,skipCommon:!1,lang:"latin"};function Gt(e,t){return Math.floor(Math.random()*(t-e)+e)}function Yt(e,t){const r=e.length,n=Math.min(r,t),i=new Set;for(;i.size3&&t<=6?Gt(0,1):t>6&&t<=12?Gt(0,2):Gt(1,4);for(let i,o=0;o1)return!0;e=e.parent}return!1}(e);return e.repeat||function(e){return!e.parent}(e.parent)?(e.value=Xt(r,t.wordCount,n),e.name=e.parent.name?N(e.parent.name):null):(e.parent.value=Xt(r,t.wordCount,n),e.remove()),e}(e,t)}const tr={lang:"en",locale:"en-US",charset:"UTF-8"},rr=new Set(["css","sass","scss","less","stylus","sss"]),nr={syntax:"html",field:(e,t)=>t||"",text:null,profile:null,variables:{},snippets:{},addons:null,format:null};function ir(e,t){return t instanceof s?t:function(e,t){const r=[Wt[e]||Wt.html];Array.isArray(t)?t.forEach(e=>{r.push("string"==typeof e?Wt[e]:e)}):"object"==typeof t&&r.push(t);const n=new s(r.filter(Boolean));return"css"!==e&&n.get(0).set(Zt,er),n}(sr(e)?"css":e,t)}function or(e){return"string"==typeof e&&(e={syntax:e}),(e=Object.assign({},nr,e)).format=Object.assign({field:e.field},e.format),e.profile=ar(e),e.variables=Object.assign({},tr,e.variables),e.snippets=ir(sr(e.syntax)?"css":e.syntax,e.snippets),e}function sr(e){return rr.has(e)}function ar(e){return e.profile instanceof r?e.profile:new r(e.profile)}e.expand=function(e,t){return sr((t=or(t)).syntax)?function(e,t){return t=t||{},"string"==typeof e&&(e=Ut(e,t)),Bt(e,t.profile,t.syntax,t.format)}(e,t):function(e,t){return t=t||{},"string"==typeof e&&(e=We(e,t)),Ue(e,t.profile,t.syntax,t.format)}(e,t)},e.parse=function(e,t){return sr((t=or(t)).syntax)?Ut(e,t):We(e,t)},e.createSnippetsRegistry=ir,e.createOptions=or,e.isStylesheet=sr,e.createProfile=ar,Object.defineProperty(e,"__esModule",{value:!0})}(t)},87:function(e){e.exports=r(12087)},104:function(e,t,r){"use strict";r.r(t);var n=r(183);r.n(n);for(var i in n)"default"!==i&&r.d(t,i,function(e){return n[e]}.bind(0,i))},183:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(280),i=r(34),o=r(234),s=r(622),a=r(747),l=r(762),c=r(87),u=r(233),p=new Map;let h,d;const f=new Map,g=/^[a-z,A-Z,!,(,[,#,\.]/,m=/^-?[a-z,A-Z,!,@,#]/,v=/[a-z,A-Z\.]/,y=["html","pug","slim","haml","xml","xsl","jsx","css","scss","sass","less","stylus"],b=[...u.htmlData.tags,"lorem"],w="bem",_="t",x="c",k={w:"webkit",m:"moz",s:"ms",o:"o"},S={w:"animation, animation-delay, animation-direction, animation-duration, animation-fill-mode, animation-iteration-count, animation-name, animation-play-state, animation-timing-function, appearance, backface-visibility, background-clip, background-composite, background-origin, background-size, border-fit, border-horizontal-spacing, border-image, border-vertical-spacing, box-align, box-direction, box-flex, box-flex-group, box-lines, box-ordinal-group, box-orient, box-pack, box-reflect, box-shadow, color-correction, column-break-after, column-break-before, column-break-inside, column-count, column-gap, column-rule-color, column-rule-style, column-rule-width, column-span, column-width, dashboard-region, font-smoothing, highlight, hyphenate-character, hyphenate-limit-after, hyphenate-limit-before, hyphens, line-box-contain, line-break, line-clamp, locale, margin-before-collapse, margin-after-collapse, marquee-direction, marquee-increment, marquee-repetition, marquee-style, mask-attachment, mask-box-image, mask-box-image-outset, mask-box-image-repeat, mask-box-image-slice, mask-box-image-source, mask-box-image-width, mask-clip, mask-composite, mask-image, mask-origin, mask-position, mask-repeat, mask-size, nbsp-mode, perspective, perspective-origin, rtl-ordering, text-combine, text-decorations-in-effect, text-emphasis-color, text-emphasis-position, text-emphasis-style, text-fill-color, text-orientation, text-security, text-stroke-color, text-stroke-width, transform, transition, transform-origin, transform-style, transition-delay, transition-duration, transition-property, transition-timing-function, user-drag, user-modify, user-select, writing-mode, svg-shadow, box-sizing, border-radius",m:"animation-delay, animation-direction, animation-duration, animation-fill-mode, animation-iteration-count, animation-name, animation-play-state, animation-timing-function, appearance, backface-visibility, background-inline-policy, binding, border-bottom-colors, border-image, border-left-colors, border-right-colors, border-top-colors, box-align, box-direction, box-flex, box-ordinal-group, box-orient, box-pack, box-shadow, box-sizing, column-count, column-gap, column-rule-color, column-rule-style, column-rule-width, column-width, float-edge, font-feature-settings, font-language-override, force-broken-image-icon, hyphens, image-region, orient, outline-radius-bottomleft, outline-radius-bottomright, outline-radius-topleft, outline-radius-topright, perspective, perspective-origin, stack-sizing, tab-size, text-blink, text-decoration-color, text-decoration-line, text-decoration-style, text-size-adjust, transform, transform-origin, transform-style, transition, transition-delay, transition-duration, transition-property, transition-timing-function, user-focus, user-input, user-modify, user-select, window-shadow, background-clip, border-radius",s:"accelerator, backface-visibility, background-position-x, background-position-y, behavior, block-progression, box-align, box-direction, box-flex, box-line-progression, box-lines, box-ordinal-group, box-orient, box-pack, content-zoom-boundary, content-zoom-boundary-max, content-zoom-boundary-min, content-zoom-chaining, content-zoom-snap, content-zoom-snap-points, content-zoom-snap-type, content-zooming, filter, flow-from, flow-into, font-feature-settings, grid-column, grid-column-align, grid-column-span, grid-columns, grid-layer, grid-row, grid-row-align, grid-row-span, grid-rows, high-contrast-adjust, hyphenate-limit-chars, hyphenate-limit-lines, hyphenate-limit-zone, hyphens, ime-mode, interpolation-mode, layout-flow, layout-grid, layout-grid-char, layout-grid-line, layout-grid-mode, layout-grid-type, line-break, overflow-style, perspective, perspective-origin, perspective-origin-x, perspective-origin-y, scroll-boundary, scroll-boundary-bottom, scroll-boundary-left, scroll-boundary-right, scroll-boundary-top, scroll-chaining, scroll-rails, scroll-snap-points-x, scroll-snap-points-y, scroll-snap-type, scroll-snap-x, scroll-snap-y, scrollbar-arrow-color, scrollbar-base-color, scrollbar-darkshadow-color, scrollbar-face-color, scrollbar-highlight-color, scrollbar-shadow-color, scrollbar-track-color, text-align-last, text-autospace, text-justify, text-kashida-space, text-overflow, text-size-adjust, text-underline-position, touch-action, transform, transform-origin, transform-origin-x, transform-origin-y, transform-origin-z, transform-style, transition, transition-delay, transition-duration, transition-property, transition-timing-function, user-select, word-break, wrap-flow, wrap-margin, wrap-through, writing-mode",o:"dashboard-region, animation, animation-delay, animation-direction, animation-duration, animation-fill-mode, animation-iteration-count, animation-name, animation-play-state, animation-timing-function, border-image, link, link-source, object-fit, object-position, tab-size, table-baseline, transform, transform-origin, transition, transition-delay, transition-duration, transition-property, transition-timing-function, accesskey, input-format, input-required, marquee-dir, marquee-loop, marquee-speed, marquee-style"};function E(e,t,r,o){if("never"===o.showExpandedAbbreviation||!U(r,o.excludeLanguages))return;if(!D(r)){if(!p.has(r)||!d||0===d.length){let e=P[r]?P[r]:i.createSnippetsRegistry(r);p.has(r)||p.set(r,e.all({type:"string"}).map(e=>e.key)),d=e.all({type:"regexp"}).map(e=>e.key)}h=p.get(r)}let s=N(e,t,{syntax:r,lookAhead:!D(r)});if(!s)return;let{abbreviationRange:a,abbreviation:l,filter:c}=s,g=O(e,t).substr(0,t.character);if(function(e){if(e){let t=e.match(/[\w,:,-,\.]*$/);if(t)return t[0]}}(g)===l&&g.endsWith("<"+l)&&("html"===r||"xml"===r||"xsl"===r||"jsx"===r))return;let m,v,y=F(r,o,c),w=y.preferences;delete y.preferences;let _=[];const x=(e,t)=>{if(L(e,l)){try{m=i.expand(t,y)}catch(e){}m&&!function(e,t,r){if(D(e)){let n="sass"===e||"stylus"===e?"":";";return r===`${t}: \${1}${n}`||r.replace(/\s/g,"")===t.replace(/\s/g,"")+n}if(b.indexOf(t.toLowerCase())>-1||h.indexOf(t)>-1)return!1;if(/[-,:]/.test(t)&&!/--|::/.test(t)&&!t.endsWith(":"))return!1;if("."===t)return!1;const n=t.match(/^([a-z,A-Z,\d]*)\.$/);if(n)return!n[1]||!u.htmlData.tags.includes(n[1]);return r.toLowerCase()===`<${t.toLowerCase()}>\${1}`}(e,t,m)&&(v=n.CompletionItem.create(t),v.textEdit=n.TextEdit.replace(a,A(R(m))),v.documentation=T(m),v.insertTextFormat=n.InsertTextFormat.Snippet,v.detail="Emmet Abbreviation",v.label=l,v.label+=c?"|"+c.replace(",","|"):"",_=[v])}};if(D(r)){let{prefixOptions:e,abbreviationWithoutPrefix:t}=q(l);if(x(r,t),t.length>4&&u.cssData.properties.find(e=>e.startsWith(t)))return n.CompletionList.create([],!0);if(v){let i=$(m,e,w);v.textEdit=n.TextEdit.replace(a,A(R(i))),v.documentation=T(i),v.label=function(e){return e.replace(/([^\\])\$\{\d+\}/g,"$1").replace(/\$\{\d+:([^\}]+)\}/g,"$1")}(m),v.filterText=l;const o=f.has(r)?f.get(r):f.get("css");if(_=C(o,l,l,a,y,"Emmet Custom Snippet",!1),!_.find(e=>e.textEdit.newText===v.textEdit.newText)){const e=new RegExp(".*"+t.split("").map(e=>"$"===e||"+"===e?"\\"+e:e).join(".*")+".*","i");(/\d/.test(l)||e.test(v.label))&&_.push(v)}}if(!_.length&&("-"===l||/^-[wmso]{1,4}-?$/.test(l)))return n.CompletionList.create([],!0)}else{x(r,l);let e=l,t=l.match(/(>|\+)([\w:-]+)$/);t&&3===t.length&&(e=t[2]);let n=C(b,e,l,a,y,"Emmet Abbreviation");if(_=_.concat(n),!0===o.showAbbreviationSuggestions){let t=C(h.filter(e=>!b.includes(e)),e,l,a,y,"Emmet Abbreviation");v&&t.length>0&&e!==l&&(v.sortText="0"+v.label,t.forEach(e=>{e.filterText=l,e.sortText="9"+l})),_=_.concat(t)}}return!0===o.showSuggestionsAsSnippets&&_.forEach(e=>e.kind=n.CompletionItemKind.Snippet),_.length?n.CompletionList.create(_,!0):void 0}function C(e,t,r,o,s,a,l=!0){if(!t||!e)return[];let c=[];return e.forEach(e=>{if(!e.startsWith(t.toLowerCase())||l&&e===t.toLowerCase())return;let u,p=r+e.substr(t.length);try{u=i.expand(p,s)}catch(e){}if(!u)return;let h=n.CompletionItem.create(t+e.substr(t.length));h.documentation=T(u),h.detail=a,h.textEdit=n.TextEdit.replace(o,A(R(u))),h.insertTextFormat=n.InsertTextFormat.Snippet,c.push(h)}),c}function T(e){return e.replace(/([^\\])\$\{\d+\}/g,"$1|").replace(/\$\{\d+:([^\}]+)\}/g,"$1")}function A(e){return e?e.replace(/([^\\])(\$)([^\{])/g,"$1\\$2$3"):e}function R(e){if(!e||!e.trim())return e;let t=-1,r=[],n=!1,i=!1,o=0,s=e.length;try{for(;o=s||"}"!=e[o]&&":"!=e[o])continue;const c=e.substring(a,l);if(n="0"===c,n)break;let u=!1;if(":"==e[o++])for(;oNumber(t)?(t=c,r=[{numberStart:a,numberEnd:l}],i=!u):c==t&&r.push({numberStart:a,numberEnd:l})}}catch(e){}if(i&&!n)for(let t=0;t=0;e--)if("\n"===n[e]){i=e+1;break}for(let e=r;e-1}function j(e,t){let r;for(let n=0;n<3;n++)if(e.endsWith("|bem",t))t-=w.length+1,r=r?"bem,"+r:w;else if(e.endsWith("|c",t))t-=x.length+1,r=r?"c,"+r:x;else{if(!e.endsWith("|t",t))break;t-=_.length+1,r=r?"t,"+r:_}return{pos:t,filter:r}}function N(e,t,r){const i=O(e,t),s=i.substr(0,t.character),{pos:a,filter:l}=j(s,t.character),c=l?l.length+1:0;try{let e=r;"boolean"!=typeof e&&(e=e||{},e={syntax:D(e.syntax)||"stylesheet"===e.syntax?"stylesheet":"markup",lookAhead:e.lookAhead});const s=o(i,a,e);return{abbreviationRange:n.Range.create(t.line,s.location,t.line,s.location+s.abbreviation.length+c),abbreviation:s.abbreviation,filter:l}}catch(e){}}function L(e,t){if(!t)return!1;if(D(e))return!t.endsWith(":")&&(t.indexOf("#")>-1?H.test(t)||W.test(t):m.test(t));if(t.startsWith("!"))return!/[^!]/.test(t);const r=t.match(/\*(\d+)$/);return r?parseInt(r[1],10)<=100:!!(!/\(/.test(t)&&!/\)/.test(t)||/\{[^\}\{]*[\(\)]+[^\}\{]*\}(?:[>\+\*\^]|$)/.test(t)||/\(.*\)[>\+\*\^]/.test(t)||/[>\+\*\^]\(.*\)/.test(t))&&(g.test(t)&&v.test(t))}function F(e,r,n){(r=r||{}).preferences=r.preferences||{};let i=D(e)?"css":"html";!P[e]&&P[i]&&(P[e]=P[i]);let o=function(e,t){t||(t={});let r=Object.assign({},M,t)[e];if(!r||"string"==typeof r)return"xhtml"===r?{selfClosingStyle:"xhtml"}:{};let n={};for(let e in r)switch(e){case"tag_case":n.tagCase="lower"===r[e]||"upper"===r[e]?r[e]:"";break;case"attr_case":n.attributeCase="lower"===r[e]||"upper"===r[e]?r[e]:"";break;case"attr_quotes":n.attributeQuotes=r[e];break;case"tag_nl":n.format=!0!==r[e]&&!1!==r[e]||r[e];break;case"inline_break":n.inlineBreak=r[e];break;case"self_closing_tag":if(!0===r[e]){n.selfClosingStyle="xml";break}if(!1===r[e]){n.selfClosingStyle="html";break}n.selfClosingStyle=r[e];break;case"compact_bool":n.compactBooleanAttributes=r[e];break;default:n[e]=r[e]}return n}(e,r.syntaxProfiles),s=o&&o.filters?o.filters.split(","):[];s=s.map(e=>e.trim()),r.preferences["format.noIndentTags"]&&(Array.isArray(r.preferences["format.noIndentTags"])?o.formatSkip=r.preferences["format.noIndentTags"]:"string"==typeof r.preferences["format.noIndentTags"]&&(o.formatSkip=r.preferences["format.noIndentTags"].split(","))),r.preferences["format.forceIndentationForTags"]&&(Array.isArray(r.preferences["format.forceIndentationForTags"])?o.formatForce=r.preferences["format.forceIndentationForTags"]:"string"==typeof r.preferences["format.forceIndentationForTags"]&&(o.formatForce=r.preferences["format.forceIndentationForTags"].split(","))),r.preferences["profile.allowCompactBoolean"]&&"boolean"==typeof r.preferences["profile.allowCompactBoolean"]&&(o.compactBooleanAttributes=r.preferences["profile.allowCompactBoolean"]);let a={};(n&&n.split(",").find(e=>"bem"===e.trim())||s.indexOf("bem")>-1)&&(a.bem={element:"__"},r.preferences["bem.elementSeparator"]&&(a.bem.element=r.preferences["bem.elementSeparator"]),r.preferences["bem.modifierSeparator"]&&(a.bem.modifier=r.preferences["bem.modifierSeparator"])),"jsx"===e&&(a.jsx=!0);let l=function(e,t){if(!t)return{};if(!D(e)){let e={};for(let r in t)switch(r){case"filter.commentAfter":e.after=t[r];break;case"filter.commentBefore":e.before=t[r];break;case"filter.commentTrigger":e.trigger=t[r]}return{comment:e}}let r="number"==typeof t["css.fuzzySearchMinScore"]?t["css.fuzzySearchMinScore"]:.3;r>1?r=1:r<0&&(r=0);let n={fuzzySearchMinScore:r};for(let r in t)switch(r){case"css.floatUnit":n.floatUnit=t[r];break;case"css.intUnit":n.intUnit=t[r];break;case"css.unitAliases":let i={};t[r].split(",").forEach(e=>{if(!e||!e.trim()||-1===e.indexOf(":"))return;let t=e.substr(0,e.indexOf(":")),r=e.substr(t.length+1);t.trim()&&r&&(i[t.trim()]=r)}),n.unitAliases=i;break;case e+".valueSeparator":n.between=t[r];break;case e+".propertyEnd":n.after=t[r]}return{stylesheet:n}}(e,r.preferences);(n&&n.split(",").find(e=>"c"===e.trim())||s.indexOf("c")>-1)&&(l.comment?l.comment.enabled=!0:l.comment={enabled:!0});let c=r.preferences;for(const e in k){null==c["css."+k[e]+"Properties"]&&(c["css."+k[e]+"Properties"]=S[e])}return{field:t.emmetSnippetField,syntax:e,profile:o,addons:a,variables:B(r.variables),snippets:P[e],format:l,preferences:c}}function q(e){if("-"!=(e=e||"")[0])return{prefixOptions:"",abbreviationWithoutPrefix:e};{e=e.substr(1);let t="-";if(/^[wmso]*-./.test(e)){let r=e.indexOf("-");r>-1&&(t+=e.substr(0,r+1),e=e.substr(r+1))}return{prefixOptions:t,abbreviationWithoutPrefix:e}}}function $(e,t,r){if(r=r||{},e=e||"","-"!==(t=t||"")[0])return e;if("-"==t){let n="-",i=e.substr(0,e.indexOf(":"));if(!i)return e;for(const e in k){let t=r["css."+k[e]+"Properties"];t&&t.split(",").find(e=>e.trim()===i)&&(n+=e)}t="-"==n?"-wmso":n,t+="-"}t=t.substr(1);let n="";for(let r=0;r-1))return/\b(typescriptreact|javascriptreact|jsx-tags)\b/.test(e)?"jsx":"sass-indented"===e?"sass":"jade"===e?"pug":y.indexOf(e)>-1?e:void 0}t.emmetSnippetField=(e,t)=>`\${${e}${t?":"+t:""}}`,t.isStyleSheet=D,t.extractAbbreviation=N,t.extractAbbreviationFromText=function(e,t){if(!e)return;const{pos:r,filter:n}=j(e,e.length);try{let i=!D(t)&&"stylesheet"!==t||{syntax:"stylesheet",lookAhead:!1};return{abbreviation:o(e,r,i).abbreviation,filter:n}}catch(e){}},t.isAbbreviationValid=L,t.getExpandOptions=F,t.parseAbbreviation=function(e,t){return i.parse(e,t)},t.expandAbbreviation=function(e,t){let r,n=t.preferences;if(delete t.preferences,D(t.syntax)&&"string"==typeof e){let{prefixOptions:o,abbreviationWithoutPrefix:s}=q(e);r=i.expand(s,t),r=$(r,o,n)}else r=i.expand(e,t);return A(R(r))},t.updateExtensionsPath=function(e,t){if(!e||!e.trim())return z(),Promise.resolve();if(e=e.trim(),t=t?t.trim():"","~"===e[0]?e=s.join(c.homedir(),e.substr(1)):!s.isAbsolute(e)&&t&&(e=s.join(t,e)),!s.isAbsolute(e))return z(),Promise.reject("The path provided in emmet.extensionsPath setting should be absoulte path");if(!function(e){try{return a.statSync(e).isDirectory()}catch(e){return!1}}(e))return z(),Promise.reject(`The directory ${e} doesnt exist. Update emmet.extensionsPath setting`);let r=e,n=s.join(r,"snippets.json"),o=s.join(r,"syntaxProfiles.json"),u=new Promise((e,t)=>{a.readFile(n,(r,o)=>{if(r)return t("Error while fetching the file "+n);try{let e=[],r=l.parse(o.toString(),e);if(e.length>0)return t(`Found error ${l.ScanError[e[0].error]} while parsing the file ${n} at offset ${e[0].offset}`);I=r.variables,P={},p.clear(),Object.keys(r).forEach(e=>{if(!r[e].snippets)return;let t=D(e)?"css":"html",n=r[e].snippets;if(r[t]&&r[t].snippets&&t!==e&&(n=Object.assign({},r[t].snippets,r[e].snippets)),D(e))f.set(e,Object.keys(n));else for(let e in n)n.hasOwnProperty(e)&&n[e].startsWith("<")&&n[e].endsWith(">")&&(n[e]=`{${n[e]}}`);P[e]=i.createSnippetsRegistry(e,n);let o=P[e].all({type:"string"}).map(e=>e.key);p.set(e,o)})}catch(e){return t("Error while parsing the file "+n)}return e()})});return new Promise((e,t)=>{a.readFile(o,(t,r)=>{try{t||(M=JSON.parse(r.toString()))}catch(e){}return e()})}),Promise.all([u,I]).then(()=>Promise.resolve())},t.getEmmetMode=U;const W=/^[a-zA-Z]+:?#[\d.a-fA-F]{0,6}$/,H=/^#[\d,a-f,A-F]{1,6}$/,V=/^[a-z,A-Z]+$/;t.getEmmetCompletionParticipants=function(e,t,r,n,i){return{getId:()=>"emmet",onCssProperty:o=>{if(o&&o.propertyName){const o=E(e,t,r,n);i&&o&&(i.items=o.items,i.isIncomplete=!0)}},onCssPropertyValue:o=>{if(o&&o.propertyValue){const s=N(e,t,{syntax:"css",lookAhead:!1});if(!s)return;if(s.abbreviation===`${o.propertyName}:${o.propertyValue}`&&V.test(o.propertyValue)||H.test(s.abbreviation)||"!"===s.abbreviation){const o=E(e,t,r,n);i&&o&&(i.items=o.items,i.isIncomplete=!0)}}},onHtmlContent:()=>{const o=E(e,t,r,n);i&&o&&(i.items=o.items,i.isIncomplete=!0)}}}},233:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.cssData={properties:["additive-symbols","align-content","align-items","justify-items","justify-self","justify-items","align-self","all","alt","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-position-x","background-position-y","background-repeat","background-size","behavior","block-size","border","border-block-end","border-block-start","border-block-end-color","border-block-start-color","border-block-end-style","border-block-start-style","border-block-end-width","border-block-start-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline-end","border-inline-start","border-inline-end-color","border-inline-start-color","border-inline-end-style","border-inline-start-style","border-inline-end-width","border-inline-start-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","color-interpolation-filters","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","columns","column-span","column-width","contain","content","counter-increment","counter-reset","cursor","direction","display","empty-cells","enable-background","fallback","fill","fill-opacity","fill-rule","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flood-color","flood-opacity","font","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-stretch","font-style","font-synthesis","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-weight","glyph-orientation-horizontal","glyph-orientation-vertical","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-gap","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-gap","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","height","hyphens","image-orientation","image-rendering","ime-mode","inline-size","isolation","justify-content","kerning","left","letter-spacing","lighting-color","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block-end","margin-block-start","margin-bottom","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marker","marker-end","marker-mid","marker-start","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","motion","motion-offset","motion-path","motion-rotation","-moz-animation","-moz-animation-delay","-moz-animation-direction","-moz-animation-duration","-moz-animation-iteration-count","-moz-animation-name","-moz-animation-play-state","-moz-animation-timing-function","-moz-appearance","-moz-backface-visibility","-moz-background-clip","-moz-background-inline-policy","-moz-background-origin","-moz-border-bottom-colors","-moz-border-image","-moz-border-left-colors","-moz-border-right-colors","-moz-border-top-colors","-moz-box-align","-moz-box-direction","-moz-box-flex","-moz-box-flexgroup","-moz-box-ordinal-group","-moz-box-orient","-moz-box-pack","-moz-box-sizing","-moz-column-count","-moz-column-gap","-moz-column-rule","-moz-column-rule-color","-moz-column-rule-style","-moz-column-rule-width","-moz-columns","-moz-column-width","-moz-font-feature-settings","-moz-hyphens","-moz-perspective","-moz-perspective-origin","-moz-text-align-last","-moz-text-decoration-color","-moz-text-decoration-line","-moz-text-decoration-style","-moz-text-size-adjust","-moz-transform","-moz-transform-origin","-moz-transition","-moz-transition-delay","-moz-transition-duration","-moz-transition-property","-moz-transition-timing-function","-moz-user-focus","-moz-user-select","-ms-accelerator","-ms-behavior","-ms-block-progression","-ms-content-zoom-chaining","-ms-content-zooming","-ms-content-zoom-limit","-ms-content-zoom-limit-max","-ms-content-zoom-limit-min","-ms-content-zoom-snap","-ms-content-zoom-snap-points","-ms-content-zoom-snap-type","-ms-filter","-ms-flex","-ms-flex-align","-ms-flex-direction","-ms-flex-flow","-ms-flex-item-align","-ms-flex-line-pack","-ms-flex-order","-ms-flex-pack","-ms-flex-wrap","-ms-flow-from","-ms-flow-into","-ms-grid-column","-ms-grid-column-align","-ms-grid-columns","-ms-grid-column-span","-ms-grid-layer","-ms-grid-row","-ms-grid-row-align","-ms-grid-rows","-ms-grid-row-span","-ms-high-contrast-adjust","-ms-hyphenate-limit-chars","-ms-hyphenate-limit-lines","-ms-hyphenate-limit-zone","-ms-hyphens","-ms-ime-mode","-ms-interpolation-mode","-ms-layout-grid","-ms-layout-grid-char","-ms-layout-grid-line","-ms-layout-grid-mode","-ms-layout-grid-type","-ms-line-break","-ms-overflow-style","-ms-perspective","-ms-perspective-origin","-ms-perspective-origin-x","-ms-perspective-origin-y","-ms-progress-appearance","-ms-scrollbar-3dlight-color","-ms-scrollbar-arrow-color","-ms-scrollbar-base-color","-ms-scrollbar-darkshadow-color","-ms-scrollbar-face-color","-ms-scrollbar-highlight-color","-ms-scrollbar-shadow-color","-ms-scrollbar-track-color","-ms-scroll-chaining","-ms-scroll-limit","-ms-scroll-limit-x-max","-ms-scroll-limit-x-min","-ms-scroll-limit-y-max","-ms-scroll-limit-y-min","-ms-scroll-rails","-ms-scroll-snap-points-x","-ms-scroll-snap-points-y","-ms-scroll-snap-type","-ms-scroll-snap-x","-ms-scroll-snap-y","-ms-scroll-translation","-ms-text-align-last","-ms-text-autospace","-ms-text-combine-horizontal","-ms-text-justify","-ms-text-kashida-space","-ms-text-overflow","-ms-text-size-adjust","-ms-text-underline-position","-ms-touch-action","-ms-touch-select","-ms-transform","-ms-transform-origin","-ms-transform-origin-x","-ms-transform-origin-y","-ms-transform-origin-z","-ms-user-select","-ms-word-break","-ms-word-wrap","-ms-wrap-flow","-ms-wrap-margin","-ms-wrap-through","-ms-writing-mode","-ms-zoom","-ms-zoom-animation","nav-down","nav-index","nav-left","nav-right","nav-up","negative","-o-animation","-o-animation-delay","-o-animation-direction","-o-animation-duration","-o-animation-fill-mode","-o-animation-iteration-count","-o-animation-name","-o-animation-play-state","-o-animation-timing-function","object-fit","object-position","-o-border-image","-o-object-fit","-o-object-position","opacity","order","orphans","-o-table-baseline","-o-tab-size","-o-text-overflow","-o-transform","-o-transform-origin","-o-transition","-o-transition-delay","-o-transition-duration","-o-transition-property","-o-transition-timing-function","offset-block-end","offset-block-start","offset-inline-end","offset-inline-start","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","pad","padding","padding-bottom","padding-block-end","padding-block-start","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","paint-order","perspective","perspective-origin","pointer-events","position","prefix","quotes","range","resize","right","ruby-align","ruby-overhang","ruby-position","ruby-span","scrollbar-3dlight-color","scrollbar-arrow-color","scrollbar-base-color","scrollbar-darkshadow-color","scrollbar-face-color","scrollbar-highlight-color","scrollbar-shadow-color","scrollbar-track-color","scroll-behavior","scroll-snap-coordinate","scroll-snap-destination","scroll-snap-points-x","scroll-snap-points-y","scroll-snap-type","shape-image-threshold","shape-margin","shape-outside","shape-rendering","size","src","stop-color","stop-opacity","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","suffix","system","symbols","table-layout","tab-size","text-align","text-align-last","text-anchor","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","touch-action","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","unicode-range","user-select","vertical-align","visibility","-webkit-animation","-webkit-animation-delay","-webkit-animation-direction","-webkit-animation-duration","-webkit-animation-fill-mode","-webkit-animation-iteration-count","-webkit-animation-name","-webkit-animation-play-state","-webkit-animation-timing-function","-webkit-appearance","-webkit-backdrop-filter","-webkit-backface-visibility","-webkit-background-clip","-webkit-background-composite","-webkit-background-origin","-webkit-border-image","-webkit-box-align","-webkit-box-direction","-webkit-box-flex","-webkit-box-flex-group","-webkit-box-ordinal-group","-webkit-box-orient","-webkit-box-pack","-webkit-box-reflect","-webkit-box-sizing","-webkit-break-after","-webkit-break-before","-webkit-break-inside","-webkit-column-break-after","-webkit-column-break-before","-webkit-column-break-inside","-webkit-column-count","-webkit-column-gap","-webkit-column-rule","-webkit-column-rule-color","-webkit-column-rule-style","-webkit-column-rule-width","-webkit-columns","-webkit-column-span","-webkit-column-width","-webkit-filter","-webkit-flow-from","-webkit-flow-into","-webkit-font-feature-settings","-webkit-hyphens","-webkit-line-break","-webkit-margin-bottom-collapse","-webkit-margin-collapse","-webkit-margin-start","-webkit-margin-top-collapse","-webkit-mask-clip","-webkit-mask-image","-webkit-mask-origin","-webkit-mask-repeat","-webkit-mask-size","-webkit-nbsp-mode","-webkit-overflow-scrolling","-webkit-padding-start","-webkit-perspective","-webkit-perspective-origin","-webkit-region-fragment","-webkit-tap-highlight-color","-webkit-text-fill-color","-webkit-text-size-adjust","-webkit-text-stroke","-webkit-text-stroke-color","-webkit-text-stroke-width","-webkit-touch-callout","-webkit-transform","-webkit-transform-origin","-webkit-transform-origin-x","-webkit-transform-origin-y","-webkit-transform-origin-z","-webkit-transform-style","-webkit-transition","-webkit-transition-delay","-webkit-transition-duration","-webkit-transition-property","-webkit-transition-timing-function","-webkit-user-drag","-webkit-user-modify","-webkit-user-select","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index","zoom"]},t.htmlData={tags:["body","head","html","address","blockquote","dd","div","section","article","aside","header","footer","nav","menu","dl","dt","fieldset","form","frame","frameset","h1","h2","h3","h4","h5","h6","iframe","noframes","object","ol","p","ul","applet","center","dir","hr","pre","a","abbr","acronym","area","b","base","basefont","bdo","big","br","button","caption","cite","code","col","colgroup","del","dfn","em","font","head","html","i","img","input","ins","isindex","kbd","label","legend","li","link","map","meta","noscript","optgroup","option","param","q","s","samp","script","select","small","span","strike","strong","style","sub","sup","table","tbody","td","textarea","tfoot","th","thead","title","tr","tt","u","var","canvas","main","figure","plaintext"]}},234:function(e){"use strict";class t{constructor(e){this.string=e,this.pos=this.string.length}sol(){return 0===this.pos}peek(e){return this.string.charCodeAt(this.pos-1+(e||0))}prev(){if(!this.sol())return this.string.charCodeAt(--this.pos)}eat(e){const t="function"==typeof e?e(this.peek()):e===this.peek();return t&&this.pos--,t}eatWhile(e){const t=this.pos;for(;this.eat(e););return this.pos=65&&e<=90}(e)||function(e){return e>47&&e<58}(e)}function l(e){return 32===e||9===e}function c(e){return e&&61!==e&&!l(e)&&!r(e)}const u=e=>e.charCodeAt(0),p=u("["),h=u("]"),d=u("("),f=u(")"),g=u("{"),m=u("}"),v=new Set("#.*:$-_!@%^+>/".split("").map(u)),y=(new Map).set(p,h).set(d,f).set(g,m),b={syntax:"markup",lookAhead:null};function w(e,t){return-1!==e.indexOf(t)}function _(e){return e>64&&e<91||e>96&&e<123||e>47&&e<58||v.has(e)}function x(e,t){return e===d||"markup"===t&&(e===p||e===g)}function k(e,t){return e===f||"markup"===t&&(e===h||e===m)}e.exports=function(e,i,o){let s;i=Math.min(e.length,Math.max(0,null==i?e.length:i)),null!=(o="boolean"==typeof o?Object.assign(b,{lookAhead:o}):Object.assign(b,o)).lookAhead&&!0!==o.lookAhead||(i=function(e,t,n){r(e.charCodeAt(t))&&t++;for(;k(e.charCodeAt(t),n.syntax);)t++;return t}(e,i,o));const a=new t(e);a.pos=i;const l=[];for(;!a.sol();){if(s=a.peek(),k(s,o.syntax))l.push(s);else if(x(s,o.syntax)){if(l.pop()!==y.get(s))break}else{if(w(l,h)||w(l,m)){a.pos--;continue}if(n(a)||!_(s))break}a.pos--}if(!l.length&&a.pos!==i){const t=e.slice(a.pos,i).replace(/^[*+>^]+/,"");return{abbreviation:t,location:i-t.length}}}},280:function(e,t){!function(r){if("object"==typeof e.exports){var n=r(require,t);void 0!==n&&(e.exports=n)}else"function"==typeof define&&define.amd&&define(["require","exports"],r)}((function(e,t){"use strict";var r,n,i,o,s,a,l,c,u,p,h,d,f;Object.defineProperty(t,"__esModule",{value:!0}),function(e){e.create=function(e,t){return{line:e,character:t}},e.is=function(e){var t=e;return _.objectLiteral(t)&&_.number(t.line)&&_.number(t.character)}}(r=t.Position||(t.Position={})),function(e){e.create=function(e,t,n,i){if(_.number(e)&&_.number(t)&&_.number(n)&&_.number(i))return{start:r.create(e,t),end:r.create(n,i)};if(r.is(e)&&r.is(t))return{start:e,end:t};throw new Error("Range#create called with invalid arguments["+e+", "+t+", "+n+", "+i+"]")},e.is=function(e){var t=e;return _.objectLiteral(t)&&r.is(t.start)&&r.is(t.end)}}(n=t.Range||(t.Range={})),function(e){e.create=function(e,t){return{uri:e,range:t}},e.is=function(e){var t=e;return _.defined(t)&&n.is(t.range)&&(_.string(t.uri)||_.undefined(t.uri))}}(i=t.Location||(t.Location={})),function(e){e.create=function(e,t,r,n){return{targetUri:e,targetRange:t,targetSelectionRange:r,originSelectionRange:n}},e.is=function(e){var t=e;return _.defined(t)&&n.is(t.targetRange)&&_.string(t.targetUri)&&(n.is(t.targetSelectionRange)||_.undefined(t.targetSelectionRange))&&(n.is(t.originSelectionRange)||_.undefined(t.originSelectionRange))}}(t.LocationLink||(t.LocationLink={})),function(e){e.create=function(e,t,r,n){return{red:e,green:t,blue:r,alpha:n}},e.is=function(e){var t=e;return _.number(t.red)&&_.number(t.green)&&_.number(t.blue)&&_.number(t.alpha)}}(o=t.Color||(t.Color={})),function(e){e.create=function(e,t){return{range:e,color:t}},e.is=function(e){var t=e;return n.is(t.range)&&o.is(t.color)}}(t.ColorInformation||(t.ColorInformation={})),function(e){e.create=function(e,t,r){return{label:e,textEdit:t,additionalTextEdits:r}},e.is=function(e){var t=e;return _.string(t.label)&&(_.undefined(t.textEdit)||c.is(t))&&(_.undefined(t.additionalTextEdits)||_.typedArray(t.additionalTextEdits,c.is))}}(t.ColorPresentation||(t.ColorPresentation={})),function(e){e.Comment="comment",e.Imports="imports",e.Region="region"}(t.FoldingRangeKind||(t.FoldingRangeKind={})),function(e){e.create=function(e,t,r,n,i){var o={startLine:e,endLine:t};return _.defined(r)&&(o.startCharacter=r),_.defined(n)&&(o.endCharacter=n),_.defined(i)&&(o.kind=i),o},e.is=function(e){var t=e;return _.number(t.startLine)&&_.number(t.startLine)&&(_.undefined(t.startCharacter)||_.number(t.startCharacter))&&(_.undefined(t.endCharacter)||_.number(t.endCharacter))&&(_.undefined(t.kind)||_.string(t.kind))}}(t.FoldingRange||(t.FoldingRange={})),function(e){e.create=function(e,t){return{location:e,message:t}},e.is=function(e){var t=e;return _.defined(t)&&i.is(t.location)&&_.string(t.message)}}(s=t.DiagnosticRelatedInformation||(t.DiagnosticRelatedInformation={})),function(e){e.Error=1,e.Warning=2,e.Information=3,e.Hint=4}(t.DiagnosticSeverity||(t.DiagnosticSeverity={})),function(e){e.Unnecessary=1,e.Deprecated=2}(t.DiagnosticTag||(t.DiagnosticTag={})),function(e){e.create=function(e,t,r,n,i,o){var s={range:e,message:t};return _.defined(r)&&(s.severity=r),_.defined(n)&&(s.code=n),_.defined(i)&&(s.source=i),_.defined(o)&&(s.relatedInformation=o),s},e.is=function(e){var t=e;return _.defined(t)&&n.is(t.range)&&_.string(t.message)&&(_.number(t.severity)||_.undefined(t.severity))&&(_.number(t.code)||_.string(t.code)||_.undefined(t.code))&&(_.string(t.source)||_.undefined(t.source))&&(_.undefined(t.relatedInformation)||_.typedArray(t.relatedInformation,s.is))}}(a=t.Diagnostic||(t.Diagnostic={})),function(e){e.create=function(e,t){for(var r=[],n=2;n0&&(i.arguments=r),i},e.is=function(e){var t=e;return _.defined(t)&&_.string(t.title)&&_.string(t.command)}}(l=t.Command||(t.Command={})),function(e){e.replace=function(e,t){return{range:e,newText:t}},e.insert=function(e,t){return{range:{start:e,end:e},newText:t}},e.del=function(e){return{range:e,newText:""}},e.is=function(e){var t=e;return _.objectLiteral(t)&&_.string(t.newText)&&n.is(t.range)}}(c=t.TextEdit||(t.TextEdit={})),function(e){e.create=function(e,t){return{textDocument:e,edits:t}},e.is=function(e){var t=e;return _.defined(t)&&g.is(t.textDocument)&&Array.isArray(t.edits)}}(u=t.TextDocumentEdit||(t.TextDocumentEdit={})),function(e){e.create=function(e,t){var r={kind:"create",uri:e};return void 0===t||void 0===t.overwrite&&void 0===t.ignoreIfExists||(r.options=t),r},e.is=function(e){var t=e;return t&&"create"===t.kind&&_.string(t.uri)&&(void 0===t.options||(void 0===t.options.overwrite||_.boolean(t.options.overwrite))&&(void 0===t.options.ignoreIfExists||_.boolean(t.options.ignoreIfExists)))}}(p=t.CreateFile||(t.CreateFile={})),function(e){e.create=function(e,t,r){var n={kind:"rename",oldUri:e,newUri:t};return void 0===r||void 0===r.overwrite&&void 0===r.ignoreIfExists||(n.options=r),n},e.is=function(e){var t=e;return t&&"rename"===t.kind&&_.string(t.oldUri)&&_.string(t.newUri)&&(void 0===t.options||(void 0===t.options.overwrite||_.boolean(t.options.overwrite))&&(void 0===t.options.ignoreIfExists||_.boolean(t.options.ignoreIfExists)))}}(h=t.RenameFile||(t.RenameFile={})),function(e){e.create=function(e,t){var r={kind:"delete",uri:e};return void 0===t||void 0===t.recursive&&void 0===t.ignoreIfNotExists||(r.options=t),r},e.is=function(e){var t=e;return t&&"delete"===t.kind&&_.string(t.uri)&&(void 0===t.options||(void 0===t.options.recursive||_.boolean(t.options.recursive))&&(void 0===t.options.ignoreIfNotExists||_.boolean(t.options.ignoreIfNotExists)))}}(d=t.DeleteFile||(t.DeleteFile={})),function(e){e.is=function(e){var t=e;return t&&(void 0!==t.changes||void 0!==t.documentChanges)&&(void 0===t.documentChanges||t.documentChanges.every((function(e){return _.string(e.kind)?p.is(e)||h.is(e)||d.is(e):u.is(e)})))}}(f=t.WorkspaceEdit||(t.WorkspaceEdit={}));var g,m,v,y,b=function(){function e(e){this.edits=e}return e.prototype.insert=function(e,t){this.edits.push(c.insert(e,t))},e.prototype.replace=function(e,t){this.edits.push(c.replace(e,t))},e.prototype.delete=function(e){this.edits.push(c.del(e))},e.prototype.add=function(e){this.edits.push(e)},e.prototype.all=function(){return this.edits},e.prototype.clear=function(){this.edits.splice(0,this.edits.length)},e}(),w=function(){function e(e){var t=this;this._textEditChanges=Object.create(null),e&&(this._workspaceEdit=e,e.documentChanges?e.documentChanges.forEach((function(e){if(u.is(e)){var r=new b(e.edits);t._textEditChanges[e.textDocument.uri]=r}})):e.changes&&Object.keys(e.changes).forEach((function(r){var n=new b(e.changes[r]);t._textEditChanges[r]=n})))}return Object.defineProperty(e.prototype,"edit",{get:function(){return this._workspaceEdit},enumerable:!0,configurable:!0}),e.prototype.getTextEditChange=function(e){if(g.is(e)){if(this._workspaceEdit||(this._workspaceEdit={documentChanges:[]}),!this._workspaceEdit.documentChanges)throw new Error("Workspace edit is not configured for document changes.");var t=e;if(!(n=this._textEditChanges[t.uri])){var r={textDocument:t,edits:i=[]};this._workspaceEdit.documentChanges.push(r),n=new b(i),this._textEditChanges[t.uri]=n}return n}if(this._workspaceEdit||(this._workspaceEdit={changes:Object.create(null)}),!this._workspaceEdit.changes)throw new Error("Workspace edit is not configured for normal text edit changes.");var n;if(!(n=this._textEditChanges[e])){var i=[];this._workspaceEdit.changes[e]=i,n=new b(i),this._textEditChanges[e]=n}return n},e.prototype.createFile=function(e,t){this.checkDocumentChanges(),this._workspaceEdit.documentChanges.push(p.create(e,t))},e.prototype.renameFile=function(e,t,r){this.checkDocumentChanges(),this._workspaceEdit.documentChanges.push(h.create(e,t,r))},e.prototype.deleteFile=function(e,t){this.checkDocumentChanges(),this._workspaceEdit.documentChanges.push(d.create(e,t))},e.prototype.checkDocumentChanges=function(){if(!this._workspaceEdit||!this._workspaceEdit.documentChanges)throw new Error("Workspace edit is not configured for document changes.")},e}();t.WorkspaceChange=w,function(e){e.create=function(e){return{uri:e}},e.is=function(e){var t=e;return _.defined(t)&&_.string(t.uri)}}(t.TextDocumentIdentifier||(t.TextDocumentIdentifier={})),function(e){e.create=function(e,t){return{uri:e,version:t}},e.is=function(e){var t=e;return _.defined(t)&&_.string(t.uri)&&(null===t.version||_.number(t.version))}}(g=t.VersionedTextDocumentIdentifier||(t.VersionedTextDocumentIdentifier={})),function(e){e.create=function(e,t,r,n){return{uri:e,languageId:t,version:r,text:n}},e.is=function(e){var t=e;return _.defined(t)&&_.string(t.uri)&&_.string(t.languageId)&&_.number(t.version)&&_.string(t.text)}}(t.TextDocumentItem||(t.TextDocumentItem={})),function(e){e.PlainText="plaintext",e.Markdown="markdown"}(m=t.MarkupKind||(t.MarkupKind={})),function(e){e.is=function(t){var r=t;return r===e.PlainText||r===e.Markdown}}(m=t.MarkupKind||(t.MarkupKind={})),function(e){e.is=function(e){var t=e;return _.objectLiteral(e)&&m.is(t.kind)&&_.string(t.value)}}(v=t.MarkupContent||(t.MarkupContent={})),function(e){e.Text=1,e.Method=2,e.Function=3,e.Constructor=4,e.Field=5,e.Variable=6,e.Class=7,e.Interface=8,e.Module=9,e.Property=10,e.Unit=11,e.Value=12,e.Enum=13,e.Keyword=14,e.Snippet=15,e.Color=16,e.File=17,e.Reference=18,e.Folder=19,e.EnumMember=20,e.Constant=21,e.Struct=22,e.Event=23,e.Operator=24,e.TypeParameter=25}(t.CompletionItemKind||(t.CompletionItemKind={})),function(e){e.PlainText=1,e.Snippet=2}(t.InsertTextFormat||(t.InsertTextFormat={})),function(e){e.Deprecated=1}(t.CompletionItemTag||(t.CompletionItemTag={})),function(e){e.create=function(e){return{label:e}}}(t.CompletionItem||(t.CompletionItem={})),function(e){e.create=function(e,t){return{items:e||[],isIncomplete:!!t}}}(t.CompletionList||(t.CompletionList={})),function(e){e.fromPlainText=function(e){return e.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")},e.is=function(e){var t=e;return _.string(t)||_.objectLiteral(t)&&_.string(t.language)&&_.string(t.value)}}(y=t.MarkedString||(t.MarkedString={})),function(e){e.is=function(e){var t=e;return!!t&&_.objectLiteral(t)&&(v.is(t.contents)||y.is(t.contents)||_.typedArray(t.contents,y.is))&&(void 0===e.range||n.is(e.range))}}(t.Hover||(t.Hover={})),function(e){e.create=function(e,t){return t?{label:e,documentation:t}:{label:e}}}(t.ParameterInformation||(t.ParameterInformation={})),function(e){e.create=function(e,t){for(var r=[],n=2;n=0;o--){var s=n[o],a=e.offsetAt(s.range.start),l=e.offsetAt(s.range.end);if(!(l<=i))throw new Error("Overlapping edit");r=r.substring(0,a)+s.newText+r.substring(l,r.length),i=a}return r}}(t.TextDocument||(t.TextDocument={}));var _,x=function(){function e(e,t,r,n){this._uri=e,this._languageId=t,this._version=r,this._content=n,this._lineOffsets=void 0}return Object.defineProperty(e.prototype,"uri",{get:function(){return this._uri},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"languageId",{get:function(){return this._languageId},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"version",{get:function(){return this._version},enumerable:!0,configurable:!0}),e.prototype.getText=function(e){if(e){var t=this.offsetAt(e.start),r=this.offsetAt(e.end);return this._content.substring(t,r)}return this._content},e.prototype.update=function(e,t){this._content=e.text,this._version=t,this._lineOffsets=void 0},e.prototype.getLineOffsets=function(){if(void 0===this._lineOffsets){for(var e=[],t=this._content,r=!0,n=0;n0&&e.push(t.length),this._lineOffsets=e}return this._lineOffsets},e.prototype.positionAt=function(e){e=Math.max(Math.min(e,this._content.length),0);var t=this.getLineOffsets(),n=0,i=t.length;if(0===i)return r.create(0,e);for(;ne?i=o:n=o+1}var s=n-1;return r.create(s,e-t[s])},e.prototype.offsetAt=function(e){var t=this.getLineOffsets();if(e.line>=t.length)return this._content.length;if(e.line<0)return 0;var r=t[e.line],n=e.line+1=48&&s<=57)o=16*o+s-48;else if(s>=65&&s<=70)o=16*o+s-65+10;else{if(!(s>=97&&s<=102))break;o=16*o+s-97+10}i++,n++}return n=o)return a=o,p=n.EOF;var t=e.charCodeAt(i);if(l(t)){do{i++,s+=String.fromCharCode(t),t=e.charCodeAt(i)}while(l(t));return p=n.Trivia}if(c(t))return i++,s+=String.fromCharCode(t),13===t&&10===e.charCodeAt(i)&&(i++,s+="\n"),p=n.LineBreakTrivia;switch(t){case 123:return i++,p=n.OpenBraceToken;case 125:return i++,p=n.CloseBraceToken;case 91:return i++,p=n.OpenBracketToken;case 93:return i++,p=n.CloseBracketToken;case 58:return i++,p=n.ColonToken;case 44:return i++,p=n.CommaToken;case 34:return i++,s=function(){for(var t="",n=i;;){if(i>=o){t+=e.substring(n,i),h=r.UnexpectedEndOfString;break}var s=e.charCodeAt(i);if(34===s){t+=e.substring(n,i),i++;break}if(92!==s){if(s>=0&&s<=31){if(c(s)){t+=e.substring(n,i),h=r.UnexpectedEndOfString;break}h=r.InvalidCharacter}i++}else{if(t+=e.substring(n,i),++i>=o){h=r.UnexpectedEndOfString;break}switch(s=e.charCodeAt(i++)){case 34:t+='"';break;case 92:t+="\\";break;case 47:t+="/";break;case 98:t+="\b";break;case 102:t+="\f";break;case 110:t+="\n";break;case 114:t+="\r";break;case 116:t+="\t";break;case 117:var a=d(4,!0);a>=0?t+=String.fromCharCode(a):h=r.InvalidUnicode;break;default:h=r.InvalidEscapeCharacter}n=i}}return t}(),p=n.StringLiteral;case 47:var f=i-1;if(47===e.charCodeAt(i+1)){for(i+=2;i=n.LineCommentTrivia&&e<=n.Trivia);return e}:f,getToken:function(){return p},getTokenValue:function(){return s},getTokenOffset:function(){return a},getTokenLength:function(){return i-a},getTokenError:function(){return h}}}function l(e){return 32===e||9===e||11===e||12===e||160===e||5760===e||e>=8192&&e<=8203||8239===e||8287===e||12288===e||65279===e}function c(e){return 10===e||13===e||8232===e||8233===e}function u(e){return e>=48&&e<=57}function p(e){switch(typeof e){case"boolean":return"boolean";case"number":return"number";case"string":return"string";default:return"null"}}function h(e,t,o){var s=a(e,!1);function l(e){return e?function(){return e(s.getTokenOffset(),s.getTokenLength())}:function(){return!0}}function c(e){return e?function(t){return e(t,s.getTokenOffset(),s.getTokenLength())}:function(){return!0}}var u=l(t.onObjectBegin),p=c(t.onObjectProperty),h=l(t.onObjectEnd),d=l(t.onArrayBegin),f=l(t.onArrayEnd),g=c(t.onLiteralValue),m=c(t.onSeparator),v=l(t.onComment),y=c(t.onError),b=o&&o.disallowComments,w=o&&o.allowTrailingComma;function _(){for(;;){var e=s.scan();switch(s.getTokenError()){case r.InvalidUnicode:x(i.InvalidUnicode);break;case r.InvalidEscapeCharacter:x(i.InvalidEscapeCharacter);break;case r.UnexpectedEndOfNumber:x(i.UnexpectedEndOfNumber);break;case r.UnexpectedEndOfComment:b||x(i.UnexpectedEndOfComment);break;case r.UnexpectedEndOfString:x(i.UnexpectedEndOfString);break;case r.InvalidCharacter:x(i.InvalidCharacter)}switch(e){case n.LineCommentTrivia:case n.BlockCommentTrivia:b?x(i.InvalidCommentToken):v();break;case n.Unknown:x(i.InvalidSymbol);break;case n.Trivia:case n.LineBreakTrivia:break;default:return e}}}function x(e,t,r){if(void 0===t&&(t=[]),void 0===r&&(r=[]),y(e),t.length+r.length>0)for(var i=s.getToken();i!==n.EOF;){if(-1!==t.indexOf(i)){_();break}if(-1!==r.indexOf(i))break;i=_()}}function k(e){var t=s.getTokenValue();return e?g(t):p(t),_(),!0}function S(){switch(s.getToken()){case n.OpenBracketToken:return function(){d(),_();for(var e=!1;s.getToken()!==n.CloseBracketToken&&s.getToken()!==n.EOF;){if(s.getToken()===n.CommaToken){if(e||x(i.ValueExpected,[],[]),m(","),_(),s.getToken()===n.CloseBracketToken&&w)break}else e&&x(i.CommaExpected,[],[]);S()||x(i.ValueExpected,[],[n.CloseBracketToken,n.CommaToken]),e=!0}return f(),s.getToken()!==n.CloseBracketToken?x(i.CloseBracketExpected,[n.CloseBracketToken],[]):_(),!0}();case n.OpenBraceToken:return function(){u(),_();for(var e=!1;s.getToken()!==n.CloseBraceToken&&s.getToken()!==n.EOF;){if(s.getToken()===n.CommaToken){if(e||x(i.ValueExpected,[],[]),m(","),_(),s.getToken()===n.CloseBraceToken&&w)break}else e&&x(i.CommaExpected,[],[]);(s.getToken()!==n.StringLiteral?(x(i.PropertyNameExpected,[],[n.CloseBraceToken,n.CommaToken]),0):(k(!1),s.getToken()===n.ColonToken?(m(":"),_(),S()||x(i.ValueExpected,[],[n.CloseBraceToken,n.CommaToken])):x(i.ColonExpected,[],[n.CloseBraceToken,n.CommaToken]),1))||x(i.ValueExpected,[],[n.CloseBraceToken,n.CommaToken]),e=!0}return h(),s.getToken()!==n.CloseBraceToken?x(i.CloseBraceExpected,[n.CloseBraceToken],[]):_(),!0}();case n.StringLiteral:return k(!0);default:return function(){switch(s.getToken()){case n.NumericLiteral:var e=0;try{"number"!=typeof(e=JSON.parse(s.getTokenValue()))&&(x(i.InvalidNumberFormat),e=0)}catch(e){x(i.InvalidNumberFormat)}g(e);break;case n.NullKeyword:g(null);break;case n.TrueKeyword:g(!0);break;case n.FalseKeyword:g(!1);break;default:return!1}return _(),!0}()}}return _(),s.getToken()===n.EOF||(S()?(s.getToken()!==n.EOF&&x(i.EndOfFileExpected,[],[]),!0):(x(i.ValueExpected,[],[]),!1))}!function(e){e[e.None=0]="None",e[e.UnexpectedEndOfComment=1]="UnexpectedEndOfComment",e[e.UnexpectedEndOfString=2]="UnexpectedEndOfString",e[e.UnexpectedEndOfNumber=3]="UnexpectedEndOfNumber",e[e.InvalidUnicode=4]="InvalidUnicode",e[e.InvalidEscapeCharacter=5]="InvalidEscapeCharacter",e[e.InvalidCharacter=6]="InvalidCharacter"}(r=t.ScanError||(t.ScanError={})),function(e){e[e.Unknown=0]="Unknown",e[e.OpenBraceToken=1]="OpenBraceToken",e[e.CloseBraceToken=2]="CloseBraceToken",e[e.OpenBracketToken=3]="OpenBracketToken",e[e.CloseBracketToken=4]="CloseBracketToken",e[e.CommaToken=5]="CommaToken",e[e.ColonToken=6]="ColonToken",e[e.NullKeyword=7]="NullKeyword",e[e.TrueKeyword=8]="TrueKeyword",e[e.FalseKeyword=9]="FalseKeyword",e[e.StringLiteral=10]="StringLiteral",e[e.NumericLiteral=11]="NumericLiteral",e[e.LineCommentTrivia=12]="LineCommentTrivia",e[e.BlockCommentTrivia=13]="BlockCommentTrivia",e[e.LineBreakTrivia=14]="LineBreakTrivia",e[e.Trivia=15]="Trivia",e[e.EOF=16]="EOF"}(n=t.SyntaxKind||(t.SyntaxKind={})),t.createScanner=a,t.stripComments=function(e,t){var r,i,o=a(e),s=[],l=0;do{switch(i=o.getPosition(),r=o.scan()){case n.LineCommentTrivia:case n.BlockCommentTrivia:case n.EOF:l!==i&&s.push(e.substring(l,i)),void 0!==t&&s.push(o.getTokenValue().replace(/[^\r\n]/g,t)),l=o.getPosition()}}while(r!==n.EOF);return s.join("")},function(e){e[e.InvalidSymbol=0]="InvalidSymbol",e[e.InvalidNumberFormat=1]="InvalidNumberFormat",e[e.PropertyNameExpected=2]="PropertyNameExpected",e[e.ValueExpected=3]="ValueExpected",e[e.ColonExpected=4]="ColonExpected",e[e.CommaExpected=5]="CommaExpected",e[e.CloseBraceExpected=6]="CloseBraceExpected",e[e.CloseBracketExpected=7]="CloseBracketExpected",e[e.EndOfFileExpected=8]="EndOfFileExpected",e[e.InvalidCommentToken=9]="InvalidCommentToken",e[e.UnexpectedEndOfComment=10]="UnexpectedEndOfComment",e[e.UnexpectedEndOfString=11]="UnexpectedEndOfString",e[e.UnexpectedEndOfNumber=12]="UnexpectedEndOfNumber",e[e.InvalidUnicode=13]="InvalidUnicode",e[e.InvalidEscapeCharacter=14]="InvalidEscapeCharacter",e[e.InvalidCharacter=15]="InvalidCharacter"}(i=t.ParseErrorCode||(t.ParseErrorCode={})),t.getLocation=function(e,t){var r=[],n=new Object,i=void 0,o={value:{},offset:0,length:0,type:"object"},s=!1;function a(e,t,r,n){o.value=e,o.offset=t,o.length=r,o.type=n,o.columnOffset=void 0,i=o}try{h(e,{onObjectBegin:function(e,o){if(t<=e)throw n;i=void 0,s=t>e,r.push("")},onObjectProperty:function(e,i,o){if(t=r.children.length)return;r=r.children[u]}}return r}},t.getNodeValue=function e(t){if("array"===t.type)return t.children.map(e);if("object"===t.type){for(var r=Object.create(null),n=0,i=t.children;n=0;r--)e=s.applyEdit(e,t[r]);return e}}))}})},95867:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CancellationSenderStrategy=t.CancellationReceiverStrategy=t.ConnectionError=t.ConnectionErrors=t.LogTraceNotification=t.SetTraceNotification=t.TraceFormat=t.Trace=t.ProgressType=t.createMessageConnection=t.NullLogger=t.ConnectionOptions=t.ConnectionStrategy=t.WriteableStreamMessageWriter=t.AbstractMessageWriter=t.MessageWriter=t.ReadableStreamMessageReader=t.AbstractMessageReader=t.MessageReader=t.CancellationToken=t.CancellationTokenSource=t.Emitter=t.Event=t.Disposable=t.ParameterStructures=t.NotificationType9=t.NotificationType8=t.NotificationType7=t.NotificationType6=t.NotificationType5=t.NotificationType4=t.NotificationType3=t.NotificationType2=t.NotificationType1=t.NotificationType0=t.NotificationType=t.ErrorCodes=t.ResponseError=t.RequestType9=t.RequestType8=t.RequestType7=t.RequestType6=t.RequestType5=t.RequestType4=t.RequestType3=t.RequestType2=t.RequestType1=t.RequestType0=t.RequestType=t.RAL=void 0,t.CancellationStrategy=void 0;const n=r(29030);Object.defineProperty(t,"RequestType",{enumerable:!0,get:function(){return n.RequestType}}),Object.defineProperty(t,"RequestType0",{enumerable:!0,get:function(){return n.RequestType0}}),Object.defineProperty(t,"RequestType1",{enumerable:!0,get:function(){return n.RequestType1}}),Object.defineProperty(t,"RequestType2",{enumerable:!0,get:function(){return n.RequestType2}}),Object.defineProperty(t,"RequestType3",{enumerable:!0,get:function(){return n.RequestType3}}),Object.defineProperty(t,"RequestType4",{enumerable:!0,get:function(){return n.RequestType4}}),Object.defineProperty(t,"RequestType5",{enumerable:!0,get:function(){return n.RequestType5}}),Object.defineProperty(t,"RequestType6",{enumerable:!0,get:function(){return n.RequestType6}}),Object.defineProperty(t,"RequestType7",{enumerable:!0,get:function(){return n.RequestType7}}),Object.defineProperty(t,"RequestType8",{enumerable:!0,get:function(){return n.RequestType8}}),Object.defineProperty(t,"RequestType9",{enumerable:!0,get:function(){return n.RequestType9}}),Object.defineProperty(t,"ResponseError",{enumerable:!0,get:function(){return n.ResponseError}}),Object.defineProperty(t,"ErrorCodes",{enumerable:!0,get:function(){return n.ErrorCodes}}),Object.defineProperty(t,"NotificationType",{enumerable:!0,get:function(){return n.NotificationType}}),Object.defineProperty(t,"NotificationType0",{enumerable:!0,get:function(){return n.NotificationType0}}),Object.defineProperty(t,"NotificationType1",{enumerable:!0,get:function(){return n.NotificationType1}}),Object.defineProperty(t,"NotificationType2",{enumerable:!0,get:function(){return n.NotificationType2}}),Object.defineProperty(t,"NotificationType3",{enumerable:!0,get:function(){return n.NotificationType3}}),Object.defineProperty(t,"NotificationType4",{enumerable:!0,get:function(){return n.NotificationType4}}),Object.defineProperty(t,"NotificationType5",{enumerable:!0,get:function(){return n.NotificationType5}}),Object.defineProperty(t,"NotificationType6",{enumerable:!0,get:function(){return n.NotificationType6}}),Object.defineProperty(t,"NotificationType7",{enumerable:!0,get:function(){return n.NotificationType7}}),Object.defineProperty(t,"NotificationType8",{enumerable:!0,get:function(){return n.NotificationType8}}),Object.defineProperty(t,"NotificationType9",{enumerable:!0,get:function(){return n.NotificationType9}}),Object.defineProperty(t,"ParameterStructures",{enumerable:!0,get:function(){return n.ParameterStructures}});const i=r(96023);Object.defineProperty(t,"Disposable",{enumerable:!0,get:function(){return i.Disposable}});const o=r(84540);Object.defineProperty(t,"Event",{enumerable:!0,get:function(){return o.Event}}),Object.defineProperty(t,"Emitter",{enumerable:!0,get:function(){return o.Emitter}});const s=r(80609);Object.defineProperty(t,"CancellationTokenSource",{enumerable:!0,get:function(){return s.CancellationTokenSource}}),Object.defineProperty(t,"CancellationToken",{enumerable:!0,get:function(){return s.CancellationToken}});const a=r(74563);Object.defineProperty(t,"MessageReader",{enumerable:!0,get:function(){return a.MessageReader}}),Object.defineProperty(t,"AbstractMessageReader",{enumerable:!0,get:function(){return a.AbstractMessageReader}}),Object.defineProperty(t,"ReadableStreamMessageReader",{enumerable:!0,get:function(){return a.ReadableStreamMessageReader}});const l=r(53302);Object.defineProperty(t,"MessageWriter",{enumerable:!0,get:function(){return l.MessageWriter}}),Object.defineProperty(t,"AbstractMessageWriter",{enumerable:!0,get:function(){return l.AbstractMessageWriter}}),Object.defineProperty(t,"WriteableStreamMessageWriter",{enumerable:!0,get:function(){return l.WriteableStreamMessageWriter}});const c=r(41698);Object.defineProperty(t,"ConnectionStrategy",{enumerable:!0,get:function(){return c.ConnectionStrategy}}),Object.defineProperty(t,"ConnectionOptions",{enumerable:!0,get:function(){return c.ConnectionOptions}}),Object.defineProperty(t,"NullLogger",{enumerable:!0,get:function(){return c.NullLogger}}),Object.defineProperty(t,"createMessageConnection",{enumerable:!0,get:function(){return c.createMessageConnection}}),Object.defineProperty(t,"ProgressType",{enumerable:!0,get:function(){return c.ProgressType}}),Object.defineProperty(t,"Trace",{enumerable:!0,get:function(){return c.Trace}}),Object.defineProperty(t,"TraceFormat",{enumerable:!0,get:function(){return c.TraceFormat}}),Object.defineProperty(t,"SetTraceNotification",{enumerable:!0,get:function(){return c.SetTraceNotification}}),Object.defineProperty(t,"LogTraceNotification",{enumerable:!0,get:function(){return c.LogTraceNotification}}),Object.defineProperty(t,"ConnectionErrors",{enumerable:!0,get:function(){return c.ConnectionErrors}}),Object.defineProperty(t,"ConnectionError",{enumerable:!0,get:function(){return c.ConnectionError}}),Object.defineProperty(t,"CancellationReceiverStrategy",{enumerable:!0,get:function(){return c.CancellationReceiverStrategy}}),Object.defineProperty(t,"CancellationSenderStrategy",{enumerable:!0,get:function(){return c.CancellationSenderStrategy}}),Object.defineProperty(t,"CancellationStrategy",{enumerable:!0,get:function(){return c.CancellationStrategy}});const u=r(65574);t.RAL=u.default},80609:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CancellationTokenSource=t.CancellationToken=void 0;const n=r(65574),i=r(24693),o=r(84540);var s;!function(e){e.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:o.Event.None}),e.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:o.Event.None}),e.is=function(t){const r=t;return r&&(r===e.None||r===e.Cancelled||i.boolean(r.isCancellationRequested)&&!!r.onCancellationRequested)}}(s=t.CancellationToken||(t.CancellationToken={}));const a=Object.freeze((function(e,t){const r=n.default().timer.setTimeout(e.bind(t),0);return{dispose(){n.default().timer.clearTimeout(r)}}}));class l{constructor(){this._isCancelled=!1}cancel(){this._isCancelled||(this._isCancelled=!0,this._emitter&&(this._emitter.fire(void 0),this.dispose()))}get isCancellationRequested(){return this._isCancelled}get onCancellationRequested(){return this._isCancelled?a:(this._emitter||(this._emitter=new o.Emitter),this._emitter.event)}dispose(){this._emitter&&(this._emitter.dispose(),this._emitter=void 0)}}t.CancellationTokenSource=class{get token(){return this._token||(this._token=new l),this._token}cancel(){this._token?this._token.cancel():this._token=s.Cancelled}dispose(){this._token?this._token instanceof l&&this._token.dispose():this._token=s.None}}},41698:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createMessageConnection=t.ConnectionOptions=t.CancellationStrategy=t.CancellationSenderStrategy=t.CancellationReceiverStrategy=t.ConnectionStrategy=t.ConnectionError=t.ConnectionErrors=t.LogTraceNotification=t.SetTraceNotification=t.TraceFormat=t.Trace=t.NullLogger=t.ProgressType=void 0;const n=r(65574),i=r(24693),o=r(29030),s=r(94759),a=r(84540),l=r(80609);var c,u,p,h,d,f,g,m,v,y,b,w,_;!function(e){e.type=new o.NotificationType("$/cancelRequest")}(c||(c={})),function(e){e.type=new o.NotificationType("$/progress")}(u||(u={}));t.ProgressType=class{constructor(){}},function(e){e.is=function(e){return i.func(e)}}(p||(p={})),t.NullLogger=Object.freeze({error:()=>{},warn:()=>{},info:()=>{},log:()=>{}}),function(e){e[e.Off=0]="Off",e[e.Messages=1]="Messages",e[e.Verbose=2]="Verbose"}(h=t.Trace||(t.Trace={})),function(e){e.fromString=function(t){if(!i.string(t))return e.Off;switch(t=t.toLowerCase()){case"off":return e.Off;case"messages":return e.Messages;case"verbose":return e.Verbose;default:return e.Off}},e.toString=function(t){switch(t){case e.Off:return"off";case e.Messages:return"messages";case e.Verbose:return"verbose";default:return"off"}}}(h=t.Trace||(t.Trace={})),function(e){e.Text="text",e.JSON="json"}(t.TraceFormat||(t.TraceFormat={})),function(e){e.fromString=function(t){return"json"===(t=t.toLowerCase())?e.JSON:e.Text}}(d=t.TraceFormat||(t.TraceFormat={})),function(e){e.type=new o.NotificationType("$/setTrace")}(f=t.SetTraceNotification||(t.SetTraceNotification={})),function(e){e.type=new o.NotificationType("$/logTrace")}(g=t.LogTraceNotification||(t.LogTraceNotification={})),function(e){e[e.Closed=1]="Closed",e[e.Disposed=2]="Disposed",e[e.AlreadyListening=3]="AlreadyListening"}(m=t.ConnectionErrors||(t.ConnectionErrors={}));class x extends Error{constructor(e,t){super(t),this.code=e,Object.setPrototypeOf(this,x.prototype)}}t.ConnectionError=x,function(e){e.is=function(e){const t=e;return t&&i.func(t.cancelUndispatched)}}(v=t.ConnectionStrategy||(t.ConnectionStrategy={})),function(e){e.Message=Object.freeze({createCancellationTokenSource:e=>new l.CancellationTokenSource}),e.is=function(e){const t=e;return t&&i.func(t.createCancellationTokenSource)}}(y=t.CancellationReceiverStrategy||(t.CancellationReceiverStrategy={})),function(e){e.Message=Object.freeze({sendCancellation(e,t){e.sendNotification(c.type,{id:t})},cleanup(e){}}),e.is=function(e){const t=e;return t&&i.func(t.sendCancellation)&&i.func(t.cleanup)}}(b=t.CancellationSenderStrategy||(t.CancellationSenderStrategy={})),function(e){e.Message=Object.freeze({receiver:y.Message,sender:b.Message}),e.is=function(e){const t=e;return t&&y.is(t.receiver)&&b.is(t.sender)}}(w=t.CancellationStrategy||(t.CancellationStrategy={})),function(e){e.is=function(e){const t=e;return t&&(w.is(t.cancellationStrategy)||v.is(t.connectionStrategy))}}(t.ConnectionOptions||(t.ConnectionOptions={})),function(e){e[e.New=1]="New",e[e.Listening=2]="Listening",e[e.Closed=3]="Closed",e[e.Disposed=4]="Disposed"}(_||(_={})),t.createMessageConnection=function(e,r,v,y){const b=void 0!==v?v:t.NullLogger;let k=0,S=0,E=0,C=void 0;const T=Object.create(null);let A=void 0;const R=Object.create(null),O=new Map;let P,I,M=new s.LinkedMap,D=Object.create(null),j=Object.create(null),N=h.Off,L=d.Text,F=_.New;const q=new a.Emitter,$=new a.Emitter,B=new a.Emitter,z=new a.Emitter,U=new a.Emitter,W=y&&y.cancellationStrategy?y.cancellationStrategy:w.Message;function H(e){if(null===e)throw new Error("Can't send requests with id null since the response can't be correlated.");return"req-"+e.toString()}function V(e,t){var r;o.isRequestMessage(t)?e.set(H(t.id),t):o.isResponseMessage(t)?e.set(null===(r=t.id)?"res-unknown-"+(++E).toString():"res-"+r.toString(),t):e.set("not-"+(++S).toString(),t)}function G(e){}function Y(){return F===_.Listening}function K(){return F===_.Closed}function Q(){return F===_.Disposed}function J(){F!==_.New&&F!==_.Listening||(F=_.Closed,$.fire(void 0))}function X(){P||0===M.size||(P=n.default().timer.setImmediate(()=>{P=void 0,function(){if(0===M.size)return;const e=M.shift();try{o.isRequestMessage(e)?function(e){if(Q())return;function t(t,n,i){const s={jsonrpc:"2.0",id:e.id};t instanceof o.ResponseError?s.error=t.toJson():s.result=void 0===t?null:t,ee(s,n,i),r.write(s)}function n(t,n,i){const o={jsonrpc:"2.0",id:e.id,error:t.toJson()};ee(o,n,i),r.write(o)}!function(e){if(N===h.Off||!I)return;if(L===d.Text){let t=void 0;N===h.Verbose&&e.params&&(t=`Params: ${JSON.stringify(e.params,null,4)}\n\n`),I.log(`Received request '${e.method} - (${e.id})'.`,t)}else te("receive-request",e)}(e);const s=T[e.method];let a,l;s&&(a=s.type,l=s.handler);const c=Date.now();if(l||C){const s=String(e.id),u=W.receiver.createCancellationTokenSource(s);j[s]=u;try{let p;if(l)if(void 0===e.params){if(void 0!==a&&0!==a.numberOfParams)return void n(new o.ResponseError(o.ErrorCodes.InvalidParams,`Request ${e.method} defines ${a.numberOfParams} params but recevied none.`),e.method,c);p=l(u.token)}else if(Array.isArray(e.params)){if(void 0!==a&&a.parameterStructures===o.ParameterStructures.byName)return void n(new o.ResponseError(o.ErrorCodes.InvalidParams,`Request ${e.method} defines parameters by name but received parameters by position`),e.method,c);p=l(...e.params,u.token)}else{if(void 0!==a&&a.parameterStructures===o.ParameterStructures.byPosition)return void n(new o.ResponseError(o.ErrorCodes.InvalidParams,`Request ${e.method} defines parameters by position but received parameters by name`),e.method,c);p=l(e.params,u.token)}else C&&(p=C(e.method,e.params,u.token));const h=p;p?h.then?h.then(r=>{delete j[s],t(r,e.method,c)},t=>{delete j[s],t instanceof o.ResponseError?n(t,e.method,c):t&&i.string(t.message)?n(new o.ResponseError(o.ErrorCodes.InternalError,`Request ${e.method} failed with message: ${t.message}`),e.method,c):n(new o.ResponseError(o.ErrorCodes.InternalError,`Request ${e.method} failed unexpectedly without providing any details.`),e.method,c)}):(delete j[s],t(p,e.method,c)):(delete j[s],function(t,n,i){void 0===t&&(t=null);const o={jsonrpc:"2.0",id:e.id,result:t};ee(o,n,i),r.write(o)}(p,e.method,c))}catch(r){delete j[s],r instanceof o.ResponseError?t(r,e.method,c):r&&i.string(r.message)?n(new o.ResponseError(o.ErrorCodes.InternalError,`Request ${e.method} failed with message: ${r.message}`),e.method,c):n(new o.ResponseError(o.ErrorCodes.InternalError,`Request ${e.method} failed unexpectedly without providing any details.`),e.method,c)}}else n(new o.ResponseError(o.ErrorCodes.MethodNotFound,"Unhandled method "+e.method),e.method,c)}(e):o.isNotificationMessage(e)?function(e){if(Q())return;let t,r=void 0;if(e.method===c.type.method)t=e=>{const t=e.id,r=j[String(t)];r&&r.cancel()};else{const n=R[e.method];n&&(t=n.handler,r=n.type)}if(t||A)try{!function(e){if(N===h.Off||!I||e.method===g.type.method)return;if(L===d.Text){let t=void 0;N===h.Verbose&&(t=e.params?`Params: ${JSON.stringify(e.params,null,4)}\n\n`:"No parameters provided.\n\n"),I.log(`Received notification '${e.method}'.`,t)}else te("receive-notification",e)}(e),t?void 0===e.params?(void 0!==r&&0!==r.numberOfParams&&r.parameterStructures!==o.ParameterStructures.byName&&b.error(`Notification ${e.method} defines ${r.numberOfParams} params but recevied none.`),t()):Array.isArray(e.params)?(void 0!==r&&(r.parameterStructures===o.ParameterStructures.byName&&b.error(`Notification ${e.method} defines parameters by name but received parameters by position`),r.numberOfParams!==e.params.length&&b.error(`Notification ${e.method} defines ${r.numberOfParams} params but received ${e.params.length} argumennts`)),t(...e.params)):(void 0!==r&&r.parameterStructures===o.ParameterStructures.byPosition&&b.error(`Notification ${e.method} defines parameters by position but received parameters by name`),t(e.params)):A&&A(e.method,e.params)}catch(t){t.message?b.error(`Notification handler '${e.method}' failed with message: ${t.message}`):b.error(`Notification handler '${e.method}' failed unexpectedly.`)}else B.fire(e)}(e):o.isResponseMessage(e)?function(e){if(Q())return;if(null===e.id)e.error?b.error("Received response message without id: Error is: \n"+JSON.stringify(e.error,void 0,4)):b.error("Received response message without id. No further error information provided.");else{const t=String(e.id),r=D[t];if(function(e,t){if(N===h.Off||!I)return;if(L===d.Text){let r=void 0;if(N===h.Verbose&&(e.error&&e.error.data?r=`Error data: ${JSON.stringify(e.error.data,null,4)}\n\n`:e.result?r=`Result: ${JSON.stringify(e.result,null,4)}\n\n`:void 0===e.error&&(r="No result returned.\n\n")),t){const n=e.error?` Request failed: ${e.error.message} (${e.error.code}).`:"";I.log(`Received response '${t.method} - (${e.id})' in ${Date.now()-t.timerStart}ms.${n}`,r)}else I.log(`Received response ${e.id} without active response promise.`,r)}else te("receive-response",e)}(e,r),r){delete D[t];try{if(e.error){const t=e.error;r.reject(new o.ResponseError(t.code,t.message,t.data))}else{if(void 0===e.result)throw new Error("Should never happen.");r.resolve(e.result)}}catch(e){e.message?b.error(`Response handler '${r.method}' failed with message: ${e.message}`):b.error(`Response handler '${r.method}' failed unexpectedly.`)}}}}(e):function(e){if(!e)return void b.error("Received empty message.");b.error("Received message which is neither a response nor a notification message:\n"+JSON.stringify(e,null,4));const t=e;if(i.string(t.id)||i.number(t.id)){const e=String(t.id),r=D[e];r&&r.reject(new Error("The received response has neither a result nor an error property."))}}(e)}finally{X()}}()}))}e.onClose(J),e.onError((function(e){q.fire([e,void 0,void 0])})),r.onClose(J),r.onError((function(e){q.fire(e)}));const Z=e=>{try{if(o.isNotificationMessage(e)&&e.method===c.type.method){const t=H(e.params.id),n=M.get(t);if(o.isRequestMessage(n)){const i=null==y?void 0:y.connectionStrategy,o=i&&i.cancelUndispatched?i.cancelUndispatched(n,G):void 0;if(o&&(void 0!==o.error||void 0!==o.result))return M.delete(t),o.id=n.id,ee(o,e.method,Date.now()),void r.write(o)}}V(M,e)}finally{X()}};function ee(e,t,r){if(N!==h.Off&&I)if(L===d.Text){let n=void 0;N===h.Verbose&&(e.error&&e.error.data?n=`Error data: ${JSON.stringify(e.error.data,null,4)}\n\n`:e.result?n=`Result: ${JSON.stringify(e.result,null,4)}\n\n`:void 0===e.error&&(n="No result returned.\n\n")),I.log(`Sending response '${t} - (${e.id})'. Processing request took ${Date.now()-r}ms`,n)}else te("send-response",e)}function te(e,t){if(!I||N===h.Off)return;const r={isLSPMessage:!0,type:e,message:t,timestamp:Date.now()};I.log(r)}function re(){if(K())throw new x(m.Closed,"Connection is closed.");if(Q())throw new x(m.Disposed,"Connection is disposed.")}function ne(e){return void 0===e?null:e}function ie(e){return null===e?void 0:e}function oe(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}function se(e,t){switch(e){case o.ParameterStructures.auto:return oe(t)?ie(t):[ne(t)];case o.ParameterStructures.byName:if(!oe(t))throw new Error("Recevied parameters by name but param is not an object literal.");return ie(t);case o.ParameterStructures.byPosition:return[ne(t)];default:throw new Error("Unknown parameter structure "+e.toString())}}function ae(e,t){let r;const n=e.numberOfParams;switch(n){case 0:r=void 0;break;case 1:r=se(e.parameterStructures,t[0]);break;default:r=[];for(let e=0;e{let n,s;if(re(),i.string(e)){n=e;const r=t[0];let i=0,a=o.ParameterStructures.auto;o.ParameterStructures.is(r)&&(i=1,a=r);let l=t.length;const c=l-i;switch(c){case 0:s=void 0;break;case 1:s=se(a,t[i]);break;default:if(a===o.ParameterStructures.byName)throw new Error(`Recevied ${c} parameters for 'by Name' notification parameter structure.`);s=t.slice(i,l).map(e=>ne(e))}}else{const r=t;n=e.method,s=ae(e,r)}const a={jsonrpc:"2.0",method:n,params:s};!function(e){if(N!==h.Off&&I)if(L===d.Text){let t=void 0;N===h.Verbose&&(t=e.params?`Params: ${JSON.stringify(e.params,null,4)}\n\n`:"No parameters provided.\n\n"),I.log(`Sending notification '${e.method}'.`,t)}else te("send-notification",e)}(a),r.write(a)},onNotification:(e,t)=>{let r;return re(),i.func(e)?A=e:t&&(i.string(e)?(r=e,R[e]={type:void 0,handler:t}):(r=e.method,R[e.method]={type:e,handler:t})),{dispose:()=>{void 0!==r?delete R[r]:A=void 0}}},onProgress:(e,t,r)=>{if(O.has(t))throw new Error(`Progress handler for token ${t} already registered`);return O.set(t,r),{dispose:()=>{O.delete(t)}}},sendProgress:(e,t,r)=>{le.sendNotification(u.type,{token:t,value:r})},onUnhandledProgress:z.event,sendRequest:(e,...t)=>{let n,s;re(),function(){if(!Y())throw new Error("Call listen() first.")}();let a=void 0;if(i.string(e)){n=e;const r=t[0],i=t[t.length-1];let c=0,u=o.ParameterStructures.auto;o.ParameterStructures.is(r)&&(c=1,u=r);let p=t.length;l.CancellationToken.is(i)&&(p-=1,a=i);const h=p-c;switch(h){case 0:s=void 0;break;case 1:s=se(u,t[c]);break;default:if(u===o.ParameterStructures.byName)throw new Error(`Recevied ${h} parameters for 'by Name' request parameter structure.`);s=t.slice(c,p).map(e=>ne(e))}}else{const r=t;n=e.method,s=ae(e,r);const i=e.numberOfParams;a=l.CancellationToken.is(r[i])?r[i]:void 0}const c=k++;let u;return a&&(u=a.onCancellationRequested(()=>{W.sender.sendCancellation(le,c)})),new Promise((e,t)=>{const i={jsonrpc:"2.0",id:c,method:n,params:s};let a={method:n,timerStart:Date.now(),resolve:t=>{e(t),W.sender.cleanup(c),null==u||u.dispose()},reject:e=>{t(e),W.sender.cleanup(c),null==u||u.dispose()}};!function(e){if(N!==h.Off&&I)if(L===d.Text){let t=void 0;N===h.Verbose&&e.params&&(t=`Params: ${JSON.stringify(e.params,null,4)}\n\n`),I.log(`Sending request '${e.method} - (${e.id})'.`,t)}else te("send-request",e)}(i);try{r.write(i)}catch(e){a.reject(new o.ResponseError(o.ErrorCodes.MessageWriteError,e.message?e.message:"Unknown reason")),a=null}a&&(D[String(c)]=a)})},onRequest:(e,t)=>{re();let r=null;return p.is(e)?(r=void 0,C=e):i.string(e)?(r=null,void 0!==t&&(r=e,T[e]={handler:t,type:void 0})):void 0!==t&&(r=e.method,T[e.method]={type:e,handler:t}),{dispose:()=>{null!==r&&(void 0!==r?delete T[r]:C=void 0)}}},trace:(e,t,r)=>{let n=!1,o=d.Text;void 0!==r&&(i.boolean(r)?n=r:(n=r.sendNotification||!1,o=r.traceFormat||d.Text)),N=e,L=o,I=N===h.Off?void 0:t,!n||K()||Q()||le.sendNotification(f.type,{value:h.toString(e)})},onError:q.event,onClose:$.event,onUnhandledNotification:B.event,onDispose:U.event,end:()=>{r.end()},dispose:()=>{if(Q())return;F=_.Disposed,U.fire(void 0);const t=new Error("Connection got disposed.");Object.keys(D).forEach(e=>{D[e].reject(t)}),D=Object.create(null),j=Object.create(null),M=new s.LinkedMap,i.func(r.dispose)&&r.dispose(),i.func(e.dispose)&&e.dispose()},listen:()=>{re(),function(){if(Y())throw new x(m.AlreadyListening,"Connection is already listening")}(),F=_.Listening,e.listen(Z)},inspect:()=>{n.default().console.log("inspect")}};return le.onNotification(g.type,e=>{N!==h.Off&&I&&I.log(e.message,N===h.Verbose?e.verbose:void 0)}),le.onNotification(u.type,e=>{const t=O.get(e.token);t?t(e.value):z.fire(e)}),le}},96023:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Disposable=void 0,function(e){e.create=function(e){return{dispose:e}}}(t.Disposable||(t.Disposable={}))},84540:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Emitter=t.Event=void 0;const n=r(65574);!function(e){const t={dispose(){}};e.None=function(){return t}}(t.Event||(t.Event={}));class i{add(e,t=null,r){this._callbacks||(this._callbacks=[],this._contexts=[]),this._callbacks.push(e),this._contexts.push(t),Array.isArray(r)&&r.push({dispose:()=>this.remove(e,t)})}remove(e,t=null){if(!this._callbacks)return;let r=!1;for(let n=0,i=this._callbacks.length;n{this._callbacks||(this._callbacks=new i),this._options&&this._options.onFirstListenerAdd&&this._callbacks.isEmpty()&&this._options.onFirstListenerAdd(this),this._callbacks.add(e,t);const n={dispose:()=>{this._callbacks&&(this._callbacks.remove(e,t),n.dispose=o._noop,this._options&&this._options.onLastListenerRemove&&this._callbacks.isEmpty()&&this._options.onLastListenerRemove(this))}};return Array.isArray(r)&&r.push(n),n}),this._event}fire(e){this._callbacks&&this._callbacks.invoke.call(this._callbacks,e)}dispose(){this._callbacks&&(this._callbacks.dispose(),this._callbacks=void 0)}}t.Emitter=o,o._noop=function(){}},24693:(e,t)=>{"use strict";function r(e){return"string"==typeof e||e instanceof String}function n(e){return Array.isArray(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.stringArray=t.array=t.func=t.error=t.number=t.string=t.boolean=void 0,t.boolean=function(e){return!0===e||!1===e},t.string=r,t.number=function(e){return"number"==typeof e||e instanceof Number},t.error=function(e){return e instanceof Error},t.func=function(e){return"function"==typeof e},t.array=n,t.stringArray=function(e){return n(e)&&e.every(e=>r(e))}},94759:(e,t)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.LRUCache=t.LinkedMap=t.Touch=void 0,function(e){e.None=0,e.First=1,e.AsOld=e.First,e.Last=2,e.AsNew=e.Last}(r=t.Touch||(t.Touch={}));class n{constructor(){this[Symbol.toStringTag]="LinkedMap",this._map=new Map,this._head=void 0,this._tail=void 0,this._size=0,this._state=0}clear(){this._map.clear(),this._head=void 0,this._tail=void 0,this._size=0,this._state++}isEmpty(){return!this._head&&!this._tail}get size(){return this._size}get first(){var e;return null===(e=this._head)||void 0===e?void 0:e.value}get last(){var e;return null===(e=this._tail)||void 0===e?void 0:e.value}has(e){return this._map.has(e)}get(e,t=r.None){const n=this._map.get(e);if(n)return t!==r.None&&this.touch(n,t),n.value}set(e,t,n=r.None){let i=this._map.get(e);if(i)i.value=t,n!==r.None&&this.touch(i,n);else{switch(i={key:e,value:t,next:void 0,previous:void 0},n){case r.None:this.addItemLast(i);break;case r.First:this.addItemFirst(i);break;case r.Last:default:this.addItemLast(i)}this._map.set(e,i),this._size++}return this}delete(e){return!!this.remove(e)}remove(e){const t=this._map.get(e);if(t)return this._map.delete(e),this.removeItem(t),this._size--,t.value}shift(){if(!this._head&&!this._tail)return;if(!this._head||!this._tail)throw new Error("Invalid list");const e=this._head;return this._map.delete(e.key),this.removeItem(e),this._size--,e.value}forEach(e,t){const r=this._state;let n=this._head;for(;n;){if(t?e.bind(t)(n.value,n.key,this):e(n.value,n.key,this),this._state!==r)throw new Error("LinkedMap got modified during iteration.");n=n.next}}keys(){const e=this,t=this._state;let r=this._head;const n={[Symbol.iterator]:()=>n,next(){if(e._state!==t)throw new Error("LinkedMap got modified during iteration.");if(r){const e={value:r.key,done:!1};return r=r.next,e}return{value:void 0,done:!0}}};return n}values(){const e=this,t=this._state;let r=this._head;const n={[Symbol.iterator]:()=>n,next(){if(e._state!==t)throw new Error("LinkedMap got modified during iteration.");if(r){const e={value:r.value,done:!1};return r=r.next,e}return{value:void 0,done:!0}}};return n}entries(){const e=this,t=this._state;let r=this._head;const n={[Symbol.iterator]:()=>n,next(){if(e._state!==t)throw new Error("LinkedMap got modified during iteration.");if(r){const e={value:[r.key,r.value],done:!1};return r=r.next,e}return{value:void 0,done:!0}}};return n}[Symbol.iterator](){return this.entries()}trimOld(e){if(e>=this.size)return;if(0===e)return void this.clear();let t=this._head,r=this.size;for(;t&&r>e;)this._map.delete(t.key),t=t.next,r--;this._head=t,this._size=r,t&&(t.previous=void 0),this._state++}addItemFirst(e){if(this._head||this._tail){if(!this._head)throw new Error("Invalid list");e.next=this._head,this._head.previous=e}else this._tail=e;this._head=e,this._state++}addItemLast(e){if(this._head||this._tail){if(!this._tail)throw new Error("Invalid list");e.previous=this._tail,this._tail.next=e}else this._head=e;this._tail=e,this._state++}removeItem(e){if(e===this._head&&e===this._tail)this._head=void 0,this._tail=void 0;else if(e===this._head){if(!e.next)throw new Error("Invalid list");e.next.previous=void 0,this._head=e.next}else if(e===this._tail){if(!e.previous)throw new Error("Invalid list");e.previous.next=void 0,this._tail=e.previous}else{const t=e.next,r=e.previous;if(!t||!r)throw new Error("Invalid list");t.previous=r,r.next=t}e.next=void 0,e.previous=void 0,this._state++}touch(e,t){if(!this._head||!this._tail)throw new Error("Invalid list");if(t===r.First||t===r.Last)if(t===r.First){if(e===this._head)return;const t=e.next,r=e.previous;e===this._tail?(r.next=void 0,this._tail=r):(t.previous=r,r.next=t),e.previous=void 0,e.next=this._head,this._head.previous=e,this._head=e,this._state++}else if(t===r.Last){if(e===this._tail)return;const t=e.next,r=e.previous;e===this._head?(t.previous=void 0,this._head=t):(t.previous=r,r.next=t),e.next=void 0,e.previous=this._tail,this._tail.next=e,this._tail=e,this._state++}}toJSON(){const e=[];return this.forEach((t,r)=>{e.push([r,t])}),e}fromJSON(e){this.clear();for(const[t,r]of e)this.set(t,r)}}t.LinkedMap=n;t.LRUCache=class extends n{constructor(e,t=1){super(),this._limit=e,this._ratio=Math.min(Math.max(0,t),1)}get limit(){return this._limit}set limit(e){this._limit=e,this.checkTrim()}get ratio(){return this._ratio}set ratio(e){this._ratio=Math.min(Math.max(0,e),1),this.checkTrim()}get(e,t=r.AsNew){return super.get(e,t)}peek(e){return super.get(e,r.None)}set(e,t){return super.set(e,t,r.Last),this.checkTrim(),this}checkTrim(){this.size>this._limit&&this.trimOld(Math.round(this._limit*this._ratio))}}},68920:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AbstractMessageBuffer=void 0;t.AbstractMessageBuffer=class{constructor(e="utf-8"){this._encoding=e,this._chunks=[],this._totalLength=0}get encoding(){return this._encoding}append(e){const t="string"==typeof e?this.fromString(e,this._encoding):e;this._chunks.push(t),this._totalLength+=t.byteLength}tryReadHeaders(){if(0===this._chunks.length)return;let e=0,t=0,r=0,n=0;e:for(;tthis._totalLength)throw new Error("Cannot read so many bytes!");if(this._chunks[0].byteLength===e){const t=this._chunks[0];return this._chunks.shift(),this._totalLength-=e,this.asNative(t)}if(this._chunks[0].byteLength>e){const t=this._chunks[0],r=this.asNative(t,e);return this._chunks[0]=t.slice(e),this._totalLength-=e,r}const t=this.allocNative(e);let r=0;for(;e>0;){const n=this._chunks[0];if(n.byteLength>e){const i=n.slice(0,e);t.set(i,r),r+=e,this._chunks[0]=n.slice(e),this._totalLength-=e,e-=e}else t.set(n,r),r+=n.byteLength,this._chunks.shift(),this._totalLength-=n.byteLength,e-=n.byteLength}return t}}},74563:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ReadableStreamMessageReader=t.AbstractMessageReader=t.MessageReader=void 0;const n=r(65574),i=r(24693),o=r(84540);var s;!function(e){e.is=function(e){let t=e;return t&&i.func(t.listen)&&i.func(t.dispose)&&i.func(t.onError)&&i.func(t.onClose)&&i.func(t.onPartialMessage)}}(t.MessageReader||(t.MessageReader={}));class a{constructor(){this.errorEmitter=new o.Emitter,this.closeEmitter=new o.Emitter,this.partialMessageEmitter=new o.Emitter}dispose(){this.errorEmitter.dispose(),this.closeEmitter.dispose()}get onError(){return this.errorEmitter.event}fireError(e){this.errorEmitter.fire(this.asError(e))}get onClose(){return this.closeEmitter.event}fireClose(){this.closeEmitter.fire(void 0)}get onPartialMessage(){return this.partialMessageEmitter.event}firePartialMessage(e){this.partialMessageEmitter.fire(e)}asError(e){return e instanceof Error?e:new Error("Reader received error. Reason: "+(i.string(e.message)?e.message:"unknown"))}}t.AbstractMessageReader=a,function(e){e.fromOptions=function(e){var t;let r,i;const o=new Map;let s;const a=new Map;if(void 0===e||"string"==typeof e)r=null!=e?e:"utf-8";else{if(r=null!==(t=e.charset)&&void 0!==t?t:"utf-8",void 0!==e.contentDecoder&&(i=e.contentDecoder,o.set(i.name,i)),void 0!==e.contentDecoders)for(const t of e.contentDecoders)o.set(t.name,t);if(void 0!==e.contentTypeDecoder&&(s=e.contentTypeDecoder,a.set(s.name,s)),void 0!==e.contentTypeDecoders)for(const t of e.contentTypeDecoders)a.set(t.name,t)}return void 0===s&&(s=n.default().applicationJson.decoder,a.set(s.name,s)),{charset:r,contentDecoder:i,contentDecoders:o,contentTypeDecoder:s,contentTypeDecoders:a}}}(s||(s={}));t.ReadableStreamMessageReader=class extends a{constructor(e,t){super(),this.readable=e,this.options=s.fromOptions(t),this.buffer=n.default().messageBuffer.create(this.options.charset),this._partialMessageTimeout=1e4,this.nextMessageLength=-1,this.messageToken=0}set partialMessageTimeout(e){this._partialMessageTimeout=e}get partialMessageTimeout(){return this._partialMessageTimeout}listen(e){this.nextMessageLength=-1,this.messageToken=0,this.partialMessageTimer=void 0,this.callback=e;const t=this.readable.onData(e=>{this.onData(e)});return this.readable.onError(e=>this.fireError(e)),this.readable.onClose(()=>this.fireClose()),t}onData(e){for(this.buffer.append(e);;){if(-1===this.nextMessageLength){const e=this.buffer.tryReadHeaders();if(!e)return;const t=e.get("Content-Length");if(!t)throw new Error("Header must provide a Content-Length property.");const r=parseInt(t);if(isNaN(r))throw new Error("Content-Length value must be a number.");this.nextMessageLength=r}const e=this.buffer.tryReadBody(this.nextMessageLength);if(void 0===e)return void this.setPartialMessageTimer();let t;this.clearPartialMessageTimer(),this.nextMessageLength=-1,t=void 0!==this.options.contentDecoder?this.options.contentDecoder.decode(e):Promise.resolve(e),t.then(e=>{this.options.contentTypeDecoder.decode(e,this.options).then(e=>{this.callback(e)},e=>{this.fireError(e)})},e=>{this.fireError(e)})}}clearPartialMessageTimer(){this.partialMessageTimer&&(n.default().timer.clearTimeout(this.partialMessageTimer),this.partialMessageTimer=void 0)}setPartialMessageTimer(){this.clearPartialMessageTimer(),this._partialMessageTimeout<=0||(this.partialMessageTimer=n.default().timer.setTimeout((e,t)=>{this.partialMessageTimer=void 0,e===this.messageToken&&(this.firePartialMessage({messageToken:e,waitingTime:t}),this.setPartialMessageTimer())},this._partialMessageTimeout,this.messageToken,this._partialMessageTimeout))}}},53302:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WriteableStreamMessageWriter=t.AbstractMessageWriter=t.MessageWriter=void 0;const n=r(65574),i=r(24693),o=r(5873),s=r(84540);var a;!function(e){e.is=function(e){let t=e;return t&&i.func(t.dispose)&&i.func(t.onClose)&&i.func(t.onError)&&i.func(t.write)}}(t.MessageWriter||(t.MessageWriter={}));class l{constructor(){this.errorEmitter=new s.Emitter,this.closeEmitter=new s.Emitter}dispose(){this.errorEmitter.dispose(),this.closeEmitter.dispose()}get onError(){return this.errorEmitter.event}fireError(e,t,r){this.errorEmitter.fire([this.asError(e),t,r])}get onClose(){return this.closeEmitter.event}fireClose(){this.closeEmitter.fire(void 0)}asError(e){return e instanceof Error?e:new Error("Writer received error. Reason: "+(i.string(e.message)?e.message:"unknown"))}}t.AbstractMessageWriter=l,function(e){e.fromOptions=function(e){var t,r;return void 0===e||"string"==typeof e?{charset:null!=e?e:"utf-8",contentTypeEncoder:n.default().applicationJson.encoder}:{charset:null!==(t=e.charset)&&void 0!==t?t:"utf-8",contentEncoder:e.contentEncoder,contentTypeEncoder:null!==(r=e.contentTypeEncoder)&&void 0!==r?r:n.default().applicationJson.encoder}}}(a||(a={}));t.WriteableStreamMessageWriter=class extends l{constructor(e,t){super(),this.writable=e,this.options=a.fromOptions(t),this.errorCount=0,this.writeSemaphore=new o.Semaphore(1),this.writable.onError(e=>this.fireError(e)),this.writable.onClose(()=>this.fireClose())}async write(e){return this.writeSemaphore.lock(async()=>this.options.contentTypeEncoder.encode(e,this.options).then(e=>void 0!==this.options.contentEncoder?this.options.contentEncoder.encode(e):e).then(t=>{const r=[];return r.push("Content-Length: ",t.byteLength.toString(),"\r\n"),r.push("\r\n"),this.doWrite(e,r,t)},e=>{throw this.fireError(e),e}))}async doWrite(e,t,r){try{return await this.writable.write(t.join(""),"ascii"),this.writable.write(r)}catch(t){return this.handleError(t,e),Promise.reject(t)}}handleError(e,t){this.errorCount++,this.fireError(e,t,this.errorCount)}end(){this.writable.end()}}},29030:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isResponseMessage=t.isNotificationMessage=t.isRequestMessage=t.NotificationType9=t.NotificationType8=t.NotificationType7=t.NotificationType6=t.NotificationType5=t.NotificationType4=t.NotificationType3=t.NotificationType2=t.NotificationType1=t.NotificationType0=t.NotificationType=t.RequestType9=t.RequestType8=t.RequestType7=t.RequestType6=t.RequestType5=t.RequestType4=t.RequestType3=t.RequestType2=t.RequestType1=t.RequestType=t.RequestType0=t.AbstractMessageSignature=t.ParameterStructures=t.ResponseError=t.ErrorCodes=void 0;const n=r(24693);var i;!function(e){e.ParseError=-32700,e.InvalidRequest=-32600,e.MethodNotFound=-32601,e.InvalidParams=-32602,e.InternalError=-32603,e.jsonrpcReservedErrorRangeStart=-32099,e.serverErrorStart=e.jsonrpcReservedErrorRangeStart,e.MessageWriteError=-32099,e.MessageReadError=-32098,e.ServerNotInitialized=-32002,e.UnknownErrorCode=-32001,e.jsonrpcReservedErrorRangeEnd=-32e3,e.serverErrorEnd=e.jsonrpcReservedErrorRangeEnd}(i=t.ErrorCodes||(t.ErrorCodes={}));class o extends Error{constructor(e,t,r){super(t),this.code=n.number(e)?e:i.UnknownErrorCode,this.data=r,Object.setPrototypeOf(this,o.prototype)}toJson(){return{code:this.code,message:this.message,data:this.data}}}t.ResponseError=o;class s{constructor(e){this.kind=e}static is(e){return e===s.auto||e===s.byName||e===s.byPosition}toString(){return this.kind}}t.ParameterStructures=s,s.auto=new s("auto"),s.byPosition=new s("byPosition"),s.byName=new s("byName");class a{constructor(e,t){this.method=e,this.numberOfParams=t}get parameterStructures(){return s.auto}}t.AbstractMessageSignature=a;t.RequestType0=class extends a{constructor(e){super(e,0)}};t.RequestType=class extends a{constructor(e,t=s.auto){super(e,1),this._parameterStructures=t}get parameterStructures(){return this._parameterStructures}};t.RequestType1=class extends a{constructor(e,t=s.auto){super(e,1),this._parameterStructures=t}get parameterStructures(){return this._parameterStructures}};t.RequestType2=class extends a{constructor(e){super(e,2)}};t.RequestType3=class extends a{constructor(e){super(e,3)}};t.RequestType4=class extends a{constructor(e){super(e,4)}};t.RequestType5=class extends a{constructor(e){super(e,5)}};t.RequestType6=class extends a{constructor(e){super(e,6)}};t.RequestType7=class extends a{constructor(e){super(e,7)}};t.RequestType8=class extends a{constructor(e){super(e,8)}};t.RequestType9=class extends a{constructor(e){super(e,9)}};t.NotificationType=class extends a{constructor(e,t=s.auto){super(e,1),this._parameterStructures=t}get parameterStructures(){return this._parameterStructures}};t.NotificationType0=class extends a{constructor(e){super(e,0)}};t.NotificationType1=class extends a{constructor(e,t=s.auto){super(e,1),this._parameterStructures=t}get parameterStructures(){return this._parameterStructures}};t.NotificationType2=class extends a{constructor(e){super(e,2)}};t.NotificationType3=class extends a{constructor(e){super(e,3)}};t.NotificationType4=class extends a{constructor(e){super(e,4)}};t.NotificationType5=class extends a{constructor(e){super(e,5)}};t.NotificationType6=class extends a{constructor(e){super(e,6)}};t.NotificationType7=class extends a{constructor(e){super(e,7)}};t.NotificationType8=class extends a{constructor(e){super(e,8)}};t.NotificationType9=class extends a{constructor(e){super(e,9)}},t.isRequestMessage=function(e){const t=e;return t&&n.string(t.method)&&(n.string(t.id)||n.number(t.id))},t.isNotificationMessage=function(e){const t=e;return t&&n.string(t.method)&&void 0===e.id},t.isResponseMessage=function(e){const t=e;return t&&(void 0!==t.result||!!t.error)&&(n.string(t.id)||n.number(t.id)||null===t.id)}},65574:(e,t)=>{"use strict";let r;function n(){if(void 0===r)throw new Error("No runtime abstraction layer installed");return r}Object.defineProperty(t,"__esModule",{value:!0}),function(e){e.install=function(e){if(void 0===e)throw new Error("No runtime abstraction layer provided");r=e}}(n||(n={})),t.default=n},5873:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Semaphore=void 0;const n=r(65574);t.Semaphore=class{constructor(e=1){if(e<=0)throw new Error("Capacity must be greater than 0");this._capacity=e,this._active=0,this._waiting=[]}lock(e){return new Promise((t,r)=>{this._waiting.push({thunk:e,resolve:t,reject:r}),this.runNext()})}get active(){return this._active}runNext(){0!==this._waiting.length&&this._active!==this._capacity&&n.default().timer.setImmediate(()=>this.doRunNext())}doRunNext(){if(0===this._waiting.length||this._active===this._capacity)return;const e=this._waiting.shift();if(this._active++,this._active>this._capacity)throw new Error("To many thunks active");try{const t=e.thunk();t instanceof Promise?t.then(t=>{this._active--,e.resolve(t),this.runNext()},t=>{this._active--,e.reject(t),this.runNext()}):(this._active--,e.resolve(t),this.runNext())}catch(t){this._active--,e.reject(t),this.runNext()}}}},12814:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),t.createMessageConnection=t.createServerSocketTransport=t.createClientSocketTransport=t.createServerPipeTransport=t.createClientPipeTransport=t.generateRandomPipeName=t.StreamMessageWriter=t.StreamMessageReader=t.SocketMessageWriter=t.SocketMessageReader=t.IPCMessageWriter=t.IPCMessageReader=void 0;const o=r(31403);o.default.install();const s=r(95867),a=r(85622),l=r(12087),c=r(76417),u=r(11631);i(r(95867),t);class p extends s.AbstractMessageReader{constructor(e){super(),this.process=e;let t=this.process;t.on("error",e=>this.fireError(e)),t.on("close",()=>this.fireClose())}listen(e){return this.process.on("message",e),s.Disposable.create(()=>this.process.off("message",e))}}t.IPCMessageReader=p;class h extends s.AbstractMessageWriter{constructor(e){super(),this.process=e,this.errorCount=0;let t=this.process;t.on("error",e=>this.fireError(e)),t.on("close",()=>this.fireClose)}write(e){try{return"function"==typeof this.process.send&&this.process.send(e,void 0,void 0,t=>{t?(this.errorCount++,this.handleError(t,e)):this.errorCount=0}),Promise.resolve()}catch(t){return this.handleError(t,e),Promise.reject(t)}}handleError(e,t){this.errorCount++,this.fireError(e,t,this.errorCount)}end(){}}t.IPCMessageWriter=h;class d extends s.ReadableStreamMessageReader{constructor(e,t="utf-8"){super(o.default().stream.asReadableStream(e),t)}}t.SocketMessageReader=d;class f extends s.WriteableStreamMessageWriter{constructor(e,t){super(o.default().stream.asWritableStream(e),t),this.socket=e}dispose(){super.dispose(),this.socket.destroy()}}t.SocketMessageWriter=f;class g extends s.ReadableStreamMessageReader{constructor(e,t){super(o.default().stream.asReadableStream(e),t)}}t.StreamMessageReader=g;class m extends s.WriteableStreamMessageWriter{constructor(e,t){super(o.default().stream.asWritableStream(e),t)}}t.StreamMessageWriter=m;const v=process.env.XDG_RUNTIME_DIR,y=new Map([["linux",107],["darwin",103]]);t.generateRandomPipeName=function(){const e=c.randomBytes(21).toString("hex");if("win32"===process.platform)return`\\\\.\\pipe\\vscode-jsonrpc-${e}-sock`;let t;t=v?a.join(v,`vscode-ipc-${e}.sock`):a.join(l.tmpdir(),`vscode-${e}.sock`);const r=y.get(process.platform);return void 0!==r&&t.length>=r&&o.default().console.warn(`WARNING: IPC handle "${t}" is longer than ${r} characters.`),t},t.createClientPipeTransport=function(e,t="utf-8"){let r;const n=new Promise((e,t)=>{r=e});return new Promise((i,o)=>{let s=u.createServer(e=>{s.close(),r([new d(e,t),new f(e,t)])});s.on("error",o),s.listen(e,()=>{s.removeListener("error",o),i({onConnected:()=>n})})})},t.createServerPipeTransport=function(e,t="utf-8"){const r=u.createConnection(e);return[new d(r,t),new f(r,t)]},t.createClientSocketTransport=function(e,t="utf-8"){let r;const n=new Promise((e,t)=>{r=e});return new Promise((i,o)=>{const s=u.createServer(e=>{s.close(),r([new d(e,t),new f(e,t)])});s.on("error",o),s.listen(e,"127.0.0.1",()=>{s.removeListener("error",o),i({onConnected:()=>n})})})},t.createServerSocketTransport=function(e,t="utf-8"){const r=u.createConnection(e,"127.0.0.1");return[new d(r,t),new f(r,t)]},t.createMessageConnection=function(e,t,r,n){r||(r=s.NullLogger);const i=function(e){const t=e;return void 0!==t.read&&void 0!==t.addListener}(e)?new g(e):e,o=function(e){const t=e;return void 0!==t.write&&void 0!==t.addListener}(t)?new m(t):t;return s.ConnectionStrategy.is(n)&&(n={connectionStrategy:n}),s.createMessageConnection(i,o,r,n)}},31403:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(65574),i=r(31669),o=r(96023),s=r(68920);class a extends s.AbstractMessageBuffer{constructor(e="utf-8"){super(e)}emptyBuffer(){return a.emptyBuffer}fromString(e,t){return Buffer.from(e,t)}toString(e,t){return e instanceof Buffer?e.toString(t):new i.TextDecoder(t).decode(e)}asNative(e,t){return void 0===t?e instanceof Buffer?e:Buffer.from(e):e instanceof Buffer?e.slice(0,t):Buffer.from(e,0,t)}allocNative(e){return Buffer.allocUnsafe(e)}}a.emptyBuffer=Buffer.allocUnsafe(0);class l{constructor(e){this.stream=e}onClose(e){return this.stream.on("close",e),o.Disposable.create(()=>this.stream.off("close",e))}onError(e){return this.stream.on("error",e),o.Disposable.create(()=>this.stream.off("error",e))}onEnd(e){return this.stream.on("end",e),o.Disposable.create(()=>this.stream.off("end",e))}onData(e){return this.stream.on("data",e),o.Disposable.create(()=>this.stream.off("data",e))}}class c{constructor(e){this.stream=e}onClose(e){return this.stream.on("close",e),o.Disposable.create(()=>this.stream.off("close",e))}onError(e){return this.stream.on("error",e),o.Disposable.create(()=>this.stream.off("error",e))}onEnd(e){return this.stream.on("end",e),o.Disposable.create(()=>this.stream.off("end",e))}write(e,t){return new Promise((r,n)=>{const i=e=>{null==e?r():n(e)};"string"==typeof e?this.stream.write(e,t,i):this.stream.write(e,i)})}end(){this.stream.end()}}const u=Object.freeze({messageBuffer:Object.freeze({create:e=>new a(e)}),applicationJson:Object.freeze({encoder:Object.freeze({name:"application/json",encode:(e,t)=>{try{return Promise.resolve(Buffer.from(JSON.stringify(e,void 0,0),t.charset))}catch(e){return Promise.reject(e)}}}),decoder:Object.freeze({name:"application/json",decode:(e,t)=>{try{return e instanceof Buffer?Promise.resolve(JSON.parse(e.toString(t.charset))):Promise.resolve(JSON.parse(new i.TextDecoder(t.charset).decode(e)))}catch(e){return Promise.reject(e)}}})}),stream:Object.freeze({asReadableStream:e=>new l(e),asWritableStream:e=>new c(e)}),console:console,timer:Object.freeze({setTimeout:(e,t,...r)=>setTimeout(e,t,...r),clearTimeout(e){clearTimeout(e)},setImmediate:(e,...t)=>setImmediate(e,...t),clearImmediate(e){clearImmediate(e)}})});function p(){return u}!function(e){e.install=function(){n.default.install(u)}}(p||(p={})),t.default=p},13698:(e,t,r)=>{"use strict";e.exports=r(12814)},48237:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),t.LSPErrorCodes=t.createProtocolConnection=void 0,i(r(12814),t),i(r(62260),t),i(r(222),t),i(r(96793),t);var o=r(98058);Object.defineProperty(t,"createProtocolConnection",{enumerable:!0,get:function(){return o.createProtocolConnection}}),function(e){e.lspReservedErrorRangeStart=-32899,e.ContentModified=-32801,e.RequestCancelled=-32800,e.lspReservedErrorRangeEnd=-32800}(t.LSPErrorCodes||(t.LSPErrorCodes={}))},98058:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createProtocolConnection=void 0;const n=r(12814);t.createProtocolConnection=function(e,t,r,i){return n.ConnectionStrategy.is(i)&&(i={connectionStrategy:i}),n.createMessageConnection(e,t,r,i)}},222:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ProtocolNotificationType=t.ProtocolNotificationType0=t.ProtocolRequestType=t.ProtocolRequestType0=t.RegistrationType=void 0;const n=r(12814);t.RegistrationType=class{constructor(e){this.method=e}};class i extends n.RequestType0{constructor(e){super(e)}}t.ProtocolRequestType0=i;class o extends n.RequestType{constructor(e){super(e,n.ParameterStructures.byName)}}t.ProtocolRequestType=o;class s extends n.NotificationType0{constructor(e){super(e)}}t.ProtocolNotificationType0=s;class a extends n.NotificationType{constructor(e){super(e,n.ParameterStructures.byName)}}t.ProtocolNotificationType=a},83204:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CallHierarchyOutgoingCallsRequest=t.CallHierarchyIncomingCallsRequest=t.CallHierarchyPrepareRequest=void 0;const n=r(222);!function(e){e.method="textDocument/prepareCallHierarchy",e.type=new n.ProtocolRequestType(e.method)}(t.CallHierarchyPrepareRequest||(t.CallHierarchyPrepareRequest={})),function(e){e.method="callHierarchy/incomingCalls",e.type=new n.ProtocolRequestType(e.method)}(t.CallHierarchyIncomingCallsRequest||(t.CallHierarchyIncomingCallsRequest={})),function(e){e.method="callHierarchy/outgoingCalls",e.type=new n.ProtocolRequestType(e.method)}(t.CallHierarchyOutgoingCallsRequest||(t.CallHierarchyOutgoingCallsRequest={}))},3397:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ColorPresentationRequest=t.DocumentColorRequest=void 0;const n=r(222);!function(e){e.method="textDocument/documentColor",e.type=new n.ProtocolRequestType(e.method)}(t.DocumentColorRequest||(t.DocumentColorRequest={})),function(e){e.type=new n.ProtocolRequestType("textDocument/colorPresentation")}(t.ColorPresentationRequest||(t.ColorPresentationRequest={}))},49344:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ConfigurationRequest=void 0;const n=r(222);!function(e){e.type=new n.ProtocolRequestType("workspace/configuration")}(t.ConfigurationRequest||(t.ConfigurationRequest={}))},30433:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DeclarationRequest=void 0;const n=r(222);!function(e){e.method="textDocument/declaration",e.type=new n.ProtocolRequestType(e.method)}(t.DeclarationRequest||(t.DeclarationRequest={}))},76191:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WillDeleteFilesRequest=t.DidDeleteFilesNotification=t.DidRenameFilesNotification=t.WillRenameFilesRequest=t.DidCreateFilesNotification=t.WillCreateFilesRequest=t.FileOperationPatternKind=void 0;const n=r(222);!function(e){e.file="file",e.folder="folder"}(t.FileOperationPatternKind||(t.FileOperationPatternKind={})),function(e){e.method="workspace/willCreateFiles",e.type=new n.ProtocolRequestType(e.method)}(t.WillCreateFilesRequest||(t.WillCreateFilesRequest={})),function(e){e.method="workspace/didCreateFiles",e.type=new n.ProtocolNotificationType(e.method)}(t.DidCreateFilesNotification||(t.DidCreateFilesNotification={})),function(e){e.method="workspace/willRenameFiles",e.type=new n.ProtocolRequestType(e.method)}(t.WillRenameFilesRequest||(t.WillRenameFilesRequest={})),function(e){e.method="workspace/didRenameFiles",e.type=new n.ProtocolNotificationType(e.method)}(t.DidRenameFilesNotification||(t.DidRenameFilesNotification={})),function(e){e.method="workspace/didDeleteFiles",e.type=new n.ProtocolNotificationType(e.method)}(t.DidDeleteFilesNotification||(t.DidDeleteFilesNotification={})),function(e){e.method="workspace/willDeleteFiles",e.type=new n.ProtocolRequestType(e.method)}(t.WillDeleteFilesRequest||(t.WillDeleteFilesRequest={}))},88474:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FoldingRangeRequest=t.FoldingRangeKind=void 0;const n=r(222);!function(e){e.Comment="comment",e.Imports="imports",e.Region="region"}(t.FoldingRangeKind||(t.FoldingRangeKind={})),function(e){e.method="textDocument/foldingRange",e.type=new n.ProtocolRequestType(e.method)}(t.FoldingRangeRequest||(t.FoldingRangeRequest={}))},78640:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ImplementationRequest=void 0;const n=r(222);!function(e){e.method="textDocument/implementation",e.type=new n.ProtocolRequestType(e.method)}(t.ImplementationRequest||(t.ImplementationRequest={}))},96793:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DocumentLinkRequest=t.CodeLensRefreshRequest=t.CodeLensResolveRequest=t.CodeLensRequest=t.WorkspaceSymbolRequest=t.CodeActionResolveRequest=t.CodeActionRequest=t.DocumentSymbolRequest=t.DocumentHighlightRequest=t.ReferencesRequest=t.DefinitionRequest=t.SignatureHelpRequest=t.SignatureHelpTriggerKind=t.HoverRequest=t.CompletionResolveRequest=t.CompletionRequest=t.CompletionTriggerKind=t.PublishDiagnosticsNotification=t.WatchKind=t.FileChangeType=t.DidChangeWatchedFilesNotification=t.WillSaveTextDocumentWaitUntilRequest=t.WillSaveTextDocumentNotification=t.TextDocumentSaveReason=t.DidSaveTextDocumentNotification=t.DidCloseTextDocumentNotification=t.DidChangeTextDocumentNotification=t.TextDocumentContentChangeEvent=t.DidOpenTextDocumentNotification=t.TextDocumentSyncKind=t.TelemetryEventNotification=t.LogMessageNotification=t.ShowMessageRequest=t.ShowMessageNotification=t.MessageType=t.DidChangeConfigurationNotification=t.ExitNotification=t.ShutdownRequest=t.InitializedNotification=t.InitializeError=t.InitializeRequest=t.WorkDoneProgressOptions=t.TextDocumentRegistrationOptions=t.StaticRegistrationOptions=t.FailureHandlingKind=t.ResourceOperationKind=t.UnregistrationRequest=t.RegistrationRequest=t.DocumentSelector=t.DocumentFilter=void 0,t.MonikerRequest=t.MonikerKind=t.UniquenessLevel=t.WillDeleteFilesRequest=t.DidDeleteFilesNotification=t.WillRenameFilesRequest=t.DidRenameFilesNotification=t.WillCreateFilesRequest=t.DidCreateFilesNotification=t.FileOperationPatternKind=t.LinkedEditingRangeRequest=t.ShowDocumentRequest=t.SemanticTokensRegistrationType=t.SemanticTokensRefreshRequest=t.SemanticTokensRangeRequest=t.SemanticTokensDeltaRequest=t.SemanticTokensRequest=t.TokenFormat=t.SemanticTokens=t.SemanticTokenModifiers=t.SemanticTokenTypes=t.CallHierarchyPrepareRequest=t.CallHierarchyOutgoingCallsRequest=t.CallHierarchyIncomingCallsRequest=t.WorkDoneProgressCancelNotification=t.WorkDoneProgressCreateRequest=t.WorkDoneProgress=t.SelectionRangeRequest=t.DeclarationRequest=t.FoldingRangeRequest=t.ColorPresentationRequest=t.DocumentColorRequest=t.ConfigurationRequest=t.DidChangeWorkspaceFoldersNotification=t.WorkspaceFoldersRequest=t.TypeDefinitionRequest=t.ImplementationRequest=t.ApplyWorkspaceEditRequest=t.ExecuteCommandRequest=t.PrepareRenameRequest=t.RenameRequest=t.PrepareSupportDefaultBehavior=t.DocumentOnTypeFormattingRequest=t.DocumentRangeFormattingRequest=t.DocumentFormattingRequest=t.DocumentLinkResolveRequest=void 0;const n=r(41952),i=r(222),o=r(78640);Object.defineProperty(t,"ImplementationRequest",{enumerable:!0,get:function(){return o.ImplementationRequest}});const s=r(33102);Object.defineProperty(t,"TypeDefinitionRequest",{enumerable:!0,get:function(){return s.TypeDefinitionRequest}});const a=r(12222);Object.defineProperty(t,"WorkspaceFoldersRequest",{enumerable:!0,get:function(){return a.WorkspaceFoldersRequest}}),Object.defineProperty(t,"DidChangeWorkspaceFoldersNotification",{enumerable:!0,get:function(){return a.DidChangeWorkspaceFoldersNotification}});const l=r(49344);Object.defineProperty(t,"ConfigurationRequest",{enumerable:!0,get:function(){return l.ConfigurationRequest}});const c=r(3397);Object.defineProperty(t,"DocumentColorRequest",{enumerable:!0,get:function(){return c.DocumentColorRequest}}),Object.defineProperty(t,"ColorPresentationRequest",{enumerable:!0,get:function(){return c.ColorPresentationRequest}});const u=r(88474);Object.defineProperty(t,"FoldingRangeRequest",{enumerable:!0,get:function(){return u.FoldingRangeRequest}});const p=r(30433);Object.defineProperty(t,"DeclarationRequest",{enumerable:!0,get:function(){return p.DeclarationRequest}});const h=r(59924);Object.defineProperty(t,"SelectionRangeRequest",{enumerable:!0,get:function(){return h.SelectionRangeRequest}});const d=r(46700);Object.defineProperty(t,"WorkDoneProgress",{enumerable:!0,get:function(){return d.WorkDoneProgress}}),Object.defineProperty(t,"WorkDoneProgressCreateRequest",{enumerable:!0,get:function(){return d.WorkDoneProgressCreateRequest}}),Object.defineProperty(t,"WorkDoneProgressCancelNotification",{enumerable:!0,get:function(){return d.WorkDoneProgressCancelNotification}});const f=r(83204);Object.defineProperty(t,"CallHierarchyIncomingCallsRequest",{enumerable:!0,get:function(){return f.CallHierarchyIncomingCallsRequest}}),Object.defineProperty(t,"CallHierarchyOutgoingCallsRequest",{enumerable:!0,get:function(){return f.CallHierarchyOutgoingCallsRequest}}),Object.defineProperty(t,"CallHierarchyPrepareRequest",{enumerable:!0,get:function(){return f.CallHierarchyPrepareRequest}});const g=r(58992);Object.defineProperty(t,"SemanticTokenTypes",{enumerable:!0,get:function(){return g.SemanticTokenTypes}}),Object.defineProperty(t,"SemanticTokenModifiers",{enumerable:!0,get:function(){return g.SemanticTokenModifiers}}),Object.defineProperty(t,"SemanticTokens",{enumerable:!0,get:function(){return g.SemanticTokens}}),Object.defineProperty(t,"TokenFormat",{enumerable:!0,get:function(){return g.TokenFormat}}),Object.defineProperty(t,"SemanticTokensRequest",{enumerable:!0,get:function(){return g.SemanticTokensRequest}}),Object.defineProperty(t,"SemanticTokensDeltaRequest",{enumerable:!0,get:function(){return g.SemanticTokensDeltaRequest}}),Object.defineProperty(t,"SemanticTokensRangeRequest",{enumerable:!0,get:function(){return g.SemanticTokensRangeRequest}}),Object.defineProperty(t,"SemanticTokensRefreshRequest",{enumerable:!0,get:function(){return g.SemanticTokensRefreshRequest}}),Object.defineProperty(t,"SemanticTokensRegistrationType",{enumerable:!0,get:function(){return g.SemanticTokensRegistrationType}});const m=r(37188);Object.defineProperty(t,"ShowDocumentRequest",{enumerable:!0,get:function(){return m.ShowDocumentRequest}});const v=r(73282);Object.defineProperty(t,"LinkedEditingRangeRequest",{enumerable:!0,get:function(){return v.LinkedEditingRangeRequest}});const y=r(76191);Object.defineProperty(t,"FileOperationPatternKind",{enumerable:!0,get:function(){return y.FileOperationPatternKind}}),Object.defineProperty(t,"DidCreateFilesNotification",{enumerable:!0,get:function(){return y.DidCreateFilesNotification}}),Object.defineProperty(t,"WillCreateFilesRequest",{enumerable:!0,get:function(){return y.WillCreateFilesRequest}}),Object.defineProperty(t,"DidRenameFilesNotification",{enumerable:!0,get:function(){return y.DidRenameFilesNotification}}),Object.defineProperty(t,"WillRenameFilesRequest",{enumerable:!0,get:function(){return y.WillRenameFilesRequest}}),Object.defineProperty(t,"DidDeleteFilesNotification",{enumerable:!0,get:function(){return y.DidDeleteFilesNotification}}),Object.defineProperty(t,"WillDeleteFilesRequest",{enumerable:!0,get:function(){return y.WillDeleteFilesRequest}});const b=r(1731);var w,_;Object.defineProperty(t,"UniquenessLevel",{enumerable:!0,get:function(){return b.UniquenessLevel}}),Object.defineProperty(t,"MonikerKind",{enumerable:!0,get:function(){return b.MonikerKind}}),Object.defineProperty(t,"MonikerRequest",{enumerable:!0,get:function(){return b.MonikerRequest}}),function(e){e.is=function(e){const t=e;return n.string(t.language)||n.string(t.scheme)||n.string(t.pattern)}}(w=t.DocumentFilter||(t.DocumentFilter={})),function(e){e.is=function(e){if(!Array.isArray(e))return!1;for(let t of e)if(!n.string(t)&&!w.is(t))return!1;return!0}}(_=t.DocumentSelector||(t.DocumentSelector={})),function(e){e.type=new i.ProtocolRequestType("client/registerCapability")}(t.RegistrationRequest||(t.RegistrationRequest={})),function(e){e.type=new i.ProtocolRequestType("client/unregisterCapability")}(t.UnregistrationRequest||(t.UnregistrationRequest={})),function(e){e.Create="create",e.Rename="rename",e.Delete="delete"}(t.ResourceOperationKind||(t.ResourceOperationKind={})),function(e){e.Abort="abort",e.Transactional="transactional",e.TextOnlyTransactional="textOnlyTransactional",e.Undo="undo"}(t.FailureHandlingKind||(t.FailureHandlingKind={})),function(e){e.hasId=function(e){const t=e;return t&&n.string(t.id)&&t.id.length>0}}(t.StaticRegistrationOptions||(t.StaticRegistrationOptions={})),function(e){e.is=function(e){const t=e;return t&&(null===t.documentSelector||_.is(t.documentSelector))}}(t.TextDocumentRegistrationOptions||(t.TextDocumentRegistrationOptions={})),function(e){e.is=function(e){const t=e;return n.objectLiteral(t)&&(void 0===t.workDoneProgress||n.boolean(t.workDoneProgress))},e.hasWorkDoneProgress=function(e){const t=e;return t&&n.boolean(t.workDoneProgress)}}(t.WorkDoneProgressOptions||(t.WorkDoneProgressOptions={})),function(e){e.type=new i.ProtocolRequestType("initialize")}(t.InitializeRequest||(t.InitializeRequest={})),function(e){e.unknownProtocolVersion=1}(t.InitializeError||(t.InitializeError={})),function(e){e.type=new i.ProtocolNotificationType("initialized")}(t.InitializedNotification||(t.InitializedNotification={})),function(e){e.type=new i.ProtocolRequestType0("shutdown")}(t.ShutdownRequest||(t.ShutdownRequest={})),function(e){e.type=new i.ProtocolNotificationType0("exit")}(t.ExitNotification||(t.ExitNotification={})),function(e){e.type=new i.ProtocolNotificationType("workspace/didChangeConfiguration")}(t.DidChangeConfigurationNotification||(t.DidChangeConfigurationNotification={})),function(e){e.Error=1,e.Warning=2,e.Info=3,e.Log=4}(t.MessageType||(t.MessageType={})),function(e){e.type=new i.ProtocolNotificationType("window/showMessage")}(t.ShowMessageNotification||(t.ShowMessageNotification={})),function(e){e.type=new i.ProtocolRequestType("window/showMessageRequest")}(t.ShowMessageRequest||(t.ShowMessageRequest={})),function(e){e.type=new i.ProtocolNotificationType("window/logMessage")}(t.LogMessageNotification||(t.LogMessageNotification={})),function(e){e.type=new i.ProtocolNotificationType("telemetry/event")}(t.TelemetryEventNotification||(t.TelemetryEventNotification={})),function(e){e.None=0,e.Full=1,e.Incremental=2}(t.TextDocumentSyncKind||(t.TextDocumentSyncKind={})),function(e){e.method="textDocument/didOpen",e.type=new i.ProtocolNotificationType(e.method)}(t.DidOpenTextDocumentNotification||(t.DidOpenTextDocumentNotification={})),function(e){e.isIncremental=function(e){let t=e;return null!=t&&"string"==typeof t.text&&void 0!==t.range&&(void 0===t.rangeLength||"number"==typeof t.rangeLength)},e.isFull=function(e){let t=e;return null!=t&&"string"==typeof t.text&&void 0===t.range&&void 0===t.rangeLength}}(t.TextDocumentContentChangeEvent||(t.TextDocumentContentChangeEvent={})),function(e){e.method="textDocument/didChange",e.type=new i.ProtocolNotificationType(e.method)}(t.DidChangeTextDocumentNotification||(t.DidChangeTextDocumentNotification={})),function(e){e.method="textDocument/didClose",e.type=new i.ProtocolNotificationType(e.method)}(t.DidCloseTextDocumentNotification||(t.DidCloseTextDocumentNotification={})),function(e){e.method="textDocument/didSave",e.type=new i.ProtocolNotificationType(e.method)}(t.DidSaveTextDocumentNotification||(t.DidSaveTextDocumentNotification={})),function(e){e.Manual=1,e.AfterDelay=2,e.FocusOut=3}(t.TextDocumentSaveReason||(t.TextDocumentSaveReason={})),function(e){e.method="textDocument/willSave",e.type=new i.ProtocolNotificationType(e.method)}(t.WillSaveTextDocumentNotification||(t.WillSaveTextDocumentNotification={})),function(e){e.method="textDocument/willSaveWaitUntil",e.type=new i.ProtocolRequestType(e.method)}(t.WillSaveTextDocumentWaitUntilRequest||(t.WillSaveTextDocumentWaitUntilRequest={})),function(e){e.type=new i.ProtocolNotificationType("workspace/didChangeWatchedFiles")}(t.DidChangeWatchedFilesNotification||(t.DidChangeWatchedFilesNotification={})),function(e){e.Created=1,e.Changed=2,e.Deleted=3}(t.FileChangeType||(t.FileChangeType={})),function(e){e.Create=1,e.Change=2,e.Delete=4}(t.WatchKind||(t.WatchKind={})),function(e){e.type=new i.ProtocolNotificationType("textDocument/publishDiagnostics")}(t.PublishDiagnosticsNotification||(t.PublishDiagnosticsNotification={})),function(e){e.Invoked=1,e.TriggerCharacter=2,e.TriggerForIncompleteCompletions=3}(t.CompletionTriggerKind||(t.CompletionTriggerKind={})),function(e){e.method="textDocument/completion",e.type=new i.ProtocolRequestType(e.method)}(t.CompletionRequest||(t.CompletionRequest={})),function(e){e.method="completionItem/resolve",e.type=new i.ProtocolRequestType(e.method)}(t.CompletionResolveRequest||(t.CompletionResolveRequest={})),function(e){e.method="textDocument/hover",e.type=new i.ProtocolRequestType(e.method)}(t.HoverRequest||(t.HoverRequest={})),function(e){e.Invoked=1,e.TriggerCharacter=2,e.ContentChange=3}(t.SignatureHelpTriggerKind||(t.SignatureHelpTriggerKind={})),function(e){e.method="textDocument/signatureHelp",e.type=new i.ProtocolRequestType(e.method)}(t.SignatureHelpRequest||(t.SignatureHelpRequest={})),function(e){e.method="textDocument/definition",e.type=new i.ProtocolRequestType(e.method)}(t.DefinitionRequest||(t.DefinitionRequest={})),function(e){e.method="textDocument/references",e.type=new i.ProtocolRequestType(e.method)}(t.ReferencesRequest||(t.ReferencesRequest={})),function(e){e.method="textDocument/documentHighlight",e.type=new i.ProtocolRequestType(e.method)}(t.DocumentHighlightRequest||(t.DocumentHighlightRequest={})),function(e){e.method="textDocument/documentSymbol",e.type=new i.ProtocolRequestType(e.method)}(t.DocumentSymbolRequest||(t.DocumentSymbolRequest={})),function(e){e.method="textDocument/codeAction",e.type=new i.ProtocolRequestType(e.method)}(t.CodeActionRequest||(t.CodeActionRequest={})),function(e){e.method="codeAction/resolve",e.type=new i.ProtocolRequestType(e.method)}(t.CodeActionResolveRequest||(t.CodeActionResolveRequest={})),function(e){e.method="workspace/symbol",e.type=new i.ProtocolRequestType(e.method)}(t.WorkspaceSymbolRequest||(t.WorkspaceSymbolRequest={})),function(e){e.method="textDocument/codeLens",e.type=new i.ProtocolRequestType(e.method)}(t.CodeLensRequest||(t.CodeLensRequest={})),function(e){e.method="codeLens/resolve",e.type=new i.ProtocolRequestType(e.method)}(t.CodeLensResolveRequest||(t.CodeLensResolveRequest={})),function(e){e.method="workspace/codeLens/refresh",e.type=new i.ProtocolRequestType0(e.method)}(t.CodeLensRefreshRequest||(t.CodeLensRefreshRequest={})),function(e){e.method="textDocument/documentLink",e.type=new i.ProtocolRequestType(e.method)}(t.DocumentLinkRequest||(t.DocumentLinkRequest={})),function(e){e.method="documentLink/resolve",e.type=new i.ProtocolRequestType(e.method)}(t.DocumentLinkResolveRequest||(t.DocumentLinkResolveRequest={})),function(e){e.method="textDocument/formatting",e.type=new i.ProtocolRequestType(e.method)}(t.DocumentFormattingRequest||(t.DocumentFormattingRequest={})),function(e){e.method="textDocument/rangeFormatting",e.type=new i.ProtocolRequestType(e.method)}(t.DocumentRangeFormattingRequest||(t.DocumentRangeFormattingRequest={})),function(e){e.method="textDocument/onTypeFormatting",e.type=new i.ProtocolRequestType(e.method)}(t.DocumentOnTypeFormattingRequest||(t.DocumentOnTypeFormattingRequest={})),function(e){e.Identifier=1}(t.PrepareSupportDefaultBehavior||(t.PrepareSupportDefaultBehavior={})),function(e){e.method="textDocument/rename",e.type=new i.ProtocolRequestType(e.method)}(t.RenameRequest||(t.RenameRequest={})),function(e){e.method="textDocument/prepareRename",e.type=new i.ProtocolRequestType(e.method)}(t.PrepareRenameRequest||(t.PrepareRenameRequest={})),function(e){e.type=new i.ProtocolRequestType("workspace/executeCommand")}(t.ExecuteCommandRequest||(t.ExecuteCommandRequest={})),function(e){e.type=new i.ProtocolRequestType("workspace/applyEdit")}(t.ApplyWorkspaceEditRequest||(t.ApplyWorkspaceEditRequest={}))},73282:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LinkedEditingRangeRequest=void 0;const n=r(222);!function(e){e.method="textDocument/linkedEditingRange",e.type=new n.ProtocolRequestType(e.method)}(t.LinkedEditingRangeRequest||(t.LinkedEditingRangeRequest={}))},1731:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MonikerRequest=t.MonikerKind=t.UniquenessLevel=void 0;const n=r(222);!function(e){e.document="document",e.project="project",e.group="group",e.scheme="scheme",e.global="global"}(t.UniquenessLevel||(t.UniquenessLevel={})),function(e){e.import="import",e.export="export",e.local="local"}(t.MonikerKind||(t.MonikerKind={})),function(e){e.method="textDocument/moniker",e.type=new n.ProtocolRequestType(e.method)}(t.MonikerRequest||(t.MonikerRequest={}))},46700:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WorkDoneProgressCancelNotification=t.WorkDoneProgressCreateRequest=t.WorkDoneProgress=void 0;const n=r(12814),i=r(222);!function(e){e.type=new n.ProgressType,e.is=function(t){return t===e.type}}(t.WorkDoneProgress||(t.WorkDoneProgress={})),function(e){e.type=new i.ProtocolRequestType("window/workDoneProgress/create")}(t.WorkDoneProgressCreateRequest||(t.WorkDoneProgressCreateRequest={})),function(e){e.type=new i.ProtocolNotificationType("window/workDoneProgress/cancel")}(t.WorkDoneProgressCancelNotification||(t.WorkDoneProgressCancelNotification={}))},59924:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SelectionRangeRequest=void 0;const n=r(222);!function(e){e.method="textDocument/selectionRange",e.type=new n.ProtocolRequestType(e.method)}(t.SelectionRangeRequest||(t.SelectionRangeRequest={}))},58992:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SemanticTokensRefreshRequest=t.SemanticTokensRangeRequest=t.SemanticTokensDeltaRequest=t.SemanticTokensRequest=t.SemanticTokensRegistrationType=t.TokenFormat=t.SemanticTokens=t.SemanticTokenModifiers=t.SemanticTokenTypes=void 0;const n=r(222);!function(e){e.namespace="namespace",e.type="type",e.class="class",e.enum="enum",e.interface="interface",e.struct="struct",e.typeParameter="typeParameter",e.parameter="parameter",e.variable="variable",e.property="property",e.enumMember="enumMember",e.event="event",e.function="function",e.method="method",e.macro="macro",e.keyword="keyword",e.modifier="modifier",e.comment="comment",e.string="string",e.number="number",e.regexp="regexp",e.operator="operator"}(t.SemanticTokenTypes||(t.SemanticTokenTypes={})),function(e){e.declaration="declaration",e.definition="definition",e.readonly="readonly",e.static="static",e.deprecated="deprecated",e.abstract="abstract",e.async="async",e.modification="modification",e.documentation="documentation",e.defaultLibrary="defaultLibrary"}(t.SemanticTokenModifiers||(t.SemanticTokenModifiers={})),function(e){e.is=function(e){const t=e;return void 0!==t&&(void 0===t.resultId||"string"==typeof t.resultId)&&Array.isArray(t.data)&&(0===t.data.length||"number"==typeof t.data[0])}}(t.SemanticTokens||(t.SemanticTokens={})),function(e){e.Relative="relative"}(t.TokenFormat||(t.TokenFormat={})),function(e){e.method="textDocument/semanticTokens",e.type=new n.RegistrationType(e.method)}(t.SemanticTokensRegistrationType||(t.SemanticTokensRegistrationType={})),function(e){e.method="textDocument/semanticTokens/full",e.type=new n.ProtocolRequestType(e.method)}(t.SemanticTokensRequest||(t.SemanticTokensRequest={})),function(e){e.method="textDocument/semanticTokens/full/delta",e.type=new n.ProtocolRequestType(e.method)}(t.SemanticTokensDeltaRequest||(t.SemanticTokensDeltaRequest={})),function(e){e.method="textDocument/semanticTokens/range",e.type=new n.ProtocolRequestType(e.method)}(t.SemanticTokensRangeRequest||(t.SemanticTokensRangeRequest={})),function(e){e.method="workspace/semanticTokens/refresh",e.type=new n.ProtocolRequestType0(e.method)}(t.SemanticTokensRefreshRequest||(t.SemanticTokensRefreshRequest={}))},37188:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ShowDocumentRequest=void 0;const n=r(222);!function(e){e.method="window/showDocument",e.type=new n.ProtocolRequestType(e.method)}(t.ShowDocumentRequest||(t.ShowDocumentRequest={}))},33102:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TypeDefinitionRequest=void 0;const n=r(222);!function(e){e.method="textDocument/typeDefinition",e.type=new n.ProtocolRequestType(e.method)}(t.TypeDefinitionRequest||(t.TypeDefinitionRequest={}))},12222:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DidChangeWorkspaceFoldersNotification=t.WorkspaceFoldersRequest=void 0;const n=r(222);!function(e){e.type=new n.ProtocolRequestType0("workspace/workspaceFolders")}(t.WorkspaceFoldersRequest||(t.WorkspaceFoldersRequest={})),function(e){e.type=new n.ProtocolNotificationType("workspace/didChangeWorkspaceFolders")}(t.DidChangeWorkspaceFoldersNotification||(t.DidChangeWorkspaceFoldersNotification={}))},41952:(e,t)=>{"use strict";function r(e){return"string"==typeof e||e instanceof String}function n(e){return Array.isArray(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.objectLiteral=t.typedArray=t.stringArray=t.array=t.func=t.error=t.number=t.string=t.boolean=void 0,t.boolean=function(e){return!0===e||!1===e},t.string=r,t.number=function(e){return"number"==typeof e||e instanceof Number},t.error=function(e){return e instanceof Error},t.func=function(e){return"function"==typeof e},t.array=n,t.stringArray=function(e){return n(e)&&e.every(e=>r(e))},t.typedArray=function(e,t){return Array.isArray(e)&&e.every(t)},t.objectLiteral=function(e){return null!==e&&"object"==typeof e}},16405:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),t.createProtocolConnection=void 0;const o=r(13698);i(r(13698),t),i(r(48237),t),t.createProtocolConnection=function(e,t,r,n){return o.createMessageConnection(e,t,r,n)}},20997:(e,t,r)=>{"use strict";e.exports=r(16405)},26937:(e,t)=>{!function(t){if("object"==typeof e.exports){var r=t(require);void 0!==r&&(e.exports=r)}else"function"==typeof define&&define.amd&&define(["require","exports"],t)}((function(){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var e=function(){function e(e,t,r,n){this._uri=e,this._languageId=t,this._version=r,this._content=n,this._lineOffsets=void 0}return Object.defineProperty(e.prototype,"uri",{get:function(){return this._uri},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"languageId",{get:function(){return this._languageId},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"version",{get:function(){return this._version},enumerable:!0,configurable:!0}),e.prototype.getText=function(e){if(e){var t=this.offsetAt(e.start),r=this.offsetAt(e.end);return this._content.substring(t,r)}return this._content},e.prototype.update=function(t,i){for(var o=0,s=t;oe?n=i:r=i+1}var o=r-1;return{line:o,character:e-t[o]}},e.prototype.offsetAt=function(e){var t=this.getLineOffsets();if(e.line>=t.length)return this._content.length;if(e.line<0)return 0;var r=t[e.line],n=e.line+1r.line||t.line===r.line&&t.character>r.character?{start:r,end:t}:e}function i(e){var t=n(e.range);return t!==e.range?{newText:e.newText,range:t}:e}!function(t){t.create=function(t,r,n,i){return new e(t,r,n,i)},t.update=function(t,r,n){if(t instanceof e)return t.update(r,n),t;throw new Error("TextDocument.update: document must be created by TextDocument.create")},t.applyEdits=function(e,t){for(var r=e.getText(),n=0,o=[],s=0,a=function e(t,r){if(t.length<=1)return t;var n=t.length/2|0,i=t.slice(0,n),o=t.slice(n);e(i,r),e(o,r);var s=0,a=0,l=0;for(;sn&&o.push(r.substring(n,c)),l.newText.length&&o.push(l.newText),n=e.offsetAt(l.range.end)}return o.push(r.substr(n)),o.join("")}}(t.TextDocument||(t.TextDocument={}))}))},62260:(e,t)=>{!function(t){if("object"==typeof e.exports){var r=t(require);void 0!==r&&(e.exports=r)}else"function"==typeof define&&define.amd&&define(["require","exports"],t)}((function(){"use strict";var e,r,n,i,o,s,a,l,c,u,p,h,d,f,g,m,v;Object.defineProperty(t,"__esModule",{value:!0}),t.TextDocument=t.EOL=t.SelectionRange=t.DocumentLink=t.FormattingOptions=t.CodeLens=t.CodeAction=t.CodeActionContext=t.CodeActionKind=t.DocumentSymbol=t.SymbolInformation=t.SymbolTag=t.SymbolKind=t.DocumentHighlight=t.DocumentHighlightKind=t.SignatureInformation=t.ParameterInformation=t.Hover=t.MarkedString=t.CompletionList=t.CompletionItem=t.InsertTextMode=t.InsertReplaceEdit=t.CompletionItemTag=t.InsertTextFormat=t.CompletionItemKind=t.MarkupContent=t.MarkupKind=t.TextDocumentItem=t.OptionalVersionedTextDocumentIdentifier=t.VersionedTextDocumentIdentifier=t.TextDocumentIdentifier=t.WorkspaceChange=t.WorkspaceEdit=t.DeleteFile=t.RenameFile=t.CreateFile=t.TextDocumentEdit=t.AnnotatedTextEdit=t.ChangeAnnotationIdentifier=t.ChangeAnnotation=t.TextEdit=t.Command=t.Diagnostic=t.CodeDescription=t.DiagnosticTag=t.DiagnosticSeverity=t.DiagnosticRelatedInformation=t.FoldingRange=t.FoldingRangeKind=t.ColorPresentation=t.ColorInformation=t.Color=t.LocationLink=t.Location=t.Range=t.Position=t.uinteger=t.integer=void 0,function(e){e.MIN_VALUE=-2147483648,e.MAX_VALUE=2147483647}(t.integer||(t.integer={})),function(e){e.MIN_VALUE=0,e.MAX_VALUE=2147483647}(e=t.uinteger||(t.uinteger={})),function(t){t.create=function(t,r){return t===Number.MAX_VALUE&&(t=e.MAX_VALUE),r===Number.MAX_VALUE&&(r=e.MAX_VALUE),{line:t,character:r}},t.is=function(e){var t=e;return E.objectLiteral(t)&&E.uinteger(t.line)&&E.uinteger(t.character)}}(r=t.Position||(t.Position={})),function(e){e.create=function(e,t,n,i){if(E.uinteger(e)&&E.uinteger(t)&&E.uinteger(n)&&E.uinteger(i))return{start:r.create(e,t),end:r.create(n,i)};if(r.is(e)&&r.is(t))return{start:e,end:t};throw new Error("Range#create called with invalid arguments["+e+", "+t+", "+n+", "+i+"]")},e.is=function(e){var t=e;return E.objectLiteral(t)&&r.is(t.start)&&r.is(t.end)}}(n=t.Range||(t.Range={})),function(e){e.create=function(e,t){return{uri:e,range:t}},e.is=function(e){var t=e;return E.defined(t)&&n.is(t.range)&&(E.string(t.uri)||E.undefined(t.uri))}}(i=t.Location||(t.Location={})),function(e){e.create=function(e,t,r,n){return{targetUri:e,targetRange:t,targetSelectionRange:r,originSelectionRange:n}},e.is=function(e){var t=e;return E.defined(t)&&n.is(t.targetRange)&&E.string(t.targetUri)&&(n.is(t.targetSelectionRange)||E.undefined(t.targetSelectionRange))&&(n.is(t.originSelectionRange)||E.undefined(t.originSelectionRange))}}(t.LocationLink||(t.LocationLink={})),function(e){e.create=function(e,t,r,n){return{red:e,green:t,blue:r,alpha:n}},e.is=function(e){var t=e;return E.numberRange(t.red,0,1)&&E.numberRange(t.green,0,1)&&E.numberRange(t.blue,0,1)&&E.numberRange(t.alpha,0,1)}}(o=t.Color||(t.Color={})),function(e){e.create=function(e,t){return{range:e,color:t}},e.is=function(e){var t=e;return n.is(t.range)&&o.is(t.color)}}(t.ColorInformation||(t.ColorInformation={})),function(e){e.create=function(e,t,r){return{label:e,textEdit:t,additionalTextEdits:r}},e.is=function(e){var t=e;return E.string(t.label)&&(E.undefined(t.textEdit)||c.is(t))&&(E.undefined(t.additionalTextEdits)||E.typedArray(t.additionalTextEdits,c.is))}}(t.ColorPresentation||(t.ColorPresentation={})),function(e){e.Comment="comment",e.Imports="imports",e.Region="region"}(t.FoldingRangeKind||(t.FoldingRangeKind={})),function(e){e.create=function(e,t,r,n,i){var o={startLine:e,endLine:t};return E.defined(r)&&(o.startCharacter=r),E.defined(n)&&(o.endCharacter=n),E.defined(i)&&(o.kind=i),o},e.is=function(e){var t=e;return E.uinteger(t.startLine)&&E.uinteger(t.startLine)&&(E.undefined(t.startCharacter)||E.uinteger(t.startCharacter))&&(E.undefined(t.endCharacter)||E.uinteger(t.endCharacter))&&(E.undefined(t.kind)||E.string(t.kind))}}(t.FoldingRange||(t.FoldingRange={})),function(e){e.create=function(e,t){return{location:e,message:t}},e.is=function(e){var t=e;return E.defined(t)&&i.is(t.location)&&E.string(t.message)}}(s=t.DiagnosticRelatedInformation||(t.DiagnosticRelatedInformation={})),function(e){e.Error=1,e.Warning=2,e.Information=3,e.Hint=4}(t.DiagnosticSeverity||(t.DiagnosticSeverity={})),function(e){e.Unnecessary=1,e.Deprecated=2}(t.DiagnosticTag||(t.DiagnosticTag={})),function(e){e.is=function(e){var t=e;return null!=t&&E.string(t.href)}}(t.CodeDescription||(t.CodeDescription={})),function(e){e.create=function(e,t,r,n,i,o){var s={range:e,message:t};return E.defined(r)&&(s.severity=r),E.defined(n)&&(s.code=n),E.defined(i)&&(s.source=i),E.defined(o)&&(s.relatedInformation=o),s},e.is=function(e){var t,r=e;return E.defined(r)&&n.is(r.range)&&E.string(r.message)&&(E.number(r.severity)||E.undefined(r.severity))&&(E.integer(r.code)||E.string(r.code)||E.undefined(r.code))&&(E.undefined(r.codeDescription)||E.string(null===(t=r.codeDescription)||void 0===t?void 0:t.href))&&(E.string(r.source)||E.undefined(r.source))&&(E.undefined(r.relatedInformation)||E.typedArray(r.relatedInformation,s.is))}}(a=t.Diagnostic||(t.Diagnostic={})),function(e){e.create=function(e,t){for(var r=[],n=2;n0&&(i.arguments=r),i},e.is=function(e){var t=e;return E.defined(t)&&E.string(t.title)&&E.string(t.command)}}(l=t.Command||(t.Command={})),function(e){e.replace=function(e,t){return{range:e,newText:t}},e.insert=function(e,t){return{range:{start:e,end:e},newText:t}},e.del=function(e){return{range:e,newText:""}},e.is=function(e){var t=e;return E.objectLiteral(t)&&E.string(t.newText)&&n.is(t.range)}}(c=t.TextEdit||(t.TextEdit={})),function(e){e.create=function(e,t,r){var n={label:e};return void 0!==t&&(n.needsConfirmation=t),void 0!==r&&(n.description=r),n},e.is=function(e){var t=e;return void 0!==t&&E.objectLiteral(t)&&E.string(t.label)&&(E.boolean(t.needsConfirmation)||void 0===t.needsConfirmation)&&(E.string(t.description)||void 0===t.description)}}(u=t.ChangeAnnotation||(t.ChangeAnnotation={})),function(e){e.is=function(e){return"string"==typeof e}}(p=t.ChangeAnnotationIdentifier||(t.ChangeAnnotationIdentifier={})),function(e){e.replace=function(e,t,r){return{range:e,newText:t,annotationId:r}},e.insert=function(e,t,r){return{range:{start:e,end:e},newText:t,annotationId:r}},e.del=function(e,t){return{range:e,newText:"",annotationId:t}},e.is=function(e){var t=e;return c.is(t)&&(u.is(t.annotationId)||p.is(t.annotationId))}}(h=t.AnnotatedTextEdit||(t.AnnotatedTextEdit={})),function(e){e.create=function(e,t){return{textDocument:e,edits:t}},e.is=function(e){var t=e;return E.defined(t)&&y.is(t.textDocument)&&Array.isArray(t.edits)}}(d=t.TextDocumentEdit||(t.TextDocumentEdit={})),function(e){e.create=function(e,t,r){var n={kind:"create",uri:e};return void 0===t||void 0===t.overwrite&&void 0===t.ignoreIfExists||(n.options=t),void 0!==r&&(n.annotationId=r),n},e.is=function(e){var t=e;return t&&"create"===t.kind&&E.string(t.uri)&&(void 0===t.options||(void 0===t.options.overwrite||E.boolean(t.options.overwrite))&&(void 0===t.options.ignoreIfExists||E.boolean(t.options.ignoreIfExists)))&&(void 0===t.annotationId||p.is(t.annotationId))}}(f=t.CreateFile||(t.CreateFile={})),function(e){e.create=function(e,t,r,n){var i={kind:"rename",oldUri:e,newUri:t};return void 0===r||void 0===r.overwrite&&void 0===r.ignoreIfExists||(i.options=r),void 0!==n&&(i.annotationId=n),i},e.is=function(e){var t=e;return t&&"rename"===t.kind&&E.string(t.oldUri)&&E.string(t.newUri)&&(void 0===t.options||(void 0===t.options.overwrite||E.boolean(t.options.overwrite))&&(void 0===t.options.ignoreIfExists||E.boolean(t.options.ignoreIfExists)))&&(void 0===t.annotationId||p.is(t.annotationId))}}(g=t.RenameFile||(t.RenameFile={})),function(e){e.create=function(e,t,r){var n={kind:"delete",uri:e};return void 0===t||void 0===t.recursive&&void 0===t.ignoreIfNotExists||(n.options=t),void 0!==r&&(n.annotationId=r),n},e.is=function(e){var t=e;return t&&"delete"===t.kind&&E.string(t.uri)&&(void 0===t.options||(void 0===t.options.recursive||E.boolean(t.options.recursive))&&(void 0===t.options.ignoreIfNotExists||E.boolean(t.options.ignoreIfNotExists)))&&(void 0===t.annotationId||p.is(t.annotationId))}}(m=t.DeleteFile||(t.DeleteFile={})),function(e){e.is=function(e){var t=e;return t&&(void 0!==t.changes||void 0!==t.documentChanges)&&(void 0===t.documentChanges||t.documentChanges.every((function(e){return E.string(e.kind)?f.is(e)||g.is(e)||m.is(e):d.is(e)})))}}(v=t.WorkspaceEdit||(t.WorkspaceEdit={}));var y,b,w,_,x=function(){function e(e,t){this.edits=e,this.changeAnnotations=t}return e.prototype.insert=function(e,t,r){var n,i;if(void 0===r?n=c.insert(e,t):p.is(r)?(i=r,n=h.insert(e,t,r)):(this.assertChangeAnnotations(this.changeAnnotations),i=this.changeAnnotations.manage(r),n=h.insert(e,t,i)),this.edits.push(n),void 0!==i)return i},e.prototype.replace=function(e,t,r){var n,i;if(void 0===r?n=c.replace(e,t):p.is(r)?(i=r,n=h.replace(e,t,r)):(this.assertChangeAnnotations(this.changeAnnotations),i=this.changeAnnotations.manage(r),n=h.replace(e,t,i)),this.edits.push(n),void 0!==i)return i},e.prototype.delete=function(e,t){var r,n;if(void 0===t?r=c.del(e):p.is(t)?(n=t,r=h.del(e,t)):(this.assertChangeAnnotations(this.changeAnnotations),n=this.changeAnnotations.manage(t),r=h.del(e,n)),this.edits.push(r),void 0!==n)return n},e.prototype.add=function(e){this.edits.push(e)},e.prototype.all=function(){return this.edits},e.prototype.clear=function(){this.edits.splice(0,this.edits.length)},e.prototype.assertChangeAnnotations=function(e){if(void 0===e)throw new Error("Text edit change is not configured to manage change annotations.")},e}(),k=function(){function e(e){this._annotations=void 0===e?Object.create(null):e,this._counter=0,this._size=0}return e.prototype.all=function(){return this._annotations},Object.defineProperty(e.prototype,"size",{get:function(){return this._size},enumerable:!1,configurable:!0}),e.prototype.manage=function(e,t){var r;if(p.is(e)?r=e:(r=this.nextId(),t=e),void 0!==this._annotations[r])throw new Error("Id "+r+" is already in use.");if(void 0===t)throw new Error("No annotation provided for id "+r);return this._annotations[r]=t,this._size++,r},e.prototype.nextId=function(){return this._counter++,this._counter.toString()},e}(),S=function(){function e(e){var t=this;this._textEditChanges=Object.create(null),void 0!==e?(this._workspaceEdit=e,e.documentChanges?(this._changeAnnotations=new k(e.changeAnnotations),e.changeAnnotations=this._changeAnnotations.all(),e.documentChanges.forEach((function(e){if(d.is(e)){var r=new x(e.edits,t._changeAnnotations);t._textEditChanges[e.textDocument.uri]=r}}))):e.changes&&Object.keys(e.changes).forEach((function(r){var n=new x(e.changes[r]);t._textEditChanges[r]=n}))):this._workspaceEdit={}}return Object.defineProperty(e.prototype,"edit",{get:function(){return this.initDocumentChanges(),void 0!==this._changeAnnotations&&(0===this._changeAnnotations.size?this._workspaceEdit.changeAnnotations=void 0:this._workspaceEdit.changeAnnotations=this._changeAnnotations.all()),this._workspaceEdit},enumerable:!1,configurable:!0}),e.prototype.getTextEditChange=function(e){if(y.is(e)){if(this.initDocumentChanges(),void 0===this._workspaceEdit.documentChanges)throw new Error("Workspace edit is not configured for document changes.");var t={uri:e.uri,version:e.version};if(!(n=this._textEditChanges[t.uri])){var r={textDocument:t,edits:i=[]};this._workspaceEdit.documentChanges.push(r),n=new x(i,this._changeAnnotations),this._textEditChanges[t.uri]=n}return n}if(this.initChanges(),void 0===this._workspaceEdit.changes)throw new Error("Workspace edit is not configured for normal text edit changes.");var n;if(!(n=this._textEditChanges[e])){var i=[];this._workspaceEdit.changes[e]=i,n=new x(i),this._textEditChanges[e]=n}return n},e.prototype.initDocumentChanges=function(){void 0===this._workspaceEdit.documentChanges&&void 0===this._workspaceEdit.changes&&(this._changeAnnotations=new k,this._workspaceEdit.documentChanges=[],this._workspaceEdit.changeAnnotations=this._changeAnnotations.all())},e.prototype.initChanges=function(){void 0===this._workspaceEdit.documentChanges&&void 0===this._workspaceEdit.changes&&(this._workspaceEdit.changes=Object.create(null))},e.prototype.createFile=function(e,t,r){if(this.initDocumentChanges(),void 0===this._workspaceEdit.documentChanges)throw new Error("Workspace edit is not configured for document changes.");var n,i,o;if(u.is(t)||p.is(t)?n=t:r=t,void 0===n?i=f.create(e,r):(o=p.is(n)?n:this._changeAnnotations.manage(n),i=f.create(e,r,o)),this._workspaceEdit.documentChanges.push(i),void 0!==o)return o},e.prototype.renameFile=function(e,t,r,n){if(this.initDocumentChanges(),void 0===this._workspaceEdit.documentChanges)throw new Error("Workspace edit is not configured for document changes.");var i,o,s;if(u.is(r)||p.is(r)?i=r:n=r,void 0===i?o=g.create(e,t,n):(s=p.is(i)?i:this._changeAnnotations.manage(i),o=g.create(e,t,n,s)),this._workspaceEdit.documentChanges.push(o),void 0!==s)return s},e.prototype.deleteFile=function(e,t,r){if(this.initDocumentChanges(),void 0===this._workspaceEdit.documentChanges)throw new Error("Workspace edit is not configured for document changes.");var n,i,o;if(u.is(t)||p.is(t)?n=t:r=t,void 0===n?i=m.create(e,r):(o=p.is(n)?n:this._changeAnnotations.manage(n),i=m.create(e,r,o)),this._workspaceEdit.documentChanges.push(i),void 0!==o)return o},e}();t.WorkspaceChange=S,function(e){e.create=function(e){return{uri:e}},e.is=function(e){var t=e;return E.defined(t)&&E.string(t.uri)}}(t.TextDocumentIdentifier||(t.TextDocumentIdentifier={})),function(e){e.create=function(e,t){return{uri:e,version:t}},e.is=function(e){var t=e;return E.defined(t)&&E.string(t.uri)&&E.integer(t.version)}}(t.VersionedTextDocumentIdentifier||(t.VersionedTextDocumentIdentifier={})),function(e){e.create=function(e,t){return{uri:e,version:t}},e.is=function(e){var t=e;return E.defined(t)&&E.string(t.uri)&&(null===t.version||E.integer(t.version))}}(y=t.OptionalVersionedTextDocumentIdentifier||(t.OptionalVersionedTextDocumentIdentifier={})),function(e){e.create=function(e,t,r,n){return{uri:e,languageId:t,version:r,text:n}},e.is=function(e){var t=e;return E.defined(t)&&E.string(t.uri)&&E.string(t.languageId)&&E.integer(t.version)&&E.string(t.text)}}(t.TextDocumentItem||(t.TextDocumentItem={})),function(e){e.PlainText="plaintext",e.Markdown="markdown"}(b=t.MarkupKind||(t.MarkupKind={})),function(e){e.is=function(t){var r=t;return r===e.PlainText||r===e.Markdown}}(b=t.MarkupKind||(t.MarkupKind={})),function(e){e.is=function(e){var t=e;return E.objectLiteral(e)&&b.is(t.kind)&&E.string(t.value)}}(w=t.MarkupContent||(t.MarkupContent={})),function(e){e.Text=1,e.Method=2,e.Function=3,e.Constructor=4,e.Field=5,e.Variable=6,e.Class=7,e.Interface=8,e.Module=9,e.Property=10,e.Unit=11,e.Value=12,e.Enum=13,e.Keyword=14,e.Snippet=15,e.Color=16,e.File=17,e.Reference=18,e.Folder=19,e.EnumMember=20,e.Constant=21,e.Struct=22,e.Event=23,e.Operator=24,e.TypeParameter=25}(t.CompletionItemKind||(t.CompletionItemKind={})),function(e){e.PlainText=1,e.Snippet=2}(t.InsertTextFormat||(t.InsertTextFormat={})),function(e){e.Deprecated=1}(t.CompletionItemTag||(t.CompletionItemTag={})),function(e){e.create=function(e,t,r){return{newText:e,insert:t,replace:r}},e.is=function(e){var t=e;return t&&E.string(t.newText)&&n.is(t.insert)&&n.is(t.replace)}}(t.InsertReplaceEdit||(t.InsertReplaceEdit={})),function(e){e.asIs=1,e.adjustIndentation=2}(t.InsertTextMode||(t.InsertTextMode={})),function(e){e.create=function(e){return{label:e}}}(t.CompletionItem||(t.CompletionItem={})),function(e){e.create=function(e,t){return{items:e||[],isIncomplete:!!t}}}(t.CompletionList||(t.CompletionList={})),function(e){e.fromPlainText=function(e){return e.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")},e.is=function(e){var t=e;return E.string(t)||E.objectLiteral(t)&&E.string(t.language)&&E.string(t.value)}}(_=t.MarkedString||(t.MarkedString={})),function(e){e.is=function(e){var t=e;return!!t&&E.objectLiteral(t)&&(w.is(t.contents)||_.is(t.contents)||E.typedArray(t.contents,_.is))&&(void 0===e.range||n.is(e.range))}}(t.Hover||(t.Hover={})),function(e){e.create=function(e,t){return t?{label:e,documentation:t}:{label:e}}}(t.ParameterInformation||(t.ParameterInformation={})),function(e){e.create=function(e,t){for(var r=[],n=2;n=0;o--){var s=n[o],a=e.offsetAt(s.range.start),l=e.offsetAt(s.range.end);if(!(l<=i))throw new Error("Overlapping edit");r=r.substring(0,a)+s.newText+r.substring(l,r.length),i=a}return r}}(t.TextDocument||(t.TextDocument={}));var E,C=function(){function e(e,t,r,n){this._uri=e,this._languageId=t,this._version=r,this._content=n,this._lineOffsets=void 0}return Object.defineProperty(e.prototype,"uri",{get:function(){return this._uri},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"languageId",{get:function(){return this._languageId},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"version",{get:function(){return this._version},enumerable:!1,configurable:!0}),e.prototype.getText=function(e){if(e){var t=this.offsetAt(e.start),r=this.offsetAt(e.end);return this._content.substring(t,r)}return this._content},e.prototype.update=function(e,t){this._content=e.text,this._version=t,this._lineOffsets=void 0},e.prototype.getLineOffsets=function(){if(void 0===this._lineOffsets){for(var e=[],t=this._content,r=!0,n=0;n0&&e.push(t.length),this._lineOffsets=e}return this._lineOffsets},e.prototype.positionAt=function(e){e=Math.max(Math.min(e,this._content.length),0);var t=this.getLineOffsets(),n=0,i=t.length;if(0===i)return r.create(0,e);for(;ne?i=o:n=o+1}var s=n-1;return r.create(s,e-t[s])},e.prototype.offsetAt=function(e){var t=this.getLineOffsets();if(e.line>=t.length)return this._content.length;if(e.line<0)return 0;var r=t[e.line],n=e.line+1{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CallHierarchyFeature=void 0;const n=r(16405);t.CallHierarchyFeature=e=>class extends e{get callHierarchy(){return{onPrepare:e=>{this.connection.onRequest(n.CallHierarchyPrepareRequest.type,(t,r)=>e(t,r,this.attachWorkDoneProgress(t),void 0))},onIncomingCalls:e=>{const t=n.CallHierarchyIncomingCallsRequest.type;this.connection.onRequest(t,(r,n)=>e(r,n,this.attachWorkDoneProgress(r),this.attachPartialResultProgress(t,r)))},onOutgoingCalls:e=>{const t=n.CallHierarchyOutgoingCallsRequest.type;this.connection.onRequest(t,(r,n)=>e(r,n,this.attachWorkDoneProgress(r),this.attachPartialResultProgress(t,r)))}}}}},79564:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ConfigurationFeature=void 0;const n=r(16405),i=r(72502);t.ConfigurationFeature=e=>class extends e{getConfiguration(e){return e?i.string(e)?this._getConfiguration({section:e}):this._getConfiguration(e):this._getConfiguration({})}_getConfiguration(e){let t={items:Array.isArray(e)?e:[e]};return this.connection.sendRequest(n.ConfigurationRequest.type,t).then(t=>Array.isArray(e)?t:t[0])}}},47503:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FileOperationsFeature=void 0;const n=r(16405);t.FileOperationsFeature=e=>class extends e{onDidCreateFiles(e){this.connection.onNotification(n.DidCreateFilesNotification.type,t=>{e(t)})}onDidRenameFiles(e){this.connection.onNotification(n.DidRenameFilesNotification.type,t=>{e(t)})}onDidDeleteFiles(e){this.connection.onNotification(n.DidDeleteFilesNotification.type,t=>{e(t)})}onWillCreateFiles(e){return this.connection.onRequest(n.WillCreateFilesRequest.type,(t,r)=>e(t,r))}onWillRenameFiles(e){return this.connection.onRequest(n.WillRenameFilesRequest.type,(t,r)=>e(t,r))}onWillDeleteFiles(e){return this.connection.onRequest(n.WillDeleteFilesRequest.type,(t,r)=>e(t,r))}}},97559:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LinkedEditingRangeFeature=void 0;const n=r(16405);t.LinkedEditingRangeFeature=e=>class extends e{onLinkedEditingRange(e){this.connection.onRequest(n.LinkedEditingRangeRequest.type,(t,r)=>e(t,r,this.attachWorkDoneProgress(t),void 0))}}},16080:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MonikerFeature=void 0;const n=r(16405);t.MonikerFeature=e=>class extends e{get moniker(){return{on:e=>{const t=n.MonikerRequest.type;this.connection.onRequest(t,(r,n)=>e(r,n,this.attachWorkDoneProgress(r),this.attachPartialResultProgress(t,r)))}}}}},48515:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.attachPartialResult=t.ProgressFeature=t.attachWorkDone=void 0;const n=r(16405),i=r(65975);class o{constructor(e,t){this._connection=e,this._token=t,o.Instances.set(this._token,this)}begin(e,t,r,i){let o={kind:"begin",title:e,percentage:t,message:r,cancellable:i};this._connection.sendProgress(n.WorkDoneProgress.type,this._token,o)}report(e,t){let r={kind:"report"};"number"==typeof e?(r.percentage=e,void 0!==t&&(r.message=t)):r.message=e,this._connection.sendProgress(n.WorkDoneProgress.type,this._token,r)}done(){o.Instances.delete(this._token),this._connection.sendProgress(n.WorkDoneProgress.type,this._token,{kind:"end"})}}o.Instances=new Map;class s extends o{constructor(e,t){super(e,t),this._source=new n.CancellationTokenSource}get token(){return this._source.token}done(){this._source.dispose(),super.done()}cancel(){this._source.cancel()}}class a{constructor(){}begin(){}report(){}done(){}}class l extends a{constructor(){super(),this._source=new n.CancellationTokenSource}get token(){return this._source.token}done(){this._source.dispose()}cancel(){this._source.cancel()}}t.attachWorkDone=function(e,t){if(void 0===t||void 0===t.workDoneToken)return new a;const r=t.workDoneToken;return delete t.workDoneToken,new o(e,r)};var c;t.ProgressFeature=e=>class extends e{constructor(){super(),this._progressSupported=!1}initialize(e){var t;!0===(null===(t=null==e?void 0:e.window)||void 0===t?void 0:t.workDoneProgress)&&(this._progressSupported=!0,this.connection.onNotification(n.WorkDoneProgressCancelNotification.type,e=>{let t=o.Instances.get(e.token);(t instanceof s||t instanceof l)&&t.cancel()}))}attachWorkDoneProgress(e){return void 0===e?new a:new o(this.connection,e)}createWorkDoneProgress(){if(this._progressSupported){const e=i.generateUuid();return this.connection.sendRequest(n.WorkDoneProgressCreateRequest.type,{token:e}).then(()=>new s(this.connection,e))}return Promise.resolve(new l)}},function(e){e.type=new n.ProgressType}(c||(c={}));class u{constructor(e,t){this._connection=e,this._token=t}report(e){this._connection.sendProgress(c.type,this._token,e)}}t.attachPartialResult=function(e,t){if(void 0===t||void 0===t.partialResultToken)return;const r=t.partialResultToken;return delete t.partialResultToken,new u(e,r)}},23200:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SemanticTokensBuilder=t.SemanticTokensFeature=void 0;const n=r(16405);t.SemanticTokensFeature=e=>class extends e{get semanticTokens(){return{on:e=>{const t=n.SemanticTokensRequest.type;this.connection.onRequest(t,(r,n)=>e(r,n,this.attachWorkDoneProgress(r),this.attachPartialResultProgress(t,r)))},onDelta:e=>{const t=n.SemanticTokensDeltaRequest.type;this.connection.onRequest(t,(r,n)=>e(r,n,this.attachWorkDoneProgress(r),this.attachPartialResultProgress(t,r)))},onRange:e=>{const t=n.SemanticTokensRangeRequest.type;this.connection.onRequest(t,(r,n)=>e(r,n,this.attachWorkDoneProgress(r),this.attachPartialResultProgress(t,r)))}}}};t.SemanticTokensBuilder=class{constructor(){this._prevData=void 0,this.initialize()}initialize(){this._id=Date.now(),this._prevLine=0,this._prevChar=0,this._data=[],this._dataLen=0}push(e,t,r,n,i){let o=e,s=t;this._dataLen>0&&(o-=this._prevLine,0===o&&(s-=this._prevChar)),this._data[this._dataLen++]=o,this._data[this._dataLen++]=s,this._data[this._dataLen++]=r,this._data[this._dataLen++]=n,this._data[this._dataLen++]=i,this._prevLine=e,this._prevChar=t}get id(){return this._id.toString()}previousResult(e){this.id===e&&(this._prevData=this._data),this.initialize()}build(){return this._prevData=void 0,{resultId:this.id,data:this._data}}canBuildEdits(){return void 0!==this._prevData}buildEdits(){if(void 0!==this._prevData){const e=this._prevData.length,t=this._data.length;let r=0;for(;r{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createConnection=t.combineFeatures=t.combineLanguagesFeatures=t.combineWorkspaceFeatures=t.combineWindowFeatures=t.combineClientFeatures=t.combineTracerFeatures=t.combineTelemetryFeatures=t.combineConsoleFeatures=t._LanguagesImpl=t.BulkUnregistration=t.BulkRegistration=t.ErrorMessageTracker=t.TextDocuments=void 0;const n=r(16405),i=r(72502),o=r(65975),s=r(48515),a=r(79564),l=r(69981),c=r(2657),u=r(23200),p=r(72039),h=r(47503),d=r(97559),f=r(16080);function g(e){if(null!==e)return e}t.TextDocuments=class{constructor(e){this._documents=Object.create(null),this._configuration=e,this._onDidChangeContent=new n.Emitter,this._onDidOpen=new n.Emitter,this._onDidClose=new n.Emitter,this._onDidSave=new n.Emitter,this._onWillSave=new n.Emitter}get onDidChangeContent(){return this._onDidChangeContent.event}get onDidOpen(){return this._onDidOpen.event}get onWillSave(){return this._onWillSave.event}onWillSaveWaitUntil(e){this._willSaveWaitUntil=e}get onDidSave(){return this._onDidSave.event}get onDidClose(){return this._onDidClose.event}get(e){return this._documents[e]}all(){return Object.keys(this._documents).map(e=>this._documents[e])}keys(){return Object.keys(this._documents)}listen(e){e.__textDocumentSync=n.TextDocumentSyncKind.Full,e.onDidOpenTextDocument(e=>{let t=e.textDocument,r=this._configuration.create(t.uri,t.languageId,t.version,t.text);this._documents[t.uri]=r;let n=Object.freeze({document:r});this._onDidOpen.fire(n),this._onDidChangeContent.fire(n)}),e.onDidChangeTextDocument(e=>{let t=e.textDocument,r=e.contentChanges;if(0===r.length)return;let n=this._documents[t.uri];const{version:i}=t;if(null==i)throw new Error(`Received document change event for ${t.uri} without valid version identifier`);n=this._configuration.update(n,r,i),this._documents[t.uri]=n,this._onDidChangeContent.fire(Object.freeze({document:n}))}),e.onDidCloseTextDocument(e=>{let t=this._documents[e.textDocument.uri];t&&(delete this._documents[e.textDocument.uri],this._onDidClose.fire(Object.freeze({document:t})))}),e.onWillSaveTextDocument(e=>{let t=this._documents[e.textDocument.uri];t&&this._onWillSave.fire(Object.freeze({document:t,reason:e.reason}))}),e.onWillSaveTextDocumentWaitUntil((e,t)=>{let r=this._documents[e.textDocument.uri];return r&&this._willSaveWaitUntil?this._willSaveWaitUntil(Object.freeze({document:r,reason:e.reason}),t):[]}),e.onDidSaveTextDocument(e=>{let t=this._documents[e.textDocument.uri];t&&this._onDidSave.fire(Object.freeze({document:t}))})}};t.ErrorMessageTracker=class{constructor(){this._messages=Object.create(null)}add(e){let t=this._messages[e];t||(t=0),t++,this._messages[e]=t}sendErrors(e){Object.keys(this._messages).forEach(t=>{e.window.showErrorMessage(t)})}};class m{constructor(){}rawAttach(e){this._rawConnection=e}attach(e){this._connection=e}get connection(){if(!this._connection)throw new Error("Remote is not attached to a connection yet.");return this._connection}fillServerCapabilities(e){}initialize(e){}error(e){this.send(n.MessageType.Error,e)}warn(e){this.send(n.MessageType.Warning,e)}info(e){this.send(n.MessageType.Info,e)}log(e){this.send(n.MessageType.Log,e)}send(e,t){this._rawConnection&&this._rawConnection.sendNotification(n.LogMessageNotification.type,{type:e,message:t})}}const v=p.ShowDocumentFeature(s.ProgressFeature(class{constructor(){}attach(e){this._connection=e}get connection(){if(!this._connection)throw new Error("Remote is not attached to a connection yet.");return this._connection}initialize(e){}fillServerCapabilities(e){}showErrorMessage(e,...t){let r={type:n.MessageType.Error,message:e,actions:t};return this.connection.sendRequest(n.ShowMessageRequest.type,r).then(g)}showWarningMessage(e,...t){let r={type:n.MessageType.Warning,message:e,actions:t};return this.connection.sendRequest(n.ShowMessageRequest.type,r).then(g)}showInformationMessage(e,...t){let r={type:n.MessageType.Info,message:e,actions:t};return this.connection.sendRequest(n.ShowMessageRequest.type,r).then(g)}}));!function(e){e.create=function(){return new y}}(t.BulkRegistration||(t.BulkRegistration={}));class y{constructor(){this._registrations=[],this._registered=new Set}add(e,t){const r=i.string(e)?e:e.method;if(this._registered.has(r))throw new Error(r+" is already added to this registration");const n=o.generateUuid();this._registrations.push({id:n,method:r,registerOptions:t||{}}),this._registered.add(r)}asRegistrationParams(){return{registrations:this._registrations}}}!function(e){e.create=function(){return new b(void 0,[])}}(t.BulkUnregistration||(t.BulkUnregistration={}));class b{constructor(e,t){this._connection=e,this._unregistrations=new Map,t.forEach(e=>{this._unregistrations.set(e.method,e)})}get isAttached(){return!!this._connection}attach(e){this._connection=e}add(e){this._unregistrations.set(e.method,e)}dispose(){let e=[];for(let t of this._unregistrations.values())e.push(t);let t={unregisterations:e};this._connection.sendRequest(n.UnregistrationRequest.type,t).then(void 0,e=>{this._connection.console.info("Bulk unregistration failed.")})}disposeSingle(e){const t=i.string(e)?e:e.method,r=this._unregistrations.get(t);if(!r)return!1;let o={unregisterations:[r]};return this._connection.sendRequest(n.UnregistrationRequest.type,o).then(()=>{this._unregistrations.delete(t)},e=>{this._connection.console.info(`Un-registering request handler for ${r.id} failed.`)}),!0}}class w{attach(e){this._connection=e}get connection(){if(!this._connection)throw new Error("Remote is not attached to a connection yet.");return this._connection}initialize(e){}fillServerCapabilities(e){}register(e,t,r){return e instanceof y?this.registerMany(e):e instanceof b?this.registerSingle1(e,t,r):this.registerSingle2(e,t)}registerSingle1(e,t,r){const s=i.string(t)?t:t.method,a=o.generateUuid();let l={registrations:[{id:a,method:s,registerOptions:r||{}}]};return e.isAttached||e.attach(this.connection),this.connection.sendRequest(n.RegistrationRequest.type,l).then(t=>(e.add({id:a,method:s}),e),e=>(this.connection.console.info(`Registering request handler for ${s} failed.`),Promise.reject(e)))}registerSingle2(e,t){const r=i.string(e)?e:e.method,s=o.generateUuid();let a={registrations:[{id:s,method:r,registerOptions:t||{}}]};return this.connection.sendRequest(n.RegistrationRequest.type,a).then(e=>n.Disposable.create(()=>{this.unregisterSingle(s,r)}),e=>(this.connection.console.info(`Registering request handler for ${r} failed.`),Promise.reject(e)))}unregisterSingle(e,t){let r={unregisterations:[{id:e,method:t}]};return this.connection.sendRequest(n.UnregistrationRequest.type,r).then(void 0,t=>{this.connection.console.info(`Un-registering request handler for ${e} failed.`)})}registerMany(e){let t=e.asRegistrationParams();return this.connection.sendRequest(n.RegistrationRequest.type,t).then(()=>new b(this._connection,t.registrations.map(e=>({id:e.id,method:e.method}))),e=>(this.connection.console.info("Bulk registration failed."),Promise.reject(e)))}}const _=h.FileOperationsFeature(l.WorkspaceFoldersFeature(a.ConfigurationFeature(class{constructor(){}attach(e){this._connection=e}get connection(){if(!this._connection)throw new Error("Remote is not attached to a connection yet.");return this._connection}initialize(e){}fillServerCapabilities(e){}applyEdit(e){let t=(r=e)&&r.edit?e:{edit:e};var r;return this.connection.sendRequest(n.ApplyWorkspaceEditRequest.type,t)}})));class x{constructor(){this._trace=n.Trace.Off}attach(e){this._connection=e}get connection(){if(!this._connection)throw new Error("Remote is not attached to a connection yet.");return this._connection}initialize(e){}fillServerCapabilities(e){}set trace(e){this._trace=e}log(e,t){this._trace!==n.Trace.Off&&this.connection.sendNotification(n.LogTraceNotification.type,{message:e,verbose:this._trace===n.Trace.Verbose?t:void 0})}}class k{constructor(){}attach(e){this._connection=e}get connection(){if(!this._connection)throw new Error("Remote is not attached to a connection yet.");return this._connection}initialize(e){}fillServerCapabilities(e){}logEvent(e){this.connection.sendNotification(n.TelemetryEventNotification.type,e)}}class S{constructor(){}attach(e){this._connection=e}get connection(){if(!this._connection)throw new Error("Remote is not attached to a connection yet.");return this._connection}initialize(e){}fillServerCapabilities(e){}attachWorkDoneProgress(e){return s.attachWorkDone(this.connection,e)}attachPartialResultProgress(e,t){return s.attachPartialResult(this.connection,t)}}t._LanguagesImpl=S;const E=f.MonikerFeature(d.LinkedEditingRangeFeature(u.SemanticTokensFeature(c.CallHierarchyFeature(S))));function C(e,t){return function(r){return t(e(r))}}function T(e,t){return function(r){return t(e(r))}}function A(e,t){return function(r){return t(e(r))}}function R(e,t){return function(r){return t(e(r))}}function O(e,t){return function(r){return t(e(r))}}function P(e,t){return function(r){return t(e(r))}}t.combineConsoleFeatures=C,t.combineTelemetryFeatures=T,t.combineTracerFeatures=A,t.combineClientFeatures=R,t.combineWindowFeatures=O,t.combineWorkspaceFeatures=P,t.combineLanguagesFeatures=function(e,t){return function(r){return t(e(r))}},t.combineFeatures=function(e,t){function r(e,t,r){return e&&t?r(e,t):e||t}return{__brand:"features",console:r(e.console,t.console,C),tracer:r(e.tracer,t.tracer,A),telemetry:r(e.telemetry,t.telemetry,T),client:r(e.client,t.client,R),window:r(e.window,t.window,O),workspace:r(e.workspace,t.workspace,P)}},t.createConnection=function(e,t,r){const o=r&&r.console?new(r.console(m)):new m,a=e(o);o.rawAttach(a);const l=r&&r.tracer?new(r.tracer(x)):new x,c=r&&r.telemetry?new(r.telemetry(k)):new k,u=r&&r.client?new(r.client(w)):new w,p=r&&r.window?new(r.window(v)):new v,h=r&&r.workspace?new(r.workspace(_)):new _,d=r&&r.languages?new(r.languages(E)):new E,f=[o,l,c,u,p,h,d];function g(e){return e instanceof Promise?e:i.thenable(e)?new Promise((t,r)=>{e.then(e=>t(e),e=>r(e))}):Promise.resolve(e)}let y=void 0,b=void 0,S=void 0,C={listen:()=>a.listen(),sendRequest:(e,...t)=>a.sendRequest(i.string(e)?e:e.method,...t),onRequest:(e,t)=>a.onRequest(e,t),sendNotification:(e,t)=>{const r=i.string(e)?e:e.method;1===arguments.length?a.sendNotification(r):a.sendNotification(r,t)},onNotification:(e,t)=>a.onNotification(e,t),onProgress:a.onProgress,sendProgress:a.sendProgress,onInitialize:e=>b=e,onInitialized:e=>a.onNotification(n.InitializedNotification.type,e),onShutdown:e=>y=e,onExit:e=>S=e,get console(){return o},get telemetry(){return c},get tracer(){return l},get client(){return u},get window(){return p},get workspace(){return h},get languages(){return d},onDidChangeConfiguration:e=>a.onNotification(n.DidChangeConfigurationNotification.type,e),onDidChangeWatchedFiles:e=>a.onNotification(n.DidChangeWatchedFilesNotification.type,e),__textDocumentSync:void 0,onDidOpenTextDocument:e=>a.onNotification(n.DidOpenTextDocumentNotification.type,e),onDidChangeTextDocument:e=>a.onNotification(n.DidChangeTextDocumentNotification.type,e),onDidCloseTextDocument:e=>a.onNotification(n.DidCloseTextDocumentNotification.type,e),onWillSaveTextDocument:e=>a.onNotification(n.WillSaveTextDocumentNotification.type,e),onWillSaveTextDocumentWaitUntil:e=>a.onRequest(n.WillSaveTextDocumentWaitUntilRequest.type,e),onDidSaveTextDocument:e=>a.onNotification(n.DidSaveTextDocumentNotification.type,e),sendDiagnostics:e=>a.sendNotification(n.PublishDiagnosticsNotification.type,e),onHover:e=>a.onRequest(n.HoverRequest.type,(t,r)=>e(t,r,s.attachWorkDone(a,t),void 0)),onCompletion:e=>a.onRequest(n.CompletionRequest.type,(t,r)=>e(t,r,s.attachWorkDone(a,t),s.attachPartialResult(a,t))),onCompletionResolve:e=>a.onRequest(n.CompletionResolveRequest.type,e),onSignatureHelp:e=>a.onRequest(n.SignatureHelpRequest.type,(t,r)=>e(t,r,s.attachWorkDone(a,t),void 0)),onDeclaration:e=>a.onRequest(n.DeclarationRequest.type,(t,r)=>e(t,r,s.attachWorkDone(a,t),s.attachPartialResult(a,t))),onDefinition:e=>a.onRequest(n.DefinitionRequest.type,(t,r)=>e(t,r,s.attachWorkDone(a,t),s.attachPartialResult(a,t))),onTypeDefinition:e=>a.onRequest(n.TypeDefinitionRequest.type,(t,r)=>e(t,r,s.attachWorkDone(a,t),s.attachPartialResult(a,t))),onImplementation:e=>a.onRequest(n.ImplementationRequest.type,(t,r)=>e(t,r,s.attachWorkDone(a,t),s.attachPartialResult(a,t))),onReferences:e=>a.onRequest(n.ReferencesRequest.type,(t,r)=>e(t,r,s.attachWorkDone(a,t),s.attachPartialResult(a,t))),onDocumentHighlight:e=>a.onRequest(n.DocumentHighlightRequest.type,(t,r)=>e(t,r,s.attachWorkDone(a,t),s.attachPartialResult(a,t))),onDocumentSymbol:e=>a.onRequest(n.DocumentSymbolRequest.type,(t,r)=>e(t,r,s.attachWorkDone(a,t),s.attachPartialResult(a,t))),onWorkspaceSymbol:e=>a.onRequest(n.WorkspaceSymbolRequest.type,(t,r)=>e(t,r,s.attachWorkDone(a,t),s.attachPartialResult(a,t))),onCodeAction:e=>a.onRequest(n.CodeActionRequest.type,(t,r)=>e(t,r,s.attachWorkDone(a,t),s.attachPartialResult(a,t))),onCodeActionResolve:e=>a.onRequest(n.CodeActionResolveRequest.type,(t,r)=>e(t,r)),onCodeLens:e=>a.onRequest(n.CodeLensRequest.type,(t,r)=>e(t,r,s.attachWorkDone(a,t),s.attachPartialResult(a,t))),onCodeLensResolve:e=>a.onRequest(n.CodeLensResolveRequest.type,(t,r)=>e(t,r)),onDocumentFormatting:e=>a.onRequest(n.DocumentFormattingRequest.type,(t,r)=>e(t,r,s.attachWorkDone(a,t),void 0)),onDocumentRangeFormatting:e=>a.onRequest(n.DocumentRangeFormattingRequest.type,(t,r)=>e(t,r,s.attachWorkDone(a,t),void 0)),onDocumentOnTypeFormatting:e=>a.onRequest(n.DocumentOnTypeFormattingRequest.type,(t,r)=>e(t,r)),onRenameRequest:e=>a.onRequest(n.RenameRequest.type,(t,r)=>e(t,r,s.attachWorkDone(a,t),void 0)),onPrepareRename:e=>a.onRequest(n.PrepareRenameRequest.type,(t,r)=>e(t,r)),onDocumentLinks:e=>a.onRequest(n.DocumentLinkRequest.type,(t,r)=>e(t,r,s.attachWorkDone(a,t),s.attachPartialResult(a,t))),onDocumentLinkResolve:e=>a.onRequest(n.DocumentLinkResolveRequest.type,(t,r)=>e(t,r)),onDocumentColor:e=>a.onRequest(n.DocumentColorRequest.type,(t,r)=>e(t,r,s.attachWorkDone(a,t),s.attachPartialResult(a,t))),onColorPresentation:e=>a.onRequest(n.ColorPresentationRequest.type,(t,r)=>e(t,r,s.attachWorkDone(a,t),s.attachPartialResult(a,t))),onFoldingRanges:e=>a.onRequest(n.FoldingRangeRequest.type,(t,r)=>e(t,r,s.attachWorkDone(a,t),s.attachPartialResult(a,t))),onSelectionRanges:e=>a.onRequest(n.SelectionRangeRequest.type,(t,r)=>e(t,r,s.attachWorkDone(a,t),s.attachPartialResult(a,t))),onExecuteCommand:e=>a.onRequest(n.ExecuteCommandRequest.type,(t,r)=>e(t,r,s.attachWorkDone(a,t),void 0)),dispose:()=>a.dispose()};for(let e of f)e.attach(C);return a.onRequest(n.InitializeRequest.type,e=>{t.initialize(e),i.string(e.trace)&&(l.trace=n.Trace.fromString(e.trace));for(let t of f)t.initialize(e.capabilities);if(b){return g(b(e,(new n.CancellationTokenSource).token,s.attachWorkDone(a,e),void 0)).then(e=>{if(e instanceof n.ResponseError)return e;let t=e;t||(t={capabilities:{}});let r=t.capabilities;r||(r={},t.capabilities=r),void 0===r.textDocumentSync||null===r.textDocumentSync?r.textDocumentSync=i.number(C.__textDocumentSync)?C.__textDocumentSync:n.TextDocumentSyncKind.None:i.number(r.textDocumentSync)||i.number(r.textDocumentSync.change)||(r.textDocumentSync.change=i.number(C.__textDocumentSync)?C.__textDocumentSync:n.TextDocumentSyncKind.None);for(let e of f)e.fillServerCapabilities(r);return t})}{let e={capabilities:{textDocumentSync:n.TextDocumentSyncKind.None}};for(let t of f)t.fillServerCapabilities(e.capabilities);return e}}),a.onRequest(n.ShutdownRequest.type,()=>(t.shutdownReceived=!0,y?y((new n.CancellationTokenSource).token):void 0)),a.onNotification(n.ExitNotification.type,()=>{try{S&&S()}finally{t.shutdownReceived?t.exit(0):t.exit(1)}}),a.onNotification(n.SetTraceNotification.type,e=>{l.trace=n.Trace.fromString(e.value)}),C}},72039:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ShowDocumentFeature=void 0;const n=r(16405);t.ShowDocumentFeature=e=>class extends e{showDocument(e){return this.connection.sendRequest(n.ShowDocumentRequest.type,e)}}},72502:(e,t)=>{"use strict";function r(e){return"string"==typeof e||e instanceof String}function n(e){return"function"==typeof e}function i(e){return Array.isArray(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.thenable=t.typedArray=t.stringArray=t.array=t.func=t.error=t.number=t.string=t.boolean=void 0,t.boolean=function(e){return!0===e||!1===e},t.string=r,t.number=function(e){return"number"==typeof e||e instanceof Number},t.error=function(e){return e instanceof Error},t.func=n,t.array=i,t.stringArray=function(e){return i(e)&&e.every(e=>r(e))},t.typedArray=function(e,t){return Array.isArray(e)&&e.every(t)},t.thenable=function(e){return e&&n(e.then)}},65975:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.generateUuid=t.parse=t.isUUID=t.v4=t.empty=void 0;class r{constructor(e){this._value=e}asHex(){return this._value}equals(e){return this.asHex()===e.asHex()}}class n extends r{constructor(){super([n._randomHex(),n._randomHex(),n._randomHex(),n._randomHex(),n._randomHex(),n._randomHex(),n._randomHex(),n._randomHex(),"-",n._randomHex(),n._randomHex(),n._randomHex(),n._randomHex(),"-","4",n._randomHex(),n._randomHex(),n._randomHex(),"-",n._oneOf(n._timeHighBits),n._randomHex(),n._randomHex(),n._randomHex(),"-",n._randomHex(),n._randomHex(),n._randomHex(),n._randomHex(),n._randomHex(),n._randomHex(),n._randomHex(),n._randomHex(),n._randomHex(),n._randomHex(),n._randomHex(),n._randomHex()].join(""))}static _oneOf(e){return e[Math.floor(e.length*Math.random())]}static _randomHex(){return n._oneOf(n._chars)}}function i(){return new n}n._chars=["0","1","2","3","4","5","6","6","7","8","9","a","b","c","d","e","f"],n._timeHighBits=["8","9","a","b"],t.empty=new r("00000000-0000-0000-0000-000000000000"),t.v4=i;const o=/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i;function s(e){return o.test(e)}t.isUUID=s,t.parse=function(e){if(!s(e))throw new Error("invalid uuid");return new r(e)},t.generateUuid=function(){return i().asHex()}},69981:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WorkspaceFoldersFeature=void 0;const n=r(16405);t.WorkspaceFoldersFeature=e=>class extends e{initialize(e){let t=e.workspace;t&&t.workspaceFolders&&(this._onDidChangeWorkspaceFolders=new n.Emitter,this.connection.onNotification(n.DidChangeWorkspaceFoldersNotification.type,e=>{this._onDidChangeWorkspaceFolders.fire(e.event)}))}getWorkspaceFolders(){return this.connection.sendRequest(n.WorkspaceFoldersRequest.type)}get onDidChangeWorkspaceFolders(){if(!this._onDidChangeWorkspaceFolders)throw new Error("Client doesn't support sending workspace folder change events.");return this._unregistration||(this._unregistration=this.connection.client.register(n.DidChangeWorkspaceFoldersNotification.type)),this._onDidChangeWorkspaceFolders.event}}},75821:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resolveModulePath=t.FileSystem=t.resolveGlobalYarnPath=t.resolveGlobalNodePath=t.resolve=t.uriToFilePath=void 0;const n=r(78835),i=r(85622),o=r(35747),s=r(63129);function a(){return"win32"===process.platform}function l(e,t,r,n){const a=["var p = process;","p.on('message',function(m){","if(m.c==='e'){","p.exit(0);","}","else if(m.c==='rs'){","try{","var r=require.resolve(m.a);","p.send({c:'r',s:true,r:r});","}","catch(err){","p.send({c:'r',s:false});","}","}","});"].join("");return new Promise((l,c)=>{let u=process.env,p=Object.create(null);Object.keys(u).forEach(e=>p[e]=u[e]),t&&o.existsSync(t)&&(p.NODE_PATH?p.NODE_PATH=t+i.delimiter+p.NODE_PATH:p.NODE_PATH=t,n&&n("NODE_PATH value is: "+p.NODE_PATH)),p.ELECTRON_RUN_AS_NODE="1";try{let t=s.fork("",[],{cwd:r,env:p,execArgv:["-e",a]});if(void 0===t.pid)return void c(new Error(`Starting process to resolve node module ${e} failed`));t.on("error",e=>{c(e)}),t.on("message",r=>{"r"===r.c&&(t.send({c:"e"}),r.s?l(r.r):c(new Error("Failed to resolve module: "+e)))});let n={c:"rs",a:e};t.send(n)}catch(e){c(e)}})}function c(e){let t="npm";const r=Object.create(null);Object.keys(process.env).forEach(e=>r[e]=process.env[e]),r.NO_UPDATE_NOTIFIER="true";const n={encoding:"utf8",env:r};a()&&(t="npm.cmd",n.shell=!0);let o=()=>{};try{process.on("SIGPIPE",o);let r=s.spawnSync(t,["config","get","prefix"],n).stdout;if(!r)return void(e&&e("'npm config get prefix' didn't return a value."));let l=r.trim();return e&&e("'npm config get prefix' value is: "+l),l.length>0?a()?i.join(l,"node_modules"):i.join(l,"lib","node_modules"):void 0}catch(e){return}finally{process.removeListener("SIGPIPE",o)}}var u;t.uriToFilePath=function(e){let t=n.parse(e);if("file:"!==t.protocol||!t.path)return;let r=t.path.split("/");for(var o=0,s=r.length;o1){let e=r[0],t=r[1];0===e.length&&t.length>1&&":"===t[1]&&r.shift()}return i.normalize(r.join("/"))},t.resolve=l,t.resolveGlobalNodePath=c,t.resolveGlobalYarnPath=function(e){let t="yarn",r={encoding:"utf8"};a()&&(t="yarn.cmd",r.shell=!0);let n=()=>{};try{process.on("SIGPIPE",n);let o=s.spawnSync(t,["global","dir","--json"],r),a=o.stdout;if(!a)return void(e&&(e("'yarn global dir' didn't return a value."),o.stderr&&e(o.stderr)));let l=a.trim().split(/\r?\n/);for(let e of l)try{let t=JSON.parse(e);if("log"===t.type)return i.join(t.data,"node_modules")}catch(e){}return}catch(e){return}finally{process.removeListener("SIGPIPE",n)}},function(e){let t=void 0;function r(){return void 0!==t||(t="win32"!==process.platform&&(!o.existsSync(__filename.toUpperCase())||!o.existsSync(__filename.toLowerCase()))),t}e.isCaseSensitive=r,e.isParent=function(e,t){return r()?0===i.normalize(t).indexOf(i.normalize(e)):0===i.normalize(t).toLowerCase().indexOf(i.normalize(e).toLowerCase())}}(u=t.FileSystem||(t.FileSystem={})),t.resolveModulePath=function(e,t,r,n){return r?(i.isAbsolute(r)||(r=i.join(e,r)),l(t,r,r,n).then(e=>u.isParent(r,e)?e:Promise.reject(new Error(`Failed to load ${t} from node path location.`))).then(void 0,r=>l(t,c(n),e,n))):l(t,c(n),e,n)}},6838:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),t.createConnection=t.Files=void 0;const o=r(72502),s=r(68337),a=r(75821),l=r(20997);i(r(20997),t),i(r(41499),t),function(e){e.uriToFilePath=a.uriToFilePath,e.resolveGlobalNodePath=a.resolveGlobalNodePath,e.resolveGlobalYarnPath=a.resolveGlobalYarnPath,e.resolve=a.resolve,e.resolveModulePath=a.resolveModulePath}(t.Files||(t.Files={}));let c=!1,u=void 0;!function(){function e(e){try{let t=parseInt(e);isNaN(t)||(u=setInterval(()=>{try{process.kill(t,0)}catch(e){process.exit(c?0:1)}},3e3))}catch(e){}}for(let t=2;t{const t=e.processId;o.number(t)&&void 0===u&&setInterval(()=>{try{process.kill(t,0)}catch(e){process.exit(c?0:1)}},3e3)},get shutdownReceived(){return c},set shutdownReceived(e){c=e},exit:e=>{process.exit(e)}};t.createConnection=function(e,t,r,n){let i,a,u,h;return void 0!==e&&"features"===e.__brand&&(i=e,e=t,t=r,r=n),l.ConnectionStrategy.is(e)||l.ConnectionOptions.is(e)?h=e:(a=e,u=t,h=r),function(e,t,r,n){if(!e&&!t&&process.argv.length>2){let r=void 0,n=void 0,o=process.argv.slice(2);for(let s=0;s{process.exit(c?0:1)}),t.on("close",()=>{process.exit(c?0:1)})}return s.createConnection(n=>l.createProtocolConnection(e,t,n,r),p,n)}(a,u,h,i)}},81734:(e,t,r)=>{"use strict";e.exports=r(6838)},64480:function(e){e.exports=(()=>{"use strict";var e={470:e=>{function t(e){if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}function r(e,t){for(var r,n="",i=0,o=-1,s=0,a=0;a<=e.length;++a){if(a2){var l=n.lastIndexOf("/");if(l!==n.length-1){-1===l?(n="",i=0):i=(n=n.slice(0,l)).length-1-n.lastIndexOf("/"),o=a,s=0;continue}}else if(2===n.length||1===n.length){n="",i=0,o=a,s=0;continue}t&&(n.length>0?n+="/..":n="..",i=2)}else n.length>0?n+="/"+e.slice(o+1,a):n=e.slice(o+1,a),i=a-o-1;o=a,s=0}else 46===r&&-1!==s?++s:s=-1}return n}var n={resolve:function(){for(var e,n="",i=!1,o=arguments.length-1;o>=-1&&!i;o--){var s;o>=0?s=arguments[o]:(void 0===e&&(e=process.cwd()),s=e),t(s),0!==s.length&&(n=s+"/"+n,i=47===s.charCodeAt(0))}return n=r(n,!i),i?n.length>0?"/"+n:"/":n.length>0?n:"."},normalize:function(e){if(t(e),0===e.length)return".";var n=47===e.charCodeAt(0),i=47===e.charCodeAt(e.length-1);return 0!==(e=r(e,!n)).length||n||(e="."),e.length>0&&i&&(e+="/"),n?"/"+e:e},isAbsolute:function(e){return t(e),e.length>0&&47===e.charCodeAt(0)},join:function(){if(0===arguments.length)return".";for(var e,r=0;r0&&(void 0===e?e=i:e+="/"+i)}return void 0===e?".":n.normalize(e)},relative:function(e,r){if(t(e),t(r),e===r)return"";if((e=n.resolve(e))===(r=n.resolve(r)))return"";for(var i=1;ic){if(47===r.charCodeAt(a+p))return r.slice(a+p+1);if(0===p)return r.slice(a+p)}else s>c&&(47===e.charCodeAt(i+p)?u=p:0===p&&(u=0));break}var h=e.charCodeAt(i+p);if(h!==r.charCodeAt(a+p))break;47===h&&(u=p)}var d="";for(p=i+u+1;p<=o;++p)p!==o&&47!==e.charCodeAt(p)||(0===d.length?d+="..":d+="/..");return d.length>0?d+r.slice(a+u):(a+=u,47===r.charCodeAt(a)&&++a,r.slice(a))},_makeLong:function(e){return e},dirname:function(e){if(t(e),0===e.length)return".";for(var r=e.charCodeAt(0),n=47===r,i=-1,o=!0,s=e.length-1;s>=1;--s)if(47===(r=e.charCodeAt(s))){if(!o){i=s;break}}else o=!1;return-1===i?n?"/":".":n&&1===i?"//":e.slice(0,i)},basename:function(e,r){if(void 0!==r&&"string"!=typeof r)throw new TypeError('"ext" argument must be a string');t(e);var n,i=0,o=-1,s=!0;if(void 0!==r&&r.length>0&&r.length<=e.length){if(r.length===e.length&&r===e)return"";var a=r.length-1,l=-1;for(n=e.length-1;n>=0;--n){var c=e.charCodeAt(n);if(47===c){if(!s){i=n+1;break}}else-1===l&&(s=!1,l=n+1),a>=0&&(c===r.charCodeAt(a)?-1==--a&&(o=n):(a=-1,o=l))}return i===o?o=l:-1===o&&(o=e.length),e.slice(i,o)}for(n=e.length-1;n>=0;--n)if(47===e.charCodeAt(n)){if(!s){i=n+1;break}}else-1===o&&(s=!1,o=n+1);return-1===o?"":e.slice(i,o)},extname:function(e){t(e);for(var r=-1,n=0,i=-1,o=!0,s=0,a=e.length-1;a>=0;--a){var l=e.charCodeAt(a);if(47!==l)-1===i&&(o=!1,i=a+1),46===l?-1===r?r=a:1!==s&&(s=1):-1!==r&&(s=-1);else if(!o){n=a+1;break}}return-1===r||-1===i||0===s||1===s&&r===i-1&&r===n+1?"":e.slice(r,i)},format:function(e){if(null===e||"object"!=typeof e)throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof e);return function(e,t){var r=t.dir||t.root,n=t.base||(t.name||"")+(t.ext||"");return r?r===t.root?r+n:r+"/"+n:n}(0,e)},parse:function(e){t(e);var r={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return r;var n,i=e.charCodeAt(0),o=47===i;o?(r.root="/",n=1):n=0;for(var s=-1,a=0,l=-1,c=!0,u=e.length-1,p=0;u>=n;--u)if(47!==(i=e.charCodeAt(u)))-1===l&&(c=!1,l=u+1),46===i?-1===s?s=u:1!==p&&(p=1):-1!==s&&(p=-1);else if(!c){a=u+1;break}return-1===s||-1===l||0===p||1===p&&s===l-1&&s===a+1?-1!==l&&(r.base=r.name=0===a&&o?e.slice(1,l):e.slice(a,l)):(0===a&&o?(r.name=e.slice(1,s),r.base=e.slice(1,l)):(r.name=e.slice(a,s),r.base=e.slice(a,l)),r.ext=e.slice(s,l)),a>0?r.dir=e.slice(0,a-1):o&&(r.dir="/"),r},sep:"/",delimiter:":",win32:null,posix:null};n.posix=n,e.exports=n},465:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Utils=t.URI=void 0;var n=r(796);Object.defineProperty(t,"URI",{enumerable:!0,get:function(){return n.URI}});var i=r(679);Object.defineProperty(t,"Utils",{enumerable:!0,get:function(){return i.Utils}})},674:(e,t)=>{if(Object.defineProperty(t,"__esModule",{value:!0}),t.isWindows=void 0,"object"==typeof process)t.isWindows="win32"===process.platform;else if("object"==typeof navigator){var r=navigator.userAgent;t.isWindows=r.indexOf("Windows")>=0}},796:function(e,t,r){var n,i,o=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.uriToFsPath=t.URI=void 0;var s=r(674),a=/^\w[\w\d+.-]*$/,l=/^\//,c=/^\/\//,u="",p="/",h=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/,d=function(){function e(e,t,r,n,i,o){void 0===o&&(o=!1),"object"==typeof e?(this.scheme=e.scheme||u,this.authority=e.authority||u,this.path=e.path||u,this.query=e.query||u,this.fragment=e.fragment||u):(this.scheme=function(e,t){return e||t?e:"file"}(e,o),this.authority=t||u,this.path=function(e,t){switch(e){case"https":case"http":case"file":t?t[0]!==p&&(t=p+t):t=p}return t}(this.scheme,r||u),this.query=n||u,this.fragment=i||u,function(e,t){if(!e.scheme&&t)throw new Error('[UriError]: Scheme is missing: {scheme: "", authority: "'+e.authority+'", path: "'+e.path+'", query: "'+e.query+'", fragment: "'+e.fragment+'"}');if(e.scheme&&!a.test(e.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(e.path)if(e.authority){if(!l.test(e.path))throw new Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(c.test(e.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}(this,o))}return e.isUri=function(t){return t instanceof e||!!t&&"string"==typeof t.authority&&"string"==typeof t.fragment&&"string"==typeof t.path&&"string"==typeof t.query&&"string"==typeof t.scheme&&"function"==typeof t.fsPath&&"function"==typeof t.with&&"function"==typeof t.toString},Object.defineProperty(e.prototype,"fsPath",{get:function(){return b(this,!1)},enumerable:!1,configurable:!0}),e.prototype.with=function(e){if(!e)return this;var t=e.scheme,r=e.authority,n=e.path,i=e.query,o=e.fragment;return void 0===t?t=this.scheme:null===t&&(t=u),void 0===r?r=this.authority:null===r&&(r=u),void 0===n?n=this.path:null===n&&(n=u),void 0===i?i=this.query:null===i&&(i=u),void 0===o?o=this.fragment:null===o&&(o=u),t===this.scheme&&r===this.authority&&n===this.path&&i===this.query&&o===this.fragment?this:new g(t,r,n,i,o)},e.parse=function(e,t){void 0===t&&(t=!1);var r=h.exec(e);return r?new g(r[2]||u,x(r[4]||u),x(r[5]||u),x(r[7]||u),x(r[9]||u),t):new g(u,u,u,u,u)},e.file=function(e){var t=u;if(s.isWindows&&(e=e.replace(/\\/g,p)),e[0]===p&&e[1]===p){var r=e.indexOf(p,2);-1===r?(t=e.substring(2),e=p):(t=e.substring(2,r),e=e.substring(r)||p)}return new g("file",t,e,u,u)},e.from=function(e){return new g(e.scheme,e.authority,e.path,e.query,e.fragment)},e.prototype.toString=function(e){return void 0===e&&(e=!1),w(this,e)},e.prototype.toJSON=function(){return this},e.revive=function(t){if(t){if(t instanceof e)return t;var r=new g(t);return r._formatted=t.external,r._fsPath=t._sep===f?t.fsPath:null,r}return t},e}();t.URI=d;var f=s.isWindows?1:void 0,g=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._formatted=null,t._fsPath=null,t}return o(t,e),Object.defineProperty(t.prototype,"fsPath",{get:function(){return this._fsPath||(this._fsPath=b(this,!1)),this._fsPath},enumerable:!1,configurable:!0}),t.prototype.toString=function(e){return void 0===e&&(e=!1),e?w(this,!0):(this._formatted||(this._formatted=w(this,!1)),this._formatted)},t.prototype.toJSON=function(){var e={$mid:1};return this._fsPath&&(e.fsPath=this._fsPath,e._sep=f),this._formatted&&(e.external=this._formatted),this.path&&(e.path=this.path),this.scheme&&(e.scheme=this.scheme),this.authority&&(e.authority=this.authority),this.query&&(e.query=this.query),this.fragment&&(e.fragment=this.fragment),e},t}(d),m=((i={})[58]="%3A",i[47]="%2F",i[63]="%3F",i[35]="%23",i[91]="%5B",i[93]="%5D",i[64]="%40",i[33]="%21",i[36]="%24",i[38]="%26",i[39]="%27",i[40]="%28",i[41]="%29",i[42]="%2A",i[43]="%2B",i[44]="%2C",i[59]="%3B",i[61]="%3D",i[32]="%20",i);function v(e,t){for(var r=void 0,n=-1,i=0;i=97&&o<=122||o>=65&&o<=90||o>=48&&o<=57||45===o||46===o||95===o||126===o||t&&47===o)-1!==n&&(r+=encodeURIComponent(e.substring(n,i)),n=-1),void 0!==r&&(r+=e.charAt(i));else{void 0===r&&(r=e.substr(0,i));var s=m[o];void 0!==s?(-1!==n&&(r+=encodeURIComponent(e.substring(n,i)),n=-1),r+=s):-1===n&&(n=i)}}return-1!==n&&(r+=encodeURIComponent(e.substring(n))),void 0!==r?r:e}function y(e){for(var t=void 0,r=0;r1&&"file"===e.scheme?"//"+e.authority+e.path:47===e.path.charCodeAt(0)&&(e.path.charCodeAt(1)>=65&&e.path.charCodeAt(1)<=90||e.path.charCodeAt(1)>=97&&e.path.charCodeAt(1)<=122)&&58===e.path.charCodeAt(2)?t?e.path.substr(1):e.path[1].toLowerCase()+e.path.substr(2):e.path,s.isWindows&&(r=r.replace(/\//g,"\\")),r}function w(e,t){var r=t?y:v,n="",i=e.scheme,o=e.authority,s=e.path,a=e.query,l=e.fragment;if(i&&(n+=i,n+=":"),(o||"file"===i)&&(n+=p,n+=p),o){var c=o.indexOf("@");if(-1!==c){var u=o.substr(0,c);o=o.substr(c+1),-1===(c=u.indexOf(":"))?n+=r(u,!1):(n+=r(u.substr(0,c),!1),n+=":",n+=r(u.substr(c+1),!1)),n+="@"}-1===(c=(o=o.toLowerCase()).indexOf(":"))?n+=r(o,!1):(n+=r(o.substr(0,c),!1),n+=o.substr(c))}if(s){if(s.length>=3&&47===s.charCodeAt(0)&&58===s.charCodeAt(2))(h=s.charCodeAt(1))>=65&&h<=90&&(s="/"+String.fromCharCode(h+32)+":"+s.substr(3));else if(s.length>=2&&58===s.charCodeAt(1)){var h;(h=s.charCodeAt(0))>=65&&h<=90&&(s=String.fromCharCode(h+32)+":"+s.substr(2))}n+=r(s,!0)}return a&&(n+="?",n+=r(a,!1)),l&&(n+="#",n+=t?l:v(l,!1)),n}t.uriToFsPath=b;var _=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function x(e){return e.match(_)?e.replace(_,(function(e){return function e(t){try{return decodeURIComponent(t)}catch(r){return t.length>3?t.substr(0,3)+e(t.substr(3)):t}}(e)})):e}},679:function(e,t,r){var n=this&&this.__spreadArrays||function(){for(var e=0,t=0,r=arguments.length;t{e.exports=function(){for(var e={},r=0;r{class t{constructor(e){this.value=e,this.next=void 0}}class r{constructor(){this.clear()}enqueue(e){const r=new t(e);this._head?(this._tail.next=r,this._tail=r):(this._head=r,this._tail=r),this._size++}dequeue(){const e=this._head;if(e)return this._head=this._head.next,this._size--,e.value}clear(){this._head=void 0,this._tail=void 0,this._size=0}get size(){return this._size}*[Symbol.iterator](){let e=this._head;for(;e;)yield e.value,e=e.next}}e.exports=r},30856:(e,t,r)=>{const n=r(12087),i=r(85622),o=r(35747),s=process.config&&process.config.variables||{},a=n.arch(),l=n.platform(),c=process.versions.modules,u=!(!process.versions||!process.versions.electron)||!!process.env.ELECTRON_RUN_AS_NODE||"undefined"!=typeof window&&window.process&&"renderer"===window.process.type?"electron":"node",p=process.env.LIBC||(function(e){return"linux"===e&&o.existsSync("/etc/alpine-release")}(l)?"musl":"glibc"),h=process.env.ARM_VERSION||("arm64"===a?"8":s.arm_version)||"",d=(process.versions.uv||"").split(".")[0],f={"darwin-arm64":{"node.napi.glibc.node":()=>r(80530)},"darwin-x64":{"node.napi.glibc.node":()=>r(47881)},"linux-x64":{"node.napi.glibc.node":()=>r(91341),"node.napi.musl.node":()=>r(62822)},"win32-x64":{"node.napi.glibc.node":()=>r(40689)}};let g=()=>{let e=function(){var e=Object.keys(f).map(m).filter(function(e,t){return function(r){return null!=r&&(r.platform===e&&r.architectures.includes(t))}}(l,a)).sort(v)[0];if(!e)return;var t=f[e.name],r=Object.keys(t).map(y).filter(function(e,t){return function(r){return null!=r&&(!(r.runtime!==e&&!function(e){return"node"===e.runtime&&e.napi}(r))&&(!(r.abi!==t&&!r.napi)&&((!r.uv||r.uv===d)&&((!r.armv||r.armv===h)&&(!r.libc||r.libc===p)))))}}(u,c)).sort(function(e){return function(t,r){return t.runtime!==r.runtime?t.runtime===e?-1:1:t.abi!==r.abi?t.abi?-1:1:t.specificity!==r.specificity?t.specificity>r.specificity?-1:1:0}}(u))[0];if(r)try{return t[r.file]()}catch(e){}}();return g=()=>e,e};function m(e){var t=e.split("-");if(2===t.length){var r=t[0],n=t[1].split("+");if(r&&n.length&&n.every(Boolean))return{name:e,platform:r,architectures:n}}}function v(e,t){return e.architectures.length-t.architectures.length}function y(e){var t=e.split("."),r={file:e,specificity:0};if("node"===t.pop()){for(var n=0;ni.resolve(e,t))})),t}t.Fp=g,t.Ld=async(e,t,r)=>(e=i.resolve(e),r=b(e,r),await g().subscribe(e,t,r),{unsubscribe:()=>g().unsubscribe(e,t,r)})},97289:module=>{module.exports=eval("require")("pnpapi")},16313:e=>{e.exports={nanoid:(e=21)=>{let t="",r=e;for(;r--;)t+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[64*Math.random()|0];return t},customAlphabet:(e,t)=>()=>{let r="",n=t;for(;n--;)r+=e[Math.random()*e.length|0];return r}}},42357:e=>{"use strict";e.exports=require("assert")},63129:e=>{"use strict";e.exports=require("child_process")},27619:e=>{"use strict";e.exports=require("constants")},76417:e=>{"use strict";e.exports=require("crypto")},28614:e=>{"use strict";e.exports=require("events")},35747:e=>{"use strict";e.exports=require("fs")},32282:e=>{"use strict";e.exports=require("module")},11631:e=>{"use strict";e.exports=require("net")},12087:e=>{"use strict";e.exports=require("os")},85622:e=>{"use strict";e.exports=require("path")},61765:e=>{"use strict";e.exports=require("process")},92413:e=>{"use strict";e.exports=require("stream")},33867:e=>{"use strict";e.exports=require("tty")},78835:e=>{"use strict";e.exports=require("url")},31669:e=>{"use strict";e.exports=require("util")}},__webpack_module_cache__={};function __nccwpck_require__(e){var t=__webpack_module_cache__[e];if(void 0!==t)return t.exports;var r=__webpack_module_cache__[e]={id:e,loaded:!1,exports:{}},n=!0;try{__webpack_modules__[e].call(r.exports,r,r.exports,__nccwpck_require__),n=!1}finally{n&&delete __webpack_module_cache__[e]}return r.loaded=!0,r.exports}__nccwpck_require__.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return __nccwpck_require__.d(t,{a:t}),t},__nccwpck_require__.d=(e,t)=>{for(var r in t)__nccwpck_require__.o(t,r)&&!__nccwpck_require__.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},__nccwpck_require__.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),__nccwpck_require__.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},__nccwpck_require__.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),void 0!==__nccwpck_require__&&(__nccwpck_require__.ab=__dirname+"/");var __webpack_exports__={};(()=>{"use strict";__nccwpck_require__.r(__webpack_exports__);var e=__nccwpck_require__(32282),t=__nccwpck_require__.n(e),r=__nccwpck_require__(85622),n=__nccwpck_require__.n(r),i=__nccwpck_require__(35747),o=__nccwpck_require__.n(i),s=__nccwpck_require__(49493);function a(e={}){return s.ResolverFactory.createResolver(Object.assign({fileSystem:new s.CachedInputFileSystem(i,4e3),useSyncFileSystemCalls:!0,conditionNames:["node","require"]},e))}let l=a();function c(e,t){if(t.startsWith("\\\\"))return t;let r=l.resolveSync({},e,t);if(!1===r)throw Error();return r.replace(/\0#/g,"#")}var u=__nccwpck_require__(82481),p=__nccwpck_require__.n(u);process.env.TAILWIND_MODE="build",process.env.TAILWIND_DISABLE_TOUCH="true";let h=t()._resolveFilename;t()._resolveFilename=(e,t)=>p().includes(e)?h(e,t):c(r.dirname(t.id),e);var d=__nccwpck_require__(81734),f=__nccwpck_require__(26937),g=__nccwpck_require__(64480);function m(e,t,r=!0){return t?`${e}: ${function(e,t=!0){if(e instanceof Error){let r=e;return`${r.message}${t?"\n"+r.stack:""}`}return"string"==typeof e?e:e.toString()}(t,r)}`:e}function v(e,t,r="Tailwind CSS"){console.error(m(r,t)),t instanceof y||e.sendNotification("@/tailwindCSS/error",{message:m(r,t,!1)})}function y(e){this.name="SilentError",this.message=e,this.stack=(new Error).stack}y.prototype=new Error;var b=__nccwpck_require__(83875),w=__nccwpck_require__.n(b),_=__nccwpck_require__(4448),x=__nccwpck_require__.n(_),k=__nccwpck_require__(12087),S=__nccwpck_require__(2885),E=__nccwpck_require__.n(S),C=__nccwpck_require__(26944),T=__nccwpck_require__.n(C);const A={"@tailwindcss/aspect-ratio":{module:__nccwpck_require__(63672),version:__nccwpck_require__(7606).i8},"@tailwindcss/forms":{module:__nccwpck_require__(68258),version:__nccwpck_require__(93895).i8},"@tailwindcss/line-clamp":{module:__nccwpck_require__(91104),version:__nccwpck_require__(14756).i8},"@tailwindcss/typography":{module:__nccwpck_require__(67913),version:__nccwpck_require__(17833).i8}};let R=Object.assign(Object.assign({},A),{"tailwindcss/colors":__nccwpck_require__(32600),"tailwindcss/defaultConfig":__nccwpck_require__(64855),"tailwindcss/defaultTheme":__nccwpck_require__(28230),"tailwindcss/resolveConfig":__nccwpck_require__(60362),"tailwindcss/plugin":__nccwpck_require__(31108)});class O{constructor(e,r){if(this.cache={},this.deps=[],this._unhooked=!1,this._origRequire=t().prototype.require,"function"!=typeof t()._resolveFilename)throw new Error(`Error: Expected Module._resolveFilename to be a function (was: ${typeof t()._resolveFilename}) - aborting!`);let n=this,i={};this._require=t().prototype.require=function(o){if(n._unhooked)return n._origRequire.apply(this,arguments);let s;if(R.hasOwnProperty(o))try{s=t()._resolveFilename(o,this)}catch(e){return R[o].module||R[o]}else s=t()._resolveFilename(o,this);if(n.cache.hasOwnProperty(s))return n.cache[s];let a=i[s];a||(i[s]=!0);let l=n._origRequire.apply(this,arguments);return s!==e||a?l:(delete i[s],n.cache.hasOwnProperty(s)||(n.cache[s]=l,n.cache[s]=r(l)),n.cache[s])}}unhook(){this._unhooked=!0,this._require===t().prototype.require&&(t().prototype.require=this._origRequire)}}var P=__nccwpck_require__(19618),I=__nccwpck_require__.n(P),M=__nccwpck_require__(44627),D=__nccwpck_require__.n(M),j=__nccwpck_require__(73531),N=__nccwpck_require__.n(j),L=__nccwpck_require__(56536),F=__nccwpck_require__.n(L),q=__nccwpck_require__(95971),$=__nccwpck_require__(51571),B=__nccwpck_require__.n($),z=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}l((n=n.apply(e,t||[])).next())}))};function U(e){return"atrule"===e.type}function W(e){if(0===e.length)return null;const t=B().selector({value:""});for(let r=0;r-1!==t.indexOf(e))}function V(e,t,r){const n=Object.keys(r);for(let i=0;i{if("comment"===e.type){let t=e.text.trim().match(/^__tw_intellisense_layer_([a-z]+)__$/);if(null===t)return;return n=t[1],void e.remove()}if("rule"!==e.type)return;const i=e,o=function(e){const t=[],{nodes:r}=B()().astSync(e);for(let e=0;e{s[e.prop]?s[e.prop]=[...Array.isArray(s[e.prop])?s[e.prop]:[s[e.prop]],e.value]:s[e.prop]=e.value});let a=i;const l=[];for(;"root"!==a.parent.type;)a=a.parent,U(a)&&l.push(`@${a.name} ${a.params}`);for(let e=0;e"&"+e));for(let e=0;er.indexOf(e)===t)}function te(e){return Array.isArray(e)?e:[e]}function re(e){return[].concat.apply([],e)}function ne(e,t){if(e===t)return!0;if(e.length!==t.length)return!1;let r=e.concat().sort(),n=t.concat().sort();for(let e=0;e"function"==typeof e[t]?"ƒ":r})}function ce(e,t,{tabSize:r=2,showPixelEquivalents:n=!1,rootFontSize:i=16}={}){if(!0!==t.__rule&&!Array.isArray(t))return null;if(Array.isArray(t)){const o=t.map(t=>ce(e,t,{tabSize:r,showPixelEquivalents:n,rootFontSize:i})).filter(Boolean);return 0===o.length?null:o.join("\n\n")}let o="";const s=" ".repeat(r),a=ae(t,"__context",[]),l=Object.keys(J(t));if(0===l.length)return null;for(let e=0;e`${e}${0===o?"":"\n"}${te(t[r]).map(e=>{const t=n?ie(e,i):void 0;return`${c+s}${r}: ${e}${t?`/* ${t} */`:""};`}).join("\n")}`,"");o+=`${c}${function(e,t){const r=t.__pseudo.join("");return`${t.__scope?t.__scope+" ":""}.${Z()(e)}${r}`}(e,t)} {\n${u}\n${c}}`;for(let e=a.length-1;e>=0;e--)o+=s.repeat(e)+"\n}";return o}const ue=["aspnetcorerazor","astro","astro-markdown","blade","django-html","edge","ejs","erb","gohtml","GoHTML","haml","handlebars","hbs","html","HTML (Eex)","HTML (EEx)","html-eex","jade","leaf","liquid","markdown","mdx","mustache","njk","nunjucks","phoenix-heex","php","razor","slim","twig"],pe=["css","less","postcss","sass","scss","stylus","sugarss"],he=["javascript","javascriptreact","reason","rescript","typescript","typescriptreact"];function de(e,t){const r=Object.keys(e.editor.userLanguages).filter(t=>ue.includes(e.editor.userLanguages[t]));return-1!==[...ue,...r].indexOf(t.languageId)}function fe(e){return"vue"===e.languageId}function ge(e){return"svelte"===e.languageId}function me(e,t,r){let n=t.getText({start:{line:0,character:0},end:r});return!(!de(e,t)||ve(n,["script","style"]))||(fe(t)?ve(n,["template"]):!!ge(t)&&!ve(n,["script","style"]))}function ve(e,t){let r,n=0,i=0,o=Array.isArray(t)?t:[t],s=new RegExp(`<(?/?)(?:${o.join("|")})(?:\\s[^>]*[^/]>|\\s*>)`,"ig");for(;null!==(r=s.exec(e));)r.groups.slash?i+=1:n+=1;return n>0&&n>i}function ye(e,t){const r=Object.keys(e.editor.userLanguages).filter(t=>he.includes(e.editor.userLanguages[t]));return-1!==[...he,...r].indexOf(t.languageId)}function be(e,t,r){if(ye(e,t))return!0;let n=t.getText({start:{line:0,character:0},end:r});return!(!de(e,t)||!ve(n,["script"]))||!(!fe(t)&&!ge(t))&&ve(n,["script"])}function we(e,t){const r=Object.keys(e.editor.userLanguages).filter(t=>pe.includes(e.editor.userLanguages[t]));return-1!==[...pe,...r].indexOf(t.languageId)}function _e(e,t,r){if(we(e,t))return!0;if(de(e,t)||fe(t)||ge(t)||ye(e,t)){return ve(t.getText({start:{line:0,character:0},end:r}),["style"])}return!1}var xe=__nccwpck_require__(59897),ke=__nccwpck_require__.n(xe);function Se(e,t){return e.line===t.start.line&&e.character>=t.start.character?!(e.line===t.end.line&&e.character>t.end.character):e.line===t.end.line&&e.character<=t.end.character?!(e.line===t.start.line&&e.charactert.start.line&&e.line{let t=!1,r=null;const n=function(){return t||(r=e.apply(this,arguments),t=!0),r};return n.isLazy=!0,n},Ae=()=>({doubleClassList:{lbrace:{match:new RegExp("(?{let e=!0;try{new RegExp("(?{let e=!0;try{new RegExp("(?<(?template|style|script)\b[^>]*>).*?(?<\/\k>|$)/gis,e),n=[],i=[];for(let t=0;t]*[^\/]>|\s*>)).*?(?<\/style>|$)/gis,e),n=[],i=[],o=0;for(let t=0;te.substr(0,e.length-2)),"g"));let a=1+o.filter(e=>es.execForGroup(e,a)}}var Ne=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}l((n=n.apply(e,t||[])).next())}))};const Le=__nccwpck_require__(44627);function Fe(e,t){let r,n=[];for(;null!==(r=e.exec(t));)n.push(Object.assign({},r));return n}function qe({classList:e,range:t,important:r}){const n=e.split(/(\s+)/),i=[];let o=0;for(let s=0;s[^;}]+?)(?\s*!important)?\s*[;}]/g,r),i=t?t.start:{line:0,character:0};return n.map(e=>{const t=Ge(r,e.index+e[1].length),n=Ge(r,e.index+e[1].length+e.groups.classList.length);return{classList:e.groups.classList,important:Boolean(e.groups.important),range:{start:{line:i.line+t.line,character:(0===n.line?i.character:0)+t.character},end:{line:i.line+n.line,character:(0===n.line?i.character:0)+n.character}}}})}function ze(e,t,r){return Ne(this,void 0,void 0,(function*(){const n=yield e.editor.getConfiguration(t.uri),i=Le(n,"tailwindCSS.experimental.classRegex",[]);if(!Array.isArray(i)||0===i.length)return[];const o=t.getText(r),s=[];for(let e=0;e"string"==typeof e).flatMap(e=>[e,`\\[${e}\\]`]);return Fe(new RegExp(/(?:\s|:|\()(ATTRS)\s*=\s*['"`{]/.source.replace("ATTRS",r.join("|")),"gi"),e)}function We(e,t,r){return Ne(this,void 0,void 0,(function*(){const n=t.getText(r),i=Ue(n,(yield e.editor.getConfiguration(t.uri)).tailwindCSS.classAttributes),o=[];return i.forEach(e=>{const t=n.substr(e.index+e[0].length-1);let i=":"===e[0][0]||e[1].startsWith("[")&&e[1].endsWith("]")?Pe():Oe();i.reset(t);let s,a=[];try{for(let e of i)"classlist"===e.type?s?s.value+=e.value:s={value:e.value,offset:e.offset}:(s&&a.push({value:s.value,offset:s.offset}),s=void 0)}catch(e){}s&&a.push({value:s.value,offset:s.offset}),o.push(...a.map(({value:t,offset:i})=>{if(""===t.trim())return null;const o=t.match(/^\s*/),s=null===o?0:o[0].length,a=t.match(/\s*$/),l=null===a?0:-a[0].length,c=Ge(n,e.index+e[0].length-1+i+s),u=Ge(n,e.index+e[0].length-1+i+t.length+l);return{classList:t.substr(s,t.length+l),range:{start:{line:((null==r?void 0:r.start.line)||0)+c.line,character:(0===u.line&&(null==r?void 0:r.start.character)||0)+c.character},end:{line:((null==r?void 0:r.start.line)||0)+u.line,character:(0===u.line&&(null==r?void 0:r.start.character)||0)+u.character}}}}).filter(e=>null!==e))}),o}))}function He(e,t){return Ne(this,void 0,void 0,(function*(){if(we(e,t))return Be(t);let r=Ie(e,t);return r?re([...yield Promise.all(r.html.map(r=>We(e,t,r))),...r.css.map(e=>Be(t,e)),yield ze(e,t)]):[]}))}function Ve(e,t){const r=e.getText(t);return Fe(/(?^|\s)(?theme|config)\((?:(?')([^']+)'|(?")([^"]+)")\)/gm,r).map(e=>{let n=e[4]||e[6],i=e.index+e.groups.before.length;return{full:e[0].substr(e.groups.before.length),value:n,helper:"theme"===e.groups.helper?"theme":"config",quotes:e.groups.single?"'":'"',range:Me({start:Ge(r,i),end:Ge(r,e.index+e[0].length)},t),valueRange:Me({start:Ge(r,i+e.groups.helper.length+1),end:Ge(r,i+e.groups.helper.length+1+1+n.length+1)},t)}})}function Ge(e,t){const{line:r,col:n}=ke()(e+"\n",t);return{line:r-1,character:n-1}}function Ye(e){let t=function(e,r,n){if(e||r)return r?(t(e+r[0],r.slice(1),n),t(e,r.slice(1),n)):n.push(e),n};return t("",e,[])}const Ke=__nccwpck_require__(44627);function Qe(e,t){let r=e.separator,n=(t=t.replace(/^\./,"")).split(r);return 1===n.length?!0===Ke(e.classNames.classNames,[t,"__info","__rule"])||Array.isArray(Ke(e.classNames.classNames,[t,"__info"]))?[t]:null:[[t],...Ye("123456789".substr(0,n.length-1)).map(e=>e.split("").map(e=>parseInt(e,10))).map(e=>{let t=[],r=0;return e.forEach(e=>{t.push(n.slice(r,e).join("-")),r=e}),t.push(n.slice(r).join("-")),t})].find(t=>!(!0!==Ke(e.classNames.classNames,[...t,"__info","__rule"])&&!Array.isArray(Ke(e.classNames.classNames,[...t,"__info"]))))}const Je=__nccwpck_require__(44627);function Xe(e,t){const r=Array.isArray(t)?t:Qe(e,t);if(!r)return null;const n=Je(e.classNames.classNames,[...r,"__info"]);return Array.isArray(n)?n.map(e=>({source:e.__source,pseudo:e.__pseudo,scope:e.__scope,context:e.__context})):{source:n.__source,pseudo:n.__pseudo,scope:n.__scope,context:n.__context}}const Ze=__nccwpck_require__(44627);function et(e,t){return e.featureFlags.future.includes(t)?"all"===e.config.future||Ze(e.config,["future",t],!1):!!e.featureFlags.experimental.includes(t)&&("all"===e.config.experimental||Ze(e.config,["experimental",t],!1))}function tt(e,t){if(e.jit)return{isApplyable:!0};const r=Xe(e,t);if(!r)return null;if(I().gte(e.version,"2.0.0-alpha.1")||et(e,"applyComplexClasses"))return{isApplyable:!0};const n=Array.isArray(t)?t.join(e.separator):t;let i;return Array.isArray(r)?i=`'@apply' cannot be used with '${n}' because it is included in multiple rulesets.`:"utilities"!==r.source?i=`'@apply' cannot be used with '${n}' because it is not a utility.`:r.context&&r.context.length>0?i=1===r.context.length?`'@apply' cannot be used with '${n}' because it is nested inside of an at-rule ('${r.context[0]}').`:`'@apply' cannot be used with '${n}' because it is nested inside of at-rules (${r.context.map(e=>`'${e}'`).join(", ")}).`:r.pseudo&&r.pseudo.length>0&&(i=1===r.pseudo.length?`'@apply' cannot be used with '${n}' because its definition includes a pseudo-selector ('${r.pseudo[0]}')`:`'@apply' cannot be used with '${n}' because its definition includes pseudo-selectors (${r.pseudo.map(e=>`'${e}'`).join(", ")}).`),i?{isApplyable:!1,reason:i}:{isApplyable:!0}}var rt,nt=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}l((n=n.apply(e,t||[])).next())}))};function it(e){return(e>0n)-(e<0n)}function ot(e,t){let r=e.modules.jit.generateRules.module(new Set(t),e.jitContext).sort(([e],[t])=>it(e-t)),n=e.modules.postcss.module.root({nodes:r.map(([,e])=>e)});e.modules.jit.expandApplyAtRules.module(e.jitContext)(n);let i=[];return n.walkRules(e=>{i.push(e)}),{root:n,rules:i}}function st(e,t,r){return nt(this,void 0,void 0,(function*(){let n=yield e.editor.getConfiguration(r),i=D()(n,"editor.tabSize",2),o=D()(n,"tailwindCSS.showPixelEquivalents",!0),s=D()(n,"tailwindCSS.rootFontSize",16),a=t.clone();return a.walkAtRules("defaults",e=>{e.remove()}),o&&a.walkDecls(e=>{let t=ie(e.value,s);t&&(e.value=`${e.value}/* ${t} */`)}),a.toString().replace(/([^;{}\s])(\n\s*})/g,(e,t,r)=>`${t};${r}`).replace(/^(?: )+/gm,e=>" ".repeat(e.length/4*i))}))}function at(e,t,r,n){return e.modules.postcssSelectorParser.module(e=>{e.walkClasses(e=>{e.value===r&&(e.value=n)})}).processSync(t)}function lt(e,t,r){let n=[at(e,t.selector,r,"__placeholder__")],i=t;for(;i.parent&&"root"!==i.parent.type;)i=i.parent,"atrule"===i.type&&n.unshift(`@${i.name} ${i.params}`);return n}!function(e){e.CssConflict="cssConflict",e.InvalidApply="invalidApply",e.InvalidScreen="invalidScreen",e.InvalidVariant="invalidVariant",e.InvalidConfigPath="invalidConfigPath",e.InvalidTailwindDirective="invalidTailwindDirective",e.RecommendedVariantOrder="recommendedVariantOrder"}(rt||(rt={}));let ct=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ut=/\\(\\)?/g;function pt(e){let t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(ct,(e,r,n,i)=>{t.push(n?i.replace(ut,"$1"):r||e)}),t}var ht=__nccwpck_require__(40945),dt=__nccwpck_require__.n(ht);function ft(e,t){return t.concat([]).sort((t,r)=>dt()(e,t)-dt()(e,r))[0]}function gt(e,t){return{start:{line:((null==t?void 0:t.start.line)||0)+e.start.line,character:(0===e.end.line&&(null==t?void 0:t.start.character)||0)+e.start.character},end:{line:((null==t?void 0:t.start.line)||0)+e.end.line,character:(0===e.end.line&&(null==t?void 0:t.start.character)||0)+e.end.character}}}const mt=__nccwpck_require__(44627);function vt(e){return"string"==typeof e?e:e.reduce((e,t,r)=>0===r?t:t.includes(".")?`${e}[${t}]`:`${e}.${t}`,"")}function yt(e,t,r=[]){let n=Array.isArray(t)?t:pt(t),i=mt(e.config,[...r,...n]),o=[];function s(){return Ye("123456789".substr(0,n.length-1)).map(e=>e.split("").map(e=>parseInt(e,10))).map(e=>{let t=[],r=0;return e.forEach(e=>{t.push(n.slice(r,e).join(".")),r=e}),t.push(n.slice(r).join(".")),t}).slice(1).find(t=>yt(e,t,r).isValid)}if(void 0===i){let i=`'${vt(t)}' does not exist in your theme config.`,a=[...r,...n.slice(0,n.length-1)],l=mt(e.config,a);if(Q(l)){let t=ft(n[n.length-1],Object.keys(l).filter(t=>yt(e,[...a,t]).isValid));t&&(o.push(vt([...n.slice(0,n.length-1),t])),i+=` Did you mean '${o[0]}'?`)}else{let e=s();if(e)return{isValid:!1,reason:`${i} Did you mean '${vt(e)}'?`,suggestions:[vt(e)]}}return{isValid:!1,reason:i,suggestions:o}}if(!("string"==typeof i||"number"==typeof i||i instanceof String||i instanceof Number||Array.isArray(i)||"function"==typeof i)){let s=`'${vt(t)}' was found but does not resolve to a valid theme value.`;if(Q(i)){let t=Object.keys(i).filter(t=>yt(e,[...n,t],r).isValid);t.length&&(o.push(...t.map(e=>vt([...n,e]))),s+=` Did you mean something like '${o[0]}'?`)}return{isValid:!1,reason:s,suggestions:o}}let a=!0;for(let t=n.length-1;t>=0;t--){let i=n[t],o=mt(e.config,[...r,...n.slice(0,t)]);if(/^[0-9]+$/.test(i)){if(!Q(o)&&!Array.isArray(o)){a=!1;break}}else if(!Q(o)){a=!1;break}}if(!a){let e=`'${vt(t)}' does not exist in your theme config.`,r=s();return r?{isValid:!1,reason:`${e} Did you mean '${vt(r)}'?`,suggestions:[vt(r)]}:{isValid:!1,reason:e,suggestions:[]}}return{isValid:!0,value:i}}function bt(e,t,r){let n=r.tailwindCSS.lint.invalidConfigPath;if("ignore"===n)return[];let i=[],o=[];if(we(e,t))o.push(void 0);else{let r=Ie(e,t);if(!r)return[];o.push(...r.css)}return o.forEach(r=>{let o=t.getText(r);Fe(/(?\s|^)(?config|theme)\((?['"])(?[^)]+)\k\)/g,o).forEach(t=>{let s="theme"===t.groups.helper?["theme"]:[],a=yt(e,t.groups.key,s);if(!0===a.isValid)return null;let l=t.index+t.groups.prefix.length+t.groups.helper.length+1+t.groups.quote.length;i.push({code:rt.InvalidConfigPath,range:gt({start:Ge(o,l),end:Ge(o,l+t.groups.key.length)},r),severity:"error"===n?1:2,message:a.reason,suggestions:a.suggestions})})}),i}var wt=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}l((n=n.apply(e,t||[])).next())}))};const _t=__nccwpck_require__(44627);function xt(e,t,r){return wt(this,void 0,void 0,(function*(){return(yield function(e,t,r){return wt(this,void 0,void 0,(function*(){let n=yield function(e,t,r){return Ne(this,void 0,void 0,(function*(){let n=[];const i=t.offsetAt(r),o={start:t.positionAt(Math.max(0,i-1e3)),end:t.positionAt(i+1e3)};if(_e(e,t,r)?n=yield $e(e,t,o,"css"):(me(e,t,r)||be(e,t,r))&&(n=yield $e(e,t,o,"html")),0===n.length)return null;const s=n.find(({range:e})=>Se(r,e));return s||null}))}(e,t,r);if(null===n)return null;if(e.jit){let{root:r,rules:i}=ot(e,[n.className]);return 0===i.length?null:{contents:{language:"css",value:yield st(e,r,t.uri)},range:n.range}}const i=Qe(e,n.className);if(!i)return null;if(_e(e,t,r)){let t=tt(e,i);if(null===t||!1===t.isApplyable)return null}const o=yield e.editor.getConfiguration(t.uri),s=ce(n.className,_t(e.classNames.classNames,[...i,"__info"]),{tabSize:_t(o,"editor.tabSize",2),showPixelEquivalents:_t(o,"tailwindCSS.showPixelEquivalents",!0),rootFontSize:_t(o,"tailwindCSS.rootFontSize",16)});return s?{contents:{language:"css",value:s},range:n.range}:null}))}(e,t,r))||function(e,t,r){if(!_e(e,t,r))return null;const n=t.getText({start:{line:r.line,character:0},end:{line:r.line+1,character:0}}).match(/(?theme|config)\((?['"])(?[^)]+)\k\)/);if(null===n)return null;const i=n.index+n.groups.helper.length+2,o=i+n.groups.key.length;if(r.character=o)return null;let s=n.groups.key.split(/(\[[^\]]+\]|\.)/).filter(Boolean).filter(e=>"."!==e).map(e=>e.replace(/^\[([^\]]+)\]$/,"$1"));if(0===s.length)return null;"theme"===n.groups.helper&&(s=["theme",...s]);const a=yt(e,s).isValid?le(_t(e.config,s)):null;return null===a?null:{contents:{kind:"markdown",value:["```plaintext",a,"```"].join("\n")},range:{start:{line:r.line,character:i},end:{line:r.line,character:o}}}}(e,t,r)}))}var kt=__nccwpck_require__(66434),St=__nccwpck_require__(78679),Et=__nccwpck_require__.n(St);const Ct=__nccwpck_require__(44627),Tt=["accent-color","caret-color","color","column-rule-color","background-color","border-color","border-top-color","border-right-color","border-bottom-color","border-left-color","fill","outline-color","stop-color","stroke","text-decoration-color"];function At(e){if("string"!=typeof e)return null;let t=e.toLowerCase();return"transparent"===t?"transparent":"currentcolor"===t?"currentColor":null}const Rt=new RegExp(`(?:^|\\s|\\(|,)(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\\((-?[\\d.]+%?(\\s*[,/]\\s*|\\s+)+){2,3}\\s*([\\d.]+%?|var\\([^)]+\\))?\\)|transparent|currentColor|${Object.keys(Et()).join("|")})(?:$|\\s|\\)|,)`,"gi");function Ot(e){return/(?:box|drop)-shadow/.test(e)?[]:Array.from(e.matchAll(Rt),e=>{var t;let r=e[1].replace(/var\([^)]+\)/,"1");return null!==(t=At(r))&&void 0!==t?t:kt.parse(r)}).filter(Boolean)}function Pt(e){let t=Object.keys(e).filter(t=>"content"!==t||'""'!==e[t]&&"''"!==e[t]&&"var(--tw-content)"!==e[t]);if(0===t.length)return null;const r=t.filter(e=>!e.startsWith("--")),n=0===r.length;if(!n&&r.some(e=>!Tt.includes(e)))return null;const i=(n?t:r).flatMap(t=>te(e[t]).flatMap(Ot)),o=ee(i.map(e=>"string"==typeof e?e:kt.formatRgb(Object.assign(Object.assign({},e),{alpha:void 0}))));if(1!==o.length)return null;let s=At(o[0]);if(s)return s;const a=i.filter(e=>"string"!=typeof e),l=ee(a.map(e=>{var t;return null!==(t=e.alpha)&&void 0!==t?t:1}));return 1===l.length?a[0]:2===l.length&&l.includes(0)?a.find(e=>{var t;return 0!==(null!==(t=e.alpha)&&void 0!==t?t:1)}):null}function It(e,t){if(e.jit){if(e.classNames){const r=Ct(e.classNames.classNames,[t,"__info"]);if(r&&r.__rule)return Pt(J(r))}let{root:r,rules:n}=ot(e,[t]);if(0===n.length)return null;let i={};return r.walkDecls(e=>{let t=i[e.prop];t?Array.isArray(t)?t.push(e.value):i[e.prop]=[t,e.value]:i[e.prop]=e.value}),Pt(i)}let r=Qe(e,t);if(!r)return null;const n=Ct(e.classNames.classNames,[...r,"__info"]);return n.__rule?Pt(J(n)):null}function Mt(e){if("string"!=typeof e)return null;const t=e.trim();if("transparent"===t.toLowerCase())return"transparent";if("currentcolor"===t.toLowerCase())return"currentColor";if(!/^\s*(?:rgba?|hsla?)\s*\([^)]+\)\s*$/.test(t)&&!/^\s*#[0-9a-f]+\s*$/i.test(t)&&!Object.keys(Et()).includes(t))return null;const r=kt.parse(t);return null!=r?r:null}let Dt=kt.converter("rgb");function jt(e){var t;let r=Dt(e);return{red:r.r,green:r.g,blue:r.b,alpha:null!==(t=r.alpha)&&void 0!==t?t:1}}function Nt(e){if(!e)return;if("string"==typeof e)return`@media (min-width: ${e})`;if(function(e){return Q(e)&&void 0!==e.raw}(e))return"@media "+e.raw;let t=(Array.isArray(e)?e:[e]).map(e=>["string"==typeof e.min?`(min-width: ${e.min})`:null,"string"==typeof e.max?`(max-width: ${e.max})`:null].filter(Boolean).join(" and ")).join(", ");return t?"@media "+t:void 0}var Lt=__nccwpck_require__(56235);function Ft(e){return("00000000"+e).substr(-8)}function qt(e){return("string"==typeof e?e:e.toString()).replace(/\d+/g,Ft)}function $t(e,t){let r=0,n="https://tailwindcss-v0.netlify.app/docs/";return I().gte(e,"0.99.0")&&(r=1,n="https://v1.tailwindcss.com/docs/"),I().gte(e,"1.99.0")&&(r=2,n="https://tailwindcss.com/docs/"),`${n}${Array.isArray(t)?t[r]||t[t.length-1]:t}`}function Bt(e,t){let r=t,n=Object.keys(e.variants).sort((e,t)=>t.length-e.length),i=new Set,o=0;for(;r;){let t=!1;for(let s of n)if(r.startsWith(s+e.separator)){i.add(s),r=r.substr(s.length+e.separator.length),o+=s.length+e.separator.length,t=!0;break}t||(r="")}return{variants:Array.from(i),offset:o}}var zt=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}l((n=n.apply(e,t||[])).next())}))};const Ut=__nccwpck_require__(44627);function Wt(e,t,r,n,i,o){let s=t.split(/[\s+]/);const a=s[s.length-1];let l,c=e.separator,u=a.split(c),p=[],h=!1,d=Object.assign(Object.assign({},r),{start:Object.assign(Object.assign({},r.start),{character:r.end.character-a.length})});if(e.jit){if(o&&(1===o.triggerKind||2===o.triggerKind&&"/"===o.triggerCharacter)&&a.includes("/")){let t=a.split("/").slice(0,-1).join("/"),r=t+"/[0]",{rules:n}=ot(e,[r]);if(n.length>0){let r=Ut(e.config,"theme.opacity",{});return Q(r)||(r={}),{isIncomplete:!1,items:Object.keys(r).map((r,n)=>{var i;let o=`${t}/${r}`,s=21,a=null;const l=It(e,o);return null!==l&&(s=16,"string"!=typeof l&&0!==(null!==(i=l.alpha)&&void 0!==i?i:1)&&(a=kt.formatRgb(l))),{label:o,documentation:a,kind:s,sortText:qt(n),data:[o],textEdit:{newText:o,range:d}}})}}}let t=Object.keys(e.variants),{variants:i,offset:s}=Bt(e,a);d.start.character+=s;let l=a.substr(s).startsWith("!");l&&(d.start.character+=1);let u=[];if(!l){let n=!I().gte(e.version,"2.99.0");u.push(...Object.entries(e.variants).filter(([e])=>!i.includes(e)).map(([e,o],s)=>{let l=[...i,e];return n&&(l=l.sort((e,r)=>t.indexOf(r)-t.indexOf(e))),{label:e+c,kind:9,detail:o,data:"variant",command:{title:"",command:"editor.action.triggerSuggest"},sortText:"-"+qt(s),textEdit:{newText:l[l.length-1]+c,range:d},additionalTextEdits:n&&l.length>1?[{newText:l.slice(0,l.length-1).join(c)+c,range:{start:Object.assign(Object.assign({},r.start),{character:r.end.character-a.length}),end:Object.assign(Object.assign({},d.start),{character:d.start.character})}}]:[]}}))}return e.classList?{isIncomplete:!1,items:u.concat(e.classList.map(([e,{color:t}],r)=>{let n=t?16:21,o=null;return t&&"string"!=typeof t&&(o=kt.formatRgb(t)),{label:e,kind:n,documentation:o,sortText:qt(r),data:[...i,l?"!"+e:e],textEdit:{newText:e,range:d}}}))}:{isIncomplete:!1,items:u.concat(Object.keys(e.classNames.classNames).filter(t=>{let r=e.classNames.classNames[t];return 0===i.length?r.__info:r.__info&&(e=>Array.isArray(e.__info)?e.__info.some(e=>"utilities"===e.__source):"utilities"===e.__info.__source)(r)}).map((t,r)=>{var n;let o=21,s=null;const a=It(e,t);return null!==a&&(o=16,"string"!=typeof a&&0!==(null!==(n=a.alpha)&&void 0!==n?n:1)&&(s=kt.formatRgb(a))),{label:t,kind:o,documentation:s,sortText:qt(r),data:[...i,l?"!"+t:t],textEdit:{newText:t,range:d}}})).filter(e=>null!==e&&!(n&&!n(e)))}}for(let t=u.length-1;t>0;t--){let r=u.slice(0,t).filter(Boolean);if(l=Ut(e.classNames.classNames,r),void 0!==l&&void 0===Ut(l,["__info","__rule"])){h=!0,p=r,d=Object.assign(Object.assign({},d),{start:Object.assign(Object.assign({},d.start),{character:d.start.character+r.join(c).length+c.length})});break}}return{isIncomplete:!1,items:Object.keys(h?l:e.classNames.classNames).filter(e=>"__info"!==e).filter(t=>function(e,t){const r=Ut(e.classNames.classNames,[t]);if(!Q(r))return!1;if(!e.classNames.context[t[t.length-1]])return!1;if(Object.keys(r).filter(e=>"__info"!==e).length>0)return!0;return Q(r.__info)&&!r.__info.__rule}(e,[...p,t])).map((e,t)=>({label:e+c,kind:9,documentation:null,command:{title:"",command:"editor.action.triggerSuggest"},sortText:"-"+qt(t),data:[...p,e],textEdit:{newText:e+c,range:d}})).concat(Object.keys(h?l:e.classNames.classNames).filter(t=>Ut(e.classNames.classNames,[...p,t,"__info"])).map((t,r)=>{var n;let i=21,o=null;const s=It(e,t);return null!==s&&(i=16,"string"!=typeof s&&0!==(null!==(n=s.alpha)&&void 0!==n?n:1)&&(o=kt.formatRgb(s))),{label:t,kind:i,documentation:o,sortText:qt(r),data:[...p,t],textEdit:{newText:t,range:d}}})).filter(e=>null!==e&&!(n&&!n(e)))}}function Ht(e,t,r){const n=function(e,t){const r=Fe(e,t);return 0===r.length?null:r[r.length-1]}(/@apply\s+(?[^;}]*)$/gi,t.getText({start:{line:Math.max(r.line-30,0),character:0},end:r}));if(null===n)return null;const i=n.groups.classList;return Wt(e,i,{start:{line:r.line,character:r.character-i.length},end:r},t=>{if(9===t.kind)return I().gte(e.version,"2.0.0-alpha.1")||et(e,"applyComplexClasses");let r=tt(e,t.data);return null!==r&&!0===r.isApplyable})}function Vt(e,t,r,n){return zt(this,void 0,void 0,(function*(){return _e(e,t,r)?Ht(e,t,r):me(e,t,r)||be(e,t,r)?function(e,t,r,n){return zt(this,void 0,void 0,(function*(){let i=t.getText({start:t.positionAt(Math.max(0,t.offsetAt(r)-1e3)),end:r}),o=Ue(i,(yield e.editor.getConfiguration(t.uri)).tailwindCSS.classAttributes);if(0===o.length)return null;let s=o[o.length-1];const a=":"===s[0][0]||s[1].startsWith("[")&&s[1].endsWith("]")?Pe():Oe();a.reset(i.substr(s.index+s[0].length-1));try{let t=Array.from(a),i=t[t.length-1];if(i.type.startsWith("start")||"classlist"===i.type){let i="";for(let e=t.length-1;e>=0&&"classlist"===t[e].type;e--)i=t[e].value+i;return Wt(e,i,{start:{line:r.line,character:r.character-i.length},end:r},void 0,0,n)}}catch(e){}return null}))}(e,t,r,n):null}))}function Gt(e,t,r,n){return zt(this,void 0,void 0,(function*(){if(null===e)return{items:[],isIncomplete:!1};const i=(yield Vt(e,t,r,n))||function(e,t,r){if(!_e(e,t,r))return null;let n=t.getText({start:{line:r.line,character:0},end:{line:r.line,character:r.character+1}});const i=n.substr(0,n.length-1).match(/\b(?config|theme)\(['"](?[^'"]*)$/);if(null===i)return null;let o,s="config"===i.groups.helper?e.config:Ut(e.config,"theme",{}),a=i.groups.keys.split(/([\[\].]+)/),l=a.filter((e,t)=>t%2==0),c=a.filter((e,t)=>t%2!=0),u=0,p=c.length?c[c.length-1]:null;if(1===l.length)o=s;else for(let e=l.length-1;e>0;e--){let t=Ut(s,l.slice(0,e));if(Q(t)){o=t,h=a.slice(2*e),u=h.reduce((e,t)=>e+t.length,0),p=c[e-1];break}}var h;return o?{isIncomplete:!1,items:Object.keys(o).map((e,t)=>{var i;let s=Mt(o[e]);const a=-1!==e.indexOf(".")&&p&&p.endsWith("."),c="]"!==n.charAt(n.length-1)&&(a||p&&p.endsWith("[")),h=le(o[e]);return{label:e,filterText:`${a?".":""}${e}`,sortText:qt(t),kind:s?16:Q(o[e])?9:10,detail:"0"===h||"transparent"===h?h+" ":h,documentation:s&&"string"!=typeof s&&0!==(null!==(i=s.alpha)&&void 0!==i?i:1)?kt.formatRgb(s):null,textEdit:{newText:`${a?"[":""}${e}${c?"]":""}`,range:{start:{line:r.line,character:r.character-l[l.length-1].length-(a?1:0)-u},end:r}},data:"helper"}})}:null}(e,t,r)||function(e,t,r){if(!_e(e,t,r))return null;const n=t.getText({start:{line:r.line,character:0},end:r}).match(/^\s*@(?[a-z]*)$/i);return null===n?null:{isIncomplete:!1,items:[{label:"@tailwind",documentation:{kind:"markdown",value:`Use the \`@tailwind\` directive to insert Tailwind’s \`base\`, \`components\`, \`utilities\` and \`${e.jit&&I().gte(e.version,"2.1.99")?"variants":"screens"}\` styles into your CSS.\n\n[Tailwind CSS Documentation](${$t(e.version,"functions-and-directives/#tailwind")})`}},{label:"@screen",documentation:{kind:"markdown",value:`The \`@screen\` directive allows you to create media queries that reference your breakpoints by name instead of duplicating their values in your own CSS.\n\n[Tailwind CSS Documentation](${$t(e.version,"functions-and-directives/#screen")})`}},{label:"@apply",documentation:{kind:"markdown",value:`Use \`@apply\` to inline any existing utility classes into your own custom CSS.\n\n[Tailwind CSS Documentation](${$t(e.version,"functions-and-directives/#apply")})`}},...I().gte(e.version,"1.8.0")?[{label:"@layer",documentation:{kind:"markdown",value:`Use the \`@layer\` directive to tell Tailwind which "bucket" a set of custom styles belong to. Valid layers are \`base\`, \`components\`, and \`utilities\`.\n\n[Tailwind CSS Documentation](${$t(e.version,"functions-and-directives/#layer")})`}}]:[],...I().gte(e.version,"2.99.0")?[]:[{label:"@variants",documentation:{kind:"markdown",value:`You can generate \`responsive\`, \`hover\`, \`focus\`, \`active\`, and other variants of your own utilities by wrapping their definitions in the \`@variants\` directive.\n\n[Tailwind CSS Documentation](${$t(e.version,"functions-and-directives/#variants")})`}},{label:"@responsive",documentation:{kind:"markdown",value:`You can generate responsive variants of your own classes by wrapping their definitions in the \`@responsive\` directive.\n\n[Tailwind CSS Documentation](${$t(e.version,"functions-and-directives/#responsive")})`}}]].map(e=>Object.assign(Object.assign({},e),{kind:14,data:"directive",textEdit:{newText:e.label,range:{start:{line:r.line,character:r.character-n.groups.partial.length-1},end:r}}}))}}(e,t,r)||function(e,t,r){if(!_e(e,t,r))return null;const n=t.getText({start:{line:r.line,character:0},end:r}).match(/^\s*@screen\s+(?[^\s]*)$/i);if(null===n)return null;const i=Ut(e.config,["screens"],Ut(e.config,["theme","screens"],{}));return Q(i)?{isIncomplete:!1,items:Object.keys(i).map((e,t)=>({label:e,kind:21,data:"screen",sortText:qt(t),textEdit:{newText:e,range:{start:{line:r.line,character:r.character-n.groups.partial.length},end:r}}}))}:null}(e,t,r)||function(e,t,r){if(!_e(e,t,r))return null;if(I().gte(e.version,"2.99.0"))return null;const n=t.getText({start:{line:r.line,character:0},end:r}).match(/^\s*@variants\s+(?[^}]*)$/i);if(null===n)return null;const i=n.groups.partial.split(/\s*,\s*/);if(/\s+/.test(i[i.length-1]))return null;let o=Object.keys(e.variants);const s=i.slice(0,i.length-1);return e.jit&&(o.unshift("responsive"),o=o.filter(t=>!e.screens.includes(t))),{isIncomplete:!1,items:o.filter(e=>-1===s.indexOf(e)).map((t,n)=>({label:t,detail:e.variants[t],kind:21,data:"variant",sortText:qt(n),textEdit:{newText:t,range:{start:{line:r.line,character:r.character-i[i.length-1].length},end:r}}}))}}(e,t,r)||function(e,t,r){if(!_e(e,t,r))return null;const n=t.getText({start:{line:r.line,character:0},end:r}).match(/^\s*@tailwind\s+(?[^\s]*)$/i);return null===n?null:{isIncomplete:!1,items:[I().gte(e.version,"1.0.0-beta.1")?{label:"base",documentation:{kind:"markdown",value:`This injects Tailwind’s base styles and any base styles registered by plugins.\n\n[Tailwind CSS Documentation](${$t(e.version,"functions-and-directives/#tailwind")})`}}:{label:"preflight",documentation:{kind:"markdown",value:`This injects Tailwind’s base styles, which is a combination of Normalize.css and some additional base styles.\n\n[Tailwind CSS Documentation](${$t(e.version,"functions-and-directives/#tailwind")})`}},{label:"components",documentation:{kind:"markdown",value:`This injects Tailwind’s component classes and any component classes registered by plugins.\n\n[Tailwind CSS Documentation](${$t(e.version,"functions-and-directives/#tailwind")})`}},{label:"utilities",documentation:{kind:"markdown",value:`This injects Tailwind’s utility classes and any utility classes registered by plugins.\n\n[Tailwind CSS Documentation](${$t(e.version,"functions-and-directives/#tailwind")})`}},e.jit&&I().gte(e.version,"2.1.99")?{label:"variants",documentation:{kind:"markdown",value:`Use this directive to control where Tailwind injects the utility variants.\n\nThis directive is considered an advanced escape hatch and it is recommended to omit it whenever possible. If omitted, Tailwind will append these classes to the very end of your stylesheet by default.\n\n[Tailwind CSS Documentation](${$t(e.version,"just-in-time-mode#variants-are-inserted-at-tailwind-variants")})`}}:{label:"screens",documentation:{kind:"markdown",value:`Use this directive to control where Tailwind injects the responsive variations of each utility.\n\nIf omitted, Tailwind will append these classes to the very end of your stylesheet by default.\n\n[Tailwind CSS Documentation](${$t(e.version,"functions-and-directives/#tailwind")})`}}].map(e=>Object.assign(Object.assign({},e),{kind:21,data:"@tailwind",textEdit:{newText:e.label,range:{start:{line:r.line,character:r.character-n.groups.partial.length},end:r}}}))}}(e,t,r)||function(e,t,r){if(!_e(e,t,r))return null;const n=t.getText({start:{line:r.line,character:0},end:r}).match(/^\s*@layer\s+(?[^\s]*)$/i);return null===n?null:{isIncomplete:!1,items:["base","components","utilities"].map((e,t)=>({label:e,kind:21,data:"layer",sortText:qt(t),textEdit:{newText:e,range:{start:{line:r.line,character:r.character-n.groups.partial.length},end:r}}}))}}(e,t,r)||(yield function(e,t,r){return zt(this,void 0,void 0,(function*(){const n=yield e.editor.getConfiguration(t.uri),i=Ut(n,"tailwindCSS.experimental.classRegex",[]);if(0===i.length)return null;const o=t.offsetAt(r),s={start:t.positionAt(Math.max(0,o-1e3)),end:t.positionAt(o+1e3)};let a=t.getText(s);for(let n=0;n=i&&l<=a){let t;if(c){let e;for(c=je(c);null!==(e=c.exec(o.match));){const r=i+e.start,n=i+e.end;l>=r&&l<=n&&(t=e.match.substr(0,l-r))}if(void 0===t)throw Error()}else t=o.match.substr(0,l-i);return Wt(e,t,{start:{line:r.line,character:r.character-t.length},end:r})}}}catch(e){}return null}))}(e,t,r));return i||function(e,t,r){return zt(this,void 0,void 0,(function*(){if(!0!==(yield e.editor.getConfiguration(t.uri)).tailwindCSS.emmetCompletions)return null;const n=me(e,t,r),i=!n&&be(e,t,r),o=n?"html":i?"jsx":null;if(null===o)return null;const s=Lt.extractAbbreviation(t,r,!0);if(!s||!Lt.isAbbreviationValid(o,s.abbreviation))return null;if(!function(e,t){let r=0,n=0,i=e.getText({start:{line:r,character:n},end:{line:t.start.line,character:t.start.character}});if(i.length>500&&(i=i.substr(i.length-500)),!i.trim())return!0;let o=!0,s=!1,a=i.length-1;if("<"===i[a])return!1;for(;a>=0;){const e=i[a];if(a--,s||!/\s/.test(e))if("?"!==e||"<"!==i[a]){if(/\s/.test(e)&&"<"===i[a])a--;else if("<"===e||">"===e)if(a>=0&&"\\"===i[a])a--;else{if(">"===e){if(a>=0&&"="===i[a])continue;break}if("<"===e){o=!s;break}}}else a--;else s=!0}return o}(t,s.abbreviationRange))return null;if(i){const r=s.abbreviation;if(r.startsWith("this."))return null;const n=yield e.editor.getDocumentSymbols(t.uri);if(n&&n.find(e=>r===e.name||r.startsWith(e.name+".")&&!/>|\*|\+/.test(r)))return null}const a=Lt.doComplete(t,r,o,{});if(!a||!a.items||1!==a.items.length)return null;if("widows: ;"===a.items[0].label)return null;const l=a.items[0].label.split(".");return l.length<2?null:Wt(e,l[l.length-1],{start:{line:r.line,character:r.character-l[l.length-1].length},end:r})}))}(e,t,r)}))}function Yt(e,t){return zt(this,void 0,void 0,(function*(){if(["helper","directive","variant","layer","@tailwind"].includes(t.data))return t;if("screen"===t.data){let r=Ut(e.config,["theme","screens"],Ut(e.config,["screens"],{}));return Q(r)||(r={}),t.detail=Nt(r[t.label]),t}if(!Array.isArray(t.data))return t;if(e.jit){if(9===t.kind)return t;if(t.detail&&t.documentation)return t;let{root:r,rules:n}=ot(e,[t.data.join(e.separator)]);return 0===n.length||(t.detail||(1===n.length?t.detail=yield function(e,t,r){return nt(this,void 0,void 0,(function*(){let n=yield e.editor.getConfiguration(r),i=D()(n,"tailwindCSS.showPixelEquivalents",!0),o=D()(n,"tailwindCSS.rootFontSize",16),s=[];return t.walkDecls(({prop:e,value:t})=>{let r=i?ie(t,o):void 0;s.push(`${e}: ${t}${r?`/* ${r} */`:""};`)}),s.join(" ")}))}(e,n[0]):t.detail=n.length+" rules"),t.documentation||(t.documentation={kind:"markdown",value:["```css",yield st(e,r),"```"].join("\n")})),t}const r=Ut(e.classNames.classNames,[...t.data,"__info"]);if(9===t.kind)t.detail=e.classNames.context[t.data[t.data.length-1]].join(", ");else if(t.detail=yield function(e,t){return zt(this,void 0,void 0,(function*(){if(Array.isArray(t))return t.length+" rules";if(!0===t.__rule){const r=yield e.editor.getConfiguration();return function(e,{showPixelEquivalents:t=!1,rootFontSize:r=16}={}){let n=Object.keys(e),i=n.filter(e=>!e.startsWith("--"));n.length!==i.length&&0!==i.length&&(n=i);return n.map(n=>te(e[n]).map(e=>{const i=t?ie(e,r):void 0;return`${n}: ${e}${i?`/* ${i} */`:""};`}).join(" ")).join(" ")}(J(t),{showPixelEquivalents:Ut(r,"tailwindCSS.showPixelEquivalents",!0),rootFontSize:Ut(r,"tailwindCSS.rootFontSize",16)})}return null}))}(e,r),!t.documentation){const n=yield e.editor.getConfiguration(),i=ce(t.data.join(":"),r,{tabSize:Ut(n,"editor.tabSize",2),showPixelEquivalents:Ut(n,"tailwindCSS.showPixelEquivalents",!0),rootFontSize:Ut(n,"tailwindCSS.rootFontSize",16)});i&&(t.documentation={kind:"markdown",value:["```css",i,"```"].join("\n")})}return t}))}function Kt(e){return e.reduce((t,r,n)=>0===n?r:e.length>1&&n===e.length-1?`${t} and ${r}`:`${t}, ${r}`,"")}const Qt=__nccwpck_require__(44627);function Jt(e,t){const r=Qe(e,t);if(!r)return null;const n=Qt(e.classNames.classNames,[...r,"__info"]);return Array.isArray(n)?n.map(J):J(n)}var Xt=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}l((n=n.apply(e,t||[])).next())}))};function Zt(e,t,r){return Xt(this,void 0,void 0,(function*(){let n=r.tailwindCSS.lint.cssConflict;if("ignore"===n)return[];let i=[];return(yield He(e,t)).forEach(r=>{const o=qe(r);o.forEach((r,s)=>{if(e.jit){let{rules:a}=ot(e,[r.className]);if(1!==a.length)return;let l,c=a[0],u=[];c.walkDecls(({prop:e})=>{u.push(e)});let p=o.filter((e,t)=>t!==s).filter(t=>{let{rules:n}=ot(e,[t.className]);if(1!==n.length)return!1;let i=n[0],o=[];if(i.walkDecls(({prop:e})=>{o.push(e)}),!ne(u,o))return!1;l||(l=lt(e,c,r.className));let s=lt(e,i,t.className);return!!ne(l,s)});if(0===p.length)return;return void i.push({code:rt.CssConflict,className:r,otherClassNames:p,range:r.range,severity:"error"===n?1:2,message:`'${r.className}' applies the same CSS ${1===u.length?"property":"properties"} as ${Kt(p.map(e=>`'${e.className}'`))}.`,relatedInformation:p.map(e=>({message:e.className,location:{uri:t.uri,range:e.range}}))})}let a=Jt(e,r.className);if(!a)return;let l=Object.keys(a),c=Xe(e,r.className),u=o.filter((e,t)=>t!==s).filter(t=>{let r=Jt(e,t.className);if(!r)return!1;let n=Xe(e,t.className);return ne(l,Object.keys(r))&&!Array.isArray(c)&&!Array.isArray(n)&&ne(c.context,n.context)&&ne(c.pseudo,n.pseudo)&&c.scope===n.scope});0!==u.length&&i.push({code:rt.CssConflict,className:r,otherClassNames:u,range:r.range,severity:"error"===n?1:2,message:`'${r.className}' applies the same CSS ${1===l.length?"property":"properties"} as ${Kt(u.map(e=>`'${e.className}'`))}.`,relatedInformation:u.map(e=>({message:e.className,location:{uri:t.uri,range:e.range}}))})})}),i}))}var er=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}l((n=n.apply(e,t||[])).next())}))};function tr(e,t,r){return er(this,void 0,void 0,(function*(){let n=r.tailwindCSS.lint.invalidApply;if("ignore"===n)return[];return(yield $e(e,t,void 0,"css",!1)).map(t=>{let r=tt(e,t.className);return null===r||!0===r.isApplyable?null:{code:rt.InvalidApply,severity:"error"===n?1:2,range:t.range,message:r.reason,className:t}}).filter(Boolean)}))}__nccwpck_require__(44627);function rr(e,t,r){let n=r.tailwindCSS.lint.invalidScreen;if("ignore"===n)return[];let i=[],o=[];if(we(e,t))o.push(void 0);else{let r=Ie(e,t);if(!r)return[];o.push(...r.css)}return o.forEach(r=>{let o=t.getText(r);Fe(/(?:\s|^)@screen\s+(?[^\s{]+)/g,o).forEach(t=>{if(e.screens.includes(t.groups.screen))return null;let s=`The screen '${t.groups.screen}' does not exist in your theme config.`,a=[],l=ft(t.groups.screen,e.screens);l&&(a.push(l),s+=` Did you mean '${l}'?`),i.push({code:rt.InvalidScreen,range:gt({start:Ge(o,t.index+t[0].length-t.groups.screen.length),end:Ge(o,t.index+t[0].length)},r),severity:"error"===n?1:2,message:s,suggestions:a})})}),i}function nr(e,t,r){let n=r.tailwindCSS.lint.invalidVariant;if("ignore"===n)return[];if(I().gte(e.version,"2.99.0"))return[];let i=[],o=[];if(we(e,t))o.push(void 0);else{let r=Ie(e,t);if(!r)return[];o.push(...r.css)}let s=Object.keys(e.variants);return e.jit&&(s.unshift("responsive"),s=s.filter(t=>!e.screens.includes(t))),o.forEach(e=>{let r=t.getText(e);Fe(/(?:\s|^)@variants\s+(?[^{]+)/g,r).forEach(t=>{let o=t.groups.variants.split(/(\s*,\s*)/),a=t.index+t[0].length-t.groups.variants.length;for(let t=0;t{let o=t.getText(r),a=Fe(/(?:\s|^)@tailwind\s+(?[^;]+)/g,o),l=["utilities","components","screens",I().gte(e.version,"1.0.0-beta.1")?"base":"preflight",s&&"variants"].filter(Boolean),c=l;s&&(c=c.filter(e=>"screens"!==e)),a.forEach(e=>{if(l.includes(e.groups.value))return null;let t=`'${e.groups.value}' is not a valid value.`,s=[];if("preflight"===e.groups.value)s.push("base"),t+=" Did you mean 'base'?";else{let r=ft(e.groups.value,c);r&&(s.push(r),t+=` Did you mean '${r}'?`)}i.push({code:rt.InvalidTailwindDirective,range:gt({start:Ge(o,e.index+e[0].length-e.groups.value.length),end:Ge(o,e.index+e[0].length)},r),severity:"error"===n?1:2,message:t,suggestions:s})})}),i}var or=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}l((n=n.apply(e,t||[])).next())}))};function sr(e,t,r){return or(this,void 0,void 0,(function*(){if(!e.jit)return[];if(I().gte(e.version,"2.99.0"))return[];let n=r.tailwindCSS.lint.recommendedVariantOrder;if("ignore"===n)return[];let i=[];return(yield He(e,t)).forEach(t=>{qe(t).forEach(t=>{let{rules:r}=ot(e,[t.className]);if(0===r.length)return;let{variants:o,offset:s}=Bt(e,t.className),a=[...o].sort((t,r)=>it(e.jitContext.variantOrder.get(r)-e.jitContext.variantOrder.get(t)));(function(e,t){if(e===t)return!0;if(e.length!==t.length)return!1;for(let r=0;r{dr(e,t)})}function mr(e,t){let r=te(t),n=ke()(e+"\n",{origin:0}),i=[];r.forEach(t=>{let r=n.toIndex(t.start.line,t.start.character),o=n.toIndex(t.end.line,t.end.character);for(let t=r-1;t>=0&&/\s/.test(e.charAt(t));t--)r=t;i.push({start:r,end:o})}),i.sort((e,t)=>e.start-t.start);let o="",s=0;return i.forEach(t=>{o+=e.substring(s,t.start),s=t.end}),o+=e.substring(s),o.trim()}var vr=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}l((n=n.apply(e,t||[])).next())}))};var yr=__nccwpck_require__(66855),br=__nccwpck_require__.n(yr),wr=/\s*!important\s*$/i,_r={"box-flex":!0,"box-flex-group":!0,"column-count":!0,flex:!0,"flex-grow":!0,"flex-positive":!0,"flex-shrink":!0,"flex-negative":!0,"font-weight":!0,"line-clamp":!0,"line-height":!0,opacity:!0,order:!0,orphans:!0,"tab-size":!0,widows:!0,"z-index":!0,zoom:!0,"fill-opacity":!0,"stroke-dashoffset":!0,"stroke-opacity":!0,"stroke-width":!0};function xr(e,t,r,n){!1!==r&&null!==r&&(t=t.replace(/([A-Z])/g,"-$1").replace(/^ms-/,"-ms-").toLowerCase(),"number"==typeof r&&(r=0===r||_r[t]?r.toString():r.toString()+"px"),"css-float"===t&&(t="float"),wr.test(r)?(r=r.replace(wr,""),e.push(n.decl({prop:t,value:r,important:!0}))):e.push(n.decl({prop:t,value:r})))}function kr(e,t,r,n){var i=n.atRule({name:t[1],params:t[3]||""});"object"==typeof r&&(i.nodes=[],Sr(r,i,n)),e.push(i)}function Sr(e,t,r){var n,i,o,s;for(n in e)if(e.hasOwnProperty(n)){if(null==(i=e[n]))continue;if("@"===n[0]){var a=n.match(/@([^\s]+)(\s+([\w\W]*)\s*)?/);if(Array.isArray(i))for(s=0;sSe(r.range.start,e)),!n)return[];o=i.getText(n)}try{yield s.module([s.module.plugin("",(t={})=>t=>{t.walkRules(t=>{if(a.length)return!1;t.walkAtRules("apply",i=>{let s=Ar(i.source);if(n&&(s=gt(s,n)),!Se(r.range.start,s))return;let c=function(e,t,r,n=!1){const i=t[t.length-1],o=tt(e,[i]);if(null===o||!1===o.isApplyable)return null;const s=Xe(e,t);if(Array.isArray(s))return null;let a=s.context,l=s.pseudo;const c=e.classNames.context,u=[];for(let r=0;r!i.includes(e)))}u.push(...a);let p={};for(let e=1;e<=u.length;e++)N()(p,u.slice(0,e),{});if(null===(r=function(e,t){if(0===t.length)return e;let r=!0,n=B()(e=>{re(e.split(e=>!0)).forEach(e=>{for(let n=e.nodes.length-1;n>=0&&"pseudo"===e.nodes[n].type;n--)if(t.includes(e.nodes[n].value)){r=!1;break}r&&t.forEach(t=>{e.append(B().pseudo({value:t}))})})}).processSync(e);return r?n:null}(r,l)))return null;let h={[r]:{[`@apply ${i}${n?" !important":""}`]:""}};u.length?N()(p,u,h):p=h;return function(e,t){var r=t.root();return Sr(e,r,t),r}(p,e.modules.postcss)}(e,u,t.selector,r.className.classList.important);if(!c)return!1;t.after(c.nodes);let p=t.next();if(!p)return!1;1===l?i.remove():a.push({range:r.className.classList.range,newText:mr(r.className.classList.classList,r.className.relativeRange)});let h,d=Ar(t.source);n&&(d=gt(d,n));let f=br()(o);return a.push({range:d,newText:t.toString()+(p.raws.before||"\n\n")+p.toString().replace(/\n\s*\n/g,"\n").replace(/(@apply [^;\n]+)$/gm,"$1;").replace(/([^\s^]){$/gm,"$1 {").replace(/^\s+/gm,e=>(void 0===h&&(h=e),e.replace(new RegExp(h,"g"),f.indent))).replace(/^(\s+)(.*?[^{}]\n)([^\s}])/gm,"$1$2$1$3")}),!1})})})]).process(o,{from:void 0})}catch(e){return[]}return a.length?[{title:"Extract to new rule",kind:"quickfix",diagnostics:[r],edit:{changes:{[t.textDocument.uri]:a}}}]:[]}))}function Ar(e){return{start:{line:e.start.line-1,character:e.start.column-1},end:{line:e.end.line-1,character:e.end.column}}}var Rr=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}l((n=n.apply(e,t||[])).next())}))};function Or(e,t){return Rr(this,void 0,void 0,(function*(){let r=yield function(e,t,r){return Rr(this,void 0,void 0,(function*(){let n=e.editor.documents.get(t.textDocument.uri),i=yield lr(e,n,r);return t.context.diagnostics.map(e=>i.find(t=>{return t.code===e.code&&t.message===e.message&&(r=t.range,n=e.range,r.start.line===n.start.line&&r.start.character===n.start.character&&r.end.line===n.end.line&&r.end.character===n.end.character);var r,n})).filter(Boolean)}))}(e,t,t.context.diagnostics.map(e=>e.code).filter(Boolean));return Promise.all(r.map(r=>function(e){return e.code===rt.InvalidApply}(r)?Tr(e,t,r):function(e){return e.code===rt.CssConflict}(r)?function(e,t,r){return vr(this,void 0,void 0,(function*(){return[{title:"Delete "+Kt(r.otherClassNames.map(e=>`'${e.className}'`)),kind:"quickfix",diagnostics:[r],edit:{changes:{[t.textDocument.uri]:[{range:r.className.classList.range,newText:mr(r.className.classList.classList,r.otherClassNames.map(e=>e.relativeRange))}]}}}]}))}(0,t,r):function(e){return e.code===rt.InvalidConfigPath}(r)||function(e){return e.code===rt.InvalidTailwindDirective}(r)||function(e){return e.code===rt.InvalidScreen}(r)||function(e){return e.code===rt.InvalidVariant}(r)||function(e){return e.code===rt.RecommendedVariantOrder}(r)?function(e,t,r){return r.suggestions.map(e=>({title:`Replace with '${e}'`,kind:"quickfix",diagnostics:[r],edit:{changes:{[t.textDocument.uri]:[{range:r.range,newText:e}]}}}))}(0,t,r):[])).then(re).then(e=>{return t=e=>JSON.stringify(e.edit),e.filter((e,r,n)=>n.map(t).indexOf(t(e))===r);var t})}))}var Pr=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}l((n=n.apply(e,t||[])).next())}))};function Ir(e,t){return Pr(this,void 0,void 0,(function*(){let r=[];return e.enabled?(!1===(yield e.editor.getConfiguration(t.uri)).tailwindCSS.colorDecorators||((yield He(e,t)).forEach(t=>{qe(t).forEach(t=>{var n;let i=It(e,t.className);null!==i&&"string"!=typeof i&&0!==(null!==(n=i.alpha)&&void 0!==n?n:1)&&r.push({range:t.range,color:jt(i)})})}),function(e,t){if(we(e,t))return Ve(t);let r=Ie(e,t);return r?re(r.css.map(e=>Ve(t,e))):[]}(e,t).forEach(t=>{var n;let i=pt(t.value),o="theme"===t.helper?["theme"]:[],s=Mt(D()(e.config,[...o,...i]));s&&"string"!=typeof s&&0!==(null!==(n=s.alpha)&&void 0!==n?n:1)&&r.push({range:t.valueRange,color:jt(s)})})),r):r}))}var Mr=__nccwpck_require__(19194),Dr=__nccwpck_require__(72305),jr=__nccwpck_require__.n(Dr),Nr=__nccwpck_require__(29890),Lr=__nccwpck_require__.n(Nr);function Fr(e){return function(e){const t=[qr(e)];for(const e of t)e.requires.filter(e=>e.startsWith("./")||e.startsWith("../")).forEach(r=>{try{const i=n().dirname(e.file),o=qr(jr().sync(r,{basedir:i}));t.push(o)}catch(e){}});return t}(e).map(({file:e})=>e).filter(t=>t!==e)}function qr(e){const t=o().readFileSync(e,"utf-8");return{file:e,requires:Lr()(t)}}var $r=__nccwpck_require__(42357),Br=__nccwpck_require__.n($r),zr=__nccwpck_require__(30856);var Ur=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}l((n=n.apply(e,t||[])).next())}))};let Wr=i.readFileSync;i.readFileSync=function(e,...t){return e===r.join(__dirname,"css/preflight.css")?"/*\n1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)\n2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)\n*/\n\n*,\n::before,\n::after {\n box-sizing: border-box; /* 1 */\n border-width: 0; /* 2 */\n border-style: solid; /* 2 */\n border-color: currentColor; /* 2 */\n}\n\n::before,\n::after {\n --tw-content: '';\n}\n\n/*\n1. Use a consistent sensible line-height in all browsers.\n2. Prevent adjustments of font size after orientation changes in iOS.\n3. Use a more readable tab size.\n4. Use the user's configured `sans` font-family by default.\n*/\n\nhtml {\n line-height: 1.5; /* 1 */\n -webkit-text-size-adjust: 100%; /* 2 */\n -moz-tab-size: 4; /* 3 */\n tab-size: 4; /* 3 */\n font-family: theme('fontFamily.sans', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", Arial, \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\"); /* 4 */\n}\n\n/*\n1. Remove the margin in all browsers.\n2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.\n*/\n\nbody {\n margin: 0; /* 1 */\n line-height: inherit; /* 2 */\n}\n\n/*\n1. Add the correct height in Firefox.\n2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)\n3. Ensure horizontal rules are visible by default.\n*/\n\nhr {\n height: 0; /* 1 */\n color: inherit; /* 2 */\n border-top-width: 1px; /* 3 */\n}\n\n/*\nAdd the correct text decoration in Chrome, Edge, and Safari.\n*/\n\nabbr:where([title]) {\n text-decoration: underline dotted;\n}\n\n/*\nRemove the default font size and weight for headings.\n*/\n\nh1,\nh2,\nh3,\nh4,\nh5,\nh6 {\n font-size: inherit;\n font-weight: inherit;\n}\n\n/*\nReset links to optimize for opt-in styling instead of opt-out.\n*/\n\na {\n color: inherit;\n text-decoration: inherit;\n}\n\n/*\nAdd the correct font weight in Edge and Safari.\n*/\n\nb,\nstrong {\n font-weight: bolder;\n}\n\n/*\n1. Use the user's configured `mono` font family by default.\n2. Correct the odd `em` font sizing in all browsers.\n*/\n\ncode,\nkbd,\nsamp,\npre {\n font-family: theme('fontFamily.mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace); /* 1 */\n font-size: 1em; /* 2 */\n}\n\n/*\nAdd the correct font size in all browsers.\n*/\n\nsmall {\n font-size: 80%;\n}\n\n/*\nPrevent `sub` and `sup` elements from affecting the line height in all browsers.\n*/\n\nsub,\nsup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n}\n\nsub {\n bottom: -0.25em;\n}\n\nsup {\n top: -0.5em;\n}\n\n/*\n1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)\n2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)\n3. Remove gaps between table borders by default.\n*/\n\ntable {\n text-indent: 0; /* 1 */\n border-color: inherit; /* 2 */\n border-collapse: collapse; /* 3 */\n}\n\n/*\n1. Change the font styles in all browsers.\n2. Remove the margin in Firefox and Safari.\n3. Remove default padding in all browsers.\n*/\n\nbutton,\ninput,\noptgroup,\nselect,\ntextarea {\n font-family: inherit; /* 1 */\n font-size: 100%; /* 1 */\n line-height: inherit; /* 1 */\n color: inherit; /* 1 */\n margin: 0; /* 2 */\n padding: 0; /* 3 */\n}\n\n/*\nRemove the inheritance of text transform in Edge and Firefox.\n*/\n\nbutton,\nselect {\n text-transform: none;\n}\n\n/*\n1. Correct the inability to style clickable types in iOS and Safari.\n2. Remove default button styles.\n*/\n\nbutton,\n[type='button'],\n[type='reset'],\n[type='submit'] {\n -webkit-appearance: button; /* 1 */\n background-color: transparent; /* 2 */\n background-image: none; /* 2 */\n}\n\n/*\nUse the modern Firefox focus style for all focusable elements.\n*/\n\n:-moz-focusring {\n outline: auto;\n}\n\n/*\nRemove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)\n*/\n\n:-moz-ui-invalid {\n box-shadow: none;\n}\n\n/*\nAdd the correct vertical alignment in Chrome and Firefox.\n*/\n\nprogress {\n vertical-align: baseline;\n}\n\n/*\nCorrect the cursor style of increment and decrement buttons in Safari.\n*/\n\n::-webkit-inner-spin-button,\n::-webkit-outer-spin-button {\n height: auto;\n}\n\n/*\n1. Correct the odd appearance in Chrome and Safari.\n2. Correct the outline style in Safari.\n*/\n\n[type='search'] {\n -webkit-appearance: textfield; /* 1 */\n outline-offset: -2px; /* 2 */\n}\n\n/*\nRemove the inner padding in Chrome and Safari on macOS.\n*/\n\n::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n\n/*\n1. Correct the inability to style clickable types in iOS and Safari.\n2. Change font properties to `inherit` in Safari.\n*/\n\n::-webkit-file-upload-button {\n -webkit-appearance: button; /* 1 */\n font: inherit; /* 2 */\n}\n\n/*\nAdd the correct display in Chrome and Safari.\n*/\n\nsummary {\n display: list-item;\n}\n\n/*\nRemoves the default spacing and border for appropriate elements.\n*/\n\nblockquote,\ndl,\ndd,\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\nhr,\nfigure,\np,\npre {\n margin: 0;\n}\n\nfieldset {\n margin: 0;\n padding: 0;\n}\n\nlegend {\n padding: 0;\n}\n\nol,\nul,\nmenu {\n list-style: none;\n margin: 0;\n padding: 0;\n}\n\n/*\nPrevent resizing textareas horizontally by default.\n*/\n\ntextarea {\n resize: vertical;\n}\n\n/*\n1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)\n2. Set the default placeholder color to the user's configured gray 400 color.\n*/\n\ninput::placeholder,\ntextarea::placeholder {\n opacity: 1; /* 1 */\n color: theme('colors.gray.400', #9ca3af); /* 2 */\n}\n\n/*\nSet the default cursor for buttons.\n*/\n\nbutton,\n[role=\"button\"] {\n cursor: pointer;\n}\n\n/*\nMake sure disabled buttons don't get the pointer cursor.\n*/\n:disabled {\n cursor: default;\n}\n\n/*\n1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)\n2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)\n This can trigger a poorly considered lint error in some tools but is included by design.\n*/\n\nimg,\nsvg,\nvideo,\ncanvas,\naudio,\niframe,\nembed,\nobject {\n display: block; /* 1 */\n vertical-align: middle; /* 2 */\n}\n\n/*\nConstrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)\n*/\n\nimg,\nvideo {\n max-width: 100%;\n height: auto;\n}\n\n/*\nEnsure the default browser behavior of the `hidden` attribute.\n*/\n\n[hidden] {\n display: none;\n}":Wr(e,...t)};const Hr="{tailwind,tailwind.config}.{js,cjs}",Vr="{package.json,package-lock.json,yarn.lock,pnpm-lock.yaml}",Gr=['"',"'","`"," ",".","[","!","/"],Yr=Object.keys(Et()),Kr=process.argv.length<=2?(0,d.createConnection)(process.stdin,process.stdout):(0,d.createConnection)();function Qr(e,t){return JSON.stringify([e,...t].map(e=>[e,i.statSync(e).mtimeMs]))}function Jr(...e){for(let t=0;tn.sendRequest("@/tailwindCSS/getDocumentSymbols",{uri:e})}};let C,R,P=null!==(p=null===(u=S.editor.globalSettings.tailwindCSS.files)||void 0===u?void 0:u.exclude)&&void 0!==p?p:ur;function M(e){let t=!1,r=!1;for(let n of e){let e=x()(n.file);for(let t of P)T()(e,t,{dot:!0});let i=T()(e,"**/"+Hr,{dot:!0}),o=T()(e,"**/"+Vr,{dot:!0}),s=S.dependencies&&S.dependencies.includes(n.file);if(i||o||s){if(n.type===d.FileChangeType.Created){t=!0;break}if(n.type===d.FileChangeType.Changed){if(!S.enabled||o){t=!0;break}r=!0}else if(n.type===d.FileChangeType.Deleted){if(!S.enabled||o||i){t=!0;break}r=!0}}}t?$():r&&B()}if(null===(f=null===(h=o.capabilities.workspace)||void 0===h?void 0:h.didChangeWatchedFiles)||void 0===f?void 0:f.dynamicRegistration)n.onDidChangeWatchedFiles(({changes:e})=>{M(e.map(({uri:e,type:t})=>({file:g.URI.parse(e).fsPath,type:t})))}),n.client.register(d.DidChangeWatchedFilesNotification.type,{watchers:[{globPattern:"**/"+Hr},{globPattern:"**/"+Vr}]});else if(zr.Fp()){let t={create:d.FileChangeType.Created,update:d.FileChangeType.Changed,delete:d.FileChangeType.Deleted},n=yield zr.Ld(e,(e,r)=>{M(r.map(e=>({file:e.path,type:t[e.type]})))},{ignore:P.map(t=>r.resolve(e,t.replace(/^[*/]+/,"").replace(/[*/]+$/,"")))});m.push({dispose(){n.unsubscribe()}})}else{let t=__nccwpck_require__(95118).Y;R=t(["**/"+Hr,"**/"+Vr],{cwd:e,ignorePermissionErrors:!0,ignoreInitial:!0,ignored:P,awaitWriteFinish:{stabilityThreshold:100,pollInterval:20}}),yield new Promise(e=>{R.on("ready",()=>e())}),R.on("add",e=>M([{file:e,type:d.FileChangeType.Created}])).on("change",e=>M([{file:e,type:d.FileChangeType.Changed}])).on("unlink",e=>M([{file:e,type:d.FileChangeType.Deleted}])),m.push({dispose(){R.close()}})}function j(e=[]){if(rn(n,o)){C&&C.then(e=>e.dispose());let t=d.BulkRegistration.create();t.add(d.HoverRequest.type,{documentSelector:null}),t.add(d.DocumentColorRequest.type,{documentSelector:null}),t.add(d.CodeActionRequest.type,{documentSelector:null}),t.add(d.CompletionRequest.type,{documentSelector:null,resolveProvider:!0,triggerCharacters:[...Gr,S.separator].filter(Boolean)}),e.length>0&&t.add(d.DidChangeWatchedFilesNotification.type,{watchers:e.map(e=>({globPattern:e}))}),C=n.client.register(t)}}function L(){!function(e){var t;null===(t=e.editor)||void 0===t||t.documents.all().forEach(t=>{fr(e,t)})}(S),Object.keys(S).forEach(e=>{"editor"!==e&&"dependencies"!==e&&delete S[e]}),S.enabled=!1,j(S.dependencies)}function $(){return Ur(this,void 0,void 0,(function*(){try{yield function(){var t,n;return Ur(this,void 0,void 0,(function*(){z();let[i]=(yield w()(["**/"+Hr],{cwd:e,ignore:null!==(n=null===(t=S.editor.globalSettings.tailwindCSS.files)||void 0===t?void 0:t.exclude)&&void 0!==n?n:ur,onlyFiles:!0,absolute:!0,suppressErrors:!0,dot:!0,concurrency:Math.max(k.cpus().length,1)})).sort((e,t)=>e.split("/").length-t.split("/").length).map(r.normalize);if(!i)throw new y("No config file found.");const o=E().sync(t=>{let n=r.join(t,".pnp.js");return E().sync.exists(n)?n:(n=r.join(t,".pnp.cjs"),E().sync.exists(n)?n:t===e?E().stop:void 0)},{cwd:e});if(o){let e=require(o);e.setup(),function(e){l=a({pnpApi:e})}(e)}const s=Qr(i,Fr(i)),u=r.dirname(i);let p,h,d,f,g,m,v,b,_,x,C={future:[],experimental:[]};try{const t=c(u,"tailwindcss"),n=c(u,"tailwindcss/package.json"),o=r.dirname(n),a=c(o,"postcss"),l=c(o,"postcss/package.json"),y=r.dirname(l),w=c(o,"postcss-selector-parser");if(m=require(l).version,g=require(n).version,v=Object.keys(A).map(e=>{try{return require(c(u,e+"/package.json")).version}catch(e){return""}}).join(","),S.enabled&&m===S.modules.postcss.version&&g===S.modules.tailwindcss.version&&v===S.pluginVersions&&i===S.configPath&&s===S.configId)return;console.log("Found Tailwind CSS config file: "+i),h=require(a),d=require(w),console.log(`Loaded postcss v${m}: ${y}`),p=require(t),console.log(`Loaded tailwindcss v${g}: ${o}`);try{_=require(c(o,"./resolveConfig.js"))}catch(e){try{const e=require(c(o,"./lib/util/resolveConfig.js")),t=require(c(o,"./stubs/defaultConfig.stub.js"));_=r=>e([r,t])}catch(e){try{const e=require(c(o,"./lib/util/mergeConfigWithDefaults.js")),t=require(c(o,"./defaultConfig.js"));_=r=>e(r,t())}catch(e){throw Error("Failed to load resolveConfig function.")}}}if(I().gte(g,"1.4.0")&&I().lte(g,"1.99.0")){const t=c(o,"browserslist");b=require(t)(void 0,{path:e})}I().gte(g,"1.99.0")?x=function(...e){for(let t=0;trequire(c(o,"./lib/lib/substituteClassApplyAtRules"))):I().gte(g,"1.7.0")&&(x=require(c(o,"./lib/flagged/applyComplexClasses")));try{C=require(c(o,"./lib/featureFlags.js")).default}catch(e){}let k=new Set,E=h.root(),T={opts:{},messages:[]},R=()=>{};try{let e=Jr(()=>{let e=require(c(u,"tailwindcss/lib/lib/setupContextUtils")).createContext;return Br().strictEqual(typeof e,"function"),t=>e(t.config)},()=>{let e=require(c(u,"tailwindcss/lib/jit/lib/setupContextUtils")).createContext;return Br().strictEqual(typeof e,"function"),t=>e(t.config)},()=>{let e=require(c(u,"tailwindcss/lib/jit/lib/setupTrackingContext")).default;return Br().strictEqual(typeof e,"function"),t=>e(t.configPath,k,R)(T,E)},()=>{let e=require(c(u,"tailwindcss/lib/jit/lib/setupContext")).default;return Br().strictEqual(typeof e,"function"),t=>e(t.configPath,k)(T,E)});f={generateRules:{module:Jr(()=>require(c(u,"tailwindcss/lib/lib/generateRules")).generateRules,()=>require(c(u,"tailwindcss/lib/jit/lib/generateRules")).generateRules)},createContext:{module:e},expandApplyAtRules:{module:Jr(()=>require(c(u,"tailwindcss/lib/lib/expandApplyAtRules")).default,()=>require(c(u,"tailwindcss/lib/jit/lib/expandApplyAtRules")).default)}}}catch(e){try{let e=require(c(u,"tailwindcss/jit/lib/setupContext"));f={generateRules:{module:require(c(u,"tailwindcss/jit/lib/generateRules")).generateRules},createContext:{module:t=>e(t.configPath,k)(T,E)},expandApplyAtRules:{module:require(c(u,"tailwindcss/jit/lib/expandApplyAtRules"))}}}catch(e){}}}catch(e){p=__nccwpck_require__(16258),_=__nccwpck_require__(60362),h=__nccwpck_require__(44633),g=__nccwpck_require__(43581).version,m=__nccwpck_require__(54501).i8,d=__nccwpck_require__(51571),f={generateRules:{module:__nccwpck_require__(58754).generateRules},createContext:{module:e=>__nccwpck_require__(40865).createContext(e.config)},expandApplyAtRules:{module:__nccwpck_require__(31034).default}},console.log("Failed to load workspace modules."),console.log("Using bundled version of `tailwindcss`: v"+g),console.log("Using bundled version of `postcss`: v"+m)}S.configPath=i,S.modules={tailwindcss:{version:g,module:p},postcss:{version:m,module:h},postcssSelectorParser:{module:d},resolveConfig:{module:_},jit:f},S.browserslist=b,S.featureFlags=C,S.version=g,S.pluginVersions=v;try{S.corePlugins=Object.keys(require(c(r.dirname(S.configPath),"tailwindcss/lib/plugins/index.js")))}catch(e){}if(x&&!x.default.__patched){let e=x.default;x.default=(t,...r)=>{if(S.jit)return S.modules.jit.expandApplyAtRules.module(S.jitContext);let n=K(t);n.separator=void 0===S.separator?":":S.separator;let i=e(n,...r);return e=>Ur(this,void 0,void 0,(function*(){return e.walkRules(e=>{const t=e.selector.replace(/__TWSEP__(.*?)__TWSEP__/g,"$1");t!==e.selector&&(e.before(h.comment({text:"__ORIGINAL_SELECTOR__:"+e.selector})),e.selector=t)}),yield i(e),e.walkComments(e=>{e.text.startsWith("__ORIGINAL_SELECTOR__:")&&(e.next().selector=e.text.replace(/^__ORIGINAL_SELECTOR__:/,""),e.remove())}),e}))},x.default.__patched=!0}yield B()}))}()}catch(e){L(),v(n,e)}}))}function B(){return Ur(this,void 0,void 0,(function*(){try{yield function(){return Ur(this,void 0,void 0,(function*(){z();const{tailwindcss:e,postcss:t,resolveConfig:n}=S.modules,o=I().gte(e.version,"0.99.0")?["separator"]:["options","separator"];let s,a,l=[],c=I().gte(e.version,"2.99.0"),u=new O(i.realpathSync(S.configPath),e=>{s=K(e);let t=D()(e,o);"string"!=typeof t&&(t=":"),N()(e,o,`__TWSEP__${t}__TWSEP__`),e[c?"content":"purge"]=[];let r=function e(t){if(void 0!==t.mode)return t.mode;if(Array.isArray(t.presets))for(let r=t.presets.length-1;r>=0;r--){let n=e(t.presets[r]);if(void 0!==n)return n}}(e);if(function e(t){if(delete t.mode,Array.isArray(t.presets))for(let r of t.presets)e(r)}(e),c||S.modules.jit&&"jit"===r){if(S.jit=!0,e.variants=[],Array.isArray(e.presets))for(let t of e.presets)l.push(t.variants),t.variants=[]}else S.jit=!1;if(S.corePlugins){let t={};for(let e of S.corePlugins)t[e]=!0;e.corePlugins=t}return Array.isArray(e.plugins)&&(e.plugins=e.plugins.map(e=>{if(e.__isOptionsFunction&&(e=e()),"function"==typeof e){let t=(...t)=>(t[0].matchUtilities||(t[0].matchUtilities=()=>{}),e(...t));return t.__intellisense_cache_bust=Math.random(),t}return e.handler?Object.assign(Object.assign({},e),{handler:(...t)=>(t[0].matchUtilities||(t[0].matchUtilities=()=>{}),e.handler(...t)),__intellisense_cache_bust:Math.random()}):e})),e});try{require(S.configPath)}catch(e){throw u.unhook(),e}if(!s)throw new y("Failed to load config file: "+S.configPath);try{S.config=n.module(s),S.separator=S.config.separator,S.jit?(S.jitContext=S.modules.jit.createContext.module(S),S.jitContext.tailwindConfig.separator=S.config.separator,S.jitContext.getClassList&&(S.classList=S.jitContext.getClassList().filter(e=>"*"!==e).map(e=>[e,{color:It(S,e)}]))):(delete S.jitContext,delete S.classList)}catch(e){throw u.unhook(),e}if(S.classList)u.unhook();else try{a=yield t.module([e.module(S.configPath)]).process([I().gte(e.version,"0.99.0")?"base":"preflight","components","utilities"].map(e=>`/*__tw_intellisense_layer_${e}__*/\n@tailwind ${e};`).join("\n"),{from:void 0})}catch(e){throw e}finally{u.unhook()}S.dependencies&&(null==R||R.unwatch(S.dependencies)),S.dependencies=Fr(S.configPath),null==R||R.add(S.dependencies),S.configId=Qr(S.configPath,S.dependencies),S.plugins=yield function(e){return Ur(this,void 0,void 0,(function*(){let t=e.plugins;return Array.isArray(t)?Promise.all(t.map(e=>Ur(this,void 0,void 0,(function*(){let t=e.config;Zr(t)||(t={});let n={theme:Zr(t.theme)?Object.keys(t.theme):[],variants:Zr(t.variants)?Object.keys(t.variants):[]};const i=e.handler||e,o="string"==typeof i.name&&"handler"!==i.name&&""!==i.name?i.name:null;try{i()}catch(e){const t=q.parse(e);if(0===t.length)return{name:o};const i=t[0].fileName,s=r.dirname(i);let a;if(!F().sync({cwd:s}))return{name:o};try{a=require(a)}catch(e){return{name:o}}if(a.name&&r.resolve(s,a.main||"index.js")===i)return{name:a.name,homepage:a.homepage,contributes:n}}return{name:o}})))):[]}))}(s),a&&(S.classNames=yield G(a.root)),S.variants=function(e){if(e.jit){function t(t){let r=e.modules.postcssSelectorParser.module.className();return r.value=t,D()(r,"raws.value",r.value)}let r={};return Array.from(e.jitContext.variantMap).forEach(([n,i])=>{let o=(Array.isArray(i[0])?i:[i]).map(([e,t])=>t),s="__variant_placeholder__",a=e.modules.postcss.module.root({nodes:[e.modules.postcss.module.rule({selector:"."+t(s),nodes:[]})]}),l=e.modules.postcssSelectorParser.module(e=>e.first.filter(({type:e})=>"class"===e).pop().value);function c(e){return a.each(t=>{"rule"===t.type&&(t.selectors=t.selectors.map(t=>e({get className(){return function(e){return l.transformSync(e)}(t)},selector:t})))}),a}let u=[];for(let r of o){let i,o=a.clone(),l=r({container:o,separator:e.separator,modifySelectors:c,format:e=>{i=e.replace(/:merge\(([^)]+)\)/g,"$1")},wrap:e=>{en(e)&&(i=`@${e.name} ${e.params}`)}});i||(i=l),i?u.push(i):(o.walkDecls(e=>{e.remove()}),i=o.toString().replace("."+t(`${n}:${s}`),"&").replace(/(?{!function(e,t,r={}){let n=t.config,i=t.modules.postcss.module,o=t.browserslist;const s=o&&o.includes("ie 11")?"ie11":"relaxed",a="function"==typeof e?e:e.handler;try{a(Object.assign({addUtilities:()=>{},addComponents:()=>{},addBase:()=>{},matchUtilities:()=>{},addVariant:()=>{},e:e=>e,prefix:e=>e,theme:(e,t)=>D()(n,"theme."+e,t),variants:()=>[],config:(e,t)=>D()(n,e,t),corePlugins:e=>Array.isArray(n.corePlugins)?n.corePlugins.includes(e):D()(n,"corePlugins."+e,!0),target:e=>{if("string"==typeof n.target)return"browserslist"===n.target?s:n.target;const[t,r]=D()(n,"target"),i=D()(r,e,t);return"browserslist"===i?s:i},postcss:i},r))}catch(e){}}(t,e,{addVariant:e=>{i.push(e)}})}),i.reduce((e,t)=>Object.assign(Object.assign({},e),{[t]:null}),{})}(S);let p=D()(S.config,"theme.screens",D()(S.config,"screens",{}));S.screens=Zr(p)?Object.keys(p):[],S.enabled=!0,gr(S),j(S.dependencies)}))}()}catch(e){L(),v(n,e)}}))}function z(){Object.keys(require.cache).forEach(e=>{e.endsWith(".node")||delete require.cache[e]}),Object.keys(t()._pathCache).forEach(e=>{delete t()._pathCache[e]})}return{state:S,tryInit:$,dispose(){for(let{dispose:e}of m)e()},onUpdateSettings(e){var t,r,i,o;return Ur(this,void 0,void 0,(function*(){b.clear();let s=null!==(r=null===(t=S.editor.globalSettings.tailwindCSS.files)||void 0===t?void 0:t.exclude)&&void 0!==r?r:ur;S.editor.globalSettings=yield S.editor.getConfiguration(),ne(s,null!==(o=null===(i=e.tailwindCSS.files)||void 0===i?void 0:i.exclude)&&void 0!==o?o:ur)?(S.enabled&&gr(S),e.editor.colorDecorators?j(S.dependencies):n.sendNotification("@/tailwindCSS/clearColors")):$()}))},onHover(e){return Ur(this,void 0,void 0,(function*(){if(!S.enabled)return null;let t=s.getDocument(e.textDocument.uri);return t?(yield pr(S,t))?null:xt(S,t,e.position):null}))},onCompletion(e){return Ur(this,void 0,void 0,(function*(){if(!S.enabled)return null;let t=s.getDocument(e.textDocument.uri);return t?(yield pr(S,t))?null:Gt(S,t,e.position,e.context):null}))},onCompletionResolve:e=>S.enabled?Yt(S,e):null,onCodeAction:e=>S.enabled?Or(S,e):null,provideDiagnostics:(0,Mr.debounce)(e=>{S.enabled&&dr(S,e)},500),onDocumentColor(e){return Ur(this,void 0,void 0,(function*(){if(!S.enabled)return[];let t=s.getDocument(e.textDocument.uri);return t?(yield pr(S,t))?null:Ir(S,t):[]}))},onColorPresentation(e){var t;return Ur(this,void 0,void 0,(function*(){let r=s.getDocument(e.textDocument.uri).getText(e.range),n=r.match(new RegExp(`-\\[(${Yr.join("|")}|(?:(?:#|rgba?\\(|hsla?\\())[^\\]]+)\\]$`,"i"));if(null===n)return[];let i=n[1],o=Yr.includes(i),a={mode:"rgb",r:e.color.red,g:e.color.green,b:e.color.blue,alpha:e.color.alpha},l=kt.formatHex8(a);if(!o&&(4===i.length||5===i.length)){let[,...e]=null!==(t=l.match(/^#([a-f\d])\1([a-f\d])\2([a-f\d])\3(?:([a-f\d])\4)?$/i))&&void 0!==t?t:[];e.length&&(l="#"+e.filter(Boolean).join(""))}5===l.length?l=l.replace(/f$/,""):9===l.length&&(l=l.replace(/ff$/,""));let c=r.substr(0,n.index);return[l,kt.formatRgb(a).replace(/ /g,""),kt.formatHsl(a).replace(/ /g,"").replace(/\d+\.\d+(%?)/g,(e,t)=>`${Math.round(parseFloat(e))}${t}`)].map(e=>({label:`${c}-[${e}]`}))}))}}}))}function Zr(e){return"[object Object]"===Object.prototype.toString.call(e)}function en(e){return"atrule"===e.type}console.log=Kr.console.log.bind(Kr.console),console.error=Kr.console.error.bind(Kr.console),process.on("unhandledRejection",e=>{Kr.console.error(m("Unhandled exception",e))});class tn{constructor(e){this.documents=new d.TextDocuments(f.TextDocument),this.documents.listen(e)}getDocument(e){return this.documents.get(e)}getAllDocuments(){return this.documents.all()}get onDidChangeContent(){return this.documents.onDidChangeContent}get onDidClose(){return this.documents.onDidClose}}function rn(e,t){return e.onInitialized&&t.capabilities.textDocument.hover.dynamicRegistration&&t.capabilities.textDocument.colorProvider.dynamicRegistration&&t.capabilities.textDocument.codeAction.dynamicRegistration&&t.capabilities.textDocument.completion.dynamicRegistration}const nn=new class{constructor(e){this.connection=e,this.initialized=!1,this.documentService=new tn(this.connection),this.workspaces=new Map,this.projects=new Map}init(){return Ur(this,void 0,void 0,(function*(){if(this.initialized)return;this.initialized=!0;const e=this.initializeParams.rootPath?[{name:"",fsPath:(t=this.initializeParams.rootPath,g.URI.file(t).fsPath)}]:[];var t;0!==e.length?(yield Promise.all(e.map(e=>Ur(this,void 0,void 0,(function*(){return this.addProject(e.fsPath,this.initializeParams)})))),this.setupLSPHandlers(),this.connection.onDidChangeConfiguration(({settings:e})=>Ur(this,void 0,void 0,(function*(){for(let[,t]of this.projects)t.onUpdateSettings(e)}))),this.connection.onShutdown(()=>{this.dispose()}),this.documentService.onDidChangeContent(e=>{const t=Array.from(this.projects.values())[0];null==t||t.provideDiagnostics(e.document)})):console.error("No workspace folders found, not initializing.")}))}addProject(e,t){return Ur(this,void 0,void 0,(function*(){if(this.projects.has(e))yield this.projects.get(e).tryInit();else{const r=yield Xr(e,this.connection,t,this.documentService);yield r.tryInit(),this.projects.set(e,r)}}))}setupLSPHandlers(){this.connection.onHover(this.onHover.bind(this)),this.connection.onCompletion(this.onCompletion.bind(this)),this.connection.onCompletionResolve(this.onCompletionResolve.bind(this)),this.connection.onDocumentColor(this.onDocumentColor.bind(this)),this.connection.onColorPresentation(this.onColorPresentation.bind(this)),this.connection.onCodeAction(this.onCodeAction.bind(this))}onDocumentColor(e){var t;return Ur(this,void 0,void 0,(function*(){const r=Array.from(this.projects.values())[0];return null!==(t=null==r?void 0:r.onDocumentColor(e))&&void 0!==t?t:[]}))}onColorPresentation(e){var t;return Ur(this,void 0,void 0,(function*(){const r=Array.from(this.projects.values())[0];return null!==(t=null==r?void 0:r.onColorPresentation(e))&&void 0!==t?t:[]}))}onHover(e){var t;return Ur(this,void 0,void 0,(function*(){const r=Array.from(this.projects.values())[0];return null!==(t=null==r?void 0:r.onHover(e))&&void 0!==t?t:null}))}onCompletion(e){var t;return Ur(this,void 0,void 0,(function*(){const r=Array.from(this.projects.values())[0];return null!==(t=null==r?void 0:r.onCompletion(e))&&void 0!==t?t:null}))}onCompletionResolve(e){var t;return Ur(this,void 0,void 0,(function*(){const r=Array.from(this.projects.values())[0];return null!==(t=null==r?void 0:r.onCompletionResolve(e))&&void 0!==t?t:null}))}onCodeAction(e){var t;const r=Array.from(this.projects.values())[0];return null!==(t=null==r?void 0:r.onCodeAction(e))&&void 0!==t?t:null}listen(){this.connection.listen()}dispose(){for(let[,e]of this.projects)e.dispose()}}(Kr);Kr.onInitialize(e=>Ur(void 0,void 0,void 0,(function*(){return nn.initializeParams=e,rn(Kr,e)?{capabilities:{textDocumentSync:d.TextDocumentSyncKind.Full}}:(nn.init(),{capabilities:{textDocumentSync:d.TextDocumentSyncKind.Full,hoverProvider:!0,colorProvider:!0,codeActionProvider:!0,completionProvider:{resolveProvider:!0,triggerCharacters:[...Gr,":"]}}})}))),Kr.onInitialized(()=>Ur(void 0,void 0,void 0,(function*(){yield nn.init()}))),nn.listen()})(),module.exports=__webpack_exports__})(); \ No newline at end of file diff --git a/sublime-package.json b/sublime-package.json index 2d5c45a..3fbd34f 100644 --- a/sublime-package.json +++ b/sublime-package.json @@ -26,6 +26,18 @@ "default": {}, "markdownDescription": "Enable features in languages that are not supported by default. Add a mapping here between the new language and an already supported language.\n E.g.: `{\"plaintext\": \"html\"}`" }, + "tailwindCSS.files.exclude": { + "type": "array", + "items": { + "type": "string" + }, + "default": [ + "**/.git/**", + "**/node_modules/**", + "**/.hg/**" + ], + "markdownDescription": "Configure glob patterns to exclude from all IntelliSense features. Inherits all glob patterns from the `#files.exclude#` setting." + }, "tailwindCSS.classAttributes": { "type": "array", "items": {