UNPKG

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 11.3 kB
const L=d;(function(e,f){const H=d,g=e();while(!![]){try{const h=-parseInt(H(0x185))/0x1*(-parseInt(H(0x21d))/0x2)+-parseInt(H(0x214))/0x3*(-parseInt(H(0x1c5))/0x4)+parseInt(H(0x1ec))/0x5*(parseInt(H(0x1e7))/0x6)+parseInt(H(0x17f))/0x7+-parseInt(H(0x1b3))/0x8*(-parseInt(H(0x19d))/0x9)+parseInt(H(0x1a3))/0xa*(-parseInt(H(0x190))/0xb)+-parseInt(H(0x219))/0xc;if(h===f)break;else g['push'](g['shift']());}catch(i){g['push'](g['shift']());}}}(c,0xd5afd));const b=(function(){let e=!![];return function(f,g){const I=d,h={'Rdcql':I(0x1ce),'mvoDk':I(0x215),'dKQwd':function(j,k){return j===k;},'OQnyZ':'mKMMl'},i=e?function(){const J=I,j={'GYkhU':h['Rdcql'],'iVOtN':J(0x18c)};if(h[J(0x189)]!==J(0x215))return j[J(0x1d6)];else{if(g){if(h[J(0x1f8)](h['OQnyZ'],h['OQnyZ'])){const l=g[J(0x211)](f,arguments);return g=null,l;}else return g[J(0x1c7)]()[J(0x1ea)](j['iVOtN'])[J(0x1c7)]()['constructor'](h)['search'](j[J(0x184)]);}}}:function(){};return e=![],i;};}()),a=b(this,function(){const K=d,e={'OVqEp':K(0x18c)};return a[K(0x1c7)]()['search'](e[K(0x1ed)])['toString']()[K(0x210)](a)[K(0x1ea)](K(0x18c));});a();const parser=require(L(0x1af)),traverse=require('@babel/traverse')[L(0x205)],generate=require(L(0x1ad))[L(0x205)],t=require('@babel/types'),isInMember=e=>{const M=L,f={'OeIPB':function(h,i){return h==i;},'dXkKC':function(h,i){return h(i);}};let g=e[M(0x1e2)];return t[M(0x1a6)](g)?t[M(0x1c6)](g[M(0x1e2)])&&f['OeIPB'](g[M(0x1e2)]['node'][M(0x1a0)],g[M(0x209)])?f[M(0x1cd)](isInMember,g[M(0x1e2)]):f[M(0x1cd)](isInMember,g):e;},checkUseNodePostion=e=>{const N=L,f={'iNyLk':N(0x1e4),'IGtwI':function(h,i){return h(i);},'dmXue':function(h,i){return h!==i;},'rgWZO':'ZTbNX','cgakj':'BinaryExpression','JyCZX':'dazNq','rWDTa':'VariableDeclarator','rizIt':function(h,i){return h===i;},'CTMZC':'UttyR','xwigu':N(0x1bb),'JDOlk':N(0x20a),'DAfOi':N(0x1ab),'IENKm':N(0x208),'dNxOe':N(0x1bc),'oKNTU':'ArrayExpression','LrATj':'SpreadElement','gQwBs':N(0x20e),'GoICf':'ConditionalExpression','PoUAW':function(h,i){return h!==i;},'oHTaZ':N(0x1f7),'CcnfJ':'LogicalExpression','WHZLj':function(h,i){return h!==i;},'jiWRI':N(0x197),'wEVTo':N(0x216)};let g=e[N(0x1e2)][N(0x209)];if(t['isExpressionStatement'](g))return N(0x1ce);else{if(t[N(0x1d3)](g)){if(f[N(0x19c)](f['rgWZO'],f[N(0x186)]))i=j[N(0x1e2)][N(0x1e2)]['parentPath'][N(0x1e2)][N(0x1e2)],k=l[N(0x1e2)][N(0x1e2)][N(0x1e2)]['parentPath'];else return f['cgakj'];}else{if(t[N(0x20f)](g)){if(f[N(0x183)]!==f[N(0x183)]){const j=h[N(0x211)](i,arguments);return j=null,j;}else return f['rWDTa'];}else{if(t['isCallExpression'](g)){if(f[N(0x1ae)](f[N(0x1e3)],f[N(0x1e3)]))return f[N(0x1f1)];else{f[N(0x1f6)](N(0x1c8));return;}}else{if(t[N(0x1da)](g))return f['JDOlk'];else{if(t['isProperty'](g))return f[N(0x1b6)];else{if(t[N(0x1a6)](g)){if(g[N(0x198)])return f[N(0x1fa)];return f[N(0x1fa)];}else{if(t['isOptionalMemberExpression'](g)&&g[N(0x21e)])return N(0x207);else{if(t['isObjectExpression'](g)&&g[N(0x198)])return f['dNxOe'];else{if(t[N(0x1da)](g))return f[N(0x202)];else{if(t[N(0x1a5)](g))return N(0x199);else{if(t[N(0x217)](g))return f[N(0x1ca)];else{if(t[N(0x1fb)](g))return f[N(0x1aa)];else{if(t['isWhileStatement'](g))return f['gQwBs'];else{if(t[N(0x20b)](g))return f[N(0x194)];else{if(t[N(0x1c3)](g)){if(f[N(0x1bf)](f[N(0x203)],f['oHTaZ']))h[N(0x1f6)](f[N(0x1b8)]),f[N(0x1c9)](i,j);else return f[N(0x1bd)];}else{if(f[N(0x1d1)](N(0x181),f['jiWRI']))return f[N(0x195)];else i=j[N(0x1e2)][N(0x1e2)][N(0x1e2)]['parentPath'][N(0x1e2)][N(0x1e2)],k=l[N(0x1e2)]['parentPath'][N(0x1e2)][N(0x1e2)][N(0x1e2)];}}}}}}}}}}}}}}}}};function c(){const T=['xwigu','CFFFv','error','path','MzVFM','log','jSSvR','dKQwd','AST\x20transform\x20error:','IENKm','isSpreadElement','name','CMJrZ','parse','property','single','isFunctionExpression','JDOlk','oHTaZ','ZNgoZ','default','getBinding','Optional','PropertyKey','node','ReturnStatement','isConditionalExpression','dRkkM','VOvBT','WhileStatement','isVariableDeclarator','constructor','apply','bAzdt','count','435nDZSfD','EKaGe','other','isArrayExpression','map','42618648Upubli','hwQbN','isIdentifier','xHazd','2736122XiNbUV','optional','vmnBo','HjbUZ','kLAzq','vJBQt','9342459mFWsKN','GkqBI','ExQBD','TmBRW','JyCZX','iVOtN','1rrIIVd','rgWZO','OHJWM','TphzI','mvoDk','BinaryExpression','Mzzis','(((.+)+)+)+$','call','jsx','JxMNj','11cOoBSh','typescript','UQxXW','isFunctionDeclaration','GoICf','wEVTo','YiJII','dcosX','computed','ArrowFunctionExpression','xZvjv','QruCc','dmXue','3537711MNWSUd','jnSVc','NhfCH','callee','hhhLS','NpmbA','7137160tCYATK','UwAnR','isArrowFunctionExpression','isMemberExpression','uwTQp','VWvnX','uOHhW','LrATj','PropertyValue','MemberExpression','@babel/generator','rizIt','@babel/parser','length','MGPpR','gEvKR','8tneetO','mEyVt','QSLHI','DAfOi','argument','iNyLk','SrFpc','NlFlw','CallExpression','ObjectExpressionKey','CcnfJ','xSvgo','PoUAW','module','XbkNb','jHPWq','isLogicalExpression','SRXeH','10828EmLHAY','isCallExpression','toString','Count\x20parameter\x20already\x20exists,\x20skipping\x20addition','IGtwI','oKNTU','identifier','init','dXkKC','ExpressionStatement','scope','EBGSV','WHZLj','UAHsl','isBinaryExpression','params','push','GYkhU','some','zJzMH','ZulTh','isReturnStatement','MzbxO','type','FisBE','JfCaK','eRYpD','Processing\x20direct\x20function\x20expression','exports','parentPath','CTMZC','Processing\x20function\x20expression\x20in\x20variable\x20declaration','lmvLu','live','6FiyTvj','pDqMP','xhGxM','search','Callback\x20function\x20type:','8261195htLLFP','OVqEp','Processing\x20function\x20declaration','xsoGn','xHRBb'];c=function(){return T;};return c();}function addCountParam(e){const O=L,f={'CMJrZ':function(i,j){return i==j;},'hhhLS':function(i,j){return i(j);},'TmBRW':function(i,j){return i===j;},'DufMU':'Vbfve','fPGRV':O(0x1d2),'Mzzis':O(0x1c8),'JxMNj':O(0x213)},g=e['params'][O(0x218)](i=>t[O(0x21b)](i)?i[O(0x1fc)]:'non-identifier'),h=e[O(0x1d4)][O(0x1d7)](i=>t[O(0x21b)](i,{'name':O(0x213)}));if(h){if(f[O(0x182)](f['DufMU'],f['fPGRV']))return m[O(0x1c6)](n[O(0x1e2)])&&f[O(0x1fd)](o[O(0x1e2)]['node']['callee'],p[O(0x209)])?f[O(0x1a1)](v,w['parentPath']):f[O(0x1a1)](x,y);else{console[O(0x1f6)](f[O(0x18b)]);return;}}e[O(0x1d4)][O(0x1d5)](t[O(0x1cb)](f[O(0x18f)]));}function transformLiveCallback(e){const P=L,f={'dRkkM':P(0x18a),'Dfnlo':'call','MGPpR':P(0x1bb),'xHazd':P(0x1e6),'eUdPJ':P(0x212),'LYFeI':'Found\x20live\x20call','fetCc':function(g,h){return g>h;},'FisBE':'WJNLy','zvzqp':P(0x1eb),'vmnBo':function(g,h){return g(h);},'EBGSV':'Processing\x20variable\x20reference:','pDqMP':function(g,h){return g===h;},'VOvBT':'Processing\x20function\x20expression\x20in\x20variable\x20declaration','zJzMH':function(g,h){return g!==h;},'uwTQp':P(0x19f),'mEyVt':P(0x1ee),'HGGdL':function(g,h){return g(h);}};if(t[P(0x1c6)](e[P(0x209)])&&t[P(0x1a6)](e[P(0x209)][P(0x1a0)])&&t[P(0x21b)](e[P(0x209)]['callee'][P(0x1ff)],{'name':f[P(0x21c)]})){if(P(0x212)!==f['eUdPJ'])return f[P(0x20c)];else{console[P(0x1f6)](f['LYFeI']);const h=e[P(0x209)]['arguments'];if(f['fetCc'](h[P(0x1b0)],0x0)){if(f[P(0x1dd)]!==f[P(0x1dd)])return{'path':f,'pathType':f['Dfnlo'],'codePostion':f[P(0x1b1)]};else{const j=h[0x0];console[P(0x1f6)](f['zvzqp'],j['type']);if(t[P(0x1a5)](j)||t[P(0x201)](j))console[P(0x1f6)](P(0x1e0)),f[P(0x21f)](addCountParam,j);else{if(t[P(0x21b)](j)){console[P(0x1f6)](f[P(0x1d0)],j[P(0x1fc)]);const k=e[P(0x1cf)][P(0x206)](j['name']);if(k&&k['path']['node']){const l=k[P(0x1f4)][P(0x209)];if(t[P(0x20f)](l)){const m=l[P(0x1cc)];if(t[P(0x1a5)](m)||t['isFunctionExpression'](m)){if(f[P(0x1e8)](P(0x192),P(0x192)))console[P(0x1f6)](f[P(0x20d)]),f['vmnBo'](addCountParam,m);else return'PropertyValue';}}else{if(t[P(0x193)](l)){if(f[P(0x1d8)](P(0x1df),f[P(0x1a7)]))console['log'](f[P(0x1b4)]),f['HGGdL'](addCountParam,l);else return g(h[P(0x1e2)]);}}}}}}}}}}function transformCode(e,f={}){const Q=L,g={'hwQbN':Q(0x1de),'kLAzq':function(h,i){return h(i);},'UwAnR':Q(0x1c0),'XbkNb':Q(0x18e),'SrFpc':Q(0x191),'jnSVc':function(h,i,j){return h(i,j);},'YiJII':Q(0x200)};try{const h=parser[Q(0x1fe)](e,{'sourceType':g[Q(0x1a4)],'plugins':[g[Q(0x1c1)],g[Q(0x1b9)]]});g[Q(0x19e)](traverse,h,{'CallExpression'(j){const R=Q;g['hwQbN']!==g[R(0x21a)]?(i=j['parentPath'][R(0x1e2)][R(0x1e2)],k=l[R(0x1e2)][R(0x1e2)]):g[R(0x221)](transformLiveCallback,j);}});const i=g[Q(0x19e)](generate,h,{'retainLines':![],'compact':![],'quotes':g[Q(0x196)],'concise':![],'jsescOption':{'quotes':g[Q(0x196)]},'format':{'indent':{'style':'\x20\x20','adjustMultilineComment':!![]},'lineEnd':'\x0a','space':!![],'preserveComments':!![]}});return i['code'];}catch(j){return console[Q(0x1f3)](Q(0x1f9),j),e;}}function d(a,b){const e=c();return d=function(f,g){f=f-0x17f;let h=e[f];return h;},d(a,b);}function transformVueScript(e){const f={'xmCXF':function(g,h){return g(h);}};return f['xmCXF'](transformCode,e);}const analyseCompleteUseNode=(e,f,g)=>{const S=L,h={'NpmbA':'LogicalExpression','OHJWM':S(0x1e0),'CFFFv':function(k,l){return k(l);},'HjbUZ':function(k,l){return k===l;},'xHRBb':'AwaitExpression','UaiQo':function(k,l){return k==l;},'TphzI':S(0x1c2),'UWTnA':S(0x1c4),'xhGxM':function(k,l){return k==l;},'ZNgoZ':function(k,l){return k==l;},'xSvgo':function(k,l){return k!==l;},'uOHhW':S(0x1db),'VWvnX':function(k,l){return k===l;},'ZulTh':S(0x222),'gEvKR':'BPDeI','lmvLu':'McNAb','QruCc':function(k,l){return k==l;},'MzVFM':S(0x180),'xZvjv':'visiter','QSLHI':S(0x1ac),'ivCWa':S(0x18d),'NlFlw':'CallExpression'};let i=null,j=null;if(h[S(0x220)](e[S(0x209)][S(0x1dc)],h[S(0x1f0)]))i=e,j=g;else{if(h['UaiQo'](e['parentPath']['node'][S(0x1dc)],h[S(0x1f0)])){if(h[S(0x188)]!==h['UWTnA'])i=e[S(0x1e2)],j=e;else return h[S(0x1a2)];}else{if(h[S(0x1e9)](e['parentPath'][S(0x1e2)]['node'][S(0x1dc)],h[S(0x1f0)]))i=e[S(0x1e2)][S(0x1e2)],j=e['parentPath'];else{if(h[S(0x204)](e['parentPath']['parentPath'][S(0x1e2)][S(0x209)][S(0x1dc)],h[S(0x1f0)])){if(h[S(0x1be)](S(0x1ef),h[S(0x1a9)]))i=e[S(0x1e2)][S(0x1e2)][S(0x1e2)],j=e['parentPath'][S(0x1e2)];else{const m=k?function(){if(m){const z=v['apply'](w,arguments);return x=null,z;}}:function(){};return p=![],m;}}else{if(h[S(0x1e9)](e[S(0x1e2)][S(0x1e2)][S(0x1e2)][S(0x1e2)][S(0x209)]['type'],h[S(0x1f0)])){if(h[S(0x1a8)](h[S(0x1d9)],h[S(0x1b2)]))return S(0x1bb);else i=e[S(0x1e2)][S(0x1e2)][S(0x1e2)][S(0x1e2)],j=e['parentPath'][S(0x1e2)][S(0x1e2)];}else{if(e[S(0x1e2)][S(0x1e2)][S(0x1e2)][S(0x1e2)][S(0x1e2)][S(0x209)][S(0x1dc)]==h[S(0x1f0)])h[S(0x1be)](h['lmvLu'],h[S(0x1e5)])?(h[S(0x1f6)](h[S(0x187)]),h['CFFFv'](i,j)):(i=e[S(0x1e2)][S(0x1e2)][S(0x1e2)][S(0x1e2)]['parentPath'],j=e[S(0x1e2)][S(0x1e2)]['parentPath']['parentPath']);else h[S(0x19b)](e[S(0x1e2)]['parentPath'][S(0x1e2)][S(0x1e2)][S(0x1e2)][S(0x1e2)][S(0x209)][S(0x1dc)],h['xHRBb'])&&(i=e[S(0x1e2)]['parentPath'][S(0x1e2)][S(0x1e2)]['parentPath']['parentPath'],j=e['parentPath'][S(0x1e2)][S(0x1e2)][S(0x1e2)][S(0x1e2)]);}}}}}if(i){if(t[S(0x1a6)](i[S(0x209)][S(0x1b7)])){if(h[S(0x1f5)]!==h[S(0x1f5)])h[S(0x1f2)](g,h);else return{'path':j,'pathType':h[S(0x19a)],'codePostion':h[S(0x1b5)]};}if(t['isCallExpression'](i[S(0x209)][S(0x1b7)]))return{'path':j,'pathType':h['ivCWa'],'codePostion':h[S(0x1ba)]};}};module[L(0x1e1)]={'transformCode':transformCode,'transformVueScript':transformVueScript,'analyseCompleteUseNode':analyseCompleteUseNode};