@stencil/core 4.18.2-dev.1716246842.b6713e1 → 4.18.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cli/index.cjs +1 -1
- package/cli/index.js +1 -1
- package/cli/package.json +1 -1
- package/compiler/package.json +1 -1
- package/compiler/stencil.js +4 -4
- package/dev-server/client/index.js +1 -1
- package/dev-server/client/package.json +1 -1
- package/dev-server/connector.html +2 -2
- package/dev-server/index.js +1 -1
- package/dev-server/package.json +1 -1
- package/dev-server/server-process.js +2 -2
- package/internal/app-data/package.json +1 -1
- package/internal/client/index.js +1 -1
- package/internal/client/package.json +1 -1
- package/internal/client/patch-browser.js +1 -1
- package/internal/hydrate/index.js +1 -1
- package/internal/hydrate/package.json +1 -1
- package/internal/hydrate/runner.js +1 -1
- package/internal/package.json +1 -1
- package/internal/testing/package.json +1 -1
- package/mock-doc/index.cjs +1 -1
- package/mock-doc/index.js +1 -1
- package/mock-doc/package.json +1 -1
- package/package.json +1 -1
- package/screenshot/index.js +1 -1
- package/screenshot/package.json +1 -1
- package/screenshot/pixel-match.js +1 -1
- package/sys/node/glob.js +1 -1
- package/sys/node/index.js +1 -1
- package/sys/node/package.json +1 -1
- package/sys/node/worker.js +1 -1
- package/testing/index.js +1 -1
- package/testing/package.json +1 -1
package/cli/index.cjs
CHANGED
package/cli/index.js
CHANGED
package/cli/package.json
CHANGED
package/compiler/package.json
CHANGED
package/compiler/stencil.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
Stencil Compiler v4.18.2
|
|
2
|
+
Stencil Compiler v4.18.2 | MIT Licensed | https://stenciljs.com
|
|
3
3
|
*/
|
|
4
4
|
"use strict";
|
|
5
5
|
var __create = Object.create;
|
|
@@ -231091,7 +231091,7 @@ ${e.message}`;
|
|
|
231091
231091
|
var typescript_5_4_5_bundle_cache_min_default = ts;
|
|
231092
231092
|
|
|
231093
231093
|
// src/version.ts
|
|
231094
|
-
var buildId = "
|
|
231094
|
+
var buildId = "1716229673";
|
|
231095
231095
|
var minfyJsId = "terser5.31.0_7";
|
|
231096
231096
|
var optimizeCssId = "autoprefixer10.4.19_postcss8.4.38_7";
|
|
231097
231097
|
var parse5Version = "7.1.2";
|
|
@@ -231099,8 +231099,8 @@ var rollupVersion = "2.56.3";
|
|
|
231099
231099
|
var jqueryVersion = "4.0.0-pre";
|
|
231100
231100
|
var terserVersion = "5.31.0";
|
|
231101
231101
|
var typescriptVersion = "5.4.5";
|
|
231102
|
-
var vermoji = "\
|
|
231103
|
-
var version = "4.18.2
|
|
231102
|
+
var vermoji = "\u26F2\uFE0F";
|
|
231103
|
+
var version = "4.18.2";
|
|
231104
231104
|
var versions = {
|
|
231105
231105
|
stencil: version,
|
|
231106
231106
|
parse5: parse5Version,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
<!doctype html><html><head><meta charset="utf-8"><title>Stencil Dev Server Connector 4.18.2
|
|
1
|
+
<!doctype html><html><head><meta charset="utf-8"><title>Stencil Dev Server Connector 4.18.2 ⚡</title><style>body{background:black;color:white;font:18px monospace;text-align:center}</style></head><body>
|
|
2
2
|
|
|
3
|
-
Stencil Dev Server Connector 4.18.2
|
|
3
|
+
Stencil Dev Server Connector 4.18.2 ⚡
|
|
4
4
|
|
|
5
5
|
<script>!function(e,t,n,r){"use strict";var o="#dev-server-modal * { box-sizing: border-box !important; } #dev-server-modal { direction: ltr !important; display: block !important; position: absolute !important; top: 0 !important; right: 0 !important; bottom: 0 !important; left: 0 !important; z-index: 100000; margin: 0 !important; padding: 0 !important; font-family: -apple-system, 'Roboto', BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol' !important; font-size: 14px !important; line-height: 1.5 !important; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; text-size-adjust: none; word-wrap: break-word; color: #333 !important; background-color: white !important; box-sizing: border-box !important; overflow: hidden; user-select: auto; } #dev-server-modal-inner { position: relative !important; padding: 0 0 30px 0 !important; width: 100% !important; height: 100%; overflow-x: hidden; overflow-y: scroll; -webkit-overflow-scrolling: touch; } .dev-server-diagnostic { margin: 20px !important; border: 1px solid #ddd !important; border-radius: 3px !important; } .dev-server-diagnostic-masthead { padding: 8px 12px 12px 12px !important; } .dev-server-diagnostic-title { margin: 0 !important; font-weight: bold !important; color: #222 !important; } .dev-server-diagnostic-message { margin-top: 4px !important; color: #555 !important; } .dev-server-diagnostic-file { position: relative !important; border-top: 1px solid #ddd !important; } .dev-server-diagnostic-file-header { display: block !important; padding: 5px 10px !important; color: #555 !important; border-bottom: 1px solid #ddd !important; border-top-left-radius: 2px !important; border-top-right-radius: 2px !important; background-color: #f9f9f9 !important; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace !important; font-size: 12px !important; } a.dev-server-diagnostic-file-header { color: #0000ee !important; text-decoration: underline !important; } a.dev-server-diagnostic-file-header:hover { text-decoration: none !important; background-color: #f4f4f4 !important; } .dev-server-diagnostic-file-name { font-weight: bold !important; } .dev-server-diagnostic-blob { overflow-x: auto !important; overflow-y: hidden !important; border-bottom-right-radius: 3px !important; border-bottom-left-radius: 3px !important; } .dev-server-diagnostic-table { margin: 0 !important; padding: 0 !important; border-spacing: 0 !important; border-collapse: collapse !important; border-width: 0 !important; border-style: none !important; -moz-tab-size: 2; tab-size: 2; } .dev-server-diagnostic-table td, .dev-server-diagnostic-table th { padding: 0 !important; border-width: 0 !important; border-style: none !important; } td.dev-server-diagnostic-blob-num { padding-right: 10px !important; padding-left: 10px !important; width: 1% !important; min-width: 50px !important; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace !important; font-size: 12px !important; line-height: 20px !important; color: rgba(0, 0, 0, 0.3) !important; text-align: right !important; white-space: nowrap !important; vertical-align: top !important; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; border: solid #eee !important; border-width: 0 1px 0 0 !important; } td.dev-server-diagnostic-blob-num::before { content: attr(data-line-number) !important; } .dev-server-diagnostic-error-line td.dev-server-diagnostic-blob-num { background-color: #ffdddd !important; border-color: #ffc9c9 !important; } .dev-server-diagnostic-error-line td.dev-server-diagnostic-blob-code { background: rgba(255, 221, 221, 0.25) !important; z-index: -1; } .dev-server-diagnostic-open-in-editor td.dev-server-diagnostic-blob-num:hover { cursor: pointer; background-color: #ffffe3 !important; font-weight: bold; } .dev-server-diagnostic-open-in-editor.dev-server-diagnostic-error-line td.dev-server-diagnostic-blob-num:hover { background-color: #ffdada !important; } td.dev-server-diagnostic-blob-code { position: relative !important; padding-right: 10px !important; padding-left: 10px !important; line-height: 20px !important; vertical-align: top !important; overflow: visible !important; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace !important; font-size: 12px !important; color: #333 !important; word-wrap: normal !important; white-space: pre !important; } td.dev-server-diagnostic-blob-code::before { content: '' !important; } .dev-server-diagnostic-error-chr { position: relative !important; } .dev-server-diagnostic-error-chr::before { position: absolute !important; z-index: -1; top: -3px !important; left: 0px !important; width: 8px !important; height: 20px !important; background-color: #ffdddd !important; content: '' !important; } /** * GitHub Gist Theme * Author : Louis Barranqueiro - https://github.com/LouisBarranqueiro * https://highlightjs.org/ */ .hljs-comment, .hljs-meta { color: #969896; } .hljs-string, .hljs-variable, .hljs-template-variable, .hljs-strong, .hljs-emphasis, .hljs-quote { color: #df5000; } .hljs-keyword, .hljs-selector-tag, .hljs-type { color: #a71d5d; } .hljs-literal, .hljs-symbol, .hljs-bullet, .hljs-attribute { color: #0086b3; } .hljs-section, .hljs-name { color: #63a35c; } .hljs-tag { color: #333333; } .hljs-title, .hljs-attr, .hljs-selector-id, .hljs-selector-class, .hljs-selector-attr, .hljs-selector-pseudo { color: #795da3; } .hljs-addition { color: #55a532; background-color: #eaffea; } .hljs-deletion { color: #bd2c00; background-color: #ffecec; } .hljs-link { text-decoration: underline; }",i=function(e){var t,n,r={diagnostics:[],status:null};return e&&e.window&&Array.isArray(e.buildResults.diagnostics)&&(t=e.buildResults.diagnostics.filter((function(e){return"error"===e.level}))).length>0&&(n=s(e.window.document),t.forEach((function(t){r.diagnostics.push(t),a(e.window.document,e.openInEditor,n,t)})),r.status="error"),r},a=function(e,t,n,r){var o,i,a,s,d,m,f,g,v,h,b,w,y,k,E,C,j=e.createElement("div");j.className="dev-server-diagnostic",(d=e.createElement("div")).className="dev-server-diagnostic-masthead",d.title="".concat(c(r.type)," error: ").concat(c(null!==(o=r.code)&&void 0!==o?o:"unknown error")),j.appendChild(d),(m=e.createElement("div")).className="dev-server-diagnostic-title","string"==typeof r.header&&r.header.trim().length>0?m.textContent=r.header:m.textContent="".concat(A(r.type)," ").concat(A(r.level)),d.appendChild(m),(f=e.createElement("div")).className="dev-server-diagnostic-message",f.textContent=r.messageText,d.appendChild(f),(g=e.createElement("div")).className="dev-server-diagnostic-file",j.appendChild(g),v="string"==typeof r.absFilePath&&0===r.absFilePath.indexOf("http"),h="function"==typeof t&&"string"==typeof r.absFilePath&&!v,v?((b=e.createElement("a")).href=null!==(i=r.absFilePath)&&void 0!==i?i:"",b.setAttribute("target","_blank"),b.setAttribute("rel","noopener noreferrer"),b.className="dev-server-diagnostic-file-header",(w=e.createElement("span")).className="dev-server-diagnostic-file-path",w.textContent=null!==(a=r.absFilePath)&&void 0!==a?a:"",b.appendChild(w),g.appendChild(b)):r.relFilePath&&((b=e.createElement(h?"a":"div")).className="dev-server-diagnostic-file-header",r.absFilePath&&(b.title=c(r.absFilePath),h&&l(t,b,r.absFilePath,r.lineNumber,r.columnNumber)),y=r.relFilePath.split("/"),(k=e.createElement("span")).className="dev-server-diagnostic-file-name",k.textContent=null!==(s=y.pop())&&void 0!==s?s:"",(w=e.createElement("span")).className="dev-server-diagnostic-file-path",w.textContent=y.join("/")+"/",b.appendChild(w),b.appendChild(k),g.appendChild(b)),r.lines&&r.lines.length>0&&((E=e.createElement("div")).className="dev-server-diagnostic-blob",g.appendChild(E),(C=e.createElement("table")).className="dev-server-diagnostic-table",E.appendChild(C),u(r.lines).forEach((function(n){var o,i,a,s,d,A,u,m=e.createElement("tr");n.errorCharStart>0&&m.classList.add("dev-server-diagnostic-error-line"),h&&m.classList.add("dev-server-diagnostic-open-in-editor"),C.appendChild(m),(s=e.createElement("td")).className="dev-server-diagnostic-blob-num",n.lineNumber>0&&(s.setAttribute("data-line-number",n.lineNumber+""),s.title=c(null!==(o=r.relFilePath)&&void 0!==o?o:"")+", line "+n.lineNumber,d=r.absFilePath,h&&d&&(A=n.lineNumber===r.lineNumber?r.columnNumber:1,l(t,s,d,n.lineNumber,A))),m.appendChild(s),(u=e.createElement("td")).className="dev-server-diagnostic-blob-code",u.innerHTML=p(null!==(i=n.text)&&void 0!==i?i:"",n.errorCharStart,null!==(a=n.errorLength)&&void 0!==a?a:0),m.appendChild(u)}))),n.appendChild(j)},l=function(e,t,n,r,o){var i,a;"A"===t.tagName&&(t.href="#open-in-editor"),i="number"!=typeof r||r<1?1:r,a="number"!=typeof o||o<1?1:o,t.addEventListener("click",(function(t){t.preventDefault(),t.stopPropagation(),e({file:n,line:i,column:a})}))},s=function(e){var t=e.getElementById(f);return t||((t=e.createElement("div")).id=f,t.setAttribute("role","dialog"),e.body.appendChild(t)),t.innerHTML="<style>".concat(o,'</style><div id="').concat(f,'-inner"></div>'),e.getElementById("".concat(f,"-inner"))},d=function(e){var t=e.window.document.getElementById(f);(null==t?void 0:t.parentNode)&&t.parentNode.removeChild(t)},c=function(e){return"number"==typeof e||"boolean"==typeof e?e.toString():"string"==typeof e?e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'"):""},A=function(e){return e.charAt(0).toUpperCase()+e.slice(1)},p=function(e,t,n){if("string"!=typeof e)return"";var r=t+n;return e.split("").map((function(e,n){var o;return o="<"===e?"<":">"===e?">":'"'===e?""":"'"===e?"'":"&"===e?"&":e,n>=t&&n<r&&(o='<span class="dev-server-diagnostic-error-chr">'.concat(o,"</span>")),o})).join("")},u=function(e){var t,n,r,o,i,a=JSON.parse(JSON.stringify(e));for(o=0;o<100;o++){if(!m(a))return a;for(i=0;i<a.length;i++)if(a[i].text=null!==(n=null===(t=a[i].text)||void 0===t?void 0:t.slice(1))&&void 0!==n?n:"",a[i].errorCharStart--,!(null===(r=a[i].text)||void 0===r?void 0:r.length))return a}return a},m=function(e){var t,n,r,o,i;if(!e.length)return!1;for(o=0;o<e.length;o++){if(!e[o].text||(null!==(n=null===(t=e[o].text)||void 0===t?void 0:t.length)&&void 0!==n?n:0)<1)return!1;if(" "!==(i=null===(r=e[o].text)||void 0===r?void 0:r.charAt(0))&&"\t"!==i)return!1}return!0},f="dev-server-modal",g=function(e,t){e.dispatchEvent(new CustomEvent(k,{detail:t}))},v=function(e,t){e.dispatchEvent(new CustomEvent(E,{detail:t}))},h=function(e,t){e.dispatchEvent(new CustomEvent(C,{detail:t}))},b=function(e,t){e.addEventListener(k,(function(e){t(e.detail)}))},w=function(e,t){e.addEventListener(E,(function(e){t(e.detail)}))},y=function(e,t){e.addEventListener(C,(function(e){t(e.detail)}))},k="devserver:buildlog",E="devserver:buildresults",C="devserver:buildstatus",j=function(e,t,n){return"string"==typeof n&&""!==n.trim()&&L(t)===L(n)?H(n,e):n},L=function(e){var t=e.split("/");return t[t.length-1].split("&")[0].split("?")[0]},x=function(e){var t={};return"string"==typeof e&&e.split("&").forEach((function(e){var n=e.split("=");t[n[0]]=n[1]?n[1]:""})),t},I=function(e){return Object.keys(e).map((function(t){return t+"="+e[t]})).join("&")},Q=function(e,t,n){var r=e.split("?"),o=r[0],i=x(r[1]);return i[t]=n,o+"?"+I(i)},H=function(e,t){return Q(e,"s-hmr",t)},S=function(e,t,n){for(var r,o,i=/url\((['"]?)(.*)\1\)/gi,a=n;null!==(r=i.exec(n));)o=r[2],a=a.replace(o,j(e,t,o));return a},B=function(e){return"link"===e.nodeName.toLowerCase()&&!!e.href&&!!e.rel&&"stylesheet"===e.rel.toLowerCase()},U=function(e){return"template"===e.nodeName.toLowerCase()&&!!e.content&&11===e.content.nodeType},N=function(e,t){e.setAttribute("data-hmr",t)},D=function(e){return!!e.shadowRoot&&11===e.shadowRoot.nodeType&&e.shadowRoot!==e},F=function(e){return!!e&&1===e.nodeType&&!!e.getAttribute},T=function(e,t,n){var r=[];return n.forEach((function(n){R(r,e,t,n)})),r.sort()},R=function(e,t,n,r){if(t.nodeName.toLowerCase()===r&&"function"==typeof t["s-hmr"]&&(t["s-hmr"](n),N(t,n),-1===e.indexOf(r)&&e.push(r)),D(t)&&R(e,t.shadowRoot,n,r),t.children)for(var o=0;o<t.children.length;o++)R(e,t.children[o],n,r)},O=function(e,t,n){if(B(e)&&n.forEach((function(n){M(e,t,n)})),U(e)&&O(e.content,t,n),D(e)&&O(e.shadowRoot,t,n),e.children)for(var r=0;r<e.children.length;r++)O(e.children[r],t,n);return n.sort()},M=function(e,t,n){var r=e.getAttribute("href"),o=j(t,n,e.href);o!==r&&(e.setAttribute("href",o),N(e,t))},z=function(e,t,n,r){return"file:"!==e.location.protocol&&t.styleSheets&&K(t,n,r),Y(e,t.documentElement,n,r),r.sort()},K=function(e,t,n){var r,o=Object.keys(e.documentElement.style).filter((function(e){return e.endsWith("Image")}));for(r=0;r<e.styleSheets.length;r++)P(o,e.styleSheets[r],t,n)},P=function(e,t,n,r){var o,i,a;try{for(o=t.cssRules,i=0;i<o.length;i++)switch((a=o[i]).type){case CSSRule.IMPORT_RULE:P(e,a.styleSheet,n,r);break;case CSSRule.STYLE_RULE:J(e,a,n,r);break;case CSSRule.MEDIA_RULE:P(e,a,n,r)}}catch(e){console.error("hmrStyleSheetImages: "+e)}},J=function(e,t,n,r){e.forEach((function(e){r.forEach((function(r){var o=t.style[e],i=S(n,r,o);o!==i&&(t.style[e]=i)}))}))},Y=function(e,t,n,r){var o,i,a=t.nodeName.toLowerCase();if("img"===a&&W(t,n,r),F(t)&&(o=t.getAttribute("style"))&&X(t,n,r,o),"style"===a&&q(t,n,r),"file:"!==e.location.protocol&&B(t)&&G(t,n,r),U(t)&&Y(e,t.content,n,r),D(t)&&Y(e,t.shadowRoot,n,r),t.children)for(i=0;i<t.children.length;i++)Y(e,t.children[i],n,r)},W=function(e,t,n){n.forEach((function(n){var r=e.getAttribute("src"),o=j(t,n,r);o!==r&&(e.setAttribute("src",o),N(e,t))}))},X=function(e,t,n,r){n.forEach((function(n){var o=S(t,n,r);o!==r&&(e.setAttribute("style",o),N(e,t))}))},q=function(e,t,n){n.forEach((function(n){var r=e.innerHTML,o=S(t,n,r);o!==r&&(e.innerHTML=o,N(e,t))}))},G=function(e,t,n){e.href=Q(e.href,"s-hmr-urls",n.sort().join(",")),e.href=H(e.href,t),e.setAttribute("data-hmr",t)},Z=function(e,t,n){var r,o=n;if(F(e)&&"style"===e.nodeName.toLowerCase()&&o.forEach((function(n){V(e,t,n)})),U(e)&&Z(e.content,t,o),D(e)&&Z(e.shadowRoot,t,o),e.children)for(r=0;r<e.children.length;r++)Z(e.children[r],t,o);return o.map((function(e){return e.styleTag})).reduce((function(e,t){return-1===e.indexOf(t)&&e.push(t),e}),[]).sort()},V=function(e,t,n){e.getAttribute("sty-id")===n.styleId&&n.styleText&&(e.innerHTML=n.styleText.replace(/\\n/g,"\n"),e.setAttribute("data-hmr",t))},_=function(e){var t,n,r,o,i,a={updatedComponents:[],updatedExternalStyles:[],updatedInlineStyles:[],updatedImages:[],versionId:""};try{if(!(e&&e.window&&e.window.document.documentElement&&e.hmr&&"string"==typeof e.hmr.versionId))return a;n=(t=e.window).document,r=e.hmr,o=n.documentElement,i=r.versionId,a.versionId=i,r.componentsUpdated&&(a.updatedComponents=T(o,i,r.componentsUpdated)),r.inlineStylesUpdated&&(a.updatedInlineStyles=Z(o,i,r.inlineStylesUpdated)),r.externalStylesUpdated&&(a.updatedExternalStyles=O(o,i,r.externalStylesUpdated)),r.imagesUpdated&&(a.updatedImages=z(t,n,i,r.imagesUpdated)),N(o,i)}catch(e){console.error(e)}return a},$=function(e){return oe(le,"Build",e)},ee=function(e){return te("Reload",e)},te=function(e,t){return oe(ie,e,t)},ne=function(e,t){return oe(se,e,t)},re=function(e){var t,n=e,r=ae,o="Error";"warn"===n.level&&(r=ie,o="Warning"),n.header&&(o=n.header),t="",n.relFilePath&&(t+=n.relFilePath,"number"==typeof n.lineNumber&&n.lineNumber>0&&(t+=", line "+n.lineNumber,"number"==typeof n.columnNumber&&n.columnNumber>0&&(t+=", column "+n.columnNumber)),t+="\n"),t+=n.messageText,oe(r,o,t)},oe=function(e,t,n){"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.indexOf("Trident")>-1?console.log(t,n):console.log.apply(console,["%c"+t,"background: ".concat(e,"; color: white; padding: 2px 3px; border-radius: 2px; font-size: 0.8em;"),n])},ie="#f39c12",ae="#c0392b",le="#3498db",se="#717171",de=function(e){function t(){clearTimeout(l),clearTimeout(a);var e=o();if(!e)return function(){var e=p.createElement("div");e.id=c,e.style.position="absolute",e.style.top="0",e.style.left="0",e.style.zIndex="100001",e.style.width="100%",e.style.height="2px",e.style.transform="scaleX(0)",e.style.opacity="1",e.style.background=u,e.style.transformOrigin="left center",e.style.transition="transform .1s ease-in-out, opacity .5s ease-in",e.style.contain="strict",p.body.appendChild(e)}(),void(i=setTimeout(t,16));e.style.background=u,e.style.opacity="1",e.style.transform="scaleX(".concat(Math.min(1,r()),")"),null==s&&(s=setInterval((function(){d+=.05*Math.random()+.01,r()<.9?t():clearInterval(s)}),800))}function n(){clearInterval(s),d=.05,s=null,clearTimeout(l),clearTimeout(i),clearTimeout(a);var e=o();e&&(f>=1&&(e.style.transform="scaleX(1)"),l=setTimeout((function(){try{var e=o();e&&(e.style.opacity="0")}catch(e){}}),150),a=setTimeout((function(){try{var e=o();e&&e.parentNode.removeChild(e)}catch(e){}}),1e3))}function r(){var e=f+d;return Math.max(0,Math.min(1,e))}function o(){return p.getElementById(c)}var i,a,l,s,d,c,A=e.window,p=A.document,u="#5851ff",m="#b70c19",f=0;n(),b(A,(function(e){(f=e.progress)>=0&&f<1?t():n()})),w(A,(function(e){if(e.hasError){var t=o();t&&(t.style.transform="scaleX(1)",t.style.background=m)}n()})),y(A,(function(e){"disabled"===e&&n()})),"tmpl-initial-load"===p.head.dataset.tmpl&&t(),c="dev-server-progress-bar"},ce=function(e){var t=e.window,n=t.document,r=ue(n);r.forEach((function(e){e.href&&(e.dataset.href=e.href,e.dataset.type=e.type)})),y(t,(function(e){Ae(n,e)}))},Ae=function(e,t){ue(e).forEach((function(e){pe(e,t)}))},pe=function(e,t){"pending"===t?(e.href=fe,e.type=he,e.setAttribute("data-status",t)):"error"===t?(e.href=ge,e.type=he,e.setAttribute("data-status",t)):"disabled"===t?(e.href=ve,e.type=he,e.setAttribute("data-status",t)):(e.removeAttribute("data-status"),e.dataset.href?(e.href=e.dataset.href,e.type=e.dataset.type):(e.href=me,e.type=he))},ue=function(e){var t,n,r=[],o=e.querySelectorAll("link");for(t=0;t<o.length;t++)o[t].href&&o[t].rel&&(o[t].rel.indexOf("shortcut")>-1||o[t].rel.indexOf("icon")>-1)&&r.push(o[t]);return 0===r.length&&((n=e.createElement("link")).rel="shortcut icon",e.head.appendChild(n),r.push(n)),r},me="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMAAAADACAMAAABlApw1AAAAnFBMVEUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD4jUzeAAAAM3RSTlMAsGDs4wML8QEbBvr2FMhAM7+ILCUPnNzXrX04otO6j3RiT0ggzLSTcmtWUUWoZlknghZc2mZzAAACrklEQVR42u3dWXLiUAyFYWEwg40x8wxhSIAwJtH+99ZVeeinfriXVpWk5Hyr+C2VrgkAAAAAAAAAAAw5sZQ7aUhYypw07FjKC2ko2yxk2SQFgwYLOWSkYFhlIZ06KWhNWMhqRApGKxYyaZGCeoeFVIekIDuwkEaXFDSXLKRdkoYjS9mRhjlLSUjDO0s5kYYzS+mThn3OQsYqAbQQC7hZSgoGYgHUy0jBa42FvKkEUDERC6CCFIzeWEjtlRRkPbGAG5CCtCIWQAtS0ByzkHxPGvos5UEaNizlnTRsWconhbM4wTpSFHMTrFtKCroNFrLGBOsJLbGAWxWkoFiJBRAmWE/I1r4nWOmNheTeJ1gX0vDJUrYUweAEa04aHs5XePvc9wpPboJ1SCmOsRVkr04aromUEQEAgB9lxaZ++ATFpNDv6Y8qm1QdBk9QTAr9ni6mbFK7DJ6g2LQLXoHZlFCQdMY2nYJXYDb1g1dgNo2boSswm2Zp6ArMptCFyIVtCl2IlDmbNC0QcPEQcD8l4HLvAXdxHnBb5wG3QcDFQ8D9mIDrIeCiIeDiA25oNeA+EHDREHDxAbdmmxBwT0HARQbciW0KDbiEbQoNuB3bFBxwbTYJAfcUBFxkwFG/YlNJAADgxzCRcqUY9m7KGgNSUEx9H3XXO76Puv/OY5wedX/flHk+6j46v2maO79purPvm6Yz+75puua+b5q6Dd/PEsrNMyZfFM5gAMW+ymPtWciYV3ksBpBOwKUH3wHXXLKUM2l4cR5wG+cBlzgPuJ3zgJNb6FRwlP4Ln1X8wrOKeFbxP6Qz3wEn+KzilWLYe5UnMuDwY5BvD+cBt899B9zC+49Bqr4DrlXzHXDF1HfA1Tu+Ay5b+w649OY74OjoO+Bo7jzg7s4DDgAAAAAAAAAA/u0POrfnVIaqz/QAAAAASUVORK5CYII=",fe="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMAAAADACAMAAABlApw1AAAAjVBMVEUAAAD8kjL8kjL8kjL8kjL8kjL8kjL8kjL8kjL8kjL8kjL8kjL8kjL8kjL8kjL8kjL8kjL8kjL8kjL8kjL8kjL8kjL8kjL8kjL8kjL8kjL8kjL8kjL8kjL8kjL8kjL8kjL8kjL8kjL8kjL8kjL8kjL8kjL8kjL8kjL8kjL8kjL8kjL8kjL8kjL8kjL8kjLn7xn3AAAALnRSTlMAsFBgAaDxfPpAdTMcD/fs47kDBhVXJQpvLNbInIiBRvSqIb+TZ2OOONxdzUxpgKSpAAAAA69JREFUeNrt3FtvskAQxvERFQXFioqnCkqth572+3+8947dN00TliF5ZpP53ZOAveg/OzCklFJKKaWUUkoppQTZm77cCGFo+jIhhG/TlwchJAvTk/GIAA6x6Um+JoDti+nJ644A5h+mJ8eMALKj6cnHnAB2r80NLJ4jf3Vz+cuWANZ5cwPTM/l7by6PZwQwGptGQf4q++dLCOHdNIbkb2IvjwjAvYEf8pe6j4/wYxopr/9SQih4BXa3l5eEcJ7a++c9/gkSQE8bcCWvXwcrAjjYADrxHv8KCbi3JasgD5fm8i9IAG1swMXzDv0X2wDaEED21dzA5UDeVoPm8uUbAayvvAI42YA7EIDzA5pv8lc6/UoAoxMv4CZuvyKUpnHn9VNBAG6B7XkBtCeEO6/AbvbyihAiXsB92svfCcA9wap4j19DAmgWs37AZCrnBKvu8vgX9AmWE3BZh/6L7QkWJIA2RxtwHQpml9sAQp9gXWbkbxz4CdYDfIK1qk1j3IV9fPgJFlNECJXhYfSfsBHkhBCKwEd452nYI7wncwQJP8GKTU+uO0I4D/uSkVJKqXAkA5nK9icoIi3nrU9QRHrZtj5BESmetT5BEantPCh7NTJFrUdgMg1bj8BkSv1HYJ8RmjMQKf1HYDdC+/R/IyQFzbD4AxH+CIyPPxCJoEdQ/IFIMgXNEPkDkd8jMLQs5wRcTXA1J+By/BGO+0ovYwQGU3kPRLJfIzCkCSfgpgmhpc5AxD/gIkLb8wKO0DTgoNyaGQQecNfQAy7TgGtHA04DLtyA24UecHngAVdrwIkJuAitU8DJ1Dbghkam9gEnU+uAWxiRjhsdoXagI1TPgKNyIBO+ZpRSSrW3HfblTAA9/juPDwTAfiMK9VG3PY/hwX7Ubc9j+AoCWNWGp+NSH4HflE2IgXUEGPI3TTfmN4ndv2kSsRUJvpUn4W1FShbYb5rc84ySAtzKs3W3IgW4lWfO24q0zsFbebIjaysSjbtt5RHzUf0DHHCrAW8gVYEDzl0LGYW4lefB24uYQgOOfwN7dMANeW/k3DkBJ2CrUNE54GRsFYIHnPNR+iPEgHPWKo5DDDhnrWKeBRhwzlrFeNtlq5CgtYqzAAPODaBzgAH331rFAAOOqsDXKjL3IqboN7ILJ4BCDDh3r3SIAfd0AijEgHP3So/8wQNuvjRBbxVij5A6Bpy8EZJnwIkbIfkFnLwRkm/ASRshXbwDTtYICRRwt7BHqEoppZRSSimllFLqD/8AOXJZHefotiIAAAAASUVORK5CYII=",ge="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMAAAADACAMAAABlApw1AAAAkFBMVEUAAAD5Q0H5Q0H5Q0H5Q0H5Q0H5Q0H5Q0H5Q0H5Q0H5Q0H5Q0H5Q0H5Q0H5Q0H5Q0H5Q0H5Q0H5Q0H5Q0H5Q0H5Q0H5Q0H5Q0H5Q0H5Q0H5Q0H5Q0H5Q0H5Q0H5Q0H5Q0H5Q0H5Q0H5Q0H5Q0H5Q0H5Q0H5Q0H5Q0H5Q0H5Q0H5Q0H5Q0H5Q0H5Q0H5Q0H5Q0HYvLBZAAAAL3RSTlMAsGDjA/rsC/ElHRUBBssz9pFCvoh0UEcsD9ec3K19OLiiaNLEYlmoVeiCbmE+GuMl4I8AAAKQSURBVHja7d1njupQDIZhAymEUIZQQu9taN7/7q50pfl/TmTJtvQ9q3hzLDsEAAAAAAAAAACGzFjKiTS0WcqONMxZypg0fH5YyLFPChZdFnIYkILil4VcclLw3bCQ85IULM8sZPMlBfmFhfwWpGBwYCHdESnoH1nIz4c0jFnKnDTsWEqbNJxYyow03FjKlDTUKQtZqwTQXizgtgkpWGQsZKIScL0OCxmqBFC5EQugkhQshyyk0yMFgwkLyRakIGmJBdCeFPTXLCStScOUpdwogsEXrBdpuLKUJ4XDC9afKmUh94QUjLy/YGViAZRTOIMBtypJQXn2HUC5WMBleMFqILmzkLSicBZfsB6k4clSrqTh5XyEd3MeQHXqe4Qn94LVSiicwRHkJScNdVvKkgAAwI+qZdM0/AXFpE4v+AXFpKwIfkExKfR7ulyxSWkV/IJi0zx4BGbTm4IkW7ZpFjwCs2kaPAKzad0PHYHZtE1CR2A2TQahIzCbhnnwCMykVYmAi4aAQ8BZ4T3grgi4BhBwCDgbEHCNIOAQcCYg4BpCwCHgLEDAaYgPuDfbhIBrBAGHgDMhNOBo2rKpIgAA8KNoS6kplq2dsu6CFJQr30vd+dD3Uvf/nTLHS93J3flZwrHznaad852mE/veaXqw752mKvW90zTq+j5LWGS+r/J8xQKoU1AUa2chm1zlsXQWUifgkoPvgOsffQccjZ0H3Mx5wL2dB9zcecB9sJTePOBM3cU+46wiziq6C7hk6zvg3J9VfDK7vir0ch5wN+cBV6e+A27v/ccgme+AkxshTXKKYW6EFH0X29gIKTLgzI2QYgPO2ggpLuDsvaDEBZy9EVJcwBkcIT0IAAAAAAAAAADs+AdjeyF69/r87QAAAABJRU5ErkJggg==",ve="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMAAAADACAMAAABlApw1AAAAeFBMVEUAAAC4t7+4t7+4t7+4t7+4t7+4t7+4t7+4t7+4t7+4t7+4t7+4t7+4t7+4t7+4t7+4t7+4t7+4t7+4t7+4t7+4t7+4t7+4t7+4t7+4t7+4t7+4t7+4t7+4t7+4t7+4t7+4t7+4t7+4t7+4t7+4t7+4t7+4t7+4t7/uGGySAAAAJ3RSTlMAsGAE7OMcAQvxJRX69kHWyL8zq5GIdEcsD5zcfVg4uKLNa1JPZoK/xdPIAAACiklEQVR42u3dW5KqUAyF4QgCCggqIt7t9pb5z/Ccvjz2w95UqpJ0r28Uf2WTQAAAAAAAAAAAYMiWpTxJQ8JSTqThwVI2pKFZsJC3ghTs5izkmpKCcspCljNSkB9ZSLsnBfuWhRxzUjBbspBpSQrSKwuZr0lB8cZCFg1p2LCUB2k4sZSENNxYypY0nFlKTxqGmoUcClJwEQu4SUoKdmIBtEpJQZ6xkHeVAKqOYgFUkYL9OwvJclKQrsQCbkcK0olYAF1IQXFgIfVAGnqWcqZwFidYN4phb4L1onCYYMlPsLqUFKwxwRozwTIYcG1FCqrWdwBhgqU7wUo7FlJ7n2DdScPL+RPezfkT3tl5AA217yc89xMssYBbzUjDkEjZEwAA+NFMbOrDJygmZXnwBMWkaRk8QTFpvg6eoJi0aIInKDY9gp/AbEqCJyg2bYOfwGzqKUzPNh2K0Ccwm0IfRBK2KfSLkDvbFPog0tRsUlsh4EZAwP2SgKu9B9wdATcOAg4BZwACbgQEHALOCATcCAg4BJwVCLhREHB/LOAebFNwwC3YJATcKAi4yICjfmJTQwAA4EeZSBkojrWdsvmO4hjbKYtd6ra2Uxa71G1tp0xnqbvo+IPfpe4Nf3K703Ridr3T9OQPfnea7szseaepqX3vNH3NM/xe5fmeZ7i9yiMXQFlJEeydhYy4ymMygCICzmQAxQactbOQMQFnMoBiAs7iVaHIgDN3VSgq4AxeFYoOOGNXhbCUPkaJs4o4q/iXzyp2vgPO/VnFl/OAu/F/jq8KnZ0H3FD7DriL9x+DTH0HXJ75Driq9R1ws6XvgEuvvgOu6HwHHG18BxydnAfc03nAAQAAAAAAAADAz/4BoL2Us9XM2zMAAAAASUVORK5CYII=",he="image/x-icon",be="/~dev-server",we="".concat(be,"-init"),ye="".concat(be,"-open-in-editor"),ke=function(e,t){w(e,(function(n){Ee(e,t,n)}))},Ee=function(e,t,n){var r,o;try{if(n.buildId===e["s-build-id"])return;if(e["s-build-id"]=n.buildId,d({window:e}),n.hasError)return r=Array.isArray(t.editors)&&t.editors.length>0?t.editors[0].id:null,(o=i({window:e,buildResults:n,openInEditor:r?function(t){var n={file:t.file,line:t.line,column:t.column,editor:r},o="".concat(ye,"?").concat(Object.keys(n).map((function(e){return"".concat(e,"=").concat(n[e])})).join("&"));e.fetch(o)}:null})).diagnostics.forEach(re),void h(e,o.status);if(e["s-initial-load"])return void je(e,t,(function(){ee("Initial load"),e.location.reload()}));n.hmr&&Ce(e,n.hmr)}catch(e){console.error(e)}},Ce=function(e,t){var n,r=!1;"pageReload"===t.reloadStrategy&&(r=!0),t.indexHtmlUpdated&&(ee("Updated index.html"),r=!0),t.serviceWorkerUpdated&&(ee("Updated Service Worker: sw.js"),r=!0),t.scriptsAdded&&t.scriptsAdded.length>0&&(ee("Added scripts: ".concat(t.scriptsAdded.join(", "))),r=!0),t.scriptsDeleted&&t.scriptsDeleted.length>0&&(ee("Deleted scripts: ".concat(t.scriptsDeleted.join(", "))),r=!0),t.excludeHmr&&t.excludeHmr.length>0&&(ee("Excluded From Hmr: ".concat(t.excludeHmr.join(", "))),r=!0),r?e.location.reload():((n=_({window:e,hmr:t})).updatedComponents.length>0&&$("Updated component".concat(n.updatedComponents.length>1?"s":"",": ").concat(n.updatedComponents.join(", "))),n.updatedInlineStyles.length>0&&$("Updated styles: ".concat(n.updatedInlineStyles.join(", "))),n.updatedExternalStyles.length>0&&$("Updated stylesheets: ".concat(n.updatedExternalStyles.join(", "))),n.updatedImages.length>0&&$("Updated images: ".concat(n.updatedImages.join(", "))))},je=function(e,t,n){e.history.replaceState({},"App",t.basePath),e.navigator.serviceWorker&&e.navigator.serviceWorker.getRegistration?e.navigator.serviceWorker.getRegistration().then((function(e){e?e.unregister().then((function(e){e&&$("unregistered service worker"),n()})):n()})).catch((function(e){te("Service Worker",e),n()})):n()},Le=function(e,t){function n(){var t=this;A>0&&h(e,"pending"),p||(c=setInterval((function(){if(u++,!p&&t.readyState===WebSocket.OPEN&&u<500){t.send(JSON.stringify({requestBuildResults:!0}))}else clearInterval(c)}),He)),clearTimeout(d)}function r(){l()}function o(t){h(e,"disabled"),t.code>Qe?te("Dev Server","web socket closed: ".concat(t.code," ").concat(t.reason)):ne("Dev Server","Disconnected, attempting to reconnect..."),l()}function i(t){var n=JSON.parse(t.data);if(A>0){if(n.isActivelyBuilding)return;if(n.buildResults)return ee("Reconnected to dev server"),p=!0,u=0,clearInterval(c),e["s-build-id"]!==n.buildResults.buildId&&e.location.reload(),void(e["s-build-id"]=n.buildResults.buildId)}return n.buildLog?(n.buildLog.progress<1&&h(e,"pending"),void g(e,n.buildLog)):n.buildResults?(p=!0,u=0,clearInterval(c),h(e,"default"),void v(e,n.buildResults)):void 0}function a(){clearTimeout(d),(s=new e.WebSocket(t.socketUrl,["xmpp"])).addEventListener("open",n),s.addEventListener("error",r),s.addEventListener("close",o),s.addEventListener("message",i)}function l(){p=!1,s&&(s.readyState!==WebSocket.OPEN&&s.readyState!==WebSocket.CONNECTING||s.close(Qe),s.removeEventListener("open",n),s.removeEventListener("error",r),s.removeEventListener("close",o),s.removeEventListener("message",i),s=null),clearTimeout(d),A>=xe?te("Dev Server","Canceling reconnect attempts"):(A++,d=setTimeout(a,Ie),h(e,"disabled"))}var s,d,c,A=0,p=!1,u=0;a()},xe=1e3,Ie=2500,Qe=1e3,He=500,Se=function(e,t){try{if(e["s-dev-server"])return;e["s-dev-server"]=!0,ce({window:e}),de({window:e}),ke(e,t),Be(e,t)?(e["s-initial-load"]=!0,je(e,t,(function(){Le(e,t)}))):Le(e,t)}catch(e){console.error(e)}},Be=function(e,t){var n=e.location.pathname;return(n="/"+n.substring(t.basePath.length))===we},Ue=function(e){De(),Ne(e)},Ne=function(e){function t(e,t){t=t||{bubbles:!1,cancelable:!1,detail:void 0};var n=document.createEvent("CustomEvent");return n.initCustomEvent(e,t.bubbles,t.cancelable,t.detail),n}"function"!=typeof e.CustomEvent&&(t.prototype=e.Event.prototype,e.CustomEvent=t)},De=function(){"function"!=typeof Object.assign&&Object.defineProperty(Object,"assign",{value:function(e){var t,n,r,o,i,a,l=[];for(t=1;t<arguments.length;t++)l[t-1]=arguments[t];for(n=Object(e),r=0,o=l;r<o.length;r++)if(null!=(i=o[r]))for(a in i)Object.prototype.hasOwnProperty.call(i,a)&&(n[a]=i[a]);return n},writable:!0,configurable:!0})},Fe={basePath:t.location.pathname,editors:[],reloadStrategy:"hmr",socketUrl:"".concat("https:"===location.protocol?"wss:":"ws:","//").concat(location.hostname).concat(""!==location.port?":"+location.port:"","/")};Ue(e),Se(t,Object.assign({},Fe,t.devServerConfig,n))}(window,window.parent,window.__DEV_CLIENT_CONFIG__);
|
|
6
6
|
</script></body></html>
|
package/dev-server/index.js
CHANGED
package/dev-server/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
Stencil Dev Server Process v4.18.2
|
|
2
|
+
Stencil Dev Server Process v4.18.2 | MIT Licensed | https://stenciljs.com
|
|
3
3
|
*/
|
|
4
4
|
"use strict";
|
|
5
5
|
var __create = Object.create;
|
|
@@ -4153,7 +4153,7 @@ var DEV_SERVER_INIT_URL = `${DEV_SERVER_URL}-init`;
|
|
|
4153
4153
|
var OPEN_IN_EDITOR_URL = `${DEV_SERVER_URL}-open-in-editor`;
|
|
4154
4154
|
|
|
4155
4155
|
// build/version.js
|
|
4156
|
-
var version = "4.18.2
|
|
4156
|
+
var version = "4.18.2";
|
|
4157
4157
|
|
|
4158
4158
|
// build/dev-server/content-types-db.json
|
|
4159
4159
|
var content_types_db_default = { "123": "application/vnd.lotus-1-2-3", "1km": "application/vnd.1000minds.decision-model+xml", "3dml": "text/vnd.in3d.3dml", "3ds": "image/x-3ds", "3g2": "video/3gpp2", "3gp": "video/3gpp", "3gpp": "video/3gpp", "3mf": "model/3mf", "7z": "application/x-7z-compressed", "aab": "application/x-authorware-bin", "aac": "audio/x-aac", "aam": "application/x-authorware-map", "aas": "application/x-authorware-seg", "abw": "application/x-abiword", "ac": "application/vnd.nokia.n-gage.ac+xml", "acc": "application/vnd.americandynamics.acc", "ace": "application/x-ace-compressed", "acu": "application/vnd.acucobol", "acutc": "application/vnd.acucorp", "adp": "audio/adpcm", "aep": "application/vnd.audiograph", "afm": "application/x-font-type1", "afp": "application/vnd.ibm.modcap", "age": "application/vnd.age", "ahead": "application/vnd.ahead.space", "ai": "application/postscript", "aif": "audio/x-aiff", "aifc": "audio/x-aiff", "aiff": "audio/x-aiff", "air": "application/vnd.adobe.air-application-installer-package+zip", "ait": "application/vnd.dvb.ait", "ami": "application/vnd.amiga.ami", "amr": "audio/amr", "apk": "application/vnd.android.package-archive", "apng": "image/apng", "appcache": "text/cache-manifest", "application": "application/x-ms-application", "apr": "application/vnd.lotus-approach", "arc": "application/x-freearc", "arj": "application/x-arj", "asc": "application/pgp-signature", "asf": "video/x-ms-asf", "asm": "text/x-asm", "aso": "application/vnd.accpac.simply.aso", "asx": "video/x-ms-asf", "atc": "application/vnd.acucorp", "atom": "application/atom+xml", "atomcat": "application/atomcat+xml", "atomdeleted": "application/atomdeleted+xml", "atomsvc": "application/atomsvc+xml", "atx": "application/vnd.antix.game-component", "au": "audio/basic", "avci": "image/avci", "avcs": "image/avcs", "avi": "video/x-msvideo", "avif": "image/avif", "aw": "application/applixware", "azf": "application/vnd.airzip.filesecure.azf", "azs": "application/vnd.airzip.filesecure.azs", "azv": "image/vnd.airzip.accelerator.azv", "azw": "application/vnd.amazon.ebook", "b16": "image/vnd.pco.b16", "bat": "application/x-msdownload", "bcpio": "application/x-bcpio", "bdf": "application/x-font-bdf", "bdm": "application/vnd.syncml.dm+wbxml", "bdoc": "application/x-bdoc", "bed": "application/vnd.realvnc.bed", "bh2": "application/vnd.fujitsu.oasysprs", "bin": "application/octet-stream", "blb": "application/x-blorb", "blorb": "application/x-blorb", "bmi": "application/vnd.bmi", "bmml": "application/vnd.balsamiq.bmml+xml", "bmp": "image/x-ms-bmp", "book": "application/vnd.framemaker", "box": "application/vnd.previewsystems.box", "boz": "application/x-bzip2", "bpk": "application/octet-stream", "bsp": "model/vnd.valve.source.compiled-map", "btif": "image/prs.btif", "buffer": "application/octet-stream", "bz": "application/x-bzip", "bz2": "application/x-bzip2", "c": "text/x-c", "c11amc": "application/vnd.cluetrust.cartomobile-config", "c11amz": "application/vnd.cluetrust.cartomobile-config-pkg", "c4d": "application/vnd.clonk.c4group", "c4f": "application/vnd.clonk.c4group", "c4g": "application/vnd.clonk.c4group", "c4p": "application/vnd.clonk.c4group", "c4u": "application/vnd.clonk.c4group", "cab": "application/vnd.ms-cab-compressed", "caf": "audio/x-caf", "cap": "application/vnd.tcpdump.pcap", "car": "application/vnd.curl.car", "cat": "application/vnd.ms-pki.seccat", "cb7": "application/x-cbr", "cba": "application/x-cbr", "cbr": "application/x-cbr", "cbt": "application/x-cbr", "cbz": "application/x-cbr", "cc": "text/x-c", "cco": "application/x-cocoa", "cct": "application/x-director", "ccxml": "application/ccxml+xml", "cdbcmsg": "application/vnd.contact.cmsg", "cdf": "application/x-netcdf", "cdfx": "application/cdfx+xml", "cdkey": "application/vnd.mediastation.cdkey", "cdmia": "application/cdmi-capability", "cdmic": "application/cdmi-container", "cdmid": "application/cdmi-domain", "cdmio": "application/cdmi-object", "cdmiq": "application/cdmi-queue", "cdx": "chemical/x-cdx", "cdxml": "application/vnd.chemdraw+xml", "cdy": "application/vnd.cinderella", "cer": "application/pkix-cert", "cfs": "application/x-cfs-compressed", "cgm": "image/cgm", "chat": "application/x-chat", "chm": "application/vnd.ms-htmlhelp", "chrt": "application/vnd.kde.kchart", "cif": "chemical/x-cif", "cii": "application/vnd.anser-web-certificate-issue-initiation", "cil": "application/vnd.ms-artgalry", "cjs": "application/node", "cla": "application/vnd.claymore", "class": "application/java-vm", "clkk": "application/vnd.crick.clicker.keyboard", "clkp": "application/vnd.crick.clicker.palette", "clkt": "application/vnd.crick.clicker.template", "clkw": "application/vnd.crick.clicker.wordbank", "clkx": "application/vnd.crick.clicker", "clp": "application/x-msclip", "cmc": "application/vnd.cosmocaller", "cmdf": "chemical/x-cmdf", "cml": "chemical/x-cml", "cmp": "application/vnd.yellowriver-custom-menu", "cmx": "image/x-cmx", "cod": "application/vnd.rim.cod", "coffee": "text/coffeescript", "com": "application/x-msdownload", "conf": "text/plain", "cpio": "application/x-cpio", "cpl": "application/cpl+xml", "cpp": "text/x-c", "cpt": "application/mac-compactpro", "crd": "application/x-mscardfile", "crl": "application/pkix-crl", "crt": "application/x-x509-ca-cert", "crx": "application/x-chrome-extension", "cryptonote": "application/vnd.rig.cryptonote", "csh": "application/x-csh", "csl": "application/vnd.citationstyles.style+xml", "csml": "chemical/x-csml", "csp": "application/vnd.commonspace", "css": "text/css", "cst": "application/x-director", "csv": "text/csv", "cu": "application/cu-seeme", "curl": "text/vnd.curl", "cww": "application/prs.cww", "cxt": "application/x-director", "cxx": "text/x-c", "dae": "model/vnd.collada+xml", "daf": "application/vnd.mobius.daf", "dart": "application/vnd.dart", "dataless": "application/vnd.fdsn.seed", "davmount": "application/davmount+xml", "dbf": "application/vnd.dbf", "dbk": "application/docbook+xml", "dcr": "application/x-director", "dcurl": "text/vnd.curl.dcurl", "dd2": "application/vnd.oma.dd2+xml", "ddd": "application/vnd.fujixerox.ddd", "ddf": "application/vnd.syncml.dmddf+xml", "dds": "image/vnd.ms-dds", "deb": "application/x-debian-package", "def": "text/plain", "deploy": "application/octet-stream", "der": "application/x-x509-ca-cert", "dfac": "application/vnd.dreamfactory", "dgc": "application/x-dgc-compressed", "dic": "text/x-c", "dir": "application/x-director", "dis": "application/vnd.mobius.dis", "disposition-notification": "message/disposition-notification", "dist": "application/octet-stream", "distz": "application/octet-stream", "djv": "image/vnd.djvu", "djvu": "image/vnd.djvu", "dll": "application/x-msdownload", "dmg": "application/x-apple-diskimage", "dmp": "application/vnd.tcpdump.pcap", "dms": "application/octet-stream", "dna": "application/vnd.dna", "doc": "application/msword", "docm": "application/vnd.ms-word.document.macroenabled.12", "docx": "application/vnd.openxmlformats-officedocument.wordprocessingml.document", "dot": "application/msword", "dotm": "application/vnd.ms-word.template.macroenabled.12", "dotx": "application/vnd.openxmlformats-officedocument.wordprocessingml.template", "dp": "application/vnd.osgi.dp", "dpg": "application/vnd.dpgraph", "dra": "audio/vnd.dra", "drle": "image/dicom-rle", "dsc": "text/prs.lines.tag", "dssc": "application/dssc+der", "dtb": "application/x-dtbook+xml", "dtd": "application/xml-dtd", "dts": "audio/vnd.dts", "dtshd": "audio/vnd.dts.hd", "dump": "application/octet-stream", "dvb": "video/vnd.dvb.file", "dvi": "application/x-dvi", "dwd": "application/atsc-dwd+xml", "dwf": "model/vnd.dwf", "dwg": "image/vnd.dwg", "dxf": "image/vnd.dxf", "dxp": "application/vnd.spotfire.dxp", "dxr": "application/x-director", "ear": "application/java-archive", "ecelp4800": "audio/vnd.nuera.ecelp4800", "ecelp7470": "audio/vnd.nuera.ecelp7470", "ecelp9600": "audio/vnd.nuera.ecelp9600", "ecma": "application/ecmascript", "edm": "application/vnd.novadigm.edm", "edx": "application/vnd.novadigm.edx", "efif": "application/vnd.picsel", "ei6": "application/vnd.pg.osasli", "elc": "application/octet-stream", "emf": "image/emf", "eml": "message/rfc822", "emma": "application/emma+xml", "emotionml": "application/emotionml+xml", "emz": "application/x-msmetafile", "eol": "audio/vnd.digital-winds", "eot": "application/vnd.ms-fontobject", "eps": "application/postscript", "epub": "application/epub+zip", "es": "application/ecmascript", "es3": "application/vnd.eszigno3+xml", "esa": "application/vnd.osgi.subsystem", "esf": "application/vnd.epson.esf", "et3": "application/vnd.eszigno3+xml", "etx": "text/x-setext", "eva": "application/x-eva", "evy": "application/x-envoy", "exe": "application/x-msdownload", "exi": "application/exi", "exp": "application/express", "exr": "image/aces", "ext": "application/vnd.novadigm.ext", "ez": "application/andrew-inset", "ez2": "application/vnd.ezpix-album", "ez3": "application/vnd.ezpix-package", "f": "text/x-fortran", "f4v": "video/x-f4v", "f77": "text/x-fortran", "f90": "text/x-fortran", "fbs": "image/vnd.fastbidsheet", "fcdt": "application/vnd.adobe.formscentral.fcdt", "fcs": "application/vnd.isac.fcs", "fdf": "application/vnd.fdf", "fdt": "application/fdt+xml", "fe_launch": "application/vnd.denovo.fcselayout-link", "fg5": "application/vnd.fujitsu.oasysgp", "fgd": "application/x-director", "fh": "image/x-freehand", "fh4": "image/x-freehand", "fh5": "image/x-freehand", "fh7": "image/x-freehand", "fhc": "image/x-freehand", "fig": "application/x-xfig", "fits": "image/fits", "flac": "audio/x-flac", "fli": "video/x-fli", "flo": "application/vnd.micrografx.flo", "flv": "video/x-flv", "flw": "application/vnd.kde.kivio", "flx": "text/vnd.fmi.flexstor", "fly": "text/vnd.fly", "fm": "application/vnd.framemaker", "fnc": "application/vnd.frogans.fnc", "fo": "application/vnd.software602.filler.form+xml", "for": "text/x-fortran", "fpx": "image/vnd.fpx", "frame": "application/vnd.framemaker", "fsc": "application/vnd.fsc.weblaunch", "fst": "image/vnd.fst", "ftc": "application/vnd.fluxtime.clip", "fti": "application/vnd.anser-web-funds-transfer-initiation", "fvt": "video/vnd.fvt", "fxp": "application/vnd.adobe.fxp", "fxpl": "application/vnd.adobe.fxp", "fzs": "application/vnd.fuzzysheet", "g2w": "application/vnd.geoplan", "g3": "image/g3fax", "g3w": "application/vnd.geospace", "gac": "application/vnd.groove-account", "gam": "application/x-tads", "gbr": "application/rpki-ghostbusters", "gca": "application/x-gca-compressed", "gdl": "model/vnd.gdl", "gdoc": "application/vnd.google-apps.document", "ged": "text/vnd.familysearch.gedcom", "geo": "application/vnd.dynageo", "geojson": "application/geo+json", "gex": "application/vnd.geometry-explorer", "ggb": "application/vnd.geogebra.file", "ggt": "application/vnd.geogebra.tool", "ghf": "application/vnd.groove-help", "gif": "image/gif", "gim": "application/vnd.groove-identity-message", "glb": "model/gltf-binary", "gltf": "model/gltf+json", "gml": "application/gml+xml", "gmx": "application/vnd.gmx", "gnumeric": "application/x-gnumeric", "gph": "application/vnd.flographit", "gpx": "application/gpx+xml", "gqf": "application/vnd.grafeq", "gqs": "application/vnd.grafeq", "gram": "application/srgs", "gramps": "application/x-gramps-xml", "gre": "application/vnd.geometry-explorer", "grv": "application/vnd.groove-injector", "grxml": "application/srgs+xml", "gsf": "application/x-font-ghostscript", "gsheet": "application/vnd.google-apps.spreadsheet", "gslides": "application/vnd.google-apps.presentation", "gtar": "application/x-gtar", "gtm": "application/vnd.groove-tool-message", "gtw": "model/vnd.gtw", "gv": "text/vnd.graphviz", "gxf": "application/gxf", "gxt": "application/vnd.geonext", "gz": "application/gzip", "h": "text/x-c", "h261": "video/h261", "h263": "video/h263", "h264": "video/h264", "hal": "application/vnd.hal+xml", "hbci": "application/vnd.hbci", "hbs": "text/x-handlebars-template", "hdd": "application/x-virtualbox-hdd", "hdf": "application/x-hdf", "heic": "image/heic", "heics": "image/heic-sequence", "heif": "image/heif", "heifs": "image/heif-sequence", "hej2": "image/hej2k", "held": "application/atsc-held+xml", "hh": "text/x-c", "hjson": "application/hjson", "hlp": "application/winhlp", "hpgl": "application/vnd.hp-hpgl", "hpid": "application/vnd.hp-hpid", "hps": "application/vnd.hp-hps", "hqx": "application/mac-binhex40", "hsj2": "image/hsj2", "htc": "text/x-component", "htke": "application/vnd.kenameaapp", "htm": "text/html", "html": "text/html", "hvd": "application/vnd.yamaha.hv-dic", "hvp": "application/vnd.yamaha.hv-voice", "hvs": "application/vnd.yamaha.hv-script", "i2g": "application/vnd.intergeo", "icc": "application/vnd.iccprofile", "ice": "x-conference/x-cooltalk", "icm": "application/vnd.iccprofile", "ico": "image/x-icon", "ics": "text/calendar", "ief": "image/ief", "ifb": "text/calendar", "ifm": "application/vnd.shana.informed.formdata", "iges": "model/iges", "igl": "application/vnd.igloader", "igm": "application/vnd.insors.igm", "igs": "model/iges", "igx": "application/vnd.micrografx.igx", "iif": "application/vnd.shana.informed.interchange", "img": "application/octet-stream", "imp": "application/vnd.accpac.simply.imp", "ims": "application/vnd.ms-ims", "in": "text/plain", "ini": "text/plain", "ink": "application/inkml+xml", "inkml": "application/inkml+xml", "install": "application/x-install-instructions", "iota": "application/vnd.astraea-software.iota", "ipfix": "application/ipfix", "ipk": "application/vnd.shana.informed.package", "irm": "application/vnd.ibm.rights-management", "irp": "application/vnd.irepository.package+xml", "iso": "application/x-iso9660-image", "itp": "application/vnd.shana.informed.formtemplate", "its": "application/its+xml", "ivp": "application/vnd.immervision-ivp", "ivu": "application/vnd.immervision-ivu", "jad": "text/vnd.sun.j2me.app-descriptor", "jade": "text/jade", "jam": "application/vnd.jam", "jar": "application/java-archive", "jardiff": "application/x-java-archive-diff", "java": "text/x-java-source", "jhc": "image/jphc", "jisp": "application/vnd.jisp", "jls": "image/jls", "jlt": "application/vnd.hp-jlyt", "jng": "image/x-jng", "jnlp": "application/x-java-jnlp-file", "joda": "application/vnd.joost.joda-archive", "jp2": "image/jp2", "jpe": "image/jpeg", "jpeg": "image/jpeg", "jpf": "image/jpx", "jpg": "image/jpeg", "jpg2": "image/jp2", "jpgm": "video/jpm", "jpgv": "video/jpeg", "jph": "image/jph", "jpm": "video/jpm", "jpx": "image/jpx", "js": "application/javascript", "json": "application/json", "json5": "application/json5", "jsonld": "application/ld+json", "jsonml": "application/jsonml+json", "jsx": "text/jsx", "jxr": "image/jxr", "jxra": "image/jxra", "jxrs": "image/jxrs", "jxs": "image/jxs", "jxsc": "image/jxsc", "jxsi": "image/jxsi", "jxss": "image/jxss", "kar": "audio/midi", "karbon": "application/vnd.kde.karbon", "kdbx": "application/x-keepass2", "key": "application/x-iwork-keynote-sffkey", "kfo": "application/vnd.kde.kformula", "kia": "application/vnd.kidspiration", "kml": "application/vnd.google-earth.kml+xml", "kmz": "application/vnd.google-earth.kmz", "kne": "application/vnd.kinar", "knp": "application/vnd.kinar", "kon": "application/vnd.kde.kontour", "kpr": "application/vnd.kde.kpresenter", "kpt": "application/vnd.kde.kpresenter", "kpxx": "application/vnd.ds-keypoint", "ksp": "application/vnd.kde.kspread", "ktr": "application/vnd.kahootz", "ktx": "image/ktx", "ktx2": "image/ktx2", "ktz": "application/vnd.kahootz", "kwd": "application/vnd.kde.kword", "kwt": "application/vnd.kde.kword", "lasxml": "application/vnd.las.las+xml", "latex": "application/x-latex", "lbd": "application/vnd.llamagraphics.life-balance.desktop", "lbe": "application/vnd.llamagraphics.life-balance.exchange+xml", "les": "application/vnd.hhe.lesson-player", "less": "text/less", "lgr": "application/lgr+xml", "lha": "application/x-lzh-compressed", "link66": "application/vnd.route66.link66+xml", "list": "text/plain", "list3820": "application/vnd.ibm.modcap", "listafp": "application/vnd.ibm.modcap", "litcoffee": "text/coffeescript", "lnk": "application/x-ms-shortcut", "log": "text/plain", "lostxml": "application/lost+xml", "lrf": "application/octet-stream", "lrm": "application/vnd.ms-lrm", "ltf": "application/vnd.frogans.ltf", "lua": "text/x-lua", "luac": "application/x-lua-bytecode", "lvp": "audio/vnd.lucent.voice", "lwp": "application/vnd.lotus-wordpro", "lzh": "application/x-lzh-compressed", "m13": "application/x-msmediaview", "m14": "application/x-msmediaview", "m1v": "video/mpeg", "m21": "application/mp21", "m2a": "audio/mpeg", "m2v": "video/mpeg", "m3a": "audio/mpeg", "m3u": "audio/x-mpegurl", "m3u8": "application/vnd.apple.mpegurl", "m4a": "audio/x-m4a", "m4p": "application/mp4", "m4s": "video/iso.segment", "m4u": "video/vnd.mpegurl", "m4v": "video/x-m4v", "ma": "application/mathematica", "mads": "application/mads+xml", "maei": "application/mmt-aei+xml", "mag": "application/vnd.ecowin.chart", "maker": "application/vnd.framemaker", "man": "text/troff", "manifest": "text/cache-manifest", "map": "application/json", "mar": "application/octet-stream", "markdown": "text/markdown", "mathml": "application/mathml+xml", "mb": "application/mathematica", "mbk": "application/vnd.mobius.mbk", "mbox": "application/mbox", "mc1": "application/vnd.medcalcdata", "mcd": "application/vnd.mcd", "mcurl": "text/vnd.curl.mcurl", "md": "text/markdown", "mdb": "application/x-msaccess", "mdi": "image/vnd.ms-modi", "mdx": "text/mdx", "me": "text/troff", "mesh": "model/mesh", "meta4": "application/metalink4+xml", "metalink": "application/metalink+xml", "mets": "application/mets+xml", "mfm": "application/vnd.mfmp", "mft": "application/rpki-manifest", "mgp": "application/vnd.osgeo.mapguide.package", "mgz": "application/vnd.proteus.magazine", "mid": "audio/midi", "midi": "audio/midi", "mie": "application/x-mie", "mif": "application/vnd.mif", "mime": "message/rfc822", "mj2": "video/mj2", "mjp2": "video/mj2", "mjs": "application/javascript", "mk3d": "video/x-matroska", "mka": "audio/x-matroska", "mkd": "text/x-markdown", "mks": "video/x-matroska", "mkv": "video/x-matroska", "mlp": "application/vnd.dolby.mlp", "mmd": "application/vnd.chipnuts.karaoke-mmd", "mmf": "application/vnd.smaf", "mml": "text/mathml", "mmr": "image/vnd.fujixerox.edmics-mmr", "mng": "video/x-mng", "mny": "application/x-msmoney", "mobi": "application/x-mobipocket-ebook", "mods": "application/mods+xml", "mov": "video/quicktime", "movie": "video/x-sgi-movie", "mp2": "audio/mpeg", "mp21": "application/mp21", "mp2a": "audio/mpeg", "mp3": "audio/mpeg", "mp4": "video/mp4", "mp4a": "audio/mp4", "mp4s": "application/mp4", "mp4v": "video/mp4", "mpc": "application/vnd.mophun.certificate", "mpd": "application/dash+xml", "mpe": "video/mpeg", "mpeg": "video/mpeg", "mpf": "application/media-policy-dataset+xml", "mpg": "video/mpeg", "mpg4": "video/mp4", "mpga": "audio/mpeg", "mpkg": "application/vnd.apple.installer+xml", "mpm": "application/vnd.blueice.multipass", "mpn": "application/vnd.mophun.application", "mpp": "application/vnd.ms-project", "mpt": "application/vnd.ms-project", "mpy": "application/vnd.ibm.minipay", "mqy": "application/vnd.mobius.mqy", "mrc": "application/marc", "mrcx": "application/marcxml+xml", "ms": "text/troff", "mscml": "application/mediaservercontrol+xml", "mseed": "application/vnd.fdsn.mseed", "mseq": "application/vnd.mseq", "msf": "application/vnd.epson.msf", "msg": "application/vnd.ms-outlook", "msh": "model/mesh", "msi": "application/x-msdownload", "msl": "application/vnd.mobius.msl", "msm": "application/octet-stream", "msp": "application/octet-stream", "msty": "application/vnd.muvee.style", "mtl": "model/mtl", "mts": "model/vnd.mts", "mus": "application/vnd.musician", "musd": "application/mmt-usd+xml", "musicxml": "application/vnd.recordare.musicxml+xml", "mvb": "application/x-msmediaview", "mvt": "application/vnd.mapbox-vector-tile", "mwf": "application/vnd.mfer", "mxf": "application/mxf", "mxl": "application/vnd.recordare.musicxml", "mxmf": "audio/mobile-xmf", "mxml": "application/xv+xml", "mxs": "application/vnd.triscape.mxs", "mxu": "video/vnd.mpegurl", "n-gage": "application/vnd.nokia.n-gage.symbian.install", "n3": "text/n3", "nb": "application/mathematica", "nbp": "application/vnd.wolfram.player", "nc": "application/x-netcdf", "ncx": "application/x-dtbncx+xml", "nfo": "text/x-nfo", "ngdat": "application/vnd.nokia.n-gage.data", "nitf": "application/vnd.nitf", "nlu": "application/vnd.neurolanguage.nlu", "nml": "application/vnd.enliven", "nnd": "application/vnd.noblenet-directory", "nns": "application/vnd.noblenet-sealer", "nnw": "application/vnd.noblenet-web", "npx": "image/vnd.net-fpx", "nq": "application/n-quads", "nsc": "application/x-conference", "nsf": "application/vnd.lotus-notes", "nt": "application/n-triples", "ntf": "application/vnd.nitf", "numbers": "application/x-iwork-numbers-sffnumbers", "nzb": "application/x-nzb", "oa2": "application/vnd.fujitsu.oasys2", "oa3": "application/vnd.fujitsu.oasys3", "oas": "application/vnd.fujitsu.oasys", "obd": "application/x-msbinder", "obgx": "application/vnd.openblox.game+xml", "obj": "model/obj", "oda": "application/oda", "odb": "application/vnd.oasis.opendocument.database", "odc": "application/vnd.oasis.opendocument.chart", "odf": "application/vnd.oasis.opendocument.formula", "odft": "application/vnd.oasis.opendocument.formula-template", "odg": "application/vnd.oasis.opendocument.graphics", "odi": "application/vnd.oasis.opendocument.image", "odm": "application/vnd.oasis.opendocument.text-master", "odp": "application/vnd.oasis.opendocument.presentation", "ods": "application/vnd.oasis.opendocument.spreadsheet", "odt": "application/vnd.oasis.opendocument.text", "oga": "audio/ogg", "ogex": "model/vnd.opengex", "ogg": "audio/ogg", "ogv": "video/ogg", "ogx": "application/ogg", "omdoc": "application/omdoc+xml", "onepkg": "application/onenote", "onetmp": "application/onenote", "onetoc": "application/onenote", "onetoc2": "application/onenote", "opf": "application/oebps-package+xml", "opml": "text/x-opml", "oprc": "application/vnd.palm", "opus": "audio/ogg", "org": "text/x-org", "osf": "application/vnd.yamaha.openscoreformat", "osfpvg": "application/vnd.yamaha.openscoreformat.osfpvg+xml", "osm": "application/vnd.openstreetmap.data+xml", "otc": "application/vnd.oasis.opendocument.chart-template", "otf": "font/otf", "otg": "application/vnd.oasis.opendocument.graphics-template", "oth": "application/vnd.oasis.opendocument.text-web", "oti": "application/vnd.oasis.opendocument.image-template", "otp": "application/vnd.oasis.opendocument.presentation-template", "ots": "application/vnd.oasis.opendocument.spreadsheet-template", "ott": "application/vnd.oasis.opendocument.text-template", "ova": "application/x-virtualbox-ova", "ovf": "application/x-virtualbox-ovf", "owl": "application/rdf+xml", "oxps": "application/oxps", "oxt": "application/vnd.openofficeorg.extension", "p": "text/x-pascal", "p10": "application/pkcs10", "p12": "application/x-pkcs12", "p7b": "application/x-pkcs7-certificates", "p7c": "application/pkcs7-mime", "p7m": "application/pkcs7-mime", "p7r": "application/x-pkcs7-certreqresp", "p7s": "application/pkcs7-signature", "p8": "application/pkcs8", "pac": "application/x-ns-proxy-autoconfig", "pages": "application/x-iwork-pages-sffpages", "pas": "text/x-pascal", "paw": "application/vnd.pawaafile", "pbd": "application/vnd.powerbuilder6", "pbm": "image/x-portable-bitmap", "pcap": "application/vnd.tcpdump.pcap", "pcf": "application/x-font-pcf", "pcl": "application/vnd.hp-pcl", "pclxl": "application/vnd.hp-pclxl", "pct": "image/x-pict", "pcurl": "application/vnd.curl.pcurl", "pcx": "image/x-pcx", "pdb": "application/x-pilot", "pde": "text/x-processing", "pdf": "application/pdf", "pem": "application/x-x509-ca-cert", "pfa": "application/x-font-type1", "pfb": "application/x-font-type1", "pfm": "application/x-font-type1", "pfr": "application/font-tdpfr", "pfx": "application/x-pkcs12", "pgm": "image/x-portable-graymap", "pgn": "application/x-chess-pgn", "pgp": "application/pgp-encrypted", "php": "application/x-httpd-php", "pic": "image/x-pict", "pkg": "application/octet-stream", "pki": "application/pkixcmp", "pkipath": "application/pkix-pkipath", "pkpass": "application/vnd.apple.pkpass", "pl": "application/x-perl", "plb": "application/vnd.3gpp.pic-bw-large", "plc": "application/vnd.mobius.plc", "plf": "application/vnd.pocketlearn", "pls": "application/pls+xml", "pm": "application/x-perl", "pml": "application/vnd.ctc-posml", "png": "image/png", "pnm": "image/x-portable-anymap", "portpkg": "application/vnd.macports.portpkg", "pot": "application/vnd.ms-powerpoint", "potm": "application/vnd.ms-powerpoint.template.macroenabled.12", "potx": "application/vnd.openxmlformats-officedocument.presentationml.template", "ppam": "application/vnd.ms-powerpoint.addin.macroenabled.12", "ppd": "application/vnd.cups-ppd", "ppm": "image/x-portable-pixmap", "pps": "application/vnd.ms-powerpoint", "ppsm": "application/vnd.ms-powerpoint.slideshow.macroenabled.12", "ppsx": "application/vnd.openxmlformats-officedocument.presentationml.slideshow", "ppt": "application/vnd.ms-powerpoint", "pptm": "application/vnd.ms-powerpoint.presentation.macroenabled.12", "pptx": "application/vnd.openxmlformats-officedocument.presentationml.presentation", "pqa": "application/vnd.palm", "prc": "application/x-pilot", "pre": "application/vnd.lotus-freelance", "prf": "application/pics-rules", "provx": "application/provenance+xml", "ps": "application/postscript", "psb": "application/vnd.3gpp.pic-bw-small", "psd": "image/vnd.adobe.photoshop", "psf": "application/x-font-linux-psf", "pskcxml": "application/pskc+xml", "pti": "image/prs.pti", "ptid": "application/vnd.pvi.ptid1", "pub": "application/x-mspublisher", "pvb": "application/vnd.3gpp.pic-bw-var", "pwn": "application/vnd.3m.post-it-notes", "pya": "audio/vnd.ms-playready.media.pya", "pyv": "video/vnd.ms-playready.media.pyv", "qam": "application/vnd.epson.quickanime", "qbo": "application/vnd.intu.qbo", "qfx": "application/vnd.intu.qfx", "qps": "application/vnd.publishare-delta-tree", "qt": "video/quicktime", "qwd": "application/vnd.quark.quarkxpress", "qwt": "application/vnd.quark.quarkxpress", "qxb": "application/vnd.quark.quarkxpress", "qxd": "application/vnd.quark.quarkxpress", "qxl": "application/vnd.quark.quarkxpress", "qxt": "application/vnd.quark.quarkxpress", "ra": "audio/x-realaudio", "ram": "audio/x-pn-realaudio", "raml": "application/raml+yaml", "rapd": "application/route-apd+xml", "rar": "application/x-rar-compressed", "ras": "image/x-cmu-raster", "rcprofile": "application/vnd.ipunplugged.rcprofile", "rdf": "application/rdf+xml", "rdz": "application/vnd.data-vision.rdz", "relo": "application/p2p-overlay+xml", "rep": "application/vnd.businessobjects", "res": "application/x-dtbresource+xml", "rgb": "image/x-rgb", "rif": "application/reginfo+xml", "rip": "audio/vnd.rip", "ris": "application/x-research-info-systems", "rl": "application/resource-lists+xml", "rlc": "image/vnd.fujixerox.edmics-rlc", "rld": "application/resource-lists-diff+xml", "rm": "application/vnd.rn-realmedia", "rmi": "audio/midi", "rmp": "audio/x-pn-realaudio-plugin", "rms": "application/vnd.jcp.javame.midlet-rms", "rmvb": "application/vnd.rn-realmedia-vbr", "rnc": "application/relax-ng-compact-syntax", "rng": "application/xml", "roa": "application/rpki-roa", "roff": "text/troff", "rp9": "application/vnd.cloanto.rp9", "rpm": "application/x-redhat-package-manager", "rpss": "application/vnd.nokia.radio-presets", "rpst": "application/vnd.nokia.radio-preset", "rq": "application/sparql-query", "rs": "application/rls-services+xml", "rsat": "application/atsc-rsat+xml", "rsd": "application/rsd+xml", "rsheet": "application/urc-ressheet+xml", "rss": "application/rss+xml", "rtf": "text/rtf", "rtx": "text/richtext", "run": "application/x-makeself", "rusd": "application/route-usd+xml", "s": "text/x-asm", "s3m": "audio/s3m", "saf": "application/vnd.yamaha.smaf-audio", "sass": "text/x-sass", "sbml": "application/sbml+xml", "sc": "application/vnd.ibm.secure-container", "scd": "application/x-msschedule", "scm": "application/vnd.lotus-screencam", "scq": "application/scvp-cv-request", "scs": "application/scvp-cv-response", "scss": "text/x-scss", "scurl": "text/vnd.curl.scurl", "sda": "application/vnd.stardivision.draw", "sdc": "application/vnd.stardivision.calc", "sdd": "application/vnd.stardivision.impress", "sdkd": "application/vnd.solent.sdkm+xml", "sdkm": "application/vnd.solent.sdkm+xml", "sdp": "application/sdp", "sdw": "application/vnd.stardivision.writer", "sea": "application/x-sea", "see": "application/vnd.seemail", "seed": "application/vnd.fdsn.seed", "sema": "application/vnd.sema", "semd": "application/vnd.semd", "semf": "application/vnd.semf", "senmlx": "application/senml+xml", "sensmlx": "application/sensml+xml", "ser": "application/java-serialized-object", "setpay": "application/set-payment-initiation", "setreg": "application/set-registration-initiation", "sfd-hdstx": "application/vnd.hydrostatix.sof-data", "sfs": "application/vnd.spotfire.sfs", "sfv": "text/x-sfv", "sgi": "image/sgi", "sgl": "application/vnd.stardivision.writer-global", "sgm": "text/sgml", "sgml": "text/sgml", "sh": "application/x-sh", "shar": "application/x-shar", "shex": "text/shex", "shf": "application/shf+xml", "shtml": "text/html", "sid": "image/x-mrsid-image", "sieve": "application/sieve", "sig": "application/pgp-signature", "sil": "audio/silk", "silo": "model/mesh", "sis": "application/vnd.symbian.install", "sisx": "application/vnd.symbian.install", "sit": "application/x-stuffit", "sitx": "application/x-stuffitx", "siv": "application/sieve", "skd": "application/vnd.koan", "skm": "application/vnd.koan", "skp": "application/vnd.koan", "skt": "application/vnd.koan", "sldm": "application/vnd.ms-powerpoint.slide.macroenabled.12", "sldx": "application/vnd.openxmlformats-officedocument.presentationml.slide", "slim": "text/slim", "slm": "text/slim", "sls": "application/route-s-tsid+xml", "slt": "application/vnd.epson.salt", "sm": "application/vnd.stepmania.stepchart", "smf": "application/vnd.stardivision.math", "smi": "application/smil+xml", "smil": "application/smil+xml", "smv": "video/x-smv", "smzip": "application/vnd.stepmania.package", "snd": "audio/basic", "snf": "application/x-font-snf", "so": "application/octet-stream", "spc": "application/x-pkcs7-certificates", "spdx": "text/spdx", "spf": "application/vnd.yamaha.smaf-phrase", "spl": "application/x-futuresplash", "spot": "text/vnd.in3d.spot", "spp": "application/scvp-vp-response", "spq": "application/scvp-vp-request", "spx": "audio/ogg", "sql": "application/x-sql", "src": "application/x-wais-source", "srt": "application/x-subrip", "sru": "application/sru+xml", "srx": "application/sparql-results+xml", "ssdl": "application/ssdl+xml", "sse": "application/vnd.kodak-descriptor", "ssf": "application/vnd.epson.ssf", "ssml": "application/ssml+xml", "st": "application/vnd.sailingtracker.track", "stc": "application/vnd.sun.xml.calc.template", "std": "application/vnd.sun.xml.draw.template", "stf": "application/vnd.wt.stf", "sti": "application/vnd.sun.xml.impress.template", "stk": "application/hyperstudio", "stl": "model/stl", "stpx": "model/step+xml", "stpxz": "model/step-xml+zip", "stpz": "model/step+zip", "str": "application/vnd.pg.format", "stw": "application/vnd.sun.xml.writer.template", "styl": "text/stylus", "stylus": "text/stylus", "sub": "text/vnd.dvb.subtitle", "sus": "application/vnd.sus-calendar", "susp": "application/vnd.sus-calendar", "sv4cpio": "application/x-sv4cpio", "sv4crc": "application/x-sv4crc", "svc": "application/vnd.dvb.service", "svd": "application/vnd.svd", "svg": "image/svg+xml", "svgz": "image/svg+xml", "swa": "application/x-director", "swf": "application/x-shockwave-flash", "swi": "application/vnd.aristanetworks.swi", "swidtag": "application/swid+xml", "sxc": "application/vnd.sun.xml.calc", "sxd": "application/vnd.sun.xml.draw", "sxg": "application/vnd.sun.xml.writer.global", "sxi": "application/vnd.sun.xml.impress", "sxm": "application/vnd.sun.xml.math", "sxw": "application/vnd.sun.xml.writer", "t": "text/troff", "t3": "application/x-t3vm-image", "t38": "image/t38", "taglet": "application/vnd.mynfc", "tao": "application/vnd.tao.intent-module-archive", "tap": "image/vnd.tencent.tap", "tar": "application/x-tar", "tcap": "application/vnd.3gpp2.tcap", "tcl": "application/x-tcl", "td": "application/urc-targetdesc+xml", "teacher": "application/vnd.smart.teacher", "tei": "application/tei+xml", "teicorpus": "application/tei+xml", "tex": "application/x-tex", "texi": "application/x-texinfo", "texinfo": "application/x-texinfo", "text": "text/plain", "tfi": "application/thraud+xml", "tfm": "application/x-tex-tfm", "tfx": "image/tiff-fx", "tga": "image/x-tga", "thmx": "application/vnd.ms-officetheme", "tif": "image/tiff", "tiff": "image/tiff", "tk": "application/x-tcl", "tmo": "application/vnd.tmobile-livetv", "toml": "application/toml", "torrent": "application/x-bittorrent", "tpl": "application/vnd.groove-tool-template", "tpt": "application/vnd.trid.tpt", "tr": "text/troff", "tra": "application/vnd.trueapp", "trig": "application/trig", "trm": "application/x-msterminal", "ts": "video/mp2t", "tsd": "application/timestamped-data", "tsv": "text/tab-separated-values", "ttc": "font/collection", "ttf": "font/ttf", "ttl": "text/turtle", "ttml": "application/ttml+xml", "twd": "application/vnd.simtech-mindmapper", "twds": "application/vnd.simtech-mindmapper", "txd": "application/vnd.genomatix.tuxedo", "txf": "application/vnd.mobius.txf", "txt": "text/plain", "u32": "application/x-authorware-bin", "u8dsn": "message/global-delivery-status", "u8hdr": "message/global-headers", "u8mdn": "message/global-disposition-notification", "u8msg": "message/global", "ubj": "application/ubjson", "udeb": "application/x-debian-package", "ufd": "application/vnd.ufdl", "ufdl": "application/vnd.ufdl", "ulx": "application/x-glulx", "umj": "application/vnd.umajin", "unityweb": "application/vnd.unity", "uoml": "application/vnd.uoml+xml", "uri": "text/uri-list", "uris": "text/uri-list", "urls": "text/uri-list", "usdz": "model/vnd.usdz+zip", "ustar": "application/x-ustar", "utz": "application/vnd.uiq.theme", "uu": "text/x-uuencode", "uva": "audio/vnd.dece.audio", "uvd": "application/vnd.dece.data", "uvf": "application/vnd.dece.data", "uvg": "image/vnd.dece.graphic", "uvh": "video/vnd.dece.hd", "uvi": "image/vnd.dece.graphic", "uvm": "video/vnd.dece.mobile", "uvp": "video/vnd.dece.pd", "uvs": "video/vnd.dece.sd", "uvt": "application/vnd.dece.ttml+xml", "uvu": "video/vnd.uvvu.mp4", "uvv": "video/vnd.dece.video", "uvva": "audio/vnd.dece.audio", "uvvd": "application/vnd.dece.data", "uvvf": "application/vnd.dece.data", "uvvg": "image/vnd.dece.graphic", "uvvh": "video/vnd.dece.hd", "uvvi": "image/vnd.dece.graphic", "uvvm": "video/vnd.dece.mobile", "uvvp": "video/vnd.dece.pd", "uvvs": "video/vnd.dece.sd", "uvvt": "application/vnd.dece.ttml+xml", "uvvu": "video/vnd.uvvu.mp4", "uvvv": "video/vnd.dece.video", "uvvx": "application/vnd.dece.unspecified", "uvvz": "application/vnd.dece.zip", "uvx": "application/vnd.dece.unspecified", "uvz": "application/vnd.dece.zip", "vbox": "application/x-virtualbox-vbox", "vbox-extpack": "application/x-virtualbox-vbox-extpack", "vcard": "text/vcard", "vcd": "application/x-cdlink", "vcf": "text/x-vcard", "vcg": "application/vnd.groove-vcard", "vcs": "text/x-vcalendar", "vcx": "application/vnd.vcx", "vdi": "application/x-virtualbox-vdi", "vds": "model/vnd.sap.vds", "vhd": "application/x-virtualbox-vhd", "vis": "application/vnd.visionary", "viv": "video/vnd.vivo", "vmdk": "application/x-virtualbox-vmdk", "vob": "video/x-ms-vob", "vor": "application/vnd.stardivision.writer", "vox": "application/x-authorware-bin", "vrml": "model/vrml", "vsd": "application/vnd.visio", "vsf": "application/vnd.vsf", "vss": "application/vnd.visio", "vst": "application/vnd.visio", "vsw": "application/vnd.visio", "vtf": "image/vnd.valve.source.texture", "vtt": "text/vtt", "vtu": "model/vnd.vtu", "vxml": "application/voicexml+xml", "w3d": "application/x-director", "wad": "application/x-doom", "wadl": "application/vnd.sun.wadl+xml", "war": "application/java-archive", "wasm": "application/wasm", "wav": "audio/x-wav", "wax": "audio/x-ms-wax", "wbmp": "image/vnd.wap.wbmp", "wbs": "application/vnd.criticaltools.wbs+xml", "wbxml": "application/vnd.wap.wbxml", "wcm": "application/vnd.ms-works", "wdb": "application/vnd.ms-works", "wdp": "image/vnd.ms-photo", "weba": "audio/webm", "webapp": "application/x-web-app-manifest+json", "webm": "video/webm", "webmanifest": "application/manifest+json", "webp": "image/webp", "wg": "application/vnd.pmi.widget", "wgt": "application/widget", "wif": "application/watcherinfo+xml", "wks": "application/vnd.ms-works", "wm": "video/x-ms-wm", "wma": "audio/x-ms-wma", "wmd": "application/x-ms-wmd", "wmf": "image/wmf", "wml": "text/vnd.wap.wml", "wmlc": "application/vnd.wap.wmlc", "wmls": "text/vnd.wap.wmlscript", "wmlsc": "application/vnd.wap.wmlscriptc", "wmv": "video/x-ms-wmv", "wmx": "video/x-ms-wmx", "wmz": "application/x-msmetafile", "woff": "font/woff", "woff2": "font/woff2", "wpd": "application/vnd.wordperfect", "wpl": "application/vnd.ms-wpl", "wps": "application/vnd.ms-works", "wqd": "application/vnd.wqd", "wri": "application/x-mswrite", "wrl": "model/vrml", "wsc": "message/vnd.wfa.wsc", "wsdl": "application/wsdl+xml", "wspolicy": "application/wspolicy+xml", "wtb": "application/vnd.webturbo", "wvx": "video/x-ms-wvx", "x32": "application/x-authorware-bin", "x3d": "model/x3d+xml", "x3db": "model/x3d+fastinfoset", "x3dbz": "model/x3d+binary", "x3dv": "model/x3d-vrml", "x3dvz": "model/x3d+vrml", "x3dz": "model/x3d+xml", "x_b": "model/vnd.parasolid.transmit.binary", "x_t": "model/vnd.parasolid.transmit.text", "xaml": "application/xaml+xml", "xap": "application/x-silverlight-app", "xar": "application/vnd.xara", "xav": "application/xcap-att+xml", "xbap": "application/x-ms-xbap", "xbd": "application/vnd.fujixerox.docuworks.binder", "xbm": "image/x-xbitmap", "xca": "application/xcap-caps+xml", "xcs": "application/calendar+xml", "xdf": "application/xcap-diff+xml", "xdm": "application/vnd.syncml.dm+xml", "xdp": "application/vnd.adobe.xdp+xml", "xdssc": "application/dssc+xml", "xdw": "application/vnd.fujixerox.docuworks", "xel": "application/xcap-el+xml", "xenc": "application/xenc+xml", "xer": "application/patch-ops-error+xml", "xfdf": "application/vnd.adobe.xfdf", "xfdl": "application/vnd.xfdl", "xht": "application/xhtml+xml", "xhtml": "application/xhtml+xml", "xhvml": "application/xv+xml", "xif": "image/vnd.xiff", "xla": "application/vnd.ms-excel", "xlam": "application/vnd.ms-excel.addin.macroenabled.12", "xlc": "application/vnd.ms-excel", "xlf": "application/xliff+xml", "xlm": "application/vnd.ms-excel", "xls": "application/vnd.ms-excel", "xlsb": "application/vnd.ms-excel.sheet.binary.macroenabled.12", "xlsm": "application/vnd.ms-excel.sheet.macroenabled.12", "xlsx": "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", "xlt": "application/vnd.ms-excel", "xltm": "application/vnd.ms-excel.template.macroenabled.12", "xltx": "application/vnd.openxmlformats-officedocument.spreadsheetml.template", "xlw": "application/vnd.ms-excel", "xm": "audio/xm", "xml": "text/xml", "xns": "application/xcap-ns+xml", "xo": "application/vnd.olpc-sugar", "xop": "application/xop+xml", "xpi": "application/x-xpinstall", "xpl": "application/xproc+xml", "xpm": "image/x-xpixmap", "xpr": "application/vnd.is-xpr", "xps": "application/vnd.ms-xpsdocument", "xpw": "application/vnd.intercon.formnet", "xpx": "application/vnd.intercon.formnet", "xsd": "application/xml", "xsl": "application/xslt+xml", "xslt": "application/xslt+xml", "xsm": "application/vnd.syncml+xml", "xspf": "application/xspf+xml", "xul": "application/vnd.mozilla.xul+xml", "xvm": "application/xv+xml", "xvml": "application/xv+xml", "xwd": "image/x-xwindowdump", "xyz": "chemical/x-xyz", "xz": "application/x-xz", "yaml": "text/yaml", "yang": "application/yang", "yin": "application/yin+xml", "yml": "text/yaml", "ymp": "text/x-suse-ymp", "z1": "application/x-zmachine", "z2": "application/x-zmachine", "z3": "application/x-zmachine", "z4": "application/x-zmachine", "z5": "application/x-zmachine", "z6": "application/x-zmachine", "z7": "application/x-zmachine", "z8": "application/x-zmachine", "zaz": "application/vnd.zzazz.deck+xml", "zip": "application/zip", "zir": "application/vnd.zul", "zirz": "application/vnd.zul", "zmm": "application/vnd.handheld-entertainment+xml" };
|
package/internal/client/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stencil/core/internal/client",
|
|
3
|
-
"version": "4.18.2
|
|
3
|
+
"version": "4.18.2",
|
|
4
4
|
"description": "Stencil internal client platform to be imported by the Stencil Compiler and internal runtime. Breaking changes can and will happen at any time.",
|
|
5
5
|
"main": "./index.js",
|
|
6
6
|
"private": true,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stencil/core/internal/hydrate",
|
|
3
|
-
"version": "4.18.2
|
|
3
|
+
"version": "4.18.2",
|
|
4
4
|
"description": "Stencil internal hydrate platform to be imported by the Stencil Compiler. Breaking changes can and will happen at any time.",
|
|
5
5
|
"main": "./index.js",
|
|
6
6
|
"private": true
|
package/internal/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stencil/core/internal",
|
|
3
|
-
"version": "4.18.2
|
|
3
|
+
"version": "4.18.2",
|
|
4
4
|
"description": "Stencil internals only to be imported by the Stencil Compiler. Breaking changes can and will happen at any time.",
|
|
5
5
|
"main": "./index.js",
|
|
6
6
|
"types": "./index.d.ts",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stencil/core/internal/testing",
|
|
3
|
-
"version": "4.18.2
|
|
3
|
+
"version": "4.18.2",
|
|
4
4
|
"description": "Stencil internal testing platform to be imported by the Stencil Compiler. Breaking changes can and will happen at any time.",
|
|
5
5
|
"main": "./index.js",
|
|
6
6
|
"private": true
|
package/mock-doc/index.cjs
CHANGED
package/mock-doc/index.js
CHANGED
package/mock-doc/package.json
CHANGED
package/package.json
CHANGED
package/screenshot/index.js
CHANGED
package/screenshot/package.json
CHANGED
package/sys/node/glob.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(()=>{var t={505:t=>{"use strict";function e(t,e,r){t instanceof RegExp&&(t=s(t,r)),e instanceof RegExp&&(e=s(e,r));var n=i(t,e,r);return n&&{start:n[0],end:n[1],pre:r.slice(0,n[0]),body:r.slice(n[0]+t.length,n[1]),post:r.slice(n[1]+e.length)}}function s(t,e){var s=e.match(t);return s?s[0]:null}function i(t,e,s){var i,r,n,o,h,a=s.indexOf(t),l=s.indexOf(e,a+1),c=a;if(a>=0&&l>0){if(t===e)return[a,l];for(i=[],n=s.length;c>=0&&!h;)c==a?(i.push(c),a=s.indexOf(t,c+1)):1==i.length?h=[i.pop(),l]:((r=i.pop())<n&&(n=r,o=l),l=s.indexOf(e,c+1)),c=a<l&&a>=0?a:l;i.length&&(h=[n,o])}return h}t.exports=e,e.range=i},928:(t,e,s)=>{var i=s(505);t.exports=function(t){if(!t)return[];"{}"===t.substr(0,2)&&(t="\\{\\}"+t.substr(2));return m(function(t){return t.split("\\\\").join(r).split("\\{").join(n).split("\\}").join(o).split("\\,").join(h).split("\\.").join(a)}(t),!0).map(c)};var r="\0SLASH"+Math.random()+"\0",n="\0OPEN"+Math.random()+"\0",o="\0CLOSE"+Math.random()+"\0",h="\0COMMA"+Math.random()+"\0",a="\0PERIOD"+Math.random()+"\0";function l(t){return parseInt(t,10)==t?parseInt(t,10):t.charCodeAt(0)}function c(t){return t.split(r).join("\\").split(n).join("{").split(o).join("}").split(h).join(",").split(a).join(".")}function p(t){if(!t)return[""];var e=[],s=i("{","}",t);if(!s)return t.split(",");var r=s.pre,n=s.body,o=s.post,h=r.split(",");h[h.length-1]+="{"+n+"}";var a=p(o);return o.length&&(h[h.length-1]+=a.shift(),h.push.apply(h,a)),e.push.apply(e,h),e}function d(t){return"{"+t+"}"}function u(t){return/^-?0\d/.test(t)}function f(t,e){return t<=e}function g(t,e){return t>=e}function m(t,e){var s=[],r=i("{","}",t);if(!r)return[t];var n=r.pre,h=r.post.length?m(r.post,!1):[""];if(/\$$/.test(r.pre))for(var a=0;a<h.length;a++){var c=n+"{"+r.body+"}"+h[a];s.push(c)}else{var y,w,b=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(r.body),v=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(r.body),S=b||v,k=r.body.indexOf(",")>=0;if(!S&&!k)return r.post.match(/,.*\}/)?m(t=r.pre+"{"+r.body+o+r.post):[t];if(S)y=r.body.split(/\.\./);else if(1===(y=p(r.body)).length&&1===(y=m(y[0],!1).map(d)).length)return h.map((function(t){return r.pre+y[0]+t}));if(S){var x=l(y[0]),E=l(y[1]),L=Math.max(y[0].length,y[1].length),T=3==y.length?Math.abs(l(y[2])):1,A=f;E<x&&(T*=-1,A=g);var O=y.some(u);w=[];for(var C=x;A(C,E);C+=T){var M;if(v)"\\"===(M=String.fromCharCode(C))&&(M="");else if(M=String(C),O){var P=L-M.length;if(P>0){var R=new Array(P+1).join("0");M=C<0?"-"+R+M.slice(1):R+M}}w.push(M)}}else{w=[];for(var F=0;F<y.length;F++)w.push.apply(w,m(y[F],!1))}for(F=0;F<w.length;F++)for(a=0;a<h.length;a++){c=n+w[F]+h[a];(!e||S||c)&&s.push(c)}}return s}},207:(t,e,s)=>{t.exports=s(756)},434:t=>{"use strict";t.exports=require("events")},896:t=>{"use strict";t.exports=require("fs")},24:t=>{"use strict";t.exports=require("fs")},455:t=>{"use strict";t.exports=require("fs/promises")},760:t=>{"use strict";t.exports=require("path")},136:t=>{"use strict";t.exports=require("url")},203:t=>{"use strict";t.exports=require("stream")},193:t=>{"use strict";t.exports=require("string_decoder")},876:(t,e,s)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Glob=void 0;const i=s(722),r=s(576),n=s(136),o=s(478),h=s(984),a="object"==typeof process&&process&&"string"==typeof process.platform?process.platform:"linux";class l{absolute;cwd;root;dot;dotRelative;follow;ignore;magicalBraces;mark;matchBase;maxDepth;nobrace;nocase;nodir;noext;noglobstar;pattern;platform;realpath;scurry;stat;signal;windowsPathsNoEscape;withFileTypes;opts;patterns;constructor(t,e){if(!e)throw new TypeError("glob options required");if(this.withFileTypes=!!e.withFileTypes,this.signal=e.signal,this.follow=!!e.follow,this.dot=!!e.dot,this.dotRelative=!!e.dotRelative,this.nodir=!!e.nodir,this.mark=!!e.mark,e.cwd?(e.cwd instanceof URL||e.cwd.startsWith("file://"))&&(e.cwd=(0,n.fileURLToPath)(e.cwd)):this.cwd="",this.cwd=e.cwd||"",this.root=e.root,this.magicalBraces=!!e.magicalBraces,this.nobrace=!!e.nobrace,this.noext=!!e.noext,this.realpath=!!e.realpath,this.absolute=e.absolute,this.noglobstar=!!e.noglobstar,this.matchBase=!!e.matchBase,this.maxDepth="number"==typeof e.maxDepth?e.maxDepth:1/0,this.stat=!!e.stat,this.ignore=e.ignore,this.withFileTypes&&void 0!==this.absolute)throw new Error("cannot set absolute and withFileTypes:true");if("string"==typeof t&&(t=[t]),this.windowsPathsNoEscape=!!e.windowsPathsNoEscape||!1===e.allowWindowsEscape,this.windowsPathsNoEscape&&(t=t.map((t=>t.replace(/\\/g,"/")))),this.matchBase){if(e.noglobstar)throw new TypeError("base matching requires globstar");t=t.map((t=>t.includes("/")?t:`./**/${t}`))}if(this.pattern=t,this.platform=e.platform||a,this.opts={...e,platform:this.platform},e.scurry){if(this.scurry=e.scurry,void 0!==e.nocase&&e.nocase!==e.scurry.nocase)throw new Error("nocase option contradicts provided scurry option")}else{const t="win32"===e.platform?r.PathScurryWin32:"darwin"===e.platform?r.PathScurryDarwin:e.platform?r.PathScurryPosix:r.PathScurry;this.scurry=new t(this.cwd,{nocase:e.nocase,fs:e.fs})}this.nocase=this.scurry.nocase;const s="darwin"===this.platform||"win32"===this.platform,h={...e,dot:this.dot,matchBase:this.matchBase,nobrace:this.nobrace,nocase:this.nocase,nocaseMagicOnly:s,nocomment:!0,noext:this.noext,nonegate:!0,optimizationLevel:2,platform:this.platform,windowsPathsNoEscape:this.windowsPathsNoEscape,debug:!!this.opts.debug},l=this.pattern.map((t=>new i.Minimatch(t,h))),[c,p]=l.reduce(((t,e)=>(t[0].push(...e.set),t[1].push(...e.globParts),t)),[[],[]]);this.patterns=c.map(((t,e)=>{const s=p[e];if(!s)throw new Error("invalid pattern object");return new o.Pattern(t,s,0,this.platform)}))}async walk(){return[...await new h.GlobWalker(this.patterns,this.scurry.cwd,{...this.opts,maxDepth:this.maxDepth!==1/0?this.maxDepth+this.scurry.cwd.depth():1/0,platform:this.platform,nocase:this.nocase}).walk()]}walkSync(){return[...new h.GlobWalker(this.patterns,this.scurry.cwd,{...this.opts,maxDepth:this.maxDepth!==1/0?this.maxDepth+this.scurry.cwd.depth():1/0,platform:this.platform,nocase:this.nocase}).walkSync()]}stream(){return new h.GlobStream(this.patterns,this.scurry.cwd,{...this.opts,maxDepth:this.maxDepth!==1/0?this.maxDepth+this.scurry.cwd.depth():1/0,platform:this.platform,nocase:this.nocase}).stream()}streamSync(){return new h.GlobStream(this.patterns,this.scurry.cwd,{...this.opts,maxDepth:this.maxDepth!==1/0?this.maxDepth+this.scurry.cwd.depth():1/0,platform:this.platform,nocase:this.nocase}).streamSync()}iterateSync(){return this.streamSync()[Symbol.iterator]()}[Symbol.iterator](){return this.iterateSync()}iterate(){return this.stream()[Symbol.asyncIterator]()}[Symbol.asyncIterator](){return this.iterate()}}e.Glob=l},46:(t,e,s)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.hasMagic=void 0;const i=s(722);e.hasMagic=(t,e={})=>{Array.isArray(t)||(t=[t]);for(const s of t)if(new i.Minimatch(s,e).hasMagic())return!0;return!1}},972:(t,e,s)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Ignore=void 0;const i=s(722),r=s(478),n="object"==typeof process&&process&&"string"==typeof process.platform?process.platform:"linux";e.Ignore=class{relative;relativeChildren;absolute;absoluteChildren;constructor(t,{nobrace:e,nocase:s,noext:o,noglobstar:h,platform:a=n}){this.relative=[],this.absolute=[],this.relativeChildren=[],this.absoluteChildren=[];const l={dot:!0,nobrace:e,nocase:s,noext:o,noglobstar:h,optimizationLevel:2,platform:a,nocomment:!0,nonegate:!0};for(const e of t){const t=new i.Minimatch(e,l);for(let e=0;e<t.set.length;e++){const s=t.set[e],n=t.globParts[e];if(!s||!n)throw new Error("invalid pattern object");for(;"."===s[0]&&"."===n[0];)s.shift(),n.shift();const o=new r.Pattern(s,n,0,a),h=new i.Minimatch(o.globString(),l),c="**"===n[n.length-1],p=o.isAbsolute();p?this.absolute.push(h):this.relative.push(h),c&&(p?this.absoluteChildren.push(h):this.relativeChildren.push(h))}}}ignored(t){const e=t.fullpath(),s=`${e}/`,i=t.relative()||".",r=`${i}/`;for(const t of this.relative)if(t.match(i)||t.match(r))return!0;for(const t of this.absolute)if(t.match(e)||t.match(s))return!0;return!1}childrenIgnored(t){const e=t.fullpath()+"/",s=(t.relative()||".")+"/";for(const t of this.relativeChildren)if(t.match(s))return!0;for(const t of this.absoluteChildren)if(t.match(e))return!0;return!1}}},756:(t,e,s)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.glob=e.hasMagic=e.Glob=e.unescape=e.escape=e.sync=e.iterate=e.iterateSync=e.stream=e.streamSync=e.globIterate=e.globIterateSync=e.globSync=e.globStream=e.globStreamSync=void 0;const i=s(722),r=s(876),n=s(46);function o(t,e={}){return new r.Glob(t,e).streamSync()}function h(t,e={}){return new r.Glob(t,e).stream()}function a(t,e={}){return new r.Glob(t,e).walkSync()}async function l(t,e={}){return new r.Glob(t,e).walk()}function c(t,e={}){return new r.Glob(t,e).iterateSync()}function p(t,e={}){return new r.Glob(t,e).iterate()}e.globStreamSync=o,e.globStream=h,e.globSync=a,e.globIterateSync=c,e.globIterate=p,e.streamSync=o,e.stream=Object.assign(h,{sync:o}),e.iterateSync=c,e.iterate=Object.assign(p,{sync:c}),e.sync=Object.assign(a,{stream:o,iterate:c});var d=s(722);Object.defineProperty(e,"escape",{enumerable:!0,get:function(){return d.escape}}),Object.defineProperty(e,"unescape",{enumerable:!0,get:function(){return d.unescape}});var u=s(876);Object.defineProperty(e,"Glob",{enumerable:!0,get:function(){return u.Glob}});var f=s(46);Object.defineProperty(e,"hasMagic",{enumerable:!0,get:function(){return f.hasMagic}}),e.glob=Object.assign(l,{glob:l,globSync:a,sync:e.sync,globStream:h,stream:e.stream,globStreamSync:o,streamSync:e.streamSync,globIterate:p,iterate:e.iterate,globIterateSync:c,iterateSync:e.iterateSync,Glob:r.Glob,hasMagic:n.hasMagic,escape:i.escape,unescape:i.unescape}),e.glob.glob=e.glob},478:(t,e,s)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Pattern=void 0;const i=s(722);class r{#t;#e;#s;length;#i;#r;#n;#o;#h;#a;#l=!0;constructor(t,e,s,i){if(!(t.length>=1))throw new TypeError("empty pattern list");if(!(e.length>=1))throw new TypeError("empty glob list");if(e.length!==t.length)throw new TypeError("mismatched pattern list and glob list lengths");if(this.length=t.length,s<0||s>=this.length)throw new TypeError("index out of range");if(this.#t=t,this.#e=e,this.#s=s,this.#i=i,0===this.#s)if(this.isUNC()){const[t,e,s,i,...r]=this.#t,[n,o,h,a,...l]=this.#e;""===r[0]&&(r.shift(),l.shift());const c=[t,e,s,i,""].join("/"),p=[n,o,h,a,""].join("/");this.#t=[c,...r],this.#e=[p,...l],this.length=this.#t.length}else if(this.isDrive()||this.isAbsolute()){const[t,...e]=this.#t,[s,...i]=this.#e;""===e[0]&&(e.shift(),i.shift());const r=t+"/",n=s+"/";this.#t=[r,...e],this.#e=[n,...i],this.length=this.#t.length}}pattern(){return this.#t[this.#s]}isString(){return"string"==typeof this.#t[this.#s]}isGlobstar(){return this.#t[this.#s]===i.GLOBSTAR}isRegExp(){return this.#t[this.#s]instanceof RegExp}globString(){return this.#n=this.#n||(0===this.#s?this.isAbsolute()?this.#e[0]+this.#e.slice(1).join("/"):this.#e.join("/"):this.#e.slice(this.#s).join("/"))}hasMore(){return this.length>this.#s+1}rest(){return void 0!==this.#r?this.#r:this.hasMore()?(this.#r=new r(this.#t,this.#e,this.#s+1,this.#i),this.#r.#a=this.#a,this.#r.#h=this.#h,this.#r.#o=this.#o,this.#r):this.#r=null}isUNC(){const t=this.#t;return void 0!==this.#h?this.#h:this.#h="win32"===this.#i&&0===this.#s&&""===t[0]&&""===t[1]&&"string"==typeof t[2]&&!!t[2]&&"string"==typeof t[3]&&!!t[3]}isDrive(){const t=this.#t;return void 0!==this.#o?this.#o:this.#o="win32"===this.#i&&0===this.#s&&this.length>1&&"string"==typeof t[0]&&/^[a-z]:$/i.test(t[0])}isAbsolute(){const t=this.#t;return void 0!==this.#a?this.#a:this.#a=""===t[0]&&t.length>1||this.isDrive()||this.isUNC()}root(){const t=this.#t[0];return"string"==typeof t&&this.isAbsolute()&&0===this.#s?t:""}checkFollowGlobstar(){return!(0===this.#s||!this.isGlobstar()||!this.#l)}markFollowGlobstar(){return!(0===this.#s||!this.isGlobstar()||!this.#l)&&(this.#l=!1,!0)}}e.Pattern=r},800:(t,e,s)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Processor=e.SubWalks=e.MatchRecord=e.HasWalkedCache=void 0;const i=s(722);class r{store;constructor(t=new Map){this.store=t}copy(){return new r(new Map(this.store))}hasWalked(t,e){return this.store.get(t.fullpath())?.has(e.globString())}storeWalked(t,e){const s=t.fullpath(),i=this.store.get(s);i?i.add(e.globString()):this.store.set(s,new Set([e.globString()]))}}e.HasWalkedCache=r;class n{store=new Map;add(t,e,s){const i=(e?2:0)|(s?1:0),r=this.store.get(t);this.store.set(t,void 0===r?i:i&r)}entries(){return[...this.store.entries()].map((([t,e])=>[t,!!(2&e),!!(1&e)]))}}e.MatchRecord=n;class o{store=new Map;add(t,e){if(!t.canReaddir())return;const s=this.store.get(t);s?s.find((t=>t.globString()===e.globString()))||s.push(e):this.store.set(t,[e])}get(t){const e=this.store.get(t);if(!e)throw new Error("attempting to walk unknown path");return e}entries(){return this.keys().map((t=>[t,this.store.get(t)]))}keys(){return[...this.store.keys()].filter((t=>t.canReaddir()))}}e.SubWalks=o;class h{hasWalkedCache;matches=new n;subwalks=new o;patterns;follow;dot;opts;constructor(t,e){this.opts=t,this.follow=!!t.follow,this.dot=!!t.dot,this.hasWalkedCache=e?e.copy():new r}processPatterns(t,e){this.patterns=e;const s=e.map((e=>[t,e]));for(let[t,e]of s){this.hasWalkedCache.storeWalked(t,e);const s=e.root(),r=e.isAbsolute()&&!1!==this.opts.absolute;if(s){t=t.resolve("/"===s&&void 0!==this.opts.root?this.opts.root:s);const i=e.rest();if(!i){this.matches.add(t,!0,!1);continue}e=i}if(t.isENOENT())continue;let n,o,h=!1;for(;"string"==typeof(n=e.pattern())&&(o=e.rest());){const s=t.resolve(n);t=s,e=o,h=!0}if(n=e.pattern(),o=e.rest(),h){if(this.hasWalkedCache.hasWalked(t,e))continue;this.hasWalkedCache.storeWalked(t,e)}if("string"!=typeof n)if(n===i.GLOBSTAR){(!t.isSymbolicLink()||this.follow||e.checkFollowGlobstar())&&this.subwalks.add(t,e);const s=o?.pattern(),i=o?.rest();if(o&&(""!==s&&"."!==s||i)){if(".."===s){const e=t.parent||t;i?this.hasWalkedCache.hasWalked(e,i)||this.subwalks.add(e,i):this.matches.add(e,r,!0)}}else this.matches.add(t,r,""===s||"."===s)}else n instanceof RegExp&&this.subwalks.add(t,e);else{const e=".."===n||""===n||"."===n;this.matches.add(t.resolve(n),r,e)}}return this}subwalkTargets(){return this.subwalks.keys()}child(){return new h(this.opts,this.hasWalkedCache)}filterEntries(t,e){const s=this.subwalks.get(t),r=this.child();for(const t of e)for(const e of s){const s=e.isAbsolute(),n=e.pattern(),o=e.rest();n===i.GLOBSTAR?r.testGlobstar(t,e,o,s):n instanceof RegExp?r.testRegExp(t,n,o,s):r.testString(t,n,o,s)}return r}testGlobstar(t,e,s,i){if(!this.dot&&t.name.startsWith(".")||(e.hasMore()||this.matches.add(t,i,!1),t.canReaddir()&&(this.follow||!t.isSymbolicLink()?this.subwalks.add(t,e):t.isSymbolicLink()&&(s&&e.checkFollowGlobstar()?this.subwalks.add(t,s):e.markFollowGlobstar()&&this.subwalks.add(t,e)))),s){const e=s.pattern();if("string"==typeof e&&".."!==e&&""!==e&&"."!==e)this.testString(t,e,s.rest(),i);else if(".."===e){const e=t.parent||t;this.subwalks.add(e,s)}else e instanceof RegExp&&this.testRegExp(t,e,s.rest(),i)}}testRegExp(t,e,s,i){e.test(t.name)&&(s?this.subwalks.add(t,s):this.matches.add(t,i,!1))}testString(t,e,s,i){t.isNamed(e)&&(s?this.subwalks.add(t,s):this.matches.add(t,i,!1))}}e.Processor=h},984:(t,e,s)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.GlobStream=e.GlobWalker=e.GlobUtil=void 0;const i=s(420),r=s(972),n=s(800);class o{path;patterns;opts;seen=new Set;paused=!1;aborted=!1;#c=[];#p;#d;signal;maxDepth;constructor(t,e,s){this.patterns=t,this.path=e,this.opts=s,this.#d=s.posix||"win32"!==s.platform?"/":"\\",s.ignore&&(this.#p=((t,e)=>"string"==typeof t?new r.Ignore([t],e):Array.isArray(t)?new r.Ignore(t,e):t)(s.ignore,s)),this.maxDepth=s.maxDepth||1/0,s.signal&&(this.signal=s.signal,this.signal.addEventListener("abort",(()=>{this.#c.length=0})))}#u(t){return this.seen.has(t)||!!this.#p?.ignored?.(t)}#f(t){return!!this.#p?.childrenIgnored?.(t)}pause(){this.paused=!0}resume(){if(this.signal?.aborted)return;let t;for(this.paused=!1;!this.paused&&(t=this.#c.shift());)t()}onResume(t){this.signal?.aborted||(this.paused?this.#c.push(t):t())}async matchCheck(t,e){if(e&&this.opts.nodir)return;let s;if(this.opts.realpath){if(s=t.realpathCached()||await t.realpath(),!s)return;t=s}const i=t.isUnknown()||this.opts.stat?await t.lstat():t;if(this.opts.follow&&this.opts.nodir&&i?.isSymbolicLink()){const t=await i.realpath();t&&(t.isUnknown()||this.opts.stat)&&await t.lstat()}return this.matchCheckTest(i,e)}matchCheckTest(t,e){return!t||!(this.maxDepth===1/0||t.depth()<=this.maxDepth)||e&&!t.canReaddir()||this.opts.nodir&&t.isDirectory()||this.opts.nodir&&this.opts.follow&&t.isSymbolicLink()&&t.realpathCached()?.isDirectory()||this.#u(t)?void 0:t}matchCheckSync(t,e){if(e&&this.opts.nodir)return;let s;if(this.opts.realpath){if(s=t.realpathCached()||t.realpathSync(),!s)return;t=s}const i=t.isUnknown()||this.opts.stat?t.lstatSync():t;if(this.opts.follow&&this.opts.nodir&&i?.isSymbolicLink()){const t=i.realpathSync();t&&(t?.isUnknown()||this.opts.stat)&&t.lstatSync()}return this.matchCheckTest(i,e)}matchFinish(t,e){if(this.#u(t))return;const s=void 0===this.opts.absolute?e:this.opts.absolute;this.seen.add(t);const i=this.opts.mark&&t.isDirectory()?this.#d:"";if(this.opts.withFileTypes)this.matchEmit(t);else if(s){const e=this.opts.posix?t.fullpathPosix():t.fullpath();this.matchEmit(e+i)}else{const e=this.opts.posix?t.relativePosix():t.relative(),s=this.opts.dotRelative&&!e.startsWith(".."+this.#d)?"."+this.#d:"";this.matchEmit(e?s+e+i:"."+i)}}async match(t,e,s){const i=await this.matchCheck(t,s);i&&this.matchFinish(i,e)}matchSync(t,e,s){const i=this.matchCheckSync(t,s);i&&this.matchFinish(i,e)}walkCB(t,e,s){this.signal?.aborted&&s(),this.walkCB2(t,e,new n.Processor(this.opts),s)}walkCB2(t,e,s,i){if(this.#f(t))return i();if(this.signal?.aborted&&i(),this.paused)return void this.onResume((()=>this.walkCB2(t,e,s,i)));s.processPatterns(t,e);let r=1;const n=()=>{0==--r&&i()};for(const[t,e,i]of s.matches.entries())this.#u(t)||(r++,this.match(t,e,i).then((()=>n())));for(const t of s.subwalkTargets()){if(this.maxDepth!==1/0&&t.depth()>=this.maxDepth)continue;r++;const e=t.readdirCached();t.calledReaddir()?this.walkCB3(t,e,s,n):t.readdirCB(((e,i)=>this.walkCB3(t,i,s,n)),!0)}n()}walkCB3(t,e,s,i){s=s.filterEntries(t,e);let r=1;const n=()=>{0==--r&&i()};for(const[t,e,i]of s.matches.entries())this.#u(t)||(r++,this.match(t,e,i).then((()=>n())));for(const[t,e]of s.subwalks.entries())r++,this.walkCB2(t,e,s.child(),n);n()}walkCBSync(t,e,s){this.signal?.aborted&&s(),this.walkCB2Sync(t,e,new n.Processor(this.opts),s)}walkCB2Sync(t,e,s,i){if(this.#f(t))return i();if(this.signal?.aborted&&i(),this.paused)return void this.onResume((()=>this.walkCB2Sync(t,e,s,i)));s.processPatterns(t,e);let r=1;const n=()=>{0==--r&&i()};for(const[t,e,i]of s.matches.entries())this.#u(t)||this.matchSync(t,e,i);for(const t of s.subwalkTargets()){if(this.maxDepth!==1/0&&t.depth()>=this.maxDepth)continue;r++;const e=t.readdirSync();this.walkCB3Sync(t,e,s,n)}n()}walkCB3Sync(t,e,s,i){s=s.filterEntries(t,e);let r=1;const n=()=>{0==--r&&i()};for(const[t,e,i]of s.matches.entries())this.#u(t)||this.matchSync(t,e,i);for(const[t,e]of s.subwalks.entries())r++,this.walkCB2Sync(t,e,s.child(),n);n()}}e.GlobUtil=o;e.GlobWalker=class extends o{matches;constructor(t,e,s){super(t,e,s),this.matches=new Set}matchEmit(t){this.matches.add(t)}async walk(){if(this.signal?.aborted)throw this.signal.reason;return this.path.isUnknown()&&await this.path.lstat(),await new Promise(((t,e)=>{this.walkCB(this.path,this.patterns,(()=>{this.signal?.aborted?e(this.signal.reason):t(this.matches)}))})),this.matches}walkSync(){if(this.signal?.aborted)throw this.signal.reason;return this.path.isUnknown()&&this.path.lstatSync(),this.walkCBSync(this.path,this.patterns,(()=>{if(this.signal?.aborted)throw this.signal.reason})),this.matches}};e.GlobStream=class extends o{results;constructor(t,e,s){super(t,e,s),this.results=new i.Minipass({signal:this.signal,objectMode:!0}),this.results.on("drain",(()=>this.resume())),this.results.on("resume",(()=>this.resume()))}matchEmit(t){this.results.write(t),this.results.flowing||this.pause()}stream(){const t=this.path;return t.isUnknown()?t.lstat().then((()=>{this.walkCB(t,this.patterns,(()=>this.results.end()))})):this.walkCB(t,this.patterns,(()=>this.results.end())),this.results}streamSync(){return this.path.isUnknown()&&this.path.lstatSync(),this.walkCBSync(this.path,this.patterns,(()=>this.results.end())),this.results}}},96:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.LRUCache=void 0;const s="object"==typeof performance&&performance&&"function"==typeof performance.now?performance:Date,i=new Set,r="object"==typeof process&&process?process:{},n=(t,e,s,i)=>{"function"==typeof r.emitWarning?r.emitWarning(t,e,s,i):console.error(`[${s}] ${e}: ${t}`)};let o=globalThis.AbortController,h=globalThis.AbortSignal;if(void 0===o){h=class{onabort;_onabort=[];reason;aborted=!1;addEventListener(t,e){this._onabort.push(e)}},o=class{constructor(){e()}signal=new h;abort(t){if(!this.signal.aborted){this.signal.reason=t,this.signal.aborted=!0;for(const e of this.signal._onabort)e(t);this.signal.onabort?.(t)}}};let t="1"!==r.env?.LRU_CACHE_IGNORE_AC_WARNING;const e=()=>{t&&(t=!1,n("AbortController is not defined. If using lru-cache in node 14, load an AbortController polyfill from the `node-abort-controller` package. A minimal polyfill is provided for use by LRUCache.fetch(), but it should not be relied upon in other contexts (eg, passing it to other APIs that use AbortController/AbortSignal might have undesirable effects). You may disable this with LRU_CACHE_IGNORE_AC_WARNING=1 in the env.","NO_ABORT_CONTROLLER","ENOTSUP",e))}}Symbol("type");const a=t=>t&&t===Math.floor(t)&&t>0&&isFinite(t),l=t=>a(t)?t<=Math.pow(2,8)?Uint8Array:t<=Math.pow(2,16)?Uint16Array:t<=Math.pow(2,32)?Uint32Array:t<=Number.MAX_SAFE_INTEGER?c:null:null;class c extends Array{constructor(t){super(t),this.fill(0)}}class p{heap;length;static#g=!1;static create(t){const e=l(t);if(!e)return[];p.#g=!0;const s=new p(t,e);return p.#g=!1,s}constructor(t,e){if(!p.#g)throw new TypeError("instantiate Stack using Stack.create(n)");this.heap=new e(t),this.length=0}push(t){this.heap[this.length++]=t}pop(){return this.heap[--this.length]}}class d{#m;#y;#w;#b;#v;ttl;ttlResolution;ttlAutopurge;updateAgeOnGet;updateAgeOnHas;allowStale;noDisposeOnSet;noUpdateTTL;maxEntrySize;sizeCalculation;noDeleteOnFetchRejection;noDeleteOnStaleGet;allowStaleOnFetchAbort;allowStaleOnFetchRejection;ignoreFetchAbort;#S;#k;#x;#E;#L;#T;#A;#O;#C;#M;#P;#R;#F;#_;#z;#D;#j;static unsafeExposeInternals(t){return{starts:t.#F,ttls:t.#_,sizes:t.#R,keyMap:t.#x,keyList:t.#E,valList:t.#L,next:t.#T,prev:t.#A,get head(){return t.#O},get tail(){return t.#C},free:t.#M,isBackgroundFetch:e=>t.#B(e),backgroundFetch:(e,s,i,r)=>t.#N(e,s,i,r),moveToTail:e=>t.#W(e),indexes:e=>t.#G(e),rindexes:e=>t.#I(e),isStale:e=>t.#U(e)}}get max(){return this.#m}get maxSize(){return this.#y}get calculatedSize(){return this.#k}get size(){return this.#S}get fetchMethod(){return this.#v}get dispose(){return this.#w}get disposeAfter(){return this.#b}constructor(t){const{max:e=0,ttl:s,ttlResolution:r=1,ttlAutopurge:o,updateAgeOnGet:h,updateAgeOnHas:c,allowStale:u,dispose:f,disposeAfter:g,noDisposeOnSet:m,noUpdateTTL:y,maxSize:w=0,maxEntrySize:b=0,sizeCalculation:v,fetchMethod:S,noDeleteOnFetchRejection:k,noDeleteOnStaleGet:x,allowStaleOnFetchRejection:E,allowStaleOnFetchAbort:L,ignoreFetchAbort:T}=t;if(0!==e&&!a(e))throw new TypeError("max option must be a nonnegative integer");const A=e?l(e):Array;if(!A)throw new Error("invalid max value: "+e);if(this.#m=e,this.#y=w,this.maxEntrySize=b||this.#y,this.sizeCalculation=v,this.sizeCalculation){if(!this.#y&&!this.maxEntrySize)throw new TypeError("cannot set sizeCalculation without setting maxSize or maxEntrySize");if("function"!=typeof this.sizeCalculation)throw new TypeError("sizeCalculation set to non-function")}if(void 0!==S&&"function"!=typeof S)throw new TypeError("fetchMethod must be a function if specified");if(this.#v=S,this.#D=!!S,this.#x=new Map,this.#E=new Array(e).fill(void 0),this.#L=new Array(e).fill(void 0),this.#T=new A(e),this.#A=new A(e),this.#O=0,this.#C=0,this.#M=p.create(e),this.#S=0,this.#k=0,"function"==typeof f&&(this.#w=f),"function"==typeof g?(this.#b=g,this.#P=[]):(this.#b=void 0,this.#P=void 0),this.#z=!!this.#w,this.#j=!!this.#b,this.noDisposeOnSet=!!m,this.noUpdateTTL=!!y,this.noDeleteOnFetchRejection=!!k,this.allowStaleOnFetchRejection=!!E,this.allowStaleOnFetchAbort=!!L,this.ignoreFetchAbort=!!T,0!==this.maxEntrySize){if(0!==this.#y&&!a(this.#y))throw new TypeError("maxSize must be a positive integer if specified");if(!a(this.maxEntrySize))throw new TypeError("maxEntrySize must be a positive integer if specified");this.#$()}if(this.allowStale=!!u,this.noDeleteOnStaleGet=!!x,this.updateAgeOnGet=!!h,this.updateAgeOnHas=!!c,this.ttlResolution=a(r)||0===r?r:1,this.ttlAutopurge=!!o,this.ttl=s||0,this.ttl){if(!a(this.ttl))throw new TypeError("ttl must be a positive integer if specified");this.#q()}if(0===this.#m&&0===this.ttl&&0===this.#y)throw new TypeError("At least one of max, maxSize, or ttl is required");if(!this.ttlAutopurge&&!this.#m&&!this.#y){const t="LRU_CACHE_UNBOUNDED";if((t=>!i.has(t))(t)){i.add(t);n("TTL caching without ttlAutopurge, max, or maxSize can result in unbounded memory consumption.","UnboundedCacheWarning",t,d)}}}getRemainingTTL(t){return this.#x.has(t)?1/0:0}#q(){const t=new c(this.#m),e=new c(this.#m);this.#_=t,this.#F=e,this.#H=(i,r,n=s.now())=>{if(e[i]=0!==r?n:0,t[i]=r,0!==r&&this.ttlAutopurge){const t=setTimeout((()=>{this.#U(i)&&this.delete(this.#E[i])}),r+1);t.unref&&t.unref()}},this.#V=i=>{e[i]=0!==t[i]?s.now():0},this.#Z=(s,n)=>{if(t[n]){const o=t[n],h=e[n];if(!o||!h)return;s.ttl=o,s.start=h,s.now=i||r();const a=s.now-h;s.remainingTTL=o-a}};let i=0;const r=()=>{const t=s.now();if(this.ttlResolution>0){i=t;const e=setTimeout((()=>i=0),this.ttlResolution);e.unref&&e.unref()}return t};this.getRemainingTTL=s=>{const n=this.#x.get(s);if(void 0===n)return 0;const o=t[n],h=e[n];if(!o||!h)return 1/0;return o-((i||r())-h)},this.#U=s=>{const n=e[s],o=t[s];return!!o&&!!n&&(i||r())-n>o}}#V=()=>{};#Z=()=>{};#H=()=>{};#U=()=>!1;#$(){const t=new c(this.#m);this.#k=0,this.#R=t,this.#J=e=>{this.#k-=t[e],t[e]=0},this.#K=(t,e,s,i)=>{if(this.#B(e))return 0;if(!a(s)){if(!i)throw new TypeError("invalid size value (must be positive integer). When maxSize or maxEntrySize is used, sizeCalculation or size must be set.");if("function"!=typeof i)throw new TypeError("sizeCalculation must be a function");if(s=i(e,t),!a(s))throw new TypeError("sizeCalculation return invalid (expect positive integer)")}return s},this.#Y=(e,s,i)=>{if(t[e]=s,this.#y){const s=this.#y-t[e];for(;this.#k>s;)this.#X(!0)}this.#k+=t[e],i&&(i.entrySize=s,i.totalCalculatedSize=this.#k)}}#J=t=>{};#Y=(t,e,s)=>{};#K=(t,e,s,i)=>{if(s||i)throw new TypeError("cannot set size without setting maxSize or maxEntrySize on cache");return 0};*#G({allowStale:t=this.allowStale}={}){if(this.#S)for(let e=this.#C;this.#Q(e)&&(!t&&this.#U(e)||(yield e),e!==this.#O);)e=this.#A[e]}*#I({allowStale:t=this.allowStale}={}){if(this.#S)for(let e=this.#O;this.#Q(e)&&(!t&&this.#U(e)||(yield e),e!==this.#C);)e=this.#T[e]}#Q(t){return void 0!==t&&this.#x.get(this.#E[t])===t}*entries(){for(const t of this.#G())void 0===this.#L[t]||void 0===this.#E[t]||this.#B(this.#L[t])||(yield[this.#E[t],this.#L[t]])}*rentries(){for(const t of this.#I())void 0===this.#L[t]||void 0===this.#E[t]||this.#B(this.#L[t])||(yield[this.#E[t],this.#L[t]])}*keys(){for(const t of this.#G()){const e=this.#E[t];void 0===e||this.#B(this.#L[t])||(yield e)}}*rkeys(){for(const t of this.#I()){const e=this.#E[t];void 0===e||this.#B(this.#L[t])||(yield e)}}*values(){for(const t of this.#G()){void 0===this.#L[t]||this.#B(this.#L[t])||(yield this.#L[t])}}*rvalues(){for(const t of this.#I()){void 0===this.#L[t]||this.#B(this.#L[t])||(yield this.#L[t])}}[Symbol.iterator](){return this.entries()}[Symbol.toStringTag]="LRUCache";find(t,e={}){for(const s of this.#G()){const i=this.#L[s],r=this.#B(i)?i.__staleWhileFetching:i;if(void 0!==r&&t(r,this.#E[s],this))return this.get(this.#E[s],e)}}forEach(t,e=this){for(const s of this.#G()){const i=this.#L[s],r=this.#B(i)?i.__staleWhileFetching:i;void 0!==r&&t.call(e,r,this.#E[s],this)}}rforEach(t,e=this){for(const s of this.#I()){const i=this.#L[s],r=this.#B(i)?i.__staleWhileFetching:i;void 0!==r&&t.call(e,r,this.#E[s],this)}}purgeStale(){let t=!1;for(const e of this.#I({allowStale:!0}))this.#U(e)&&(this.delete(this.#E[e]),t=!0);return t}info(t){const e=this.#x.get(t);if(void 0===e)return;const i=this.#L[e],r=this.#B(i)?i.__staleWhileFetching:i;if(void 0===r)return;const n={value:r};if(this.#_&&this.#F){const t=this.#_[e],i=this.#F[e];if(t&&i){const e=t-(s.now()-i);n.ttl=e,n.start=Date.now()}}return this.#R&&(n.size=this.#R[e]),n}dump(){const t=[];for(const e of this.#G({allowStale:!0})){const i=this.#E[e],r=this.#L[e],n=this.#B(r)?r.__staleWhileFetching:r;if(void 0===n||void 0===i)continue;const o={value:n};if(this.#_&&this.#F){o.ttl=this.#_[e];const t=s.now()-this.#F[e];o.start=Math.floor(Date.now()-t)}this.#R&&(o.size=this.#R[e]),t.unshift([i,o])}return t}load(t){this.clear();for(const[e,i]of t){if(i.start){const t=Date.now()-i.start;i.start=s.now()-t}this.set(e,i.value,i)}}set(t,e,s={}){if(void 0===e)return this.delete(t),this;const{ttl:i=this.ttl,start:r,noDisposeOnSet:n=this.noDisposeOnSet,sizeCalculation:o=this.sizeCalculation,status:h}=s;let{noUpdateTTL:a=this.noUpdateTTL}=s;const l=this.#K(t,e,s.size||0,o);if(this.maxEntrySize&&l>this.maxEntrySize)return h&&(h.set="miss",h.maxEntrySizeExceeded=!0),this.delete(t),this;let c=0===this.#S?void 0:this.#x.get(t);if(void 0===c)c=0===this.#S?this.#C:0!==this.#M.length?this.#M.pop():this.#S===this.#m?this.#X(!1):this.#S,this.#E[c]=t,this.#L[c]=e,this.#x.set(t,c),this.#T[this.#C]=c,this.#A[c]=this.#C,this.#C=c,this.#S++,this.#Y(c,l,h),h&&(h.set="add"),a=!1;else{this.#W(c);const s=this.#L[c];if(e!==s){if(this.#D&&this.#B(s)){s.__abortController.abort(new Error("replaced"));const{__staleWhileFetching:e}=s;void 0===e||n||(this.#z&&this.#w?.(e,t,"set"),this.#j&&this.#P?.push([e,t,"set"]))}else n||(this.#z&&this.#w?.(s,t,"set"),this.#j&&this.#P?.push([s,t,"set"]));if(this.#J(c),this.#Y(c,l,h),this.#L[c]=e,h){h.set="replace";const t=s&&this.#B(s)?s.__staleWhileFetching:s;void 0!==t&&(h.oldValue=t)}}else h&&(h.set="update")}if(0===i||this.#_||this.#q(),this.#_&&(a||this.#H(c,i,r),h&&this.#Z(h,c)),!n&&this.#j&&this.#P){const t=this.#P;let e;for(;e=t?.shift();)this.#b?.(...e)}return this}pop(){try{for(;this.#S;){const t=this.#L[this.#O];if(this.#X(!0),this.#B(t)){if(t.__staleWhileFetching)return t.__staleWhileFetching}else if(void 0!==t)return t}}finally{if(this.#j&&this.#P){const t=this.#P;let e;for(;e=t?.shift();)this.#b?.(...e)}}}#X(t){const e=this.#O,s=this.#E[e],i=this.#L[e];return this.#D&&this.#B(i)?i.__abortController.abort(new Error("evicted")):(this.#z||this.#j)&&(this.#z&&this.#w?.(i,s,"evict"),this.#j&&this.#P?.push([i,s,"evict"])),this.#J(e),t&&(this.#E[e]=void 0,this.#L[e]=void 0,this.#M.push(e)),1===this.#S?(this.#O=this.#C=0,this.#M.length=0):this.#O=this.#T[e],this.#x.delete(s),this.#S--,e}has(t,e={}){const{updateAgeOnHas:s=this.updateAgeOnHas,status:i}=e,r=this.#x.get(t);if(void 0!==r){const t=this.#L[r];if(this.#B(t)&&void 0===t.__staleWhileFetching)return!1;if(!this.#U(r))return s&&this.#V(r),i&&(i.has="hit",this.#Z(i,r)),!0;i&&(i.has="stale",this.#Z(i,r))}else i&&(i.has="miss");return!1}peek(t,e={}){const{allowStale:s=this.allowStale}=e,i=this.#x.get(t);if(void 0===i||!s&&this.#U(i))return;const r=this.#L[i];return this.#B(r)?r.__staleWhileFetching:r}#N(t,e,s,i){const r=void 0===e?void 0:this.#L[e];if(this.#B(r))return r;const n=new o,{signal:h}=s;h?.addEventListener("abort",(()=>n.abort(h.reason)),{signal:n.signal});const a={signal:n.signal,options:s,context:i},l=(i,r=!1)=>{const{aborted:o}=n.signal,h=s.ignoreFetchAbort&&void 0!==i;if(s.status&&(o&&!r?(s.status.fetchAborted=!0,s.status.fetchError=n.signal.reason,h&&(s.status.fetchAbortIgnored=!0)):s.status.fetchResolved=!0),o&&!h&&!r)return c(n.signal.reason);const l=p;return this.#L[e]===p&&(void 0===i?l.__staleWhileFetching?this.#L[e]=l.__staleWhileFetching:this.delete(t):(s.status&&(s.status.fetchUpdated=!0),this.set(t,i,a.options))),i},c=i=>{const{aborted:r}=n.signal,o=r&&s.allowStaleOnFetchAbort,h=o||s.allowStaleOnFetchRejection,a=h||s.noDeleteOnFetchRejection,l=p;if(this.#L[e]===p){!a||void 0===l.__staleWhileFetching?this.delete(t):o||(this.#L[e]=l.__staleWhileFetching)}if(h)return s.status&&void 0!==l.__staleWhileFetching&&(s.status.returnedStale=!0),l.__staleWhileFetching;if(l.__returned===l)throw i};s.status&&(s.status.fetchDispatched=!0);const p=new Promise(((e,i)=>{const o=this.#v?.(t,r,a);o&&o instanceof Promise&&o.then((t=>e(void 0===t?void 0:t)),i),n.signal.addEventListener("abort",(()=>{s.ignoreFetchAbort&&!s.allowStaleOnFetchAbort||(e(void 0),s.allowStaleOnFetchAbort&&(e=t=>l(t,!0)))}))})).then(l,(t=>(s.status&&(s.status.fetchRejected=!0,s.status.fetchError=t),c(t)))),d=Object.assign(p,{__abortController:n,__staleWhileFetching:r,__returned:void 0});return void 0===e?(this.set(t,d,{...a.options,status:void 0}),e=this.#x.get(t)):this.#L[e]=d,d}#B(t){if(!this.#D)return!1;const e=t;return!!e&&e instanceof Promise&&e.hasOwnProperty("__staleWhileFetching")&&e.__abortController instanceof o}async fetch(t,e={}){const{allowStale:s=this.allowStale,updateAgeOnGet:i=this.updateAgeOnGet,noDeleteOnStaleGet:r=this.noDeleteOnStaleGet,ttl:n=this.ttl,noDisposeOnSet:o=this.noDisposeOnSet,size:h=0,sizeCalculation:a=this.sizeCalculation,noUpdateTTL:l=this.noUpdateTTL,noDeleteOnFetchRejection:c=this.noDeleteOnFetchRejection,allowStaleOnFetchRejection:p=this.allowStaleOnFetchRejection,ignoreFetchAbort:d=this.ignoreFetchAbort,allowStaleOnFetchAbort:u=this.allowStaleOnFetchAbort,context:f,forceRefresh:g=!1,status:m,signal:y}=e;if(!this.#D)return m&&(m.fetch="get"),this.get(t,{allowStale:s,updateAgeOnGet:i,noDeleteOnStaleGet:r,status:m});const w={allowStale:s,updateAgeOnGet:i,noDeleteOnStaleGet:r,ttl:n,noDisposeOnSet:o,size:h,sizeCalculation:a,noUpdateTTL:l,noDeleteOnFetchRejection:c,allowStaleOnFetchRejection:p,allowStaleOnFetchAbort:u,ignoreFetchAbort:d,status:m,signal:y};let b=this.#x.get(t);if(void 0===b){m&&(m.fetch="miss");const e=this.#N(t,b,w,f);return e.__returned=e}{const e=this.#L[b];if(this.#B(e)){const t=s&&void 0!==e.__staleWhileFetching;return m&&(m.fetch="inflight",t&&(m.returnedStale=!0)),t?e.__staleWhileFetching:e.__returned=e}const r=this.#U(b);if(!g&&!r)return m&&(m.fetch="hit"),this.#W(b),i&&this.#V(b),m&&this.#Z(m,b),e;const n=this.#N(t,b,w,f),o=void 0!==n.__staleWhileFetching&&s;return m&&(m.fetch=r?"stale":"refresh",o&&r&&(m.returnedStale=!0)),o?n.__staleWhileFetching:n.__returned=n}}get(t,e={}){const{allowStale:s=this.allowStale,updateAgeOnGet:i=this.updateAgeOnGet,noDeleteOnStaleGet:r=this.noDeleteOnStaleGet,status:n}=e,o=this.#x.get(t);if(void 0!==o){const e=this.#L[o],h=this.#B(e);return n&&this.#Z(n,o),this.#U(o)?(n&&(n.get="stale"),h?(n&&s&&void 0!==e.__staleWhileFetching&&(n.returnedStale=!0),s?e.__staleWhileFetching:void 0):(r||this.delete(t),n&&s&&(n.returnedStale=!0),s?e:void 0)):(n&&(n.get="hit"),h?e.__staleWhileFetching:(this.#W(o),i&&this.#V(o),e))}n&&(n.get="miss")}#tt(t,e){this.#A[e]=t,this.#T[t]=e}#W(t){t!==this.#C&&(t===this.#O?this.#O=this.#T[t]:this.#tt(this.#A[t],this.#T[t]),this.#tt(this.#C,t),this.#C=t)}delete(t){let e=!1;if(0!==this.#S){const s=this.#x.get(t);if(void 0!==s)if(e=!0,1===this.#S)this.clear();else{this.#J(s);const e=this.#L[s];if(this.#B(e)?e.__abortController.abort(new Error("deleted")):(this.#z||this.#j)&&(this.#z&&this.#w?.(e,t,"delete"),this.#j&&this.#P?.push([e,t,"delete"])),this.#x.delete(t),this.#E[s]=void 0,this.#L[s]=void 0,s===this.#C)this.#C=this.#A[s];else if(s===this.#O)this.#O=this.#T[s];else{const t=this.#A[s];this.#T[t]=this.#T[s];const e=this.#T[s];this.#A[e]=this.#A[s]}this.#S--,this.#M.push(s)}}if(this.#j&&this.#P?.length){const t=this.#P;let e;for(;e=t?.shift();)this.#b?.(...e)}return e}clear(){for(const t of this.#I({allowStale:!0})){const e=this.#L[t];if(this.#B(e))e.__abortController.abort(new Error("deleted"));else{const s=this.#E[t];this.#z&&this.#w?.(e,s,"delete"),this.#j&&this.#P?.push([e,s,"delete"])}}if(this.#x.clear(),this.#L.fill(void 0),this.#E.fill(void 0),this.#_&&this.#F&&(this.#_.fill(0),this.#F.fill(0)),this.#R&&this.#R.fill(0),this.#O=0,this.#C=0,this.#M.length=0,this.#k=0,this.#S=0,this.#j&&this.#P){const t=this.#P;let e;for(;e=t?.shift();)this.#b?.(...e)}}}e.LRUCache=d},274:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.assertValidPattern=void 0;e.assertValidPattern=t=>{if("string"!=typeof t)throw new TypeError("invalid pattern");if(t.length>65536)throw new TypeError("pattern is too long")}},674:(t,e,s)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AST=void 0;const i=s(843),r=s(116),n=new Set(["!","?","+","*","@"]),o=t=>n.has(t),h="(?!\\.)",a=new Set(["[","."]),l=new Set(["..","."]),c=new Set("().*{}+?[]^$\\!"),p="[^/]",d=p+"*?",u=p+"+?";class f{type;#et;#st;#it=!1;#rt=[];#nt;#ot;#ht;#at=!1;#lt;#ct;#pt=!1;constructor(t,e,s={}){this.type=t,t&&(this.#st=!0),this.#nt=e,this.#et=this.#nt?this.#nt.#et:this,this.#lt=this.#et===this?s:this.#et.#lt,this.#ht=this.#et===this?[]:this.#et.#ht,"!"!==t||this.#et.#at||this.#ht.push(this),this.#ot=this.#nt?this.#nt.#rt.length:0}get hasMagic(){if(void 0!==this.#st)return this.#st;for(const t of this.#rt)if("string"!=typeof t&&(t.type||t.hasMagic))return this.#st=!0;return this.#st}toString(){return void 0!==this.#ct?this.#ct:this.type?this.#ct=this.type+"("+this.#rt.map((t=>String(t))).join("|")+")":this.#ct=this.#rt.map((t=>String(t))).join("")}#dt(){if(this!==this.#et)throw new Error("should only call on root");if(this.#at)return this;let t;for(this.toString(),this.#at=!0;t=this.#ht.pop();){if("!"!==t.type)continue;let e=t,s=e.#nt;for(;s;){for(let i=e.#ot+1;!s.type&&i<s.#rt.length;i++)for(const e of t.#rt){if("string"==typeof e)throw new Error("string part in extglob AST??");e.copyIn(s.#rt[i])}e=s,s=e.#nt}}return this}push(...t){for(const e of t)if(""!==e){if("string"!=typeof e&&!(e instanceof f&&e.#nt===this))throw new Error("invalid part: "+e);this.#rt.push(e)}}toJSON(){const t=null===this.type?this.#rt.slice().map((t=>"string"==typeof t?t:t.toJSON())):[this.type,...this.#rt.map((t=>t.toJSON()))];return this.isStart()&&!this.type&&t.unshift([]),this.isEnd()&&(this===this.#et||this.#et.#at&&"!"===this.#nt?.type)&&t.push({}),t}isStart(){if(this.#et===this)return!0;if(!this.#nt?.isStart())return!1;if(0===this.#ot)return!0;const t=this.#nt;for(let e=0;e<this.#ot;e++){const s=t.#rt[e];if(!(s instanceof f&&"!"===s.type))return!1}return!0}isEnd(){if(this.#et===this)return!0;if("!"===this.#nt?.type)return!0;if(!this.#nt?.isEnd())return!1;if(!this.type)return this.#nt?.isEnd();const t=this.#nt?this.#nt.#rt.length:0;return this.#ot===t-1}copyIn(t){"string"==typeof t?this.push(t):this.push(t.clone(this))}clone(t){const e=new f(this.type,t);for(const t of this.#rt)e.copyIn(t);return e}static#ut(t,e,s,i){let r=!1,n=!1,h=-1,a=!1;if(null===e.type){let l=s,c="";for(;l<t.length;){const s=t.charAt(l++);if(r||"\\"===s)r=!r,c+=s;else if(n)l===h+1?"^"!==s&&"!"!==s||(a=!0):"]"!==s||l===h+2&&a||(n=!1),c+=s;else if("["!==s)if(i.noext||!o(s)||"("!==t.charAt(l))c+=s;else{e.push(c),c="";const r=new f(s,e);l=f.#ut(t,r,l,i),e.push(r)}else n=!0,h=l,a=!1,c+=s}return e.push(c),l}let l=s+1,c=new f(null,e);const p=[];let d="";for(;l<t.length;){const s=t.charAt(l++);if(r||"\\"===s)r=!r,d+=s;else if(n)l===h+1?"^"!==s&&"!"!==s||(a=!0):"]"!==s||l===h+2&&a||(n=!1),d+=s;else if("["!==s)if(o(s)&&"("===t.charAt(l)){c.push(d),d="";const e=new f(s,c);c.push(e),l=f.#ut(t,e,l,i)}else if("|"!==s){if(")"===s)return""===d&&0===e.#rt.length&&(e.#pt=!0),c.push(d),d="",e.push(...p,c),l;d+=s}else c.push(d),d="",p.push(c),c=new f(null,e);else n=!0,h=l,a=!1,d+=s}return e.type=null,e.#st=void 0,e.#rt=[t.substring(s-1)],l}static fromGlob(t,e={}){const s=new f(null,void 0,e);return f.#ut(t,s,0,e),s}toMMPattern(){if(this!==this.#et)return this.#et.toMMPattern();const t=this.toString(),[e,s,i,r]=this.toRegExpSource();if(!(i||this.#st||this.#lt.nocase&&!this.#lt.nocaseMagicOnly&&t.toUpperCase()!==t.toLowerCase()))return s;const n=(this.#lt.nocase?"i":"")+(r?"u":"");return Object.assign(new RegExp(`^${e}$`,n),{_src:e,_glob:t})}get options(){return this.#lt}toRegExpSource(t){const e=t??!!this.#lt.dot;if(this.#et===this&&this.#dt(),!this.type){const s=this.isStart()&&this.isEnd(),i=this.#rt.map((e=>{const[i,r,n,o]="string"==typeof e?f.#ft(e,this.#st,s):e.toRegExpSource(t);return this.#st=this.#st||n,this.#it=this.#it||o,i})).join("");let n="";if(this.isStart()&&"string"==typeof this.#rt[0]){if(!(1===this.#rt.length&&l.has(this.#rt[0]))){const s=a,r=e&&s.has(i.charAt(0))||i.startsWith("\\.")&&s.has(i.charAt(2))||i.startsWith("\\.\\.")&&s.has(i.charAt(4)),o=!e&&!t&&s.has(i.charAt(0));n=r?"(?!(?:^|/)\\.\\.?(?:$|/))":o?h:""}}let o="";this.isEnd()&&this.#et.#at&&"!"===this.#nt?.type&&(o="(?:$|\\/)");return[n+i+o,(0,r.unescape)(i),this.#st=!!this.#st,this.#it]}const s="*"===this.type||"+"===this.type,i="!"===this.type?"(?:(?!(?:":"(?:";let n=this.#gt(e);if(this.isStart()&&this.isEnd()&&!n&&"!"!==this.type){const t=this.toString();return this.#rt=[t],this.type=null,this.#st=void 0,[t,(0,r.unescape)(this.toString()),!1,!1]}let o=!s||t||e?"":this.#gt(!0);o===n&&(o=""),o&&(n=`(?:${n})(?:${o})*?`);let c="";if("!"===this.type&&this.#pt)c=(this.isStart()&&!e?h:"")+u;else{c=i+n+("!"===this.type?"))"+(!this.isStart()||e||t?"":h)+d+")":"@"===this.type?")":"?"===this.type?")?":"+"===this.type&&o?")":"*"===this.type&&o?")?":`)${this.type}`)}return[c,(0,r.unescape)(n),this.#st=!!this.#st,this.#it]}#gt(t){return this.#rt.map((e=>{if("string"==typeof e)throw new Error("string type in extglob ast??");const[s,i,r,n]=e.toRegExpSource(t);return this.#it=this.#it||n,s})).filter((t=>!(this.isStart()&&this.isEnd()&&!t))).join("|")}static#ft(t,e,s=!1){let n=!1,o="",h=!1;for(let r=0;r<t.length;r++){const a=t.charAt(r);if(n)n=!1,o+=(c.has(a)?"\\":"")+a;else if("\\"!==a){if("["===a){const[s,n,a,l]=(0,i.parseClass)(t,r);if(a){o+=s,h=h||n,r+=a-1,e=e||l;continue}}"*"!==a?"?"!==a?o+=a.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"):(o+=p,e=!0):(o+=s&&"*"===t?u:d,e=!0)}else r===t.length-1?o+="\\\\":n=!0}return[o,(0,r.unescape)(t),!!e,h]}}e.AST=f},843:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.parseClass=void 0;const s={"[:alnum:]":["\\p{L}\\p{Nl}\\p{Nd}",!0],"[:alpha:]":["\\p{L}\\p{Nl}",!0],"[:ascii:]":["\\x00-\\x7f",!1],"[:blank:]":["\\p{Zs}\\t",!0],"[:cntrl:]":["\\p{Cc}",!0],"[:digit:]":["\\p{Nd}",!0],"[:graph:]":["\\p{Z}\\p{C}",!0,!0],"[:lower:]":["\\p{Ll}",!0],"[:print:]":["\\p{C}",!0],"[:punct:]":["\\p{P}",!0],"[:space:]":["\\p{Z}\\t\\r\\n\\v\\f",!0],"[:upper:]":["\\p{Lu}",!0],"[:word:]":["\\p{L}\\p{Nl}\\p{Nd}\\p{Pc}",!0],"[:xdigit:]":["A-Fa-f0-9",!1]},i=t=>t.replace(/[[\]\\-]/g,"\\$&"),r=t=>t.join("");e.parseClass=(t,e)=>{const n=e;if("["!==t.charAt(n))throw new Error("not in a brace expression");const o=[],h=[];let a=n+1,l=!1,c=!1,p=!1,d=!1,u=n,f="";t:for(;a<t.length;){const e=t.charAt(a);if("!"!==e&&"^"!==e||a!==n+1){if("]"===e&&l&&!p){u=a+1;break}if(l=!0,"\\"!==e||p){if("["===e&&!p)for(const[e,[i,r,l]]of Object.entries(s))if(t.startsWith(e,a)){if(f)return["$.",!1,t.length-n,!0];a+=e.length,l?h.push(i):o.push(i),c=c||r;continue t}p=!1,f?(e>f?o.push(i(f)+"-"+i(e)):e===f&&o.push(i(e)),f="",a++):t.startsWith("-]",a+1)?(o.push(i(e+"-")),a+=2):t.startsWith("-",a+1)?(f=e,a+=2):(o.push(i(e)),a++)}else p=!0,a++}else d=!0,a++}if(u<a)return["",!1,0,!1];if(!o.length&&!h.length)return["$.",!1,t.length-n,!0];if(0===h.length&&1===o.length&&/^\\?.$/.test(o[0])&&!d){const t=2===o[0].length?o[0].slice(-1):o[0];return[(g=t,g.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")),!1,u-n,!1]}var g;const m="["+(d?"^":"")+r(o)+"]",y="["+(d?"":"^")+r(h)+"]";return[o.length&&h.length?"("+m+"|"+y+")":o.length?m:y,c,u-n,!0]}},363:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.escape=void 0;e.escape=(t,{windowsPathsNoEscape:e=!1}={})=>e?t.replace(/[?*()[\]]/g,"[$&]"):t.replace(/[?*()[\]\\]/g,"\\$&")},722:function(t,e,s){"use strict";var i=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.unescape=e.escape=e.AST=e.Minimatch=e.match=e.makeRe=e.braceExpand=e.defaults=e.filter=e.GLOBSTAR=e.sep=e.minimatch=void 0;const r=i(s(928)),n=s(274),o=s(674),h=s(363),a=s(116);e.minimatch=(t,e,s={})=>((0,n.assertValidPattern)(e),!(!s.nocomment&&"#"===e.charAt(0))&&new _(e,s).match(t));const l=/^\*+([^+@!?\*\[\(]*)$/,c=t=>e=>!e.startsWith(".")&&e.endsWith(t),p=t=>e=>e.endsWith(t),d=t=>(t=t.toLowerCase(),e=>!e.startsWith(".")&&e.toLowerCase().endsWith(t)),u=t=>(t=t.toLowerCase(),e=>e.toLowerCase().endsWith(t)),f=/^\*+\.\*+$/,g=t=>!t.startsWith(".")&&t.includes("."),m=t=>"."!==t&&".."!==t&&t.includes("."),y=/^\.\*+$/,w=t=>"."!==t&&".."!==t&&t.startsWith("."),b=/^\*+$/,v=t=>0!==t.length&&!t.startsWith("."),S=t=>0!==t.length&&"."!==t&&".."!==t,k=/^\?+([^+@!?\*\[\(]*)?$/,x=([t,e=""])=>{const s=A([t]);return e?(e=e.toLowerCase(),t=>s(t)&&t.toLowerCase().endsWith(e)):s},E=([t,e=""])=>{const s=O([t]);return e?(e=e.toLowerCase(),t=>s(t)&&t.toLowerCase().endsWith(e)):s},L=([t,e=""])=>{const s=O([t]);return e?t=>s(t)&&t.endsWith(e):s},T=([t,e=""])=>{const s=A([t]);return e?t=>s(t)&&t.endsWith(e):s},A=([t])=>{const e=t.length;return t=>t.length===e&&!t.startsWith(".")},O=([t])=>{const e=t.length;return t=>t.length===e&&"."!==t&&".."!==t},C="object"==typeof process&&process?"object"==typeof process.env&&process.env&&process.env.__MINIMATCH_TESTING_PLATFORM__||process.platform:"posix",M={sep:"\\"},P={sep:"/"};e.sep="win32"===C?M.sep:P.sep,e.minimatch.sep=e.sep,e.GLOBSTAR=Symbol("globstar **"),e.minimatch.GLOBSTAR=e.GLOBSTAR;e.filter=(t,s={})=>i=>(0,e.minimatch)(i,t,s),e.minimatch.filter=e.filter;const R=(t,e={})=>Object.assign({},t,e);e.defaults=t=>{if(!t||"object"!=typeof t||!Object.keys(t).length)return e.minimatch;const s=e.minimatch;return Object.assign(((e,i,r={})=>s(e,i,R(t,r))),{Minimatch:class extends s.Minimatch{constructor(e,s={}){super(e,R(t,s))}static defaults(e){return s.defaults(R(t,e)).Minimatch}},AST:class extends s.AST{constructor(e,s,i={}){super(e,s,R(t,i))}static fromGlob(e,i={}){return s.AST.fromGlob(e,R(t,i))}},unescape:(e,i={})=>s.unescape(e,R(t,i)),escape:(e,i={})=>s.escape(e,R(t,i)),filter:(e,i={})=>s.filter(e,R(t,i)),defaults:e=>s.defaults(R(t,e)),makeRe:(e,i={})=>s.makeRe(e,R(t,i)),braceExpand:(e,i={})=>s.braceExpand(e,R(t,i)),match:(e,i,r={})=>s.match(e,i,R(t,r)),sep:s.sep,GLOBSTAR:e.GLOBSTAR})},e.minimatch.defaults=e.defaults;e.braceExpand=(t,e={})=>((0,n.assertValidPattern)(t),e.nobrace||!/\{(?:(?!\{).)*\}/.test(t)?[t]:(0,r.default)(t)),e.minimatch.braceExpand=e.braceExpand;e.makeRe=(t,e={})=>new _(t,e).makeRe(),e.minimatch.makeRe=e.makeRe;e.match=(t,e,s={})=>{const i=new _(e,s);return t=t.filter((t=>i.match(t))),i.options.nonull&&!t.length&&t.push(e),t},e.minimatch.match=e.match;const F=/[?*]|[+@!]\(.*?\)|\[|\]/;class _{options;set;pattern;windowsPathsNoEscape;nonegate;negate;comment;empty;preserveMultipleSlashes;partial;globSet;globParts;nocase;isWindows;platform;windowsNoMagicRoot;regexp;constructor(t,e={}){(0,n.assertValidPattern)(t),e=e||{},this.options=e,this.pattern=t,this.platform=e.platform||C,this.isWindows="win32"===this.platform,this.windowsPathsNoEscape=!!e.windowsPathsNoEscape||!1===e.allowWindowsEscape,this.windowsPathsNoEscape&&(this.pattern=this.pattern.replace(/\\/g,"/")),this.preserveMultipleSlashes=!!e.preserveMultipleSlashes,this.regexp=null,this.negate=!1,this.nonegate=!!e.nonegate,this.comment=!1,this.empty=!1,this.partial=!!e.partial,this.nocase=!!this.options.nocase,this.windowsNoMagicRoot=void 0!==e.windowsNoMagicRoot?e.windowsNoMagicRoot:!(!this.isWindows||!this.nocase),this.globSet=[],this.globParts=[],this.set=[],this.make()}hasMagic(){if(this.options.magicalBraces&&this.set.length>1)return!0;for(const t of this.set)for(const e of t)if("string"!=typeof e)return!0;return!1}debug(...t){}make(){const t=this.pattern,e=this.options;if(!e.nocomment&&"#"===t.charAt(0))return void(this.comment=!0);if(!t)return void(this.empty=!0);this.parseNegate(),this.globSet=[...new Set(this.braceExpand())],e.debug&&(this.debug=(...t)=>console.error(...t)),this.debug(this.pattern,this.globSet);const s=this.globSet.map((t=>this.slashSplit(t)));this.globParts=this.preprocess(s),this.debug(this.pattern,this.globParts);let i=this.globParts.map(((t,e,s)=>{if(this.isWindows&&this.windowsNoMagicRoot){const e=!(""!==t[0]||""!==t[1]||"?"!==t[2]&&F.test(t[2])||F.test(t[3])),s=/^[a-z]:/i.test(t[0]);if(e)return[...t.slice(0,4),...t.slice(4).map((t=>this.parse(t)))];if(s)return[t[0],...t.slice(1).map((t=>this.parse(t)))]}return t.map((t=>this.parse(t)))}));if(this.debug(this.pattern,i),this.set=i.filter((t=>-1===t.indexOf(!1))),this.isWindows)for(let t=0;t<this.set.length;t++){const e=this.set[t];""===e[0]&&""===e[1]&&"?"===this.globParts[t][2]&&"string"==typeof e[3]&&/^[a-z]:$/i.test(e[3])&&(e[2]="?")}this.debug(this.pattern,this.set)}preprocess(t){if(this.options.noglobstar)for(let e=0;e<t.length;e++)for(let s=0;s<t[e].length;s++)"**"===t[e][s]&&(t[e][s]="*");const{optimizationLevel:e=1}=this.options;return e>=2?(t=this.firstPhasePreProcess(t),t=this.secondPhasePreProcess(t)):t=e>=1?this.levelOneOptimize(t):this.adjascentGlobstarOptimize(t),t}adjascentGlobstarOptimize(t){return t.map((t=>{let e=-1;for(;-1!==(e=t.indexOf("**",e+1));){let s=e;for(;"**"===t[s+1];)s++;s!==e&&t.splice(e,s-e)}return t}))}levelOneOptimize(t){return t.map((t=>0===(t=t.reduce(((t,e)=>{const s=t[t.length-1];return"**"===e&&"**"===s?t:".."===e&&s&&".."!==s&&"."!==s&&"**"!==s?(t.pop(),t):(t.push(e),t)}),[])).length?[""]:t))}levelTwoFileOptimize(t){Array.isArray(t)||(t=this.slashSplit(t));let e=!1;do{if(e=!1,!this.preserveMultipleSlashes){for(let s=1;s<t.length-1;s++){const i=t[s];1===s&&""===i&&""===t[0]||("."!==i&&""!==i||(e=!0,t.splice(s,1),s--))}"."!==t[0]||2!==t.length||"."!==t[1]&&""!==t[1]||(e=!0,t.pop())}let s=0;for(;-1!==(s=t.indexOf("..",s+1));){const i=t[s-1];i&&"."!==i&&".."!==i&&"**"!==i&&(e=!0,t.splice(s-1,2),s-=2)}}while(e);return 0===t.length?[""]:t}firstPhasePreProcess(t){let e=!1;do{e=!1;for(let s of t){let i=-1;for(;-1!==(i=s.indexOf("**",i+1));){let r=i;for(;"**"===s[r+1];)r++;r>i&&s.splice(i+1,r-i);let n=s[i+1];const o=s[i+2],h=s[i+3];if(".."!==n)continue;if(!o||"."===o||".."===o||!h||"."===h||".."===h)continue;e=!0,s.splice(i,1);const a=s.slice(0);a[i]="**",t.push(a),i--}if(!this.preserveMultipleSlashes){for(let t=1;t<s.length-1;t++){const i=s[t];1===t&&""===i&&""===s[0]||("."!==i&&""!==i||(e=!0,s.splice(t,1),t--))}"."!==s[0]||2!==s.length||"."!==s[1]&&""!==s[1]||(e=!0,s.pop())}let r=0;for(;-1!==(r=s.indexOf("..",r+1));){const t=s[r-1];if(t&&"."!==t&&".."!==t&&"**"!==t){e=!0;const t=1===r&&"**"===s[r+1]?["."]:[];s.splice(r-1,2,...t),0===s.length&&s.push(""),r-=2}}}}while(e);return t}secondPhasePreProcess(t){for(let e=0;e<t.length-1;e++)for(let s=e+1;s<t.length;s++){const i=this.partsMatch(t[e],t[s],!this.preserveMultipleSlashes);i&&(t[e]=i,t[s]=[])}return t.filter((t=>t.length))}partsMatch(t,e,s=!1){let i=0,r=0,n=[],o="";for(;i<t.length&&r<e.length;)if(t[i]===e[r])n.push("b"===o?e[r]:t[i]),i++,r++;else if(s&&"**"===t[i]&&e[r]===t[i+1])n.push(t[i]),i++;else if(s&&"**"===e[r]&&t[i]===e[r+1])n.push(e[r]),r++;else if("*"!==t[i]||!e[r]||!this.options.dot&&e[r].startsWith(".")||"**"===e[r]){if("*"!==e[r]||!t[i]||!this.options.dot&&t[i].startsWith(".")||"**"===t[i])return!1;if("a"===o)return!1;o="b",n.push(e[r]),i++,r++}else{if("b"===o)return!1;o="a",n.push(t[i]),i++,r++}return t.length===e.length&&n}parseNegate(){if(this.nonegate)return;const t=this.pattern;let e=!1,s=0;for(let i=0;i<t.length&&"!"===t.charAt(i);i++)e=!e,s++;s&&(this.pattern=t.slice(s)),this.negate=e}matchOne(t,s,i=!1){const r=this.options;if(this.isWindows){const e="string"==typeof t[0]&&/^[a-z]:$/i.test(t[0]),i=!e&&""===t[0]&&""===t[1]&&"?"===t[2]&&/^[a-z]:$/i.test(t[3]),r="string"==typeof s[0]&&/^[a-z]:$/i.test(s[0]),n=i?3:e?0:void 0,o=!r&&""===s[0]&&""===s[1]&&"?"===s[2]&&"string"==typeof s[3]&&/^[a-z]:$/i.test(s[3])?3:r?0:void 0;if("number"==typeof n&&"number"==typeof o){const[e,i]=[t[n],s[o]];e.toLowerCase()===i.toLowerCase()&&(s[o]=e,o>n?s=s.slice(o):n>o&&(t=t.slice(n)))}}const{optimizationLevel:n=1}=this.options;n>=2&&(t=this.levelTwoFileOptimize(t)),this.debug("matchOne",this,{file:t,pattern:s}),this.debug("matchOne",t.length,s.length);for(var o=0,h=0,a=t.length,l=s.length;o<a&&h<l;o++,h++){this.debug("matchOne loop");var c=s[h],p=t[o];if(this.debug(s,c,p),!1===c)return!1;if(c===e.GLOBSTAR){this.debug("GLOBSTAR",[s,c,p]);var d=o,u=h+1;if(u===l){for(this.debug("** at the end");o<a;o++)if("."===t[o]||".."===t[o]||!r.dot&&"."===t[o].charAt(0))return!1;return!0}for(;d<a;){var f=t[d];if(this.debug("\nglobstar while",t,d,s,u,f),this.matchOne(t.slice(d),s.slice(u),i))return this.debug("globstar found match!",d,a,f),!0;if("."===f||".."===f||!r.dot&&"."===f.charAt(0)){this.debug("dot detected!",t,d,s,u);break}this.debug("globstar swallow a segment, and continue"),d++}return!(!i||(this.debug("\n>>> no match, partial?",t,d,s,u),d!==a))}let n;if("string"==typeof c?(n=p===c,this.debug("string match",c,p,n)):(n=c.test(p),this.debug("pattern match",c,p,n)),!n)return!1}if(o===a&&h===l)return!0;if(o===a)return i;if(h===l)return o===a-1&&""===t[o];throw new Error("wtf?")}braceExpand(){return(0,e.braceExpand)(this.pattern,this.options)}parse(t){(0,n.assertValidPattern)(t);const s=this.options;if("**"===t)return e.GLOBSTAR;if(""===t)return"";let i,r=null;(i=t.match(b))?r=s.dot?S:v:(i=t.match(l))?r=(s.nocase?s.dot?u:d:s.dot?p:c)(i[1]):(i=t.match(k))?r=(s.nocase?s.dot?E:x:s.dot?L:T)(i):(i=t.match(f))?r=s.dot?m:g:(i=t.match(y))&&(r=w);const h=o.AST.fromGlob(t,this.options).toMMPattern();return r&&"object"==typeof h&&Reflect.defineProperty(h,"test",{value:r}),h}makeRe(){if(this.regexp||!1===this.regexp)return this.regexp;const t=this.set;if(!t.length)return this.regexp=!1,this.regexp;const s=this.options,i=s.noglobstar?"[^/]*?":s.dot?"(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?":"(?:(?!(?:\\/|^)\\.).)*?",r=new Set(s.nocase?["i"]:[]);let n=t.map((t=>{const s=t.map((t=>{if(t instanceof RegExp)for(const e of t.flags.split(""))r.add(e);return"string"==typeof t?t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"):t===e.GLOBSTAR?e.GLOBSTAR:t._src}));return s.forEach(((t,r)=>{const n=s[r+1],o=s[r-1];t===e.GLOBSTAR&&o!==e.GLOBSTAR&&(void 0===o?void 0!==n&&n!==e.GLOBSTAR?s[r+1]="(?:\\/|"+i+"\\/)?"+n:s[r]=i:void 0===n?s[r-1]=o+"(?:\\/|"+i+")?":n!==e.GLOBSTAR&&(s[r-1]=o+"(?:\\/|\\/"+i+"\\/)"+n,s[r+1]=e.GLOBSTAR))})),s.filter((t=>t!==e.GLOBSTAR)).join("/")})).join("|");const[o,h]=t.length>1?["(?:",")"]:["",""];n="^"+o+n+h+"$",this.negate&&(n="^(?!"+n+").+$");try{this.regexp=new RegExp(n,[...r].join(""))}catch(t){this.regexp=!1}return this.regexp}slashSplit(t){return this.preserveMultipleSlashes?t.split("/"):this.isWindows&&/^\/\/[^\/]+/.test(t)?["",...t.split(/\/+/)]:t.split(/\/+/)}match(t,e=this.partial){if(this.debug("match",t,this.pattern),this.comment)return!1;if(this.empty)return""===t;if("/"===t&&e)return!0;const s=this.options;this.isWindows&&(t=t.split("\\").join("/"));const i=this.slashSplit(t);this.debug(this.pattern,"split",i);const r=this.set;this.debug(this.pattern,"set",r);let n=i[i.length-1];if(!n)for(let t=i.length-2;!n&&t>=0;t--)n=i[t];for(let t=0;t<r.length;t++){const o=r[t];let h=i;s.matchBase&&1===o.length&&(h=[n]);if(this.matchOne(h,o,e))return!!s.flipNegate||!this.negate}return!s.flipNegate&&this.negate}static defaults(t){return e.minimatch.defaults(t).Minimatch}}e.Minimatch=_;var z=s(674);Object.defineProperty(e,"AST",{enumerable:!0,get:function(){return z.AST}});var D=s(363);Object.defineProperty(e,"escape",{enumerable:!0,get:function(){return D.escape}});var j=s(116);Object.defineProperty(e,"unescape",{enumerable:!0,get:function(){return j.unescape}}),e.minimatch.AST=o.AST,e.minimatch.Minimatch=_,e.minimatch.escape=h.escape,e.minimatch.unescape=a.unescape},116:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.unescape=void 0;e.unescape=(t,{windowsPathsNoEscape:e=!1}={})=>e?t.replace(/\[([^\/\\])\]/g,"$1"):t.replace(/((?!\\).|^)\[([^\/\\])\]/g,"$1$2").replace(/\\([^\/])/g,"$1")},420:function(t,e,s){"use strict";var i=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.Minipass=e.isWritable=e.isReadable=e.isStream=void 0;const r="object"==typeof process&&process?process:{stdout:null,stderr:null},n=s(434),o=i(s(203)),h=s(193);e.isStream=t=>!!t&&"object"==typeof t&&(t instanceof U||t instanceof o.default||(0,e.isReadable)(t)||(0,e.isWritable)(t));e.isReadable=t=>!!t&&"object"==typeof t&&t instanceof n.EventEmitter&&"function"==typeof t.pipe&&t.pipe!==o.default.Writable.prototype.pipe;e.isWritable=t=>!!t&&"object"==typeof t&&t instanceof n.EventEmitter&&"function"==typeof t.write&&"function"==typeof t.end;const a=Symbol("EOF"),l=Symbol("maybeEmitEnd"),c=Symbol("emittedEnd"),p=Symbol("emittingEnd"),d=Symbol("emittedError"),u=Symbol("closed"),f=Symbol("read"),g=Symbol("flush"),m=Symbol("flushChunk"),y=Symbol("encoding"),w=Symbol("decoder"),b=Symbol("flowing"),v=Symbol("paused"),S=Symbol("resume"),k=Symbol("buffer"),x=Symbol("pipes"),E=Symbol("bufferLength"),L=Symbol("bufferPush"),T=Symbol("bufferShift"),A=Symbol("objectMode"),O=Symbol("destroyed"),C=Symbol("error"),M=Symbol("emitData"),P=Symbol("emitEnd"),R=Symbol("emitEnd2"),F=Symbol("async"),_=Symbol("abort"),z=Symbol("aborted"),D=Symbol("signal"),j=Symbol("dataListeners"),B=Symbol("discarded"),N=t=>Promise.resolve().then(t),W=t=>t();class G{src;dest;opts;ondrain;constructor(t,e,s){this.src=t,this.dest=e,this.opts=s,this.ondrain=()=>t[S](),this.dest.on("drain",this.ondrain)}unpipe(){this.dest.removeListener("drain",this.ondrain)}proxyErrors(t){}end(){this.unpipe(),this.opts.end&&this.dest.end()}}class I extends G{unpipe(){this.src.removeListener("error",this.proxyErrors),super.unpipe()}constructor(t,e,s){super(t,e,s),this.proxyErrors=t=>e.emit("error",t),t.on("error",this.proxyErrors)}}class U extends n.EventEmitter{[b]=!1;[v]=!1;[x]=[];[k]=[];[A];[y];[F];[w];[a]=!1;[c]=!1;[p]=!1;[u]=!1;[d]=null;[E]=0;[O]=!1;[D];[z]=!1;[j]=0;[B]=!1;writable=!0;readable=!0;constructor(...t){const e=t[0]||{};if(super(),e.objectMode&&"string"==typeof e.encoding)throw new TypeError("Encoding and objectMode may not be used together");e.objectMode?(this[A]=!0,this[y]=null):(t=>!t.objectMode&&!!t.encoding&&"buffer"!==t.encoding)(e)?(this[y]=e.encoding,this[A]=!1):(this[A]=!1,this[y]=null),this[F]=!!e.async,this[w]=this[y]?new h.StringDecoder(this[y]):null,e&&!0===e.debugExposeBuffer&&Object.defineProperty(this,"buffer",{get:()=>this[k]}),e&&!0===e.debugExposePipes&&Object.defineProperty(this,"pipes",{get:()=>this[x]});const{signal:s}=e;s&&(this[D]=s,s.aborted?this[_]():s.addEventListener("abort",(()=>this[_]())))}get bufferLength(){return this[E]}get encoding(){return this[y]}set encoding(t){throw new Error("Encoding must be set at instantiation time")}setEncoding(t){throw new Error("Encoding must be set at instantiation time")}get objectMode(){return this[A]}set objectMode(t){throw new Error("objectMode must be set at instantiation time")}get async(){return this[F]}set async(t){this[F]=this[F]||!!t}[_](){this[z]=!0,this.emit("abort",this[D]?.reason),this.destroy(this[D]?.reason)}get aborted(){return this[z]}set aborted(t){}write(t,e,s){if(this[z])return!1;if(this[a])throw new Error("write after end");if(this[O])return this.emit("error",Object.assign(new Error("Cannot call write after a stream was destroyed"),{code:"ERR_STREAM_DESTROYED"})),!0;"function"==typeof e&&(s=e,e="utf8"),e||(e="utf8");const i=this[F]?N:W;if(!this[A]&&!Buffer.isBuffer(t))if(r=t,!Buffer.isBuffer(r)&&ArrayBuffer.isView(r))t=Buffer.from(t.buffer,t.byteOffset,t.byteLength);else if((t=>t instanceof ArrayBuffer||!!t&&"object"==typeof t&&t.constructor&&"ArrayBuffer"===t.constructor.name&&t.byteLength>=0)(t))t=Buffer.from(t);else if("string"!=typeof t)throw new Error("Non-contiguous data written to non-objectMode stream");var r;return this[A]?(this[b]&&0!==this[E]&&this[g](!0),this[b]?this.emit("data",t):this[L](t),0!==this[E]&&this.emit("readable"),s&&i(s),this[b]):t.length?("string"!=typeof t||e===this[y]&&!this[w]?.lastNeed||(t=Buffer.from(t,e)),Buffer.isBuffer(t)&&this[y]&&(t=this[w].write(t)),this[b]&&0!==this[E]&&this[g](!0),this[b]?this.emit("data",t):this[L](t),0!==this[E]&&this.emit("readable"),s&&i(s),this[b]):(0!==this[E]&&this.emit("readable"),s&&i(s),this[b])}read(t){if(this[O])return null;if(this[B]=!1,0===this[E]||0===t||t&&t>this[E])return this[l](),null;this[A]&&(t=null),this[k].length>1&&!this[A]&&(this[k]=[this[y]?this[k].join(""):Buffer.concat(this[k],this[E])]);const e=this[f](t||null,this[k][0]);return this[l](),e}[f](t,e){if(this[A])this[T]();else{const s=e;t===s.length||null===t?this[T]():"string"==typeof s?(this[k][0]=s.slice(t),e=s.slice(0,t),this[E]-=t):(this[k][0]=s.subarray(t),e=s.subarray(0,t),this[E]-=t)}return this.emit("data",e),this[k].length||this[a]||this.emit("drain"),e}end(t,e,s){return"function"==typeof t&&(s=t,t=void 0),"function"==typeof e&&(s=e,e="utf8"),void 0!==t&&this.write(t,e),s&&this.once("end",s),this[a]=!0,this.writable=!1,!this[b]&&this[v]||this[l](),this}[S](){this[O]||(this[j]||this[x].length||(this[B]=!0),this[v]=!1,this[b]=!0,this.emit("resume"),this[k].length?this[g]():this[a]?this[l]():this.emit("drain"))}resume(){return this[S]()}pause(){this[b]=!1,this[v]=!0,this[B]=!1}get destroyed(){return this[O]}get flowing(){return this[b]}get paused(){return this[v]}[L](t){this[A]?this[E]+=1:this[E]+=t.length,this[k].push(t)}[T](){return this[A]?this[E]-=1:this[E]-=this[k][0].length,this[k].shift()}[g](t=!1){do{}while(this[m](this[T]())&&this[k].length);t||this[k].length||this[a]||this.emit("drain")}[m](t){return this.emit("data",t),this[b]}pipe(t,e){if(this[O])return t;this[B]=!1;const s=this[c];return e=e||{},t===r.stdout||t===r.stderr?e.end=!1:e.end=!1!==e.end,e.proxyErrors=!!e.proxyErrors,s?e.end&&t.end():(this[x].push(e.proxyErrors?new I(this,t,e):new G(this,t,e)),this[F]?N((()=>this[S]())):this[S]()),t}unpipe(t){const e=this[x].find((e=>e.dest===t));e&&(1===this[x].length?(this[b]&&0===this[j]&&(this[b]=!1),this[x]=[]):this[x].splice(this[x].indexOf(e),1),e.unpipe())}addListener(t,e){return this.on(t,e)}on(t,e){const s=super.on(t,e);if("data"===t)this[B]=!1,this[j]++,this[x].length||this[b]||this[S]();else if("readable"===t&&0!==this[E])super.emit("readable");else if((t=>"end"===t||"finish"===t||"prefinish"===t)(t)&&this[c])super.emit(t),this.removeAllListeners(t);else if("error"===t&&this[d]){const t=e;this[F]?N((()=>t.call(this,this[d]))):t.call(this,this[d])}return s}removeListener(t,e){return this.off(t,e)}off(t,e){const s=super.off(t,e);return"data"===t&&(this[j]=this.listeners("data").length,0!==this[j]||this[B]||this[x].length||(this[b]=!1)),s}removeAllListeners(t){const e=super.removeAllListeners(t);return"data"!==t&&void 0!==t||(this[j]=0,this[B]||this[x].length||(this[b]=!1)),e}get emittedEnd(){return this[c]}[l](){this[p]||this[c]||this[O]||0!==this[k].length||!this[a]||(this[p]=!0,this.emit("end"),this.emit("prefinish"),this.emit("finish"),this[u]&&this.emit("close"),this[p]=!1)}emit(t,...e){const s=e[0];if("error"!==t&&"close"!==t&&t!==O&&this[O])return!1;if("data"===t)return!(!this[A]&&!s)&&(this[F]?(N((()=>this[M](s))),!0):this[M](s));if("end"===t)return this[P]();if("close"===t){if(this[u]=!0,!this[c]&&!this[O])return!1;const t=super.emit("close");return this.removeAllListeners("close"),t}if("error"===t){this[d]=s,super.emit(C,s);const t=!(this[D]&&!this.listeners("error").length)&&super.emit("error",s);return this[l](),t}if("resume"===t){const t=super.emit("resume");return this[l](),t}if("finish"===t||"prefinish"===t){const e=super.emit(t);return this.removeAllListeners(t),e}const i=super.emit(t,...e);return this[l](),i}[M](t){for(const e of this[x])!1===e.dest.write(t)&&this.pause();const e=!this[B]&&super.emit("data",t);return this[l](),e}[P](){return!this[c]&&(this[c]=!0,this.readable=!1,this[F]?(N((()=>this[R]())),!0):this[R]())}[R](){if(this[w]){const t=this[w].end();if(t){for(const e of this[x])e.dest.write(t);this[B]||super.emit("data",t)}}for(const t of this[x])t.end();const t=super.emit("end");return this.removeAllListeners("end"),t}async collect(){const t=Object.assign([],{dataLength:0});this[A]||(t.dataLength=0);const e=this.promise();return this.on("data",(e=>{t.push(e),this[A]||(t.dataLength+=e.length)})),await e,t}async concat(){if(this[A])throw new Error("cannot concat in objectMode");const t=await this.collect();return this[y]?t.join(""):Buffer.concat(t,t.dataLength)}async promise(){return new Promise(((t,e)=>{this.on(O,(()=>e(new Error("stream destroyed")))),this.on("error",(t=>e(t))),this.on("end",(()=>t()))}))}[Symbol.asyncIterator](){this[B]=!1;let t=!1;const e=async()=>(this.pause(),t=!0,{value:void 0,done:!0});return{next:()=>{if(t)return e();const s=this.read();if(null!==s)return Promise.resolve({done:!1,value:s});if(this[a])return e();let i,r;const n=t=>{this.off("data",o),this.off("end",h),this.off(O,l),e(),r(t)},o=t=>{this.off("error",n),this.off("end",h),this.off(O,l),this.pause(),i({value:t,done:!!this[a]})},h=()=>{this.off("error",n),this.off("data",o),this.off(O,l),e(),i({done:!0,value:void 0})},l=()=>n(new Error("stream destroyed"));return new Promise(((t,e)=>{r=e,i=t,this.once(O,l),this.once("error",n),this.once("end",h),this.once("data",o)}))},throw:e,return:e,[Symbol.asyncIterator](){return this}}}[Symbol.iterator](){this[B]=!1;let t=!1;const e=()=>(this.pause(),this.off(C,e),this.off(O,e),this.off("end",e),t=!0,{done:!0,value:void 0});return this.once("end",e),this.once(C,e),this.once(O,e),{next:()=>{if(t)return e();const s=this.read();return null===s?e():{done:!1,value:s}},throw:e,return:e,[Symbol.iterator](){return this}}}destroy(t){if(this[O])return t?this.emit("error",t):this.emit(O),this;this[O]=!0,this[B]=!0,this[k].length=0,this[E]=0;return"function"!=typeof this.close||this[u]||this.close(),t?this.emit("error",t):this.emit(O),this}static get isStream(){return e.isStream}}e.Minipass=U},576:function(t,e,s){"use strict";var i=this&&this.__createBinding||(Object.create?function(t,e,s,i){void 0===i&&(i=s);var r=Object.getOwnPropertyDescriptor(e,s);r&&!("get"in r?!e.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return e[s]}}),Object.defineProperty(t,i,r)}:function(t,e,s,i){void 0===i&&(i=s),t[i]=e[s]}),r=this&&this.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),n=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var s in t)"default"!==s&&Object.prototype.hasOwnProperty.call(t,s)&&i(e,t,s);return r(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.PathScurry=e.Path=e.PathScurryDarwin=e.PathScurryPosix=e.PathScurryWin32=e.PathScurryBase=e.PathPosix=e.PathWin32=e.PathBase=e.ChildrenCache=e.ResolveCache=void 0;const o=s(96),h=s(760),a=s(136),l=s(896),c=n(s(24)),p=l.realpathSync.native,d=s(455),u=s(420),f={lstatSync:l.lstatSync,readdir:l.readdir,readdirSync:l.readdirSync,readlinkSync:l.readlinkSync,realpathSync:p,promises:{lstat:d.lstat,readdir:d.readdir,readlink:d.readlink,realpath:d.realpath}},g=t=>t&&t!==f&&t!==c?{...f,...t,promises:{...f.promises,...t.promises||{}}}:f,m=/^\\\\\?\\([a-z]:)\\?$/i,y=/[\\\/]/,w=10,b=15,v=-16,S=128,k=256,x=512,E=t=>t.isFile()?8:t.isDirectory()?4:t.isSymbolicLink()?w:t.isCharacterDevice()?2:t.isBlockDevice()?6:t.isSocket()?12:t.isFIFO()?1:0,L=new Map,T=t=>{const e=L.get(t);if(e)return e;const s=t.normalize("NFKD");return L.set(t,s),s},A=new Map,O=t=>{const e=A.get(t);if(e)return e;const s=T(t.toLowerCase());return A.set(t,s),s};class C extends o.LRUCache{constructor(){super({max:256})}}e.ResolveCache=C;class M extends o.LRUCache{constructor(t=16384){super({maxSize:t,sizeCalculation:t=>t.length+1})}}e.ChildrenCache=M;const P=Symbol("PathScurry setAsCwd");class R{name;root;roots;parent;nocase;isCWD=!1;#mt;#yt;get dev(){return this.#yt}#wt;get mode(){return this.#wt}#bt;get nlink(){return this.#bt}#vt;get uid(){return this.#vt}#St;get gid(){return this.#St}#kt;get rdev(){return this.#kt}#xt;get blksize(){return this.#xt}#Et;get ino(){return this.#Et}#S;get size(){return this.#S}#Lt;get blocks(){return this.#Lt}#Tt;get atimeMs(){return this.#Tt}#At;get mtimeMs(){return this.#At}#Ot;get ctimeMs(){return this.#Ot}#Ct;get birthtimeMs(){return this.#Ct}#Mt;get atime(){return this.#Mt}#Pt;get mtime(){return this.#Pt}#Rt;get ctime(){return this.#Rt}#Ft;get birthtime(){return this.#Ft}#_t;#zt;#Dt;#jt;#Bt;#Nt;#Wt;#Gt;#It;#Ut;get parentPath(){return(this.parent||this).fullpath()}get path(){return this.parentPath}constructor(t,e=0,s,i,r,n,o){this.name=t,this.#_t=r?O(t):T(t),this.#Wt=1023&e,this.nocase=r,this.roots=i,this.root=s||this,this.#Gt=n,this.#Dt=o.fullpath,this.#Bt=o.relative,this.#Nt=o.relativePosix,this.parent=o.parent,this.parent?this.#mt=this.parent.#mt:this.#mt=g(o.fs)}depth(){return void 0!==this.#zt?this.#zt:this.parent?this.#zt=this.parent.depth()+1:this.#zt=0}childrenCache(){return this.#Gt}resolve(t){if(!t)return this;const e=this.getRootString(t),s=t.substring(e.length).split(this.splitSep);return e?this.getRoot(e).#$t(s):this.#$t(s)}#$t(t){let e=this;for(const s of t)e=e.child(s);return e}children(){const t=this.#Gt.get(this);if(t)return t;const e=Object.assign([],{provisional:0});return this.#Gt.set(this,e),this.#Wt&=-17,e}child(t,e){if(""===t||"."===t)return this;if(".."===t)return this.parent||this;const s=this.children(),i=this.nocase?O(t):T(t);for(const t of s)if(t.#_t===i)return t;const r=this.parent?this.sep:"",n=this.#Dt?this.#Dt+r+t:void 0,o=this.newChild(t,0,{...e,parent:this,fullpath:n});return this.canReaddir()||(o.#Wt|=S),s.push(o),o}relative(){if(this.isCWD)return"";if(void 0!==this.#Bt)return this.#Bt;const t=this.name,e=this.parent;if(!e)return this.#Bt=this.name;const s=e.relative();return s+(s&&e.parent?this.sep:"")+t}relativePosix(){if("/"===this.sep)return this.relative();if(this.isCWD)return"";if(void 0!==this.#Nt)return this.#Nt;const t=this.name,e=this.parent;if(!e)return this.#Nt=this.fullpathPosix();const s=e.relativePosix();return s+(s&&e.parent?"/":"")+t}fullpath(){if(void 0!==this.#Dt)return this.#Dt;const t=this.name,e=this.parent;if(!e)return this.#Dt=this.name;const s=e.fullpath()+(e.parent?this.sep:"")+t;return this.#Dt=s}fullpathPosix(){if(void 0!==this.#jt)return this.#jt;if("/"===this.sep)return this.#jt=this.fullpath();if(!this.parent){const t=this.fullpath().replace(/\\/g,"/");return/^[a-z]:\//i.test(t)?this.#jt=`//?/${t}`:this.#jt=t}const t=this.parent,e=t.fullpathPosix(),s=e+(e&&t.parent?"/":"")+this.name;return this.#jt=s}isUnknown(){return!(this.#Wt&b)}isType(t){return this[`is${t}`]()}getType(){return this.isUnknown()?"Unknown":this.isDirectory()?"Directory":this.isFile()?"File":this.isSymbolicLink()?"SymbolicLink":this.isFIFO()?"FIFO":this.isCharacterDevice()?"CharacterDevice":this.isBlockDevice()?"BlockDevice":this.isSocket()?"Socket":"Unknown"}isFile(){return 8==(this.#Wt&b)}isDirectory(){return 4==(this.#Wt&b)}isCharacterDevice(){return 2==(this.#Wt&b)}isBlockDevice(){return 6==(this.#Wt&b)}isFIFO(){return 1==(this.#Wt&b)}isSocket(){return 12==(this.#Wt&b)}isSymbolicLink(){return(this.#Wt&w)===w}lstatCached(){return 32&this.#Wt?this:void 0}readlinkCached(){return this.#It}realpathCached(){return this.#Ut}readdirCached(){const t=this.children();return t.slice(0,t.provisional)}canReadlink(){if(this.#It)return!0;if(!this.parent)return!1;const t=this.#Wt&b;return!(0!==t&&t!==w||this.#Wt&k||this.#Wt&S)}calledReaddir(){return!!(16&this.#Wt)}isENOENT(){return!!(this.#Wt&S)}isNamed(t){return this.nocase?this.#_t===O(t):this.#_t===T(t)}async readlink(){const t=this.#It;if(t)return t;if(this.canReadlink()&&this.parent)try{const t=await this.#mt.promises.readlink(this.fullpath()),e=(await this.parent.realpath())?.resolve(t);if(e)return this.#It=e}catch(t){return void this.#qt(t.code)}}readlinkSync(){const t=this.#It;if(t)return t;if(this.canReadlink()&&this.parent)try{const t=this.#mt.readlinkSync(this.fullpath()),e=this.parent.realpathSync()?.resolve(t);if(e)return this.#It=e}catch(t){return void this.#qt(t.code)}}#Ht(t){this.#Wt|=16;for(let e=t.provisional;e<t.length;e++){const s=t[e];s&&s.#Vt()}}#Vt(){this.#Wt&S||(this.#Wt=(this.#Wt|S)&v,this.#Zt())}#Zt(){const t=this.children();t.provisional=0;for(const e of t)e.#Vt()}#Jt(){this.#Wt|=x,this.#Kt()}#Kt(){if(64&this.#Wt)return;let t=this.#Wt;4==(t&b)&&(t&=v),this.#Wt=64|t,this.#Zt()}#Yt(t=""){"ENOTDIR"===t||"EPERM"===t?this.#Kt():"ENOENT"===t?this.#Vt():this.children().provisional=0}#Xt(t=""){if("ENOTDIR"===t){this.parent.#Kt()}else"ENOENT"===t&&this.#Vt()}#qt(t=""){let e=this.#Wt;e|=k,"ENOENT"===t&&(e|=S),"EINVAL"!==t&&"UNKNOWN"!==t||(e&=v),this.#Wt=e,"ENOTDIR"===t&&this.parent&&this.parent.#Kt()}#Qt(t,e){return this.#te(t,e)||this.#ee(t,e)}#ee(t,e){const s=E(t),i=this.newChild(t.name,s,{parent:this}),r=i.#Wt&b;return 4!==r&&r!==w&&0!==r&&(i.#Wt|=64),e.unshift(i),e.provisional++,i}#te(t,e){for(let s=e.provisional;s<e.length;s++){const i=e[s];if((this.nocase?O(t.name):T(t.name))===i.#_t)return this.#se(t,i,s,e)}}#se(t,e,s,i){const r=e.name;return e.#Wt=e.#Wt&v|E(t),r!==t.name&&(e.name=t.name),s!==i.provisional&&(s===i.length-1?i.pop():i.splice(s,1),i.unshift(e)),i.provisional++,e}async lstat(){if(!(this.#Wt&S))try{return this.#ie(await this.#mt.promises.lstat(this.fullpath())),this}catch(t){this.#Xt(t.code)}}lstatSync(){if(!(this.#Wt&S))try{return this.#ie(this.#mt.lstatSync(this.fullpath())),this}catch(t){this.#Xt(t.code)}}#ie(t){const{atime:e,atimeMs:s,birthtime:i,birthtimeMs:r,blksize:n,blocks:o,ctime:h,ctimeMs:a,dev:l,gid:c,ino:p,mode:d,mtime:u,mtimeMs:f,nlink:g,rdev:m,size:y,uid:b}=t;this.#Mt=e,this.#Tt=s,this.#Ft=i,this.#Ct=r,this.#xt=n,this.#Lt=o,this.#Rt=h,this.#Ot=a,this.#yt=l,this.#St=c,this.#Et=p,this.#wt=d,this.#Pt=u,this.#At=f,this.#bt=g,this.#kt=m,this.#S=y,this.#vt=b;const S=E(t);this.#Wt=this.#Wt&v|S|32,0!==S&&4!==S&&S!==w&&(this.#Wt|=64)}#re=[];#ne=!1;#oe(t){this.#ne=!1;const e=this.#re.slice();this.#re.length=0,e.forEach((e=>e(null,t)))}readdirCB(t,e=!1){if(!this.canReaddir())return void(e?t(null,[]):queueMicrotask((()=>t(null,[]))));const s=this.children();if(this.calledReaddir()){const i=s.slice(0,s.provisional);return void(e?t(null,i):queueMicrotask((()=>t(null,i))))}if(this.#re.push(t),this.#ne)return;this.#ne=!0;const i=this.fullpath();this.#mt.readdir(i,{withFileTypes:!0},((t,e)=>{if(t)this.#Yt(t.code),s.provisional=0;else{for(const t of e)this.#Qt(t,s);this.#Ht(s)}this.#oe(s.slice(0,s.provisional))}))}#he;async readdir(){if(!this.canReaddir())return[];const t=this.children();if(this.calledReaddir())return t.slice(0,t.provisional);const e=this.fullpath();if(this.#he)await this.#he;else{let s=()=>{};this.#he=new Promise((t=>s=t));try{for(const s of await this.#mt.promises.readdir(e,{withFileTypes:!0}))this.#Qt(s,t);this.#Ht(t)}catch(e){this.#Yt(e.code),t.provisional=0}this.#he=void 0,s()}return t.slice(0,t.provisional)}readdirSync(){if(!this.canReaddir())return[];const t=this.children();if(this.calledReaddir())return t.slice(0,t.provisional);const e=this.fullpath();try{for(const s of this.#mt.readdirSync(e,{withFileTypes:!0}))this.#Qt(s,t);this.#Ht(t)}catch(e){this.#Yt(e.code),t.provisional=0}return t.slice(0,t.provisional)}canReaddir(){if(704&this.#Wt)return!1;const t=b&this.#Wt;return 0===t||4===t||t===w}shouldWalk(t,e){return!(4&~this.#Wt)&&!(704&this.#Wt)&&!t.has(this)&&(!e||e(this))}async realpath(){if(this.#Ut)return this.#Ut;if(!(896&this.#Wt))try{const t=await this.#mt.promises.realpath(this.fullpath());return this.#Ut=this.resolve(t)}catch(t){this.#Jt()}}realpathSync(){if(this.#Ut)return this.#Ut;if(!(896&this.#Wt))try{const t=this.#mt.realpathSync(this.fullpath());return this.#Ut=this.resolve(t)}catch(t){this.#Jt()}}[P](t){if(t===this)return;t.isCWD=!1,this.isCWD=!0;const e=new Set([]);let s=[],i=this;for(;i&&i.parent;)e.add(i),i.#Bt=s.join(this.sep),i.#Nt=s.join("/"),i=i.parent,s.push("..");for(i=t;i&&i.parent&&!e.has(i);)i.#Bt=void 0,i.#Nt=void 0,i=i.parent}}e.PathBase=R;class F extends R{sep="\\";splitSep=y;constructor(t,e=0,s,i,r,n,o){super(t,e,s,i,r,n,o)}newChild(t,e=0,s={}){return new F(t,e,this.root,this.roots,this.nocase,this.childrenCache(),s)}getRootString(t){return h.win32.parse(t).root}getRoot(t){if((t=(t=>t.replace(/\//g,"\\").replace(m,"$1\\"))(t.toUpperCase()))===this.root.name)return this.root;for(const[e,s]of Object.entries(this.roots))if(this.sameRoot(t,e))return this.roots[t]=s;return this.roots[t]=new D(t,this).root}sameRoot(t,e=this.root.name){return(t=t.toUpperCase().replace(/\//g,"\\").replace(m,"$1\\"))===e}}e.PathWin32=F;class _ extends R{splitSep="/";sep="/";constructor(t,e=0,s,i,r,n,o){super(t,e,s,i,r,n,o)}getRootString(t){return t.startsWith("/")?"/":""}getRoot(t){return this.root}newChild(t,e=0,s={}){return new _(t,e,this.root,this.roots,this.nocase,this.childrenCache(),s)}}e.PathPosix=_;class z{root;rootPath;roots;cwd;#ae;#le;#Gt;nocase;#mt;constructor(t=process.cwd(),e,s,{nocase:i,childrenCacheSize:r=16384,fs:n=f}={}){this.#mt=g(n),(t instanceof URL||t.startsWith("file://"))&&(t=(0,a.fileURLToPath)(t));const o=e.resolve(t);this.roots=Object.create(null),this.rootPath=this.parseRootPath(o),this.#ae=new C,this.#le=new C,this.#Gt=new M(r);const h=o.substring(this.rootPath.length).split(s);if(1!==h.length||h[0]||h.pop(),void 0===i)throw new TypeError("must provide nocase setting to PathScurryBase ctor");this.nocase=i,this.root=this.newRoot(this.#mt),this.roots[this.rootPath]=this.root;let l=this.root,c=h.length-1;const p=e.sep;let d=this.rootPath,u=!1;for(const t of h){const e=c--;l=l.child(t,{relative:new Array(e).fill("..").join(p),relativePosix:new Array(e).fill("..").join("/"),fullpath:d+=(u?"":p)+t}),u=!0}this.cwd=l}depth(t=this.cwd){return"string"==typeof t&&(t=this.cwd.resolve(t)),t.depth()}childrenCache(){return this.#Gt}resolve(...t){let e="";for(let s=t.length-1;s>=0;s--){const i=t[s];if(i&&"."!==i&&(e=e?`${i}/${e}`:i,this.isAbsolute(i)))break}const s=this.#ae.get(e);if(void 0!==s)return s;const i=this.cwd.resolve(e).fullpath();return this.#ae.set(e,i),i}resolvePosix(...t){let e="";for(let s=t.length-1;s>=0;s--){const i=t[s];if(i&&"."!==i&&(e=e?`${i}/${e}`:i,this.isAbsolute(i)))break}const s=this.#le.get(e);if(void 0!==s)return s;const i=this.cwd.resolve(e).fullpathPosix();return this.#le.set(e,i),i}relative(t=this.cwd){return"string"==typeof t&&(t=this.cwd.resolve(t)),t.relative()}relativePosix(t=this.cwd){return"string"==typeof t&&(t=this.cwd.resolve(t)),t.relativePosix()}basename(t=this.cwd){return"string"==typeof t&&(t=this.cwd.resolve(t)),t.name}dirname(t=this.cwd){return"string"==typeof t&&(t=this.cwd.resolve(t)),(t.parent||t).fullpath()}async readdir(t=this.cwd,e={withFileTypes:!0}){"string"==typeof t?t=this.cwd.resolve(t):t instanceof R||(e=t,t=this.cwd);const{withFileTypes:s}=e;if(t.canReaddir()){const e=await t.readdir();return s?e:e.map((t=>t.name))}return[]}readdirSync(t=this.cwd,e={withFileTypes:!0}){"string"==typeof t?t=this.cwd.resolve(t):t instanceof R||(e=t,t=this.cwd);const{withFileTypes:s=!0}=e;return t.canReaddir()?s?t.readdirSync():t.readdirSync().map((t=>t.name)):[]}async lstat(t=this.cwd){return"string"==typeof t&&(t=this.cwd.resolve(t)),t.lstat()}lstatSync(t=this.cwd){return"string"==typeof t&&(t=this.cwd.resolve(t)),t.lstatSync()}async readlink(t=this.cwd,{withFileTypes:e}={withFileTypes:!1}){"string"==typeof t?t=this.cwd.resolve(t):t instanceof R||(e=t.withFileTypes,t=this.cwd);const s=await t.readlink();return e?s:s?.fullpath()}readlinkSync(t=this.cwd,{withFileTypes:e}={withFileTypes:!1}){"string"==typeof t?t=this.cwd.resolve(t):t instanceof R||(e=t.withFileTypes,t=this.cwd);const s=t.readlinkSync();return e?s:s?.fullpath()}async realpath(t=this.cwd,{withFileTypes:e}={withFileTypes:!1}){"string"==typeof t?t=this.cwd.resolve(t):t instanceof R||(e=t.withFileTypes,t=this.cwd);const s=await t.realpath();return e?s:s?.fullpath()}realpathSync(t=this.cwd,{withFileTypes:e}={withFileTypes:!1}){"string"==typeof t?t=this.cwd.resolve(t):t instanceof R||(e=t.withFileTypes,t=this.cwd);const s=t.realpathSync();return e?s:s?.fullpath()}async walk(t=this.cwd,e={}){"string"==typeof t?t=this.cwd.resolve(t):t instanceof R||(e=t,t=this.cwd);const{withFileTypes:s=!0,follow:i=!1,filter:r,walkFilter:n}=e,o=[];r&&!r(t)||o.push(s?t:t.fullpath());const h=new Set,a=(t,e)=>{h.add(t),t.readdirCB(((t,l)=>{if(t)return e(t);let c=l.length;if(!c)return e();const p=()=>{0==--c&&e()};for(const t of l)r&&!r(t)||o.push(s?t:t.fullpath()),i&&t.isSymbolicLink()?t.realpath().then((t=>t?.isUnknown()?t.lstat():t)).then((t=>t?.shouldWalk(h,n)?a(t,p):p())):t.shouldWalk(h,n)?a(t,p):p()}),!0)},l=t;return new Promise(((t,e)=>{a(l,(s=>{if(s)return e(s);t(o)}))}))}walkSync(t=this.cwd,e={}){"string"==typeof t?t=this.cwd.resolve(t):t instanceof R||(e=t,t=this.cwd);const{withFileTypes:s=!0,follow:i=!1,filter:r,walkFilter:n}=e,o=[];r&&!r(t)||o.push(s?t:t.fullpath());const h=new Set([t]);for(const t of h){const e=t.readdirSync();for(const t of e){r&&!r(t)||o.push(s?t:t.fullpath());let e=t;if(t.isSymbolicLink()){if(!i||!(e=t.realpathSync()))continue;e.isUnknown()&&e.lstatSync()}e.shouldWalk(h,n)&&h.add(e)}}return o}[Symbol.asyncIterator](){return this.iterate()}iterate(t=this.cwd,e={}){return"string"==typeof t?t=this.cwd.resolve(t):t instanceof R||(e=t,t=this.cwd),this.stream(t,e)[Symbol.asyncIterator]()}[Symbol.iterator](){return this.iterateSync()}*iterateSync(t=this.cwd,e={}){"string"==typeof t?t=this.cwd.resolve(t):t instanceof R||(e=t,t=this.cwd);const{withFileTypes:s=!0,follow:i=!1,filter:r,walkFilter:n}=e;r&&!r(t)||(yield s?t:t.fullpath());const o=new Set([t]);for(const t of o){const e=t.readdirSync();for(const t of e){r&&!r(t)||(yield s?t:t.fullpath());let e=t;if(t.isSymbolicLink()){if(!i||!(e=t.realpathSync()))continue;e.isUnknown()&&e.lstatSync()}e.shouldWalk(o,n)&&o.add(e)}}}stream(t=this.cwd,e={}){"string"==typeof t?t=this.cwd.resolve(t):t instanceof R||(e=t,t=this.cwd);const{withFileTypes:s=!0,follow:i=!1,filter:r,walkFilter:n}=e,o=new u.Minipass({objectMode:!0});r&&!r(t)||o.write(s?t:t.fullpath());const h=new Set,a=[t];let l=0;const c=()=>{let t=!1;for(;!t;){const e=a.shift();if(!e)return void(0===l&&o.end());l++,h.add(e);const p=(e,u,f=!1)=>{if(e)return o.emit("error",e);if(i&&!f){const t=[];for(const e of u)e.isSymbolicLink()&&t.push(e.realpath().then((t=>t?.isUnknown()?t.lstat():t)));if(t.length)return void Promise.all(t).then((()=>p(null,u,!0)))}for(const e of u)!e||r&&!r(e)||o.write(s?e:e.fullpath())||(t=!0);l--;for(const t of u){const e=t.realpathCached()||t;e.shouldWalk(h,n)&&a.push(e)}t&&!o.flowing?o.once("drain",c):d||c()};let d=!0;e.readdirCB(p,!0),d=!1}};return c(),o}streamSync(t=this.cwd,e={}){"string"==typeof t?t=this.cwd.resolve(t):t instanceof R||(e=t,t=this.cwd);const{withFileTypes:s=!0,follow:i=!1,filter:r,walkFilter:n}=e,o=new u.Minipass({objectMode:!0}),h=new Set;r&&!r(t)||o.write(s?t:t.fullpath());const a=[t];let l=0;const c=()=>{let t=!1;for(;!t;){const e=a.shift();if(!e)return void(0===l&&o.end());l++,h.add(e);const c=e.readdirSync();for(const e of c)r&&!r(e)||o.write(s?e:e.fullpath())||(t=!0);l--;for(const t of c){let e=t;if(t.isSymbolicLink()){if(!i||!(e=t.realpathSync()))continue;e.isUnknown()&&e.lstatSync()}e.shouldWalk(h,n)&&a.push(e)}}t&&!o.flowing&&o.once("drain",c)};return c(),o}chdir(t=this.cwd){const e=this.cwd;this.cwd="string"==typeof t?this.cwd.resolve(t):t,this.cwd[P](e)}}e.PathScurryBase=z;class D extends z{sep="\\";constructor(t=process.cwd(),e={}){const{nocase:s=!0}=e;super(t,h.win32,"\\",{...e,nocase:s}),this.nocase=s;for(let t=this.cwd;t;t=t.parent)t.nocase=this.nocase}parseRootPath(t){return h.win32.parse(t).root.toUpperCase()}newRoot(t){return new F(this.rootPath,4,void 0,this.roots,this.nocase,this.childrenCache(),{fs:t})}isAbsolute(t){return t.startsWith("/")||t.startsWith("\\")||/^[a-z]:(\/|\\)/i.test(t)}}e.PathScurryWin32=D;class j extends z{sep="/";constructor(t=process.cwd(),e={}){const{nocase:s=!1}=e;super(t,h.posix,"/",{...e,nocase:s}),this.nocase=s}parseRootPath(t){return"/"}newRoot(t){return new _(this.rootPath,4,void 0,this.roots,this.nocase,this.childrenCache(),{fs:t})}isAbsolute(t){return t.startsWith("/")}}e.PathScurryPosix=j;class B extends j{constructor(t=process.cwd(),e={}){const{nocase:s=!0}=e;super(t,{...e,nocase:s})}}e.PathScurryDarwin=B,e.Path="win32"===process.platform?F:_,e.PathScurry="win32"===process.platform?D:"darwin"===process.platform?B:j}},e={};var s=function s(i){var r=e[i];if(void 0!==r)return r.exports;var n=e[i]={exports:{}};return t[i].call(n.exports,n,n.exports,s),n.exports}(207),i=exports;for(var r in s)i[r]=s[r];s.__esModule&&Object.defineProperty(i,"__esModule",{value:!0})})();
|
|
1
|
+
(()=>{var t={505:t=>{"use strict";function e(t,e,r){t instanceof RegExp&&(t=s(t,r)),e instanceof RegExp&&(e=s(e,r));var n=i(t,e,r);return n&&{start:n[0],end:n[1],pre:r.slice(0,n[0]),body:r.slice(n[0]+t.length,n[1]),post:r.slice(n[1]+e.length)}}function s(t,e){var s=e.match(t);return s?s[0]:null}function i(t,e,s){var i,r,n,o,h,a=s.indexOf(t),l=s.indexOf(e,a+1),c=a;if(a>=0&&l>0){if(t===e)return[a,l];for(i=[],n=s.length;c>=0&&!h;)c==a?(i.push(c),a=s.indexOf(t,c+1)):1==i.length?h=[i.pop(),l]:((r=i.pop())<n&&(n=r,o=l),l=s.indexOf(e,c+1)),c=a<l&&a>=0?a:l;i.length&&(h=[n,o])}return h}t.exports=e,e.range=i},928:(t,e,s)=>{var i=s(505);t.exports=function(t){if(!t)return[];"{}"===t.substr(0,2)&&(t="\\{\\}"+t.substr(2));return m(function(t){return t.split("\\\\").join(r).split("\\{").join(n).split("\\}").join(o).split("\\,").join(h).split("\\.").join(a)}(t),!0).map(c)};var r="\0SLASH"+Math.random()+"\0",n="\0OPEN"+Math.random()+"\0",o="\0CLOSE"+Math.random()+"\0",h="\0COMMA"+Math.random()+"\0",a="\0PERIOD"+Math.random()+"\0";function l(t){return parseInt(t,10)==t?parseInt(t,10):t.charCodeAt(0)}function c(t){return t.split(r).join("\\").split(n).join("{").split(o).join("}").split(h).join(",").split(a).join(".")}function p(t){if(!t)return[""];var e=[],s=i("{","}",t);if(!s)return t.split(",");var r=s.pre,n=s.body,o=s.post,h=r.split(",");h[h.length-1]+="{"+n+"}";var a=p(o);return o.length&&(h[h.length-1]+=a.shift(),h.push.apply(h,a)),e.push.apply(e,h),e}function d(t){return"{"+t+"}"}function u(t){return/^-?0\d/.test(t)}function f(t,e){return t<=e}function g(t,e){return t>=e}function m(t,e){var s=[],r=i("{","}",t);if(!r)return[t];var n=r.pre,h=r.post.length?m(r.post,!1):[""];if(/\$$/.test(r.pre))for(var a=0;a<h.length;a++){var c=n+"{"+r.body+"}"+h[a];s.push(c)}else{var y,w,b=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(r.body),v=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(r.body),S=b||v,k=r.body.indexOf(",")>=0;if(!S&&!k)return r.post.match(/,.*\}/)?m(t=r.pre+"{"+r.body+o+r.post):[t];if(S)y=r.body.split(/\.\./);else if(1===(y=p(r.body)).length&&1===(y=m(y[0],!1).map(d)).length)return h.map((function(t){return r.pre+y[0]+t}));if(S){var x=l(y[0]),E=l(y[1]),L=Math.max(y[0].length,y[1].length),T=3==y.length?Math.abs(l(y[2])):1,A=f;E<x&&(T*=-1,A=g);var O=y.some(u);w=[];for(var C=x;A(C,E);C+=T){var M;if(v)"\\"===(M=String.fromCharCode(C))&&(M="");else if(M=String(C),O){var P=L-M.length;if(P>0){var R=new Array(P+1).join("0");M=C<0?"-"+R+M.slice(1):R+M}}w.push(M)}}else{w=[];for(var F=0;F<y.length;F++)w.push.apply(w,m(y[F],!1))}for(F=0;F<w.length;F++)for(a=0;a<h.length;a++){c=n+w[F]+h[a];(!e||S||c)&&s.push(c)}}return s}},207:(t,e,s)=>{t.exports=s(756)},434:t=>{"use strict";t.exports=require("events")},896:t=>{"use strict";t.exports=require("fs")},24:t=>{"use strict";t.exports=require("node:fs")},455:t=>{"use strict";t.exports=require("node:fs/promises")},760:t=>{"use strict";t.exports=require("node:path")},136:t=>{"use strict";t.exports=require("node:url")},203:t=>{"use strict";t.exports=require("stream")},193:t=>{"use strict";t.exports=require("string_decoder")},876:(t,e,s)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Glob=void 0;const i=s(722),r=s(576),n=s(136),o=s(478),h=s(984),a="object"==typeof process&&process&&"string"==typeof process.platform?process.platform:"linux";class l{absolute;cwd;root;dot;dotRelative;follow;ignore;magicalBraces;mark;matchBase;maxDepth;nobrace;nocase;nodir;noext;noglobstar;pattern;platform;realpath;scurry;stat;signal;windowsPathsNoEscape;withFileTypes;opts;patterns;constructor(t,e){if(!e)throw new TypeError("glob options required");if(this.withFileTypes=!!e.withFileTypes,this.signal=e.signal,this.follow=!!e.follow,this.dot=!!e.dot,this.dotRelative=!!e.dotRelative,this.nodir=!!e.nodir,this.mark=!!e.mark,e.cwd?(e.cwd instanceof URL||e.cwd.startsWith("file://"))&&(e.cwd=(0,n.fileURLToPath)(e.cwd)):this.cwd="",this.cwd=e.cwd||"",this.root=e.root,this.magicalBraces=!!e.magicalBraces,this.nobrace=!!e.nobrace,this.noext=!!e.noext,this.realpath=!!e.realpath,this.absolute=e.absolute,this.noglobstar=!!e.noglobstar,this.matchBase=!!e.matchBase,this.maxDepth="number"==typeof e.maxDepth?e.maxDepth:1/0,this.stat=!!e.stat,this.ignore=e.ignore,this.withFileTypes&&void 0!==this.absolute)throw new Error("cannot set absolute and withFileTypes:true");if("string"==typeof t&&(t=[t]),this.windowsPathsNoEscape=!!e.windowsPathsNoEscape||!1===e.allowWindowsEscape,this.windowsPathsNoEscape&&(t=t.map((t=>t.replace(/\\/g,"/")))),this.matchBase){if(e.noglobstar)throw new TypeError("base matching requires globstar");t=t.map((t=>t.includes("/")?t:`./**/${t}`))}if(this.pattern=t,this.platform=e.platform||a,this.opts={...e,platform:this.platform},e.scurry){if(this.scurry=e.scurry,void 0!==e.nocase&&e.nocase!==e.scurry.nocase)throw new Error("nocase option contradicts provided scurry option")}else{const t="win32"===e.platform?r.PathScurryWin32:"darwin"===e.platform?r.PathScurryDarwin:e.platform?r.PathScurryPosix:r.PathScurry;this.scurry=new t(this.cwd,{nocase:e.nocase,fs:e.fs})}this.nocase=this.scurry.nocase;const s="darwin"===this.platform||"win32"===this.platform,h={...e,dot:this.dot,matchBase:this.matchBase,nobrace:this.nobrace,nocase:this.nocase,nocaseMagicOnly:s,nocomment:!0,noext:this.noext,nonegate:!0,optimizationLevel:2,platform:this.platform,windowsPathsNoEscape:this.windowsPathsNoEscape,debug:!!this.opts.debug},l=this.pattern.map((t=>new i.Minimatch(t,h))),[c,p]=l.reduce(((t,e)=>(t[0].push(...e.set),t[1].push(...e.globParts),t)),[[],[]]);this.patterns=c.map(((t,e)=>{const s=p[e];if(!s)throw new Error("invalid pattern object");return new o.Pattern(t,s,0,this.platform)}))}async walk(){return[...await new h.GlobWalker(this.patterns,this.scurry.cwd,{...this.opts,maxDepth:this.maxDepth!==1/0?this.maxDepth+this.scurry.cwd.depth():1/0,platform:this.platform,nocase:this.nocase}).walk()]}walkSync(){return[...new h.GlobWalker(this.patterns,this.scurry.cwd,{...this.opts,maxDepth:this.maxDepth!==1/0?this.maxDepth+this.scurry.cwd.depth():1/0,platform:this.platform,nocase:this.nocase}).walkSync()]}stream(){return new h.GlobStream(this.patterns,this.scurry.cwd,{...this.opts,maxDepth:this.maxDepth!==1/0?this.maxDepth+this.scurry.cwd.depth():1/0,platform:this.platform,nocase:this.nocase}).stream()}streamSync(){return new h.GlobStream(this.patterns,this.scurry.cwd,{...this.opts,maxDepth:this.maxDepth!==1/0?this.maxDepth+this.scurry.cwd.depth():1/0,platform:this.platform,nocase:this.nocase}).streamSync()}iterateSync(){return this.streamSync()[Symbol.iterator]()}[Symbol.iterator](){return this.iterateSync()}iterate(){return this.stream()[Symbol.asyncIterator]()}[Symbol.asyncIterator](){return this.iterate()}}e.Glob=l},46:(t,e,s)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.hasMagic=void 0;const i=s(722);e.hasMagic=(t,e={})=>{Array.isArray(t)||(t=[t]);for(const s of t)if(new i.Minimatch(s,e).hasMagic())return!0;return!1}},972:(t,e,s)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Ignore=void 0;const i=s(722),r=s(478),n="object"==typeof process&&process&&"string"==typeof process.platform?process.platform:"linux";e.Ignore=class{relative;relativeChildren;absolute;absoluteChildren;constructor(t,{nobrace:e,nocase:s,noext:o,noglobstar:h,platform:a=n}){this.relative=[],this.absolute=[],this.relativeChildren=[],this.absoluteChildren=[];const l={dot:!0,nobrace:e,nocase:s,noext:o,noglobstar:h,optimizationLevel:2,platform:a,nocomment:!0,nonegate:!0};for(const e of t){const t=new i.Minimatch(e,l);for(let e=0;e<t.set.length;e++){const s=t.set[e],n=t.globParts[e];if(!s||!n)throw new Error("invalid pattern object");for(;"."===s[0]&&"."===n[0];)s.shift(),n.shift();const o=new r.Pattern(s,n,0,a),h=new i.Minimatch(o.globString(),l),c="**"===n[n.length-1],p=o.isAbsolute();p?this.absolute.push(h):this.relative.push(h),c&&(p?this.absoluteChildren.push(h):this.relativeChildren.push(h))}}}ignored(t){const e=t.fullpath(),s=`${e}/`,i=t.relative()||".",r=`${i}/`;for(const t of this.relative)if(t.match(i)||t.match(r))return!0;for(const t of this.absolute)if(t.match(e)||t.match(s))return!0;return!1}childrenIgnored(t){const e=t.fullpath()+"/",s=(t.relative()||".")+"/";for(const t of this.relativeChildren)if(t.match(s))return!0;for(const t of this.absoluteChildren)if(t.match(e))return!0;return!1}}},756:(t,e,s)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.glob=e.hasMagic=e.Glob=e.unescape=e.escape=e.sync=e.iterate=e.iterateSync=e.stream=e.streamSync=e.globIterate=e.globIterateSync=e.globSync=e.globStream=e.globStreamSync=void 0;const i=s(722),r=s(876),n=s(46);function o(t,e={}){return new r.Glob(t,e).streamSync()}function h(t,e={}){return new r.Glob(t,e).stream()}function a(t,e={}){return new r.Glob(t,e).walkSync()}async function l(t,e={}){return new r.Glob(t,e).walk()}function c(t,e={}){return new r.Glob(t,e).iterateSync()}function p(t,e={}){return new r.Glob(t,e).iterate()}e.globStreamSync=o,e.globStream=h,e.globSync=a,e.globIterateSync=c,e.globIterate=p,e.streamSync=o,e.stream=Object.assign(h,{sync:o}),e.iterateSync=c,e.iterate=Object.assign(p,{sync:c}),e.sync=Object.assign(a,{stream:o,iterate:c});var d=s(722);Object.defineProperty(e,"escape",{enumerable:!0,get:function(){return d.escape}}),Object.defineProperty(e,"unescape",{enumerable:!0,get:function(){return d.unescape}});var u=s(876);Object.defineProperty(e,"Glob",{enumerable:!0,get:function(){return u.Glob}});var f=s(46);Object.defineProperty(e,"hasMagic",{enumerable:!0,get:function(){return f.hasMagic}}),e.glob=Object.assign(l,{glob:l,globSync:a,sync:e.sync,globStream:h,stream:e.stream,globStreamSync:o,streamSync:e.streamSync,globIterate:p,iterate:e.iterate,globIterateSync:c,iterateSync:e.iterateSync,Glob:r.Glob,hasMagic:n.hasMagic,escape:i.escape,unescape:i.unescape}),e.glob.glob=e.glob},478:(t,e,s)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Pattern=void 0;const i=s(722);class r{#t;#e;#s;length;#i;#r;#n;#o;#h;#a;#l=!0;constructor(t,e,s,i){if(!(t.length>=1))throw new TypeError("empty pattern list");if(!(e.length>=1))throw new TypeError("empty glob list");if(e.length!==t.length)throw new TypeError("mismatched pattern list and glob list lengths");if(this.length=t.length,s<0||s>=this.length)throw new TypeError("index out of range");if(this.#t=t,this.#e=e,this.#s=s,this.#i=i,0===this.#s)if(this.isUNC()){const[t,e,s,i,...r]=this.#t,[n,o,h,a,...l]=this.#e;""===r[0]&&(r.shift(),l.shift());const c=[t,e,s,i,""].join("/"),p=[n,o,h,a,""].join("/");this.#t=[c,...r],this.#e=[p,...l],this.length=this.#t.length}else if(this.isDrive()||this.isAbsolute()){const[t,...e]=this.#t,[s,...i]=this.#e;""===e[0]&&(e.shift(),i.shift());const r=t+"/",n=s+"/";this.#t=[r,...e],this.#e=[n,...i],this.length=this.#t.length}}pattern(){return this.#t[this.#s]}isString(){return"string"==typeof this.#t[this.#s]}isGlobstar(){return this.#t[this.#s]===i.GLOBSTAR}isRegExp(){return this.#t[this.#s]instanceof RegExp}globString(){return this.#n=this.#n||(0===this.#s?this.isAbsolute()?this.#e[0]+this.#e.slice(1).join("/"):this.#e.join("/"):this.#e.slice(this.#s).join("/"))}hasMore(){return this.length>this.#s+1}rest(){return void 0!==this.#r?this.#r:this.hasMore()?(this.#r=new r(this.#t,this.#e,this.#s+1,this.#i),this.#r.#a=this.#a,this.#r.#h=this.#h,this.#r.#o=this.#o,this.#r):this.#r=null}isUNC(){const t=this.#t;return void 0!==this.#h?this.#h:this.#h="win32"===this.#i&&0===this.#s&&""===t[0]&&""===t[1]&&"string"==typeof t[2]&&!!t[2]&&"string"==typeof t[3]&&!!t[3]}isDrive(){const t=this.#t;return void 0!==this.#o?this.#o:this.#o="win32"===this.#i&&0===this.#s&&this.length>1&&"string"==typeof t[0]&&/^[a-z]:$/i.test(t[0])}isAbsolute(){const t=this.#t;return void 0!==this.#a?this.#a:this.#a=""===t[0]&&t.length>1||this.isDrive()||this.isUNC()}root(){const t=this.#t[0];return"string"==typeof t&&this.isAbsolute()&&0===this.#s?t:""}checkFollowGlobstar(){return!(0===this.#s||!this.isGlobstar()||!this.#l)}markFollowGlobstar(){return!(0===this.#s||!this.isGlobstar()||!this.#l)&&(this.#l=!1,!0)}}e.Pattern=r},800:(t,e,s)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Processor=e.SubWalks=e.MatchRecord=e.HasWalkedCache=void 0;const i=s(722);class r{store;constructor(t=new Map){this.store=t}copy(){return new r(new Map(this.store))}hasWalked(t,e){return this.store.get(t.fullpath())?.has(e.globString())}storeWalked(t,e){const s=t.fullpath(),i=this.store.get(s);i?i.add(e.globString()):this.store.set(s,new Set([e.globString()]))}}e.HasWalkedCache=r;class n{store=new Map;add(t,e,s){const i=(e?2:0)|(s?1:0),r=this.store.get(t);this.store.set(t,void 0===r?i:i&r)}entries(){return[...this.store.entries()].map((([t,e])=>[t,!!(2&e),!!(1&e)]))}}e.MatchRecord=n;class o{store=new Map;add(t,e){if(!t.canReaddir())return;const s=this.store.get(t);s?s.find((t=>t.globString()===e.globString()))||s.push(e):this.store.set(t,[e])}get(t){const e=this.store.get(t);if(!e)throw new Error("attempting to walk unknown path");return e}entries(){return this.keys().map((t=>[t,this.store.get(t)]))}keys(){return[...this.store.keys()].filter((t=>t.canReaddir()))}}e.SubWalks=o;class h{hasWalkedCache;matches=new n;subwalks=new o;patterns;follow;dot;opts;constructor(t,e){this.opts=t,this.follow=!!t.follow,this.dot=!!t.dot,this.hasWalkedCache=e?e.copy():new r}processPatterns(t,e){this.patterns=e;const s=e.map((e=>[t,e]));for(let[t,e]of s){this.hasWalkedCache.storeWalked(t,e);const s=e.root(),r=e.isAbsolute()&&!1!==this.opts.absolute;if(s){t=t.resolve("/"===s&&void 0!==this.opts.root?this.opts.root:s);const i=e.rest();if(!i){this.matches.add(t,!0,!1);continue}e=i}if(t.isENOENT())continue;let n,o,h=!1;for(;"string"==typeof(n=e.pattern())&&(o=e.rest());){const s=t.resolve(n);t=s,e=o,h=!0}if(n=e.pattern(),o=e.rest(),h){if(this.hasWalkedCache.hasWalked(t,e))continue;this.hasWalkedCache.storeWalked(t,e)}if("string"!=typeof n)if(n===i.GLOBSTAR){(!t.isSymbolicLink()||this.follow||e.checkFollowGlobstar())&&this.subwalks.add(t,e);const s=o?.pattern(),i=o?.rest();if(o&&(""!==s&&"."!==s||i)){if(".."===s){const e=t.parent||t;i?this.hasWalkedCache.hasWalked(e,i)||this.subwalks.add(e,i):this.matches.add(e,r,!0)}}else this.matches.add(t,r,""===s||"."===s)}else n instanceof RegExp&&this.subwalks.add(t,e);else{const e=".."===n||""===n||"."===n;this.matches.add(t.resolve(n),r,e)}}return this}subwalkTargets(){return this.subwalks.keys()}child(){return new h(this.opts,this.hasWalkedCache)}filterEntries(t,e){const s=this.subwalks.get(t),r=this.child();for(const t of e)for(const e of s){const s=e.isAbsolute(),n=e.pattern(),o=e.rest();n===i.GLOBSTAR?r.testGlobstar(t,e,o,s):n instanceof RegExp?r.testRegExp(t,n,o,s):r.testString(t,n,o,s)}return r}testGlobstar(t,e,s,i){if(!this.dot&&t.name.startsWith(".")||(e.hasMore()||this.matches.add(t,i,!1),t.canReaddir()&&(this.follow||!t.isSymbolicLink()?this.subwalks.add(t,e):t.isSymbolicLink()&&(s&&e.checkFollowGlobstar()?this.subwalks.add(t,s):e.markFollowGlobstar()&&this.subwalks.add(t,e)))),s){const e=s.pattern();if("string"==typeof e&&".."!==e&&""!==e&&"."!==e)this.testString(t,e,s.rest(),i);else if(".."===e){const e=t.parent||t;this.subwalks.add(e,s)}else e instanceof RegExp&&this.testRegExp(t,e,s.rest(),i)}}testRegExp(t,e,s,i){e.test(t.name)&&(s?this.subwalks.add(t,s):this.matches.add(t,i,!1))}testString(t,e,s,i){t.isNamed(e)&&(s?this.subwalks.add(t,s):this.matches.add(t,i,!1))}}e.Processor=h},984:(t,e,s)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.GlobStream=e.GlobWalker=e.GlobUtil=void 0;const i=s(420),r=s(972),n=s(800);class o{path;patterns;opts;seen=new Set;paused=!1;aborted=!1;#c=[];#p;#d;signal;maxDepth;constructor(t,e,s){this.patterns=t,this.path=e,this.opts=s,this.#d=s.posix||"win32"!==s.platform?"/":"\\",s.ignore&&(this.#p=((t,e)=>"string"==typeof t?new r.Ignore([t],e):Array.isArray(t)?new r.Ignore(t,e):t)(s.ignore,s)),this.maxDepth=s.maxDepth||1/0,s.signal&&(this.signal=s.signal,this.signal.addEventListener("abort",(()=>{this.#c.length=0})))}#u(t){return this.seen.has(t)||!!this.#p?.ignored?.(t)}#f(t){return!!this.#p?.childrenIgnored?.(t)}pause(){this.paused=!0}resume(){if(this.signal?.aborted)return;let t;for(this.paused=!1;!this.paused&&(t=this.#c.shift());)t()}onResume(t){this.signal?.aborted||(this.paused?this.#c.push(t):t())}async matchCheck(t,e){if(e&&this.opts.nodir)return;let s;if(this.opts.realpath){if(s=t.realpathCached()||await t.realpath(),!s)return;t=s}const i=t.isUnknown()||this.opts.stat?await t.lstat():t;if(this.opts.follow&&this.opts.nodir&&i?.isSymbolicLink()){const t=await i.realpath();t&&(t.isUnknown()||this.opts.stat)&&await t.lstat()}return this.matchCheckTest(i,e)}matchCheckTest(t,e){return!t||!(this.maxDepth===1/0||t.depth()<=this.maxDepth)||e&&!t.canReaddir()||this.opts.nodir&&t.isDirectory()||this.opts.nodir&&this.opts.follow&&t.isSymbolicLink()&&t.realpathCached()?.isDirectory()||this.#u(t)?void 0:t}matchCheckSync(t,e){if(e&&this.opts.nodir)return;let s;if(this.opts.realpath){if(s=t.realpathCached()||t.realpathSync(),!s)return;t=s}const i=t.isUnknown()||this.opts.stat?t.lstatSync():t;if(this.opts.follow&&this.opts.nodir&&i?.isSymbolicLink()){const t=i.realpathSync();t&&(t?.isUnknown()||this.opts.stat)&&t.lstatSync()}return this.matchCheckTest(i,e)}matchFinish(t,e){if(this.#u(t))return;const s=void 0===this.opts.absolute?e:this.opts.absolute;this.seen.add(t);const i=this.opts.mark&&t.isDirectory()?this.#d:"";if(this.opts.withFileTypes)this.matchEmit(t);else if(s){const e=this.opts.posix?t.fullpathPosix():t.fullpath();this.matchEmit(e+i)}else{const e=this.opts.posix?t.relativePosix():t.relative(),s=this.opts.dotRelative&&!e.startsWith(".."+this.#d)?"."+this.#d:"";this.matchEmit(e?s+e+i:"."+i)}}async match(t,e,s){const i=await this.matchCheck(t,s);i&&this.matchFinish(i,e)}matchSync(t,e,s){const i=this.matchCheckSync(t,s);i&&this.matchFinish(i,e)}walkCB(t,e,s){this.signal?.aborted&&s(),this.walkCB2(t,e,new n.Processor(this.opts),s)}walkCB2(t,e,s,i){if(this.#f(t))return i();if(this.signal?.aborted&&i(),this.paused)return void this.onResume((()=>this.walkCB2(t,e,s,i)));s.processPatterns(t,e);let r=1;const n=()=>{0==--r&&i()};for(const[t,e,i]of s.matches.entries())this.#u(t)||(r++,this.match(t,e,i).then((()=>n())));for(const t of s.subwalkTargets()){if(this.maxDepth!==1/0&&t.depth()>=this.maxDepth)continue;r++;const e=t.readdirCached();t.calledReaddir()?this.walkCB3(t,e,s,n):t.readdirCB(((e,i)=>this.walkCB3(t,i,s,n)),!0)}n()}walkCB3(t,e,s,i){s=s.filterEntries(t,e);let r=1;const n=()=>{0==--r&&i()};for(const[t,e,i]of s.matches.entries())this.#u(t)||(r++,this.match(t,e,i).then((()=>n())));for(const[t,e]of s.subwalks.entries())r++,this.walkCB2(t,e,s.child(),n);n()}walkCBSync(t,e,s){this.signal?.aborted&&s(),this.walkCB2Sync(t,e,new n.Processor(this.opts),s)}walkCB2Sync(t,e,s,i){if(this.#f(t))return i();if(this.signal?.aborted&&i(),this.paused)return void this.onResume((()=>this.walkCB2Sync(t,e,s,i)));s.processPatterns(t,e);let r=1;const n=()=>{0==--r&&i()};for(const[t,e,i]of s.matches.entries())this.#u(t)||this.matchSync(t,e,i);for(const t of s.subwalkTargets()){if(this.maxDepth!==1/0&&t.depth()>=this.maxDepth)continue;r++;const e=t.readdirSync();this.walkCB3Sync(t,e,s,n)}n()}walkCB3Sync(t,e,s,i){s=s.filterEntries(t,e);let r=1;const n=()=>{0==--r&&i()};for(const[t,e,i]of s.matches.entries())this.#u(t)||this.matchSync(t,e,i);for(const[t,e]of s.subwalks.entries())r++,this.walkCB2Sync(t,e,s.child(),n);n()}}e.GlobUtil=o;e.GlobWalker=class extends o{matches;constructor(t,e,s){super(t,e,s),this.matches=new Set}matchEmit(t){this.matches.add(t)}async walk(){if(this.signal?.aborted)throw this.signal.reason;return this.path.isUnknown()&&await this.path.lstat(),await new Promise(((t,e)=>{this.walkCB(this.path,this.patterns,(()=>{this.signal?.aborted?e(this.signal.reason):t(this.matches)}))})),this.matches}walkSync(){if(this.signal?.aborted)throw this.signal.reason;return this.path.isUnknown()&&this.path.lstatSync(),this.walkCBSync(this.path,this.patterns,(()=>{if(this.signal?.aborted)throw this.signal.reason})),this.matches}};e.GlobStream=class extends o{results;constructor(t,e,s){super(t,e,s),this.results=new i.Minipass({signal:this.signal,objectMode:!0}),this.results.on("drain",(()=>this.resume())),this.results.on("resume",(()=>this.resume()))}matchEmit(t){this.results.write(t),this.results.flowing||this.pause()}stream(){const t=this.path;return t.isUnknown()?t.lstat().then((()=>{this.walkCB(t,this.patterns,(()=>this.results.end()))})):this.walkCB(t,this.patterns,(()=>this.results.end())),this.results}streamSync(){return this.path.isUnknown()&&this.path.lstatSync(),this.walkCBSync(this.path,this.patterns,(()=>this.results.end())),this.results}}},96:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.LRUCache=void 0;const s="object"==typeof performance&&performance&&"function"==typeof performance.now?performance:Date,i=new Set,r="object"==typeof process&&process?process:{},n=(t,e,s,i)=>{"function"==typeof r.emitWarning?r.emitWarning(t,e,s,i):console.error(`[${s}] ${e}: ${t}`)};let o=globalThis.AbortController,h=globalThis.AbortSignal;if(void 0===o){h=class{onabort;_onabort=[];reason;aborted=!1;addEventListener(t,e){this._onabort.push(e)}},o=class{constructor(){e()}signal=new h;abort(t){if(!this.signal.aborted){this.signal.reason=t,this.signal.aborted=!0;for(const e of this.signal._onabort)e(t);this.signal.onabort?.(t)}}};let t="1"!==r.env?.LRU_CACHE_IGNORE_AC_WARNING;const e=()=>{t&&(t=!1,n("AbortController is not defined. If using lru-cache in node 14, load an AbortController polyfill from the `node-abort-controller` package. A minimal polyfill is provided for use by LRUCache.fetch(), but it should not be relied upon in other contexts (eg, passing it to other APIs that use AbortController/AbortSignal might have undesirable effects). You may disable this with LRU_CACHE_IGNORE_AC_WARNING=1 in the env.","NO_ABORT_CONTROLLER","ENOTSUP",e))}}Symbol("type");const a=t=>t&&t===Math.floor(t)&&t>0&&isFinite(t),l=t=>a(t)?t<=Math.pow(2,8)?Uint8Array:t<=Math.pow(2,16)?Uint16Array:t<=Math.pow(2,32)?Uint32Array:t<=Number.MAX_SAFE_INTEGER?c:null:null;class c extends Array{constructor(t){super(t),this.fill(0)}}class p{heap;length;static#g=!1;static create(t){const e=l(t);if(!e)return[];p.#g=!0;const s=new p(t,e);return p.#g=!1,s}constructor(t,e){if(!p.#g)throw new TypeError("instantiate Stack using Stack.create(n)");this.heap=new e(t),this.length=0}push(t){this.heap[this.length++]=t}pop(){return this.heap[--this.length]}}class d{#m;#y;#w;#b;#v;ttl;ttlResolution;ttlAutopurge;updateAgeOnGet;updateAgeOnHas;allowStale;noDisposeOnSet;noUpdateTTL;maxEntrySize;sizeCalculation;noDeleteOnFetchRejection;noDeleteOnStaleGet;allowStaleOnFetchAbort;allowStaleOnFetchRejection;ignoreFetchAbort;#S;#k;#x;#E;#L;#T;#A;#O;#C;#M;#P;#R;#F;#_;#z;#D;#j;static unsafeExposeInternals(t){return{starts:t.#F,ttls:t.#_,sizes:t.#R,keyMap:t.#x,keyList:t.#E,valList:t.#L,next:t.#T,prev:t.#A,get head(){return t.#O},get tail(){return t.#C},free:t.#M,isBackgroundFetch:e=>t.#B(e),backgroundFetch:(e,s,i,r)=>t.#N(e,s,i,r),moveToTail:e=>t.#W(e),indexes:e=>t.#G(e),rindexes:e=>t.#I(e),isStale:e=>t.#U(e)}}get max(){return this.#m}get maxSize(){return this.#y}get calculatedSize(){return this.#k}get size(){return this.#S}get fetchMethod(){return this.#v}get dispose(){return this.#w}get disposeAfter(){return this.#b}constructor(t){const{max:e=0,ttl:s,ttlResolution:r=1,ttlAutopurge:o,updateAgeOnGet:h,updateAgeOnHas:c,allowStale:u,dispose:f,disposeAfter:g,noDisposeOnSet:m,noUpdateTTL:y,maxSize:w=0,maxEntrySize:b=0,sizeCalculation:v,fetchMethod:S,noDeleteOnFetchRejection:k,noDeleteOnStaleGet:x,allowStaleOnFetchRejection:E,allowStaleOnFetchAbort:L,ignoreFetchAbort:T}=t;if(0!==e&&!a(e))throw new TypeError("max option must be a nonnegative integer");const A=e?l(e):Array;if(!A)throw new Error("invalid max value: "+e);if(this.#m=e,this.#y=w,this.maxEntrySize=b||this.#y,this.sizeCalculation=v,this.sizeCalculation){if(!this.#y&&!this.maxEntrySize)throw new TypeError("cannot set sizeCalculation without setting maxSize or maxEntrySize");if("function"!=typeof this.sizeCalculation)throw new TypeError("sizeCalculation set to non-function")}if(void 0!==S&&"function"!=typeof S)throw new TypeError("fetchMethod must be a function if specified");if(this.#v=S,this.#D=!!S,this.#x=new Map,this.#E=new Array(e).fill(void 0),this.#L=new Array(e).fill(void 0),this.#T=new A(e),this.#A=new A(e),this.#O=0,this.#C=0,this.#M=p.create(e),this.#S=0,this.#k=0,"function"==typeof f&&(this.#w=f),"function"==typeof g?(this.#b=g,this.#P=[]):(this.#b=void 0,this.#P=void 0),this.#z=!!this.#w,this.#j=!!this.#b,this.noDisposeOnSet=!!m,this.noUpdateTTL=!!y,this.noDeleteOnFetchRejection=!!k,this.allowStaleOnFetchRejection=!!E,this.allowStaleOnFetchAbort=!!L,this.ignoreFetchAbort=!!T,0!==this.maxEntrySize){if(0!==this.#y&&!a(this.#y))throw new TypeError("maxSize must be a positive integer if specified");if(!a(this.maxEntrySize))throw new TypeError("maxEntrySize must be a positive integer if specified");this.#$()}if(this.allowStale=!!u,this.noDeleteOnStaleGet=!!x,this.updateAgeOnGet=!!h,this.updateAgeOnHas=!!c,this.ttlResolution=a(r)||0===r?r:1,this.ttlAutopurge=!!o,this.ttl=s||0,this.ttl){if(!a(this.ttl))throw new TypeError("ttl must be a positive integer if specified");this.#q()}if(0===this.#m&&0===this.ttl&&0===this.#y)throw new TypeError("At least one of max, maxSize, or ttl is required");if(!this.ttlAutopurge&&!this.#m&&!this.#y){const t="LRU_CACHE_UNBOUNDED";if((t=>!i.has(t))(t)){i.add(t);n("TTL caching without ttlAutopurge, max, or maxSize can result in unbounded memory consumption.","UnboundedCacheWarning",t,d)}}}getRemainingTTL(t){return this.#x.has(t)?1/0:0}#q(){const t=new c(this.#m),e=new c(this.#m);this.#_=t,this.#F=e,this.#H=(i,r,n=s.now())=>{if(e[i]=0!==r?n:0,t[i]=r,0!==r&&this.ttlAutopurge){const t=setTimeout((()=>{this.#U(i)&&this.delete(this.#E[i])}),r+1);t.unref&&t.unref()}},this.#V=i=>{e[i]=0!==t[i]?s.now():0},this.#Z=(s,n)=>{if(t[n]){const o=t[n],h=e[n];if(!o||!h)return;s.ttl=o,s.start=h,s.now=i||r();const a=s.now-h;s.remainingTTL=o-a}};let i=0;const r=()=>{const t=s.now();if(this.ttlResolution>0){i=t;const e=setTimeout((()=>i=0),this.ttlResolution);e.unref&&e.unref()}return t};this.getRemainingTTL=s=>{const n=this.#x.get(s);if(void 0===n)return 0;const o=t[n],h=e[n];if(!o||!h)return 1/0;return o-((i||r())-h)},this.#U=s=>{const n=e[s],o=t[s];return!!o&&!!n&&(i||r())-n>o}}#V=()=>{};#Z=()=>{};#H=()=>{};#U=()=>!1;#$(){const t=new c(this.#m);this.#k=0,this.#R=t,this.#J=e=>{this.#k-=t[e],t[e]=0},this.#K=(t,e,s,i)=>{if(this.#B(e))return 0;if(!a(s)){if(!i)throw new TypeError("invalid size value (must be positive integer). When maxSize or maxEntrySize is used, sizeCalculation or size must be set.");if("function"!=typeof i)throw new TypeError("sizeCalculation must be a function");if(s=i(e,t),!a(s))throw new TypeError("sizeCalculation return invalid (expect positive integer)")}return s},this.#Y=(e,s,i)=>{if(t[e]=s,this.#y){const s=this.#y-t[e];for(;this.#k>s;)this.#X(!0)}this.#k+=t[e],i&&(i.entrySize=s,i.totalCalculatedSize=this.#k)}}#J=t=>{};#Y=(t,e,s)=>{};#K=(t,e,s,i)=>{if(s||i)throw new TypeError("cannot set size without setting maxSize or maxEntrySize on cache");return 0};*#G({allowStale:t=this.allowStale}={}){if(this.#S)for(let e=this.#C;this.#Q(e)&&(!t&&this.#U(e)||(yield e),e!==this.#O);)e=this.#A[e]}*#I({allowStale:t=this.allowStale}={}){if(this.#S)for(let e=this.#O;this.#Q(e)&&(!t&&this.#U(e)||(yield e),e!==this.#C);)e=this.#T[e]}#Q(t){return void 0!==t&&this.#x.get(this.#E[t])===t}*entries(){for(const t of this.#G())void 0===this.#L[t]||void 0===this.#E[t]||this.#B(this.#L[t])||(yield[this.#E[t],this.#L[t]])}*rentries(){for(const t of this.#I())void 0===this.#L[t]||void 0===this.#E[t]||this.#B(this.#L[t])||(yield[this.#E[t],this.#L[t]])}*keys(){for(const t of this.#G()){const e=this.#E[t];void 0===e||this.#B(this.#L[t])||(yield e)}}*rkeys(){for(const t of this.#I()){const e=this.#E[t];void 0===e||this.#B(this.#L[t])||(yield e)}}*values(){for(const t of this.#G()){void 0===this.#L[t]||this.#B(this.#L[t])||(yield this.#L[t])}}*rvalues(){for(const t of this.#I()){void 0===this.#L[t]||this.#B(this.#L[t])||(yield this.#L[t])}}[Symbol.iterator](){return this.entries()}[Symbol.toStringTag]="LRUCache";find(t,e={}){for(const s of this.#G()){const i=this.#L[s],r=this.#B(i)?i.__staleWhileFetching:i;if(void 0!==r&&t(r,this.#E[s],this))return this.get(this.#E[s],e)}}forEach(t,e=this){for(const s of this.#G()){const i=this.#L[s],r=this.#B(i)?i.__staleWhileFetching:i;void 0!==r&&t.call(e,r,this.#E[s],this)}}rforEach(t,e=this){for(const s of this.#I()){const i=this.#L[s],r=this.#B(i)?i.__staleWhileFetching:i;void 0!==r&&t.call(e,r,this.#E[s],this)}}purgeStale(){let t=!1;for(const e of this.#I({allowStale:!0}))this.#U(e)&&(this.delete(this.#E[e]),t=!0);return t}info(t){const e=this.#x.get(t);if(void 0===e)return;const i=this.#L[e],r=this.#B(i)?i.__staleWhileFetching:i;if(void 0===r)return;const n={value:r};if(this.#_&&this.#F){const t=this.#_[e],i=this.#F[e];if(t&&i){const e=t-(s.now()-i);n.ttl=e,n.start=Date.now()}}return this.#R&&(n.size=this.#R[e]),n}dump(){const t=[];for(const e of this.#G({allowStale:!0})){const i=this.#E[e],r=this.#L[e],n=this.#B(r)?r.__staleWhileFetching:r;if(void 0===n||void 0===i)continue;const o={value:n};if(this.#_&&this.#F){o.ttl=this.#_[e];const t=s.now()-this.#F[e];o.start=Math.floor(Date.now()-t)}this.#R&&(o.size=this.#R[e]),t.unshift([i,o])}return t}load(t){this.clear();for(const[e,i]of t){if(i.start){const t=Date.now()-i.start;i.start=s.now()-t}this.set(e,i.value,i)}}set(t,e,s={}){if(void 0===e)return this.delete(t),this;const{ttl:i=this.ttl,start:r,noDisposeOnSet:n=this.noDisposeOnSet,sizeCalculation:o=this.sizeCalculation,status:h}=s;let{noUpdateTTL:a=this.noUpdateTTL}=s;const l=this.#K(t,e,s.size||0,o);if(this.maxEntrySize&&l>this.maxEntrySize)return h&&(h.set="miss",h.maxEntrySizeExceeded=!0),this.delete(t),this;let c=0===this.#S?void 0:this.#x.get(t);if(void 0===c)c=0===this.#S?this.#C:0!==this.#M.length?this.#M.pop():this.#S===this.#m?this.#X(!1):this.#S,this.#E[c]=t,this.#L[c]=e,this.#x.set(t,c),this.#T[this.#C]=c,this.#A[c]=this.#C,this.#C=c,this.#S++,this.#Y(c,l,h),h&&(h.set="add"),a=!1;else{this.#W(c);const s=this.#L[c];if(e!==s){if(this.#D&&this.#B(s)){s.__abortController.abort(new Error("replaced"));const{__staleWhileFetching:e}=s;void 0===e||n||(this.#z&&this.#w?.(e,t,"set"),this.#j&&this.#P?.push([e,t,"set"]))}else n||(this.#z&&this.#w?.(s,t,"set"),this.#j&&this.#P?.push([s,t,"set"]));if(this.#J(c),this.#Y(c,l,h),this.#L[c]=e,h){h.set="replace";const t=s&&this.#B(s)?s.__staleWhileFetching:s;void 0!==t&&(h.oldValue=t)}}else h&&(h.set="update")}if(0===i||this.#_||this.#q(),this.#_&&(a||this.#H(c,i,r),h&&this.#Z(h,c)),!n&&this.#j&&this.#P){const t=this.#P;let e;for(;e=t?.shift();)this.#b?.(...e)}return this}pop(){try{for(;this.#S;){const t=this.#L[this.#O];if(this.#X(!0),this.#B(t)){if(t.__staleWhileFetching)return t.__staleWhileFetching}else if(void 0!==t)return t}}finally{if(this.#j&&this.#P){const t=this.#P;let e;for(;e=t?.shift();)this.#b?.(...e)}}}#X(t){const e=this.#O,s=this.#E[e],i=this.#L[e];return this.#D&&this.#B(i)?i.__abortController.abort(new Error("evicted")):(this.#z||this.#j)&&(this.#z&&this.#w?.(i,s,"evict"),this.#j&&this.#P?.push([i,s,"evict"])),this.#J(e),t&&(this.#E[e]=void 0,this.#L[e]=void 0,this.#M.push(e)),1===this.#S?(this.#O=this.#C=0,this.#M.length=0):this.#O=this.#T[e],this.#x.delete(s),this.#S--,e}has(t,e={}){const{updateAgeOnHas:s=this.updateAgeOnHas,status:i}=e,r=this.#x.get(t);if(void 0!==r){const t=this.#L[r];if(this.#B(t)&&void 0===t.__staleWhileFetching)return!1;if(!this.#U(r))return s&&this.#V(r),i&&(i.has="hit",this.#Z(i,r)),!0;i&&(i.has="stale",this.#Z(i,r))}else i&&(i.has="miss");return!1}peek(t,e={}){const{allowStale:s=this.allowStale}=e,i=this.#x.get(t);if(void 0===i||!s&&this.#U(i))return;const r=this.#L[i];return this.#B(r)?r.__staleWhileFetching:r}#N(t,e,s,i){const r=void 0===e?void 0:this.#L[e];if(this.#B(r))return r;const n=new o,{signal:h}=s;h?.addEventListener("abort",(()=>n.abort(h.reason)),{signal:n.signal});const a={signal:n.signal,options:s,context:i},l=(i,r=!1)=>{const{aborted:o}=n.signal,h=s.ignoreFetchAbort&&void 0!==i;if(s.status&&(o&&!r?(s.status.fetchAborted=!0,s.status.fetchError=n.signal.reason,h&&(s.status.fetchAbortIgnored=!0)):s.status.fetchResolved=!0),o&&!h&&!r)return c(n.signal.reason);const l=p;return this.#L[e]===p&&(void 0===i?l.__staleWhileFetching?this.#L[e]=l.__staleWhileFetching:this.delete(t):(s.status&&(s.status.fetchUpdated=!0),this.set(t,i,a.options))),i},c=i=>{const{aborted:r}=n.signal,o=r&&s.allowStaleOnFetchAbort,h=o||s.allowStaleOnFetchRejection,a=h||s.noDeleteOnFetchRejection,l=p;if(this.#L[e]===p){!a||void 0===l.__staleWhileFetching?this.delete(t):o||(this.#L[e]=l.__staleWhileFetching)}if(h)return s.status&&void 0!==l.__staleWhileFetching&&(s.status.returnedStale=!0),l.__staleWhileFetching;if(l.__returned===l)throw i};s.status&&(s.status.fetchDispatched=!0);const p=new Promise(((e,i)=>{const o=this.#v?.(t,r,a);o&&o instanceof Promise&&o.then((t=>e(void 0===t?void 0:t)),i),n.signal.addEventListener("abort",(()=>{s.ignoreFetchAbort&&!s.allowStaleOnFetchAbort||(e(void 0),s.allowStaleOnFetchAbort&&(e=t=>l(t,!0)))}))})).then(l,(t=>(s.status&&(s.status.fetchRejected=!0,s.status.fetchError=t),c(t)))),d=Object.assign(p,{__abortController:n,__staleWhileFetching:r,__returned:void 0});return void 0===e?(this.set(t,d,{...a.options,status:void 0}),e=this.#x.get(t)):this.#L[e]=d,d}#B(t){if(!this.#D)return!1;const e=t;return!!e&&e instanceof Promise&&e.hasOwnProperty("__staleWhileFetching")&&e.__abortController instanceof o}async fetch(t,e={}){const{allowStale:s=this.allowStale,updateAgeOnGet:i=this.updateAgeOnGet,noDeleteOnStaleGet:r=this.noDeleteOnStaleGet,ttl:n=this.ttl,noDisposeOnSet:o=this.noDisposeOnSet,size:h=0,sizeCalculation:a=this.sizeCalculation,noUpdateTTL:l=this.noUpdateTTL,noDeleteOnFetchRejection:c=this.noDeleteOnFetchRejection,allowStaleOnFetchRejection:p=this.allowStaleOnFetchRejection,ignoreFetchAbort:d=this.ignoreFetchAbort,allowStaleOnFetchAbort:u=this.allowStaleOnFetchAbort,context:f,forceRefresh:g=!1,status:m,signal:y}=e;if(!this.#D)return m&&(m.fetch="get"),this.get(t,{allowStale:s,updateAgeOnGet:i,noDeleteOnStaleGet:r,status:m});const w={allowStale:s,updateAgeOnGet:i,noDeleteOnStaleGet:r,ttl:n,noDisposeOnSet:o,size:h,sizeCalculation:a,noUpdateTTL:l,noDeleteOnFetchRejection:c,allowStaleOnFetchRejection:p,allowStaleOnFetchAbort:u,ignoreFetchAbort:d,status:m,signal:y};let b=this.#x.get(t);if(void 0===b){m&&(m.fetch="miss");const e=this.#N(t,b,w,f);return e.__returned=e}{const e=this.#L[b];if(this.#B(e)){const t=s&&void 0!==e.__staleWhileFetching;return m&&(m.fetch="inflight",t&&(m.returnedStale=!0)),t?e.__staleWhileFetching:e.__returned=e}const r=this.#U(b);if(!g&&!r)return m&&(m.fetch="hit"),this.#W(b),i&&this.#V(b),m&&this.#Z(m,b),e;const n=this.#N(t,b,w,f),o=void 0!==n.__staleWhileFetching&&s;return m&&(m.fetch=r?"stale":"refresh",o&&r&&(m.returnedStale=!0)),o?n.__staleWhileFetching:n.__returned=n}}get(t,e={}){const{allowStale:s=this.allowStale,updateAgeOnGet:i=this.updateAgeOnGet,noDeleteOnStaleGet:r=this.noDeleteOnStaleGet,status:n}=e,o=this.#x.get(t);if(void 0!==o){const e=this.#L[o],h=this.#B(e);return n&&this.#Z(n,o),this.#U(o)?(n&&(n.get="stale"),h?(n&&s&&void 0!==e.__staleWhileFetching&&(n.returnedStale=!0),s?e.__staleWhileFetching:void 0):(r||this.delete(t),n&&s&&(n.returnedStale=!0),s?e:void 0)):(n&&(n.get="hit"),h?e.__staleWhileFetching:(this.#W(o),i&&this.#V(o),e))}n&&(n.get="miss")}#tt(t,e){this.#A[e]=t,this.#T[t]=e}#W(t){t!==this.#C&&(t===this.#O?this.#O=this.#T[t]:this.#tt(this.#A[t],this.#T[t]),this.#tt(this.#C,t),this.#C=t)}delete(t){let e=!1;if(0!==this.#S){const s=this.#x.get(t);if(void 0!==s)if(e=!0,1===this.#S)this.clear();else{this.#J(s);const e=this.#L[s];if(this.#B(e)?e.__abortController.abort(new Error("deleted")):(this.#z||this.#j)&&(this.#z&&this.#w?.(e,t,"delete"),this.#j&&this.#P?.push([e,t,"delete"])),this.#x.delete(t),this.#E[s]=void 0,this.#L[s]=void 0,s===this.#C)this.#C=this.#A[s];else if(s===this.#O)this.#O=this.#T[s];else{const t=this.#A[s];this.#T[t]=this.#T[s];const e=this.#T[s];this.#A[e]=this.#A[s]}this.#S--,this.#M.push(s)}}if(this.#j&&this.#P?.length){const t=this.#P;let e;for(;e=t?.shift();)this.#b?.(...e)}return e}clear(){for(const t of this.#I({allowStale:!0})){const e=this.#L[t];if(this.#B(e))e.__abortController.abort(new Error("deleted"));else{const s=this.#E[t];this.#z&&this.#w?.(e,s,"delete"),this.#j&&this.#P?.push([e,s,"delete"])}}if(this.#x.clear(),this.#L.fill(void 0),this.#E.fill(void 0),this.#_&&this.#F&&(this.#_.fill(0),this.#F.fill(0)),this.#R&&this.#R.fill(0),this.#O=0,this.#C=0,this.#M.length=0,this.#k=0,this.#S=0,this.#j&&this.#P){const t=this.#P;let e;for(;e=t?.shift();)this.#b?.(...e)}}}e.LRUCache=d},274:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.assertValidPattern=void 0;e.assertValidPattern=t=>{if("string"!=typeof t)throw new TypeError("invalid pattern");if(t.length>65536)throw new TypeError("pattern is too long")}},674:(t,e,s)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AST=void 0;const i=s(843),r=s(116),n=new Set(["!","?","+","*","@"]),o=t=>n.has(t),h="(?!\\.)",a=new Set(["[","."]),l=new Set(["..","."]),c=new Set("().*{}+?[]^$\\!"),p="[^/]",d=p+"*?",u=p+"+?";class f{type;#et;#st;#it=!1;#rt=[];#nt;#ot;#ht;#at=!1;#lt;#ct;#pt=!1;constructor(t,e,s={}){this.type=t,t&&(this.#st=!0),this.#nt=e,this.#et=this.#nt?this.#nt.#et:this,this.#lt=this.#et===this?s:this.#et.#lt,this.#ht=this.#et===this?[]:this.#et.#ht,"!"!==t||this.#et.#at||this.#ht.push(this),this.#ot=this.#nt?this.#nt.#rt.length:0}get hasMagic(){if(void 0!==this.#st)return this.#st;for(const t of this.#rt)if("string"!=typeof t&&(t.type||t.hasMagic))return this.#st=!0;return this.#st}toString(){return void 0!==this.#ct?this.#ct:this.type?this.#ct=this.type+"("+this.#rt.map((t=>String(t))).join("|")+")":this.#ct=this.#rt.map((t=>String(t))).join("")}#dt(){if(this!==this.#et)throw new Error("should only call on root");if(this.#at)return this;let t;for(this.toString(),this.#at=!0;t=this.#ht.pop();){if("!"!==t.type)continue;let e=t,s=e.#nt;for(;s;){for(let i=e.#ot+1;!s.type&&i<s.#rt.length;i++)for(const e of t.#rt){if("string"==typeof e)throw new Error("string part in extglob AST??");e.copyIn(s.#rt[i])}e=s,s=e.#nt}}return this}push(...t){for(const e of t)if(""!==e){if("string"!=typeof e&&!(e instanceof f&&e.#nt===this))throw new Error("invalid part: "+e);this.#rt.push(e)}}toJSON(){const t=null===this.type?this.#rt.slice().map((t=>"string"==typeof t?t:t.toJSON())):[this.type,...this.#rt.map((t=>t.toJSON()))];return this.isStart()&&!this.type&&t.unshift([]),this.isEnd()&&(this===this.#et||this.#et.#at&&"!"===this.#nt?.type)&&t.push({}),t}isStart(){if(this.#et===this)return!0;if(!this.#nt?.isStart())return!1;if(0===this.#ot)return!0;const t=this.#nt;for(let e=0;e<this.#ot;e++){const s=t.#rt[e];if(!(s instanceof f&&"!"===s.type))return!1}return!0}isEnd(){if(this.#et===this)return!0;if("!"===this.#nt?.type)return!0;if(!this.#nt?.isEnd())return!1;if(!this.type)return this.#nt?.isEnd();const t=this.#nt?this.#nt.#rt.length:0;return this.#ot===t-1}copyIn(t){"string"==typeof t?this.push(t):this.push(t.clone(this))}clone(t){const e=new f(this.type,t);for(const t of this.#rt)e.copyIn(t);return e}static#ut(t,e,s,i){let r=!1,n=!1,h=-1,a=!1;if(null===e.type){let l=s,c="";for(;l<t.length;){const s=t.charAt(l++);if(r||"\\"===s)r=!r,c+=s;else if(n)l===h+1?"^"!==s&&"!"!==s||(a=!0):"]"!==s||l===h+2&&a||(n=!1),c+=s;else if("["!==s)if(i.noext||!o(s)||"("!==t.charAt(l))c+=s;else{e.push(c),c="";const r=new f(s,e);l=f.#ut(t,r,l,i),e.push(r)}else n=!0,h=l,a=!1,c+=s}return e.push(c),l}let l=s+1,c=new f(null,e);const p=[];let d="";for(;l<t.length;){const s=t.charAt(l++);if(r||"\\"===s)r=!r,d+=s;else if(n)l===h+1?"^"!==s&&"!"!==s||(a=!0):"]"!==s||l===h+2&&a||(n=!1),d+=s;else if("["!==s)if(o(s)&&"("===t.charAt(l)){c.push(d),d="";const e=new f(s,c);c.push(e),l=f.#ut(t,e,l,i)}else if("|"!==s){if(")"===s)return""===d&&0===e.#rt.length&&(e.#pt=!0),c.push(d),d="",e.push(...p,c),l;d+=s}else c.push(d),d="",p.push(c),c=new f(null,e);else n=!0,h=l,a=!1,d+=s}return e.type=null,e.#st=void 0,e.#rt=[t.substring(s-1)],l}static fromGlob(t,e={}){const s=new f(null,void 0,e);return f.#ut(t,s,0,e),s}toMMPattern(){if(this!==this.#et)return this.#et.toMMPattern();const t=this.toString(),[e,s,i,r]=this.toRegExpSource();if(!(i||this.#st||this.#lt.nocase&&!this.#lt.nocaseMagicOnly&&t.toUpperCase()!==t.toLowerCase()))return s;const n=(this.#lt.nocase?"i":"")+(r?"u":"");return Object.assign(new RegExp(`^${e}$`,n),{_src:e,_glob:t})}get options(){return this.#lt}toRegExpSource(t){const e=t??!!this.#lt.dot;if(this.#et===this&&this.#dt(),!this.type){const s=this.isStart()&&this.isEnd(),i=this.#rt.map((e=>{const[i,r,n,o]="string"==typeof e?f.#ft(e,this.#st,s):e.toRegExpSource(t);return this.#st=this.#st||n,this.#it=this.#it||o,i})).join("");let n="";if(this.isStart()&&"string"==typeof this.#rt[0]){if(!(1===this.#rt.length&&l.has(this.#rt[0]))){const s=a,r=e&&s.has(i.charAt(0))||i.startsWith("\\.")&&s.has(i.charAt(2))||i.startsWith("\\.\\.")&&s.has(i.charAt(4)),o=!e&&!t&&s.has(i.charAt(0));n=r?"(?!(?:^|/)\\.\\.?(?:$|/))":o?h:""}}let o="";this.isEnd()&&this.#et.#at&&"!"===this.#nt?.type&&(o="(?:$|\\/)");return[n+i+o,(0,r.unescape)(i),this.#st=!!this.#st,this.#it]}const s="*"===this.type||"+"===this.type,i="!"===this.type?"(?:(?!(?:":"(?:";let n=this.#gt(e);if(this.isStart()&&this.isEnd()&&!n&&"!"!==this.type){const t=this.toString();return this.#rt=[t],this.type=null,this.#st=void 0,[t,(0,r.unescape)(this.toString()),!1,!1]}let o=!s||t||e?"":this.#gt(!0);o===n&&(o=""),o&&(n=`(?:${n})(?:${o})*?`);let c="";if("!"===this.type&&this.#pt)c=(this.isStart()&&!e?h:"")+u;else{c=i+n+("!"===this.type?"))"+(!this.isStart()||e||t?"":h)+d+")":"@"===this.type?")":"?"===this.type?")?":"+"===this.type&&o?")":"*"===this.type&&o?")?":`)${this.type}`)}return[c,(0,r.unescape)(n),this.#st=!!this.#st,this.#it]}#gt(t){return this.#rt.map((e=>{if("string"==typeof e)throw new Error("string type in extglob ast??");const[s,i,r,n]=e.toRegExpSource(t);return this.#it=this.#it||n,s})).filter((t=>!(this.isStart()&&this.isEnd()&&!t))).join("|")}static#ft(t,e,s=!1){let n=!1,o="",h=!1;for(let r=0;r<t.length;r++){const a=t.charAt(r);if(n)n=!1,o+=(c.has(a)?"\\":"")+a;else if("\\"!==a){if("["===a){const[s,n,a,l]=(0,i.parseClass)(t,r);if(a){o+=s,h=h||n,r+=a-1,e=e||l;continue}}"*"!==a?"?"!==a?o+=a.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"):(o+=p,e=!0):(o+=s&&"*"===t?u:d,e=!0)}else r===t.length-1?o+="\\\\":n=!0}return[o,(0,r.unescape)(t),!!e,h]}}e.AST=f},843:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.parseClass=void 0;const s={"[:alnum:]":["\\p{L}\\p{Nl}\\p{Nd}",!0],"[:alpha:]":["\\p{L}\\p{Nl}",!0],"[:ascii:]":["\\x00-\\x7f",!1],"[:blank:]":["\\p{Zs}\\t",!0],"[:cntrl:]":["\\p{Cc}",!0],"[:digit:]":["\\p{Nd}",!0],"[:graph:]":["\\p{Z}\\p{C}",!0,!0],"[:lower:]":["\\p{Ll}",!0],"[:print:]":["\\p{C}",!0],"[:punct:]":["\\p{P}",!0],"[:space:]":["\\p{Z}\\t\\r\\n\\v\\f",!0],"[:upper:]":["\\p{Lu}",!0],"[:word:]":["\\p{L}\\p{Nl}\\p{Nd}\\p{Pc}",!0],"[:xdigit:]":["A-Fa-f0-9",!1]},i=t=>t.replace(/[[\]\\-]/g,"\\$&"),r=t=>t.join("");e.parseClass=(t,e)=>{const n=e;if("["!==t.charAt(n))throw new Error("not in a brace expression");const o=[],h=[];let a=n+1,l=!1,c=!1,p=!1,d=!1,u=n,f="";t:for(;a<t.length;){const e=t.charAt(a);if("!"!==e&&"^"!==e||a!==n+1){if("]"===e&&l&&!p){u=a+1;break}if(l=!0,"\\"!==e||p){if("["===e&&!p)for(const[e,[i,r,l]]of Object.entries(s))if(t.startsWith(e,a)){if(f)return["$.",!1,t.length-n,!0];a+=e.length,l?h.push(i):o.push(i),c=c||r;continue t}p=!1,f?(e>f?o.push(i(f)+"-"+i(e)):e===f&&o.push(i(e)),f="",a++):t.startsWith("-]",a+1)?(o.push(i(e+"-")),a+=2):t.startsWith("-",a+1)?(f=e,a+=2):(o.push(i(e)),a++)}else p=!0,a++}else d=!0,a++}if(u<a)return["",!1,0,!1];if(!o.length&&!h.length)return["$.",!1,t.length-n,!0];if(0===h.length&&1===o.length&&/^\\?.$/.test(o[0])&&!d){const t=2===o[0].length?o[0].slice(-1):o[0];return[(g=t,g.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")),!1,u-n,!1]}var g;const m="["+(d?"^":"")+r(o)+"]",y="["+(d?"":"^")+r(h)+"]";return[o.length&&h.length?"("+m+"|"+y+")":o.length?m:y,c,u-n,!0]}},363:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.escape=void 0;e.escape=(t,{windowsPathsNoEscape:e=!1}={})=>e?t.replace(/[?*()[\]]/g,"[$&]"):t.replace(/[?*()[\]\\]/g,"\\$&")},722:function(t,e,s){"use strict";var i=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.unescape=e.escape=e.AST=e.Minimatch=e.match=e.makeRe=e.braceExpand=e.defaults=e.filter=e.GLOBSTAR=e.sep=e.minimatch=void 0;const r=i(s(928)),n=s(274),o=s(674),h=s(363),a=s(116);e.minimatch=(t,e,s={})=>((0,n.assertValidPattern)(e),!(!s.nocomment&&"#"===e.charAt(0))&&new _(e,s).match(t));const l=/^\*+([^+@!?\*\[\(]*)$/,c=t=>e=>!e.startsWith(".")&&e.endsWith(t),p=t=>e=>e.endsWith(t),d=t=>(t=t.toLowerCase(),e=>!e.startsWith(".")&&e.toLowerCase().endsWith(t)),u=t=>(t=t.toLowerCase(),e=>e.toLowerCase().endsWith(t)),f=/^\*+\.\*+$/,g=t=>!t.startsWith(".")&&t.includes("."),m=t=>"."!==t&&".."!==t&&t.includes("."),y=/^\.\*+$/,w=t=>"."!==t&&".."!==t&&t.startsWith("."),b=/^\*+$/,v=t=>0!==t.length&&!t.startsWith("."),S=t=>0!==t.length&&"."!==t&&".."!==t,k=/^\?+([^+@!?\*\[\(]*)?$/,x=([t,e=""])=>{const s=A([t]);return e?(e=e.toLowerCase(),t=>s(t)&&t.toLowerCase().endsWith(e)):s},E=([t,e=""])=>{const s=O([t]);return e?(e=e.toLowerCase(),t=>s(t)&&t.toLowerCase().endsWith(e)):s},L=([t,e=""])=>{const s=O([t]);return e?t=>s(t)&&t.endsWith(e):s},T=([t,e=""])=>{const s=A([t]);return e?t=>s(t)&&t.endsWith(e):s},A=([t])=>{const e=t.length;return t=>t.length===e&&!t.startsWith(".")},O=([t])=>{const e=t.length;return t=>t.length===e&&"."!==t&&".."!==t},C="object"==typeof process&&process?"object"==typeof process.env&&process.env&&process.env.__MINIMATCH_TESTING_PLATFORM__||process.platform:"posix",M={sep:"\\"},P={sep:"/"};e.sep="win32"===C?M.sep:P.sep,e.minimatch.sep=e.sep,e.GLOBSTAR=Symbol("globstar **"),e.minimatch.GLOBSTAR=e.GLOBSTAR;e.filter=(t,s={})=>i=>(0,e.minimatch)(i,t,s),e.minimatch.filter=e.filter;const R=(t,e={})=>Object.assign({},t,e);e.defaults=t=>{if(!t||"object"!=typeof t||!Object.keys(t).length)return e.minimatch;const s=e.minimatch;return Object.assign(((e,i,r={})=>s(e,i,R(t,r))),{Minimatch:class extends s.Minimatch{constructor(e,s={}){super(e,R(t,s))}static defaults(e){return s.defaults(R(t,e)).Minimatch}},AST:class extends s.AST{constructor(e,s,i={}){super(e,s,R(t,i))}static fromGlob(e,i={}){return s.AST.fromGlob(e,R(t,i))}},unescape:(e,i={})=>s.unescape(e,R(t,i)),escape:(e,i={})=>s.escape(e,R(t,i)),filter:(e,i={})=>s.filter(e,R(t,i)),defaults:e=>s.defaults(R(t,e)),makeRe:(e,i={})=>s.makeRe(e,R(t,i)),braceExpand:(e,i={})=>s.braceExpand(e,R(t,i)),match:(e,i,r={})=>s.match(e,i,R(t,r)),sep:s.sep,GLOBSTAR:e.GLOBSTAR})},e.minimatch.defaults=e.defaults;e.braceExpand=(t,e={})=>((0,n.assertValidPattern)(t),e.nobrace||!/\{(?:(?!\{).)*\}/.test(t)?[t]:(0,r.default)(t)),e.minimatch.braceExpand=e.braceExpand;e.makeRe=(t,e={})=>new _(t,e).makeRe(),e.minimatch.makeRe=e.makeRe;e.match=(t,e,s={})=>{const i=new _(e,s);return t=t.filter((t=>i.match(t))),i.options.nonull&&!t.length&&t.push(e),t},e.minimatch.match=e.match;const F=/[?*]|[+@!]\(.*?\)|\[|\]/;class _{options;set;pattern;windowsPathsNoEscape;nonegate;negate;comment;empty;preserveMultipleSlashes;partial;globSet;globParts;nocase;isWindows;platform;windowsNoMagicRoot;regexp;constructor(t,e={}){(0,n.assertValidPattern)(t),e=e||{},this.options=e,this.pattern=t,this.platform=e.platform||C,this.isWindows="win32"===this.platform,this.windowsPathsNoEscape=!!e.windowsPathsNoEscape||!1===e.allowWindowsEscape,this.windowsPathsNoEscape&&(this.pattern=this.pattern.replace(/\\/g,"/")),this.preserveMultipleSlashes=!!e.preserveMultipleSlashes,this.regexp=null,this.negate=!1,this.nonegate=!!e.nonegate,this.comment=!1,this.empty=!1,this.partial=!!e.partial,this.nocase=!!this.options.nocase,this.windowsNoMagicRoot=void 0!==e.windowsNoMagicRoot?e.windowsNoMagicRoot:!(!this.isWindows||!this.nocase),this.globSet=[],this.globParts=[],this.set=[],this.make()}hasMagic(){if(this.options.magicalBraces&&this.set.length>1)return!0;for(const t of this.set)for(const e of t)if("string"!=typeof e)return!0;return!1}debug(...t){}make(){const t=this.pattern,e=this.options;if(!e.nocomment&&"#"===t.charAt(0))return void(this.comment=!0);if(!t)return void(this.empty=!0);this.parseNegate(),this.globSet=[...new Set(this.braceExpand())],e.debug&&(this.debug=(...t)=>console.error(...t)),this.debug(this.pattern,this.globSet);const s=this.globSet.map((t=>this.slashSplit(t)));this.globParts=this.preprocess(s),this.debug(this.pattern,this.globParts);let i=this.globParts.map(((t,e,s)=>{if(this.isWindows&&this.windowsNoMagicRoot){const e=!(""!==t[0]||""!==t[1]||"?"!==t[2]&&F.test(t[2])||F.test(t[3])),s=/^[a-z]:/i.test(t[0]);if(e)return[...t.slice(0,4),...t.slice(4).map((t=>this.parse(t)))];if(s)return[t[0],...t.slice(1).map((t=>this.parse(t)))]}return t.map((t=>this.parse(t)))}));if(this.debug(this.pattern,i),this.set=i.filter((t=>-1===t.indexOf(!1))),this.isWindows)for(let t=0;t<this.set.length;t++){const e=this.set[t];""===e[0]&&""===e[1]&&"?"===this.globParts[t][2]&&"string"==typeof e[3]&&/^[a-z]:$/i.test(e[3])&&(e[2]="?")}this.debug(this.pattern,this.set)}preprocess(t){if(this.options.noglobstar)for(let e=0;e<t.length;e++)for(let s=0;s<t[e].length;s++)"**"===t[e][s]&&(t[e][s]="*");const{optimizationLevel:e=1}=this.options;return e>=2?(t=this.firstPhasePreProcess(t),t=this.secondPhasePreProcess(t)):t=e>=1?this.levelOneOptimize(t):this.adjascentGlobstarOptimize(t),t}adjascentGlobstarOptimize(t){return t.map((t=>{let e=-1;for(;-1!==(e=t.indexOf("**",e+1));){let s=e;for(;"**"===t[s+1];)s++;s!==e&&t.splice(e,s-e)}return t}))}levelOneOptimize(t){return t.map((t=>0===(t=t.reduce(((t,e)=>{const s=t[t.length-1];return"**"===e&&"**"===s?t:".."===e&&s&&".."!==s&&"."!==s&&"**"!==s?(t.pop(),t):(t.push(e),t)}),[])).length?[""]:t))}levelTwoFileOptimize(t){Array.isArray(t)||(t=this.slashSplit(t));let e=!1;do{if(e=!1,!this.preserveMultipleSlashes){for(let s=1;s<t.length-1;s++){const i=t[s];1===s&&""===i&&""===t[0]||("."!==i&&""!==i||(e=!0,t.splice(s,1),s--))}"."!==t[0]||2!==t.length||"."!==t[1]&&""!==t[1]||(e=!0,t.pop())}let s=0;for(;-1!==(s=t.indexOf("..",s+1));){const i=t[s-1];i&&"."!==i&&".."!==i&&"**"!==i&&(e=!0,t.splice(s-1,2),s-=2)}}while(e);return 0===t.length?[""]:t}firstPhasePreProcess(t){let e=!1;do{e=!1;for(let s of t){let i=-1;for(;-1!==(i=s.indexOf("**",i+1));){let r=i;for(;"**"===s[r+1];)r++;r>i&&s.splice(i+1,r-i);let n=s[i+1];const o=s[i+2],h=s[i+3];if(".."!==n)continue;if(!o||"."===o||".."===o||!h||"."===h||".."===h)continue;e=!0,s.splice(i,1);const a=s.slice(0);a[i]="**",t.push(a),i--}if(!this.preserveMultipleSlashes){for(let t=1;t<s.length-1;t++){const i=s[t];1===t&&""===i&&""===s[0]||("."!==i&&""!==i||(e=!0,s.splice(t,1),t--))}"."!==s[0]||2!==s.length||"."!==s[1]&&""!==s[1]||(e=!0,s.pop())}let r=0;for(;-1!==(r=s.indexOf("..",r+1));){const t=s[r-1];if(t&&"."!==t&&".."!==t&&"**"!==t){e=!0;const t=1===r&&"**"===s[r+1]?["."]:[];s.splice(r-1,2,...t),0===s.length&&s.push(""),r-=2}}}}while(e);return t}secondPhasePreProcess(t){for(let e=0;e<t.length-1;e++)for(let s=e+1;s<t.length;s++){const i=this.partsMatch(t[e],t[s],!this.preserveMultipleSlashes);i&&(t[e]=i,t[s]=[])}return t.filter((t=>t.length))}partsMatch(t,e,s=!1){let i=0,r=0,n=[],o="";for(;i<t.length&&r<e.length;)if(t[i]===e[r])n.push("b"===o?e[r]:t[i]),i++,r++;else if(s&&"**"===t[i]&&e[r]===t[i+1])n.push(t[i]),i++;else if(s&&"**"===e[r]&&t[i]===e[r+1])n.push(e[r]),r++;else if("*"!==t[i]||!e[r]||!this.options.dot&&e[r].startsWith(".")||"**"===e[r]){if("*"!==e[r]||!t[i]||!this.options.dot&&t[i].startsWith(".")||"**"===t[i])return!1;if("a"===o)return!1;o="b",n.push(e[r]),i++,r++}else{if("b"===o)return!1;o="a",n.push(t[i]),i++,r++}return t.length===e.length&&n}parseNegate(){if(this.nonegate)return;const t=this.pattern;let e=!1,s=0;for(let i=0;i<t.length&&"!"===t.charAt(i);i++)e=!e,s++;s&&(this.pattern=t.slice(s)),this.negate=e}matchOne(t,s,i=!1){const r=this.options;if(this.isWindows){const e="string"==typeof t[0]&&/^[a-z]:$/i.test(t[0]),i=!e&&""===t[0]&&""===t[1]&&"?"===t[2]&&/^[a-z]:$/i.test(t[3]),r="string"==typeof s[0]&&/^[a-z]:$/i.test(s[0]),n=i?3:e?0:void 0,o=!r&&""===s[0]&&""===s[1]&&"?"===s[2]&&"string"==typeof s[3]&&/^[a-z]:$/i.test(s[3])?3:r?0:void 0;if("number"==typeof n&&"number"==typeof o){const[e,i]=[t[n],s[o]];e.toLowerCase()===i.toLowerCase()&&(s[o]=e,o>n?s=s.slice(o):n>o&&(t=t.slice(n)))}}const{optimizationLevel:n=1}=this.options;n>=2&&(t=this.levelTwoFileOptimize(t)),this.debug("matchOne",this,{file:t,pattern:s}),this.debug("matchOne",t.length,s.length);for(var o=0,h=0,a=t.length,l=s.length;o<a&&h<l;o++,h++){this.debug("matchOne loop");var c=s[h],p=t[o];if(this.debug(s,c,p),!1===c)return!1;if(c===e.GLOBSTAR){this.debug("GLOBSTAR",[s,c,p]);var d=o,u=h+1;if(u===l){for(this.debug("** at the end");o<a;o++)if("."===t[o]||".."===t[o]||!r.dot&&"."===t[o].charAt(0))return!1;return!0}for(;d<a;){var f=t[d];if(this.debug("\nglobstar while",t,d,s,u,f),this.matchOne(t.slice(d),s.slice(u),i))return this.debug("globstar found match!",d,a,f),!0;if("."===f||".."===f||!r.dot&&"."===f.charAt(0)){this.debug("dot detected!",t,d,s,u);break}this.debug("globstar swallow a segment, and continue"),d++}return!(!i||(this.debug("\n>>> no match, partial?",t,d,s,u),d!==a))}let n;if("string"==typeof c?(n=p===c,this.debug("string match",c,p,n)):(n=c.test(p),this.debug("pattern match",c,p,n)),!n)return!1}if(o===a&&h===l)return!0;if(o===a)return i;if(h===l)return o===a-1&&""===t[o];throw new Error("wtf?")}braceExpand(){return(0,e.braceExpand)(this.pattern,this.options)}parse(t){(0,n.assertValidPattern)(t);const s=this.options;if("**"===t)return e.GLOBSTAR;if(""===t)return"";let i,r=null;(i=t.match(b))?r=s.dot?S:v:(i=t.match(l))?r=(s.nocase?s.dot?u:d:s.dot?p:c)(i[1]):(i=t.match(k))?r=(s.nocase?s.dot?E:x:s.dot?L:T)(i):(i=t.match(f))?r=s.dot?m:g:(i=t.match(y))&&(r=w);const h=o.AST.fromGlob(t,this.options).toMMPattern();return r&&"object"==typeof h&&Reflect.defineProperty(h,"test",{value:r}),h}makeRe(){if(this.regexp||!1===this.regexp)return this.regexp;const t=this.set;if(!t.length)return this.regexp=!1,this.regexp;const s=this.options,i=s.noglobstar?"[^/]*?":s.dot?"(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?":"(?:(?!(?:\\/|^)\\.).)*?",r=new Set(s.nocase?["i"]:[]);let n=t.map((t=>{const s=t.map((t=>{if(t instanceof RegExp)for(const e of t.flags.split(""))r.add(e);return"string"==typeof t?t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"):t===e.GLOBSTAR?e.GLOBSTAR:t._src}));return s.forEach(((t,r)=>{const n=s[r+1],o=s[r-1];t===e.GLOBSTAR&&o!==e.GLOBSTAR&&(void 0===o?void 0!==n&&n!==e.GLOBSTAR?s[r+1]="(?:\\/|"+i+"\\/)?"+n:s[r]=i:void 0===n?s[r-1]=o+"(?:\\/|"+i+")?":n!==e.GLOBSTAR&&(s[r-1]=o+"(?:\\/|\\/"+i+"\\/)"+n,s[r+1]=e.GLOBSTAR))})),s.filter((t=>t!==e.GLOBSTAR)).join("/")})).join("|");const[o,h]=t.length>1?["(?:",")"]:["",""];n="^"+o+n+h+"$",this.negate&&(n="^(?!"+n+").+$");try{this.regexp=new RegExp(n,[...r].join(""))}catch(t){this.regexp=!1}return this.regexp}slashSplit(t){return this.preserveMultipleSlashes?t.split("/"):this.isWindows&&/^\/\/[^\/]+/.test(t)?["",...t.split(/\/+/)]:t.split(/\/+/)}match(t,e=this.partial){if(this.debug("match",t,this.pattern),this.comment)return!1;if(this.empty)return""===t;if("/"===t&&e)return!0;const s=this.options;this.isWindows&&(t=t.split("\\").join("/"));const i=this.slashSplit(t);this.debug(this.pattern,"split",i);const r=this.set;this.debug(this.pattern,"set",r);let n=i[i.length-1];if(!n)for(let t=i.length-2;!n&&t>=0;t--)n=i[t];for(let t=0;t<r.length;t++){const o=r[t];let h=i;s.matchBase&&1===o.length&&(h=[n]);if(this.matchOne(h,o,e))return!!s.flipNegate||!this.negate}return!s.flipNegate&&this.negate}static defaults(t){return e.minimatch.defaults(t).Minimatch}}e.Minimatch=_;var z=s(674);Object.defineProperty(e,"AST",{enumerable:!0,get:function(){return z.AST}});var D=s(363);Object.defineProperty(e,"escape",{enumerable:!0,get:function(){return D.escape}});var j=s(116);Object.defineProperty(e,"unescape",{enumerable:!0,get:function(){return j.unescape}}),e.minimatch.AST=o.AST,e.minimatch.Minimatch=_,e.minimatch.escape=h.escape,e.minimatch.unescape=a.unescape},116:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.unescape=void 0;e.unescape=(t,{windowsPathsNoEscape:e=!1}={})=>e?t.replace(/\[([^\/\\])\]/g,"$1"):t.replace(/((?!\\).|^)\[([^\/\\])\]/g,"$1$2").replace(/\\([^\/])/g,"$1")},420:function(t,e,s){"use strict";var i=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.Minipass=e.isWritable=e.isReadable=e.isStream=void 0;const r="object"==typeof process&&process?process:{stdout:null,stderr:null},n=s(434),o=i(s(203)),h=s(193);e.isStream=t=>!!t&&"object"==typeof t&&(t instanceof U||t instanceof o.default||(0,e.isReadable)(t)||(0,e.isWritable)(t));e.isReadable=t=>!!t&&"object"==typeof t&&t instanceof n.EventEmitter&&"function"==typeof t.pipe&&t.pipe!==o.default.Writable.prototype.pipe;e.isWritable=t=>!!t&&"object"==typeof t&&t instanceof n.EventEmitter&&"function"==typeof t.write&&"function"==typeof t.end;const a=Symbol("EOF"),l=Symbol("maybeEmitEnd"),c=Symbol("emittedEnd"),p=Symbol("emittingEnd"),d=Symbol("emittedError"),u=Symbol("closed"),f=Symbol("read"),g=Symbol("flush"),m=Symbol("flushChunk"),y=Symbol("encoding"),w=Symbol("decoder"),b=Symbol("flowing"),v=Symbol("paused"),S=Symbol("resume"),k=Symbol("buffer"),x=Symbol("pipes"),E=Symbol("bufferLength"),L=Symbol("bufferPush"),T=Symbol("bufferShift"),A=Symbol("objectMode"),O=Symbol("destroyed"),C=Symbol("error"),M=Symbol("emitData"),P=Symbol("emitEnd"),R=Symbol("emitEnd2"),F=Symbol("async"),_=Symbol("abort"),z=Symbol("aborted"),D=Symbol("signal"),j=Symbol("dataListeners"),B=Symbol("discarded"),N=t=>Promise.resolve().then(t),W=t=>t();class G{src;dest;opts;ondrain;constructor(t,e,s){this.src=t,this.dest=e,this.opts=s,this.ondrain=()=>t[S](),this.dest.on("drain",this.ondrain)}unpipe(){this.dest.removeListener("drain",this.ondrain)}proxyErrors(t){}end(){this.unpipe(),this.opts.end&&this.dest.end()}}class I extends G{unpipe(){this.src.removeListener("error",this.proxyErrors),super.unpipe()}constructor(t,e,s){super(t,e,s),this.proxyErrors=t=>e.emit("error",t),t.on("error",this.proxyErrors)}}class U extends n.EventEmitter{[b]=!1;[v]=!1;[x]=[];[k]=[];[A];[y];[F];[w];[a]=!1;[c]=!1;[p]=!1;[u]=!1;[d]=null;[E]=0;[O]=!1;[D];[z]=!1;[j]=0;[B]=!1;writable=!0;readable=!0;constructor(...t){const e=t[0]||{};if(super(),e.objectMode&&"string"==typeof e.encoding)throw new TypeError("Encoding and objectMode may not be used together");e.objectMode?(this[A]=!0,this[y]=null):(t=>!t.objectMode&&!!t.encoding&&"buffer"!==t.encoding)(e)?(this[y]=e.encoding,this[A]=!1):(this[A]=!1,this[y]=null),this[F]=!!e.async,this[w]=this[y]?new h.StringDecoder(this[y]):null,e&&!0===e.debugExposeBuffer&&Object.defineProperty(this,"buffer",{get:()=>this[k]}),e&&!0===e.debugExposePipes&&Object.defineProperty(this,"pipes",{get:()=>this[x]});const{signal:s}=e;s&&(this[D]=s,s.aborted?this[_]():s.addEventListener("abort",(()=>this[_]())))}get bufferLength(){return this[E]}get encoding(){return this[y]}set encoding(t){throw new Error("Encoding must be set at instantiation time")}setEncoding(t){throw new Error("Encoding must be set at instantiation time")}get objectMode(){return this[A]}set objectMode(t){throw new Error("objectMode must be set at instantiation time")}get async(){return this[F]}set async(t){this[F]=this[F]||!!t}[_](){this[z]=!0,this.emit("abort",this[D]?.reason),this.destroy(this[D]?.reason)}get aborted(){return this[z]}set aborted(t){}write(t,e,s){if(this[z])return!1;if(this[a])throw new Error("write after end");if(this[O])return this.emit("error",Object.assign(new Error("Cannot call write after a stream was destroyed"),{code:"ERR_STREAM_DESTROYED"})),!0;"function"==typeof e&&(s=e,e="utf8"),e||(e="utf8");const i=this[F]?N:W;if(!this[A]&&!Buffer.isBuffer(t))if(r=t,!Buffer.isBuffer(r)&&ArrayBuffer.isView(r))t=Buffer.from(t.buffer,t.byteOffset,t.byteLength);else if((t=>t instanceof ArrayBuffer||!!t&&"object"==typeof t&&t.constructor&&"ArrayBuffer"===t.constructor.name&&t.byteLength>=0)(t))t=Buffer.from(t);else if("string"!=typeof t)throw new Error("Non-contiguous data written to non-objectMode stream");var r;return this[A]?(this[b]&&0!==this[E]&&this[g](!0),this[b]?this.emit("data",t):this[L](t),0!==this[E]&&this.emit("readable"),s&&i(s),this[b]):t.length?("string"!=typeof t||e===this[y]&&!this[w]?.lastNeed||(t=Buffer.from(t,e)),Buffer.isBuffer(t)&&this[y]&&(t=this[w].write(t)),this[b]&&0!==this[E]&&this[g](!0),this[b]?this.emit("data",t):this[L](t),0!==this[E]&&this.emit("readable"),s&&i(s),this[b]):(0!==this[E]&&this.emit("readable"),s&&i(s),this[b])}read(t){if(this[O])return null;if(this[B]=!1,0===this[E]||0===t||t&&t>this[E])return this[l](),null;this[A]&&(t=null),this[k].length>1&&!this[A]&&(this[k]=[this[y]?this[k].join(""):Buffer.concat(this[k],this[E])]);const e=this[f](t||null,this[k][0]);return this[l](),e}[f](t,e){if(this[A])this[T]();else{const s=e;t===s.length||null===t?this[T]():"string"==typeof s?(this[k][0]=s.slice(t),e=s.slice(0,t),this[E]-=t):(this[k][0]=s.subarray(t),e=s.subarray(0,t),this[E]-=t)}return this.emit("data",e),this[k].length||this[a]||this.emit("drain"),e}end(t,e,s){return"function"==typeof t&&(s=t,t=void 0),"function"==typeof e&&(s=e,e="utf8"),void 0!==t&&this.write(t,e),s&&this.once("end",s),this[a]=!0,this.writable=!1,!this[b]&&this[v]||this[l](),this}[S](){this[O]||(this[j]||this[x].length||(this[B]=!0),this[v]=!1,this[b]=!0,this.emit("resume"),this[k].length?this[g]():this[a]?this[l]():this.emit("drain"))}resume(){return this[S]()}pause(){this[b]=!1,this[v]=!0,this[B]=!1}get destroyed(){return this[O]}get flowing(){return this[b]}get paused(){return this[v]}[L](t){this[A]?this[E]+=1:this[E]+=t.length,this[k].push(t)}[T](){return this[A]?this[E]-=1:this[E]-=this[k][0].length,this[k].shift()}[g](t=!1){do{}while(this[m](this[T]())&&this[k].length);t||this[k].length||this[a]||this.emit("drain")}[m](t){return this.emit("data",t),this[b]}pipe(t,e){if(this[O])return t;this[B]=!1;const s=this[c];return e=e||{},t===r.stdout||t===r.stderr?e.end=!1:e.end=!1!==e.end,e.proxyErrors=!!e.proxyErrors,s?e.end&&t.end():(this[x].push(e.proxyErrors?new I(this,t,e):new G(this,t,e)),this[F]?N((()=>this[S]())):this[S]()),t}unpipe(t){const e=this[x].find((e=>e.dest===t));e&&(1===this[x].length?(this[b]&&0===this[j]&&(this[b]=!1),this[x]=[]):this[x].splice(this[x].indexOf(e),1),e.unpipe())}addListener(t,e){return this.on(t,e)}on(t,e){const s=super.on(t,e);if("data"===t)this[B]=!1,this[j]++,this[x].length||this[b]||this[S]();else if("readable"===t&&0!==this[E])super.emit("readable");else if((t=>"end"===t||"finish"===t||"prefinish"===t)(t)&&this[c])super.emit(t),this.removeAllListeners(t);else if("error"===t&&this[d]){const t=e;this[F]?N((()=>t.call(this,this[d]))):t.call(this,this[d])}return s}removeListener(t,e){return this.off(t,e)}off(t,e){const s=super.off(t,e);return"data"===t&&(this[j]=this.listeners("data").length,0!==this[j]||this[B]||this[x].length||(this[b]=!1)),s}removeAllListeners(t){const e=super.removeAllListeners(t);return"data"!==t&&void 0!==t||(this[j]=0,this[B]||this[x].length||(this[b]=!1)),e}get emittedEnd(){return this[c]}[l](){this[p]||this[c]||this[O]||0!==this[k].length||!this[a]||(this[p]=!0,this.emit("end"),this.emit("prefinish"),this.emit("finish"),this[u]&&this.emit("close"),this[p]=!1)}emit(t,...e){const s=e[0];if("error"!==t&&"close"!==t&&t!==O&&this[O])return!1;if("data"===t)return!(!this[A]&&!s)&&(this[F]?(N((()=>this[M](s))),!0):this[M](s));if("end"===t)return this[P]();if("close"===t){if(this[u]=!0,!this[c]&&!this[O])return!1;const t=super.emit("close");return this.removeAllListeners("close"),t}if("error"===t){this[d]=s,super.emit(C,s);const t=!(this[D]&&!this.listeners("error").length)&&super.emit("error",s);return this[l](),t}if("resume"===t){const t=super.emit("resume");return this[l](),t}if("finish"===t||"prefinish"===t){const e=super.emit(t);return this.removeAllListeners(t),e}const i=super.emit(t,...e);return this[l](),i}[M](t){for(const e of this[x])!1===e.dest.write(t)&&this.pause();const e=!this[B]&&super.emit("data",t);return this[l](),e}[P](){return!this[c]&&(this[c]=!0,this.readable=!1,this[F]?(N((()=>this[R]())),!0):this[R]())}[R](){if(this[w]){const t=this[w].end();if(t){for(const e of this[x])e.dest.write(t);this[B]||super.emit("data",t)}}for(const t of this[x])t.end();const t=super.emit("end");return this.removeAllListeners("end"),t}async collect(){const t=Object.assign([],{dataLength:0});this[A]||(t.dataLength=0);const e=this.promise();return this.on("data",(e=>{t.push(e),this[A]||(t.dataLength+=e.length)})),await e,t}async concat(){if(this[A])throw new Error("cannot concat in objectMode");const t=await this.collect();return this[y]?t.join(""):Buffer.concat(t,t.dataLength)}async promise(){return new Promise(((t,e)=>{this.on(O,(()=>e(new Error("stream destroyed")))),this.on("error",(t=>e(t))),this.on("end",(()=>t()))}))}[Symbol.asyncIterator](){this[B]=!1;let t=!1;const e=async()=>(this.pause(),t=!0,{value:void 0,done:!0});return{next:()=>{if(t)return e();const s=this.read();if(null!==s)return Promise.resolve({done:!1,value:s});if(this[a])return e();let i,r;const n=t=>{this.off("data",o),this.off("end",h),this.off(O,l),e(),r(t)},o=t=>{this.off("error",n),this.off("end",h),this.off(O,l),this.pause(),i({value:t,done:!!this[a]})},h=()=>{this.off("error",n),this.off("data",o),this.off(O,l),e(),i({done:!0,value:void 0})},l=()=>n(new Error("stream destroyed"));return new Promise(((t,e)=>{r=e,i=t,this.once(O,l),this.once("error",n),this.once("end",h),this.once("data",o)}))},throw:e,return:e,[Symbol.asyncIterator](){return this}}}[Symbol.iterator](){this[B]=!1;let t=!1;const e=()=>(this.pause(),this.off(C,e),this.off(O,e),this.off("end",e),t=!0,{done:!0,value:void 0});return this.once("end",e),this.once(C,e),this.once(O,e),{next:()=>{if(t)return e();const s=this.read();return null===s?e():{done:!1,value:s}},throw:e,return:e,[Symbol.iterator](){return this}}}destroy(t){if(this[O])return t?this.emit("error",t):this.emit(O),this;this[O]=!0,this[B]=!0,this[k].length=0,this[E]=0;return"function"!=typeof this.close||this[u]||this.close(),t?this.emit("error",t):this.emit(O),this}static get isStream(){return e.isStream}}e.Minipass=U},576:function(t,e,s){"use strict";var i=this&&this.__createBinding||(Object.create?function(t,e,s,i){void 0===i&&(i=s);var r=Object.getOwnPropertyDescriptor(e,s);r&&!("get"in r?!e.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return e[s]}}),Object.defineProperty(t,i,r)}:function(t,e,s,i){void 0===i&&(i=s),t[i]=e[s]}),r=this&&this.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),n=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var s in t)"default"!==s&&Object.prototype.hasOwnProperty.call(t,s)&&i(e,t,s);return r(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.PathScurry=e.Path=e.PathScurryDarwin=e.PathScurryPosix=e.PathScurryWin32=e.PathScurryBase=e.PathPosix=e.PathWin32=e.PathBase=e.ChildrenCache=e.ResolveCache=void 0;const o=s(96),h=s(760),a=s(136),l=s(896),c=n(s(24)),p=l.realpathSync.native,d=s(455),u=s(420),f={lstatSync:l.lstatSync,readdir:l.readdir,readdirSync:l.readdirSync,readlinkSync:l.readlinkSync,realpathSync:p,promises:{lstat:d.lstat,readdir:d.readdir,readlink:d.readlink,realpath:d.realpath}},g=t=>t&&t!==f&&t!==c?{...f,...t,promises:{...f.promises,...t.promises||{}}}:f,m=/^\\\\\?\\([a-z]:)\\?$/i,y=/[\\\/]/,w=10,b=15,v=-16,S=128,k=256,x=512,E=t=>t.isFile()?8:t.isDirectory()?4:t.isSymbolicLink()?w:t.isCharacterDevice()?2:t.isBlockDevice()?6:t.isSocket()?12:t.isFIFO()?1:0,L=new Map,T=t=>{const e=L.get(t);if(e)return e;const s=t.normalize("NFKD");return L.set(t,s),s},A=new Map,O=t=>{const e=A.get(t);if(e)return e;const s=T(t.toLowerCase());return A.set(t,s),s};class C extends o.LRUCache{constructor(){super({max:256})}}e.ResolveCache=C;class M extends o.LRUCache{constructor(t=16384){super({maxSize:t,sizeCalculation:t=>t.length+1})}}e.ChildrenCache=M;const P=Symbol("PathScurry setAsCwd");class R{name;root;roots;parent;nocase;isCWD=!1;#mt;#yt;get dev(){return this.#yt}#wt;get mode(){return this.#wt}#bt;get nlink(){return this.#bt}#vt;get uid(){return this.#vt}#St;get gid(){return this.#St}#kt;get rdev(){return this.#kt}#xt;get blksize(){return this.#xt}#Et;get ino(){return this.#Et}#S;get size(){return this.#S}#Lt;get blocks(){return this.#Lt}#Tt;get atimeMs(){return this.#Tt}#At;get mtimeMs(){return this.#At}#Ot;get ctimeMs(){return this.#Ot}#Ct;get birthtimeMs(){return this.#Ct}#Mt;get atime(){return this.#Mt}#Pt;get mtime(){return this.#Pt}#Rt;get ctime(){return this.#Rt}#Ft;get birthtime(){return this.#Ft}#_t;#zt;#Dt;#jt;#Bt;#Nt;#Wt;#Gt;#It;#Ut;get parentPath(){return(this.parent||this).fullpath()}get path(){return this.parentPath}constructor(t,e=0,s,i,r,n,o){this.name=t,this.#_t=r?O(t):T(t),this.#Wt=1023&e,this.nocase=r,this.roots=i,this.root=s||this,this.#Gt=n,this.#Dt=o.fullpath,this.#Bt=o.relative,this.#Nt=o.relativePosix,this.parent=o.parent,this.parent?this.#mt=this.parent.#mt:this.#mt=g(o.fs)}depth(){return void 0!==this.#zt?this.#zt:this.parent?this.#zt=this.parent.depth()+1:this.#zt=0}childrenCache(){return this.#Gt}resolve(t){if(!t)return this;const e=this.getRootString(t),s=t.substring(e.length).split(this.splitSep);return e?this.getRoot(e).#$t(s):this.#$t(s)}#$t(t){let e=this;for(const s of t)e=e.child(s);return e}children(){const t=this.#Gt.get(this);if(t)return t;const e=Object.assign([],{provisional:0});return this.#Gt.set(this,e),this.#Wt&=-17,e}child(t,e){if(""===t||"."===t)return this;if(".."===t)return this.parent||this;const s=this.children(),i=this.nocase?O(t):T(t);for(const t of s)if(t.#_t===i)return t;const r=this.parent?this.sep:"",n=this.#Dt?this.#Dt+r+t:void 0,o=this.newChild(t,0,{...e,parent:this,fullpath:n});return this.canReaddir()||(o.#Wt|=S),s.push(o),o}relative(){if(this.isCWD)return"";if(void 0!==this.#Bt)return this.#Bt;const t=this.name,e=this.parent;if(!e)return this.#Bt=this.name;const s=e.relative();return s+(s&&e.parent?this.sep:"")+t}relativePosix(){if("/"===this.sep)return this.relative();if(this.isCWD)return"";if(void 0!==this.#Nt)return this.#Nt;const t=this.name,e=this.parent;if(!e)return this.#Nt=this.fullpathPosix();const s=e.relativePosix();return s+(s&&e.parent?"/":"")+t}fullpath(){if(void 0!==this.#Dt)return this.#Dt;const t=this.name,e=this.parent;if(!e)return this.#Dt=this.name;const s=e.fullpath()+(e.parent?this.sep:"")+t;return this.#Dt=s}fullpathPosix(){if(void 0!==this.#jt)return this.#jt;if("/"===this.sep)return this.#jt=this.fullpath();if(!this.parent){const t=this.fullpath().replace(/\\/g,"/");return/^[a-z]:\//i.test(t)?this.#jt=`//?/${t}`:this.#jt=t}const t=this.parent,e=t.fullpathPosix(),s=e+(e&&t.parent?"/":"")+this.name;return this.#jt=s}isUnknown(){return!(this.#Wt&b)}isType(t){return this[`is${t}`]()}getType(){return this.isUnknown()?"Unknown":this.isDirectory()?"Directory":this.isFile()?"File":this.isSymbolicLink()?"SymbolicLink":this.isFIFO()?"FIFO":this.isCharacterDevice()?"CharacterDevice":this.isBlockDevice()?"BlockDevice":this.isSocket()?"Socket":"Unknown"}isFile(){return 8==(this.#Wt&b)}isDirectory(){return 4==(this.#Wt&b)}isCharacterDevice(){return 2==(this.#Wt&b)}isBlockDevice(){return 6==(this.#Wt&b)}isFIFO(){return 1==(this.#Wt&b)}isSocket(){return 12==(this.#Wt&b)}isSymbolicLink(){return(this.#Wt&w)===w}lstatCached(){return 32&this.#Wt?this:void 0}readlinkCached(){return this.#It}realpathCached(){return this.#Ut}readdirCached(){const t=this.children();return t.slice(0,t.provisional)}canReadlink(){if(this.#It)return!0;if(!this.parent)return!1;const t=this.#Wt&b;return!(0!==t&&t!==w||this.#Wt&k||this.#Wt&S)}calledReaddir(){return!!(16&this.#Wt)}isENOENT(){return!!(this.#Wt&S)}isNamed(t){return this.nocase?this.#_t===O(t):this.#_t===T(t)}async readlink(){const t=this.#It;if(t)return t;if(this.canReadlink()&&this.parent)try{const t=await this.#mt.promises.readlink(this.fullpath()),e=(await this.parent.realpath())?.resolve(t);if(e)return this.#It=e}catch(t){return void this.#qt(t.code)}}readlinkSync(){const t=this.#It;if(t)return t;if(this.canReadlink()&&this.parent)try{const t=this.#mt.readlinkSync(this.fullpath()),e=this.parent.realpathSync()?.resolve(t);if(e)return this.#It=e}catch(t){return void this.#qt(t.code)}}#Ht(t){this.#Wt|=16;for(let e=t.provisional;e<t.length;e++){const s=t[e];s&&s.#Vt()}}#Vt(){this.#Wt&S||(this.#Wt=(this.#Wt|S)&v,this.#Zt())}#Zt(){const t=this.children();t.provisional=0;for(const e of t)e.#Vt()}#Jt(){this.#Wt|=x,this.#Kt()}#Kt(){if(64&this.#Wt)return;let t=this.#Wt;4==(t&b)&&(t&=v),this.#Wt=64|t,this.#Zt()}#Yt(t=""){"ENOTDIR"===t||"EPERM"===t?this.#Kt():"ENOENT"===t?this.#Vt():this.children().provisional=0}#Xt(t=""){if("ENOTDIR"===t){this.parent.#Kt()}else"ENOENT"===t&&this.#Vt()}#qt(t=""){let e=this.#Wt;e|=k,"ENOENT"===t&&(e|=S),"EINVAL"!==t&&"UNKNOWN"!==t||(e&=v),this.#Wt=e,"ENOTDIR"===t&&this.parent&&this.parent.#Kt()}#Qt(t,e){return this.#te(t,e)||this.#ee(t,e)}#ee(t,e){const s=E(t),i=this.newChild(t.name,s,{parent:this}),r=i.#Wt&b;return 4!==r&&r!==w&&0!==r&&(i.#Wt|=64),e.unshift(i),e.provisional++,i}#te(t,e){for(let s=e.provisional;s<e.length;s++){const i=e[s];if((this.nocase?O(t.name):T(t.name))===i.#_t)return this.#se(t,i,s,e)}}#se(t,e,s,i){const r=e.name;return e.#Wt=e.#Wt&v|E(t),r!==t.name&&(e.name=t.name),s!==i.provisional&&(s===i.length-1?i.pop():i.splice(s,1),i.unshift(e)),i.provisional++,e}async lstat(){if(!(this.#Wt&S))try{return this.#ie(await this.#mt.promises.lstat(this.fullpath())),this}catch(t){this.#Xt(t.code)}}lstatSync(){if(!(this.#Wt&S))try{return this.#ie(this.#mt.lstatSync(this.fullpath())),this}catch(t){this.#Xt(t.code)}}#ie(t){const{atime:e,atimeMs:s,birthtime:i,birthtimeMs:r,blksize:n,blocks:o,ctime:h,ctimeMs:a,dev:l,gid:c,ino:p,mode:d,mtime:u,mtimeMs:f,nlink:g,rdev:m,size:y,uid:b}=t;this.#Mt=e,this.#Tt=s,this.#Ft=i,this.#Ct=r,this.#xt=n,this.#Lt=o,this.#Rt=h,this.#Ot=a,this.#yt=l,this.#St=c,this.#Et=p,this.#wt=d,this.#Pt=u,this.#At=f,this.#bt=g,this.#kt=m,this.#S=y,this.#vt=b;const S=E(t);this.#Wt=this.#Wt&v|S|32,0!==S&&4!==S&&S!==w&&(this.#Wt|=64)}#re=[];#ne=!1;#oe(t){this.#ne=!1;const e=this.#re.slice();this.#re.length=0,e.forEach((e=>e(null,t)))}readdirCB(t,e=!1){if(!this.canReaddir())return void(e?t(null,[]):queueMicrotask((()=>t(null,[]))));const s=this.children();if(this.calledReaddir()){const i=s.slice(0,s.provisional);return void(e?t(null,i):queueMicrotask((()=>t(null,i))))}if(this.#re.push(t),this.#ne)return;this.#ne=!0;const i=this.fullpath();this.#mt.readdir(i,{withFileTypes:!0},((t,e)=>{if(t)this.#Yt(t.code),s.provisional=0;else{for(const t of e)this.#Qt(t,s);this.#Ht(s)}this.#oe(s.slice(0,s.provisional))}))}#he;async readdir(){if(!this.canReaddir())return[];const t=this.children();if(this.calledReaddir())return t.slice(0,t.provisional);const e=this.fullpath();if(this.#he)await this.#he;else{let s=()=>{};this.#he=new Promise((t=>s=t));try{for(const s of await this.#mt.promises.readdir(e,{withFileTypes:!0}))this.#Qt(s,t);this.#Ht(t)}catch(e){this.#Yt(e.code),t.provisional=0}this.#he=void 0,s()}return t.slice(0,t.provisional)}readdirSync(){if(!this.canReaddir())return[];const t=this.children();if(this.calledReaddir())return t.slice(0,t.provisional);const e=this.fullpath();try{for(const s of this.#mt.readdirSync(e,{withFileTypes:!0}))this.#Qt(s,t);this.#Ht(t)}catch(e){this.#Yt(e.code),t.provisional=0}return t.slice(0,t.provisional)}canReaddir(){if(704&this.#Wt)return!1;const t=b&this.#Wt;return 0===t||4===t||t===w}shouldWalk(t,e){return!(4&~this.#Wt)&&!(704&this.#Wt)&&!t.has(this)&&(!e||e(this))}async realpath(){if(this.#Ut)return this.#Ut;if(!(896&this.#Wt))try{const t=await this.#mt.promises.realpath(this.fullpath());return this.#Ut=this.resolve(t)}catch(t){this.#Jt()}}realpathSync(){if(this.#Ut)return this.#Ut;if(!(896&this.#Wt))try{const t=this.#mt.realpathSync(this.fullpath());return this.#Ut=this.resolve(t)}catch(t){this.#Jt()}}[P](t){if(t===this)return;t.isCWD=!1,this.isCWD=!0;const e=new Set([]);let s=[],i=this;for(;i&&i.parent;)e.add(i),i.#Bt=s.join(this.sep),i.#Nt=s.join("/"),i=i.parent,s.push("..");for(i=t;i&&i.parent&&!e.has(i);)i.#Bt=void 0,i.#Nt=void 0,i=i.parent}}e.PathBase=R;class F extends R{sep="\\";splitSep=y;constructor(t,e=0,s,i,r,n,o){super(t,e,s,i,r,n,o)}newChild(t,e=0,s={}){return new F(t,e,this.root,this.roots,this.nocase,this.childrenCache(),s)}getRootString(t){return h.win32.parse(t).root}getRoot(t){if((t=(t=>t.replace(/\//g,"\\").replace(m,"$1\\"))(t.toUpperCase()))===this.root.name)return this.root;for(const[e,s]of Object.entries(this.roots))if(this.sameRoot(t,e))return this.roots[t]=s;return this.roots[t]=new D(t,this).root}sameRoot(t,e=this.root.name){return(t=t.toUpperCase().replace(/\//g,"\\").replace(m,"$1\\"))===e}}e.PathWin32=F;class _ extends R{splitSep="/";sep="/";constructor(t,e=0,s,i,r,n,o){super(t,e,s,i,r,n,o)}getRootString(t){return t.startsWith("/")?"/":""}getRoot(t){return this.root}newChild(t,e=0,s={}){return new _(t,e,this.root,this.roots,this.nocase,this.childrenCache(),s)}}e.PathPosix=_;class z{root;rootPath;roots;cwd;#ae;#le;#Gt;nocase;#mt;constructor(t=process.cwd(),e,s,{nocase:i,childrenCacheSize:r=16384,fs:n=f}={}){this.#mt=g(n),(t instanceof URL||t.startsWith("file://"))&&(t=(0,a.fileURLToPath)(t));const o=e.resolve(t);this.roots=Object.create(null),this.rootPath=this.parseRootPath(o),this.#ae=new C,this.#le=new C,this.#Gt=new M(r);const h=o.substring(this.rootPath.length).split(s);if(1!==h.length||h[0]||h.pop(),void 0===i)throw new TypeError("must provide nocase setting to PathScurryBase ctor");this.nocase=i,this.root=this.newRoot(this.#mt),this.roots[this.rootPath]=this.root;let l=this.root,c=h.length-1;const p=e.sep;let d=this.rootPath,u=!1;for(const t of h){const e=c--;l=l.child(t,{relative:new Array(e).fill("..").join(p),relativePosix:new Array(e).fill("..").join("/"),fullpath:d+=(u?"":p)+t}),u=!0}this.cwd=l}depth(t=this.cwd){return"string"==typeof t&&(t=this.cwd.resolve(t)),t.depth()}childrenCache(){return this.#Gt}resolve(...t){let e="";for(let s=t.length-1;s>=0;s--){const i=t[s];if(i&&"."!==i&&(e=e?`${i}/${e}`:i,this.isAbsolute(i)))break}const s=this.#ae.get(e);if(void 0!==s)return s;const i=this.cwd.resolve(e).fullpath();return this.#ae.set(e,i),i}resolvePosix(...t){let e="";for(let s=t.length-1;s>=0;s--){const i=t[s];if(i&&"."!==i&&(e=e?`${i}/${e}`:i,this.isAbsolute(i)))break}const s=this.#le.get(e);if(void 0!==s)return s;const i=this.cwd.resolve(e).fullpathPosix();return this.#le.set(e,i),i}relative(t=this.cwd){return"string"==typeof t&&(t=this.cwd.resolve(t)),t.relative()}relativePosix(t=this.cwd){return"string"==typeof t&&(t=this.cwd.resolve(t)),t.relativePosix()}basename(t=this.cwd){return"string"==typeof t&&(t=this.cwd.resolve(t)),t.name}dirname(t=this.cwd){return"string"==typeof t&&(t=this.cwd.resolve(t)),(t.parent||t).fullpath()}async readdir(t=this.cwd,e={withFileTypes:!0}){"string"==typeof t?t=this.cwd.resolve(t):t instanceof R||(e=t,t=this.cwd);const{withFileTypes:s}=e;if(t.canReaddir()){const e=await t.readdir();return s?e:e.map((t=>t.name))}return[]}readdirSync(t=this.cwd,e={withFileTypes:!0}){"string"==typeof t?t=this.cwd.resolve(t):t instanceof R||(e=t,t=this.cwd);const{withFileTypes:s=!0}=e;return t.canReaddir()?s?t.readdirSync():t.readdirSync().map((t=>t.name)):[]}async lstat(t=this.cwd){return"string"==typeof t&&(t=this.cwd.resolve(t)),t.lstat()}lstatSync(t=this.cwd){return"string"==typeof t&&(t=this.cwd.resolve(t)),t.lstatSync()}async readlink(t=this.cwd,{withFileTypes:e}={withFileTypes:!1}){"string"==typeof t?t=this.cwd.resolve(t):t instanceof R||(e=t.withFileTypes,t=this.cwd);const s=await t.readlink();return e?s:s?.fullpath()}readlinkSync(t=this.cwd,{withFileTypes:e}={withFileTypes:!1}){"string"==typeof t?t=this.cwd.resolve(t):t instanceof R||(e=t.withFileTypes,t=this.cwd);const s=t.readlinkSync();return e?s:s?.fullpath()}async realpath(t=this.cwd,{withFileTypes:e}={withFileTypes:!1}){"string"==typeof t?t=this.cwd.resolve(t):t instanceof R||(e=t.withFileTypes,t=this.cwd);const s=await t.realpath();return e?s:s?.fullpath()}realpathSync(t=this.cwd,{withFileTypes:e}={withFileTypes:!1}){"string"==typeof t?t=this.cwd.resolve(t):t instanceof R||(e=t.withFileTypes,t=this.cwd);const s=t.realpathSync();return e?s:s?.fullpath()}async walk(t=this.cwd,e={}){"string"==typeof t?t=this.cwd.resolve(t):t instanceof R||(e=t,t=this.cwd);const{withFileTypes:s=!0,follow:i=!1,filter:r,walkFilter:n}=e,o=[];r&&!r(t)||o.push(s?t:t.fullpath());const h=new Set,a=(t,e)=>{h.add(t),t.readdirCB(((t,l)=>{if(t)return e(t);let c=l.length;if(!c)return e();const p=()=>{0==--c&&e()};for(const t of l)r&&!r(t)||o.push(s?t:t.fullpath()),i&&t.isSymbolicLink()?t.realpath().then((t=>t?.isUnknown()?t.lstat():t)).then((t=>t?.shouldWalk(h,n)?a(t,p):p())):t.shouldWalk(h,n)?a(t,p):p()}),!0)},l=t;return new Promise(((t,e)=>{a(l,(s=>{if(s)return e(s);t(o)}))}))}walkSync(t=this.cwd,e={}){"string"==typeof t?t=this.cwd.resolve(t):t instanceof R||(e=t,t=this.cwd);const{withFileTypes:s=!0,follow:i=!1,filter:r,walkFilter:n}=e,o=[];r&&!r(t)||o.push(s?t:t.fullpath());const h=new Set([t]);for(const t of h){const e=t.readdirSync();for(const t of e){r&&!r(t)||o.push(s?t:t.fullpath());let e=t;if(t.isSymbolicLink()){if(!i||!(e=t.realpathSync()))continue;e.isUnknown()&&e.lstatSync()}e.shouldWalk(h,n)&&h.add(e)}}return o}[Symbol.asyncIterator](){return this.iterate()}iterate(t=this.cwd,e={}){return"string"==typeof t?t=this.cwd.resolve(t):t instanceof R||(e=t,t=this.cwd),this.stream(t,e)[Symbol.asyncIterator]()}[Symbol.iterator](){return this.iterateSync()}*iterateSync(t=this.cwd,e={}){"string"==typeof t?t=this.cwd.resolve(t):t instanceof R||(e=t,t=this.cwd);const{withFileTypes:s=!0,follow:i=!1,filter:r,walkFilter:n}=e;r&&!r(t)||(yield s?t:t.fullpath());const o=new Set([t]);for(const t of o){const e=t.readdirSync();for(const t of e){r&&!r(t)||(yield s?t:t.fullpath());let e=t;if(t.isSymbolicLink()){if(!i||!(e=t.realpathSync()))continue;e.isUnknown()&&e.lstatSync()}e.shouldWalk(o,n)&&o.add(e)}}}stream(t=this.cwd,e={}){"string"==typeof t?t=this.cwd.resolve(t):t instanceof R||(e=t,t=this.cwd);const{withFileTypes:s=!0,follow:i=!1,filter:r,walkFilter:n}=e,o=new u.Minipass({objectMode:!0});r&&!r(t)||o.write(s?t:t.fullpath());const h=new Set,a=[t];let l=0;const c=()=>{let t=!1;for(;!t;){const e=a.shift();if(!e)return void(0===l&&o.end());l++,h.add(e);const p=(e,u,f=!1)=>{if(e)return o.emit("error",e);if(i&&!f){const t=[];for(const e of u)e.isSymbolicLink()&&t.push(e.realpath().then((t=>t?.isUnknown()?t.lstat():t)));if(t.length)return void Promise.all(t).then((()=>p(null,u,!0)))}for(const e of u)!e||r&&!r(e)||o.write(s?e:e.fullpath())||(t=!0);l--;for(const t of u){const e=t.realpathCached()||t;e.shouldWalk(h,n)&&a.push(e)}t&&!o.flowing?o.once("drain",c):d||c()};let d=!0;e.readdirCB(p,!0),d=!1}};return c(),o}streamSync(t=this.cwd,e={}){"string"==typeof t?t=this.cwd.resolve(t):t instanceof R||(e=t,t=this.cwd);const{withFileTypes:s=!0,follow:i=!1,filter:r,walkFilter:n}=e,o=new u.Minipass({objectMode:!0}),h=new Set;r&&!r(t)||o.write(s?t:t.fullpath());const a=[t];let l=0;const c=()=>{let t=!1;for(;!t;){const e=a.shift();if(!e)return void(0===l&&o.end());l++,h.add(e);const c=e.readdirSync();for(const e of c)r&&!r(e)||o.write(s?e:e.fullpath())||(t=!0);l--;for(const t of c){let e=t;if(t.isSymbolicLink()){if(!i||!(e=t.realpathSync()))continue;e.isUnknown()&&e.lstatSync()}e.shouldWalk(h,n)&&a.push(e)}}t&&!o.flowing&&o.once("drain",c)};return c(),o}chdir(t=this.cwd){const e=this.cwd;this.cwd="string"==typeof t?this.cwd.resolve(t):t,this.cwd[P](e)}}e.PathScurryBase=z;class D extends z{sep="\\";constructor(t=process.cwd(),e={}){const{nocase:s=!0}=e;super(t,h.win32,"\\",{...e,nocase:s}),this.nocase=s;for(let t=this.cwd;t;t=t.parent)t.nocase=this.nocase}parseRootPath(t){return h.win32.parse(t).root.toUpperCase()}newRoot(t){return new F(this.rootPath,4,void 0,this.roots,this.nocase,this.childrenCache(),{fs:t})}isAbsolute(t){return t.startsWith("/")||t.startsWith("\\")||/^[a-z]:(\/|\\)/i.test(t)}}e.PathScurryWin32=D;class j extends z{sep="/";constructor(t=process.cwd(),e={}){const{nocase:s=!1}=e;super(t,h.posix,"/",{...e,nocase:s}),this.nocase=s}parseRootPath(t){return"/"}newRoot(t){return new _(this.rootPath,4,void 0,this.roots,this.nocase,this.childrenCache(),{fs:t})}isAbsolute(t){return t.startsWith("/")}}e.PathScurryPosix=j;class B extends j{constructor(t=process.cwd(),e={}){const{nocase:s=!0}=e;super(t,{...e,nocase:s})}}e.PathScurryDarwin=B,e.Path="win32"===process.platform?F:_,e.PathScurry="win32"===process.platform?D:"darwin"===process.platform?B:j}},e={};var s=function s(i){var r=e[i];if(void 0!==r)return r.exports;var n=e[i]={exports:{}};return t[i].call(n.exports,n,n.exports,s),n.exports}(207),i=exports;for(var r in s)i[r]=s[r];s.__esModule&&Object.defineProperty(i,"__esModule",{value:!0})})();
|
package/sys/node/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
Stencil Node System v4.18.2
|
|
2
|
+
Stencil Node System v4.18.2 | MIT Licensed | https://stenciljs.com
|
|
3
3
|
*/
|
|
4
4
|
"use strict";var bi=Object.create;var $t=Object.defineProperty;var Ei=Object.getOwnPropertyDescriptor;var Ti=Object.getOwnPropertyNames;var xi=Object.getPrototypeOf,Ci=Object.prototype.hasOwnProperty;var he=(n,t)=>()=>(t||n((t={exports:{}}).exports,t),t.exports),Sr=(n,t)=>{for(var e in t)$t(n,e,{get:t[e],enumerable:!0})},Lr=(n,t,e,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Ti(t))!Ci.call(n,i)&&i!==e&&$t(n,i,{get:()=>t[i],enumerable:!(r=Ei(t,i))||r.enumerable});return n};var ve=(n,t,e)=>(e=n!=null?bi(xi(n)):{},Lr(t||!n||!n.__esModule?$t(e,"default",{value:n,enumerable:!0}):e,n)),Si=n=>Lr($t({},"__esModule",{value:!0}),n);var Dr=he((Ao,Dt)=>{"use strict";var Li=typeof process<"u"&&process.env.TERM_PROGRAM==="Hyper",Oi=typeof process<"u"&&process.platform==="win32",Or=typeof process<"u"&&process.platform==="linux",_t={ballotDisabled:"\u2612",ballotOff:"\u2610",ballotOn:"\u2611",bullet:"\u2022",bulletWhite:"\u25E6",fullBlock:"\u2588",heart:"\u2764",identicalTo:"\u2261",line:"\u2500",mark:"\u203B",middot:"\xB7",minus:"\uFF0D",multiplication:"\xD7",obelus:"\xF7",pencilDownRight:"\u270E",pencilRight:"\u270F",pencilUpRight:"\u2710",percent:"%",pilcrow2:"\u2761",pilcrow:"\xB6",plusMinus:"\xB1",question:"?",section:"\xA7",starsOff:"\u2606",starsOn:"\u2605",upDownArrow:"\u2195"},Ar=Object.assign({},_t,{check:"\u221A",cross:"\xD7",ellipsisLarge:"...",ellipsis:"...",info:"i",questionSmall:"?",pointer:">",pointerSmall:"\xBB",radioOff:"( )",radioOn:"(*)",warning:"\u203C"}),Rr=Object.assign({},_t,{ballotCross:"\u2718",check:"\u2714",cross:"\u2716",ellipsisLarge:"\u22EF",ellipsis:"\u2026",info:"\u2139",questionFull:"\uFF1F",questionSmall:"\uFE56",pointer:Or?"\u25B8":"\u276F",pointerSmall:Or?"\u2023":"\u203A",radioOff:"\u25EF",radioOn:"\u25C9",warning:"\u26A0"});Dt.exports=Oi&&!Li?Ar:Rr;Reflect.defineProperty(Dt.exports,"common",{enumerable:!1,value:_t});Reflect.defineProperty(Dt.exports,"windows",{enumerable:!1,value:Ar});Reflect.defineProperty(Dt.exports,"other",{enumerable:!1,value:Rr})});var wr=he((Ro,er)=>{"use strict";var Ai=n=>n!==null&&typeof n=="object"&&!Array.isArray(n),Ri=/[\u001b\u009b][[\]#;?()]*(?:(?:(?:[^\W_]*;?[^\W_]*)\u0007)|(?:(?:[0-9]{1,4}(;[0-9]{0,4})*)?[~0-9=<>cf-nqrtyA-PRZ]))/g,Di=()=>typeof process<"u"?process.env.FORCE_COLOR!=="0":!1,Pr=()=>{let n={enabled:Di(),visible:!0,styles:{},keys:{}},t=s=>{let l=s.open=`\x1B[${s.codes[0]}m`,a=s.close=`\x1B[${s.codes[1]}m`,d=s.regex=new RegExp(`\\u001b\\[${s.codes[1]}m`,"g");return s.wrap=(c,y)=>{c.includes(a)&&(c=c.replace(d,a+l));let h=l+c+a;return y?h.replace(/\r*\n/g,`${a}$&${l}`):h},s},e=(s,l,a)=>typeof s=="function"?s(l):s.wrap(l,a),r=(s,l)=>{if(s===""||s==null)return"";if(n.enabled===!1)return s;if(n.visible===!1)return"";let a=""+s,d=a.includes(`
|
|
5
5
|
`),c=l.length;for(c>0&&l.includes("unstyle")&&(l=[...new Set(["unstyle",...l])].reverse());c-- >0;)a=e(n.styles[l[c]],a,d);return a},i=(s,l,a)=>{n.styles[s]=t({name:s,codes:l}),(n.keys[a]||(n.keys[a]=[])).push(s),Reflect.defineProperty(n,s,{configurable:!0,enumerable:!0,set(c){n.alias(s,c)},get(){let c=y=>r(y,c.stack);return Reflect.setPrototypeOf(c,n),c.stack=this.stack?this.stack.concat(s):[s],c}})};return i("reset",[0,0],"modifier"),i("bold",[1,22],"modifier"),i("dim",[2,22],"modifier"),i("italic",[3,23],"modifier"),i("underline",[4,24],"modifier"),i("inverse",[7,27],"modifier"),i("hidden",[8,28],"modifier"),i("strikethrough",[9,29],"modifier"),i("black",[30,39],"color"),i("red",[31,39],"color"),i("green",[32,39],"color"),i("yellow",[33,39],"color"),i("blue",[34,39],"color"),i("magenta",[35,39],"color"),i("cyan",[36,39],"color"),i("white",[37,39],"color"),i("gray",[90,39],"color"),i("grey",[90,39],"color"),i("bgBlack",[40,49],"bg"),i("bgRed",[41,49],"bg"),i("bgGreen",[42,49],"bg"),i("bgYellow",[43,49],"bg"),i("bgBlue",[44,49],"bg"),i("bgMagenta",[45,49],"bg"),i("bgCyan",[46,49],"bg"),i("bgWhite",[47,49],"bg"),i("blackBright",[90,39],"bright"),i("redBright",[91,39],"bright"),i("greenBright",[92,39],"bright"),i("yellowBright",[93,39],"bright"),i("blueBright",[94,39],"bright"),i("magentaBright",[95,39],"bright"),i("cyanBright",[96,39],"bright"),i("whiteBright",[97,39],"bright"),i("bgBlackBright",[100,49],"bgBright"),i("bgRedBright",[101,49],"bgBright"),i("bgGreenBright",[102,49],"bgBright"),i("bgYellowBright",[103,49],"bgBright"),i("bgBlueBright",[104,49],"bgBright"),i("bgMagentaBright",[105,49],"bgBright"),i("bgCyanBright",[106,49],"bgBright"),i("bgWhiteBright",[107,49],"bgBright"),n.ansiRegex=Ri,n.hasColor=n.hasAnsi=s=>(n.ansiRegex.lastIndex=0,typeof s=="string"&&s!==""&&n.ansiRegex.test(s)),n.alias=(s,l)=>{let a=typeof l=="string"?n[l]:l;if(typeof a!="function")throw new TypeError("Expected alias to be the name of an existing color (string) or a function");a.stack||(Reflect.defineProperty(a,"name",{value:s}),n.styles[s]=a,a.stack=[s]),Reflect.defineProperty(n,s,{configurable:!0,enumerable:!0,set(d){n.alias(s,d)},get(){let d=c=>r(c,d.stack);return Reflect.setPrototypeOf(d,n),d.stack=this.stack?this.stack.concat(a.stack):a.stack,d}})},n.theme=s=>{if(!Ai(s))throw new TypeError("Expected theme to be an object");for(let l of Object.keys(s))n.alias(l,s[l]);return n},n.alias("unstyle",s=>typeof s=="string"&&s!==""?(n.ansiRegex.lastIndex=0,s.replace(n.ansiRegex,"")):""),n.alias("noop",s=>s),n.none=n.clear=n.noop,n.stripColor=n.unstyle,n.symbols=Dr(),n.define=i,n};er.exports=Pr();er.exports.create=Pr});var Wr=he((bl,Gr)=>{Gr.exports=function(n){var t={};function e(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return n[r].call(i.exports,i,i.exports,e),i.l=!0,i.exports}return e.m=n,e.c=t,e.i=function(r){return r},e.d=function(r,i,s){e.o(r,i)||Object.defineProperty(r,i,{configurable:!1,enumerable:!0,get:s})},e.n=function(r){var i=r&&r.__esModule?function(){return r.default}:function(){return r};return e.d(i,"a",i),i},e.o=function(r,i){return Object.prototype.hasOwnProperty.call(r,i)},e.p="",e(e.s=14)}([function(n,t){n.exports=require("path")},function(n,t,e){"use strict";t.__esModule=!0;var r=e(173),i=s(r);function s(l){return l&&l.__esModule?l:{default:l}}t.default=function(l){return function(){var a=l.apply(this,arguments);return new i.default(function(d,c){function y(h,A){try{var x=a[h](A),g=x.value}catch(C){c(C);return}if(x.done)d(g);else return i.default.resolve(g).then(function(C){y("next",C)},function(C){y("throw",C)})}return y("next")})}}},function(n,t){n.exports=require("util")},function(n,t){n.exports=require("fs")},function(n,t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0});class r extends Error{constructor(c,y){super(c),this.code=y}}t.MessageError=r;class i extends r{constructor(c,y,h){super(c,y),this.process=h}}t.ProcessSpawnError=i;class s extends r{}t.SecurityError=s;class l extends r{}t.ProcessTermError=l;class a extends Error{constructor(c,y){super(c),this.responseCode=y}}t.ResponseError=a},function(n,t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getFirstSuitableFolder=t.readFirstAvailableStream=t.makeTempDir=t.hardlinksWork=t.writeFilePreservingEol=t.getFileSizeOnDisk=t.walk=t.symlink=t.find=t.readJsonAndFile=t.readJson=t.readFileAny=t.hardlinkBulk=t.copyBulk=t.unlink=t.glob=t.link=t.chmod=t.lstat=t.exists=t.mkdirp=t.stat=t.access=t.rename=t.readdir=t.realpath=t.readlink=t.writeFile=t.open=t.readFileBuffer=t.lockQueue=t.constants=void 0;var r;function i(){return r=B(e(1))}let s=(()=>{var K=(0,(r||i()).default)(function*(G,U,j,V){let te=(()=>{var se=(0,(r||i()).default)(function*(Le){let ge=Le.src,re=Le.dest,Rt=Le.type,He=Le.onFresh||Je,ye=Le.onDone||Je;if(oe.has(re.toLowerCase())?V.verbose(`The case-insensitive file ${re} shouldn't be copied twice in one bulk copy`):oe.add(re.toLowerCase()),Rt==="symlink"){yield Ee((o||u()).default.dirname(re)),He(),Re.symlink.push({dest:re,linkname:ge}),ye();return}if(U.ignoreBasenames.indexOf((o||u()).default.basename(ge))>=0)return;let be=yield Ce(ge),rt;be.isDirectory()&&(rt=yield Se(ge));let Ne;try{Ne=yield Ce(re)}catch(ke){if(ke.code!=="ENOENT")throw ke}if(Ne){let ke=be.isSymbolicLink()&&Ne.isSymbolicLink(),nt=be.isDirectory()&&Ne.isDirectory(),qe=be.isFile()&&Ne.isFile();if(qe&&de.has(re)){ye(),V.verbose(V.lang("verboseFileSkipArtifact",ge));return}if(qe&&be.size===Ne.size&&(0,(X||Q()).fileDatesEqual)(be.mtime,Ne.mtime)){ye(),V.verbose(V.lang("verboseFileSkip",ge,re,be.size,+be.mtime));return}if(ke){let Oe=yield ae(ge);if(Oe===(yield ae(re))){ye(),V.verbose(V.lang("verboseFileSkipSymlink",ge,re,Oe));return}}if(nt){let Oe=yield Se(re);yt(rt,"src files not initialised");for(var Ye=Oe,lt=Array.isArray(Ye),je=0,Ye=lt?Ye:Ye[Symbol.iterator]();;){var Et;if(lt){if(je>=Ye.length)break;Et=Ye[je++]}else{if(je=Ye.next(),je.done)break;Et=je.value}let ft=Et;if(rt.indexOf(ft)<0){let it=(o||u()).default.join(re,ft);if(j.add(it),(yield Ce(it)).isDirectory())for(var Qe=yield Se(it),ut=Array.isArray(Qe),Ue=0,Qe=ut?Qe:Qe[Symbol.iterator]();;){var Tt;if(ut){if(Ue>=Qe.length)break;Tt=Qe[Ue++]}else{if(Ue=Qe.next(),Ue.done)break;Tt=Ue.value}let qt=Tt;j.add((o||u()).default.join(it,qt))}}}}}if(Ne&&Ne.isSymbolicLink()&&(yield(0,(X||Q()).unlink)(re),Ne=null),be.isSymbolicLink()){He();let ke=yield ae(ge);Re.symlink.push({dest:re,linkname:ke}),ye()}else if(be.isDirectory()){Ne||(V.verbose(V.lang("verboseFileFolder",re)),yield Ee(re));let ke=re.split((o||u()).default.sep);for(;ke.length;)oe.add(ke.join((o||u()).default.sep).toLowerCase()),ke.pop();yt(rt,"src files not initialised");let nt=rt.length;nt||ye();for(var Ze=rt,ct=Array.isArray(Ze),Xe=0,Ze=ct?Ze:Ze[Symbol.iterator]();;){var we;if(ct){if(Xe>=Ze.length)break;we=Ze[Xe++]}else{if(Xe=Ze.next(),Xe.done)break;we=Xe.value}let qe=we;G.push({dest:(o||u()).default.join(re,qe),onFresh:He,onDone:function(Oe){function ft(){return Oe.apply(this,arguments)}return ft.toString=function(){return Oe.toString()},ft}(function(){--nt===0&&ye()}),src:(o||u()).default.join(ge,qe)})}}else if(be.isFile())He(),Re.file.push({src:ge,dest:re,atime:be.atime,mtime:be.mtime,mode:be.mode}),ye();else throw new Error(`unsure how to copy this: ${ge}`)});return function(ge){return se.apply(this,arguments)}})(),de=new Set(U.artifactFiles||[]),oe=new Set;for(var ie=G,le=Array.isArray(ie),ne=0,ie=le?ie:ie[Symbol.iterator]();;){var $e;if(le){if(ne>=ie.length)break;$e=ie[ne++]}else{if(ne=ie.next(),ne.done)break;$e=ne.value}let se=$e,Le=se.onDone;se.onDone=function(){U.onProgress(se.dest),Le&&Le()}}U.onStart(G.length);let Re={file:[],symlink:[],link:[]};for(;G.length;){let se=G.splice(0,dt);yield Promise.all(se.map(te))}for(var De=de,at=Array.isArray(De),ze=0,De=at?De:De[Symbol.iterator]();;){var gt;if(at){if(ze>=De.length)break;gt=De[ze++]}else{if(ze=De.next(),ze.done)break;gt=ze.value}let se=gt;j.has(se)&&(V.verbose(V.lang("verboseFilePhantomExtraneous",se)),j.delete(se))}for(var Pe=j,At=Array.isArray(Pe),Ke=0,Pe=At?Pe:Pe[Symbol.iterator]();;){var pt;if(At){if(Ke>=Pe.length)break;pt=Pe[Ke++]}else{if(Ke=Pe.next(),Ke.done)break;pt=Ke.value}let se=pt;oe.has(se.toLowerCase())&&j.delete(se)}return Re});return function(U,j,V,te){return K.apply(this,arguments)}})(),l=(()=>{var K=(0,(r||i()).default)(function*(G,U,j,V){let te=(()=>{var se=(0,(r||i()).default)(function*(Le){let ge=Le.src,re=Le.dest,Rt=Le.onFresh||Je,He=Le.onDone||Je;if(oe.has(re.toLowerCase())){He();return}if(oe.add(re.toLowerCase()),U.ignoreBasenames.indexOf((o||u()).default.basename(ge))>=0)return;let ye=yield Ce(ge),be;ye.isDirectory()&&(be=yield Se(ge));let rt=yield We(re);if(rt){let we=yield Ce(re),ke=ye.isSymbolicLink()&&we.isSymbolicLink(),nt=ye.isDirectory()&&we.isDirectory(),qe=ye.isFile()&&we.isFile();if(ye.mode!==we.mode)try{yield Te(re,ye.mode)}catch(Oe){V.verbose(Oe)}if(qe&&de.has(re)){He(),V.verbose(V.lang("verboseFileSkipArtifact",ge));return}if(qe&&ye.ino!==null&&ye.ino===we.ino){He(),V.verbose(V.lang("verboseFileSkip",ge,re,ye.ino));return}if(ke){let Oe=yield ae(ge);if(Oe===(yield ae(re))){He(),V.verbose(V.lang("verboseFileSkipSymlink",ge,re,Oe));return}}if(nt){let Oe=yield Se(re);yt(be,"src files not initialised");for(var je=Oe,Ne=Array.isArray(je),lt=0,je=Ne?je:je[Symbol.iterator]();;){var Ye;if(Ne){if(lt>=je.length)break;Ye=je[lt++]}else{if(lt=je.next(),lt.done)break;Ye=lt.value}let ft=Ye;if(be.indexOf(ft)<0){let it=(o||u()).default.join(re,ft);if(j.add(it),(yield Ce(it)).isDirectory())for(var Ue=yield Se(it),Et=Array.isArray(Ue),ut=0,Ue=Et?Ue:Ue[Symbol.iterator]();;){var Qe;if(Et){if(ut>=Ue.length)break;Qe=Ue[ut++]}else{if(ut=Ue.next(),ut.done)break;Qe=ut.value}let qt=Qe;j.add((o||u()).default.join(it,qt))}}}}}if(ye.isSymbolicLink()){Rt();let we=yield ae(ge);Re.symlink.push({dest:re,linkname:we}),He()}else if(ye.isDirectory()){V.verbose(V.lang("verboseFileFolder",re)),yield Ee(re);let we=re.split((o||u()).default.sep);for(;we.length;)oe.add(we.join((o||u()).default.sep).toLowerCase()),we.pop();yt(be,"src files not initialised");let ke=be.length;ke||He();for(var Xe=be,Tt=Array.isArray(Xe),ct=0,Xe=Tt?Xe:Xe[Symbol.iterator]();;){var Ze;if(Tt){if(ct>=Xe.length)break;Ze=Xe[ct++]}else{if(ct=Xe.next(),ct.done)break;Ze=ct.value}let nt=Ze;G.push({onFresh:Rt,src:(o||u()).default.join(ge,nt),dest:(o||u()).default.join(re,nt),onDone:function(qe){function Oe(){return qe.apply(this,arguments)}return Oe.toString=function(){return qe.toString()},Oe}(function(){--ke===0&&He()})})}}else if(ye.isFile())Rt(),Re.link.push({src:ge,dest:re,removeDest:rt}),He();else throw new Error(`unsure how to copy this: ${ge}`)});return function(ge){return se.apply(this,arguments)}})(),de=new Set(U.artifactFiles||[]),oe=new Set;for(var ie=G,le=Array.isArray(ie),ne=0,ie=le?ie:ie[Symbol.iterator]();;){var $e;if(le){if(ne>=ie.length)break;$e=ie[ne++]}else{if(ne=ie.next(),ne.done)break;$e=ne.value}let se=$e,Le=se.onDone||Je;se.onDone=function(){U.onProgress(se.dest),Le()}}U.onStart(G.length);let Re={file:[],symlink:[],link:[]};for(;G.length;){let se=G.splice(0,dt);yield Promise.all(se.map(te))}for(var De=de,at=Array.isArray(De),ze=0,De=at?De:De[Symbol.iterator]();;){var gt;if(at){if(ze>=De.length)break;gt=De[ze++]}else{if(ze=De.next(),ze.done)break;gt=ze.value}let se=gt;j.has(se)&&(V.verbose(V.lang("verboseFilePhantomExtraneous",se)),j.delete(se))}for(var Pe=j,At=Array.isArray(Pe),Ke=0,Pe=At?Pe:Pe[Symbol.iterator]();;){var pt;if(At){if(Ke>=Pe.length)break;pt=Pe[Ke++]}else{if(Ke=Pe.next(),Ke.done)break;pt=Ke.value}let se=pt;oe.has(se.toLowerCase())&&j.delete(se)}return Re});return function(U,j,V,te){return K.apply(this,arguments)}})(),a=t.copyBulk=(()=>{var K=(0,(r||i()).default)(function*(G,U,j){let V={onStart:j&&j.onStart||Je,onProgress:j&&j.onProgress||Je,possibleExtraneous:j?j.possibleExtraneous:new Set,ignoreBasenames:j&&j.ignoreBasenames||[],artifactFiles:j&&j.artifactFiles||[]},te=yield s(G,V,V.possibleExtraneous,U);V.onStart(te.file.length+te.symlink.length+te.link.length);let de=te.file,oe=new Map;yield(b||L()).queue(de,(()=>{var ne=(0,(r||i()).default)(function*(ie){let $e;for(;$e=oe.get(ie.dest);)yield $e;U.verbose(U.lang("verboseFileCopy",ie.src,ie.dest));let Re=(0,(X||Q()).copyFile)(ie,function(){return oe.delete(ie.dest)});return oe.set(ie.dest,Re),V.onProgress(ie.dest),Re});return function(ie){return ne.apply(this,arguments)}})(),dt);let le=te.symlink;yield(b||L()).queue(le,function(ne){let ie=(o||u()).default.resolve((o||u()).default.dirname(ne.dest),ne.linkname);return U.verbose(U.lang("verboseFileSymlink",ne.dest,ie)),x(ie,ne.dest)})});return function(U,j,V){return K.apply(this,arguments)}})(),d=t.hardlinkBulk=(()=>{var K=(0,(r||i()).default)(function*(G,U,j){let V={onStart:j&&j.onStart||Je,onProgress:j&&j.onProgress||Je,possibleExtraneous:j?j.possibleExtraneous:new Set,artifactFiles:j&&j.artifactFiles||[],ignoreBasenames:[]},te=yield l(G,V,V.possibleExtraneous,U);V.onStart(te.file.length+te.symlink.length+te.link.length);let de=te.link;yield(b||L()).queue(de,(()=>{var le=(0,(r||i()).default)(function*(ne){U.verbose(U.lang("verboseFileLink",ne.src,ne.dest)),ne.removeDest&&(yield(0,(X||Q()).unlink)(ne.dest)),yield Mt(ne.src,ne.dest)});return function(ne){return le.apply(this,arguments)}})(),dt);let oe=te.symlink;yield(b||L()).queue(oe,function(le){let ne=(o||u()).default.resolve((o||u()).default.dirname(le.dest),le.linkname);return U.verbose(U.lang("verboseFileSymlink",le.dest,ne)),x(ne,le.dest)})});return function(U,j,V){return K.apply(this,arguments)}})(),c=t.readFileAny=(()=>{var K=(0,(r||i()).default)(function*(G){for(var V=G,U=Array.isArray(V),j=0,V=U?V:V[Symbol.iterator]();;){var te;if(U){if(j>=V.length)break;te=V[j++]}else{if(j=V.next(),j.done)break;te=j.value}let de=te;if(yield We(de))return Zt(de)}return null});return function(U){return K.apply(this,arguments)}})(),y=t.readJson=(()=>{var K=(0,(r||i()).default)(function*(G){return(yield h(G)).object});return function(U){return K.apply(this,arguments)}})(),h=t.readJsonAndFile=(()=>{var K=(0,(r||i()).default)(function*(G){let U=yield Zt(G);try{return{object:(0,(F||H()).default)(JSON.parse(Ot(U))),content:U}}catch(j){throw j.message=`${G}: ${j.message}`,j}});return function(U){return K.apply(this,arguments)}})(),A=t.find=(()=>{var K=(0,(r||i()).default)(function*(G,U){let j=U.split((o||u()).default.sep);for(;j.length;){let V=j.concat(G).join((o||u()).default.sep);if(yield We(V))return V;j.pop()}return!1});return function(U,j){return K.apply(this,arguments)}})(),x=t.symlink=(()=>{var K=(0,(r||i()).default)(function*(G,U){try{if((yield Ce(U)).isSymbolicLink()&&(yield Ae(U))===G)return}catch(j){if(j.code!=="ENOENT")throw j}if(yield(0,(X||Q()).unlink)(U),process.platform==="win32")yield Ft(G,U,"junction");else{let j;try{j=(o||u()).default.relative((E||S()).default.realpathSync((o||u()).default.dirname(U)),(E||S()).default.realpathSync(G))}catch(V){if(V.code!=="ENOENT")throw V;j=(o||u()).default.relative((o||u()).default.dirname(U),G)}yield Ft(j||".",U)}});return function(U,j){return K.apply(this,arguments)}})(),g=t.walk=(()=>{var K=(0,(r||i()).default)(function*(G,U,j=new Set){let V=[],te=yield Se(G);j.size&&(te=te.filter(function(ie){return!j.has(ie)}));for(var le=te,de=Array.isArray(le),oe=0,le=de?le:le[Symbol.iterator]();;){var ne;if(de){if(oe>=le.length)break;ne=le[oe++]}else{if(oe=le.next(),oe.done)break;ne=oe.value}let ie=ne,$e=U?(o||u()).default.join(U,ie):ie,Re=(o||u()).default.join(G,ie),at=yield Ce(Re);V.push({relative:$e,basename:ie,absolute:Re,mtime:+at.mtime}),at.isDirectory()&&(V=V.concat(yield g(Re,$e,j)))}return V});return function(U,j){return K.apply(this,arguments)}})(),C=t.getFileSizeOnDisk=(()=>{var K=(0,(r||i()).default)(function*(G){let U=yield Ce(G),j=U.size,V=U.blksize;return Math.ceil(j/V)*V});return function(U){return K.apply(this,arguments)}})(),T=(()=>{var K=(0,(r||i()).default)(function*(G){if(!(yield We(G)))return;let U=yield Y(G);for(let j=0;j<U.length;++j){if(U[j]===vi)return`\r
|
package/sys/node/package.json
CHANGED
package/sys/node/worker.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
Stencil Node System Worker v4.18.2
|
|
2
|
+
Stencil Node System Worker v4.18.2 | MIT Licensed | https://stenciljs.com
|
|
3
3
|
*/
|
|
4
4
|
"use strict";var f=Object.create;var d=Object.defineProperty;var p=Object.getOwnPropertyDescriptor;var E=Object.getOwnPropertyNames;var y=Object.getPrototypeOf,R=Object.prototype.hasOwnProperty;var g=(n,t,r,s)=>{if(t&&typeof t=="object"||typeof t=="function")for(let e of E(t))!R.call(n,e)&&e!==r&&d(n,e,{get:()=>t[e],enumerable:!(s=p(t,e))||s.enumerable});return n};var c=(n,t,r)=>(r=n!=null?f(y(n)):{},g(t||!n||!n.__esModule?d(r,"default",{value:n,enumerable:!0}):r,n));var l=c(require("../../compiler/stencil.js")),m=c(require("./index.js"));var a=(n,t)=>{let r=e=>{e&&e.code==="ERR_IPC_CHANNEL_CLOSED"&&n.exit(0)},s=(e,o)=>{let i={stencilId:e,stencilRtnValue:null,stencilRtnError:"Error"};typeof o=="string"?i.stencilRtnError+=": "+o:o&&(o.stack?i.stencilRtnError+=": "+o.stack:o.message&&(i.stencilRtnError+=":"+o.message)),n.send(i,r)};n.on("message",async e=>{if(e&&typeof e.stencilId=="number")try{let o={stencilId:e.stencilId,stencilRtnValue:await t(e),stencilRtnError:null};n.send(o,r)}catch(o){s(e.stencilId,o)}}),n.on("unhandledRejection",e=>{s(-1,e)})};var k=m.createNodeSys({process}),M=l.createWorkerMessageHandler(k);a(process,M);
|
package/testing/index.js
CHANGED