@wix/cli-app 1.1.40 → 1.1.41

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.
Files changed (88) hide show
  1. package/build/CreateVersionCommand-NJC6EUQ6.js +4 -0
  2. package/build/{CreateVersionCommand-O5BVX2VS.js.map → CreateVersionCommand-NJC6EUQ6.js.map} +1 -1
  3. package/build/{DevCommand-CRZL2PKO.js → DevCommand-7VFOSZMO.js} +2 -2
  4. package/build/{GenerateCommand-SMG3IJQB.js → GenerateCommand-VISY3267.js} +8 -8
  5. package/build/{GenerateCommand-SMG3IJQB.js.map → GenerateCommand-VISY3267.js.map} +1 -1
  6. package/build/{LogsCommand-M66KGJ6O.js → LogsCommand-5HFJDCHS.js} +2 -2
  7. package/build/PreviewCommand-R3AOKI4K.js +4 -0
  8. package/build/{ServeCommand-INMICJZO.js → ServeCommand-QS4FDP4T.js} +2 -2
  9. package/build/{build-IIIEPXQV.js → build-BFTLTFIN.js} +2 -2
  10. package/build/{chunk-L3ID3ZSB.js → chunk-3HELHIBJ.js} +2 -2
  11. package/build/{chunk-X3PZHSTL.js → chunk-3OFSARA2.js} +2 -2
  12. package/build/{chunk-NEJZ2NNG.js → chunk-5YVFVF4T.js} +2 -2
  13. package/build/chunk-62SRA77S.js +4 -0
  14. package/build/{chunk-NQAHAISJ.js.map → chunk-62SRA77S.js.map} +1 -1
  15. package/build/{chunk-5SA2INZ4.js → chunk-6MMLDNFM.js} +2 -2
  16. package/build/{chunk-I5NQ52AS.js → chunk-7RL4TN6T.js} +2 -2
  17. package/build/chunk-B2BRLGRZ.js +4 -0
  18. package/build/{chunk-WOVDKZ5J.js → chunk-GF543SV4.js} +2 -2
  19. package/build/chunk-IZOKP4UZ.js +4 -0
  20. package/build/{chunk-Z7XO554G.js.map → chunk-IZOKP4UZ.js.map} +1 -1
  21. package/build/chunk-L7P6I5SY.js +4 -0
  22. package/build/{chunk-3YJCDGCN.js.map → chunk-L7P6I5SY.js.map} +1 -1
  23. package/build/chunk-LRONHC7Z.js +10 -0
  24. package/build/chunk-LRONHC7Z.js.map +1 -0
  25. package/build/{chunk-K3TY5EJT.js → chunk-NCYXC7TY.js} +2 -2
  26. package/build/chunk-RL3KEEB6.js +11 -0
  27. package/build/{chunk-RPKQITNR.js.map → chunk-RL3KEEB6.js.map} +1 -1
  28. package/build/{chunk-OU5XEMIQ.js → chunk-RUZJ2NCD.js} +2 -2
  29. package/build/chunk-SQGBFWJ2.js +114 -0
  30. package/build/chunk-SQGBFWJ2.js.map +1 -0
  31. package/build/{chunk-VC3QC6IA.js → chunk-T3UD2OLT.js} +2 -2
  32. package/build/{chunk-P3SK6O7I.js → chunk-UGTXCT5B.js} +28 -28
  33. package/build/chunk-UGTXCT5B.js.map +1 -0
  34. package/build/chunk-ZTW5IT5T.js +4 -0
  35. package/build/chunk-ZTW5IT5T.js.map +1 -0
  36. package/build/devtools-4JFNYU2B.js +10 -0
  37. package/build/devtools-4JFNYU2B.js.map +1 -0
  38. package/build/index.js +2 -2
  39. package/build/index.js.map +1 -1
  40. package/build/{preview-D53ROXPK.js → preview-KSI26ITH.js} +2 -2
  41. package/build/render-command-D47LZ2TZ.js +4 -0
  42. package/build/render-command-D47LZ2TZ.js.map +1 -0
  43. package/client.d.ts +2 -3
  44. package/package.json +4 -7
  45. package/templates/api/files/api.ts.ejs +8 -8
  46. package/templates/event/dependencies.json +5 -0
  47. package/templates/event/files/event.ts.ejs +2 -2
  48. package/templates/service-plugin/ecom-additional-fees/files/plugin.ts.ejs +1 -1
  49. package/templates/service-plugin/ecom-discounts-trigger/files/plugin.ts.ejs +2 -2
  50. package/templates/service-plugin/ecom-payment-settings/files/plugin.ts.ejs +2 -2
  51. package/templates/service-plugin/ecom-shipping-rates/files/plugin.ts.ejs +1 -1
  52. package/templates/service-plugin/ecom-validations/files/plugin.ts.ejs +2 -2
  53. package/build/CreateVersionCommand-O5BVX2VS.js +0 -4
  54. package/build/PreviewCommand-QQUEB3JU.js +0 -4
  55. package/build/chunk-3YJCDGCN.js +0 -4
  56. package/build/chunk-GDSAERE7.js +0 -10
  57. package/build/chunk-GDSAERE7.js.map +0 -1
  58. package/build/chunk-LORL7RCM.js +0 -4
  59. package/build/chunk-LORL7RCM.js.map +0 -1
  60. package/build/chunk-N5J27JBU.js +0 -4
  61. package/build/chunk-NQAHAISJ.js +0 -4
  62. package/build/chunk-P3SK6O7I.js.map +0 -1
  63. package/build/chunk-R6BWGOF7.js +0 -116
  64. package/build/chunk-R6BWGOF7.js.map +0 -1
  65. package/build/chunk-RPKQITNR.js +0 -11
  66. package/build/chunk-YUHF6CTW.js +0 -4
  67. package/build/chunk-YUHF6CTW.js.map +0 -1
  68. package/build/chunk-Z7XO554G.js +0 -4
  69. package/build/devtools-LGJXFI3T.js +0 -10
  70. package/build/devtools-LGJXFI3T.js.map +0 -1
  71. package/build/render-command-JAWSRO4L.js +0 -4
  72. package/build/render-command-JAWSRO4L.js.map +0 -1
  73. /package/build/{DevCommand-CRZL2PKO.js.map → DevCommand-7VFOSZMO.js.map} +0 -0
  74. /package/build/{LogsCommand-M66KGJ6O.js.map → LogsCommand-5HFJDCHS.js.map} +0 -0
  75. /package/build/{PreviewCommand-QQUEB3JU.js.map → PreviewCommand-R3AOKI4K.js.map} +0 -0
  76. /package/build/{ServeCommand-INMICJZO.js.map → ServeCommand-QS4FDP4T.js.map} +0 -0
  77. /package/build/{build-IIIEPXQV.js.map → build-BFTLTFIN.js.map} +0 -0
  78. /package/build/{chunk-L3ID3ZSB.js.map → chunk-3HELHIBJ.js.map} +0 -0
  79. /package/build/{chunk-X3PZHSTL.js.map → chunk-3OFSARA2.js.map} +0 -0
  80. /package/build/{chunk-NEJZ2NNG.js.map → chunk-5YVFVF4T.js.map} +0 -0
  81. /package/build/{chunk-5SA2INZ4.js.map → chunk-6MMLDNFM.js.map} +0 -0
  82. /package/build/{chunk-I5NQ52AS.js.map → chunk-7RL4TN6T.js.map} +0 -0
  83. /package/build/{chunk-N5J27JBU.js.map → chunk-B2BRLGRZ.js.map} +0 -0
  84. /package/build/{chunk-WOVDKZ5J.js.map → chunk-GF543SV4.js.map} +0 -0
  85. /package/build/{chunk-K3TY5EJT.js.map → chunk-NCYXC7TY.js.map} +0 -0
  86. /package/build/{chunk-OU5XEMIQ.js.map → chunk-RUZJ2NCD.js.map} +0 -0
  87. /package/build/{chunk-VC3QC6IA.js.map → chunk-T3UD2OLT.js.map} +0 -0
  88. /package/build/{preview-D53ROXPK.js.map → preview-KSI26ITH.js.map} +0 -0
