mixone
Version:
MixOne is a Node scaffolding tool implemented based on Vite, used for compiling HTML5, JavasCript, Vue, React and other codes. It supports packaging Web applications with multiple HTML entry points (BS architecture) and desktop installation packages (CS a
1 lines • 5.31 kB
JavaScript
const P=d;(function(e,f){const K=d,g=e();while(!![]){try{const h=parseInt(K(0x88))/0x1+parseInt(K(0x6d))/0x2+-parseInt(K(0xa2))/0x3*(parseInt(K(0xad))/0x4)+parseInt(K(0x86))/0x5*(parseInt(K(0xbd))/0x6)+-parseInt(K(0x67))/0x7+parseInt(K(0x7b))/0x8*(-parseInt(K(0x7d))/0x9)+parseInt(K(0xb5))/0xa;if(h===f)break;else g['push'](g['shift']());}catch(i){g['push'](g['shift']());}}}(c,0xead0d));const b=(function(){const L=d,e={'yBRVc':L(0x7f),'uAuii':L(0x9e)};let f=!![];return function(g,h){const M=L,i={'GJcmc':M(0xaa)};if(e[M(0x8d)]===e[M(0x7c)])return g[M(0x93)]()[M(0x64)](i[M(0x85)])['toString']()[M(0x6a)](h)[M(0x64)]('(((.+)+)+)+$');else{const k=f?function(){const N=M;if(h){const l=h[N(0x82)](g,arguments);return h=null,l;}}:function(){};return f=![],k;}};}()),a=b(this,function(){const O=d,e={'eUena':O(0xaa)};return a[O(0x93)]()[O(0x64)](e[O(0x80)])['toString']()[O(0x6a)](a)[O(0x64)](e['eUena']);});a();const fs=require('fs'),path=require(P(0x9a)),statePath=path[P(0xb0)](__dirname,'..','.watch-status');function d(a,b){const e=c();return d=function(f,g){f=f-0x64;let h=e[f];return h;},d(a,b);}function c(){const X=['lwltJ','QjyFW','225wvvmhT','LMuGf','find','WXjEX','KtESL','GoQTN','log','mqWAS','(((.+)+)+)+$','writeFileSync','page.tsx','55656dmjxar','vvaRh','exit','join','VvmiM','endsWith','sIHfg','toISOString','24600960GifgGq','clTXl','Monitoring\x20status\x20set:\x20disabled','page.jsx','jrgFa','HVZfD','existsSync','LwNUJ','498tBlRhG','search','error','BSvLe','9944340UovwdT','PoXWl','xgPVR','constructor','📝\x20Monitoring\x20status\x20set:\x20enabled','lyqgn','1757408ezOyTR','GNchd','iDZuP','-window','statSync','RmtQy','huduq','KQGUW','ZuPyc','MhaVU','Failed\x20to\x20check\x20monitoring\x20status:','iqeRE','EIFnJ','dirname','14785616dFHsQy','uAuii','9NRqSnT','MVDDO','gpnLN','eUena','BvFSj','apply','exports','isDirectory','GJcmc','74770XtKWHm','Failed\x20to\x20set\x20monitoring\x20status:','694195Fjgaji','SFdZm','WNLYh','windows','KCuQc','yBRVc','JYJDl','nFTFt','QdHWN','unlinkSync','Watch\x20status\x20cleaned','toString','page.vue','KcknQ','SIGINT','EajXV','Failed\x20to\x20clean\x20watch\x20status:','normalize','path','cozFR','KDxNy','GcWaF','GfKoP','push'];c=function(){return X;};return c();}function setWatchingStatus(e){const Q=P,f={'Rsxgy':Q(0x70),'BCmcY':function(g,h){return g(h);},'LwNUJ':function(g,h){return g!==h;},'xgPVR':Q(0x79),'nFTFt':Q(0xb7),'BSvLe':Q(0x87)};try{e?f[Q(0xbc)]('rgBrW',f[Q(0x69)])?(fs[Q(0xab)](statePath,new Date()[Q(0xb4)]()),console[Q(0xa8)](Q(0x6b))):!i[Q(0xb2)](f['Rsxgy'])&&m['push'](...f['BCmcY'](n,o)):fs[Q(0xbb)](statePath)&&(fs[Q(0x91)](statePath),console[Q(0xa8)](f[Q(0x8f)]));}catch(h){console[Q(0x65)](f[Q(0x66)],h);}}function isWatchingActive(){const R=P,e={'KDxNy':R(0x77),'KCuQc':function(f,g){return f!==g;},'cozFR':R(0xa3)};try{if(e[R(0x8c)](e[R(0x9b)],e['cozFR']))try{return k[R(0xbb)](l);}catch(g){return n['error'](e[R(0x9c)],g),![];}else return fs[R(0xbb)](statePath);}catch(g){return console[R(0x65)](e[R(0x9c)],g),![];}}function cleanupWatchStatus(){const S=P,e={'JYJDl':function(f,g){return f!==g;},'KcknQ':S(0x7e),'KQGUW':S(0x92),'WXjEX':S(0x98)};try{if(fs[S(0xbb)](statePath)){if(e[S(0x8e)](e[S(0x95)],e[S(0x95)]))return f;else fs['unlinkSync'](statePath),console[S(0xa8)](e[S(0x74)]);}}catch(g){console[S(0x65)](e[S(0xa5)],g);}}process['on']('exit',cleanupWatchStatus),process['on'](P(0x96),()=>{const T=P;cleanupWatchStatus(),process[T(0xaf)](0x0);});const getWindowDirectory=e=>{const U=P,f={'vvaRh':U(0x92),'GNchd':function(i,j){return i===j;},'PoXWl':U(0x8b),'SFdZm':function(i,j){return i===j;},'ZuPyc':function(i,j){return i!==j;},'MhaVU':U(0x6c)},g=path[U(0x99)](e);let h=path[U(0x7a)](g);while(!![]){const i=path['basename'](h),j=path['dirname'](h);if(i[U(0xb2)](U(0x70)))return h;else{if(f[U(0x6e)](i,f[U(0x68)]))return h;}if(f[U(0x89)](h,j)){if(f[U(0x75)](U(0x72),f[U(0x76)]))break;else j[U(0xbb)](k)&&(o[U(0x91)](p),q[U(0xa8)](f[U(0xae)]));}h=j;}return null;},findPageFiles=e=>{const V=P,f={'iqeRE':V(0x6b),'lwltJ':V(0xb7),'VvmiM':'Failed\x20to\x20clean\x20watch\x20status:','VDLqg':'page.jsx','tQAIs':function(i,j){return i!==j;},'GoQTN':V(0x97),'clTXl':V(0xa6),'HVZfD':V(0xb3),'huduq':V(0x70),'mqWAS':function(i,j){return i===j;},'BvFSj':'bdNRh','iDZuP':function(i,j){return i(j);},'jrgFa':function(i,j){return i!==j;},'GcWaF':V(0x90)},g=[],h=fs['readdirSync'](e);for(const i of h){if(f['tQAIs'](f[V(0xa7)],f[V(0xb6)])){const j=path['join'](e,i),k=fs[V(0x71)](j);k[V(0x84)]()?f[V(0xba)]===f[V(0xba)]?!i[V(0xb2)](f[V(0x73)])&&(f[V(0xa9)](f[V(0x81)],V(0x8a))?g['error'](V(0x87),h):g[V(0x9f)](...f[V(0x6f)](findPageFiles,j))):o?(y[V(0xab)](z,new A()[V(0xb4)]()),B[V(0xa8)](f[V(0x78)])):C[V(0xbb)](D)&&(H['unlinkSync'](I),J['log'](f[V(0xa0)])):f[V(0xb9)](f[V(0x9d)],f['GcWaF'])?g[V(0x65)](f[V(0xb1)],h):(i[V(0xb2)](V(0x94))||i[V(0xb2)](f['VDLqg']))&&g[V(0x9f)](j);}else(i[V(0xb2)](V(0x94))||j[V(0xb2)](f['VDLqg']))&&m['push'](n);}return g;},isPageComponent=e=>{const W=P,f={'QjyFW':W(0xb8),'CXwhQ':W(0xac)},g=e['toLowerCase']();return[W(0x94),f[W(0xa1)],f['CXwhQ']][W(0xa4)](h=>g[W(0xb2)](h))?!![]:![];};module[P(0x83)]={'setWatchingStatus':setWatchingStatus,'isWatchingActive':isWatchingActive,'cleanupWatchStatus':cleanupWatchStatus,'getWindowDirectory':getWindowDirectory,'isPageComponent':isPageComponent};