@shopify/create-hydrogen 5.0.11 → 5.0.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/hydrogen/starter/CHANGELOG.md +814 -0
- package/dist/assets/hydrogen/starter/app/components/Aside.tsx +1 -1
- package/dist/assets/hydrogen/starter/app/components/PaginatedResourceSection.tsx +3 -4
- package/dist/assets/hydrogen/starter/app/components/ProductForm.tsx +114 -44
- package/dist/assets/hydrogen/starter/app/components/SearchResults.tsx +8 -3
- package/dist/assets/hydrogen/starter/app/components/SearchResultsPredictive.tsx +6 -5
- package/dist/assets/hydrogen/starter/app/lib/variants.ts +3 -3
- package/dist/assets/hydrogen/starter/app/routes/account_.logout.tsx +1 -1
- package/dist/assets/hydrogen/starter/app/routes/cart.tsx +9 -16
- package/dist/assets/hydrogen/starter/app/routes/collections.$handle.tsx +1 -10
- package/dist/assets/hydrogen/starter/app/routes/collections.all.tsx +1 -10
- package/dist/assets/hydrogen/starter/app/routes/products.$handle.tsx +50 -119
- package/dist/assets/hydrogen/starter/app/routes/search.tsx +42 -38
- package/dist/assets/hydrogen/starter/app/styles/app.css +25 -1
- package/dist/assets/hydrogen/starter/guides/predictiveSearch/predictiveSearch.md +23 -20
- package/dist/assets/hydrogen/starter/guides/search/search.md +27 -25
- package/dist/assets/hydrogen/starter/package.json +3 -3
- package/dist/assets/hydrogen/starter/storefrontapi.generated.d.ts +177 -194
- package/dist/assets/hydrogen/tailwind/tailwind.css +1 -1
- package/dist/chunk-C2DNSDMB.js +3 -0
- package/dist/{chunk-VXN7NK7B.js → chunk-SLVYPPXU.js} +412 -412
- package/dist/create-app.js +209 -208
- package/dist/{del-QYPDQ7XQ.js → del-EAAITCBR.js} +4 -4
- package/dist/{error-handler-ICJOKWYN.js → error-handler-IG42X6FN.js} +1 -1
- package/dist/{morph-7M6DKEEJ.js → morph-ZB67FQMB.js} +4 -4
- package/package.json +1 -1
- package/dist/chunk-H55SNOVV.js +0 -3
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { createRequire as __createRequire } from 'module';globalThis.require = __createRequire(import.meta.url);
|
|
2
|
-
import{a as se}from"./chunk-PMDMUCNY.js";import{a as re,b as ne,c as ae,d as oe,e as Qt,f as ce}from"./chunk-H55SNOVV.js";import{a as ee}from"./chunk-EO6F7WJJ.js";import"./chunk-7NPI5OH3.js";import{a as ie}from"./chunk-RH6HNOXT.js";import{a as S,c as O,i as y}from"./chunk-MNT4XW23.js";var Ht=O((Ii,zt)=>{"use strict";y();var ue=S("path");zt.exports=t=>{let r=process.cwd();return t=ue.resolve(t),process.platform==="win32"&&(r=r.toLowerCase(),t=t.toLowerCase()),t===r}});var Zt=O((qi,Yt)=>{"use strict";y();var mt=S("path");Yt.exports=(t,r)=>{let e=mt.relative(r,t);return!!(e&&e!==".."&&!e.startsWith(`..${mt.sep}`)&&e!==mt.resolve(t))}});var Xt=O(gt=>{"use strict";y();var $=S("path"),R=process.platform==="win32",C=S("fs"),he=process.env.NODE_DEBUG&&/fs/.test(process.env.NODE_DEBUG);function le(){var t;if(he){var r=new Error;t=e}else t=i;return t;function e(n){n&&(r.message=n.message,n=r,i(n))}function i(n){if(n){if(process.throwDeprecation)throw n;if(!process.noDeprecation){var s="fs: missing callback "+(n.stack||n.message);process.traceDeprecation?console.trace(s):console.error(s)}}}}function fe(t){return typeof t=="function"?t:le()}var Mi=$.normalize;R?M=/(.*?)(?:[\/\\]+|$)/g:M=/(.*?)(?:[\/]+|$)/g;var M;R?Z=/^(?:[a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/][^\\\/]+)?[\\\/]*/:Z=/^[\/]*/;var Z;gt.realpathSync=function(r,e){if(r=$.resolve(r),e&&Object.prototype.hasOwnProperty.call(e,r))return e[r];var i=r,n={},s={},a,c,o,u;h();function h(){var g=Z.exec(r);a=g[0].length,c=g[0],o=g[0],u="",R&&!s[o]&&(C.lstatSync(o),s[o]=!0)}for(;a<r.length;){M.lastIndex=a;var v=M.exec(r);if(u=c,c+=v[0],o=u+v[1],a=M.lastIndex,!(s[o]||e&&e[o]===o)){var l;if(e&&Object.prototype.hasOwnProperty.call(e,o))l=e[o];else{var f=C.lstatSync(o);if(!f.isSymbolicLink()){s[o]=!0,e&&(e[o]=o);continue}var d=null;if(!R){var m=f.dev.toString(32)+":"+f.ino.toString(32);n.hasOwnProperty(m)&&(d=n[m])}d===null&&(C.statSync(o),d=C.readlinkSync(o)),l=$.resolve(u,d),e&&(e[o]=l),R||(n[m]=d)}r=$.resolve(l,r.slice(a)),h()}}return e&&(e[i]=r),r};gt.realpath=function(r,e,i){if(typeof i!="function"&&(i=fe(e),e=null),r=$.resolve(r),e&&Object.prototype.hasOwnProperty.call(e,r))return process.nextTick(i.bind(null,null,e[r]));var n=r,s={},a={},c,o,u,h;v();function v(){var g=Z.exec(r);c=g[0].length,o=g[0],u=g[0],h="",R&&!a[u]?C.lstat(u,function(E){if(E)return i(E);a[u]=!0,l()}):process.nextTick(l)}function l(){if(c>=r.length)return e&&(e[n]=r),i(null,r);M.lastIndex=c;var g=M.exec(r);return h=o,o+=g[0],u=h+g[1],c=M.lastIndex,a[u]||e&&e[u]===u?process.nextTick(l):e&&Object.prototype.hasOwnProperty.call(e,u)?m(e[u]):C.lstat(u,f)}function f(g,E){if(g)return i(g);if(!E.isSymbolicLink())return a[u]=!0,e&&(e[u]=u),process.nextTick(l);if(!R){var b=E.dev.toString(32)+":"+E.ino.toString(32);if(s.hasOwnProperty(b))return d(null,s[b],u)}C.stat(u,function(j){if(j)return i(j);C.readlink(u,function(k,q){R||(s[b]=q),d(k,q)})})}function d(g,E,b){if(g)return i(g);var j=$.resolve(h,E);e&&(e[b]=j),m(j)}function m(g){r=$.resolve(g,r.slice(c)),v()}}});var wt=O((Di,tr)=>{"use strict";y();tr.exports=D;D.realpath=D;D.sync=Et;D.realpathSync=Et;D.monkeypatch=ve;D.unmonkeypatch=me;var U=S("fs"),yt=U.realpath,pt=U.realpathSync,de=process.version,Kt=/^v[0-5]\./.test(de),Vt=Xt();function Jt(t){return t&&t.syscall==="realpath"&&(t.code==="ELOOP"||t.code==="ENOMEM"||t.code==="ENAMETOOLONG")}function D(t,r,e){if(Kt)return yt(t,r,e);typeof r=="function"&&(e=r,r=null),yt(t,r,function(i,n){Jt(i)?Vt.realpath(t,r,e):e(i,n)})}function Et(t,r){if(Kt)return pt(t,r);try{return pt(t,r)}catch(e){if(Jt(e))return Vt.realpathSync(t,r);throw e}}function ve(){U.realpath=D,U.realpathSync=Et}function me(){U.realpath=yt,U.realpathSync=pt}});var er=O((Gi,rr)=>{"use strict";y();rr.exports=function(t,r){for(var e=[],i=0;i<t.length;i++){var n=r(t[i],i);ge(n)?e.push.apply(e,n):e.push(n)}return e};var ge=Array.isArray||function(t){return Object.prototype.toString.call(t)==="[object Array]"}});var hr=O(($i,ur)=>{"use strict";y();var ye=er(),ir=ee();ur.exports=we;var nr="\0SLASH"+Math.random()+"\0",ar="\0OPEN"+Math.random()+"\0",St="\0CLOSE"+Math.random()+"\0",sr="\0COMMA"+Math.random()+"\0",or="\0PERIOD"+Math.random()+"\0";function bt(t){return parseInt(t,10)==t?parseInt(t,10):t.charCodeAt(0)}function pe(t){return t.split("\\\\").join(nr).split("\\{").join(ar).split("\\}").join(St).split("\\,").join(sr).split("\\.").join(or)}function Ee(t){return t.split(nr).join("\\").split(ar).join("{").split(St).join("}").split(sr).join(",").split(or).join(".")}function cr(t){if(!t)return[""];var r=[],e=ir("{","}",t);if(!e)return t.split(",");var i=e.pre,n=e.body,s=e.post,a=i.split(",");a[a.length-1]+="{"+n+"}";var c=cr(s);return s.length&&(a[a.length-1]+=c.shift(),a.push.apply(a,c)),r.push.apply(r,a),r}function we(t){return t?(t.substr(0,2)==="{}"&&(t="\\{\\}"+t.substr(2)),Q(pe(t),!0).map(Ee)):[]}function be(t){return"{"+t+"}"}function Se(t){return/^-?0\d/.test(t)}function _e(t,r){return t<=r}function ke(t,r){return t>=r}function Q(t,r){var e=[],i=ir("{","}",t);if(!i||/\$$/.test(i.pre))return[t];var n=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(i.body),s=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(i.body),a=n||s,c=i.body.indexOf(",")>=0;if(!a&&!c)return i.post.match(/,.*\}/)?(t=i.pre+"{"+i.body+St+i.post,Q(t)):[t];var o;if(a)o=i.body.split(/\.\./);else if(o=cr(i.body),o.length===1&&(o=Q(o[0],!1).map(be),o.length===1)){var h=i.post.length?Q(i.post,!1):[""];return h.map(function(lt){return i.pre+o[0]+lt})}var u=i.pre,h=i.post.length?Q(i.post,!1):[""],v;if(a){var l=bt(o[0]),f=bt(o[1]),d=Math.max(o[0].length,o[1].length),m=o.length==3?Math.abs(bt(o[2])):1,g=_e,E=f<l;E&&(m*=-1,g=ke);var b=o.some(Se);v=[];for(var j=l;g(j,f);j+=m){var k;if(s)k=String.fromCharCode(j),k==="\\"&&(k="");else if(k=String(j),b){var q=d-k.length;if(q>0){var rt=new Array(q+1).join("0");j<0?k="-"+rt+k.slice(1):k=rt+k}}v.push(k)}}else v=ye(o,function(et){return Q(et,!1)});for(var W=0;W<v.length;W++)for(var P=0;P<h.length;P++){var T=u+v[W]+h[P];(!r||a||T)&&e.push(T)}return e}});var at=O((xi,mr)=>{"use strict";y();mr.exports=I;I.Minimatch=A;var X=function(){try{return S("path")}catch{}}()||{sep:"/"};I.sep=X.sep;var Ot=I.GLOBSTAR=A.GLOBSTAR={},Oe=hr(),lr={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},_t="[^/]",kt=_t+"*?",Ae="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",je="(?:(?!(?:\\/|^)\\.).)*?",fr=Ie("().*{}+?[]^$\\!");function Ie(t){return t.split("").reduce(function(r,e){return r[e]=!0,r},{})}var dr=/\/+/;I.filter=Ne;function Ne(t,r){return r=r||{},function(e,i,n){return I(e,t,r)}}function L(t,r){r=r||{};var e={};return Object.keys(t).forEach(function(i){e[i]=t[i]}),Object.keys(r).forEach(function(i){e[i]=r[i]}),e}I.defaults=function(t){if(!t||typeof t!="object"||!Object.keys(t).length)return I;var r=I,e=function(n,s,a){return r(n,s,L(t,a))};return e.Minimatch=function(n,s){return new r.Minimatch(n,L(t,s))},e.Minimatch.defaults=function(n){return r.defaults(L(t,n)).Minimatch},e.filter=function(n,s){return r.filter(n,L(t,s))},e.defaults=function(n){return r.defaults(L(t,n))},e.makeRe=function(n,s){return r.makeRe(n,L(t,s))},e.braceExpand=function(n,s){return r.braceExpand(n,L(t,s))},e.match=function(i,n,s){return r.match(i,n,L(t,s))},e};A.defaults=function(t){return I.defaults(t).Minimatch};function I(t,r,e){return nt(r),e||(e={}),!e.nocomment&&r.charAt(0)==="#"?!1:new A(r,e).match(t)}function A(t,r){if(!(this instanceof A))return new A(t,r);nt(t),r||(r={}),t=t.trim(),!r.allowWindowsEscape&&X.sep!=="/"&&(t=t.split(X.sep).join("/")),this.options=r,this.set=[],this.pattern=t,this.regexp=null,this.negate=!1,this.comment=!1,this.empty=!1,this.partial=!!r.partial,this.make()}A.prototype.debug=function(){};A.prototype.make=qe;function qe(){var t=this.pattern,r=this.options;if(!r.nocomment&&t.charAt(0)==="#"){this.comment=!0;return}if(!t){this.empty=!0;return}this.parseNegate();var e=this.globSet=this.braceExpand();r.debug&&(this.debug=function(){console.error.apply(console,arguments)}),this.debug(this.pattern,e),e=this.globParts=e.map(function(i){return i.split(dr)}),this.debug(this.pattern,e),e=e.map(function(i,n,s){return i.map(this.parse,this)},this),this.debug(this.pattern,e),e=e.filter(function(i){return i.indexOf(!1)===-1}),this.debug(this.pattern,e),this.set=e}A.prototype.parseNegate=Te;function Te(){var t=this.pattern,r=!1,e=this.options,i=0;if(!e.nonegate){for(var n=0,s=t.length;n<s&&t.charAt(n)==="!";n++)r=!r,i++;i&&(this.pattern=t.substr(i)),this.negate=r}}I.braceExpand=function(t,r){return vr(t,r)};A.prototype.braceExpand=vr;function vr(t,r){return r||(this instanceof A?r=this.options:r={}),t=typeof t>"u"?this.pattern:t,nt(t),r.nobrace||!/\{(?:(?!\{).)*\}/.test(t)?[t]:Oe(t)}var Me=1024*64,nt=function(t){if(typeof t!="string")throw new TypeError("invalid pattern");if(t.length>Me)throw new TypeError("pattern is too long")};A.prototype.parse=Ce;var it={};function Ce(t,r){nt(t);var e=this.options;if(t==="**")if(e.noglobstar)t="*";else return Ot;if(t==="")return"";var i="",n=!!e.nocase,s=!1,a=[],c=[],o,u=!1,h=-1,v=-1,l=t.charAt(0)==="."?"":e.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",f=this;function d(){if(o){switch(o){case"*":i+=kt,n=!0;break;case"?":i+=_t,n=!0;break;default:i+="\\"+o;break}f.debug("clearStateChar %j %j",o,i),o=!1}}for(var m=0,g=t.length,E;m<g&&(E=t.charAt(m));m++){if(this.debug("%s %s %s %j",t,m,i,E),s&&fr[E]){i+="\\"+E,s=!1;continue}switch(E){case"/":return!1;case"\\":d(),s=!0;continue;case"?":case"*":case"+":case"@":case"!":if(this.debug("%s %s %s %j <-- stateChar",t,m,i,E),u){this.debug(" in class"),E==="!"&&m===v+1&&(E="^"),i+=E;continue}f.debug("call clearStateChar %j",o),d(),o=E,e.noext&&d();continue;case"(":if(u){i+="(";continue}if(!o){i+="\\(";continue}a.push({type:o,start:m-1,reStart:i.length,open:lr[o].open,close:lr[o].close}),i+=o==="!"?"(?:(?!(?:":"(?:",this.debug("plType %j %j",o,i),o=!1;continue;case")":if(u||!a.length){i+="\\)";continue}d(),n=!0;var b=a.pop();i+=b.close,b.type==="!"&&c.push(b),b.reEnd=i.length;continue;case"|":if(u||!a.length||s){i+="\\|",s=!1;continue}d(),i+="|";continue;case"[":if(d(),u){i+="\\"+E;continue}u=!0,v=m,h=i.length,i+=E;continue;case"]":if(m===v+1||!u){i+="\\"+E,s=!1;continue}var j=t.substring(v+1,m);try{RegExp("["+j+"]")}catch{var k=this.parse(j,it);i=i.substr(0,h)+"\\["+k[0]+"\\]",n=n||k[1],u=!1;continue}n=!0,u=!1,i+=E;continue;default:d(),s?s=!1:fr[E]&&!(E==="^"&&u)&&(i+="\\"),i+=E}}for(u&&(j=t.substr(v+1),k=this.parse(j,it),i=i.substr(0,h)+"\\["+k[0],n=n||k[1]),b=a.pop();b;b=a.pop()){var q=i.slice(b.reStart+b.open.length);this.debug("setting tail",i,b),q=q.replace(/((?:\\{2}){0,64})(\\?)\|/g,function(Wt,Ut,vt){return vt||(vt="\\"),Ut+Ut+vt+"|"}),this.debug(`tail=%j
|
|
2
|
+
import{a as oe}from"./chunk-PMDMUCNY.js";import{a as re,b as ne,c as ae,d as se,e as ce,f as Qt}from"./chunk-C2DNSDMB.js";import{a as ee}from"./chunk-EO6F7WJJ.js";import"./chunk-7NPI5OH3.js";import{a as ie}from"./chunk-RH6HNOXT.js";import{a as S,c as O,i as y}from"./chunk-MNT4XW23.js";var Ht=O((Ii,zt)=>{"use strict";y();var ue=S("path");zt.exports=t=>{let r=process.cwd();return t=ue.resolve(t),process.platform==="win32"&&(r=r.toLowerCase(),t=t.toLowerCase()),t===r}});var Zt=O((qi,Yt)=>{"use strict";y();var mt=S("path");Yt.exports=(t,r)=>{let e=mt.relative(r,t);return!!(e&&e!==".."&&!e.startsWith(`..${mt.sep}`)&&e!==mt.resolve(t))}});var Xt=O(gt=>{"use strict";y();var $=S("path"),R=process.platform==="win32",C=S("fs"),he=process.env.NODE_DEBUG&&/fs/.test(process.env.NODE_DEBUG);function le(){var t;if(he){var r=new Error;t=e}else t=i;return t;function e(n){n&&(r.message=n.message,n=r,i(n))}function i(n){if(n){if(process.throwDeprecation)throw n;if(!process.noDeprecation){var s="fs: missing callback "+(n.stack||n.message);process.traceDeprecation?console.trace(s):console.error(s)}}}}function fe(t){return typeof t=="function"?t:le()}var Mi=$.normalize;R?M=/(.*?)(?:[\/\\]+|$)/g:M=/(.*?)(?:[\/]+|$)/g;var M;R?Z=/^(?:[a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/][^\\\/]+)?[\\\/]*/:Z=/^[\/]*/;var Z;gt.realpathSync=function(r,e){if(r=$.resolve(r),e&&Object.prototype.hasOwnProperty.call(e,r))return e[r];var i=r,n={},s={},a,c,o,u;h();function h(){var g=Z.exec(r);a=g[0].length,c=g[0],o=g[0],u="",R&&!s[o]&&(C.lstatSync(o),s[o]=!0)}for(;a<r.length;){M.lastIndex=a;var v=M.exec(r);if(u=c,c+=v[0],o=u+v[1],a=M.lastIndex,!(s[o]||e&&e[o]===o)){var l;if(e&&Object.prototype.hasOwnProperty.call(e,o))l=e[o];else{var f=C.lstatSync(o);if(!f.isSymbolicLink()){s[o]=!0,e&&(e[o]=o);continue}var d=null;if(!R){var m=f.dev.toString(32)+":"+f.ino.toString(32);n.hasOwnProperty(m)&&(d=n[m])}d===null&&(C.statSync(o),d=C.readlinkSync(o)),l=$.resolve(u,d),e&&(e[o]=l),R||(n[m]=d)}r=$.resolve(l,r.slice(a)),h()}}return e&&(e[i]=r),r};gt.realpath=function(r,e,i){if(typeof i!="function"&&(i=fe(e),e=null),r=$.resolve(r),e&&Object.prototype.hasOwnProperty.call(e,r))return process.nextTick(i.bind(null,null,e[r]));var n=r,s={},a={},c,o,u,h;v();function v(){var g=Z.exec(r);c=g[0].length,o=g[0],u=g[0],h="",R&&!a[u]?C.lstat(u,function(E){if(E)return i(E);a[u]=!0,l()}):process.nextTick(l)}function l(){if(c>=r.length)return e&&(e[n]=r),i(null,r);M.lastIndex=c;var g=M.exec(r);return h=o,o+=g[0],u=h+g[1],c=M.lastIndex,a[u]||e&&e[u]===u?process.nextTick(l):e&&Object.prototype.hasOwnProperty.call(e,u)?m(e[u]):C.lstat(u,f)}function f(g,E){if(g)return i(g);if(!E.isSymbolicLink())return a[u]=!0,e&&(e[u]=u),process.nextTick(l);if(!R){var b=E.dev.toString(32)+":"+E.ino.toString(32);if(s.hasOwnProperty(b))return d(null,s[b],u)}C.stat(u,function(j){if(j)return i(j);C.readlink(u,function(k,q){R||(s[b]=q),d(k,q)})})}function d(g,E,b){if(g)return i(g);var j=$.resolve(h,E);e&&(e[b]=j),m(j)}function m(g){r=$.resolve(g,r.slice(c)),v()}}});var wt=O((Di,tr)=>{"use strict";y();tr.exports=D;D.realpath=D;D.sync=Et;D.realpathSync=Et;D.monkeypatch=ve;D.unmonkeypatch=me;var U=S("fs"),yt=U.realpath,pt=U.realpathSync,de=process.version,Kt=/^v[0-5]\./.test(de),Vt=Xt();function Jt(t){return t&&t.syscall==="realpath"&&(t.code==="ELOOP"||t.code==="ENOMEM"||t.code==="ENAMETOOLONG")}function D(t,r,e){if(Kt)return yt(t,r,e);typeof r=="function"&&(e=r,r=null),yt(t,r,function(i,n){Jt(i)?Vt.realpath(t,r,e):e(i,n)})}function Et(t,r){if(Kt)return pt(t,r);try{return pt(t,r)}catch(e){if(Jt(e))return Vt.realpathSync(t,r);throw e}}function ve(){U.realpath=D,U.realpathSync=Et}function me(){U.realpath=yt,U.realpathSync=pt}});var er=O((Gi,rr)=>{"use strict";y();rr.exports=function(t,r){for(var e=[],i=0;i<t.length;i++){var n=r(t[i],i);ge(n)?e.push.apply(e,n):e.push(n)}return e};var ge=Array.isArray||function(t){return Object.prototype.toString.call(t)==="[object Array]"}});var hr=O(($i,ur)=>{"use strict";y();var ye=er(),ir=ee();ur.exports=we;var nr="\0SLASH"+Math.random()+"\0",ar="\0OPEN"+Math.random()+"\0",St="\0CLOSE"+Math.random()+"\0",sr="\0COMMA"+Math.random()+"\0",or="\0PERIOD"+Math.random()+"\0";function bt(t){return parseInt(t,10)==t?parseInt(t,10):t.charCodeAt(0)}function pe(t){return t.split("\\\\").join(nr).split("\\{").join(ar).split("\\}").join(St).split("\\,").join(sr).split("\\.").join(or)}function Ee(t){return t.split(nr).join("\\").split(ar).join("{").split(St).join("}").split(sr).join(",").split(or).join(".")}function cr(t){if(!t)return[""];var r=[],e=ir("{","}",t);if(!e)return t.split(",");var i=e.pre,n=e.body,s=e.post,a=i.split(",");a[a.length-1]+="{"+n+"}";var c=cr(s);return s.length&&(a[a.length-1]+=c.shift(),a.push.apply(a,c)),r.push.apply(r,a),r}function we(t){return t?(t.substr(0,2)==="{}"&&(t="\\{\\}"+t.substr(2)),Q(pe(t),!0).map(Ee)):[]}function be(t){return"{"+t+"}"}function Se(t){return/^-?0\d/.test(t)}function _e(t,r){return t<=r}function ke(t,r){return t>=r}function Q(t,r){var e=[],i=ir("{","}",t);if(!i||/\$$/.test(i.pre))return[t];var n=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(i.body),s=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(i.body),a=n||s,c=i.body.indexOf(",")>=0;if(!a&&!c)return i.post.match(/,.*\}/)?(t=i.pre+"{"+i.body+St+i.post,Q(t)):[t];var o;if(a)o=i.body.split(/\.\./);else if(o=cr(i.body),o.length===1&&(o=Q(o[0],!1).map(be),o.length===1)){var h=i.post.length?Q(i.post,!1):[""];return h.map(function(lt){return i.pre+o[0]+lt})}var u=i.pre,h=i.post.length?Q(i.post,!1):[""],v;if(a){var l=bt(o[0]),f=bt(o[1]),d=Math.max(o[0].length,o[1].length),m=o.length==3?Math.abs(bt(o[2])):1,g=_e,E=f<l;E&&(m*=-1,g=ke);var b=o.some(Se);v=[];for(var j=l;g(j,f);j+=m){var k;if(s)k=String.fromCharCode(j),k==="\\"&&(k="");else if(k=String(j),b){var q=d-k.length;if(q>0){var rt=new Array(q+1).join("0");j<0?k="-"+rt+k.slice(1):k=rt+k}}v.push(k)}}else v=ye(o,function(et){return Q(et,!1)});for(var W=0;W<v.length;W++)for(var P=0;P<h.length;P++){var T=u+v[W]+h[P];(!r||a||T)&&e.push(T)}return e}});var at=O((xi,mr)=>{"use strict";y();mr.exports=I;I.Minimatch=A;var X=function(){try{return S("path")}catch{}}()||{sep:"/"};I.sep=X.sep;var Ot=I.GLOBSTAR=A.GLOBSTAR={},Oe=hr(),lr={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},_t="[^/]",kt=_t+"*?",Ae="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",je="(?:(?!(?:\\/|^)\\.).)*?",fr=Ie("().*{}+?[]^$\\!");function Ie(t){return t.split("").reduce(function(r,e){return r[e]=!0,r},{})}var dr=/\/+/;I.filter=Ne;function Ne(t,r){return r=r||{},function(e,i,n){return I(e,t,r)}}function L(t,r){r=r||{};var e={};return Object.keys(t).forEach(function(i){e[i]=t[i]}),Object.keys(r).forEach(function(i){e[i]=r[i]}),e}I.defaults=function(t){if(!t||typeof t!="object"||!Object.keys(t).length)return I;var r=I,e=function(n,s,a){return r(n,s,L(t,a))};return e.Minimatch=function(n,s){return new r.Minimatch(n,L(t,s))},e.Minimatch.defaults=function(n){return r.defaults(L(t,n)).Minimatch},e.filter=function(n,s){return r.filter(n,L(t,s))},e.defaults=function(n){return r.defaults(L(t,n))},e.makeRe=function(n,s){return r.makeRe(n,L(t,s))},e.braceExpand=function(n,s){return r.braceExpand(n,L(t,s))},e.match=function(i,n,s){return r.match(i,n,L(t,s))},e};A.defaults=function(t){return I.defaults(t).Minimatch};function I(t,r,e){return nt(r),e||(e={}),!e.nocomment&&r.charAt(0)==="#"?!1:new A(r,e).match(t)}function A(t,r){if(!(this instanceof A))return new A(t,r);nt(t),r||(r={}),t=t.trim(),!r.allowWindowsEscape&&X.sep!=="/"&&(t=t.split(X.sep).join("/")),this.options=r,this.set=[],this.pattern=t,this.regexp=null,this.negate=!1,this.comment=!1,this.empty=!1,this.partial=!!r.partial,this.make()}A.prototype.debug=function(){};A.prototype.make=qe;function qe(){var t=this.pattern,r=this.options;if(!r.nocomment&&t.charAt(0)==="#"){this.comment=!0;return}if(!t){this.empty=!0;return}this.parseNegate();var e=this.globSet=this.braceExpand();r.debug&&(this.debug=function(){console.error.apply(console,arguments)}),this.debug(this.pattern,e),e=this.globParts=e.map(function(i){return i.split(dr)}),this.debug(this.pattern,e),e=e.map(function(i,n,s){return i.map(this.parse,this)},this),this.debug(this.pattern,e),e=e.filter(function(i){return i.indexOf(!1)===-1}),this.debug(this.pattern,e),this.set=e}A.prototype.parseNegate=Te;function Te(){var t=this.pattern,r=!1,e=this.options,i=0;if(!e.nonegate){for(var n=0,s=t.length;n<s&&t.charAt(n)==="!";n++)r=!r,i++;i&&(this.pattern=t.substr(i)),this.negate=r}}I.braceExpand=function(t,r){return vr(t,r)};A.prototype.braceExpand=vr;function vr(t,r){return r||(this instanceof A?r=this.options:r={}),t=typeof t>"u"?this.pattern:t,nt(t),r.nobrace||!/\{(?:(?!\{).)*\}/.test(t)?[t]:Oe(t)}var Me=1024*64,nt=function(t){if(typeof t!="string")throw new TypeError("invalid pattern");if(t.length>Me)throw new TypeError("pattern is too long")};A.prototype.parse=Ce;var it={};function Ce(t,r){nt(t);var e=this.options;if(t==="**")if(e.noglobstar)t="*";else return Ot;if(t==="")return"";var i="",n=!!e.nocase,s=!1,a=[],c=[],o,u=!1,h=-1,v=-1,l=t.charAt(0)==="."?"":e.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",f=this;function d(){if(o){switch(o){case"*":i+=kt,n=!0;break;case"?":i+=_t,n=!0;break;default:i+="\\"+o;break}f.debug("clearStateChar %j %j",o,i),o=!1}}for(var m=0,g=t.length,E;m<g&&(E=t.charAt(m));m++){if(this.debug("%s %s %s %j",t,m,i,E),s&&fr[E]){i+="\\"+E,s=!1;continue}switch(E){case"/":return!1;case"\\":d(),s=!0;continue;case"?":case"*":case"+":case"@":case"!":if(this.debug("%s %s %s %j <-- stateChar",t,m,i,E),u){this.debug(" in class"),E==="!"&&m===v+1&&(E="^"),i+=E;continue}f.debug("call clearStateChar %j",o),d(),o=E,e.noext&&d();continue;case"(":if(u){i+="(";continue}if(!o){i+="\\(";continue}a.push({type:o,start:m-1,reStart:i.length,open:lr[o].open,close:lr[o].close}),i+=o==="!"?"(?:(?!(?:":"(?:",this.debug("plType %j %j",o,i),o=!1;continue;case")":if(u||!a.length){i+="\\)";continue}d(),n=!0;var b=a.pop();i+=b.close,b.type==="!"&&c.push(b),b.reEnd=i.length;continue;case"|":if(u||!a.length||s){i+="\\|",s=!1;continue}d(),i+="|";continue;case"[":if(d(),u){i+="\\"+E;continue}u=!0,v=m,h=i.length,i+=E;continue;case"]":if(m===v+1||!u){i+="\\"+E,s=!1;continue}var j=t.substring(v+1,m);try{RegExp("["+j+"]")}catch{var k=this.parse(j,it);i=i.substr(0,h)+"\\["+k[0]+"\\]",n=n||k[1],u=!1;continue}n=!0,u=!1,i+=E;continue;default:d(),s?s=!1:fr[E]&&!(E==="^"&&u)&&(i+="\\"),i+=E}}for(u&&(j=t.substr(v+1),k=this.parse(j,it),i=i.substr(0,h)+"\\["+k[0],n=n||k[1]),b=a.pop();b;b=a.pop()){var q=i.slice(b.reStart+b.open.length);this.debug("setting tail",i,b),q=q.replace(/((?:\\{2}){0,64})(\\?)\|/g,function(Wt,Ut,vt){return vt||(vt="\\"),Ut+Ut+vt+"|"}),this.debug(`tail=%j
|
|
3
3
|
%s`,q,q,b,i);var rt=b.type==="*"?kt:b.type==="?"?_t:"\\"+b.type;n=!0,i=i.slice(0,b.reStart)+rt+"\\("+q}d(),s&&(i+="\\\\");var W=!1;switch(i.charAt(0)){case"[":case".":case"(":W=!0}for(var P=c.length-1;P>-1;P--){var T=c[P],et=i.slice(0,T.reStart),lt=i.slice(T.reStart,T.reEnd-8),xt=i.slice(T.reEnd-8,T.reEnd),Y=i.slice(T.reEnd);xt+=Y;var Vr=et.split("(").length-1,ft=Y;for(m=0;m<Vr;m++)ft=ft.replace(/\)[+*?]?/,"");Y=ft;var Ft="";Y===""&&r!==it&&(Ft="$");var Jr=et+lt+Y+Ft+xt;i=Jr}if(i!==""&&n&&(i="(?=.)"+i),W&&(i=l+i),r===it)return[i,n];if(!n)return De(t);var te=e.nocase?"i":"";try{var dt=new RegExp("^"+i+"$",te)}catch{return new RegExp("$.")}return dt._glob=t,dt._src=i,dt}I.makeRe=function(t,r){return new A(t,r||{}).makeRe()};A.prototype.makeRe=Re;function Re(){if(this.regexp||this.regexp===!1)return this.regexp;var t=this.set;if(!t.length)return this.regexp=!1,this.regexp;var r=this.options,e=r.noglobstar?kt:r.dot?Ae:je,i=r.nocase?"i":"",n=t.map(function(s){return s.map(function(a){return a===Ot?e:typeof a=="string"?Le(a):a._src}).join("\\/")}).join("|");n="^(?:"+n+")$",this.negate&&(n="^(?!"+n+").*$");try{this.regexp=new RegExp(n,i)}catch{this.regexp=!1}return this.regexp}I.match=function(t,r,e){e=e||{};var i=new A(r,e);return t=t.filter(function(n){return i.match(n)}),i.options.nonull&&!t.length&&t.push(r),t};A.prototype.match=function(r,e){if(typeof e>"u"&&(e=this.partial),this.debug("match",r,this.pattern),this.comment)return!1;if(this.empty)return r==="";if(r==="/"&&e)return!0;var i=this.options;X.sep!=="/"&&(r=r.split(X.sep).join("/")),r=r.split(dr),this.debug(this.pattern,"split",r);var n=this.set;this.debug(this.pattern,"set",n);var s,a;for(a=r.length-1;a>=0&&(s=r[a],!s);a--);for(a=0;a<n.length;a++){var c=n[a],o=r;i.matchBase&&c.length===1&&(o=[s]);var u=this.matchOne(o,c,e);if(u)return i.flipNegate?!0:!this.negate}return i.flipNegate?!1:this.negate};A.prototype.matchOne=function(t,r,e){var i=this.options;this.debug("matchOne",{this:this,file:t,pattern:r}),this.debug("matchOne",t.length,r.length);for(var n=0,s=0,a=t.length,c=r.length;n<a&&s<c;n++,s++){this.debug("matchOne loop");var o=r[s],u=t[n];if(this.debug(r,o,u),o===!1)return!1;if(o===Ot){this.debug("GLOBSTAR",[r,o,u]);var h=n,v=s+1;if(v===c){for(this.debug("** at the end");n<a;n++)if(t[n]==="."||t[n]===".."||!i.dot&&t[n].charAt(0)===".")return!1;return!0}for(;h<a;){var l=t[h];if(this.debug(`
|
|
4
4
|
globstar while`,t,h,r,v,l),this.matchOne(t.slice(h),r.slice(v),e))return this.debug("globstar found match!",h,a,l),!0;if(l==="."||l===".."||!i.dot&&l.charAt(0)==="."){this.debug("dot detected!",t,h,r,v);break}this.debug("globstar swallow a segment, and continue"),h++}return!!(e&&(this.debug(`
|
|
5
5
|
>>> no match, partial?`,t,h,r,v),h===a))}var f;if(typeof o=="string"?(f=u===o,this.debug("string match",o,u,f)):(f=u.match(o),this.debug("pattern match",o,u,f)),!f)return!1}if(n===a&&s===c)return!0;if(n===a)return e;if(s===c)return n===a-1&&t[n]==="";throw new Error("wtf?")};function De(t){return t.replace(/\\(.)/g,"$1")}function Le(t){return t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}});var ot=O((Wi,st)=>{"use strict";y();function gr(t){return t.charAt(0)==="/"}function yr(t){var r=/^([a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?([\\\/])?([\s\S]*?)$/,e=r.exec(t),i=e[1]||"",n=!!(i&&i.charAt(1)!==":");return!!(e[2]||n)}st.exports=process.platform==="win32"?yr:gr;st.exports.posix=gr;st.exports.win32=yr});var jt=O(G=>{"use strict";y();G.setopts=Fe;G.ownProp=pr;G.makeAbs=K;G.finish=We;G.mark=Ue;G.isIgnored=wr;G.childrenIgnored=Qe;function pr(t,r){return Object.prototype.hasOwnProperty.call(t,r)}var Ge=S("fs"),z=S("path"),Pe=at(),Er=ot(),At=Pe.Minimatch;function $e(t,r){return t.localeCompare(r,"en")}function Be(t,r){t.ignore=r.ignore||[],Array.isArray(t.ignore)||(t.ignore=[t.ignore]),t.ignore.length&&(t.ignore=t.ignore.map(xe))}function xe(t){var r=null;if(t.slice(-3)==="/**"){var e=t.replace(/(\/\*\*)+$/,"");r=new At(e,{dot:!0})}return{matcher:new At(t,{dot:!0}),gmatcher:r}}function Fe(t,r,e){if(e||(e={}),e.matchBase&&r.indexOf("/")===-1){if(e.noglobstar)throw new Error("base matching requires globstar");r="**/"+r}t.silent=!!e.silent,t.pattern=r,t.strict=e.strict!==!1,t.realpath=!!e.realpath,t.realpathCache=e.realpathCache||Object.create(null),t.follow=!!e.follow,t.dot=!!e.dot,t.mark=!!e.mark,t.nodir=!!e.nodir,t.nodir&&(t.mark=!0),t.sync=!!e.sync,t.nounique=!!e.nounique,t.nonull=!!e.nonull,t.nosort=!!e.nosort,t.nocase=!!e.nocase,t.stat=!!e.stat,t.noprocess=!!e.noprocess,t.absolute=!!e.absolute,t.fs=e.fs||Ge,t.maxLength=e.maxLength||1/0,t.cache=e.cache||Object.create(null),t.statCache=e.statCache||Object.create(null),t.symlinks=e.symlinks||Object.create(null),Be(t,e),t.changedCwd=!1;var i=process.cwd();pr(e,"cwd")?(t.cwd=z.resolve(e.cwd),t.changedCwd=t.cwd!==i):t.cwd=i,t.root=e.root||z.resolve(t.cwd,"/"),t.root=z.resolve(t.root),process.platform==="win32"&&(t.root=t.root.replace(/\\/g,"/")),t.cwdAbs=Er(t.cwd)?t.cwd:K(t,t.cwd),process.platform==="win32"&&(t.cwdAbs=t.cwdAbs.replace(/\\/g,"/")),t.nomount=!!e.nomount,e.nonegate=!0,e.nocomment=!0,e.allowWindowsEscape=!1,t.minimatch=new At(r,e),t.options=t.minimatch.options}function We(t){for(var r=t.nounique,e=r?[]:Object.create(null),i=0,n=t.matches.length;i<n;i++){var s=t.matches[i];if(!s||Object.keys(s).length===0){if(t.nonull){var a=t.minimatch.globSet[i];r?e.push(a):e[a]=!0}}else{var c=Object.keys(s);r?e.push.apply(e,c):c.forEach(function(o){e[o]=!0})}}if(r||(e=Object.keys(e)),t.nosort||(e=e.sort($e)),t.mark){for(var i=0;i<e.length;i++)e[i]=t._mark(e[i]);t.nodir&&(e=e.filter(function(o){var u=!/\/$/.test(o),h=t.cache[o]||t.cache[K(t,o)];return u&&h&&(u=h!=="DIR"&&!Array.isArray(h)),u}))}t.ignore.length&&(e=e.filter(function(o){return!wr(t,o)})),t.found=e}function Ue(t,r){var e=K(t,r),i=t.cache[e],n=r;if(i){var s=i==="DIR"||Array.isArray(i),a=r.slice(-1)==="/";if(s&&!a?n+="/":!s&&a&&(n=n.slice(0,-1)),n!==r){var c=K(t,n);t.statCache[c]=t.statCache[e],t.cache[c]=t.cache[e]}}return n}function K(t,r){var e=r;return r.charAt(0)==="/"?e=z.join(t.root,r):Er(r)||r===""?e=r:t.changedCwd?e=z.resolve(t.cwd,r):e=z.resolve(r),process.platform==="win32"&&(e=e.replace(/\\/g,"/")),e}function wr(t,r){return t.ignore.length?t.ignore.some(function(e){return e.matcher.match(r)||!!(e.gmatcher&&e.gmatcher.match(r))}):!1}function Qe(t,r){return t.ignore.length?t.ignore.some(function(e){return!!(e.gmatcher&&e.gmatcher.match(r))}):!1}});var Or=O((Xi,kr)=>{"use strict";y();kr.exports=_r;_r.GlobSync=_;var ze=wt(),br=at(),Hi=br.Minimatch,Yi=qt().Glob,Zi=S("util"),It=S("path"),Sr=S("assert"),ct=ot(),B=jt(),He=B.setopts,Nt=B.ownProp,Ye=B.childrenIgnored,Ze=B.isIgnored;function _r(t,r){if(typeof r=="function"||arguments.length===3)throw new TypeError(`callback provided to sync glob
|
|
6
6
|
See: https://github.com/isaacs/node-glob/issues/167`);return new _(t,r).found}function _(t,r){if(!t)throw new Error("must provide pattern");if(typeof r=="function"||arguments.length===3)throw new TypeError(`callback provided to sync glob
|
|
7
|
-
See: https://github.com/isaacs/node-glob/issues/167`);if(!(this instanceof _))return new _(t,r);if(He(this,t,r),this.noprocess)return this;var e=this.minimatch.set.length;this.matches=new Array(e);for(var i=0;i<e;i++)this._process(this.minimatch.set[i],i,!1);this._finish()}_.prototype._finish=function(){if(Sr.ok(this instanceof _),this.realpath){var t=this;this.matches.forEach(function(r,e){var i=t.matches[e]=Object.create(null);for(var n in r)try{n=t._makeAbs(n);var s=ze.realpathSync(n,t.realpathCache);i[s]=!0}catch(a){if(a.syscall==="stat")i[t._makeAbs(n)]=!0;else throw a}})}B.finish(this)};_.prototype._process=function(t,r,e){Sr.ok(this instanceof _);for(var i=0;typeof t[i]=="string";)i++;var n;switch(i){case t.length:this._processSimple(t.join("/"),r);return;case 0:n=null;break;default:n=t.slice(0,i).join("/");break}var s=t.slice(i),a;n===null?a=".":((ct(n)||ct(t.map(function(u){return typeof u=="string"?u:"[*]"}).join("/")))&&(!n||!ct(n))&&(n="/"+n),a=n);var c=this._makeAbs(a);if(!Ye(this,a)){var o=s[0]===br.GLOBSTAR;o?this._processGlobStar(n,a,c,s,r,e):this._processReaddir(n,a,c,s,r,e)}};_.prototype._processReaddir=function(t,r,e,i,n,s){var a=this._readdir(e,s);if(a){for(var c=i[0],o=!!this.minimatch.negate,u=c._glob,h=this.dot||u.charAt(0)===".",v=[],l=0;l<a.length;l++){var f=a[l];if(f.charAt(0)!=="."||h){var d;o&&!t?d=!f.match(c):d=f.match(c),d&&v.push(f)}}var m=v.length;if(m!==0){if(i.length===1&&!this.mark&&!this.stat){this.matches[n]||(this.matches[n]=Object.create(null));for(var l=0;l<m;l++){var f=v[l];t&&(t.slice(-1)!=="/"?f=t+"/"+f:f=t+f),f.charAt(0)==="/"&&!this.nomount&&(f=It.join(this.root,f)),this._emitMatch(n,f)}return}i.shift();for(var l=0;l<m;l++){var f=v[l],g;t?g=[t,f]:g=[f],this._process(g.concat(i),n,s)}}}};_.prototype._emitMatch=function(t,r){if(!Ze(this,r)){var e=this._makeAbs(r);if(this.mark&&(r=this._mark(r)),this.absolute&&(r=e),!this.matches[t][r]){if(this.nodir){var i=this.cache[e];if(i==="DIR"||Array.isArray(i))return}this.matches[t][r]=!0,this.stat&&this._stat(r)}}};_.prototype._readdirInGlobStar=function(t){if(this.follow)return this._readdir(t,!1);var r,e,i;try{e=this.fs.lstatSync(t)}catch(s){if(s.code==="ENOENT")return null}var n=e&&e.isSymbolicLink();return this.symlinks[t]=n,!n&&e&&!e.isDirectory()?this.cache[t]="FILE":r=this._readdir(t,!1),r};_.prototype._readdir=function(t,r){var e;if(r&&!Nt(this.symlinks,t))return this._readdirInGlobStar(t);if(Nt(this.cache,t)){var i=this.cache[t];if(!i||i==="FILE")return null;if(Array.isArray(i))return i}try{return this._readdirEntries(t,this.fs.readdirSync(t))}catch(n){return this._readdirError(t,n),null}};_.prototype._readdirEntries=function(t,r){if(!this.mark&&!this.stat)for(var e=0;e<r.length;e++){var i=r[e];t==="/"?i=t+i:i=t+"/"+i,this.cache[i]=!0}return this.cache[t]=r,r};_.prototype._readdirError=function(t,r){switch(r.code){case"ENOTSUP":case"ENOTDIR":var e=this._makeAbs(t);if(this.cache[e]="FILE",e===this.cwdAbs){var i=new Error(r.code+" invalid cwd "+this.cwd);throw i.path=this.cwd,i.code=r.code,i}break;case"ENOENT":case"ELOOP":case"ENAMETOOLONG":case"UNKNOWN":this.cache[this._makeAbs(t)]=!1;break;default:if(this.cache[this._makeAbs(t)]=!1,this.strict)throw r;this.silent||console.error("glob error",r);break}};_.prototype._processGlobStar=function(t,r,e,i,n,s){var a=this._readdir(e,s);if(a){var c=i.slice(1),o=t?[t]:[],u=o.concat(c);this._process(u,n,!1);var h=a.length,v=this.symlinks[e];if(!(v&&s))for(var l=0;l<h;l++){var f=a[l];if(!(f.charAt(0)==="."&&!this.dot)){var d=o.concat(a[l],c);this._process(d,n,!0);var m=o.concat(a[l],i);this._process(m,n,!0)}}}};_.prototype._processSimple=function(t,r){var e=this._stat(t);if(this.matches[r]||(this.matches[r]=Object.create(null)),!!e){if(t&&ct(t)&&!this.nomount){var i=/[\/\\]$/.test(t);t.charAt(0)==="/"?t=It.join(this.root,t):(t=It.resolve(this.root,t),i&&(t+="/"))}process.platform==="win32"&&(t=t.replace(/\\/g,"/")),this._emitMatch(r,t)}};_.prototype._stat=function(t){var r=this._makeAbs(t),e=t.slice(-1)==="/";if(t.length>this.maxLength)return!1;if(!this.stat&&Nt(this.cache,r)){var a=this.cache[r];if(Array.isArray(a)&&(a="DIR"),!e||a==="DIR")return a;if(e&&a==="FILE")return!1}var i,n=this.statCache[r];if(!n){var s;try{s=this.fs.lstatSync(r)}catch(c){if(c&&(c.code==="ENOENT"||c.code==="ENOTDIR"))return this.statCache[r]=!1,!1}if(s&&s.isSymbolicLink())try{n=this.fs.statSync(r)}catch{n=s}else n=s}this.statCache[r]=n;var a=!0;return n&&(a=n.isDirectory()?"DIR":"FILE"),this.cache[r]=this.cache[r]||a,e&&a==="FILE"?!1:a};_.prototype._mark=function(t){return B.mark(this,t)};_.prototype._makeAbs=function(t){return B.makeAbs(this,t)}});var jr=O((Vi,Ar)=>{"use strict";y();var Xe=oe(),V=Object.create(null),Ke=Qt();Ar.exports=Xe(Ve);function Ve(t,r){return V[t]?(V[t].push(r),null):(V[t]=[r],Je(t))}function Je(t){return Ke(function r(){var e=V[t],i=e.length,n=ti(arguments);try{for(var s=0;s<i;s++)e[s].apply(null,n)}finally{e.length>i?(e.splice(0,i),process.nextTick(function(){r.apply(null,n)})):delete V[t]}})}function ti(t){for(var r=t.length,e=[],i=0;i<r;i++)e[i]=t[i];return e}});var qt=O((en,Nr)=>{"use strict";y();Nr.exports=x;var ri=wt(),Ir=at(),tn=Ir.Minimatch,ei=se(),ii=S("events").EventEmitter,Tt=S("path"),Mt=S("assert"),J=ot(),Rt=Or(),F=jt(),ni=F.setopts,Ct=F.ownProp,Dt=jr(),rn=S("util"),ai=F.childrenIgnored,si=F.isIgnored,oi=Qt();function x(t,r,e){if(typeof r=="function"&&(e=r,r={}),r||(r={}),r.sync){if(e)throw new TypeError("callback provided to sync glob");return Rt(t,r)}return new p(t,r,e)}x.sync=Rt;var ci=x.GlobSync=Rt.GlobSync;x.glob=x;function ui(t,r){if(r===null||typeof r!="object")return t;for(var e=Object.keys(r),i=e.length;i--;)t[e[i]]=r[e[i]];return t}x.hasMagic=function(t,r){var e=ui({},r);e.noprocess=!0;var i=new p(t,e),n=i.minimatch.set;if(!t)return!1;if(n.length>1)return!0;for(var s=0;s<n[0].length;s++)if(typeof n[0][s]!="string")return!0;return!1};x.Glob=p;ei(p,ii);function p(t,r,e){if(typeof r=="function"&&(e=r,r=null),r&&r.sync){if(e)throw new TypeError("callback provided to sync glob");return new ci(t,r)}if(!(this instanceof p))return new p(t,r,e);ni(this,t,r),this._didRealPath=!1;var i=this.minimatch.set.length;this.matches=new Array(i),typeof e=="function"&&(e=oi(e),this.on("error",e),this.on("end",function(o){e(null,o)}));var n=this;if(this._processing=0,this._emitQueue=[],this._processQueue=[],this.paused=!1,this.noprocess)return this;if(i===0)return c();for(var s=!0,a=0;a<i;a++)this._process(this.minimatch.set[a],a,!1,c);s=!1;function c(){--n._processing,n._processing<=0&&(s?process.nextTick(function(){n._finish()}):n._finish())}}p.prototype._finish=function(){if(Mt(this instanceof p),!this.aborted){if(this.realpath&&!this._didRealpath)return this._realpath();F.finish(this),this.emit("end",this.found)}};p.prototype._realpath=function(){if(this._didRealpath)return;this._didRealpath=!0;var t=this.matches.length;if(t===0)return this._finish();for(var r=this,e=0;e<this.matches.length;e++)this._realpathSet(e,i);function i(){--t===0&&r._finish()}};p.prototype._realpathSet=function(t,r){var e=this.matches[t];if(!e)return r();var i=Object.keys(e),n=this,s=i.length;if(s===0)return r();var a=this.matches[t]=Object.create(null);i.forEach(function(c,o){c=n._makeAbs(c),ri.realpath(c,n.realpathCache,function(u,h){u?u.syscall==="stat"?a[c]=!0:n.emit("error",u):a[h]=!0,--s===0&&(n.matches[t]=a,r())})})};p.prototype._mark=function(t){return F.mark(this,t)};p.prototype._makeAbs=function(t){return F.makeAbs(this,t)};p.prototype.abort=function(){this.aborted=!0,this.emit("abort")};p.prototype.pause=function(){this.paused||(this.paused=!0,this.emit("pause"))};p.prototype.resume=function(){if(this.paused){if(this.emit("resume"),this.paused=!1,this._emitQueue.length){var t=this._emitQueue.slice(0);this._emitQueue.length=0;for(var r=0;r<t.length;r++){var e=t[r];this._emitMatch(e[0],e[1])}}if(this._processQueue.length){var i=this._processQueue.slice(0);this._processQueue.length=0;for(var r=0;r<i.length;r++){var n=i[r];this._processing--,this._process(n[0],n[1],n[2],n[3])}}}};p.prototype._process=function(t,r,e,i){if(Mt(this instanceof p),Mt(typeof i=="function"),!this.aborted){if(this._processing++,this.paused){this._processQueue.push([t,r,e,i]);return}for(var n=0;typeof t[n]=="string";)n++;var s;switch(n){case t.length:this._processSimple(t.join("/"),r,i);return;case 0:s=null;break;default:s=t.slice(0,n).join("/");break}var a=t.slice(n),c;s===null?c=".":((J(s)||J(t.map(function(h){return typeof h=="string"?h:"[*]"}).join("/")))&&(!s||!J(s))&&(s="/"+s),c=s);var o=this._makeAbs(c);if(ai(this,c))return i();var u=a[0]===Ir.GLOBSTAR;u?this._processGlobStar(s,c,o,a,r,e,i):this._processReaddir(s,c,o,a,r,e,i)}};p.prototype._processReaddir=function(t,r,e,i,n,s,a){var c=this;this._readdir(e,s,function(o,u){return c._processReaddir2(t,r,e,i,n,s,u,a)})};p.prototype._processReaddir2=function(t,r,e,i,n,s,a,c){if(!a)return c();for(var o=i[0],u=!!this.minimatch.negate,h=o._glob,v=this.dot||h.charAt(0)===".",l=[],f=0;f<a.length;f++){var d=a[f];if(d.charAt(0)!=="."||v){var m;u&&!t?m=!d.match(o):m=d.match(o),m&&l.push(d)}}var g=l.length;if(g===0)return c();if(i.length===1&&!this.mark&&!this.stat){this.matches[n]||(this.matches[n]=Object.create(null));for(var f=0;f<g;f++){var d=l[f];t&&(t!=="/"?d=t+"/"+d:d=t+d),d.charAt(0)==="/"&&!this.nomount&&(d=Tt.join(this.root,d)),this._emitMatch(n,d)}return c()}i.shift();for(var f=0;f<g;f++){var d=l[f],E;t&&(t!=="/"?d=t+"/"+d:d=t+d),this._process([d].concat(i),n,s,c)}c()};p.prototype._emitMatch=function(t,r){if(!this.aborted&&!si(this,r)){if(this.paused){this._emitQueue.push([t,r]);return}var e=J(r)?r:this._makeAbs(r);if(this.mark&&(r=this._mark(r)),this.absolute&&(r=e),!this.matches[t][r]){if(this.nodir){var i=this.cache[e];if(i==="DIR"||Array.isArray(i))return}this.matches[t][r]=!0;var n=this.statCache[e];n&&this.emit("stat",r,n),this.emit("match",r)}}};p.prototype._readdirInGlobStar=function(t,r){if(this.aborted)return;if(this.follow)return this._readdir(t,!1,r);var e="lstat\0"+t,i=this,n=Dt(e,s);n&&i.fs.lstat(t,n);function s(a,c){if(a&&a.code==="ENOENT")return r();var o=c&&c.isSymbolicLink();i.symlinks[t]=o,!o&&c&&!c.isDirectory()?(i.cache[t]="FILE",r()):i._readdir(t,!1,r)}};p.prototype._readdir=function(t,r,e){if(!this.aborted&&(e=Dt("readdir\0"+t+"\0"+r,e),!!e)){if(r&&!Ct(this.symlinks,t))return this._readdirInGlobStar(t,e);if(Ct(this.cache,t)){var i=this.cache[t];if(!i||i==="FILE")return e();if(Array.isArray(i))return e(null,i)}var n=this;n.fs.readdir(t,hi(this,t,e))}};function hi(t,r,e){return function(i,n){i?t._readdirError(r,i,e):t._readdirEntries(r,n,e)}}p.prototype._readdirEntries=function(t,r,e){if(!this.aborted){if(!this.mark&&!this.stat)for(var i=0;i<r.length;i++){var n=r[i];t==="/"?n=t+n:n=t+"/"+n,this.cache[n]=!0}return this.cache[t]=r,e(null,r)}};p.prototype._readdirError=function(t,r,e){if(!this.aborted){switch(r.code){case"ENOTSUP":case"ENOTDIR":var i=this._makeAbs(t);if(this.cache[i]="FILE",i===this.cwdAbs){var n=new Error(r.code+" invalid cwd "+this.cwd);n.path=this.cwd,n.code=r.code,this.emit("error",n),this.abort()}break;case"ENOENT":case"ELOOP":case"ENAMETOOLONG":case"UNKNOWN":this.cache[this._makeAbs(t)]=!1;break;default:this.cache[this._makeAbs(t)]=!1,this.strict&&(this.emit("error",r),this.abort()),this.silent||console.error("glob error",r);break}return e()}};p.prototype._processGlobStar=function(t,r,e,i,n,s,a){var c=this;this._readdir(e,s,function(o,u){c._processGlobStar2(t,r,e,i,n,s,u,a)})};p.prototype._processGlobStar2=function(t,r,e,i,n,s,a,c){if(!a)return c();var o=i.slice(1),u=t?[t]:[],h=u.concat(o);this._process(h,n,!1,c);var v=this.symlinks[e],l=a.length;if(v&&s)return c();for(var f=0;f<l;f++){var d=a[f];if(!(d.charAt(0)==="."&&!this.dot)){var m=u.concat(a[f],o);this._process(m,n,!0,c);var g=u.concat(a[f],i);this._process(g,n,!0,c)}}c()};p.prototype._processSimple=function(t,r,e){var i=this;this._stat(t,function(n,s){i._processSimple2(t,r,n,s,e)})};p.prototype._processSimple2=function(t,r,e,i,n){if(this.matches[r]||(this.matches[r]=Object.create(null)),!i)return n();if(t&&J(t)&&!this.nomount){var s=/[\/\\]$/.test(t);t.charAt(0)==="/"?t=Tt.join(this.root,t):(t=Tt.resolve(this.root,t),s&&(t+="/"))}process.platform==="win32"&&(t=t.replace(/\\/g,"/")),this._emitMatch(r,t),n()};p.prototype._stat=function(t,r){var e=this._makeAbs(t),i=t.slice(-1)==="/";if(t.length>this.maxLength)return r();if(!this.stat&&Ct(this.cache,e)){var n=this.cache[e];if(Array.isArray(n)&&(n="DIR"),!i||n==="DIR")return r(null,n);if(i&&n==="FILE")return r()}var s,a=this.statCache[e];if(a!==void 0){if(a===!1)return r(null,a);var c=a.isDirectory()?"DIR":"FILE";return i&&c==="FILE"?r():r(null,c,a)}var o=this,u=Dt("stat\0"+e,h);u&&o.fs.lstat(e,u);function h(v,l){if(l&&l.isSymbolicLink())return o.fs.stat(e,function(f,d){f?o._stat2(t,e,null,l,r):o._stat2(t,e,f,d,r)});o._stat2(t,e,v,l,r)}};p.prototype._stat2=function(t,r,e,i,n){if(e&&(e.code==="ENOENT"||e.code==="ENOTDIR"))return this.statCache[r]=!1,n();var s=t.slice(-1)==="/";if(this.statCache[r]=i,r.slice(-1)==="/"&&i&&!i.isDirectory())return n(null,!1,i);var a=!0;return i&&(a=i.isDirectory()?"DIR":"FILE"),this.cache[r]=this.cache[r]||a,s&&a==="FILE"?n():n(null,a,i)}});var Gr=O((an,Lr)=>{"use strict";y();var w=S("assert"),Cr=S("path"),qr=S("fs"),H;try{H=qt()}catch{}var li={nosort:!0,silent:!0},Lt=0,tt=process.platform==="win32",Rr=t=>{if(["unlink","chmod","stat","lstat","rmdir","readdir"].forEach(e=>{t[e]=t[e]||qr[e],e=e+"Sync",t[e]=t[e]||qr[e]}),t.maxBusyTries=t.maxBusyTries||3,t.emfileWait=t.emfileWait||1e3,t.glob===!1&&(t.disableGlob=!0),t.disableGlob!==!0&&H===void 0)throw Error("glob dependency not found, set `options.disableGlob = true` if intentional");t.disableGlob=t.disableGlob||!1,t.glob=t.glob||li},Pt=(t,r,e)=>{typeof r=="function"&&(e=r,r={}),w(t,"rimraf: missing path"),w.equal(typeof t,"string","rimraf: path should be a string"),w.equal(typeof e,"function","rimraf: callback function required"),w(r,"rimraf: invalid options argument provided"),w.equal(typeof r,"object","rimraf: options should be object"),Rr(r);let i=0,n=null,s=0,a=o=>{n=n||o,--s===0&&e(n)},c=(o,u)=>{if(o)return e(o);if(s=u.length,s===0)return e();u.forEach(h=>{let v=l=>{if(l){if((l.code==="EBUSY"||l.code==="ENOTEMPTY"||l.code==="EPERM")&&i<r.maxBusyTries)return i++,setTimeout(()=>Gt(h,r,v),i*100);if(l.code==="EMFILE"&&Lt<r.emfileWait)return setTimeout(()=>Gt(h,r,v),Lt++);l.code==="ENOENT"&&(l=null)}Lt=0,a(l)};Gt(h,r,v)})};if(r.disableGlob||!H.hasMagic(t))return c(null,[t]);r.lstat(t,(o,u)=>{if(!o)return c(null,[t]);H(t,r.glob,c)})},Gt=(t,r,e)=>{w(t),w(r),w(typeof e=="function"),r.lstat(t,(i,n)=>{if(i&&i.code==="ENOENT")return e(null);if(i&&i.code==="EPERM"&&tt&&Tr(t,r,i,e),n&&n.isDirectory())return ut(t,r,i,e);r.unlink(t,s=>{if(s){if(s.code==="ENOENT")return e(null);if(s.code==="EPERM")return tt?Tr(t,r,s,e):ut(t,r,s,e);if(s.code==="EISDIR")return ut(t,r,s,e)}return e(s)})})},Tr=(t,r,e,i)=>{w(t),w(r),w(typeof i=="function"),r.chmod(t,438,n=>{n?i(n.code==="ENOENT"?null:e):r.stat(t,(s,a)=>{s?i(s.code==="ENOENT"?null:e):a.isDirectory()?ut(t,r,e,i):r.unlink(t,i)})})},Mr=(t,r,e)=>{w(t),w(r);try{r.chmodSync(t,438)}catch(n){if(n.code==="ENOENT")return;throw e}let i;try{i=r.statSync(t)}catch(n){if(n.code==="ENOENT")return;throw e}i.isDirectory()?ht(t,r,e):r.unlinkSync(t)},ut=(t,r,e,i)=>{w(t),w(r),w(typeof i=="function"),r.rmdir(t,n=>{n&&(n.code==="ENOTEMPTY"||n.code==="EEXIST"||n.code==="EPERM")?fi(t,r,i):n&&n.code==="ENOTDIR"?i(e):i(n)})},fi=(t,r,e)=>{w(t),w(r),w(typeof e=="function"),r.readdir(t,(i,n)=>{if(i)return e(i);let s=n.length;if(s===0)return r.rmdir(t,e);let a;n.forEach(c=>{Pt(Cr.join(t,c),r,o=>{if(!a){if(o)return e(a=o);--s===0&&r.rmdir(t,e)}})})})},Dr=(t,r)=>{r=r||{},Rr(r),w(t,"rimraf: missing path"),w.equal(typeof t,"string","rimraf: path should be a string"),w(r,"rimraf: missing options"),w.equal(typeof r,"object","rimraf: options should be object");let e;if(r.disableGlob||!H.hasMagic(t))e=[t];else try{r.lstatSync(t),e=[t]}catch{e=H.sync(t,r.glob)}if(e.length)for(let i=0;i<e.length;i++){let n=e[i],s;try{s=r.lstatSync(n)}catch(a){if(a.code==="ENOENT")return;a.code==="EPERM"&&tt&&Mr(n,r,a)}try{s&&s.isDirectory()?ht(n,r,null):r.unlinkSync(n)}catch(a){if(a.code==="ENOENT")return;if(a.code==="EPERM")return tt?Mr(n,r,a):ht(n,r,a);if(a.code!=="EISDIR")throw a;ht(n,r,a)}}},ht=(t,r,e)=>{w(t),w(r);try{r.rmdirSync(t)}catch(i){if(i.code==="ENOENT")return;if(i.code==="ENOTDIR")throw e;(i.code==="ENOTEMPTY"||i.code==="EEXIST"||i.code==="EPERM")&&di(t,r)}},di=(t,r)=>{w(t),w(r),r.readdirSync(t).forEach(n=>Dr(Cr.join(t,n),r));let e=tt?100:1,i=0;do{let n=!0;try{let s=r.rmdirSync(t,r);return n=!1,s}finally{if(++i<e&&n)continue}}while(!0)};Lr.exports=Pt;Pt.sync=Dr});var xr=O((on,Br)=>{"use strict";y();var Pr=S("os"),$r=/\s+at.*(?:\(|\s)(.*)\)?/,vi=/^(?:(?:(?:node|(?:internal\/[\w/]*|.*node_modules\/(?:babel-polyfill|pirates)\/.*)?\w+)\.js:\d+:\d+)|native)/,mi=typeof Pr.homedir>"u"?"":Pr.homedir();Br.exports=(t,r)=>(r=Object.assign({pretty:!1},r),t.replace(/\\/g,"/").split(`
|
|
7
|
+
See: https://github.com/isaacs/node-glob/issues/167`);if(!(this instanceof _))return new _(t,r);if(He(this,t,r),this.noprocess)return this;var e=this.minimatch.set.length;this.matches=new Array(e);for(var i=0;i<e;i++)this._process(this.minimatch.set[i],i,!1);this._finish()}_.prototype._finish=function(){if(Sr.ok(this instanceof _),this.realpath){var t=this;this.matches.forEach(function(r,e){var i=t.matches[e]=Object.create(null);for(var n in r)try{n=t._makeAbs(n);var s=ze.realpathSync(n,t.realpathCache);i[s]=!0}catch(a){if(a.syscall==="stat")i[t._makeAbs(n)]=!0;else throw a}})}B.finish(this)};_.prototype._process=function(t,r,e){Sr.ok(this instanceof _);for(var i=0;typeof t[i]=="string";)i++;var n;switch(i){case t.length:this._processSimple(t.join("/"),r);return;case 0:n=null;break;default:n=t.slice(0,i).join("/");break}var s=t.slice(i),a;n===null?a=".":((ct(n)||ct(t.map(function(u){return typeof u=="string"?u:"[*]"}).join("/")))&&(!n||!ct(n))&&(n="/"+n),a=n);var c=this._makeAbs(a);if(!Ye(this,a)){var o=s[0]===br.GLOBSTAR;o?this._processGlobStar(n,a,c,s,r,e):this._processReaddir(n,a,c,s,r,e)}};_.prototype._processReaddir=function(t,r,e,i,n,s){var a=this._readdir(e,s);if(a){for(var c=i[0],o=!!this.minimatch.negate,u=c._glob,h=this.dot||u.charAt(0)===".",v=[],l=0;l<a.length;l++){var f=a[l];if(f.charAt(0)!=="."||h){var d;o&&!t?d=!f.match(c):d=f.match(c),d&&v.push(f)}}var m=v.length;if(m!==0){if(i.length===1&&!this.mark&&!this.stat){this.matches[n]||(this.matches[n]=Object.create(null));for(var l=0;l<m;l++){var f=v[l];t&&(t.slice(-1)!=="/"?f=t+"/"+f:f=t+f),f.charAt(0)==="/"&&!this.nomount&&(f=It.join(this.root,f)),this._emitMatch(n,f)}return}i.shift();for(var l=0;l<m;l++){var f=v[l],g;t?g=[t,f]:g=[f],this._process(g.concat(i),n,s)}}}};_.prototype._emitMatch=function(t,r){if(!Ze(this,r)){var e=this._makeAbs(r);if(this.mark&&(r=this._mark(r)),this.absolute&&(r=e),!this.matches[t][r]){if(this.nodir){var i=this.cache[e];if(i==="DIR"||Array.isArray(i))return}this.matches[t][r]=!0,this.stat&&this._stat(r)}}};_.prototype._readdirInGlobStar=function(t){if(this.follow)return this._readdir(t,!1);var r,e,i;try{e=this.fs.lstatSync(t)}catch(s){if(s.code==="ENOENT")return null}var n=e&&e.isSymbolicLink();return this.symlinks[t]=n,!n&&e&&!e.isDirectory()?this.cache[t]="FILE":r=this._readdir(t,!1),r};_.prototype._readdir=function(t,r){var e;if(r&&!Nt(this.symlinks,t))return this._readdirInGlobStar(t);if(Nt(this.cache,t)){var i=this.cache[t];if(!i||i==="FILE")return null;if(Array.isArray(i))return i}try{return this._readdirEntries(t,this.fs.readdirSync(t))}catch(n){return this._readdirError(t,n),null}};_.prototype._readdirEntries=function(t,r){if(!this.mark&&!this.stat)for(var e=0;e<r.length;e++){var i=r[e];t==="/"?i=t+i:i=t+"/"+i,this.cache[i]=!0}return this.cache[t]=r,r};_.prototype._readdirError=function(t,r){switch(r.code){case"ENOTSUP":case"ENOTDIR":var e=this._makeAbs(t);if(this.cache[e]="FILE",e===this.cwdAbs){var i=new Error(r.code+" invalid cwd "+this.cwd);throw i.path=this.cwd,i.code=r.code,i}break;case"ENOENT":case"ELOOP":case"ENAMETOOLONG":case"UNKNOWN":this.cache[this._makeAbs(t)]=!1;break;default:if(this.cache[this._makeAbs(t)]=!1,this.strict)throw r;this.silent||console.error("glob error",r);break}};_.prototype._processGlobStar=function(t,r,e,i,n,s){var a=this._readdir(e,s);if(a){var c=i.slice(1),o=t?[t]:[],u=o.concat(c);this._process(u,n,!1);var h=a.length,v=this.symlinks[e];if(!(v&&s))for(var l=0;l<h;l++){var f=a[l];if(!(f.charAt(0)==="."&&!this.dot)){var d=o.concat(a[l],c);this._process(d,n,!0);var m=o.concat(a[l],i);this._process(m,n,!0)}}}};_.prototype._processSimple=function(t,r){var e=this._stat(t);if(this.matches[r]||(this.matches[r]=Object.create(null)),!!e){if(t&&ct(t)&&!this.nomount){var i=/[\/\\]$/.test(t);t.charAt(0)==="/"?t=It.join(this.root,t):(t=It.resolve(this.root,t),i&&(t+="/"))}process.platform==="win32"&&(t=t.replace(/\\/g,"/")),this._emitMatch(r,t)}};_.prototype._stat=function(t){var r=this._makeAbs(t),e=t.slice(-1)==="/";if(t.length>this.maxLength)return!1;if(!this.stat&&Nt(this.cache,r)){var a=this.cache[r];if(Array.isArray(a)&&(a="DIR"),!e||a==="DIR")return a;if(e&&a==="FILE")return!1}var i,n=this.statCache[r];if(!n){var s;try{s=this.fs.lstatSync(r)}catch(c){if(c&&(c.code==="ENOENT"||c.code==="ENOTDIR"))return this.statCache[r]=!1,!1}if(s&&s.isSymbolicLink())try{n=this.fs.statSync(r)}catch{n=s}else n=s}this.statCache[r]=n;var a=!0;return n&&(a=n.isDirectory()?"DIR":"FILE"),this.cache[r]=this.cache[r]||a,e&&a==="FILE"?!1:a};_.prototype._mark=function(t){return B.mark(this,t)};_.prototype._makeAbs=function(t){return B.makeAbs(this,t)}});var jr=O((Vi,Ar)=>{"use strict";y();var Xe=ce(),V=Object.create(null),Ke=Qt();Ar.exports=Xe(Ve);function Ve(t,r){return V[t]?(V[t].push(r),null):(V[t]=[r],Je(t))}function Je(t){return Ke(function r(){var e=V[t],i=e.length,n=ti(arguments);try{for(var s=0;s<i;s++)e[s].apply(null,n)}finally{e.length>i?(e.splice(0,i),process.nextTick(function(){r.apply(null,n)})):delete V[t]}})}function ti(t){for(var r=t.length,e=[],i=0;i<r;i++)e[i]=t[i];return e}});var qt=O((en,Nr)=>{"use strict";y();Nr.exports=x;var ri=wt(),Ir=at(),tn=Ir.Minimatch,ei=oe(),ii=S("events").EventEmitter,Tt=S("path"),Mt=S("assert"),J=ot(),Rt=Or(),F=jt(),ni=F.setopts,Ct=F.ownProp,Dt=jr(),rn=S("util"),ai=F.childrenIgnored,si=F.isIgnored,oi=Qt();function x(t,r,e){if(typeof r=="function"&&(e=r,r={}),r||(r={}),r.sync){if(e)throw new TypeError("callback provided to sync glob");return Rt(t,r)}return new p(t,r,e)}x.sync=Rt;var ci=x.GlobSync=Rt.GlobSync;x.glob=x;function ui(t,r){if(r===null||typeof r!="object")return t;for(var e=Object.keys(r),i=e.length;i--;)t[e[i]]=r[e[i]];return t}x.hasMagic=function(t,r){var e=ui({},r);e.noprocess=!0;var i=new p(t,e),n=i.minimatch.set;if(!t)return!1;if(n.length>1)return!0;for(var s=0;s<n[0].length;s++)if(typeof n[0][s]!="string")return!0;return!1};x.Glob=p;ei(p,ii);function p(t,r,e){if(typeof r=="function"&&(e=r,r=null),r&&r.sync){if(e)throw new TypeError("callback provided to sync glob");return new ci(t,r)}if(!(this instanceof p))return new p(t,r,e);ni(this,t,r),this._didRealPath=!1;var i=this.minimatch.set.length;this.matches=new Array(i),typeof e=="function"&&(e=oi(e),this.on("error",e),this.on("end",function(o){e(null,o)}));var n=this;if(this._processing=0,this._emitQueue=[],this._processQueue=[],this.paused=!1,this.noprocess)return this;if(i===0)return c();for(var s=!0,a=0;a<i;a++)this._process(this.minimatch.set[a],a,!1,c);s=!1;function c(){--n._processing,n._processing<=0&&(s?process.nextTick(function(){n._finish()}):n._finish())}}p.prototype._finish=function(){if(Mt(this instanceof p),!this.aborted){if(this.realpath&&!this._didRealpath)return this._realpath();F.finish(this),this.emit("end",this.found)}};p.prototype._realpath=function(){if(this._didRealpath)return;this._didRealpath=!0;var t=this.matches.length;if(t===0)return this._finish();for(var r=this,e=0;e<this.matches.length;e++)this._realpathSet(e,i);function i(){--t===0&&r._finish()}};p.prototype._realpathSet=function(t,r){var e=this.matches[t];if(!e)return r();var i=Object.keys(e),n=this,s=i.length;if(s===0)return r();var a=this.matches[t]=Object.create(null);i.forEach(function(c,o){c=n._makeAbs(c),ri.realpath(c,n.realpathCache,function(u,h){u?u.syscall==="stat"?a[c]=!0:n.emit("error",u):a[h]=!0,--s===0&&(n.matches[t]=a,r())})})};p.prototype._mark=function(t){return F.mark(this,t)};p.prototype._makeAbs=function(t){return F.makeAbs(this,t)};p.prototype.abort=function(){this.aborted=!0,this.emit("abort")};p.prototype.pause=function(){this.paused||(this.paused=!0,this.emit("pause"))};p.prototype.resume=function(){if(this.paused){if(this.emit("resume"),this.paused=!1,this._emitQueue.length){var t=this._emitQueue.slice(0);this._emitQueue.length=0;for(var r=0;r<t.length;r++){var e=t[r];this._emitMatch(e[0],e[1])}}if(this._processQueue.length){var i=this._processQueue.slice(0);this._processQueue.length=0;for(var r=0;r<i.length;r++){var n=i[r];this._processing--,this._process(n[0],n[1],n[2],n[3])}}}};p.prototype._process=function(t,r,e,i){if(Mt(this instanceof p),Mt(typeof i=="function"),!this.aborted){if(this._processing++,this.paused){this._processQueue.push([t,r,e,i]);return}for(var n=0;typeof t[n]=="string";)n++;var s;switch(n){case t.length:this._processSimple(t.join("/"),r,i);return;case 0:s=null;break;default:s=t.slice(0,n).join("/");break}var a=t.slice(n),c;s===null?c=".":((J(s)||J(t.map(function(h){return typeof h=="string"?h:"[*]"}).join("/")))&&(!s||!J(s))&&(s="/"+s),c=s);var o=this._makeAbs(c);if(ai(this,c))return i();var u=a[0]===Ir.GLOBSTAR;u?this._processGlobStar(s,c,o,a,r,e,i):this._processReaddir(s,c,o,a,r,e,i)}};p.prototype._processReaddir=function(t,r,e,i,n,s,a){var c=this;this._readdir(e,s,function(o,u){return c._processReaddir2(t,r,e,i,n,s,u,a)})};p.prototype._processReaddir2=function(t,r,e,i,n,s,a,c){if(!a)return c();for(var o=i[0],u=!!this.minimatch.negate,h=o._glob,v=this.dot||h.charAt(0)===".",l=[],f=0;f<a.length;f++){var d=a[f];if(d.charAt(0)!=="."||v){var m;u&&!t?m=!d.match(o):m=d.match(o),m&&l.push(d)}}var g=l.length;if(g===0)return c();if(i.length===1&&!this.mark&&!this.stat){this.matches[n]||(this.matches[n]=Object.create(null));for(var f=0;f<g;f++){var d=l[f];t&&(t!=="/"?d=t+"/"+d:d=t+d),d.charAt(0)==="/"&&!this.nomount&&(d=Tt.join(this.root,d)),this._emitMatch(n,d)}return c()}i.shift();for(var f=0;f<g;f++){var d=l[f],E;t&&(t!=="/"?d=t+"/"+d:d=t+d),this._process([d].concat(i),n,s,c)}c()};p.prototype._emitMatch=function(t,r){if(!this.aborted&&!si(this,r)){if(this.paused){this._emitQueue.push([t,r]);return}var e=J(r)?r:this._makeAbs(r);if(this.mark&&(r=this._mark(r)),this.absolute&&(r=e),!this.matches[t][r]){if(this.nodir){var i=this.cache[e];if(i==="DIR"||Array.isArray(i))return}this.matches[t][r]=!0;var n=this.statCache[e];n&&this.emit("stat",r,n),this.emit("match",r)}}};p.prototype._readdirInGlobStar=function(t,r){if(this.aborted)return;if(this.follow)return this._readdir(t,!1,r);var e="lstat\0"+t,i=this,n=Dt(e,s);n&&i.fs.lstat(t,n);function s(a,c){if(a&&a.code==="ENOENT")return r();var o=c&&c.isSymbolicLink();i.symlinks[t]=o,!o&&c&&!c.isDirectory()?(i.cache[t]="FILE",r()):i._readdir(t,!1,r)}};p.prototype._readdir=function(t,r,e){if(!this.aborted&&(e=Dt("readdir\0"+t+"\0"+r,e),!!e)){if(r&&!Ct(this.symlinks,t))return this._readdirInGlobStar(t,e);if(Ct(this.cache,t)){var i=this.cache[t];if(!i||i==="FILE")return e();if(Array.isArray(i))return e(null,i)}var n=this;n.fs.readdir(t,hi(this,t,e))}};function hi(t,r,e){return function(i,n){i?t._readdirError(r,i,e):t._readdirEntries(r,n,e)}}p.prototype._readdirEntries=function(t,r,e){if(!this.aborted){if(!this.mark&&!this.stat)for(var i=0;i<r.length;i++){var n=r[i];t==="/"?n=t+n:n=t+"/"+n,this.cache[n]=!0}return this.cache[t]=r,e(null,r)}};p.prototype._readdirError=function(t,r,e){if(!this.aborted){switch(r.code){case"ENOTSUP":case"ENOTDIR":var i=this._makeAbs(t);if(this.cache[i]="FILE",i===this.cwdAbs){var n=new Error(r.code+" invalid cwd "+this.cwd);n.path=this.cwd,n.code=r.code,this.emit("error",n),this.abort()}break;case"ENOENT":case"ELOOP":case"ENAMETOOLONG":case"UNKNOWN":this.cache[this._makeAbs(t)]=!1;break;default:this.cache[this._makeAbs(t)]=!1,this.strict&&(this.emit("error",r),this.abort()),this.silent||console.error("glob error",r);break}return e()}};p.prototype._processGlobStar=function(t,r,e,i,n,s,a){var c=this;this._readdir(e,s,function(o,u){c._processGlobStar2(t,r,e,i,n,s,u,a)})};p.prototype._processGlobStar2=function(t,r,e,i,n,s,a,c){if(!a)return c();var o=i.slice(1),u=t?[t]:[],h=u.concat(o);this._process(h,n,!1,c);var v=this.symlinks[e],l=a.length;if(v&&s)return c();for(var f=0;f<l;f++){var d=a[f];if(!(d.charAt(0)==="."&&!this.dot)){var m=u.concat(a[f],o);this._process(m,n,!0,c);var g=u.concat(a[f],i);this._process(g,n,!0,c)}}c()};p.prototype._processSimple=function(t,r,e){var i=this;this._stat(t,function(n,s){i._processSimple2(t,r,n,s,e)})};p.prototype._processSimple2=function(t,r,e,i,n){if(this.matches[r]||(this.matches[r]=Object.create(null)),!i)return n();if(t&&J(t)&&!this.nomount){var s=/[\/\\]$/.test(t);t.charAt(0)==="/"?t=Tt.join(this.root,t):(t=Tt.resolve(this.root,t),s&&(t+="/"))}process.platform==="win32"&&(t=t.replace(/\\/g,"/")),this._emitMatch(r,t),n()};p.prototype._stat=function(t,r){var e=this._makeAbs(t),i=t.slice(-1)==="/";if(t.length>this.maxLength)return r();if(!this.stat&&Ct(this.cache,e)){var n=this.cache[e];if(Array.isArray(n)&&(n="DIR"),!i||n==="DIR")return r(null,n);if(i&&n==="FILE")return r()}var s,a=this.statCache[e];if(a!==void 0){if(a===!1)return r(null,a);var c=a.isDirectory()?"DIR":"FILE";return i&&c==="FILE"?r():r(null,c,a)}var o=this,u=Dt("stat\0"+e,h);u&&o.fs.lstat(e,u);function h(v,l){if(l&&l.isSymbolicLink())return o.fs.stat(e,function(f,d){f?o._stat2(t,e,null,l,r):o._stat2(t,e,f,d,r)});o._stat2(t,e,v,l,r)}};p.prototype._stat2=function(t,r,e,i,n){if(e&&(e.code==="ENOENT"||e.code==="ENOTDIR"))return this.statCache[r]=!1,n();var s=t.slice(-1)==="/";if(this.statCache[r]=i,r.slice(-1)==="/"&&i&&!i.isDirectory())return n(null,!1,i);var a=!0;return i&&(a=i.isDirectory()?"DIR":"FILE"),this.cache[r]=this.cache[r]||a,s&&a==="FILE"?n():n(null,a,i)}});var Gr=O((an,Lr)=>{"use strict";y();var w=S("assert"),Cr=S("path"),qr=S("fs"),H;try{H=qt()}catch{}var li={nosort:!0,silent:!0},Lt=0,tt=process.platform==="win32",Rr=t=>{if(["unlink","chmod","stat","lstat","rmdir","readdir"].forEach(e=>{t[e]=t[e]||qr[e],e=e+"Sync",t[e]=t[e]||qr[e]}),t.maxBusyTries=t.maxBusyTries||3,t.emfileWait=t.emfileWait||1e3,t.glob===!1&&(t.disableGlob=!0),t.disableGlob!==!0&&H===void 0)throw Error("glob dependency not found, set `options.disableGlob = true` if intentional");t.disableGlob=t.disableGlob||!1,t.glob=t.glob||li},Pt=(t,r,e)=>{typeof r=="function"&&(e=r,r={}),w(t,"rimraf: missing path"),w.equal(typeof t,"string","rimraf: path should be a string"),w.equal(typeof e,"function","rimraf: callback function required"),w(r,"rimraf: invalid options argument provided"),w.equal(typeof r,"object","rimraf: options should be object"),Rr(r);let i=0,n=null,s=0,a=o=>{n=n||o,--s===0&&e(n)},c=(o,u)=>{if(o)return e(o);if(s=u.length,s===0)return e();u.forEach(h=>{let v=l=>{if(l){if((l.code==="EBUSY"||l.code==="ENOTEMPTY"||l.code==="EPERM")&&i<r.maxBusyTries)return i++,setTimeout(()=>Gt(h,r,v),i*100);if(l.code==="EMFILE"&&Lt<r.emfileWait)return setTimeout(()=>Gt(h,r,v),Lt++);l.code==="ENOENT"&&(l=null)}Lt=0,a(l)};Gt(h,r,v)})};if(r.disableGlob||!H.hasMagic(t))return c(null,[t]);r.lstat(t,(o,u)=>{if(!o)return c(null,[t]);H(t,r.glob,c)})},Gt=(t,r,e)=>{w(t),w(r),w(typeof e=="function"),r.lstat(t,(i,n)=>{if(i&&i.code==="ENOENT")return e(null);if(i&&i.code==="EPERM"&&tt&&Tr(t,r,i,e),n&&n.isDirectory())return ut(t,r,i,e);r.unlink(t,s=>{if(s){if(s.code==="ENOENT")return e(null);if(s.code==="EPERM")return tt?Tr(t,r,s,e):ut(t,r,s,e);if(s.code==="EISDIR")return ut(t,r,s,e)}return e(s)})})},Tr=(t,r,e,i)=>{w(t),w(r),w(typeof i=="function"),r.chmod(t,438,n=>{n?i(n.code==="ENOENT"?null:e):r.stat(t,(s,a)=>{s?i(s.code==="ENOENT"?null:e):a.isDirectory()?ut(t,r,e,i):r.unlink(t,i)})})},Mr=(t,r,e)=>{w(t),w(r);try{r.chmodSync(t,438)}catch(n){if(n.code==="ENOENT")return;throw e}let i;try{i=r.statSync(t)}catch(n){if(n.code==="ENOENT")return;throw e}i.isDirectory()?ht(t,r,e):r.unlinkSync(t)},ut=(t,r,e,i)=>{w(t),w(r),w(typeof i=="function"),r.rmdir(t,n=>{n&&(n.code==="ENOTEMPTY"||n.code==="EEXIST"||n.code==="EPERM")?fi(t,r,i):n&&n.code==="ENOTDIR"?i(e):i(n)})},fi=(t,r,e)=>{w(t),w(r),w(typeof e=="function"),r.readdir(t,(i,n)=>{if(i)return e(i);let s=n.length;if(s===0)return r.rmdir(t,e);let a;n.forEach(c=>{Pt(Cr.join(t,c),r,o=>{if(!a){if(o)return e(a=o);--s===0&&r.rmdir(t,e)}})})})},Dr=(t,r)=>{r=r||{},Rr(r),w(t,"rimraf: missing path"),w.equal(typeof t,"string","rimraf: path should be a string"),w(r,"rimraf: missing options"),w.equal(typeof r,"object","rimraf: options should be object");let e;if(r.disableGlob||!H.hasMagic(t))e=[t];else try{r.lstatSync(t),e=[t]}catch{e=H.sync(t,r.glob)}if(e.length)for(let i=0;i<e.length;i++){let n=e[i],s;try{s=r.lstatSync(n)}catch(a){if(a.code==="ENOENT")return;a.code==="EPERM"&&tt&&Mr(n,r,a)}try{s&&s.isDirectory()?ht(n,r,null):r.unlinkSync(n)}catch(a){if(a.code==="ENOENT")return;if(a.code==="EPERM")return tt?Mr(n,r,a):ht(n,r,a);if(a.code!=="EISDIR")throw a;ht(n,r,a)}}},ht=(t,r,e)=>{w(t),w(r);try{r.rmdirSync(t)}catch(i){if(i.code==="ENOENT")return;if(i.code==="ENOTDIR")throw e;(i.code==="ENOTEMPTY"||i.code==="EEXIST"||i.code==="EPERM")&&di(t,r)}},di=(t,r)=>{w(t),w(r),r.readdirSync(t).forEach(n=>Dr(Cr.join(t,n),r));let e=tt?100:1,i=0;do{let n=!0;try{let s=r.rmdirSync(t,r);return n=!1,s}finally{if(++i<e&&n)continue}}while(!0)};Lr.exports=Pt;Pt.sync=Dr});var xr=O((on,Br)=>{"use strict";y();var Pr=S("os"),$r=/\s+at.*(?:\(|\s)(.*)\)?/,vi=/^(?:(?:(?:node|(?:internal\/[\w/]*|.*node_modules\/(?:babel-polyfill|pirates)\/.*)?\w+)\.js:\d+:\d+)|native)/,mi=typeof Pr.homedir>"u"?"":Pr.homedir();Br.exports=(t,r)=>(r=Object.assign({pretty:!1},r),t.replace(/\\/g,"/").split(`
|
|
8
8
|
`).filter(e=>{let i=e.match($r);if(i===null||!i[1])return!0;let n=i[1];return n.includes(".app/Contents/Resources/electron.asar")||n.includes(".app/Contents/Resources/default_app.asar")?!1:!vi.test(n)}).filter(e=>e.trim()!=="").map(e=>r.pretty?e.replace($r,(i,n)=>i.replace(n,n.replace(mi,"~"))):e).join(`
|
|
9
|
-
`))});var Wr=O((un,Fr)=>{"use strict";y();var gi=
|
|
9
|
+
`))});var Wr=O((un,Fr)=>{"use strict";y();var gi=re(),yi=xr(),pi=t=>t.replace(/\s+at .*aggregate-error\/index.js:\d+:\d+\)?/g,""),$t=class extends Error{constructor(r){if(!Array.isArray(r))throw new TypeError(`Expected input to be an Array, got ${typeof r}`);r=[...r].map(i=>i instanceof Error?i:i!==null&&typeof i=="object"?Object.assign(new Error(i.message),i):new Error(i));let e=r.map(i=>typeof i.stack=="string"?pi(yi(i.stack)):String(i)).join(`
|
|
10
10
|
`);e=`
|
|
11
|
-
`+gi(e,4),super(e),this.name="AggregateError",Object.defineProperty(this,"_errors",{value:r})}*[Symbol.iterator](){for(let r of this._errors)yield r}};Fr.exports=$t});var Qr=O((ln,Ur)=>{"use strict";y();var Ei=Wr();Ur.exports=async(t,r,{concurrency:e=1/0,stopOnError:i=!0}={})=>new Promise((n,s)=>{if(typeof r!="function")throw new TypeError("Mapper function is required");if(!((Number.isSafeInteger(e)||e===1/0)&&e>=1))throw new TypeError(`Expected \`concurrency\` to be an integer from 1 and up or \`Infinity\`, got \`${e}\` (${typeof e})`);let a=[],c=[],o=t[Symbol.iterator](),u=!1,h=!1,v=0,l=0,f=()=>{if(u)return;let d=o.next(),m=l;if(l++,d.done){h=!0,v===0&&(!i&&c.length!==0?s(new Ei(c)):n(a));return}v++,(async()=>{try{let g=await d.value;a[m]=await r(g,m),v--,f()}catch(g){i?(u=!0,s(g)):(c.push(g),v--,f())}})()};for(let d=0;d<e&&(f(),!h);d++);})});var ji=O((dn,Bt)=>{y();var{promisify:wi}=S("util"),zr=S("path"),Hr=ae(),bi=ie(),Si=ne(),N=
|
|
11
|
+
`+gi(e,4),super(e),this.name="AggregateError",Object.defineProperty(this,"_errors",{value:r})}*[Symbol.iterator](){for(let r of this._errors)yield r}};Fr.exports=$t});var Qr=O((ln,Ur)=>{"use strict";y();var Ei=Wr();Ur.exports=async(t,r,{concurrency:e=1/0,stopOnError:i=!0}={})=>new Promise((n,s)=>{if(typeof r!="function")throw new TypeError("Mapper function is required");if(!((Number.isSafeInteger(e)||e===1/0)&&e>=1))throw new TypeError(`Expected \`concurrency\` to be an integer from 1 and up or \`Infinity\`, got \`${e}\` (${typeof e})`);let a=[],c=[],o=t[Symbol.iterator](),u=!1,h=!1,v=0,l=0,f=()=>{if(u)return;let d=o.next(),m=l;if(l++,d.done){h=!0,v===0&&(!i&&c.length!==0?s(new Ei(c)):n(a));return}v++,(async()=>{try{let g=await d.value;a[m]=await r(g,m),v--,f()}catch(g){i?(u=!0,s(g)):(c.push(g),v--,f())}})()};for(let d=0;d<e&&(f(),!h);d++);})});var ji=O((dn,Bt)=>{y();var{promisify:wi}=S("util"),zr=S("path"),Hr=ae(),bi=ie(),Si=ne(),N=se(),_i=Ht(),ki=Zt(),Yr=Gr(),Oi=Qr(),Ai=wi(Yr),Zr={glob:!1,unlink:N.unlink,unlinkSync:N.unlinkSync,chmod:N.chmod,chmodSync:N.chmodSync,stat:N.stat,statSync:N.statSync,lstat:N.lstat,lstatSync:N.lstatSync,rmdir:N.rmdir,rmdirSync:N.rmdirSync,readdir:N.readdir,readdirSync:N.readdirSync};function Xr(t,r){if(_i(t))throw new Error("Cannot delete the current working directory. Can be overridden with the `force` option.");if(!ki(t,r))throw new Error("Cannot delete files/directories outside the current working directory. Can be overridden with the `force` option.")}function Kr(t){return t=Array.isArray(t)?t:[t],t=t.map(r=>process.platform==="win32"&&bi(r)===!1?Si(r):r),t}Bt.exports=async(t,{force:r,dryRun:e,cwd:i=process.cwd(),onProgress:n=()=>{},...s}={})=>{s={expandDirectories:!1,onlyFiles:!1,followSymbolicLinks:!1,cwd:i,...s},t=Kr(t);let a=(await Hr(t,s)).sort((h,v)=>v.localeCompare(h));a.length===0&&n({totalCount:0,deletedCount:0,percent:1});let c=0,u=await Oi(a,async h=>(h=zr.resolve(i,h),r||Xr(h,i),e||await Ai(h,Zr),c+=1,n({totalCount:a.length,deletedCount:c,percent:c/a.length}),h),s);return u.sort((h,v)=>h.localeCompare(v)),u};Bt.exports.sync=(t,{force:r,dryRun:e,cwd:i=process.cwd(),...n}={})=>{n={expandDirectories:!1,onlyFiles:!1,followSymbolicLinks:!1,cwd:i,...n},t=Kr(t);let a=Hr.sync(t,n).sort((c,o)=>o.localeCompare(c)).map(c=>(c=zr.resolve(i,c),r||Xr(c,i),e||Yr.sync(c,Zr),c));return a.sort((c,o)=>c.localeCompare(o)),a}});export default ji();
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { createRequire as __createRequire } from 'module';globalThis.require = __createRequire(import.meta.url);
|
|
2
|
-
import{
|
|
2
|
+
import{Aa as d,Ba as e,xa as a,ya as b,za as c}from"./chunk-SLVYPPXU.js";import"./chunk-VMIOG46Y.js";import"./chunk-C2DNSDMB.js";import"./chunk-M6JXYI3V.js";import"./chunk-FB327AH7.js";import"./chunk-EO6F7WJJ.js";import"./chunk-7NPI5OH3.js";import"./chunk-RH6HNOXT.js";import"./chunk-MNT4XW23.js";export{e as addBugsnagMetadata,c as cleanStackFrameFilePath,a as errorHandler,d as registerCleanBugsnagErrorsFromWithinPlugins,b as sendErrorToBugsnag};
|