@@ -1,6 +1,6 @@
1
1
  import { createRequire as _createRequire } from 'node:module';
2
2
  const require = _createRequire(import.meta.url);
3
- import{$a as qc,Aa as Ui,_a as Fc,ab as Oc,cb as Ls,da as Lc,eb as Vi,fb as Mi,gb as Rs,h as Ic,ha as Rc,hb as Uc,i as _c,ia as Pc,ib as Vc,jb as Mc,kb as Qc,q as Nc,va as Ga,y as kc,ya as Oi,za as ks}from"./chunk-R6BWGOF7.js";import{b as Ns,d as Zu,e as ei,m as Tc}from"./chunk-P3SK6O7I.js";import{a as Ye,b as Ka,c as L,d as dm,e as $u,f as ja,h as A}from"./chunk-V4TR6DCM.js";var qt=L(Ms=>{"use strict";A();Ms.fromCallback=function(e){return Object.defineProperty(function(...t){if(typeof t[t.length-1]=="function")e.apply(this,t);else return new Promise((r,u)=>{e.call(this,...t,(i,a)=>i!=null?u(i):r(a))})},"name",{value:e.name})};Ms.fromPromise=function(e){return Object.defineProperty(function(...t){let r=t[t.length-1];if(typeof r!="function")return e.apply(this,t);e.apply(this,t.slice(0,-1)).then(u=>r(null,u),r)},"name",{value:e.name})}});var Wc=L((U6,Yc)=>{"use strict";A();var tu=Ye("constants"),Am=process.cwd,Wa=null,bm=process.env.GRACEFUL_FS_PLATFORM||process.platform;process.cwd=function(){return Wa||(Wa=Am.call(process)),Wa};try{process.cwd()}catch{}typeof process.chdir=="function"&&(Qs=process.chdir,process.chdir=function(e){Wa=null,Qs.call(process,e)},Object.setPrototypeOf&&Object.setPrototypeOf(process.chdir,Qs));var Qs;Yc.exports=Cm;function Cm(e){tu.hasOwnProperty("O_SYMLINK")&&process.version.match(/^v0\.6\.[0-2]|^v0\.5\./)&&t(e),e.lutimes||r(e),e.chown=a(e.chown),e.fchown=a(e.fchown),e.lchown=a(e.lchown),e.chmod=u(e.chmod),e.fchmod=u(e.fchmod),e.lchmod=u(e.lchmod),e.chownSync=n(e.chownSync),e.fchownSync=n(e.fchownSync),e.lchownSync=n(e.lchownSync),e.chmodSync=i(e.chmodSync),e.fchmodSync=i(e.fchmodSync),e.lchmodSync=i(e.lchmodSync),e.stat=s(e.stat),e.fstat=s(e.fstat),e.lstat=s(e.lstat),e.statSync=o(e.statSync),e.fstatSync=o(e.fstatSync),e.lstatSync=o(e.lstatSync),e.chmod&&!e.lchmod&&(e.lchmod=function(l,f,d){d&&process.nextTick(d)},e.lchmodSync=function(){}),e.chown&&!e.lchown&&(e.lchown=function(l,f,d,m){m&&process.nextTick(m)},e.lchownSync=function(){}),bm==="win32"&&(e.rename=typeof e.rename!="function"?e.rename:function(l){function f(d,m,h){var b=Date.now(),C=0;l(d,m,function S(I){if(I&&(I.code==="EACCES"||I.code==="EPERM"||I.code==="EBUSY")&&Date.now()-b<6e4){setTimeout(function(){e.stat(m,function(_,U){_&&_.code==="ENOENT"?l(d,m,S):h(I)})},C),C<100&&(C+=10);return}h&&h(I)})}return Object.setPrototypeOf&&Object.setPrototypeOf(f,l),f}(e.rename)),e.read=typeof e.read!="function"?e.read:function(l){function f(d,m,h,b,C,S){var I;if(S&&typeof S=="function"){var _=0;I=function(U,F,q){if(U&&U.code==="EAGAIN"&&_<10)return _++,l.call(e,d,m,h,b,C,I);S.apply(this,arguments)}}return l.call(e,d,m,h,b,C,I)}return Object.setPrototypeOf&&Object.setPrototypeOf(f,l),f}(e.read),e.readSync=typeof e.readSync!="function"?e.readSync:function(l){return function(f,d,m,h,b){for(var C=0;;)try{return l.call(e,f,d,m,h,b)}catch(S){if(S.code==="EAGAIN"&&C<10){C++;continue}throw S}}}(e.readSync);function t(l){l.lchmod=function(f,d,m){l.open(f,tu.O_WRONLY|tu.O_SYMLINK,d,function(h,b){if(h){m&&m(h);return}l.fchmod(b,d,function(C){l.close(b,function(S){m&&m(C||S)})})})},l.lchmodSync=function(f,d){var m=l.openSync(f,tu.O_WRONLY|tu.O_SYMLINK,d),h=!0,b;try{b=l.fchmodSync(m,d),h=!1}finally{if(h)try{l.closeSync(m)}catch{}else l.closeSync(m)}return b}}function r(l){tu.hasOwnProperty("O_SYMLINK")&&l.futimes?(l.lutimes=function(f,d,m,h){l.open(f,tu.O_SYMLINK,function(b,C){if(b){h&&h(b);return}l.futimes(C,d,m,function(S){l.close(C,function(I){h&&h(S||I)})})})},l.lutimesSync=function(f,d,m){var h=l.openSync(f,tu.O_SYMLINK),b,C=!0;try{b=l.futimesSync(h,d,m),C=!1}finally{if(C)try{l.closeSync(h)}catch{}else l.closeSync(h)}return b}):l.futimes&&(l.lutimes=function(f,d,m,h){h&&process.nextTick(h)},l.lutimesSync=function(){})}function u(l){return l&&function(f,d,m){return l.call(e,f,d,function(h){c(h)&&(h=null),m&&m.apply(this,arguments)})}}function i(l){return l&&function(f,d){try{return l.call(e,f,d)}catch(m){if(!c(m))throw m}}}function a(l){return l&&function(f,d,m,h){return l.call(e,f,d,m,function(b){c(b)&&(b=null),h&&h.apply(this,arguments)})}}function n(l){return l&&function(f,d,m){try{return l.call(e,f,d,m)}catch(h){if(!c(h))throw h}}}function s(l){return l&&function(f,d,m){typeof d=="function"&&(m=d,d=null);function h(b,C){C&&(C.uid<0&&(C.uid+=4294967296),C.gid<0&&(C.gid+=4294967296)),m&&m.apply(this,arguments)}return d?l.call(e,f,d,h):l.call(e,f,h)}}function o(l){return l&&function(f,d){var m=d?l.call(e,f,d):l.call(e,f);return m&&(m.uid<0&&(m.uid+=4294967296),m.gid<0&&(m.gid+=4294967296)),m}}function c(l){if(!l||l.code==="ENOSYS")return!0;var f=!process.getuid||process.getuid()!==0;return!!(f&&(l.code==="EINVAL"||l.code==="EPERM"))}}});var $c=L((M6,Xc)=>{"use strict";A();var Jc=Ye("stream").Stream;Xc.exports=xm;function xm(e){return{ReadStream:t,WriteStream:r};function t(u,i){if(!(this instanceof t))return new t(u,i);Jc.call(this);var a=this;this.path=u,this.fd=null,this.readable=!0,this.paused=!1,this.flags="r",this.mode=438,this.bufferSize=64*1024,i=i||{};for(var n=Object.keys(i),s=0,o=n.length;s<o;s++){var c=n[s];this[c]=i[c]}if(this.encoding&&this.setEncoding(this.encoding),this.start!==void 0){if(typeof this.start!="number")throw TypeError("start must be a Number");if(this.end===void 0)this.end=1/0;else if(typeof this.end!="number")throw TypeError("end must be a Number");if(this.start>this.end)throw new Error("start must be <= end");this.pos=this.start}if(this.fd!==null){process.nextTick(function(){a._read()});return}e.open(this.path,this.flags,this.mode,function(l,f){if(l){a.emit("error",l),a.readable=!1;return}a.fd=f,a.emit("open",f),a._read()})}function r(u,i){if(!(this instanceof r))return new r(u,i);Jc.call(this),this.path=u,this.fd=null,this.writable=!0,this.flags="w",this.encoding="binary",this.mode=438,this.bytesWritten=0,i=i||{};for(var a=Object.keys(i),n=0,s=a.length;n<s;n++){var o=a[n];this[o]=i[o]}if(this.start!==void 0){if(typeof this.start!="number")throw TypeError("start must be a Number");if(this.start<0)throw new Error("start must be >= zero");this.pos=this.start}this.busy=!1,this._queue=[],this.fd===null&&(this._open=e.open,this._queue.push([this._open,this.path,this.flags,this.mode,void 0]),this.flush())}}});var el=L((H6,Zc)=>{"use strict";A();Zc.exports=Sm;var Em=Object.getPrototypeOf||function(e){return e.__proto__};function Sm(e){if(e===null||typeof e!="object")return e;if(e instanceof Object)var t={__proto__:Em(e)};else var t=Object.create(null);return Object.getOwnPropertyNames(e).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(e,r))}),t}});var Tt=L((j6,js)=>{"use strict";A();var $e=Ye("fs"),Dm=Wc(),wm=$c(),Bm=el(),Ja=Ye("util"),bt,$a;typeof Symbol=="function"&&typeof Symbol.for=="function"?(bt=Symbol.for("graceful-fs.queue"),$a=Symbol.for("graceful-fs.previous")):(bt="___graceful-fs.queue",$a="___graceful-fs.previous");function Tm(){}function ul(e,t){Object.defineProperty(e,bt,{get:function(){return t}})}var _u=Tm;Ja.debuglog?_u=Ja.debuglog("gfs4"):/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")&&(_u=function(){var e=Ja.format.apply(Ja,arguments);e="GFS4: "+e.split(/\n/).join(`
3
+ import{Aa as Ui,Ya as Fc,Za as qc,_a as Oc,ab as Ls,cb as Vi,da as Lc,db as Mi,eb as Rs,fb as Uc,gb as Vc,h as Ic,ha as Rc,hb as Mc,i as _c,ia as Pc,ib as Qc,q as Nc,va as Ga,y as kc,ya as Oi,za as ks}from"./chunk-SQGBFWJ2.js";import{c as Ns,e as Zu,f as ei,n as Tc}from"./chunk-UGTXCT5B.js";import{a as Ye,b as Ka,c as L,d as dm,e as $u,f as ja,h as A}from"./chunk-V4TR6DCM.js";var qt=L(Ms=>{"use strict";A();Ms.fromCallback=function(e){return Object.defineProperty(function(...t){if(typeof t[t.length-1]=="function")e.apply(this,t);else return new Promise((r,u)=>{e.call(this,...t,(i,a)=>i!=null?u(i):r(a))})},"name",{value:e.name})};Ms.fromPromise=function(e){return Object.defineProperty(function(...t){let r=t[t.length-1];if(typeof r!="function")return e.apply(this,t);e.apply(this,t.slice(0,-1)).then(u=>r(null,u),r)},"name",{value:e.name})}});var Wc=L((U6,Yc)=>{"use strict";A();var tu=Ye("constants"),Am=process.cwd,Wa=null,bm=process.env.GRACEFUL_FS_PLATFORM||process.platform;process.cwd=function(){return Wa||(Wa=Am.call(process)),Wa};try{process.cwd()}catch{}typeof process.chdir=="function"&&(Qs=process.chdir,process.chdir=function(e){Wa=null,Qs.call(process,e)},Object.setPrototypeOf&&Object.setPrototypeOf(process.chdir,Qs));var Qs;Yc.exports=Cm;function Cm(e){tu.hasOwnProperty("O_SYMLINK")&&process.version.match(/^v0\.6\.[0-2]|^v0\.5\./)&&t(e),e.lutimes||r(e),e.chown=a(e.chown),e.fchown=a(e.fchown),e.lchown=a(e.lchown),e.chmod=u(e.chmod),e.fchmod=u(e.fchmod),e.lchmod=u(e.lchmod),e.chownSync=n(e.chownSync),e.fchownSync=n(e.fchownSync),e.lchownSync=n(e.lchownSync),e.chmodSync=i(e.chmodSync),e.fchmodSync=i(e.fchmodSync),e.lchmodSync=i(e.lchmodSync),e.stat=s(e.stat),e.fstat=s(e.fstat),e.lstat=s(e.lstat),e.statSync=o(e.statSync),e.fstatSync=o(e.fstatSync),e.lstatSync=o(e.lstatSync),e.chmod&&!e.lchmod&&(e.lchmod=function(l,f,d){d&&process.nextTick(d)},e.lchmodSync=function(){}),e.chown&&!e.lchown&&(e.lchown=function(l,f,d,m){m&&process.nextTick(m)},e.lchownSync=function(){}),bm==="win32"&&(e.rename=typeof e.rename!="function"?e.rename:function(l){function f(d,m,h){var b=Date.now(),C=0;l(d,m,function S(I){if(I&&(I.code==="EACCES"||I.code==="EPERM"||I.code==="EBUSY")&&Date.now()-b<6e4){setTimeout(function(){e.stat(m,function(_,U){_&&_.code==="ENOENT"?l(d,m,S):h(I)})},C),C<100&&(C+=10);return}h&&h(I)})}return Object.setPrototypeOf&&Object.setPrototypeOf(f,l),f}(e.rename)),e.read=typeof e.read!="function"?e.read:function(l){function f(d,m,h,b,C,S){var I;if(S&&typeof S=="function"){var _=0;I=function(U,F,q){if(U&&U.code==="EAGAIN"&&_<10)return _++,l.call(e,d,m,h,b,C,I);S.apply(this,arguments)}}return l.call(e,d,m,h,b,C,I)}return Object.setPrototypeOf&&Object.setPrototypeOf(f,l),f}(e.read),e.readSync=typeof e.readSync!="function"?e.readSync:function(l){return function(f,d,m,h,b){for(var C=0;;)try{return l.call(e,f,d,m,h,b)}catch(S){if(S.code==="EAGAIN"&&C<10){C++;continue}throw S}}}(e.readSync);function t(l){l.lchmod=function(f,d,m){l.open(f,tu.O_WRONLY|tu.O_SYMLINK,d,function(h,b){if(h){m&&m(h);return}l.fchmod(b,d,function(C){l.close(b,function(S){m&&m(C||S)})})})},l.lchmodSync=function(f,d){var m=l.openSync(f,tu.O_WRONLY|tu.O_SYMLINK,d),h=!0,b;try{b=l.fchmodSync(m,d),h=!1}finally{if(h)try{l.closeSync(m)}catch{}else l.closeSync(m)}return b}}function r(l){tu.hasOwnProperty("O_SYMLINK")&&l.futimes?(l.lutimes=function(f,d,m,h){l.open(f,tu.O_SYMLINK,function(b,C){if(b){h&&h(b);return}l.futimes(C,d,m,function(S){l.close(C,function(I){h&&h(S||I)})})})},l.lutimesSync=function(f,d,m){var h=l.openSync(f,tu.O_SYMLINK),b,C=!0;try{b=l.futimesSync(h,d,m),C=!1}finally{if(C)try{l.closeSync(h)}catch{}else l.closeSync(h)}return b}):l.futimes&&(l.lutimes=function(f,d,m,h){h&&process.nextTick(h)},l.lutimesSync=function(){})}function u(l){return l&&function(f,d,m){return l.call(e,f,d,function(h){c(h)&&(h=null),m&&m.apply(this,arguments)})}}function i(l){return l&&function(f,d){try{return l.call(e,f,d)}catch(m){if(!c(m))throw m}}}function a(l){return l&&function(f,d,m,h){return l.call(e,f,d,m,function(b){c(b)&&(b=null),h&&h.apply(this,arguments)})}}function n(l){return l&&function(f,d,m){try{return l.call(e,f,d,m)}catch(h){if(!c(h))throw h}}}function s(l){return l&&function(f,d,m){typeof d=="function"&&(m=d,d=null);function h(b,C){C&&(C.uid<0&&(C.uid+=4294967296),C.gid<0&&(C.gid+=4294967296)),m&&m.apply(this,arguments)}return d?l.call(e,f,d,h):l.call(e,f,h)}}function o(l){return l&&function(f,d){var m=d?l.call(e,f,d):l.call(e,f);return m&&(m.uid<0&&(m.uid+=4294967296),m.gid<0&&(m.gid+=4294967296)),m}}function c(l){if(!l||l.code==="ENOSYS")return!0;var f=!process.getuid||process.getuid()!==0;return!!(f&&(l.code==="EINVAL"||l.code==="EPERM"))}}});var $c=L((M6,Xc)=>{"use strict";A();var Jc=Ye("stream").Stream;Xc.exports=xm;function xm(e){return{ReadStream:t,WriteStream:r};function t(u,i){if(!(this instanceof t))return new t(u,i);Jc.call(this);var a=this;this.path=u,this.fd=null,this.readable=!0,this.paused=!1,this.flags="r",this.mode=438,this.bufferSize=64*1024,i=i||{};for(var n=Object.keys(i),s=0,o=n.length;s<o;s++){var c=n[s];this[c]=i[c]}if(this.encoding&&this.setEncoding(this.encoding),this.start!==void 0){if(typeof this.start!="number")throw TypeError("start must be a Number");if(this.end===void 0)this.end=1/0;else if(typeof this.end!="number")throw TypeError("end must be a Number");if(this.start>this.end)throw new Error("start must be <= end");this.pos=this.start}if(this.fd!==null){process.nextTick(function(){a._read()});return}e.open(this.path,this.flags,this.mode,function(l,f){if(l){a.emit("error",l),a.readable=!1;return}a.fd=f,a.emit("open",f),a._read()})}function r(u,i){if(!(this instanceof r))return new r(u,i);Jc.call(this),this.path=u,this.fd=null,this.writable=!0,this.flags="w",this.encoding="binary",this.mode=438,this.bytesWritten=0,i=i||{};for(var a=Object.keys(i),n=0,s=a.length;n<s;n++){var o=a[n];this[o]=i[o]}if(this.start!==void 0){if(typeof this.start!="number")throw TypeError("start must be a Number");if(this.start<0)throw new Error("start must be >= zero");this.pos=this.start}this.busy=!1,this._queue=[],this.fd===null&&(this._open=e.open,this._queue.push([this._open,this.path,this.flags,this.mode,void 0]),this.flush())}}});var el=L((H6,Zc)=>{"use strict";A();Zc.exports=Sm;var Em=Object.getPrototypeOf||function(e){return e.__proto__};function Sm(e){if(e===null||typeof e!="object")return e;if(e instanceof Object)var t={__proto__:Em(e)};else var t=Object.create(null);return Object.getOwnPropertyNames(e).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(e,r))}),t}});var Tt=L((j6,js)=>{"use strict";A();var $e=Ye("fs"),Dm=Wc(),wm=$c(),Bm=el(),Ja=Ye("util"),bt,$a;typeof Symbol=="function"&&typeof Symbol.for=="function"?(bt=Symbol.for("graceful-fs.queue"),$a=Symbol.for("graceful-fs.previous")):(bt="___graceful-fs.queue",$a="___graceful-fs.previous");function Tm(){}function ul(e,t){Object.defineProperty(e,bt,{get:function(){return t}})}var _u=Tm;Ja.debuglog?_u=Ja.debuglog("gfs4"):/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")&&(_u=function(){var e=Ja.format.apply(Ja,arguments);e="GFS4: "+e.split(/\n/).join(`
4
4
  GFS4: `),console.error(e)});$e[bt]||(tl=global[bt]||[],ul($e,tl),$e.close=function(e){function t(r,u){return e.call($e,r,function(i){i||rl(),typeof u=="function"&&u.apply(this,arguments)})}return Object.defineProperty(t,$a,{value:e}),t}($e.close),$e.closeSync=function(e){function t(r){e.apply($e,arguments),rl()}return Object.defineProperty(t,$a,{value:e}),t}($e.closeSync),/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")&&process.on("exit",function(){_u($e[bt]),Ye("assert").equal($e[bt].length,0)}));var tl;global[bt]||ul(global,$e[bt]);js.exports=Hs(Bm($e));process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH&&!$e.__patched&&(js.exports=Hs($e),$e.__patched=!0);function Hs(e){Dm(e),e.gracefulify=Hs,e.createReadStream=F,e.createWriteStream=q;var t=e.readFile;e.readFile=r;function r(M,Y,K){return typeof Y=="function"&&(K=Y,Y=null),ue(M,Y,K);function ue(oe,le,J,ae){return t(oe,le,function(N){N&&(N.code==="EMFILE"||N.code==="ENFILE")?ri([ue,[oe,le,J],N,ae||Date.now(),Date.now()]):typeof J=="function"&&J.apply(this,arguments)})}}var u=e.writeFile;e.writeFile=i;function i(M,Y,K,ue){return typeof K=="function"&&(ue=K,K=null),oe(M,Y,K,ue);function oe(le,J,ae,N,X){return u(le,J,ae,function(Z){Z&&(Z.code==="EMFILE"||Z.code==="ENFILE")?ri([oe,[le,J,ae,N],Z,X||Date.now(),Date.now()]):typeof N=="function"&&N.apply(this,arguments)})}}var a=e.appendFile;a&&(e.appendFile=n);function n(M,Y,K,ue){return typeof K=="function"&&(ue=K,K=null),oe(M,Y,K,ue);function oe(le,J,ae,N,X){return a(le,J,ae,function(Z){Z&&(Z.code==="EMFILE"||Z.code==="ENFILE")?ri([oe,[le,J,ae,N],Z,X||Date.now(),Date.now()]):typeof N=="function"&&N.apply(this,arguments)})}}var s=e.copyFile;s&&(e.copyFile=o);function o(M,Y,K,ue){return typeof K=="function"&&(ue=K,K=0),oe(M,Y,K,ue);function oe(le,J,ae,N,X){return s(le,J,ae,function(Z){Z&&(Z.code==="EMFILE"||Z.code==="ENFILE")?ri([oe,[le,J,ae,N],Z,X||Date.now(),Date.now()]):typeof N=="function"&&N.apply(this,arguments)})}}var c=e.readdir;e.readdir=f;var l=/^v[0-5]\./;function f(M,Y,K){typeof Y=="function"&&(K=Y,Y=null);var ue=l.test(process.version)?function(J,ae,N,X){return c(J,oe(J,ae,N,X))}:function(J,ae,N,X){return c(J,ae,oe(J,ae,N,X))};return ue(M,Y,K);function oe(le,J,ae,N){return function(X,Z){X&&(X.code==="EMFILE"||X.code==="ENFILE")?ri([ue,[le,J,ae],X,N||Date.now(),Date.now()]):(Z&&Z.sort&&Z.sort(),typeof ae=="function"&&ae.call(this,X,Z))}}}if(process.version.substr(0,4)==="v0.8"){var d=wm(e);S=d.ReadStream,_=d.WriteStream}var m=e.ReadStream;m&&(S.prototype=Object.create(m.prototype),S.prototype.open=I);var h=e.WriteStream;h&&(_.prototype=Object.create(h.prototype),_.prototype.open=U),Object.defineProperty(e,"ReadStream",{get:function(){return S},set:function(M){S=M},enumerable:!0,configurable:!0}),Object.defineProperty(e,"WriteStream",{get:function(){return _},set:function(M){_=M},enumerable:!0,configurable:!0});var b=S;Object.defineProperty(e,"FileReadStream",{get:function(){return b},set:function(M){b=M},enumerable:!0,configurable:!0});var C=_;Object.defineProperty(e,"FileWriteStream",{get:function(){return C},set:function(M){C=M},enumerable:!0,configurable:!0});function S(M,Y){return this instanceof S?(m.apply(this,arguments),this):S.apply(Object.create(S.prototype),arguments)}function I(){var M=this;W(M.path,M.flags,M.mode,function(Y,K){Y?(M.autoClose&&M.destroy(),M.emit("error",Y)):(M.fd=K,M.emit("open",K),M.read())})}function _(M,Y){return this instanceof _?(h.apply(this,arguments),this):_.apply(Object.create(_.prototype),arguments)}function U(){var M=this;W(M.path,M.flags,M.mode,function(Y,K){Y?(M.destroy(),M.emit("error",Y)):(M.fd=K,M.emit("open",K))})}function F(M,Y){return new e.ReadStream(M,Y)}function q(M,Y){return new e.WriteStream(M,Y)}var ie=e.open;e.open=W;function W(M,Y,K,ue){return typeof K=="function"&&(ue=K,K=null),oe(M,Y,K,ue);function oe(le,J,ae,N,X){return ie(le,J,ae,function(Z,de){Z&&(Z.code==="EMFILE"||Z.code==="ENFILE")?ri([oe,[le,J,ae,N],Z,X||Date.now(),Date.now()]):typeof N=="function"&&N.apply(this,arguments)})}}return e}function ri(e){_u("ENQUEUE",e[0].name,e[1]),$e[bt].push(e),Ks()}var Xa;function rl(){for(var e=Date.now(),t=0;t<$e[bt].length;++t)$e[bt][t].length>2&&($e[bt][t][3]=e,$e[bt][t][4]=e);Ks()}function Ks(){if(clearTimeout(Xa),Xa=void 0,$e[bt].length!==0){var e=$e[bt].shift(),t=e[0],r=e[1],u=e[2],i=e[3],a=e[4];if(i===void 0)_u("RETRY",t.name,r),t.apply(null,r);else if(Date.now()-i>=6e4){_u("TIMEOUT",t.name,r);var n=r.pop();typeof n=="function"&&n.call(null,u)}else{var s=Date.now()-a,o=Math.max(a-i,1),c=Math.min(o*1.2,100);s>=c?(_u("RETRY",t.name,r),t.apply(null,r.concat([i]))):$e[bt].push(e)}Xa===void 0&&(Xa=setTimeout(Ks,0))}}});var Nu=L(ru=>{"use strict";A();var il=qt().fromCallback,Ot=Tt(),Im=["access","appendFile","chmod","chown","close","copyFile","fchmod","fchown","fdatasync","fstat","fsync","ftruncate","futimes","lchmod","lchown","link","lstat","mkdir","mkdtemp","open","opendir","readdir","readFile","readlink","realpath","rename","rm","rmdir","stat","symlink","truncate","unlink","utimes","writeFile"].filter(e=>typeof Ot[e]=="function");Object.assign(ru,Ot);Im.forEach(e=>{ru[e]=il(Ot[e])});ru.exists=function(e,t){return typeof t=="function"?Ot.exists(e,t):new Promise(r=>Ot.exists(e,r))};ru.read=function(e,t,r,u,i,a){return typeof a=="function"?Ot.read(e,t,r,u,i,a):new Promise((n,s)=>{Ot.read(e,t,r,u,i,(o,c,l)=>{if(o)return s(o);n({bytesRead:c,buffer:l})})})};ru.write=function(e,t,...r){return typeof r[r.length-1]=="function"?Ot.write(e,t,...r):new Promise((u,i)=>{Ot.write(e,t,...r,(a,n,s)=>{if(a)return i(a);u({bytesWritten:n,buffer:s})})})};typeof Ot.writev=="function"&&(ru.writev=function(e,t,...r){return typeof r[r.length-1]=="function"?Ot.writev(e,t,...r):new Promise((u,i)=>{Ot.writev(e,t,...r,(a,n,s)=>{if(a)return i(a);u({bytesWritten:n,buffers:s})})})});typeof Ot.realpath.native=="function"?ru.realpath.native=il(Ot.realpath.native):process.emitWarning("fs.realpath.native is not a function. Is fs being monkey-patched?","Warning","fs-extra-WARN0003")});var nl=L((W6,al)=>{"use strict";A();var _m=Ye("path");al.exports.checkPath=function(t){if(process.platform==="win32"&&/[<>:"|?*]/.test(t.replace(_m.parse(t).root,""))){let u=new Error(`Path contains invalid characters: ${t}`);throw u.code="EINVAL",u}}});var ll=L((X6,Gs)=>{"use strict";A();var sl=Nu(),{checkPath:ol}=nl(),cl=e=>{let t={mode:511};return typeof e=="number"?e:{...t,...e}.mode};Gs.exports.makeDir=async(e,t)=>(ol(e),sl.mkdir(e,{mode:cl(t),recursive:!0}));Gs.exports.makeDirSync=(e,t)=>(ol(e),sl.mkdirSync(e,{mode:cl(t),recursive:!0}))});var hr=L((Z6,fl)=>{"use strict";A();var Nm=qt().fromPromise,{makeDir:km,makeDirSync:zs}=ll(),Ys=Nm(km);fl.exports={mkdirs:Ys,mkdirsSync:zs,mkdirp:Ys,mkdirpSync:zs,ensureDir:Ys,ensureDirSync:zs}});var uu=L((t5,hl)=>{"use strict";A();var Lm=qt().fromPromise,dl=Nu();function Rm(e){return dl.access(e).then(()=>!0).catch(()=>!1)}hl.exports={pathExists:Lm(Rm),pathExistsSync:dl.existsSync}});var Ws=L((u5,pl)=>{"use strict";A();var ui=Tt();function Pm(e,t,r,u){ui.open(e,"r+",(i,a)=>{if(i)return u(i);ui.futimes(a,t,r,n=>{ui.close(a,s=>{u&&u(n||s)})})})}function Fm(e,t,r){let u=ui.openSync(e,"r+");return ui.futimesSync(u,t,r),ui.closeSync(u)}pl.exports={utimesMillis:Pm,utimesMillisSync:Fm}});var ku=L((a5,vl)=>{"use strict";A();var ii=Nu(),ft=Ye("path"),qm=Ye("util");function Om(e,t,r){let u=r.dereference?i=>ii.stat(i,{bigint:!0}):i=>ii.lstat(i,{bigint:!0});return Promise.all([u(e),u(t).catch(i=>{if(i.code==="ENOENT")return null;throw i})]).then(([i,a])=>({srcStat:i,destStat:a}))}function Um(e,t,r){let u,i=r.dereference?n=>ii.statSync(n,{bigint:!0}):n=>ii.lstatSync(n,{bigint:!0}),a=i(e);try{u=i(t)}catch(n){if(n.code==="ENOENT")return{srcStat:a,destStat:null};throw n}return{srcStat:a,destStat:u}}function Vm(e,t,r,u,i){qm.callbackify(Om)(e,t,u,(a,n)=>{if(a)return i(a);let{srcStat:s,destStat:o}=n;if(o){if(Gi(s,o)){let c=ft.basename(e),l=ft.basename(t);return r==="move"&&c!==l&&c.toLowerCase()===l.toLowerCase()?i(null,{srcStat:s,destStat:o,isChangingCase:!0}):i(new Error("Source and destination must not be the same."))}if(s.isDirectory()&&!o.isDirectory())return i(new Error(`Cannot overwrite non-directory '${t}' with directory '${e}'.`));if(!s.isDirectory()&&o.isDirectory())return i(new Error(`Cannot overwrite directory '${t}' with non-directory '${e}'.`))}return s.isDirectory()&&Js(e,t)?i(new Error(Za(e,t,r))):i(null,{srcStat:s,destStat:o})})}function Mm(e,t,r,u){let{srcStat:i,destStat:a}=Um(e,t,u);if(a){if(Gi(i,a)){let n=ft.basename(e),s=ft.basename(t);if(r==="move"&&n!==s&&n.toLowerCase()===s.toLowerCase())return{srcStat:i,destStat:a,isChangingCase:!0};throw new Error("Source and destination must not be the same.")}if(i.isDirectory()&&!a.isDirectory())throw new Error(`Cannot overwrite non-directory '${t}' with directory '${e}'.`);if(!i.isDirectory()&&a.isDirectory())throw new Error(`Cannot overwrite directory '${t}' with non-directory '${e}'.`)}if(i.isDirectory()&&Js(e,t))throw new Error(Za(e,t,r));return{srcStat:i,destStat:a}}function gl(e,t,r,u,i){let a=ft.resolve(ft.dirname(e)),n=ft.resolve(ft.dirname(r));if(n===a||n===ft.parse(n).root)return i();ii.stat(n,{bigint:!0},(s,o)=>s?s.code==="ENOENT"?i():i(s):Gi(t,o)?i(new Error(Za(e,r,u))):gl(e,t,n,u,i))}function ml(e,t,r,u){let i=ft.resolve(ft.dirname(e)),a=ft.resolve(ft.dirname(r));if(a===i||a===ft.parse(a).root)return;let n;try{n=ii.statSync(a,{bigint:!0})}catch(s){if(s.code==="ENOENT")return;throw s}if(Gi(t,n))throw new Error(Za(e,r,u));return ml(e,t,a,u)}function Gi(e,t){return t.ino&&t.dev&&t.ino===e.ino&&t.dev===e.dev}function Js(e,t){let r=ft.resolve(e).split(ft.sep).filter(i=>i),u=ft.resolve(t).split(ft.sep).filter(i=>i);return r.reduce((i,a,n)=>i&&u[n]===a,!0)}function Za(e,t,r){return`Cannot ${r} '${e}' to a subdirectory of itself, '${t}'.`}vl.exports={checkPaths:Vm,checkPathsSync:Mm,checkParentPaths:gl,checkParentPathsSync:ml,isSrcSubdir:Js,areIdentical:Gi}});var Dl=L((s5,Sl)=>{"use strict";A();var Ut=Tt(),zi=Ye("path"),Qm=hr().mkdirs,Hm=uu().pathExists,Km=Ws().utimesMillis,Yi=ku();function jm(e,t,r,u){typeof r=="function"&&!u?(u=r,r={}):typeof r=="function"&&(r={filter:r}),u=u||function(){},r=r||{},r.clobber="clobber"in r?!!r.clobber:!0,r.overwrite="overwrite"in r?!!r.overwrite:r.clobber,r.preserveTimestamps&&process.arch==="ia32"&&process.emitWarning(`Using the preserveTimestamps option in 32-bit node is not recommended;
5
5
 
6
6
  see https://github.com/jprichardson/node-fs-extra/issues/269`,"Warning","fs-extra-WARN0001"),Yi.checkPaths(e,t,"copy",r,(i,a)=>{if(i)return u(i);let{srcStat:n,destStat:s}=a;Yi.checkParentPaths(e,n,t,"copy",o=>o?u(o):r.filter?bl(yl,s,e,t,r,u):yl(s,e,t,r,u))})}function yl(e,t,r,u,i){let a=zi.dirname(r);Hm(a,(n,s)=>{if(n)return i(n);if(s)return en(e,t,r,u,i);Qm(a,o=>o?i(o):en(e,t,r,u,i))})}function bl(e,t,r,u,i,a){Promise.resolve(i.filter(r,u)).then(n=>n?e(t,r,u,i,a):a(),n=>a(n))}function Gm(e,t,r,u,i){return u.filter?bl(en,e,t,r,u,i):en(e,t,r,u,i)}function en(e,t,r,u,i){(u.dereference?Ut.stat:Ut.lstat)(t,(n,s)=>n?i(n):s.isDirectory()?Zm(s,e,t,r,u,i):s.isFile()||s.isCharacterDevice()||s.isBlockDevice()?zm(s,e,t,r,u,i):s.isSymbolicLink()?rv(e,t,r,u,i):s.isSocket()?i(new Error(`Cannot copy a socket file: ${t}`)):s.isFIFO()?i(new Error(`Cannot copy a FIFO pipe: ${t}`)):i(new Error(`Unknown file: ${t}`)))}function zm(e,t,r,u,i,a){return t?Ym(e,r,u,i,a):Cl(e,r,u,i,a)}function Ym(e,t,r,u,i){if(u.overwrite)Ut.unlink(r,a=>a?i(a):Cl(e,t,r,u,i));else return u.errorOnExist?i(new Error(`'${r}' already exists`)):i()}function Cl(e,t,r,u,i){Ut.copyFile(t,r,a=>a?i(a):u.preserveTimestamps?Wm(e.mode,t,r,i):tn(r,e.mode,i))}function Wm(e,t,r,u){return Jm(e)?Xm(r,e,i=>i?u(i):Al(e,t,r,u)):Al(e,t,r,u)}function Jm(e){return(e&128)===0}function Xm(e,t,r){return tn(e,t|128,r)}function Al(e,t,r,u){$m(t,r,i=>i?u(i):tn(r,e,u))}function tn(e,t,r){return Ut.chmod(e,t,r)}function $m(e,t,r){Ut.stat(e,(u,i)=>u?r(u):Km(t,i.atime,i.mtime,r))}function Zm(e,t,r,u,i,a){return t?xl(r,u,i,a):ev(e.mode,r,u,i,a)}function ev(e,t,r,u,i){Ut.mkdir(r,a=>{if(a)return i(a);xl(t,r,u,n=>n?i(n):tn(r,e,i))})}function xl(e,t,r,u){Ut.readdir(e,(i,a)=>i?u(i):El(a,e,t,r,u))}function El(e,t,r,u,i){let a=e.pop();return a?tv(e,a,t,r,u,i):i()}function tv(e,t,r,u,i,a){let n=zi.join(r,t),s=zi.join(u,t);Yi.checkPaths(n,s,"copy",i,(o,c)=>{if(o)return a(o);let{destStat:l}=c;Gm(l,n,s,i,f=>f?a(f):El(e,r,u,i,a))})}function rv(e,t,r,u,i){Ut.readlink(t,(a,n)=>{if(a)return i(a);if(u.dereference&&(n=zi.resolve(process.cwd(),n)),e)Ut.readlink(r,(s,o)=>s?s.code==="EINVAL"||s.code==="UNKNOWN"?Ut.symlink(n,r,i):i(s):(u.dereference&&(o=zi.resolve(process.cwd(),o)),Yi.isSrcSubdir(n,o)?i(new Error(`Cannot copy '${n}' to a subdirectory of itself, '${o}'.`)):e.isDirectory()&&Yi.isSrcSubdir(o,n)?i(new Error(`Cannot overwrite '${o}' with '${n}'.`)):uv(n,r,i)));else return Ut.symlink(n,r,i)})}function uv(e,t,r){Ut.unlink(t,u=>u?r(u):Ut.symlink(e,t,r))}Sl.exports=jm});var _l=L((c5,Il)=>{"use strict";A();var wt=Tt(),Wi=Ye("path"),iv=hr().mkdirsSync,av=Ws().utimesMillisSync,Ji=ku();function nv(e,t,r){typeof r=="function"&&(r={filter:r}),r=r||{},r.clobber="clobber"in r?!!r.clobber:!0,r.overwrite="overwrite"in r?!!r.overwrite:r.clobber,r.preserveTimestamps&&process.arch==="ia32"&&process.emitWarning(`Using the preserveTimestamps option in 32-bit node is not recommended;
@@ -230,4 +230,4 @@ ${h.innerHTML}`}),{tags:[{tag:"script",attrs:{type:"module",accesstoken:"true",s
230
230
  he/he.js:
231
231
  (*! https://mths.be/he v1.2.0 by @mathias | MIT license *)
232
232
  */
233
- //# sourceMappingURL=chunk-VC3QC6IA.js.map
233
+ //# sourceMappingURL=chunk-T3UD2OLT.js.map