oneportal-scripts 3.7.9 → 3.8.0

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.
@@ -0,0 +1,2 @@
1
+ #!/usr/bin/env node
2
+ 'use strict';const _0x1ecc31=_0x36b5;(function(_0x119a3c,_0x5ed37a){const _0x50d2ed=_0x36b5,_0x2609f5=_0x119a3c();while(!![]){try{const _0x1d9374=parseInt(_0x50d2ed(0xe3))/0x1*(-parseInt(_0x50d2ed(0xcd))/0x2)+parseInt(_0x50d2ed(0xe1))/0x3+parseInt(_0x50d2ed(0xd5))/0x4*(parseInt(_0x50d2ed(0xdd))/0x5)+-parseInt(_0x50d2ed(0xe2))/0x6*(-parseInt(_0x50d2ed(0xdc))/0x7)+-parseInt(_0x50d2ed(0xca))/0x8*(parseInt(_0x50d2ed(0xce))/0x9)+-parseInt(_0x50d2ed(0xd2))/0xa*(parseInt(_0x50d2ed(0xd3))/0xb)+parseInt(_0x50d2ed(0xda))/0xc;if(_0x1d9374===_0x5ed37a)break;else _0x2609f5['push'](_0x2609f5['shift']());}catch(_0x5c1b18){_0x2609f5['push'](_0x2609f5['shift']());}}}(_0xf0f7,0xe2b3d));function _0x36b5(_0x1f9127,_0x87c0b9){_0x1f9127=_0x1f9127-0xc9;const _0xf0f770=_0xf0f7();let _0x36b5e7=_0xf0f770[_0x1f9127];if(_0x36b5['KzBErX']===undefined){var _0x26ceb3=function(_0x50d844){const _0x22e20e='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x57a1c7='',_0x8e346c='';for(let _0x57ccac=0x0,_0x471d,_0x502230,_0x3917f5=0x0;_0x502230=_0x50d844['charAt'](_0x3917f5++);~_0x502230&&(_0x471d=_0x57ccac%0x4?_0x471d*0x40+_0x502230:_0x502230,_0x57ccac++%0x4)?_0x57a1c7+=String['fromCharCode'](0xff&_0x471d>>(-0x2*_0x57ccac&0x6)):0x0){_0x502230=_0x22e20e['indexOf'](_0x502230);}for(let _0x3ff32d=0x0,_0x1caa79=_0x57a1c7['length'];_0x3ff32d<_0x1caa79;_0x3ff32d++){_0x8e346c+='%'+('00'+_0x57a1c7['charCodeAt'](_0x3ff32d)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x8e346c);};_0x36b5['ZWmPGZ']=_0x26ceb3,_0x36b5['osedek']={},_0x36b5['KzBErX']=!![];}const _0x462272=_0xf0f770[0x0],_0x5f3409=_0x1f9127+_0x462272,_0x52d0f1=_0x36b5['osedek'][_0x5f3409];return!_0x52d0f1?(_0x36b5e7=_0x36b5['ZWmPGZ'](_0x36b5e7),_0x36b5['osedek'][_0x5f3409]=_0x36b5e7):_0x36b5e7=_0x52d0f1,_0x36b5e7;}function _0xf0f7(){const _0x28ec22=['zwPLy3q','zxHLy1bHDgG','mZC5mtmXmhznyuDwAG','mZGWmdrUr2HbC2O','mtDRAfvSs1m','y29Uy2f0','vgHPCYbWCM9IywjSEsbTzwfUCYb0AguGC3LZDgvTihjHBIbVDxqGB2yGBwvTB3j5ig9YihnVBwvVBMuGy2fSBgvKia','u0Lhvevstq','lI4VC2nYAxb0CY8','ugvYAgfWCYb5B3uGBMvLzcb0BYb1CgrHDguGCMvHy3qTC2nYAxb0CZ8','Bg9N','CMvHy3qTzgv2lxv0AwXZl2nYB3nZu3bHD24','nZe1mdKYofnnrgrHuW','u0Lhs0Lmta','C2LNBMfS','mJe4nduYugLvqLDu','mtHgrxnzqxu','Aw5OzxjPDa','C3rHDhvZ','zMLUzeLUzgv4','nJe1otbuyNDsAg0','mtC4mK9zDhnbEq','yxjNDG','nZzqq0DZEM0','u29Tzw9UzsbTAwDODcbOyxzLignHBgXLzcbGA2LSBgaGB3iGygTPBgXHBgXGlcbVCIb0AguGC3LZDgvTignVDwXKia','vw5RBM93BIbZy3jPChqGiG','zxHPDa','C2XPy2u','mZK2odG3ntjer01wA3i','vgHLigj1AwXKigzHAwXLzcbIzwnHDxnLihrOzsbWCM9JzxnZigv4AxrLzcb0B28GzwfYBhKUia','nZaWAuzAC3n2','oty0mdvuv05uvu4','Dw5Oyw5KBgvKuMvQzwn0Aw9U'];_0xf0f7=function(){return _0x28ec22;};return _0xf0f7();}process['on'](_0x1ecc31(0xde),_0x57a1c7=>{throw _0x57a1c7;});const spawn=require(_0x1ecc31(0xc9)),args=process[_0x1ecc31(0xd4)][_0x1ecc31(0xd9)](0x2),VALID_SCRIPTS=['build',_0x1ecc31(0xdf),'start','test'],scriptIndex=args[_0x1ecc31(0xd1)](_0x8e346c=>VALID_SCRIPTS['includes'](_0x8e346c)),script=scriptIndex===-0x1?args[0x0]:args[scriptIndex],nodeArgs=scriptIndex>0x0?args[_0x1ecc31(0xd9)](0x0,scriptIndex):[];if(VALID_SCRIPTS['includes'](script)){const result=spawn['sync'](process[_0x1ecc31(0xe0)],nodeArgs[_0x1ecc31(0xe4)](require['resolve'](_0x1ecc31(0xe7)+script))[_0x1ecc31(0xe4)](args['slice'](scriptIndex+0x1)),{'stdio':_0x1ecc31(0xcf)});if(result[_0x1ecc31(0xcc)]){if(result[_0x1ecc31(0xcc)]===_0x1ecc31(0xcb))console['log'](_0x1ecc31(0xdb)+_0x1ecc31(0xe5)+'`kill\x20-9`\x20on\x20the\x20process.');else result['signal']===_0x1ecc31(0xe6)&&console['log'](_0x1ecc31(0xdb)+_0x1ecc31(0xd6)+'be\x20shutting\x20down.');process[_0x1ecc31(0xd8)](0x1);}process[_0x1ecc31(0xd8)](result[_0x1ecc31(0xd0)]);}else console[_0x1ecc31(0xe9)](_0x1ecc31(0xd7)+script+'\x22.'),console['log'](_0x1ecc31(0xe8));
@@ -0,0 +1 @@
1
+ const _0x3b7be7=_0x4c78;(function(_0x32d591,_0x4672b4){const _0x3e6c8a=_0x4c78,_0x56300d=_0x32d591();while(!![]){try{const _0x5bfb93=parseInt(_0x3e6c8a(0x1d8))/0x1+parseInt(_0x3e6c8a(0x1de))/0x2+-parseInt(_0x3e6c8a(0x1e3))/0x3+-parseInt(_0x3e6c8a(0x1dd))/0x4*(-parseInt(_0x3e6c8a(0x1d5))/0x5)+parseInt(_0x3e6c8a(0x1d7))/0x6*(-parseInt(_0x3e6c8a(0x1db))/0x7)+parseInt(_0x3e6c8a(0x1d3))/0x8*(parseInt(_0x3e6c8a(0x1dc))/0x9)+-parseInt(_0x3e6c8a(0x1d4))/0xa;if(_0x5bfb93===_0x4672b4)break;else _0x56300d['push'](_0x56300d['shift']());}catch(_0x34e3c8){_0x56300d['push'](_0x56300d['shift']());}}}(_0x5dfc,0x78f1b));let fs=require(_0x3b7be7(0x1d6)),path=require(_0x3b7be7(0x1d0)),paths=require(_0x3b7be7(0x1df)),foldersToCheck=[{'from':'extension.json','to':paths['appBuild'],'parentPath':paths['appPath']},{'from':_0x3b7be7(0x1d2),'to':paths[_0x3b7be7(0x1da)]+'/i18n','parentPath':paths[_0x3b7be7(0x1d9)]},{'from':_0x3b7be7(0x1e1),'to':''+paths[_0x3b7be7(0x1da)],'parentPath':paths['appPath']}];function _0x4c78(_0x50e02d,_0x3d7bb5){_0x50e02d=_0x50e02d-0x1cf;const _0x5dfc16=_0x5dfc();let _0x4c783f=_0x5dfc16[_0x50e02d];if(_0x4c78['quTLMi']===undefined){var _0x1566cf=function(_0x219f0c){const _0x469706='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x661399='',_0x5406e4='';for(let _0x29e6ec=0x0,_0x54657a,_0x38b47a,_0x13c49c=0x0;_0x38b47a=_0x219f0c['charAt'](_0x13c49c++);~_0x38b47a&&(_0x54657a=_0x29e6ec%0x4?_0x54657a*0x40+_0x38b47a:_0x38b47a,_0x29e6ec++%0x4)?_0x661399+=String['fromCharCode'](0xff&_0x54657a>>(-0x2*_0x29e6ec&0x6)):0x0){_0x38b47a=_0x469706['indexOf'](_0x38b47a);}for(let _0x543273=0x0,_0x1738db=_0x661399['length'];_0x543273<_0x1738db;_0x543273++){_0x5406e4+='%'+('00'+_0x661399['charCodeAt'](_0x543273)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x5406e4);};_0x4c78['hjHUfZ']=_0x1566cf,_0x4c78['hrJYie']={},_0x4c78['quTLMi']=!![];}const _0x532108=_0x5dfc16[0x0],_0x19b1f8=_0x50e02d+_0x532108,_0x45a0d8=_0x4c78['hrJYie'][_0x19b1f8];return!_0x45a0d8?(_0x4c783f=_0x4c78['hjHUfZ'](_0x4c783f),_0x4c78['hrJYie'][_0x19b1f8]=_0x4c783f):_0x4c783f=_0x45a0d8,_0x4c783f;}function _0x5dfc(){const _0x444e8e=['zNjVBq','C3jJl2KXog4','mJrHuuflAKe','mta4otaYodbWrLbvvvG','ntqXodK1uwTODufU','BM9KztPMCW','mtm4rKrOuwnv','nZyYnZK1EeXbDu5v','yxbWugf0Aa','yxbWqNvPBgq','mtu0nZm1sMLVquPT','mJG5mJyYn2PKqw9KqW','mJHpAMPtBwG','mZC0nZi4zNPsDLD4','lI9WyxrOCW','BwfW','C3rHDgLJ','zMLSDgvY','mtC0mdu3m3DgyK5MwG','zxHWB3j0CW','BM9KztPWyxrO'];_0x5dfc=function(){return _0x444e8e;};return _0x5dfc();}function getCopyPatterns(){const _0xa80140=_0x3b7be7;return foldersToCheck[_0xa80140(0x1e2)](_0x661399=>fs['existsSync'](path['resolve'](_0x661399['parentPath'],_0x661399[_0xa80140(0x1d1)])))[_0xa80140(0x1e0)](_0x5406e4=>({'from':_0x5406e4[_0xa80140(0x1d1)],'to':_0x5406e4['to']}));}module[_0x3b7be7(0x1cf)]=getCopyPatterns;
@@ -0,0 +1 @@
1
+ function _0x221f(){const _0x478ce3=['mte3mZi3ndbkyKvssfO','q3jLyxrLrM9SzgvYugX1z2LU','mtm4otq4me1Nv2TJrG','mte2otG4zLvjExnN','BwTKAxjtEw5J','mtHOA2j6vLC','mZm2mti0meTnAuz6AW','zM9SzgvYugf0Ahm','BM9KztPWyxrO','mZa1mZaXnwn0B1zxAa','zxHPC3rZu3LUyW','DgfW','lI9WyxrOCW','Ag9VA3m','yxbWqNvPBgq','BM9KztPMCW','mJCZoti0meDJELDzwa','AM9PBG','mJqXmxfmChvLEG','mJHmsuvwAui','ndC4B3nQzuj4'];_0x221f=function(){return _0x478ce3;};return _0x221f();}function _0x2bef(_0x2da5d7,_0x4f229f){_0x2da5d7=_0x2da5d7-0x121;const _0x221f45=_0x221f();let _0x2bef83=_0x221f45[_0x2da5d7];if(_0x2bef['YhwbNu']===undefined){var _0x118a62=function(_0x3e73f5){const _0x1a3641='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x1d0865='',_0x47683e='';for(let _0x5b29ea=0x0,_0x3b0d66,_0x15ed04,_0x2ebacc=0x0;_0x15ed04=_0x3e73f5['charAt'](_0x2ebacc++);~_0x15ed04&&(_0x3b0d66=_0x5b29ea%0x4?_0x3b0d66*0x40+_0x15ed04:_0x15ed04,_0x5b29ea++%0x4)?_0x1d0865+=String['fromCharCode'](0xff&_0x3b0d66>>(-0x2*_0x5b29ea&0x6)):0x0){_0x15ed04=_0x1a3641['indexOf'](_0x15ed04);}for(let _0x1a7b1e=0x0,_0x4003e=_0x1d0865['length'];_0x1a7b1e<_0x4003e;_0x1a7b1e++){_0x47683e+='%'+('00'+_0x1d0865['charCodeAt'](_0x1a7b1e)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x47683e);};_0x2bef['DxkOtH']=_0x118a62,_0x2bef['UxkTBT']={},_0x2bef['YhwbNu']=!![];}const _0x5f47ec=_0x221f45[0x0],_0x2ac12c=_0x2da5d7+_0x5f47ec,_0x26bc8a=_0x2bef['UxkTBT'][_0x2ac12c];return!_0x26bc8a?(_0x2bef83=_0x2bef['DxkOtH'](_0x2bef83),_0x2bef['UxkTBT'][_0x2ac12c]=_0x2bef83):_0x2bef83=_0x26bc8a,_0x2bef83;}const _0x4ead66=_0x2bef;(function(_0x11bec5,_0x548833){const _0x12e096=_0x2bef,_0x18c6db=_0x11bec5();while(!![]){try{const _0x386574=-parseInt(_0x12e096(0x132))/0x1*(parseInt(_0x12e096(0x134))/0x2)+-parseInt(_0x12e096(0x123))/0x3*(parseInt(_0x12e096(0x133))/0x4)+-parseInt(_0x12e096(0x129))/0x5+parseInt(_0x12e096(0x122))/0x6+-parseInt(_0x12e096(0x130))/0x7+-parseInt(_0x12e096(0x126))/0x8+-parseInt(_0x12e096(0x125))/0x9*(-parseInt(_0x12e096(0x135))/0xa);if(_0x386574===_0x548833)break;else _0x18c6db['push'](_0x18c6db['shift']());}catch(_0x21aacf){_0x18c6db['push'](_0x18c6db['shift']());}}}(_0x221f,0x4aea1));const fs=require(_0x4ead66(0x12f)),path=require(_0x4ead66(0x128)),paths=require(_0x4ead66(0x12c)),plugin={'name':_0x4ead66(0x121)};class CreateFolderPlugin{constructor(_0x1d0865={}){const _0x4e9c09=_0x4ead66;this[_0x4e9c09(0x127)]=_0x1d0865[_0x4e9c09(0x127)];}['apply'](_0x47683e){const _0x58660e=_0x4ead66;_0x47683e[_0x58660e(0x12d)]['emit'][_0x58660e(0x12b)](plugin,()=>{const _0x251aa3=_0x58660e;!fs['existsSync'](paths['appBuild'])&&fs['mkdirSync'](paths[_0x251aa3(0x12e)]);for(const _0x5b29ea of this[_0x251aa3(0x127)]){const _0x3b0d66=path[_0x251aa3(0x131)](paths[_0x251aa3(0x12e)],_0x5b29ea);!fs[_0x251aa3(0x12a)](_0x3b0d66)&&fs[_0x251aa3(0x124)](_0x3b0d66);}});}}exports['CreateFolderPlugin']=CreateFolderPlugin;
@@ -0,0 +1 @@
1
+ const _0x475643=_0xec7c;(function(_0xf506c1,_0x5d70af){const _0x54d159=_0xec7c,_0x569458=_0xf506c1();while(!![]){try{const _0x609a47=-parseInt(_0x54d159(0x93))/0x1+parseInt(_0x54d159(0x97))/0x2*(-parseInt(_0x54d159(0x9f))/0x3)+-parseInt(_0x54d159(0xa2))/0x4*(parseInt(_0x54d159(0x98))/0x5)+parseInt(_0x54d159(0x8d))/0x6+parseInt(_0x54d159(0xa1))/0x7*(parseInt(_0x54d159(0x91))/0x8)+-parseInt(_0x54d159(0x8a))/0x9*(-parseInt(_0x54d159(0xa0))/0xa)+parseInt(_0x54d159(0x95))/0xb;if(_0x609a47===_0x5d70af)break;else _0x569458['push'](_0x569458['shift']());}catch(_0x4a76a3){_0x569458['push'](_0x569458['shift']());}}}(_0x20ee,0x6e107));function _0x20ee(){const _0x2f382c=['yxbWu3jJ','Ahr0Ca','l3DZ','ogT1rgXQzW','zw52','mZmZndC5AeDZDNfy','C29JA1bHDgG','mty4mZm4mJHns2zOEem','B2jQzwn0','nLHVtxr1AW','mtbkuvrZtgS','CMvHy3qTzgv2lxv0AwXZl2LNBM9YzwrgAwXLCW','C29JA0HVC3q','lI9ODhrWC0nVBMzPzW','yxbWuhvIBgLJ','mc4WlJaUma','CMvHy3qTzgv2lxv0AwXZl2v2ywXtB3vYy2vnyxbnAwrKBgv3yxjL','odqZntqZuNvVCwPv','mtq2mta4meL3v2jvDG','mJaWnZG2nKPbrK5fDG','mtqXnZiZnLDzwMjgvG','Ahr0Chm','zxHPC3rZu3LUyW','zxH0zw5ZAw9U','Cg9YDa','lI9WyxrOCW','CMvHy3qTzgv2lxv0AwXZl25VB3btzxj2AwnLv29YA2vYtwLKzgXLD2fYzq','ChvIBgLJvxjSt3jqyxrO','Dhj1zq','ChjVEhLtzxr1Ca','mJDvCvvtyK0','CMvHy3qTzgv2lxv0AwXZl3jLzgLYzwn0u2vYDMvKugf0Ae1PzgrSzxDHCMu','ChvZAa','ndG1nZe4ChbNtfrs'];_0x20ee=function(){return _0x2f382c;};return _0x20ee();}const fs=require('node:fs'),evalSourceMapMiddleware=require(_0x475643(0x9e)),noopServiceWorkerMiddleware=require(_0x475643(0x86)),ignoredFiles=require(_0x475643(0x99)),redirectServedPath=require(_0x475643(0x8b)),paths=require(_0x475643(0x85)),getHttpsConfig=require(_0x475643(0x9b)),extensionConfig=require(paths[_0x475643(0xa5)]),host=process[_0x475643(0x92)]['HOST']||_0x475643(0x9d),sockHost=extensionConfig[_0x475643(0x9a)]||'localhost',sockPath=extensionConfig[_0x475643(0x94)]||_0x475643(0x90),sockPort=extensionConfig[_0x475643(0xa6)]||0x32d1;function _0xec7c(_0x48538b,_0x52a55f){_0x48538b=_0x48538b-0x85;const _0x20ee2f=_0x20ee();let _0xec7ca6=_0x20ee2f[_0x48538b];if(_0xec7c['vxnnZL']===undefined){var _0x2dfc24=function(_0x2d4930){const _0x3559e1='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x418338='',_0x86bbe='';for(let _0x5a1fcb=0x0,_0x18a7d4,_0x28147f,_0x2e58bc=0x0;_0x28147f=_0x2d4930['charAt'](_0x2e58bc++);~_0x28147f&&(_0x18a7d4=_0x5a1fcb%0x4?_0x18a7d4*0x40+_0x28147f:_0x28147f,_0x5a1fcb++%0x4)?_0x418338+=String['fromCharCode'](0xff&_0x18a7d4>>(-0x2*_0x5a1fcb&0x6)):0x0){_0x28147f=_0x3559e1['indexOf'](_0x28147f);}for(let _0x252e2c=0x0,_0x1e0ddc=_0x418338['length'];_0x252e2c<_0x1e0ddc;_0x252e2c++){_0x86bbe+='%'+('00'+_0x418338['charCodeAt'](_0x252e2c)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x86bbe);};_0xec7c['aqUvWE']=_0x2dfc24,_0xec7c['ioVnqR']={},_0xec7c['vxnnZL']=!![];}const _0x1f203e=_0x20ee2f[0x0],_0x55a8f4=_0x48538b+_0x1f203e,_0x211ad4=_0xec7c['ioVnqR'][_0x55a8f4];return!_0x211ad4?(_0xec7ca6=_0xec7c['aqUvWE'](_0xec7ca6),_0xec7c['ioVnqR'][_0x55a8f4]=_0xec7ca6):_0xec7ca6=_0x211ad4,_0xec7ca6;}module['exports']=function devServerConfig(_0x418338,_0x86bbe){const _0x4d0740=_0x475643,_0x5a1fcb=getHttpsConfig(),_0x18a7d4=_0x5a1fcb===![]?_0x4d0740(0x8f):typeof _0x5a1fcb===_0x4d0740(0x96)?{'type':_0x4d0740(0xa3),'options':_0x5a1fcb}:'https';return{'hot':!![],'allowedHosts':!_0x418338||_0x4d0740(0x88)===process[_0x4d0740(0x92)]['DANGEROUSLY_DISABLE_HOST_CHECK']?'all':[_0x86bbe],'headers':{'Access-Control-Allow-Origin':'*','Access-Control-Allow-Methods':'*','Access-Control-Allow-Headers':'*'},'compress':!![],'static':{'directory':paths[_0x4d0740(0x9c)],'publicPath':[paths[_0x4d0740(0x87)]],'watch':{'ignored':ignoredFiles(paths[_0x4d0740(0x8e)])}},'client':{'webSocketURL':{'hostname':sockHost,'pathname':sockPath,'port':sockPort},'overlay':{'errors':!![],'warnings':![]}},'devMiddleware':{'publicPath':paths[_0x4d0740(0x87)]['slice'](0x0,-0x1)},'server':_0x18a7d4,'host':host,'historyApiFallback':{'disableDotRule':!![],'index':paths[_0x4d0740(0x87)]},'proxy':_0x418338,'setupMiddlewares'(_0x28147f,_0x2e58bc){const _0x1aa0ed=_0x4d0740;return _0x28147f['unshift'](evalSourceMapMiddleware(_0x2e58bc)),fs[_0x1aa0ed(0xa4)](paths[_0x1aa0ed(0x89)])&&require(paths['proxySetup'])(_0x2e58bc['app']),_0x28147f['push'](redirectServedPath(paths['publicUrlOrPath'])),_0x28147f[_0x1aa0ed(0x8c)](noopServiceWorkerMiddleware(paths[_0x1aa0ed(0x87)])),_0x28147f;}};};
@@ -0,0 +1 @@
1
+ const _0x106d91=_0x2723;function _0x58b9(){const _0x319402=['nMzkCMHtDq','DgfY','mtaYoda2m2vXDMjIsq','yxbWugf0Aa','BM9KztPMCW','ntu2mZbZtxjPB3u','Ag9VA3m','odCYndK2te1IyuDz','yxHPB3m','BgLICW','B3b0Aw9UCW','yxbWCY8','v2fYBMLUzZOGq291BgqGBM90igrVD25SB2fKihr5CguGzgvMAw5PDgLVBNmGzM9Yia','odK3otKXnwrUveXezq','mJiZody5EufWA09T','z2v0','mJe4mdi3mtzwvNbTseS','zg93BMXVywrbBMrfEhrYywn0tgLI','lI9WyxrOCW','BwfW','ChjVy2vZC0XPyNm','BM9KztP1DgLS','ywXS','otzcAwrbDwG','DgfWqxn5BMm','CMfUzg9T','BMfTzq','mta5mJeWodH5zLfwrNG','yxbWBhK'];_0x58b9=function(){return _0x319402;};return _0x58b9();}(function(_0x192d90,_0x5e4ae9){const _0x1d8aae=_0x2723,_0x2243db=_0x192d90();while(!![]){try{const _0x457d1c=parseInt(_0x1d8aae(0x1ce))/0x1+-parseInt(_0x1d8aae(0x1cc))/0x2*(parseInt(_0x1d8aae(0x1bd))/0x3)+parseInt(_0x1d8aae(0x1b6))/0x4+parseInt(_0x1d8aae(0x1b4))/0x5*(parseInt(_0x1d8aae(0x1c6))/0x6)+-parseInt(_0x1d8aae(0x1bc))/0x7+-parseInt(_0x1d8aae(0x1ca))/0x8+parseInt(_0x1d8aae(0x1bf))/0x9;if(_0x457d1c===_0x5e4ae9)break;else _0x2243db['push'](_0x2243db['shift']());}catch(_0x52aea5){_0x2243db['push'](_0x2243db['shift']());}}}(_0x58b9,0xee01d));function _0x2723(_0x4ba43b,_0x481669){_0x4ba43b=_0x4ba43b-0x1b2;const _0x58b924=_0x58b9();let _0x2723a0=_0x58b924[_0x4ba43b];if(_0x2723['eToHts']===undefined){var _0x3d954b=function(_0xeeca9b){const _0x57aa99='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x3290dc='',_0x40da07='';for(let _0x45d484=0x0,_0x58cc77,_0x37303c,_0xd9d6ff=0x0;_0x37303c=_0xeeca9b['charAt'](_0xd9d6ff++);~_0x37303c&&(_0x58cc77=_0x45d484%0x4?_0x58cc77*0x40+_0x37303c:_0x37303c,_0x45d484++%0x4)?_0x3290dc+=String['fromCharCode'](0xff&_0x58cc77>>(-0x2*_0x45d484&0x6)):0x0){_0x37303c=_0x57aa99['indexOf'](_0x37303c);}for(let _0x402217=0x0,_0x45d019=_0x3290dc['length'];_0x402217<_0x45d019;_0x402217++){_0x40da07+='%'+('00'+_0x3290dc['charCodeAt'](_0x402217)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x40da07);};_0x2723['GGMPrG']=_0x3d954b,_0x2723['uAymzp']={},_0x2723['eToHts']=!![];}const _0x45e666=_0x58b924[0x0],_0x5b9399=_0x4ba43b+_0x45e666,_0x1c7fda=_0x2723['uAymzp'][_0x5b9399];return!_0x1c7fda?(_0x2723a0=_0x2723['GGMPrG'](_0x2723a0),_0x2723['uAymzp'][_0x5b9399]=_0x2723a0):_0x2723a0=_0x1c7fda,_0x2723a0;}const axios=require(_0x106d91(0x1b7)),tar=require(_0x106d91(0x1cd)),fs=require(_0x106d91(0x1b3)),path=require('node:path'),paths=require(_0x106d91(0x1c1)),{promisify}=require(_0x106d91(0x1c4)),{pipeline:streamPipeline}=require('node:stream'),pipeline=promisify(streamPipeline);class DownloadAndExtractPlugin{constructor(_0x3290dc){const _0x3ea3fc=_0x106d91;this[_0x3ea3fc(0x1b9)]=_0x3290dc;}async[_0x106d91(0x1c0)](_0x40da07,_0x45d484){const _0x30cb19=_0x106d91,{fontdoorUrl:_0x58cc77,oneenv:_0x37303c}=this[_0x30cb19(0x1b9)],_0xd9d6ff=_0x40da07['lib']?_0x40da07['name']:_0x30cb19(0x1ba)+_0x40da07[_0x30cb19(0x1c9)],_0x402217=_0x58cc77+'/'+_0x37303c+'/'+_0xd9d6ff+'/'+_0x40da07[_0x30cb19(0x1c9)]+'-ts.tgz?v='+Math[_0x30cb19(0x1c8)]();try{const _0x45d019=await axios({'method':_0x30cb19(0x1be),'url':_0x402217,'responseType':'stream','timeout':0x7530});await pipeline(_0x45d019['data'],tar['x']({'C':_0x45d484}));}catch(_0x47f7ce){console['warn'](_0x30cb19(0x1bb)+_0x40da07[_0x30cb19(0x1c9)]+':\x20'+_0x47f7ce['message']);}}async[_0x106d91(0x1c3)](_0x35abe3,_0x599cb9){const _0x4db218=_0x106d91;await Promise[_0x4db218(0x1c5)](_0x35abe3[_0x4db218(0x1c2)](_0x128fa5=>this[_0x4db218(0x1c0)](_0x128fa5,_0x599cb9)));}[_0x106d91(0x1cb)](_0x13159b){const _0x11db67=_0x106d91;_0x13159b[_0x11db67(0x1b5)]['beforeRun'][_0x11db67(0x1c7)]('DownloadAndExtractPlugin',async(_0x275dc0,_0x2cd6ce)=>{const _0x505e1e=_0x11db67;try{await this[_0x505e1e(0x1c3)](this[_0x505e1e(0x1b9)][_0x505e1e(0x1b8)],paths[_0x505e1e(0x1b2)]),_0x2cd6ce();}catch(_0x5ebd09){_0x2cd6ce(_0x5ebd09);}});}}exports['DownloadAndExtractPlugin']=DownloadAndExtractPlugin;
@@ -0,0 +1 @@
1
+ const _0x58dea2=_0x4260;function _0x25ac(){const _0x1f698b=['txv0yxrLuNvUDgLTzq','mtGWnZjpBNPsALu','mJmYmZCXnNDbt1zura','mJq2svrsDgPk','ntqWmty1s3jIBeDO','zM9UDgrVB3jvCMW','Bw9KDwXLtMfTzq','uhvIBgLJugf0Afj1BNrPBwvnB2r1Bgu','rhLUyw1Py1b1yMXPy1bHDgHqBhvNAw4','BwfRzq','B3b0Aw9UCW','CNvUDgLTzu1VzhvSzq','C3rYAw5NAwz5','ndrRy1HlDLe','ChvIBgLJugf0Aa','mZb2C0nWquW','yxbWBhK','x2nHy2HLzeDLBMvYyxrLzenVzgu','C3bSAxq','ntKWndi2DMn2Afb5','id0Gka','y29UC3rYDwn0B3i','l2fWChm','zw52','B25LCg9YDgfSzxH0zw5ZAw9U','zgvMyxvSDfb1yMXPy1bHDgG','zgvIDwC','BMfTzq','ntiZmdCXCLnuDvL2','mtmZntK4me9osxD1za','DgfW','z2v0r2vUzxjHDgvKq29Kzq','B25LCg9YDgfSC2HLBgXHCha','Dg9tDhjPBMC','Cg9YDa','mZm4n01oAgvNrG','Ag9VA3m','ndbju0njywy','ntGXsgTuDK1L'];_0x25ac=function(){return _0x1f698b;};return _0x25ac();}function _0x4260(_0x108310,_0x95aa05){_0x108310=_0x108310-0x87;const _0x25ac69=_0x25ac();let _0x4260c6=_0x25ac69[_0x108310];if(_0x4260['qutmWn']===undefined){var _0x465429=function(_0x3f79d2){const _0x22bc8f='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x5a5297='',_0x4a4502='';for(let _0x4c7ca8=0x0,_0x106817,_0x38fb05,_0x1402b7=0x0;_0x38fb05=_0x3f79d2['charAt'](_0x1402b7++);~_0x38fb05&&(_0x106817=_0x4c7ca8%0x4?_0x106817*0x40+_0x38fb05:_0x38fb05,_0x4c7ca8++%0x4)?_0x5a5297+=String['fromCharCode'](0xff&_0x106817>>(-0x2*_0x4c7ca8&0x6)):0x0){_0x38fb05=_0x22bc8f['indexOf'](_0x38fb05);}for(let _0x1bb02d=0x0,_0x488647=_0x5a5297['length'];_0x1bb02d<_0x488647;_0x1bb02d++){_0x4a4502+='%'+('00'+_0x5a5297['charCodeAt'](_0x1bb02d)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x4a4502);};_0x4260['GxVFHj']=_0x465429,_0x4260['MVZENc']={},_0x4260['qutmWn']=!![];}const _0x3e5984=_0x25ac69[0x0],_0x1a1a71=_0x108310+_0x3e5984,_0x1eb8a8=_0x4260['MVZENc'][_0x1a1a71];return!_0x1eb8a8?(_0x4260c6=_0x4260['GxVFHj'](_0x4260c6),_0x4260['MVZENc'][_0x1a1a71]=_0x4260c6):_0x4260c6=_0x1eb8a8,_0x4260c6;}(function(_0x3f2859,_0x4afbb5){const _0x119ab6=_0x4260,_0x4d193b=_0x3f2859();while(!![]){try{const _0x5752f0=parseInt(_0x119ab6(0x96))/0x1+parseInt(_0x119ab6(0xad))/0x2*(-parseInt(_0x119ab6(0xa6))/0x3)+-parseInt(_0x119ab6(0xa0))/0x4+-parseInt(_0x119ab6(0x87))/0x5*(parseInt(_0x119ab6(0x92))/0x6)+parseInt(_0x119ab6(0xa9))/0x7*(parseInt(_0x119ab6(0xab))/0x8)+parseInt(_0x119ab6(0x9f))/0x9*(-parseInt(_0x119ab6(0xa8))/0xa)+parseInt(_0x119ab6(0x90))/0xb*(parseInt(_0x119ab6(0xac))/0xc);if(_0x5752f0===_0x4afbb5)break;else _0x4d193b['push'](_0x4d193b['shift']());}catch(_0x8e3004){_0x4d193b['push'](_0x4d193b['shift']());}}}(_0x25ac,0x4af30));function buildPublicPath(_0x5a5297,_0x4a4502,_0x4c7ca8){const _0x494367=_0x4260,_0x106817=localStorage['getItem'](_0x5a5297);if(_0x106817&&(!globalThis[_0x494367(0x9b)]||globalThis[_0x494367(0x9b)][_0x494367(0x9d)]))return _0x106817+'/';if(_0x5a5297===_0x494367(0xa3))return'/';if(_0x4a4502!=='/')return _0x4a4502;const _0x38fb05=globalThis[_0x494367(0x9b)];if(_0x38fb05){const _0x1402b7=_0x38fb05[_0x494367(0x9a)],_0x1bb02d=_0x38fb05[_0x5a5297],_0x488647=_0x1bb02d?'':_0x494367(0x99);return _0x4c7ca8+'/'+_0x1402b7+_0x488647+'/'+_0x5a5297+'/';}return'/';}class DynamicPublicPathPlugin{[_0x58dea2(0x9c)]='';constructor(_0x2d8002={}){const _0x303a27=_0x58dea2;this['moduleName']=_0x2d8002[_0x303a27(0x89)],this[_0x303a27(0x91)]=_0x2d8002[_0x303a27(0x91)],this[_0x303a27(0x88)]=_0x2d8002['fontdoorUrl'],this[_0x303a27(0xa5)]=_0x2d8002['port'];}[_0x58dea2(0x93)](_0x21fcdd){const _0x28f706=_0x58dea2;_0x21fcdd[_0x28f706(0xa7)][_0x28f706(0x8c)][_0x28f706(0xa1)]('MutateRuntime',_0x294941=>{const _0x4e096e=_0x28f706;_0x294941[_0x4e096e(0xa7)][_0x4e096e(0x8e)]['tap'](_0x4e096e(0xaa),_0x25fec9=>{const _0x5911c7=_0x4e096e;if(_0x25fec9[_0x5911c7(0x98)][_0x5911c7(0x9e)]!==_0x5911c7(0x8a))return;const [_0x181942]=_0x25fec9[_0x5911c7(0xa2)]()[_0x5911c7(0x95)]('=');this['defaultPublicPath']=_0x21fcdd[_0x5911c7(0x8d)]['output'][_0x5911c7(0x91)];const _0x331900=[JSON[_0x5911c7(0x8f)](this['moduleName']),JSON[_0x5911c7(0x8f)](this[_0x5911c7(0x91)]),JSON[_0x5911c7(0x8f)](this[_0x5911c7(0x88)])]['join'](',\x20');return _0x25fec9[_0x5911c7(0x94)]=_0x181942+_0x5911c7(0x97)+buildPublicPath[_0x5911c7(0xa4)]()+')('+_0x331900+');',_0x25fec9;});});}}exports[_0x58dea2(0x8b)]=DynamicPublicPathPlugin;
@@ -0,0 +1 @@
1
+ function _0x6f05(){const _0x6d7854=['zg90zw52','CMvHBhbHDgHtEw5J','y3DK','zxHWyw5K','mZGYmZeWneverLDRqG','BwfW','CMvKDwnL','zg90zw52lwv4CgfUza','zMLSDgvY','lMXVy2fS','nhvuCvL0vq','tK9erv9qqvri','zgvSAw1PDgvY','tK9erv9ftLy','lI9WyxrOCW','C3rYAw5NAwz5','zgv2zwXVCg1LBNq','BM9KztPWyxrO','A2v5CW','zMfSC2u','rKftvf9sruzsrvni','mtyYotiWmwzKAM9Yra','zM9YrwfJAa','mtK4nZG1muXmAeTLAW','C3bSAxq','nJuYnZm5nvveq25etW','ndC1mtG0nwPPqNLoDG','CMvZB2X2zq','zxHWB3j0CW','zw52','ndu0mZG3mJnTCefLBxu','vgHLie5prevFru5wigvUDMLYB25Tzw50ihzHCMLHyMXLigLZihjLCxvPCMvKigj1Dcb3yxmGBM90ihnWzwnPzMLLzc4','otmWnti0mhPUzLfSwa','AxnbyNnVBhv0zq','v0rtx1npq0Tfvf9it1nu','mKjluMf6Aq','DgvZDa','zxHPC3rZu3LUyW'];_0x6f05=function(){return _0x6d7854;};return _0x6f05();}const _0x13eac9=_0x510e;(function(_0x38c28f,_0x869131){const _0x3b560c=_0x510e,_0x2520a8=_0x38c28f();while(!![]){try{const _0x2d708a=-parseInt(_0x3b560c(0x13e))/0x1+-parseInt(_0x3b560c(0x126))/0x2*(parseInt(_0x3b560c(0x140))/0x3)+-parseInt(_0x3b560c(0x133))/0x4*(parseInt(_0x3b560c(0x143))/0x5)+-parseInt(_0x3b560c(0x12d))/0x6+parseInt(_0x3b560c(0x142))/0x7+-parseInt(_0x3b560c(0x123))/0x8+parseInt(_0x3b560c(0x121))/0x9;if(_0x2d708a===_0x869131)break;else _0x2520a8['push'](_0x2520a8['shift']());}catch(_0x11901e){_0x2520a8['push'](_0x2520a8['shift']());}}}(_0x6f05,0xe52d2));const fs=require('node:fs'),path=require(_0x13eac9(0x13a)),paths=require(_0x13eac9(0x137)),dotenv=require(_0x13eac9(0x129)),dotenvExpand=require(_0x13eac9(0x130));delete require['cache'][require[_0x13eac9(0x11e)](_0x13eac9(0x137))];const NODE_ENV=process['env']['NODE_ENV'];function _0x510e(_0x5489c2,_0x4ff730){_0x5489c2=_0x5489c2-0x11e;const _0x6f05de=_0x6f05();let _0x510e7b=_0x6f05de[_0x5489c2];if(_0x510e['vxscdX']===undefined){var _0x5a15fe=function(_0x4cb955){const _0x4b0cf='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x46581b='',_0x3a10e4='';for(let _0x346fa5=0x0,_0x156801,_0x8ec4d5,_0x5d6851=0x0;_0x8ec4d5=_0x4cb955['charAt'](_0x5d6851++);~_0x8ec4d5&&(_0x156801=_0x346fa5%0x4?_0x156801*0x40+_0x8ec4d5:_0x8ec4d5,_0x346fa5++%0x4)?_0x46581b+=String['fromCharCode'](0xff&_0x156801>>(-0x2*_0x346fa5&0x6)):0x0){_0x8ec4d5=_0x4b0cf['indexOf'](_0x8ec4d5);}for(let _0x57e552=0x0,_0x346278=_0x46581b['length'];_0x57e552<_0x346278;_0x57e552++){_0x3a10e4+='%'+('00'+_0x46581b['charCodeAt'](_0x57e552)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x3a10e4);};_0x510e['kKvGhw']=_0x5a15fe,_0x510e['IZPPKn']={},_0x510e['vxscdX']=!![];}const _0x31312d=_0x6f05de[0x0],_0x11077b=_0x5489c2+_0x31312d,_0x463bbf=_0x510e['IZPPKn'][_0x11077b];return!_0x463bbf?(_0x510e7b=_0x510e['kKvGhw'](_0x510e7b),_0x510e['IZPPKn'][_0x11077b]=_0x510e7b):_0x510e7b=_0x463bbf,_0x510e7b;}if(!NODE_ENV)throw new Error(_0x13eac9(0x122));const dotenvFiles=[paths['dotenv']+'.'+NODE_ENV+'.local',NODE_ENV!==_0x13eac9(0x127)&&paths['dotenv']+_0x13eac9(0x132),paths[_0x13eac9(0x129)]+'.'+NODE_ENV,paths['dotenv']][_0x13eac9(0x131)](Boolean);dotenvFiles[_0x13eac9(0x13f)](_0x46581b=>{const _0x5d8cec=_0x13eac9;fs[_0x5d8cec(0x128)](_0x46581b)&&dotenvExpand[_0x5d8cec(0x12c)](dotenv['config']({'path':_0x46581b}));});const appDirectory=fs[_0x13eac9(0x12a)](process[_0x13eac9(0x12b)]());process[_0x13eac9(0x120)][_0x13eac9(0x134)]=(process[_0x13eac9(0x120)][_0x13eac9(0x134)]||'')[_0x13eac9(0x141)](path[_0x13eac9(0x135)])[_0x13eac9(0x131)](_0x3a10e4=>_0x3a10e4&&!path[_0x13eac9(0x124)](_0x3a10e4))[_0x13eac9(0x12e)](_0x346fa5=>path[_0x13eac9(0x11e)](appDirectory,_0x346fa5))['join'](path[_0x13eac9(0x135)]);const REACT_APP_PREFIX=/^REACT_APP_/i;function getClientEnvironment(_0x156801){const _0xc52027=_0x13eac9,_0x8ec4d5=Object[_0xc52027(0x13b)](process[_0xc52027(0x120)])[_0xc52027(0x131)](_0x57e552=>REACT_APP_PREFIX[_0xc52027(0x127)](_0x57e552))[_0xc52027(0x12f)]((_0x346278,_0x5cf683)=>{const _0x5cbdd7=_0xc52027;return _0x346278[_0x5cf683]=process[_0x5cbdd7(0x120)][_0x5cf683],_0x346278;},{'NODE_ENV':process[_0xc52027(0x120)][_0xc52027(0x136)]||_0xc52027(0x139),'PUBLIC_URL':_0x156801,'WDS_SOCKET_HOST':process[_0xc52027(0x120)][_0xc52027(0x125)],'WDS_SOCKET_PATH':process[_0xc52027(0x120)]['WDS_SOCKET_PATH'],'WDS_SOCKET_PORT':process['env']['WDS_SOCKET_PORT'],'FAST_REFRESH':process['env'][_0xc52027(0x13d)]!==_0xc52027(0x13c)}),_0x5d6851={'process.env':Object[_0xc52027(0x13b)](_0x8ec4d5)[_0xc52027(0x12f)]((_0x2c3ac5,_0x2c80f1)=>{const _0x4fb26f=_0xc52027;return _0x2c3ac5[_0x2c80f1]=JSON[_0x4fb26f(0x138)](_0x8ec4d5[_0x2c80f1]),_0x2c3ac5;},{})};return{'raw':_0x8ec4d5,'stringified':_0x5d6851};}module[_0x13eac9(0x11f)]=getClientEnvironment;
@@ -0,0 +1 @@
1
+ function _0x50f5(){const _0x5475de=['igLUihLVDxiGzw52lcbIDxqGDgHLigzPBguGiG','CMvZB2X2zq','iIbJyw4NDcbIzsbMB3vUzc4','yxbWugf0Aa','mtyWoty0AKnOwgDz','ww91ihnWzwnPzMLLzca','vgHLignLCNrPzMLJyxrLigTLEsaI','ndK0mdjdwLr2q0G','mtaWmtztBu5SEg0','y3LHBG','zNjVBq','zxHWB3j0CW','odiWtgf4Dvfj','mti4muXxyKnfzW','iIbPCYbPBNzHBgLKlGO','BM9KztPMCW','zxHPC3rZu3LUyW','Dhj1zq','CMvHzezPBgvtEw5J','EwvSBg93','ndyZntm1vgn5CxnX','DgvZDa','ChjPDMf0zurLy3j5Chq','mZeYmdnXq0fdsMu','mJrZvwjcuvC','BwvZC2fNzq','lI9WyxrOCW','BM9KztPJCNLWDg8','nZj0y0vtDNe','vgHLignLCNrPzMLJyxrLici','zw52','ChvIBgLJrw5JCNLWDa','BM9KztPWyxrO','nta0nJL3t1LZEKu','mtKYmZK5oxrRvLfczG'];_0x50f5=function(){return _0x5475de;};return _0x50f5();}const _0x5835d3=_0x4feb;(function(_0x4ac38d,_0x2dc0e4){const _0x2a1b1e=_0x4feb,_0x399c4c=_0x4ac38d();while(!![]){try{const _0x2bf493=-parseInt(_0x2a1b1e(0x17a))/0x1+-parseInt(_0x2a1b1e(0x177))/0x2+parseInt(_0x2a1b1e(0x171))/0x3*(-parseInt(_0x2a1b1e(0x16c))/0x4)+parseInt(_0x2a1b1e(0x187))/0x5*(parseInt(_0x2a1b1e(0x168))/0x6)+-parseInt(_0x2a1b1e(0x180))/0x7*(-parseInt(_0x2a1b1e(0x17b))/0x8)+-parseInt(_0x2a1b1e(0x18a))/0x9*(-parseInt(_0x2a1b1e(0x17f))/0xa)+-parseInt(_0x2a1b1e(0x172))/0xb;if(_0x2bf493===_0x2dc0e4)break;else _0x399c4c['push'](_0x399c4c['shift']());}catch(_0x43fe7c){_0x399c4c['push'](_0x399c4c['shift']());}}}(_0x50f5,0x43897));const fs=require(_0x5835d3(0x182)),path=require(_0x5835d3(0x170)),crypto=require(_0x5835d3(0x16b)),chalk=require('react-dev-utils/chalk'),paths=require(_0x5835d3(0x16a));function validateKeyAndCerts({cert:_0xb9d86e,key:_0x1ee6cd,keyFile:_0x25cec3,crtFile:_0x568698}){const _0x1f762c=_0x5835d3;let _0x27ecd1;try{_0x27ecd1=crypto[_0x1f762c(0x16f)](_0xb9d86e,Buffer[_0x1f762c(0x17d)](_0x1f762c(0x188)));}catch(_0x23e5c6){throw new Error(_0x1f762c(0x16d)+chalk[_0x1f762c(0x186)](_0x568698)+_0x1f762c(0x181)+_0x23e5c6[_0x1f762c(0x169)]);}try{crypto[_0x1f762c(0x189)](_0x1ee6cd,_0x27ecd1);}catch(_0x36e1a5){throw new Error(_0x1f762c(0x179)+chalk[_0x1f762c(0x186)](_0x25cec3)+'\x22\x20is\x20invalid.\x0a'+_0x36e1a5['message']);}}function readEnvFile(_0x4e3d60,_0x6fc9c2){const _0x27b707=_0x5835d3;if(fs[_0x27b707(0x183)](_0x4e3d60))return fs[_0x27b707(0x185)](_0x4e3d60);throw new Error(_0x27b707(0x178)+chalk[_0x27b707(0x17c)](_0x6fc9c2)+_0x27b707(0x173)+chalk[_0x27b707(0x186)](_0x4e3d60)+_0x27b707(0x175));}function _0x4feb(_0x30ce63,_0x2770f3){_0x30ce63=_0x30ce63-0x168;const _0x50f57c=_0x50f5();let _0x4febe6=_0x50f57c[_0x30ce63];if(_0x4feb['Iqsfpr']===undefined){var _0x204d43=function(_0x38bfee){const _0x1d43d3='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0xb9d86e='',_0x1ee6cd='';for(let _0x25cec3=0x0,_0x568698,_0x27ecd1,_0x23e5c6=0x0;_0x27ecd1=_0x38bfee['charAt'](_0x23e5c6++);~_0x27ecd1&&(_0x568698=_0x25cec3%0x4?_0x568698*0x40+_0x27ecd1:_0x27ecd1,_0x25cec3++%0x4)?_0xb9d86e+=String['fromCharCode'](0xff&_0x568698>>(-0x2*_0x25cec3&0x6)):0x0){_0x27ecd1=_0x1d43d3['indexOf'](_0x27ecd1);}for(let _0x36e1a5=0x0,_0x4e3d60=_0xb9d86e['length'];_0x36e1a5<_0x4e3d60;_0x36e1a5++){_0x1ee6cd+='%'+('00'+_0xb9d86e['charCodeAt'](_0x36e1a5)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x1ee6cd);};_0x4feb['dEOmIb']=_0x204d43,_0x4feb['ggUXig']={},_0x4feb['Iqsfpr']=!![];}const _0x5e69e9=_0x50f57c[0x0],_0x40f9c1=_0x30ce63+_0x5e69e9,_0x31a3a0=_0x4feb['ggUXig'][_0x40f9c1];return!_0x31a3a0?(_0x4febe6=_0x4feb['dEOmIb'](_0x4febe6),_0x4feb['ggUXig'][_0x40f9c1]=_0x4febe6):_0x4febe6=_0x31a3a0,_0x4febe6;}function getHttpsConfig(){const _0x272eda=_0x5835d3,{SSL_CRT_FILE:_0x3af4a6,SSL_KEY_FILE:_0xe54920,HTTPS:_0x41d779}=process[_0x272eda(0x16e)],_0x432c63=_0x41d779===_0x272eda(0x184);if(_0x432c63&&_0x3af4a6&&_0xe54920){const _0x41d25e=path[_0x272eda(0x174)](paths[_0x272eda(0x176)],_0x3af4a6),_0x1ba8d4=path['resolve'](paths[_0x272eda(0x176)],_0xe54920),_0x28c212={'cert':readEnvFile(_0x41d25e,'SSL_CRT_FILE'),'key':readEnvFile(_0x1ba8d4,'SSL_KEY_FILE')};return validateKeyAndCerts({..._0x28c212,'keyFile':_0x1ba8d4,'crtFile':_0x41d25e}),_0x28c212;}return _0x432c63;}module[_0x5835d3(0x17e)]=getHttpsConfig;
@@ -0,0 +1 @@
1
+ const _0x4e5cc3=_0x5852;function _0x1660(){const _0x1dbf16=['mtC4nJuWnZHUzMjwvgq','Dhn4','zxHPC3rZu3LUyW','D2vIlMPZ','ntCYq1nXvKXr','ndG2nLz2qLHUzq','zMLUza','mZbVuwX5A1C','C3jJl3jLywn0lwfWCc1LBNyUzc50CW','C3jJl3nLCNzPy2uTD29YA2vY','C3jJl3nLDhvWvgvZDhm','CMvHy3qTzgv2lxv0AwXZl2DLDfb1yMXPy1vYBe9Yugf0Aa','ufvcteLdx1vsta','CgfJA2fNzs5QC29U','D2vIlM1QCW','BM9Kzv9TB2r1BgvZlY5JywnOzs90C2nVBMzPzY50C2j1AwXKAw5MBW','D2vIlNrZ','mJCZmZiZmKTpv1PgDG','ANn4','qLvjterFuefusa','C3jJ','lMvUDG','BM9Kzv9TB2r1BgvZ','odq2mta2AM9QBuDW','BgLIl3jLywn0lwfWCc5KlNrZ','nde0ota1EuHfuKTn','BM9Kzv9TB2r1BgvZlY5JywnOzq','ANnVBG','BM9KztPWyxrO','ANnJB25MAwCUANnVBG','n1HjzLviEG','Bw9KDwXLrMLSzuv4DgvUC2LVBNm','zgv2zwXVCg1LBNq','y3DK','BwPZ','yNvPBgq','zw52','D2vIlMPZEa','D2vIlNrZEa','zxHWB3j0CW','oti4odCWuLPuv0jM','nZyWotCZre1oD1Dg','C3jJl3nLDhvWuhjVEhKUANm','mJDcEen2rve','CMvZB2X2zq','Ag9TzxbHz2u'];_0x1660=function(){return _0x1dbf16;};return _0x1660();}(function(_0x57c8b2,_0x2da80f){const _0xe4101d=_0x5852,_0x154301=_0x57c8b2();while(!![]){try{const _0x407899=-parseInt(_0xe4101d(0x139))/0x1+parseInt(_0xe4101d(0x127))/0x2+parseInt(_0xe4101d(0x115))/0x3*(-parseInt(_0xe4101d(0x114))/0x4)+-parseInt(_0xe4101d(0x129))/0x5*(parseInt(_0xe4101d(0x117))/0x6)+-parseInt(_0xe4101d(0x12e))/0x7*(parseInt(_0xe4101d(0x121))/0x8)+-parseInt(_0xe4101d(0x13b))/0x9*(-parseInt(_0xe4101d(0x138))/0xa)+parseInt(_0xe4101d(0x13e))/0xb;if(_0x407899===_0x2da80f)break;else _0x154301['push'](_0x154301['shift']());}catch(_0x3e9f64){_0x154301['push'](_0x154301['shift']());}}}(_0x1660,0x8cb4e));const path=require(_0x4e5cc3(0x12c)),fs=require('node:fs'),getPublicUrlOrPath=require(_0x4e5cc3(0x11b)),appDirectory=fs['realpathSync'](process[_0x4e5cc3(0x131)]()),resolveApp=_0x3938a6=>path[_0x4e5cc3(0x13c)](appDirectory,_0x3938a6),publicUrlOrPath=getPublicUrlOrPath(process[_0x4e5cc3(0x134)]['NODE_ENV']===_0x4e5cc3(0x130),require(resolveApp(_0x4e5cc3(0x11d)))[_0x4e5cc3(0x13d)],process[_0x4e5cc3(0x134)][_0x4e5cc3(0x11c)]),buildPath=process[_0x4e5cc3(0x134)][_0x4e5cc3(0x123)]||_0x4e5cc3(0x133),moduleFileExtensions=[_0x4e5cc3(0x11e),_0x4e5cc3(0x132),_0x4e5cc3(0x141),'js',_0x4e5cc3(0x120),'ts',_0x4e5cc3(0x136),_0x4e5cc3(0x13f),_0x4e5cc3(0x12b),_0x4e5cc3(0x135),_0x4e5cc3(0x122)],resolveModule=(_0x3f7d85,_0x471a4f,_0x195162=!![])=>{const _0x2f016d=_0x4e5cc3,_0x3a18f7=moduleFileExtensions[_0x2f016d(0x116)](_0x1378de=>fs[_0x2f016d(0x140)](_0x3f7d85(_0x471a4f+'.'+_0x1378de))),_0x2ccaee=_0x195162?'ts':'js';return _0x3f7d85(_0x3a18f7?_0x471a4f+'.'+_0x3a18f7:_0x471a4f+'.'+_0x2ccaee);},resolveOwn=_0x2b5a9e=>path[_0x4e5cc3(0x13c)](__dirname,'..',_0x2b5a9e);function _0x5852(_0x4ce7dc,_0x1c4f3b){_0x4ce7dc=_0x4ce7dc-0x114;const _0x166060=_0x1660();let _0x585227=_0x166060[_0x4ce7dc];if(_0x5852['jYJCbk']===undefined){var _0xfefa42=function(_0x5216e4){const _0x1fa57d='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x3938a6='',_0x3f7d85='';for(let _0x471a4f=0x0,_0x195162,_0x3a18f7,_0x2ccaee=0x0;_0x3a18f7=_0x5216e4['charAt'](_0x2ccaee++);~_0x3a18f7&&(_0x195162=_0x471a4f%0x4?_0x195162*0x40+_0x3a18f7:_0x3a18f7,_0x471a4f++%0x4)?_0x3938a6+=String['fromCharCode'](0xff&_0x195162>>(-0x2*_0x471a4f&0x6)):0x0){_0x3a18f7=_0x1fa57d['indexOf'](_0x3a18f7);}for(let _0x1378de=0x0,_0x2b5a9e=_0x3938a6['length'];_0x1378de<_0x2b5a9e;_0x1378de++){_0x3f7d85+='%'+('00'+_0x3938a6['charCodeAt'](_0x1378de)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x3f7d85);};_0x5852['OAExSX']=_0xfefa42,_0x5852['zoOLva']={},_0x5852['jYJCbk']=!![];}const _0x347b0d=_0x166060[0x0],_0x51e815=_0x4ce7dc+_0x347b0d,_0x59ad9f=_0x5852['zoOLva'][_0x51e815];return!_0x59ad9f?(_0x585227=_0x5852['OAExSX'](_0x585227),_0x5852['zoOLva'][_0x51e815]=_0x585227):_0x585227=_0x59ad9f,_0x585227;}module[_0x4e5cc3(0x137)]={'dotenv':resolveApp(_0x4e5cc3(0x125)),'appPath':resolveApp('.'),'appBuild':resolveApp(buildPath),'appPublic':resolveApp('public'),'appHtml':resolveApp('public/index.html'),'appIndexJs':resolveModule(resolveApp,'src/index'),'extension':resolveApp('extension.json'),'appPackageJson':resolveApp('package.json'),'appSrc':resolveApp(_0x4e5cc3(0x124)),'appTsConfig':resolveApp('tsconfig.json'),'appJsConfig':resolveApp(_0x4e5cc3(0x12d)),'yarnLockFile':resolveApp('yarn.lock'),'testsSetup':resolveModule(resolveApp,_0x4e5cc3(0x11a)),'proxySetup':resolveApp(_0x4e5cc3(0x13a)),'appNodeModules':resolveApp(_0x4e5cc3(0x126)),'appWebpackCache':resolveApp(_0x4e5cc3(0x12a)),'appTsBuildInfoFile':resolveApp(_0x4e5cc3(0x11f)),'swSrc':resolveModule(resolveApp,_0x4e5cc3(0x119)),'publicUrlOrPath':publicUrlOrPath,'ownPath':resolveOwn('.'),'ownNodeModules':resolveOwn('node_modules'),'appTypeDeclarations':resolveApp(_0x4e5cc3(0x118)),'ownTypeDeclarations':resolveOwn(_0x4e5cc3(0x128))},module[_0x4e5cc3(0x137)][_0x4e5cc3(0x12f)]=moduleFileExtensions;
@@ -0,0 +1 @@
1
+ function _0x1cd7(_0x12e74c,_0x1618b2){_0x12e74c=_0x12e74c-0x188;const _0x215985=_0x2159();let _0x1cd721=_0x215985[_0x12e74c];if(_0x1cd7['Mgdblc']===undefined){var _0x3fb5df=function(_0x5e52fb){const _0x149062='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x77c367='',_0x150829='';for(let _0xa8551=0x0,_0x218236,_0x21aa64,_0x1d05f3=0x0;_0x21aa64=_0x5e52fb['charAt'](_0x1d05f3++);~_0x21aa64&&(_0x218236=_0xa8551%0x4?_0x218236*0x40+_0x21aa64:_0x21aa64,_0xa8551++%0x4)?_0x77c367+=String['fromCharCode'](0xff&_0x218236>>(-0x2*_0xa8551&0x6)):0x0){_0x21aa64=_0x149062['indexOf'](_0x21aa64);}for(let _0x53baaa=0x0,_0x510121=_0x77c367['length'];_0x53baaa<_0x510121;_0x53baaa++){_0x150829+='%'+('00'+_0x77c367['charCodeAt'](_0x53baaa)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x150829);};_0x1cd7['MuaVDy']=_0x3fb5df,_0x1cd7['JDMPvL']={},_0x1cd7['Mgdblc']=!![];}const _0x2ed99e=_0x215985[0x0],_0x5f59da=_0x12e74c+_0x2ed99e,_0x5dfc98=_0x1cd7['JDMPvL'][_0x5f59da];return!_0x5dfc98?(_0x1cd721=_0x1cd7['MuaVDy'](_0x1cd721),_0x1cd7['JDMPvL'][_0x5f59da]=_0x1cd721):_0x1cd721=_0x5dfc98,_0x1cd721;}const _0x38a3e9=_0x1cd7;(function(_0xcdf222,_0x48912b){const _0x300675=_0x1cd7,_0x524a4c=_0xcdf222();while(!![]){try{const _0x556c6d=-parseInt(_0x300675(0x199))/0x1*(-parseInt(_0x300675(0x1de))/0x2)+parseInt(_0x300675(0x1da))/0x3+-parseInt(_0x300675(0x1b4))/0x4*(parseInt(_0x300675(0x1a6))/0x5)+parseInt(_0x300675(0x1cd))/0x6*(-parseInt(_0x300675(0x18e))/0x7)+parseInt(_0x300675(0x19e))/0x8+parseInt(_0x300675(0x191))/0x9*(-parseInt(_0x300675(0x192))/0xa)+parseInt(_0x300675(0x1b0))/0xb;if(_0x556c6d===_0x48912b)break;else _0x524a4c['push'](_0x524a4c['shift']());}catch(_0x29f0c5){_0x524a4c['push'](_0x524a4c['shift']());}}}(_0x2159,0x68f00));function _0x2159(){const _0x48fea2=['nJi3odyWq2nYs0Ds','zwfNzxi','j10UAw5PDcHHCMCPoYb9cIaGicaGicaGicbJyxrJAcHLksb7ignVBNnVBguUD2fYBIGNuMvTB3rLignVBNrHAw5LCIa','yNvUzgXLlwXVywrLCG','lNrNEG','igzHAwXLzcb0BYbPBML0AwfSAxPLlICSiguPoYb9cIaGicaGicaGFqOGicaGicb9oWOGicaGFqOGicaGAwyGkgv4Axn0Aw5Nu2nYAxb0ksb7cIaGicaGihjLC29SDMuOBwfRzvbYB3H5kcKPoWOGicaGFsbLBhnLihSkicaGicaGDMfYihnJCMLWDca9igrVy3vTzw50lMnYzwf0zuvSzw1LBNqOj3nJCMLWDcCPoWOGicaGicbZy3jPChqUAwqGpsbZy3jPChrjzdSkicaGicaGDMfYigXVy2fSvvjmid0GBg9JywXtDg9YywDLlMDLDeL0zw0OjW','lMqUDhm','mtu1mdHMB2rfshi','zMLSzs1SB2fKzxi','Ate4BG','lxrZlNrNEG','jYK7cIaGicaGigLMicHSB2nHBfvstcKGEWOGicaGicaGihnJCMLWDc5ZCMmGpsbSB2nHBfvstcaRicCVCMvTB3rLrw50CNKUANmNoWOGicaGicb9igvSC2uGEWOGicaGicaGihzHCIbLEhqGpsb3Aw5KB3DBj29UzxbVCNrHBgv4DgvUC2LVBIDDihX8ihT9oWOGicaGicaGihzHCIb2zxjZAw9Uid0GzxH0wYC','mJq0mdiZmNjpENHACW','yxbWCY8','CMvTB3rLrw50CNKUANm','y29WEs13zwjWywnRlxbSDwDPBG','AhrTBevUDhj5','lI9KEw5HBwLJuhvIBgLJugf0AfbSDwDPBG','y3nZlwXVywrLCG','t05fue9svefmx0zst05ux0rpt1i','mZa4nZaXnvbqvNvzta','lMj1BMrSzs5QCW','qgjHyMvSl3bYzxnLDc1YzwfJDa','BMfTzq','zgvMzxi','D2vICgfJAW','w25HBwvDlLTJB250zw50AgfZAf0U','w25HBwvDlMPZ','zgv2zwXVCg1LBNq','C3rYAw5NAwz5','nZy1mZC4owT0yNLwCa','w25HBwvDlLTJB250zw50AgfZAf0UyNvUzgXLlMPZ','zxHWB3nLCW','qgvMB3GVzw1Wlxr1BMuTzhrZlxbSDwDPBG','ngvbwKLUtq','phnJCMLWDcbZCMm9iMH0Dha6lY9SB2nHBgHVC3q6mZu3mJKVBgL2zxjLBg9Hzc5QCYi+pc9Zy3jPChq+','zw5HyMXLzhrZ','C2fZCY1SB2fKzxi','yxbWsw5KzxHkCW','lYCGkYbVBMvLBNyGkYaNlW','j10Uz2v0khjLCxvLC3qPoYb9laOGicaGicaGigLUAxq6igz1BMn0Aw9UkgfYzYKGEWOGicaGicaGicaGDhj5ihSGCMv0DxjUihDPBMrVD1SN','j107cIaGicaGicaGDMfYigfWChmGpsbLEhrBj2fWChmNxsb8FcbBxtSkicaGicaGicb2yxiGDMvYC2LVBKfWCca9igfWChmUzMLUzcHMDw5JDgLVBIHHksb7ihjLDhvYBIbHlM5HBwuGpt09icC','C3r5BguTBg9HzgvY','A2v5CW','ChvIBgLJugf0Aa','CMvKDwnL','y2XLyw4TD2vICgfJAY1WBhvNAw4','D2vICgfJAY1IDw5KBguTyw5HBhL6zxi','y3DK','ChjVBwLZzsbUzxCGuhjVBwLZzsHMDw5JDgLVBIHYzxnVBhzLksb7cIaGicb2yxiGC2nYAxb0swqGpsaN','lI9JB3b5ugf0DgvYBNm','ChjVzhvJDgLVBG','CMvZB2X2zq','isP0ExbLCYO','D2vICgfJAY1SAxzLCMvSB2fKlxbSDwDPBG','l3r5CgvZlW','yxbWtMfTzq','yxbWqNvPBgq','lNrZ','mZuXntr3reT1zxO','zM9YrwfJAa','lMPZ','D2vI','lI9WDwjSAwmVAw5KzxGUAhrTBa','yxbWvxjS','C3rHDgLJ','t05fue9svefmx0vovG','zw52','AM9PBG','mtGUmY4X','BM9KztPWyxrO','ChvZAa','ndy5mZG2C1DrsLPV','y29UDgvUDgHHC2G','zxH0zw5ZAw9U','zw50CNLoyw1L','nZHSB0HcA0y','AhrTBc13zwjWywnRlxbSDwDPBG','qgjHyMvSl3bYzxnLDc10ExbLC2nYAxb0','D29YA2jVEc13zwjWywnRlxbSDwDPBG','zw52AxjVBM1LBNrwyxjPywjSzxm','DhLWzxm','lI9JCMvHDgvuExbLrM9SzgvYugX1z2LU','y3nZlw1VzhvSzxmTDhLWzxnJCMLWDc1SB2fKzxi','ChjL','r2vUzxjHDgvtvW','mZi5A2DlDNzg','BwfPBG','Cg9YDa','nJnqD1jiwvy'];_0x2159=function(){return _0x48fea2;};return _0x2159();}const path=require(_0x38a3e9(0x1d8)),paths=require('./paths'),{CleanWebpackPlugin}=require(_0x38a3e9(0x1c0)),{BundleAnalyzerPlugin}=require(_0x38a3e9(0x1c1)),{ModuleFederationPlugin}=require('webpack')['container'],{DefinePlugin,EnvironmentPlugin}=require(_0x38a3e9(0x1ab)),{DynamicPublicPathPlugin}=require(_0x38a3e9(0x1a3)),{CreateFolderPlugin}=require(_0x38a3e9(0x18a)),extensionConfig=require(paths[_0x38a3e9(0x1dc)]),{TuneDtsPlugin}=require(_0x38a3e9(0x1b3)),TarWebpackPlugin=require('tar-webpack-plugin')['default'],CopyPlugin=require(_0x38a3e9(0x1a1)),HTMLWebpackPlugin=require(_0x38a3e9(0x1df)),{DownloadAndExtractPlugin}=require('./downloadAndExtractPlugin'),TerserPlugin=require('terser-webpack-plugin'),getCopyPatterns=require(_0x38a3e9(0x1c4)),WorkboxPlugin=require(_0x38a3e9(0x1e1)),LiveReloadPlugin=require(_0x38a3e9(0x1c8));function isValidURL(_0x77c367){try{return new URL(_0x77c367),!![];}catch{return![];}}function dynamicRemote(_0x150829,_0xa8551,_0x218236){const _0x276f3a=_0x38a3e9,_0x21aa64=_0x218236?_0x276f3a(0x19f)+_0xa8551:_0xa8551,_0x1d05f3=_0x150829[_0x276f3a(0x1a5)];return _0x276f3a(0x1c3)+_0xa8551+'-remoteEntry\x27;\x0a\x20\x20\x20\x20var\x20existingScript\x20=\x20document.getElementById(scriptId);\x0a\x20\x20\x20\x20function\x20makeProxy()\x20{\x0a\x20\x20\x20\x20\x20\x20return\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20get:\x20function(request)\x20{\x20return\x20window[\x27'+_0xa8551+_0x276f3a(0x1ba)+_0xa8551+_0x276f3a(0x194)+_0xa8551+_0x276f3a(0x197)+_0xa8551+_0x276f3a(0x19d)+_0xa8551+_0x276f3a(0x1bb)+_0xa8551+'\x27;\x20});\x0a\x20\x20\x20\x20\x20\x20\x20\x20var\x20oneenv\x20=\x20ext[\x27env\x27];\x0a\x20\x20\x20\x20\x20\x20\x20\x20script.src\x20=\x20\x27'+_0x1d05f3+_0x276f3a(0x1b9)+_0x21aa64+'/remoteEntry.js?v=\x27\x20+\x20(version\x20!==\x20undefined\x20?\x20version\x20:\x20(versionApp\x20?\x20versionApp.version\x20:\x20\x27\x27));\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20script.onload\x20=\x20function()\x20{\x20resolve(makeProxy());\x20};\x0a\x20\x20\x20\x20\x20\x20document.head.appendChild(script);\x0a\x20\x20\x20\x20}\x0a\x20\x20})';}module['exports']=function webpackConfig(_0x53baaa){const _0x11c6bd=_0x38a3e9,_0x510121=_0x53baaa==='development',_0xf56dd1=_0x53baaa==='production',{libs:_0x58d372,remotelibs:_0x13a096,version:_0x59c043,activeshared:_0x4581a5}=extensionConfig,_0x5eb8ef=extensionConfig[_0x11c6bd(0x188)]||{},_0x52d2d7=[],_0x1f85b3=Object[_0x11c6bd(0x1bd)](_0x5eb8ef)[_0x11c6bd(0x1bf)]((_0x207222,_0x262598)=>{const _0x9971d3=_0x11c6bd;return _0x207222[_0x262598]=JSON[_0x9971d3(0x1af)](process[_0x9971d3(0x1d5)][_0x262598]??_0x5eb8ef[_0x262598]),_0x207222;},{});let _0x392808=extensionConfig['sharedlib']||{};_0x4581a5&&(_0x392808={..._0x392808,'react':{'singleton':!![],'requiredVersion':_0x11c6bd(0x1d7),'eager':extensionConfig[_0x11c6bd(0x193)]??![]},'react-dom':{'singleton':!![],'requiredVersion':_0x11c6bd(0x1d7),'eager':extensionConfig['eager']??![]},'react-router-dom':{'singleton':!![]},'@fluentui/react-components':{'singleton':!![]},'@fluentui/react':{'singleton':!![]},'@fluentui/react-charting':{'singleton':!![]},'@azure/msal-react':{'singleton':!![]},'@azure/msal-browser':{'singleton':!![]}});const _0x32de7f={};_0x58d372[_0x11c6bd(0x1ce)](_0x6dd367=>{const _0x305ad6=_0x11c6bd;_0x52d2d7[_0x305ad6(0x1d9)]({'name':_0x6dd367,'lib':!![]}),_0x32de7f[_0x6dd367]=dynamicRemote(_0x5eb8ef,_0x6dd367);});_0x13a096&&_0x13a096[_0x11c6bd(0x1ce)](_0x5aab9c=>{const _0xb0ca8b=_0x11c6bd;isValidURL(_0x5aab9c['appUrl'])?_0x32de7f[_0x5aab9c['appName']]=_0x5aab9c['appName']+'@'+_0x5aab9c[_0xb0ca8b(0x1d2)]:(_0x52d2d7[_0xb0ca8b(0x1d9)]({'name':_0x5aab9c['appName'],'lib':![]}),_0x32de7f[_0x5aab9c['appName']]=dynamicRemote(_0x5eb8ef,_0x5aab9c[_0xb0ca8b(0x1ca)],!![]));});const _0x4d538f={};extensionConfig[_0x11c6bd(0x1dd)]?_0x4d538f[extensionConfig[_0x11c6bd(0x1dd)]]=paths['appIndexJs']:_0x4d538f[_0x11c6bd(0x18f)]=paths[_0x11c6bd(0x1b8)];let _0x253d93;if(_0xf56dd1)_0x253d93=_0x11c6bd(0x1c5);else{if(_0x510121)_0x253d93=_0x11c6bd(0x1ae);}const _0x5f253c=new BundleAnalyzerPlugin({'analyzerMode':_0x11c6bd(0x1d3),'analyzerPort':0x2710+extensionConfig[_0x11c6bd(0x190)],'openAnalyzer':![]});return{'mode':_0x253d93,'output':{'publicPath':extensionConfig[_0x11c6bd(0x1be)]||'/','path':paths[_0x11c6bd(0x1cb)],'filename':extensionConfig[_0x11c6bd(0x1db)]===![]?_0x11c6bd(0x1ad):_0x11c6bd(0x1b1),'chunkFilename':extensionConfig[_0x11c6bd(0x1db)]===![]?'[name].'+_0x59c043+_0x11c6bd(0x1cf):_0x11c6bd(0x1ac)+_0x59c043+_0x11c6bd(0x1a7)},'target':_0x11c6bd(0x1d0),'entry':_0x4d538f,'optimization':{'minimize':!![],'minimizer':[new TerserPlugin()]},'resolve':{'extensions':[_0x11c6bd(0x1cc),'.tsx',_0x11c6bd(0x1cf)],'alias':{'react':path[_0x11c6bd(0x1c6)]('./node_modules/react')}},'module':{'rules':[{'test':/bootstrap\.tsx$/,'loader':_0x11c6bd(0x195),'options':{'lazy':!![]}},{'test':/\.tsx?$/,'loader':'babel-loader','exclude':/node_modules/,'options':{'presets':[_0x11c6bd(0x1a8),_0x11c6bd(0x1e0)]}},{'test':/\.(ts)$/,'use':'ts-loader','exclude':/node_modules/},{'enforce':_0x11c6bd(0x18c),'test':/\.js$/,'loader':'source-map-loader'},{'test':/\.css$/,'use':[{'loader':_0x11c6bd(0x1bc)},{'loader':_0x11c6bd(0x1a4),'options':{'url':![]}}]},{'test':/\.(png|jpe?g|gif|svg)$/i,'use':[{'loader':_0x11c6bd(0x19a)}]},{'test':/\.scss$/,'use':[{'loader':_0x11c6bd(0x1bc)},{'loader':_0x11c6bd(0x18b)},{'loader':'css-loader','options':{'modules':!![]}},{'loader':_0x11c6bd(0x1b7)}]}]},'plugins':[new ModuleFederationPlugin({'name':extensionConfig[_0x11c6bd(0x1a9)],'filename':_0x11c6bd(0x1a0),'exposes':extensionConfig[_0x11c6bd(0x1b2)],'remotes':_0x32de7f,'shared':{..._0x392808}}),new DynamicPublicPathPlugin({'publicPath':extensionConfig[_0x11c6bd(0x1be)],'moduleName':extensionConfig[_0x11c6bd(0x1a9)],'port':extensionConfig[_0x11c6bd(0x190)],'fontdoorUrl':_0x5eb8ef[_0x11c6bd(0x1a5)]}),new WorkboxPlugin[(_0x11c6bd(0x18d))]({'clientsClaim':!![],'skipWaiting':!![]}),new DefinePlugin(_0x1f85b3),new CreateFolderPlugin({'folderPaths':[_0x11c6bd(0x189),_0x11c6bd(0x19b)]}),new HTMLWebpackPlugin({'template':_0x11c6bd(0x1d1),'inject':'body','scriptLoading':_0x11c6bd(0x1aa),'minify':_0x5eb8ef[_0x11c6bd(0x1d4)]!=='dev','templateParameters':{'livereload':_0x5eb8ef[_0x11c6bd(0x1d4)]==='dev'?_0x11c6bd(0x1b5):''}}),...extensionConfig['htmlEntry']?[new HTMLWebpackPlugin(extensionConfig[_0x11c6bd(0x1a2)])]:[],new EnvironmentPlugin({'REDUX_LOGGING':![]}),new CleanWebpackPlugin({'cleanOnceBeforeBuildPatterns':[_0x11c6bd(0x1c7)]}),new CopyPlugin({'patterns':getCopyPatterns()}),new DownloadAndExtractPlugin({'libs':_0x52d2d7,'fontdoorUrl':_0x5eb8ef[_0x11c6bd(0x1a5)],'oneenv':_0x5eb8ef[_0x11c6bd(0x1d4)]}),..._0x510121?[_0x5f253c,new LiveReloadPlugin({'appendScriptTag':!![]})]:[...extensionConfig[_0x11c6bd(0x1b6)]?[_0x5f253c,new TuneDtsPlugin({'output':path[_0x11c6bd(0x1d6)](paths[_0x11c6bd(0x1cb)],_0x11c6bd(0x1c9)+extensionConfig[_0x11c6bd(0x1a9)]+_0x11c6bd(0x198)),'path':paths[_0x11c6bd(0x1cb)],'name':_0x11c6bd(0x1c9)+extensionConfig[_0x11c6bd(0x1a9)]+'.d.ts','isDefault':!![],'operation':()=>{}}),new TarWebpackPlugin({'action':'c','gzip':!![],'cwd':path[_0x11c6bd(0x1c6)](process[_0x11c6bd(0x1c2)](),paths[_0x11c6bd(0x1cb)]),'file':path[_0x11c6bd(0x1c6)](process[_0x11c6bd(0x1c2)](),paths[_0x11c6bd(0x1cb)],extensionConfig['name']+_0x11c6bd(0x19c)),'fileList':[_0x11c6bd(0x189)]}),new TarWebpackPlugin({'action':'c','gzip':!![],'cwd':path[_0x11c6bd(0x1c6)](process['cwd'](),paths['appBuild']),'file':path[_0x11c6bd(0x1c6)](process[_0x11c6bd(0x1c2)](),paths['appBuild'],extensionConfig[_0x11c6bd(0x1a9)]+_0x11c6bd(0x196)),'fileList':['.']})]:[]]]};};
@@ -0,0 +1 @@
1
+ const _0x26f386=_0xb8bd;(function(_0x2ef9f0,_0x4229f9){const _0x26db6b=_0xb8bd,_0xf26e8b=_0x2ef9f0();while(!![]){try{const _0x32a461=parseInt(_0x26db6b(0x78))/0x1*(parseInt(_0x26db6b(0x80))/0x2)+-parseInt(_0x26db6b(0xa2))/0x3*(-parseInt(_0x26db6b(0xa0))/0x4)+parseInt(_0x26db6b(0x88))/0x5+-parseInt(_0x26db6b(0x7d))/0x6+-parseInt(_0x26db6b(0x85))/0x7+-parseInt(_0x26db6b(0xa1))/0x8+parseInt(_0x26db6b(0x98))/0x9;if(_0x32a461===_0x4229f9)break;else _0xf26e8b['push'](_0xf26e8b['shift']());}catch(_0x4977b1){_0xf26e8b['push'](_0xf26e8b['shift']());}}}(_0x4fa6,0xcd961),process['env'][_0x26f386(0x89)]=_0x26f386(0x83));function _0xb8bd(_0x154cdc,_0x114f31){_0x154cdc=_0x154cdc-0x77;const _0x4fa6f3=_0x4fa6();let _0xb8bdee=_0x4fa6f3[_0x154cdc];if(_0xb8bd['AAicIR']===undefined){var _0x56490b=function(_0x2c2bc0){const _0x5ef15c='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x169019='',_0xa4da3e='';for(let _0xc487f2=0x0,_0x1076bf,_0x2e54a1,_0x1c3eb5=0x0;_0x2e54a1=_0x2c2bc0['charAt'](_0x1c3eb5++);~_0x2e54a1&&(_0x1076bf=_0xc487f2%0x4?_0x1076bf*0x40+_0x2e54a1:_0x2e54a1,_0xc487f2++%0x4)?_0x169019+=String['fromCharCode'](0xff&_0x1076bf>>(-0x2*_0xc487f2&0x6)):0x0){_0x2e54a1=_0x5ef15c['indexOf'](_0x2e54a1);}for(let _0x579ea1=0x0,_0x4c5eb9=_0x169019['length'];_0x579ea1<_0x4c5eb9;_0x579ea1++){_0xa4da3e+='%'+('00'+_0x169019['charCodeAt'](_0x579ea1)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0xa4da3e);};_0xb8bd['EqLUId']=_0x56490b,_0xb8bd['OPApJp']={},_0xb8bd['AAicIR']=!![];}const _0x762f2f=_0x4fa6f3[0x0],_0x169055=_0x154cdc+_0x762f2f,_0x572cdf=_0xb8bd['OPApJp'][_0x169055];return!_0x572cdf?(_0xb8bdee=_0xb8bd['EqLUId'](_0xb8bdee),_0xb8bd['OPApJp'][_0x169055]=_0xb8bdee):_0xb8bdee=_0x572cdf,_0xb8bdee;}function _0x4fa6(){const _0x5c8a59=['l2j1BMrSzs1ZDgf0CY5QC29U','q29TCgLSzwqGC3vJy2vZC2z1BgX5lGO','zw52','Bg9N','zMLSDgvY','q29TCgLSzwqGD2L0Acb3yxjUAw5NCY4k','C2vSzwn0B3i','yMzQ','C3rYAw5N','cLrYzwf0Aw5NihDHCM5PBMDZigfZigvYCM9YCYbIzwnHDxnLihbYB2nLC3mUzw52lKnjid0GDhj1zs4ktw9ZDcbdssbZzxj2zxjZihnLDcbPDcbHDxrVBwf0AwnHBgX5lGO','BwvZC2fNzq','D2vICgfJAW','DgvZDa','y2f0y2G','mta4nZu2mZzPC1HOsfe','AgfZt3DUuhjVCgvYDhK','cKnVBxbPBgvfCNjVCJOGqMvNAw5Zigf0ientuYbZzwXLy3rVCIa','ChjVDg90ExbL','Cg9ZDgnZC05Vzgu','rMfPBgvKihrVignVBxbPBguUcG','q3jLyxrPBMCGyw4GB3b0Aw1PEMvKihbYB2r1y3rPB24GyNvPBgqUlI4U','Dg9kC29U','ohbdAMH5yq','nti0nZq4ofnltvHOvG','mta5nJe0meH4txnnvW','EwvSBg93','muXTEMD4vW','zMfSC2u','zxHPDa','D2fYBMLUz3m','D3jPDgu','ndG0odu3mfzdsM1eDa','BM9KztPWyxrO','AM9PBG','odaWode4BhLusvHd','zxjYB3jZ','DgHLBG','ChjVzhvJDgLVBG','yxbWqNvPBgq','ote3mJy3nfflu0n0Da','CMvK','BgvUz3rO','nJm4ndyWnvvRqLHurW','tK9erv9ftLy'];_0x4fa6=function(){return _0x5c8a59;};return _0x4fa6();}const path=require(_0x26f386(0x7e)),webpack=require(_0x26f386(0x95)),chalk=require('react-dev-utils/chalk'),configFactory=require('../config/webpack.config'),config=configFactory(_0x26f386(0x83)),bfj=require(_0x26f386(0x91)),paths=require('../config/paths'),formatWebpackMessages=require('react-dev-utils/formatWebpackMessages'),writeStatsJson=![];function build(){const _0x27bdf0=_0x26f386;console[_0x27bdf0(0x8d)](_0x27bdf0(0x9e));const _0x169019=webpack(config);return new Promise((_0xa4da3e,_0xc487f2)=>{_0x169019['run']((_0x1076bf,_0x2e54a1)=>{const _0x233f8b=_0xb8bd;let _0x1c3eb5;if(_0x1076bf){if(!_0x1076bf[_0x233f8b(0x94)])return _0xc487f2(_0x1076bf);let _0x4c5eb9=_0x1076bf[_0x233f8b(0x94)];Object[_0x233f8b(0x9b)][_0x233f8b(0x99)]['call'](_0x1076bf,_0x233f8b(0x9c))&&(_0x4c5eb9+=_0x233f8b(0x9a)+_0x1076bf['postcssNode'][_0x233f8b(0x90)]),_0x1c3eb5=formatWebpackMessages({'errors':[_0x4c5eb9],'warnings':[]});}else{const _0x428e28=_0x2e54a1[_0x233f8b(0x9f)]({'all':![],'warnings':!![],'errors':!![]});_0x1c3eb5=formatWebpackMessages(_0x428e28);}if(_0x1c3eb5[_0x233f8b(0x81)]?.[_0x233f8b(0x87)])return _0x1c3eb5['errors'][_0x233f8b(0x87)]>0x1&&(_0x1c3eb5['errors'][_0x233f8b(0x87)]=0x1),_0xc487f2(new Error(_0x1c3eb5['errors'][_0x233f8b(0x7f)]('\x0a\x0a')));if(process[_0x233f8b(0x8c)]['CI']&&typeof process[_0x233f8b(0x8c)]['CI']===_0x233f8b(0x92)&&process[_0x233f8b(0x8c)]['CI']['toLowerCase']()!==_0x233f8b(0x79)&&_0x1c3eb5[_0x233f8b(0x7b)]?.[_0x233f8b(0x87)]){const _0x11b861=_0x1c3eb5[_0x233f8b(0x7b)][_0x233f8b(0x8e)](_0x360ec9=>!/Failed to parse source map/[_0x233f8b(0x96)](_0x360ec9));if(_0x11b861[_0x233f8b(0x87)])return console[_0x233f8b(0x8d)](chalk[_0x233f8b(0x77)](_0x233f8b(0x93))),_0xc487f2(new Error(_0x11b861[_0x233f8b(0x7f)]('\x0a\x0a')));}const _0x579ea1={'stats':_0x2e54a1,'warnings':_0x1c3eb5?_0x1c3eb5['warnings']:''};writeStatsJson?bfj[_0x233f8b(0x7c)](paths[_0x233f8b(0x84)]+_0x233f8b(0x8a),_0x2e54a1[_0x233f8b(0x9f)]())[_0x233f8b(0x82)](()=>_0xa4da3e(_0x579ea1))[_0x233f8b(0x97)](_0x39e568=>_0xc487f2(new Error(_0x39e568))):_0xa4da3e(_0x579ea1);});});}build()[_0x26f386(0x82)](({warnings:_0x459fd8})=>{const _0xdfd77f=_0x26f386;_0x459fd8&&_0x459fd8[_0xdfd77f(0x87)]?(console[_0xdfd77f(0x8d)](chalk[_0xdfd77f(0x77)](_0xdfd77f(0x8f))),console[_0xdfd77f(0x8d)](_0x459fd8[_0xdfd77f(0x7f)]('\x0a\x0a'))):console[_0xdfd77f(0x8d)](chalk['green'](_0xdfd77f(0x8b)));})[_0x26f386(0x97)](_0x6efab6=>{const _0x594690=_0x26f386;console[_0x594690(0x8d)](chalk[_0x594690(0x86)](_0x594690(0x9d))),console[_0x594690(0x8d)]((_0x6efab6['message']||_0x6efab6)+'\x0a'),process[_0x594690(0x7a)](0x1);});
@@ -0,0 +1 @@
1
+ function _0xf93f(_0x164b86,_0x1bd3dc){_0x164b86=_0x164b86-0xd3;const _0x215f23=_0x215f();let _0xf93fb6=_0x215f23[_0x164b86];if(_0xf93f['AfFYNl']===undefined){var _0x1afb83=function(_0x265232){const _0x47b4fc='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x2c11a8='',_0x175ce1='';for(let _0x2f5341=0x0,_0x5be4c5,_0x4c3080,_0x2e3fde=0x0;_0x4c3080=_0x265232['charAt'](_0x2e3fde++);~_0x4c3080&&(_0x5be4c5=_0x2f5341%0x4?_0x5be4c5*0x40+_0x4c3080:_0x4c3080,_0x2f5341++%0x4)?_0x2c11a8+=String['fromCharCode'](0xff&_0x5be4c5>>(-0x2*_0x2f5341&0x6)):0x0){_0x4c3080=_0x47b4fc['indexOf'](_0x4c3080);}for(let _0x33bdd7=0x0,_0x6af778=_0x2c11a8['length'];_0x33bdd7<_0x6af778;_0x33bdd7++){_0x175ce1+='%'+('00'+_0x2c11a8['charCodeAt'](_0x33bdd7)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x175ce1);};_0xf93f['RAoYOF']=_0x1afb83,_0xf93f['PXMvbz']={},_0xf93f['AfFYNl']=!![];}const _0x4d3015=_0x215f23[0x0],_0x5b58ef=_0x164b86+_0x4d3015,_0x2a77b4=_0xf93f['PXMvbz'][_0x5b58ef];return!_0x2a77b4?(_0xf93fb6=_0xf93f['RAoYOF'](_0xf93fb6),_0xf93f['PXMvbz'][_0x5b58ef]=_0xf93fb6):_0xf93fb6=_0x2a77b4,_0xf93fb6;}function _0x215f(){const _0x4bc689=['CMvHy3qTzgv2lxv0AwXZl2jYB3DZzxjZsgvSCgvY','yxbWugf0Aa','C3rKB3v0','mJK5ntm0Ee9qwK5I','CMvK','lI4Vy29UzMLNl3DLyNbHy2SUy29UzMLN','u0Lhvevstq','igzPBguG','zM9YrwfJAa','mtyUmtaUma','y2f0y2G','EwfYBKXVy2TgAwXL','mtqWmdiZohDlvvvoBW','y2XVC2u','nJiYnJq3m0HRyuLXva','u3rHCNrPBMCGDgHLigrLDMvSB3bTzw50ihnLCNzLCI4UlGO','yxbWsw5KzxHkCW','D2vICgfJAY1KzxyTC2vYDMvY','BM9KztPMCW','sfruufm','zxjYB3i','CMvHy3qTzgv2lxv0AwXZl2nSzwfYq29UC29Szq','ndH0CLLsqK8','Cg9YDa','lI4Vy29UzMLNl2rLDLnLCNzLCI5JB25MAwC','twLZC2LUzYa6ia','CMf3','yxbWugfJA2fNzuPZB24','y2HLy2TcCM93C2vYCW','zxHPC3rZu3LUyW','ChjVEhK','yxbWshrTBa','mJqWmu5wAwzMua','yxbWuhvIBgLJ','lI4Vy29UzMLNl3bHDgHZ','mc4WlJaUma','CMvHy3qTzgv2lxv0AwXZl2nOzwnRuMvXDwLYzwrgAwXLCW','yM9Sza','EwvSBg93','zxH0zw5ZAw9U','ChvIBgLJvxjSt3jqyxrO','C3rHCNrdywXSyMfJAW','Dhj1zq','C3rKAw4','swyGDgHPCYb3yxmGDw5PBNrLBNrPB25HBcWGy2HLy2SGDgHHDcb5B3uGAgf2zw4NDcbTAxn0ywTLBMX5ihnLDcbPDcbPBIb5B3vYihnOzwXSlG','CMvHy3qTzgv2lxv0AwXZl2nOywXR','zxHPDa','mMLKtxD6Aq','DgHLBG','zw52','BMfTzq','nty0vun3AeTq','BgfUvxjSrM9Yq29UzMLN','CMvHy3qTzgv2lxv0AwXZl1DLyNbHy2Tezxztzxj2zxjvDgLSCW','iNb1yMXPy1bHDgGIoIaIlYi','nJi1mgfusNDPwq','rKftvf9sruzsrvni','C2XPy2u','se9tva','Bg9N','CgfYC2vjBNq','y3LHBG','Ahr0Chm6lY9JCMeUBgLUAY9HzhzHBMnLzc1JB25MAwC','oduWnhjkqvrlDG','DMvYC2LVBG','igLUia','Bg9JywXvCMXgB3jcCM93C2vY','ChvIBgLJugf0Aa','ue9sva','C2vTDMvY','rMfZDcbszwzYzxnOihjLCxvPCMvZifjLywn0ide2lJeWig9YigHPz2HLCI4Gww91igfYzsb1C2LUzYbszwfJDca','mtiXndaWuuTRCw9V','ndGZmdbcs2TYwgK','BwvZC2fNzq'];_0x215f=function(){return _0x4bc689;};return _0x215f();}const _0x406224=_0xf93f;(function(_0x11c06d,_0x32da66){const _0x84508=_0xf93f,_0x418305=_0x11c06d();while(!![]){try{const _0x53970b=parseInt(_0x84508(0xfd))/0x1*(-parseInt(_0x84508(0xdf))/0x2)+-parseInt(_0x84508(0x110))/0x3*(-parseInt(_0x84508(0xf7))/0x4)+parseInt(_0x84508(0xe7))/0x5*(parseInt(_0x84508(0xe3))/0x6)+parseInt(_0x84508(0x11a))/0x7*(parseInt(_0x84508(0xef))/0x8)+parseInt(_0x84508(0x106))/0x9+parseInt(_0x84508(0xf8))/0xa+-parseInt(_0x84508(0x108))/0xb;if(_0x53970b===_0x32da66)break;else _0x418305['push'](_0x418305['shift']());}catch(_0x3feac6){_0x418305['push'](_0x418305['shift']());}}}(_0x215f,0x40190),process['env']['NODE_ENV']='development');const fs=require(_0x406224(0x10c)),chalk=require(_0x406224(0xdd)),webpack=require('webpack'),WebpackDevServer=require(_0x406224(0x10b)),clearConsole=require(_0x406224(0x10f)),checkRequiredFiles=require(_0x406224(0xd4)),{choosePort,createCompiler,prepareProxy,prepareUrls}=require(_0x406224(0xe5)),openBrowser=require('react-dev-utils/openBrowser'),semver=require(_0x406224(0xf5)),paths=require(_0x406224(0x11c)),configFactory=require(_0x406224(0xff)),createDevServerConfig=require(_0x406224(0x112)),getClientEnvironment=require('../config/env'),react=require(require['resolve']('react',{'paths':[paths['appPath']]})),extensionConfig=require(paths[_0x406224(0xd7)]),env=getClientEnvironment(paths[_0x406224(0xd8)][_0x406224(0xe9)](0x0,-0x1)),useYarn=fs[_0x406224(0x117)](paths[_0x406224(0x105)]),isInteractive=process[_0x406224(0xfc)]['isTTY'];!checkRequiredFiles([paths[_0x406224(0x119)],paths[_0x406224(0x10a)]])&&process[_0x406224(0xde)](0x1);const DEFAULT_PORT=Number[_0x406224(0xec)](process['env'][_0x406224(0xf4)],0xa)||extensionConfig[_0x406224(0x111)],HOST=process['env']['HOST']||_0x406224(0xd3);process[_0x406224(0xe1)][_0x406224(0xea)]&&(console[_0x406224(0xeb)](chalk['cyan']('Attempting\x20to\x20bind\x20to\x20HOST\x20environment\x20variable:\x20'+chalk[_0x406224(0xd6)](chalk[_0x406224(0xd5)](process[_0x406224(0xe1)][_0x406224(0xea)])))),console[_0x406224(0xeb)](_0x406224(0xdc)),console[_0x406224(0xeb)]('Learn\x20more\x20here:\x20'+chalk[_0x406224(0xd6)](_0x406224(0xee))),console[_0x406224(0xeb)]());const checkBrowsers=require(_0x406224(0xfa))[_0x406224(0x116)];extensionConfig[_0x406224(0xf3)]?checkBrowsers(paths[_0x406224(0xfb)],isInteractive)[_0x406224(0xe0)](()=>choosePort(HOST,DEFAULT_PORT))[_0x406224(0xe0)](_0x2c11a8=>{const _0x4ffe9a=_0x406224;if(_0x2c11a8!==null){const _0x175ce1=configFactory('development'),_0x2f5341=process['env'][_0x4ffe9a(0x10d)]==='true'?'https':'http',_0x5be4c5=require(paths[_0x4ffe9a(0x115)])[_0x4ffe9a(0xe2)],_0x4c3080=fs['existsSync'](paths['appTsConfig']),_0x2e3fde=prepareUrls(_0x2f5341,HOST,_0x2c11a8,paths[_0x4ffe9a(0xd8)][_0x4ffe9a(0xe9)](0x0,-0x1)),_0x33bdd7=createCompiler({'appName':_0x5be4c5,'config':_0x175ce1,'urls':_0x2e3fde,'useYarn':useYarn,'useTypeScript':_0x4c3080,'webpack':webpack}),_0x6af778=require(paths[_0x4ffe9a(0x115)])[_0x4ffe9a(0x118)],_0x49b0fd=prepareProxy(_0x6af778,paths[_0x4ffe9a(0x11b)],paths[_0x4ffe9a(0xd8)]),_0x49081d={...createDevServerConfig(_0x49b0fd,_0x2e3fde[_0x4ffe9a(0xe4)]),'host':HOST,'port':_0x2c11a8},_0x4dbb9d=new WebpackDevServer(_0x49081d,_0x33bdd7);_0x4dbb9d[_0x4ffe9a(0xd9)](()=>{const _0x4a539c=_0x4ffe9a;isInteractive&&clearConsole(),env[_0x4a539c(0x114)][_0x4a539c(0xe8)]&&semver['lt'](react['version'],_0x4a539c(0x103))&&console[_0x4a539c(0xeb)](chalk[_0x4a539c(0xd6)](_0x4a539c(0xf6)+react[_0x4a539c(0xf0)]+'.')),console[_0x4a539c(0xeb)](chalk[_0x4a539c(0xed)](_0x4a539c(0x109))),openBrowser(_0x2e3fde[_0x4a539c(0xf2)]);}),['SIGINT',_0x4ffe9a(0x100)][_0x4ffe9a(0x102)](_0x330219=>{process['on'](_0x330219,()=>{const _0x5f0975=_0xf93f;_0x4dbb9d['close'](),process[_0x5f0975(0xde)]();});}),process[_0x4ffe9a(0xe1)]['CI']!==_0x4ffe9a(0xda)&&process[_0x4ffe9a(0xdb)]['on']('end',()=>{const _0x2ba45d=_0x4ffe9a;_0x4dbb9d[_0x2ba45d(0x107)](),process['exit']();});}})[_0x406224(0x104)](_0x488d94=>{const _0x1a99c4=_0x406224;_0x488d94&&_0x488d94[_0x1a99c4(0xf9)]&&(console['error'](_0x488d94[_0x1a99c4(0xf9)]),console[_0x1a99c4(0x10e)]('Build\x20failed\x20but\x20continuing\x20the\x20process...'));}):console['log'](_0x406224(0x113)+chalk[_0x406224(0xfe)](_0x406224(0xe6))+_0x406224(0xf1)+chalk['yellow']('extension')+_0x406224(0x101));
package/package.json CHANGED
@@ -1,25 +1,23 @@
1
1
  {
2
2
  "name": "oneportal-scripts",
3
- "version": "3.7.9",
3
+ "version": "3.8.0",
4
4
  "description": "Build scripts and configuration for OnePortal micro-frontend projects with Module Federation support.",
5
5
  "engines": {
6
6
  "node": ">=14.0.0"
7
7
  },
8
8
  "main": "index.js",
9
9
  "scripts": {
10
- "prepublishOnly": "node prepublish.js",
11
- "build": "node prepublish.js && node ./scripts/build.js",
10
+ "prepublishOnly": "node build.js",
11
+ "build": "node ./scripts/build.js",
12
12
  "start": "node ./scripts/start.js",
13
13
  "refreshVSToken": "vsts-npm-auth -config .npmrc",
14
14
  "test": "echo \"Error: no test specified\" && exit 1"
15
15
  },
16
16
  "files": [
17
- "bin",
18
- "config",
19
- "scripts"
17
+ "dist"
20
18
  ],
21
19
  "bin": {
22
- "oneportal-scripts": "bin/oneportal-scripts.js"
20
+ "oneportal-scripts": "dist/bin/oneportal-scripts.js"
23
21
  },
24
22
  "author": "ShareNet Technology Solutions",
25
23
  "license": "MIT",
@@ -77,6 +75,7 @@
77
75
  ]
78
76
  },
79
77
  "devDependencies": {
78
+ "javascript-obfuscator": "^4.2.2",
80
79
  "webpack-cli": "^5.1.4"
81
80
  },
82
81
  "keywords": []
@@ -1,45 +0,0 @@
1
- #!/usr/bin/env node
2
- "use strict";
3
-
4
- process.on("unhandledRejection", (err) => {
5
- throw err;
6
- });
7
-
8
- const spawn = require("react-dev-utils/crossSpawn");
9
- const args = process.argv.slice(2);
10
-
11
- const scriptIndex = args.findIndex(
12
- (x) => x === "build" || x === "eject" || x === "start" || x === "test",
13
- );
14
- const script = scriptIndex === -1 ? args[0] : args[scriptIndex];
15
- const nodeArgs = scriptIndex > 0 ? args.slice(0, scriptIndex) : [];
16
-
17
- if (["build", "eject", "start", "test"].includes(script)) {
18
- const result = spawn.sync(
19
- process.execPath,
20
- nodeArgs
21
- .concat(require.resolve("../scripts/" + script))
22
- .concat(args.slice(scriptIndex + 1)),
23
- { stdio: "inherit" },
24
- );
25
- if (result.signal) {
26
- if (result.signal === "SIGKILL") {
27
- console.log(
28
- "The build failed because the process exited too early. " +
29
- "This probably means the system ran out of memory or someone called " +
30
- "`kill -9` on the process.",
31
- );
32
- } else if (result.signal === "SIGTERM") {
33
- console.log(
34
- "The build failed because the process exited too early. " +
35
- "Someone might have called `kill` or `killall`, or the system could " +
36
- "be shutting down.",
37
- );
38
- }
39
- process.exit(1);
40
- }
41
- process.exit(result.status);
42
- } else {
43
- console.log('Unknown script "' + script + '".');
44
- console.log("Perhaps you need to update react-scripts?");
45
- }
@@ -1,27 +0,0 @@
1
- const fs = require("node:fs");
2
- const path = require("node:path");
3
- const paths = require("./paths");
4
-
5
- const plugin = { name: "CreateFolderPlugin" };
6
-
7
- class CreateFolderPlugin {
8
- constructor(opts = {}) {
9
- this.folderPaths = opts.folderPaths;
10
- }
11
-
12
- apply(compiler) {
13
- compiler.hooks.emit.tap(plugin, () => {
14
- if (!fs.existsSync(paths.appBuild)) {
15
- fs.mkdirSync(paths.appBuild);
16
- }
17
- for (const folderPath of this.folderPaths) {
18
- const fullPath = path.join(paths.appBuild, folderPath);
19
- if (!fs.existsSync(fullPath)) {
20
- fs.mkdirSync(fullPath);
21
- }
22
- }
23
- });
24
- }
25
- }
26
-
27
- exports.CreateFolderPlugin = CreateFolderPlugin;
@@ -1,48 +0,0 @@
1
- const axios = require("axios");
2
- const tar = require("tar");
3
- const fs = require("node:fs");
4
- const path = require("node:path");
5
- const paths = require("./paths");
6
- const { promisify } = require("node:util");
7
- const { pipeline: streamPipeline } = require("node:stream");
8
-
9
- const pipeline = promisify(streamPipeline);
10
-
11
- class DownloadAndExtractPlugin {
12
- constructor(opts) {
13
- this.options = opts;
14
- }
15
-
16
- async downloadAndExtractLib(lib, destDir) {
17
- const { fontdoorUrl, oneenv } = this.options;
18
- const libPath = lib.lib ? lib.name : `apps/${lib.name}`;
19
- const url = `${fontdoorUrl}/${oneenv}/${libPath}/${lib.name}-ts.tgz?v=${Math.random()}`;
20
-
21
- try {
22
- const response = await axios({ method: "get", url, responseType: "stream", timeout: 30000 });
23
- await pipeline(response.data, tar.x({ C: destDir }));
24
- } catch (err) {
25
- console.warn(`Warning: Could not download type definitions for ${lib.name}: ${err.message}`);
26
- }
27
- }
28
-
29
- async processLibs(libs, destDir) {
30
- await Promise.all(libs.map((lib) => this.downloadAndExtractLib(lib, destDir)));
31
- }
32
-
33
- apply(compiler) {
34
- compiler.hooks.beforeRun.tapAsync(
35
- "DownloadAndExtractPlugin",
36
- async (compilation, callback) => {
37
- try {
38
- await this.processLibs(this.options.libs, paths.appPath);
39
- callback();
40
- } catch (err) {
41
- callback(err);
42
- }
43
- },
44
- );
45
- }
46
- }
47
-
48
- exports.DownloadAndExtractPlugin = DownloadAndExtractPlugin;
@@ -1,58 +0,0 @@
1
- function buildPublicPath(moduleName, publicPath, fontdoorUrl) {
2
- const localURL = localStorage.getItem(moduleName);
3
- if (
4
- localURL &&
5
- (!window["oneportalextension"] || window["oneportalextension"]["debug"])
6
- ) {
7
- return localURL + "/";
8
- }
9
- if (moduleName === "oneportalshellapp") {
10
- return "/";
11
- }
12
- if (publicPath !== "/") {
13
- return publicPath;
14
- }
15
- const temp = window["oneportalextension"];
16
- if (temp) {
17
- const oneenv = temp.env;
18
- const version = temp[moduleName];
19
- const subapps = version ? "" : "/apps";
20
- return fontdoorUrl + "/" + oneenv + subapps + "/" + moduleName + "/";
21
- }
22
- return "/";
23
- }
24
-
25
- class DynamicPublicPathPlugin {
26
- defaultPublicPath = "";
27
-
28
- constructor(opts = {}) {
29
- this.moduleName = opts.moduleName;
30
- this.publicPath = opts.publicPath;
31
- this.fontdoorUrl = opts.fontdoorUrl;
32
- this.port = opts.port;
33
- }
34
-
35
- apply(compiler) {
36
- compiler.hooks.make.tap("MutateRuntime", (compilation) => {
37
- compilation.hooks.runtimeModule.tap("MutateRuntime", (runtimeModule) => {
38
- if (runtimeModule.constructor.name !== "PublicPathRuntimeModule")
39
- return;
40
-
41
- const [prefix] = runtimeModule.getGeneratedCode().split("=");
42
- this.defaultPublicPath = compiler.options.output.publicPath;
43
-
44
- const args = [
45
- JSON.stringify(this.moduleName),
46
- JSON.stringify(this.publicPath),
47
- JSON.stringify(this.fontdoorUrl),
48
- ].join(", ");
49
-
50
- runtimeModule._cachedGeneratedCode = `${prefix} = (${buildPublicPath.toString()})(${args});`;
51
-
52
- return runtimeModule;
53
- });
54
- });
55
- }
56
- }
57
-
58
- exports.DynamicPublicPathPlugin = DynamicPublicPathPlugin;
package/config/env.js DELETED
@@ -1,67 +0,0 @@
1
- const fs = require("node:fs");
2
- const path = require("node:path");
3
- const paths = require("./paths");
4
- const dotenv = require("dotenv");
5
- const dotenvExpand = require("dotenv-expand");
6
-
7
- delete require.cache[require.resolve("./paths")];
8
-
9
- const NODE_ENV = process.env.NODE_ENV;
10
- if (!NODE_ENV) {
11
- throw new Error(
12
- "The NODE_ENV environment variable is required but was not specified.",
13
- );
14
- }
15
-
16
- const dotenvFiles = [
17
- `${paths.dotenv}.${NODE_ENV}.local`,
18
- NODE_ENV !== "test" && `${paths.dotenv}.local`,
19
- `${paths.dotenv}.${NODE_ENV}`,
20
- paths.dotenv,
21
- ].filter(Boolean);
22
-
23
- dotenvFiles.forEach((dotenvFile) => {
24
- if (fs.existsSync(dotenvFile)) {
25
- dotenvExpand.expand(dotenv.config({ path: dotenvFile }));
26
- }
27
- });
28
-
29
- const appDirectory = fs.realpathSync(process.cwd());
30
-
31
- process.env.NODE_PATH = (process.env.NODE_PATH || "")
32
- .split(path.delimiter)
33
- .filter((p) => p && !path.isAbsolute(p))
34
- .map((p) => path.resolve(appDirectory, p))
35
- .join(path.delimiter);
36
-
37
- const REACT_APP = /^REACT_APP_/i;
38
-
39
- function getClientEnvironment(publicUrl) {
40
- const raw = Object.keys(process.env)
41
- .filter((key) => REACT_APP.test(key))
42
- .reduce(
43
- (acc, key) => {
44
- acc[key] = process.env[key];
45
- return acc;
46
- },
47
- {
48
- NODE_ENV: process.env.NODE_ENV || "development",
49
- PUBLIC_URL: publicUrl,
50
- WDS_SOCKET_HOST: process.env.WDS_SOCKET_HOST,
51
- WDS_SOCKET_PATH: process.env.WDS_SOCKET_PATH,
52
- WDS_SOCKET_PORT: process.env.WDS_SOCKET_PORT,
53
- FAST_REFRESH: process.env.FAST_REFRESH !== "false",
54
- },
55
- );
56
-
57
- const stringified = {
58
- "process.env": Object.keys(raw).reduce((acc, key) => {
59
- acc[key] = JSON.stringify(raw[key]);
60
- return acc;
61
- }, {}),
62
- };
63
-
64
- return { raw, stringified };
65
- }
66
-
67
- module.exports = getClientEnvironment;
@@ -1,32 +0,0 @@
1
- let fs = require("node:fs"),
2
- path = require("node:path"),
3
- paths = require("./paths"),
4
- foldersToCheck = [
5
- {
6
- from: "extension.json",
7
- to: paths.appBuild,
8
- parentPath: paths.appPath,
9
- },
10
- {
11
- from: "src/i18n",
12
- to: paths.appBuild + "/i18n",
13
- parentPath: paths.appPath,
14
- },
15
- {
16
- from: "static",
17
- to: "" + paths.appBuild,
18
- parentPath: paths.appPath,
19
- },
20
- ];
21
-
22
- function getCopyPatterns() {
23
- return foldersToCheck
24
- .filter((folder) =>
25
- fs.existsSync(path.resolve(folder.parentPath, folder.from)),
26
- )
27
- .map((folder) => ({
28
- from: folder.from,
29
- to: folder.to,
30
- }));
31
- }
32
- module.exports = getCopyPatterns;
@@ -1,50 +0,0 @@
1
- const fs = require("node:fs");
2
- const path = require("node:path");
3
- const crypto = require("node:crypto");
4
- const chalk = require("react-dev-utils/chalk");
5
- const paths = require("./paths");
6
-
7
- function validateKeyAndCerts({ cert, key, keyFile, crtFile }) {
8
- let encrypted;
9
- try {
10
- encrypted = crypto.publicEncrypt(cert, Buffer.from("test"));
11
- } catch (err) {
12
- throw new Error(`The certificate "${chalk.yellow(crtFile)}" is invalid.\n${err.message}`);
13
- }
14
- try {
15
- crypto.privateDecrypt(key, encrypted);
16
- } catch (err) {
17
- throw new Error(`The certificate key "${chalk.yellow(keyFile)}" is invalid.\n${err.message}`);
18
- }
19
- }
20
-
21
- function readEnvFile(filePath, envVarName) {
22
- if (fs.existsSync(filePath)) {
23
- return fs.readFileSync(filePath);
24
- }
25
- throw new Error(
26
- `You specified ${chalk.cyan(envVarName)} in your env, but the file "${chalk.yellow(filePath)}" can't be found.`,
27
- );
28
- }
29
-
30
- function getHttpsConfig() {
31
- const { SSL_CRT_FILE, SSL_KEY_FILE, HTTPS } = process.env;
32
- const httpsEnabled = HTTPS === "true";
33
-
34
- let result = httpsEnabled;
35
-
36
- if (httpsEnabled && SSL_CRT_FILE && SSL_KEY_FILE) {
37
- const crtFile = path.resolve(paths.appPath, SSL_CRT_FILE);
38
- const keyFile = path.resolve(paths.appPath, SSL_KEY_FILE);
39
- const certConfig = {
40
- cert: readEnvFile(crtFile, "SSL_CRT_FILE"),
41
- key: readEnvFile(keyFile, "SSL_KEY_FILE"),
42
- };
43
- validateKeyAndCerts({ ...certConfig, keyFile, crtFile });
44
- result = certConfig;
45
- }
46
-
47
- return result;
48
- }
49
-
50
- module.exports = getHttpsConfig;
package/config/paths.js DELETED
@@ -1,68 +0,0 @@
1
- const path = require("node:path");
2
- const fs = require("node:fs");
3
- const getPublicUrlOrPath = require("react-dev-utils/getPublicUrlOrPath");
4
-
5
- const appDirectory = fs.realpathSync(process.cwd());
6
-
7
- const resolveApp = (relativePath) => path.resolve(appDirectory, relativePath);
8
-
9
- const publicUrlOrPath = getPublicUrlOrPath(
10
- process.env.NODE_ENV === "development",
11
- require(resolveApp("package.json")).homepage,
12
- process.env.PUBLIC_URL,
13
- );
14
-
15
- const buildPath = process.env.BUILD_PATH || "build";
16
-
17
- const moduleFileExtensions = [
18
- "web.mjs",
19
- "mjs",
20
- "web.js",
21
- "js",
22
- "web.ts",
23
- "ts",
24
- "web.tsx",
25
- "tsx",
26
- "json",
27
- "web.jsx",
28
- "jsx",
29
- ];
30
-
31
- const resolveModule = (resolveFn, filePath, useTypeScript = true) => {
32
- const ext = moduleFileExtensions.find((extension) =>
33
- fs.existsSync(resolveFn(`${filePath}.${extension}`)),
34
- );
35
- const fallbackExt = useTypeScript ? "ts" : "js";
36
- return resolveFn(ext ? `${filePath}.${ext}` : `${filePath}.${fallbackExt}`);
37
- };
38
-
39
- const resolveOwn = (relativePath) =>
40
- path.resolve(__dirname, "..", relativePath);
41
-
42
- module.exports = {
43
- dotenv: resolveApp(".env"),
44
- appPath: resolveApp("."),
45
- appBuild: resolveApp(buildPath),
46
- appPublic: resolveApp("public"),
47
- appHtml: resolveApp("public/index.html"),
48
- appIndexJs: resolveModule(resolveApp, "src/index"),
49
- extension: resolveApp("extension.json"),
50
- appPackageJson: resolveApp("package.json"),
51
- appSrc: resolveApp("src"),
52
- appTsConfig: resolveApp("tsconfig.json"),
53
- appJsConfig: resolveApp("jsconfig.json"),
54
- yarnLockFile: resolveApp("yarn.lock"),
55
- testsSetup: resolveModule(resolveApp, "src/setupTests"),
56
- proxySetup: resolveApp("src/setupProxy.js"),
57
- appNodeModules: resolveApp("node_modules"),
58
- appWebpackCache: resolveApp("node_modules/.cache"),
59
- appTsBuildInfoFile: resolveApp("node_modules/.cache/tsconfig.tsbuildinfo"),
60
- swSrc: resolveModule(resolveApp, "src/service-worker"),
61
- publicUrlOrPath,
62
- ownPath: resolveOwn("."),
63
- ownNodeModules: resolveOwn("node_modules"),
64
- appTypeDeclarations: resolveApp("src/react-app-env.d.ts"),
65
- ownTypeDeclarations: resolveOwn("lib/react-app.d.ts"),
66
- };
67
-
68
- module.exports.moduleFileExtensions = moduleFileExtensions;
@@ -1,304 +0,0 @@
1
- const path = require("node:path");
2
- const paths = require("./paths");
3
- const { CleanWebpackPlugin } = require("clean-webpack-plugin");
4
- const { BundleAnalyzerPlugin } = require("webpack-bundle-analyzer");
5
- const { ModuleFederationPlugin } = require("webpack").container;
6
- const { DefinePlugin, EnvironmentPlugin } = require("webpack");
7
- const { DynamicPublicPathPlugin } = require("./dynamicPublicPath");
8
- const { CreateFolderPlugin } = require("./createTypeFolder");
9
- const config = require(paths.extension);
10
- const { TuneDtsPlugin } = require("@efox/emp-tune-dts-plugin");
11
- const TarWebpackPlugin = require("tar-webpack-plugin").default;
12
- const CopyPlugin = require("copy-webpack-plugin");
13
- const HTMLWebpackPlugin = require("html-webpack-plugin");
14
- const { DownloadAndExtractPlugin } = require("./downloadAndExtract");
15
- const TerserPlugin = require("terser-webpack-plugin");
16
- const getCopyPatterns = require("./getCopyPatterns");
17
- const WorkboxPlugin = require("workbox-webpack-plugin");
18
- const LiveReloadPlugin = require("webpack-livereload-plugin");
19
-
20
- function isValidURL(url) {
21
- try {
22
- new URL(url);
23
- return true;
24
- } catch {
25
- return false;
26
- }
27
- }
28
-
29
- function dynamicRemote(env, appName, isApp) {
30
- const appPath = isApp ? `apps/${appName}` : appName;
31
- const frontDoor = env.ONEPORTAL_FRONT_DOOR;
32
-
33
- return `promise new Promise(function(resolve) {
34
- var scriptId = '${appName}-remoteEntry';
35
- var existingScript = document.getElementById(scriptId);
36
- function makeProxy() {
37
- return {
38
- get: function(request) { return window['${appName}'].get(request); },
39
- init: function(arg) {
40
- try { return window['${appName}'].init(arg); }
41
- catch(e) { console.warn('Remote container ${appName} failed to initialize.', e); }
42
- }
43
- };
44
- }
45
- if (existingScript) {
46
- resolve(makeProxy());
47
- } else {
48
- var script = document.createElement('script');
49
- script.id = scriptId;
50
- var localURL = localStorage.getItem('${appName}');
51
- if (localURL) {
52
- script.src = localURL + '/remoteEntry.js';
53
- } else {
54
- var ext = window['oneportalextension'] || {};
55
- var version = ext['${appName}'];
56
- var apps = ext['apps'] || [];
57
- var versionApp = apps.find(function(a) { return a.name === '${appName}'; });
58
- var oneenv = ext['env'];
59
- script.src = '${frontDoor}/' + oneenv + '/${appPath}/remoteEntry.js?v=' + (version !== undefined ? version : (versionApp ? versionApp.version : ''));
60
- }
61
- script.onload = function() { resolve(makeProxy()); };
62
- document.head.appendChild(script);
63
- }
64
- })`;
65
- }
66
-
67
- module.exports = function webpackConfig(mode) {
68
- const isDev = mode === "development";
69
- const isProd = mode === "production";
70
-
71
- const { libs, remotelibs, version, activeshared } = config;
72
- const envVars = config.environmentVariables || {};
73
- const downloadLibs = [];
74
-
75
- const defineEnvVars = Object.keys(envVars).reduce((acc, key) => {
76
- acc[key] = JSON.stringify(process.env[key] ?? envVars[key]);
77
- return acc;
78
- }, {});
79
-
80
- let sharedlib = config.sharedlib || {};
81
- if (activeshared) {
82
- sharedlib = {
83
- ...sharedlib,
84
- react: {
85
- singleton: true,
86
- requiredVersion: "18.3.1",
87
- eager: config.eager ?? false,
88
- },
89
- "react-dom": {
90
- singleton: true,
91
- requiredVersion: "18.3.1",
92
- eager: config.eager ?? false,
93
- },
94
- "react-router-dom": { singleton: true },
95
- "@fluentui/react-components": { singleton: true },
96
- "@fluentui/react": { singleton: true },
97
- "@fluentui/react-charting": { singleton: true },
98
- "@azure/msal-react": { singleton: true },
99
- "@azure/msal-browser": { singleton: true },
100
- };
101
- }
102
-
103
- const remotes = {};
104
-
105
- libs.forEach((libName) => {
106
- downloadLibs.push({ name: libName, lib: true });
107
- remotes[libName] = dynamicRemote(envVars, libName);
108
- });
109
-
110
- if (remotelibs) {
111
- remotelibs.forEach((remoteLib) => {
112
- if (isValidURL(remoteLib.appUrl)) {
113
- remotes[remoteLib.appName] = `${remoteLib.appName}@${remoteLib.appUrl}`;
114
- } else {
115
- downloadLibs.push({ name: remoteLib.appName, lib: false });
116
- remotes[remoteLib.appName] = dynamicRemote(
117
- envVars,
118
- remoteLib.appName,
119
- true,
120
- );
121
- }
122
- });
123
- }
124
-
125
- const entry = {};
126
- if (config.entryName) {
127
- entry[config.entryName] = paths.appIndexJs;
128
- } else {
129
- entry.main = paths.appIndexJs;
130
- }
131
-
132
- let webpackMode;
133
- if (isProd) webpackMode = "production";
134
- else if (isDev) webpackMode = "development";
135
-
136
- return {
137
- mode: webpackMode,
138
- output: {
139
- publicPath: config.publicPath || "/",
140
- path: paths.appBuild,
141
- filename:
142
- config.contenthash === false
143
- ? "[name].js"
144
- : "[name].[contenthash].bundle.js",
145
- chunkFilename:
146
- config.contenthash === false
147
- ? `[name].${version}.js`
148
- : `[name].[contenthash].${version}.bundle.js`,
149
- },
150
- target: "web",
151
- entry,
152
- optimization: {
153
- minimize: true,
154
- minimizer: [new TerserPlugin()],
155
- },
156
- resolve: {
157
- extensions: [".ts", ".tsx", ".js"],
158
- alias: {
159
- react: path.resolve("./node_modules/react"),
160
- },
161
- },
162
- module: {
163
- rules: [
164
- {
165
- test: /bootstrap\.tsx$/,
166
- loader: "bundle-loader",
167
- options: { lazy: true },
168
- },
169
- {
170
- test: /\.tsx?$/,
171
- loader: "babel-loader",
172
- exclude: /node_modules/,
173
- options: {
174
- presets: ["@babel/preset-react", "@babel/preset-typescript"],
175
- },
176
- },
177
- {
178
- test: /\.(ts)$/,
179
- use: "ts-loader",
180
- exclude: /node_modules/,
181
- },
182
- {
183
- enforce: "pre",
184
- test: /\.js$/,
185
- loader: "source-map-loader",
186
- },
187
- {
188
- test: /\.css$/,
189
- use: [
190
- { loader: "style-loader" },
191
- { loader: "css-loader", options: { url: false } },
192
- ],
193
- },
194
- {
195
- test: /\.(png|jpe?g|gif|svg)$/i,
196
- use: [{ loader: "file-loader" }],
197
- },
198
- {
199
- test: /\.scss$/,
200
- use: [
201
- { loader: "style-loader" },
202
- { loader: "css-modules-typescript-loader" },
203
- { loader: "css-loader", options: { modules: true } },
204
- { loader: "sass-loader" },
205
- ],
206
- },
207
- ],
208
- },
209
- plugins: [
210
- new ModuleFederationPlugin({
211
- name: config.name,
212
- filename: "remoteEntry.js",
213
- exposes: config.exposes,
214
- remotes,
215
- shared: { ...sharedlib },
216
- }),
217
- new DynamicPublicPathPlugin({
218
- publicPath: config.publicPath,
219
- moduleName: config.name,
220
- port: config.port,
221
- fontdoorUrl: envVars.ONEPORTAL_FRONT_DOOR,
222
- }),
223
- new WorkboxPlugin.GenerateSW({
224
- clientsClaim: true,
225
- skipWaiting: true,
226
- }),
227
- new DefinePlugin(defineEnvVars),
228
- new CreateFolderPlugin({ folderPaths: ["types", "i18n"] }),
229
- new HTMLWebpackPlugin({
230
- template: "./public/index.html",
231
- inject: "body",
232
- scriptLoading: "defer",
233
- minify: envVars.ONEPORTAL_ENV !== "dev",
234
- templateParameters: {
235
- livereload:
236
- envVars.ONEPORTAL_ENV === "dev"
237
- ? '<script src="http://localhost:35729/livereload.js"></script>'
238
- : "",
239
- },
240
- }),
241
- ...(config.htmlEntry ? [new HTMLWebpackPlugin(config.htmlEntry)] : []),
242
- new EnvironmentPlugin({ REDUX_LOGGING: false }),
243
- new CleanWebpackPlugin({ cleanOnceBeforeBuildPatterns: ["!*types*"] }),
244
- new CopyPlugin({ patterns: getCopyPatterns() }),
245
- new DownloadAndExtractPlugin({
246
- libs: downloadLibs,
247
- fontdoorUrl: envVars.ONEPORTAL_FRONT_DOOR,
248
- oneenv: envVars.ONEPORTAL_ENV,
249
- }),
250
- ...(isDev
251
- ? [
252
- new BundleAnalyzerPlugin({
253
- analyzerMode: "static",
254
- analyzerPort: 10000 + config.port,
255
- openAnalyzer: false,
256
- }),
257
- new LiveReloadPlugin({ appendScriptTag: true }),
258
- ]
259
- : [
260
- ...(config.enabledts
261
- ? [
262
- new BundleAnalyzerPlugin({
263
- analyzerMode: "static",
264
- analyzerPort: 10000 + config.port,
265
- openAnalyzer: false,
266
- }),
267
- new TuneDtsPlugin({
268
- output: path.join(
269
- paths.appBuild,
270
- `/types/${config.name}.d.ts`,
271
- ),
272
- path: paths.appBuild,
273
- name: `/types/${config.name}.d.ts`,
274
- isDefault: true,
275
- operation: () => {},
276
- }),
277
- new TarWebpackPlugin({
278
- action: "c",
279
- gzip: true,
280
- cwd: path.resolve(process.cwd(), paths.appBuild),
281
- file: path.resolve(
282
- process.cwd(),
283
- paths.appBuild,
284
- `${config.name}-ts.tgz`,
285
- ),
286
- fileList: ["types"],
287
- }),
288
- new TarWebpackPlugin({
289
- action: "c",
290
- gzip: true,
291
- cwd: path.resolve(process.cwd(), paths.appBuild),
292
- file: path.resolve(
293
- process.cwd(),
294
- paths.appBuild,
295
- `${config.name}.tgz`,
296
- ),
297
- fileList: ["."],
298
- }),
299
- ]
300
- : []),
301
- ]),
302
- ],
303
- };
304
- };
@@ -1,73 +0,0 @@
1
- const fs = require("node:fs");
2
- const evalSourceMapMiddleware = require("react-dev-utils/evalSourceMapMiddleware");
3
- const noopServiceWorkerMiddleware = require("react-dev-utils/noopServiceWorkerMiddleware");
4
- const ignoredFiles = require("react-dev-utils/ignoredFiles");
5
- const redirectServedPath = require("react-dev-utils/redirectServedPathMiddleware");
6
- const paths = require("./paths");
7
- const getHttpsConfig = require("./getHttpsConfig");
8
- const config = require(paths.extension);
9
-
10
- const host = process.env.HOST || "0.0.0.0";
11
- const sockHost = config.sockHost || "localhost";
12
- const sockPath = config.sockPath || "/ws";
13
- const sockPort = config.port || 13009;
14
-
15
- module.exports = function webpackDevServerConfig(proxyConfig, allowedHost) {
16
- const httpsConfig = getHttpsConfig();
17
- const serverOption = httpsConfig === false
18
- ? "http"
19
- : typeof httpsConfig === "object"
20
- ? { type: "https", options: httpsConfig }
21
- : "https";
22
-
23
- return {
24
- hot: true,
25
- allowedHosts:
26
- !proxyConfig || "true" === process.env.DANGEROUSLY_DISABLE_HOST_CHECK
27
- ? "all"
28
- : [allowedHost],
29
- headers: {
30
- "Access-Control-Allow-Origin": "*",
31
- "Access-Control-Allow-Methods": "*",
32
- "Access-Control-Allow-Headers": "*",
33
- },
34
- compress: true,
35
- static: {
36
- directory: paths.appPublic,
37
- publicPath: [paths.publicUrlOrPath],
38
- watch: {
39
- ignored: ignoredFiles(paths.appSrc),
40
- },
41
- },
42
- client: {
43
- webSocketURL: {
44
- hostname: sockHost,
45
- pathname: sockPath,
46
- port: sockPort,
47
- },
48
- overlay: {
49
- errors: true,
50
- warnings: false,
51
- },
52
- },
53
- devMiddleware: {
54
- publicPath: paths.publicUrlOrPath.slice(0, -1),
55
- },
56
- server: serverOption,
57
- host,
58
- historyApiFallback: {
59
- disableDotRule: true,
60
- index: paths.publicUrlOrPath,
61
- },
62
- proxy: proxyConfig,
63
- setupMiddlewares(middlewares, devServer) {
64
- middlewares.unshift(evalSourceMapMiddleware(devServer));
65
- if (fs.existsSync(paths.proxySetup)) {
66
- require(paths.proxySetup)(devServer.app);
67
- }
68
- middlewares.push(redirectServedPath(paths.publicUrlOrPath));
69
- middlewares.push(noopServiceWorkerMiddleware(paths.publicUrlOrPath));
70
- return middlewares;
71
- },
72
- };
73
- };
package/scripts/build.js DELETED
@@ -1,104 +0,0 @@
1
- const path = require("node:path");
2
- const webpack = require("webpack");
3
- const chalk = require("react-dev-utils/chalk");
4
- const configFactory = require("../config/webpack.config");
5
- const config = configFactory("production");
6
- const bfj = require("bfj");
7
- const paths = require("../config/paths");
8
- const formatWebpackMessages = require("react-dev-utils/formatWebpackMessages");
9
-
10
- const writeStatsJson = false;
11
-
12
- function build() {
13
- console.log("Creating an optimized production build....");
14
-
15
- const compiler = webpack(config);
16
-
17
- return new Promise((resolve, reject) => {
18
- compiler.run((err, stats) => {
19
- let messages;
20
-
21
- if (err) {
22
- if (!err.message) {
23
- return reject(err);
24
- }
25
-
26
- let errMsg = err.message;
27
-
28
- if (Object.prototype.hasOwnProperty.call(err, "postcssNode")) {
29
- errMsg +=
30
- "\nCompileError: Begins at CSS selector " +
31
- err.postcssNode.selector;
32
- }
33
-
34
- messages = formatWebpackMessages({
35
- errors: [errMsg],
36
- warnings: [],
37
- });
38
- } else {
39
- const statsJson = stats.toJson({
40
- all: false,
41
- warnings: true,
42
- errors: true,
43
- });
44
-
45
- messages = formatWebpackMessages(statsJson);
46
- }
47
-
48
- if (messages.errors?.length) {
49
- if (messages.errors.length > 1) {
50
- messages.errors.length = 1;
51
- }
52
- return reject(new Error(messages.errors.join("\n\n")));
53
- }
54
-
55
- if (
56
- process.env.CI &&
57
- typeof process.env.CI === "string" &&
58
- process.env.CI.toLowerCase() !== "false" &&
59
- messages.warnings?.length
60
- ) {
61
- const filteredWarnings = messages.warnings.filter(
62
- (warning) => !/Failed to parse source map/.test(warning),
63
- );
64
-
65
- if (filteredWarnings.length) {
66
- console.log(
67
- chalk.yellow(
68
- "\nTreating warnings as errors because process.env.CI = true.\nMost CI servers set it automatically.\n",
69
- ),
70
- );
71
- return reject(new Error(filteredWarnings.join("\n\n")));
72
- }
73
- }
74
-
75
- const result = {
76
- stats,
77
- warnings: messages ? messages.warnings : "",
78
- };
79
-
80
- if (writeStatsJson) {
81
- bfj
82
- .write(paths.appBuild + "/bundle-stats.json", stats.toJson())
83
- .then(() => resolve(result))
84
- .catch((error) => reject(new Error(error)));
85
- } else {
86
- resolve(result);
87
- }
88
- });
89
- });
90
- }
91
- build()
92
- .then(({ warnings }) => {
93
- if (warnings && warnings.length) {
94
- console.log(chalk.yellow("Compiled with warnings.\n"));
95
- console.log(warnings.join("\n\n"));
96
- } else {
97
- console.log(chalk.green("Compiled successfully.\n"));
98
- }
99
- })
100
- .catch((err) => {
101
- console.log(chalk.red("Failed to compile.\n"));
102
- console.log((err.message || err) + "\n");
103
- process.exit(1);
104
- });
package/scripts/start.js DELETED
@@ -1,144 +0,0 @@
1
- const fs = require("node:fs");
2
- const chalk = require("react-dev-utils/chalk");
3
- const webpack = require("webpack");
4
- const WebpackDevServer = require("webpack-dev-server");
5
- const clearConsole = require("react-dev-utils/clearConsole");
6
- const checkRequiredFiles = require("react-dev-utils/checkRequiredFiles");
7
- const {
8
- choosePort,
9
- createCompiler,
10
- prepareProxy,
11
- prepareUrls,
12
- } = require("react-dev-utils/WebpackDevServerUtils");
13
- const openBrowser = require("react-dev-utils/openBrowser");
14
- const semver = require("semver");
15
- const paths = require("../config/paths");
16
- const configFactory = require("../config/webpack.config");
17
- const createDevServerConfig = require("../config/webpackDevServer.config");
18
- const getClientEnvironment = require("../config/env");
19
-
20
- const react = require(require.resolve("react", {
21
- paths: [paths.appPath],
22
- }));
23
- const config = require(paths.extension);
24
- const env = getClientEnvironment(paths.publicUrlOrPath.slice(0, -1));
25
- const useYarn = fs.existsSync(paths.yarnLockFile);
26
- const isInteractive = process.stdout.isTTY;
27
-
28
- // Check required files and exit if missing
29
- if (!checkRequiredFiles([paths.appHtml, paths.appIndexJs])) {
30
- process.exit(1);
31
- }
32
-
33
- const DEFAULT_PORT = Number.parseInt(process.env.PORT, 10) || config.port;
34
- const HOST = process.env.HOST || "0.0.0.0";
35
-
36
- // Check browsers if HOST is set
37
- if (process.env.HOST) {
38
- console.log(
39
- chalk.cyan(
40
- "Attempting to bind to HOST environment variable: " +
41
- chalk.yellow(chalk.bold(process.env.HOST)),
42
- ),
43
- );
44
- console.log(
45
- "If this was unintentional, check that you haven't mistakenly set it in your shell.",
46
- );
47
- console.log(
48
- "Learn more here: " + chalk.yellow("https://cra.link/advanced-config"),
49
- );
50
- console.log();
51
- }
52
-
53
- const checkBrowsers = require("react-dev-utils/browsersHelper").checkBrowsers;
54
-
55
- if (config.publicPath) {
56
- checkBrowsers(paths.appPath, isInteractive)
57
- .then(() => choosePort(HOST, DEFAULT_PORT))
58
- .then((port) => {
59
- if (port !== null) {
60
- const webpackConfig = configFactory("development");
61
- const protocol = process.env.HTTPS === "true" ? "https" : "http";
62
- const appName = require(paths.appPackageJson).name;
63
- const useTypeScript = fs.existsSync(paths.appTsConfig);
64
-
65
- const urls = prepareUrls(
66
- protocol,
67
- HOST,
68
- port,
69
- paths.publicUrlOrPath.slice(0, -1),
70
- );
71
-
72
- const compiler = createCompiler({
73
- appName,
74
- config: webpackConfig,
75
- urls,
76
- useYarn,
77
- useTypeScript,
78
- webpack,
79
- });
80
-
81
- const proxy = require(paths.appPackageJson).proxy;
82
- const proxyConfig = prepareProxy(
83
- proxy,
84
- paths.appPublic,
85
- paths.publicUrlOrPath,
86
- );
87
-
88
- const devServerConfig = {
89
- ...createDevServerConfig(proxyConfig, urls.lanUrlForConfig),
90
- host: HOST,
91
- port,
92
- };
93
-
94
- const devServer = new WebpackDevServer(devServerConfig, compiler);
95
-
96
- devServer.startCallback(() => {
97
- if (isInteractive) {
98
- clearConsole();
99
- }
100
-
101
- if (env.raw.FAST_REFRESH && semver.lt(react.version, "16.10.0")) {
102
- console.log(
103
- chalk.yellow(
104
- "Fast Refresh requires React 16.10 or higher. You are using React " +
105
- react.version +
106
- ".",
107
- ),
108
- );
109
- }
110
-
111
- console.log(chalk.cyan("Starting the development server...\n"));
112
- openBrowser(urls.localUrlForBrowser);
113
- });
114
-
115
- ["SIGINT", "SIGTERM"].forEach((signal) => {
116
- process.on(signal, () => {
117
- devServer.close();
118
- process.exit();
119
- });
120
- });
121
-
122
- if (process.env.CI !== "true") {
123
- process.stdin.on("end", () => {
124
- devServer.close();
125
- process.exit();
126
- });
127
- }
128
- }
129
- })
130
- .catch((err) => {
131
- if (err && err.message) {
132
- console.error(err.message);
133
- console.error("Build failed but continuing the process...");
134
- }
135
- });
136
- } else {
137
- console.log(
138
- "Missing : " +
139
- chalk.red('"publicPath": "/"') +
140
- " in " +
141
- chalk.yellow("extension") +
142
- " file ",
143
- );
144
- }
File without changes