react-mtquery
Version:
FOR REACT HOOK QUERIES and HOOKS HELPER
1 lines • 47.2 kB
JavaScript
'use strict';var a0_0x5aabdb=this&&this['__createBinding']||(Object['create']?function(_0x2d4096,_0x4efcdc,_0x150c32,_0x79e01f){if(_0x79e01f===undefined)_0x79e01f=_0x150c32;var _0x504209=Object['getOwnPropertyDescriptor'](_0x4efcdc,_0x150c32);if(!_0x504209||('get'in _0x504209?!_0x4efcdc['__esModule']:_0x504209['writable']||_0x504209['configurable'])){const _0x5800b9={};_0x5800b9['enumerable']=!![],_0x5800b9['get']=function(){return _0x4efcdc[_0x150c32];},_0x504209=_0x5800b9;}Object['defineProperty'](_0x2d4096,_0x79e01f,_0x504209);}:function(_0x53ae2d,_0x21b354,_0x18ea64,_0x5d0e1){if(_0x5d0e1===undefined)_0x5d0e1=_0x18ea64;_0x53ae2d[_0x5d0e1]=_0x21b354[_0x18ea64];}),a0_0x159b8f=this&&this['__setModuleDefault']||(Object['create']?function(_0x2dcddc,_0x5e990e){const _0x2123f8={};_0x2123f8['enumerable']=!![],_0x2123f8['value']=_0x5e990e,Object['defineProperty'](_0x2dcddc,'default',_0x2123f8);}:function(_0x2968f9,_0x1edfe6){_0x2968f9['default']=_0x1edfe6;}),a0_0x12677a=this&&this['__importStar']||function(_0x468101){if(_0x468101&&_0x468101['__esModule'])return _0x468101;var _0x4b5432={};if(_0x468101!=null){for(var _0x1f86ed in _0x468101)if(_0x1f86ed!=='default'&&Object['prototype']['hasOwnProperty']['call'](_0x468101,_0x1f86ed))a0_0x5aabdb(_0x4b5432,_0x468101,_0x1f86ed);}return a0_0x159b8f(_0x4b5432,_0x468101),_0x4b5432;};const a0_0x563268={};a0_0x563268['value']=!![],Object['defineProperty'](exports,'__esModule',a0_0x563268),exports['safePromise']=exports['useFileUplader']=exports['upHelper']=exports['FileUplader']=exports['UPLOAD_STATUS']=exports['allSettled']=exports['useMSQuery']=exports['useMRQuery']=exports['useMQuery']=exports['useMSearch']=exports['useMRun']=exports['useQCalc']=exports['useMCalc']=exports['useMLayout']=exports['useMEffect']=exports['useQFS']=exports['useMFS']=exports['useMFSVar']=exports['useMTimeShift']=exports['useMVar']=exports['useQState']=exports['useMState']=exports['useMFu']=exports['useWaitFor']=exports['waitFor']=exports['intervalSequencer']=exports['batchSequencer']=exports['debounceSequencer']=exports['auditSequencer']=exports['flattenSequencer']=exports['MQUERY_STATUS']=void 0x0;const a0_0x36a8ea=a0_0x12677a(require('react'));var a0_0x13af58;(function(_0x348a25){_0x348a25[_0x348a25['LOADING']=0x1]='LOADING',_0x348a25[_0x348a25['LOADED']=0x2]='LOADED',_0x348a25[_0x348a25['ERROR']=0x3]='ERROR';}(a0_0x13af58||(exports['MQUERY_STATUS']=a0_0x13af58={})));function a0_0x3ca52a(){return'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'['replace'](/[xy]/g,_0x2cc84f=>{var _0x4c1299=Math['random']()*0x10|0x0,_0x1e46fc=_0x2cc84f=='x'?_0x4c1299:_0x4c1299&0x3|0x8;return _0x1e46fc['toString'](0x10);});}function a0_0x9b800e(_0x58f99c){return()=>a0_0x4a305b['config']('flatten',_0x58f99c);}exports['flattenSequencer']=a0_0x9b800e;function a0_0x4616dc(_0x274c61){return()=>a0_0x4a305b['config']('audit',_0x274c61);}exports['auditSequencer']=a0_0x4616dc;function a0_0xc3fa74(_0x111cac){return()=>a0_0x4a305b['config']('debounce',_0x111cac);}exports['debounceSequencer']=a0_0xc3fa74;function a0_0x515287(_0x599e74){return()=>a0_0x4a305b['config']('batch',_0x599e74);}exports['batchSequencer']=a0_0x515287;function a0_0x388645(_0x4caf7c){return()=>a0_0x4a305b['config']('interval',_0x4caf7c);}exports['intervalSequencer']=a0_0x388645;class a0_0x4a305b{static['config'](_0x4e777e,_0x1ffef7){const _0x53c13a={};return _0x53c13a['duration']=_0x1ffef7,_0x53c13a['type']=_0x4e777e,_0x53c13a;}static['new'](){return new a0_0x4a305b();}}function a0_0x8552db(_0x50c8a2){let _0x2138f4;function _0x2ff73e(_0x18f732=_0x50c8a2||0xbb8){return new Promise(_0x482659=>{try{_0x2138f4=setTimeout(()=>{_0x482659(!![]);},Number(_0x18f732));}catch(_0x496bda){_0x482659(![]);}});}function _0x5528c9(){clearTimeout(_0x2138f4);}const _0xfa20ba={};return _0xfa20ba['wait']=_0x2ff73e,_0xfa20ba['kill']=_0x5528c9,_0xfa20ba;}function a0_0x3230eb(_0x279184){return a0_0x8552db(_0x279184);}exports['waitFor']=a0_0x3230eb;function a0_0x2dea0e(_0x3c528f){const _0x3a7a1f=a0_0x36a8ea['useRef'](undefined);return a0_0x36a8ea['useMemo'](()=>{_0x3a7a1f['current']?.['kill'](),_0x3a7a1f['current']=a0_0x3230eb(_0x3c528f);},[]),_0x3a7a1f['current'];}const a0_0x44356e=_0x343159=>{return a0_0x2dea0e(_0x343159);};exports['useWaitFor']=a0_0x44356e;function a0_0x1ba2da(){const [_0x5d40f5,_0x1e05d6]=a0_0x36a8ea['useState'](),_0x309963=a0_0x36a8ea['useRef'](undefined);function _0x159b92(){!_0x309963['current']&&(_0x309963['current']=setTimeout(()=>{_0x309963['current']=null,_0x1e05d6(new Date()['getTime']());},0xfa));}return a0_0x36a8ea['useEffect'](()=>{return()=>{clearTimeout(_0x309963['current']);};},[]),{'time':_0x5d40f5,'update':()=>_0x159b92()};}function a0_0x295797(){return a0_0x1ba2da();}exports['useMFu']=a0_0x295797;class a0_0x4f5c1e{['_updateTime'];['_state'];set['state'](_0x3e62a3){this['_state']=_0x3e62a3,this['_updateTime']=new Date()['getTime']();}get['state'](){return this['_state'];}get['updateTime'](){return this['_updateTime'];}}Object['freeze'](a0_0x4f5c1e);class a0_0x544722{static['new'](_0x4f7aaa){const _0x5c72d7=new a0_0x4f5c1e();return _0x5c72d7['state']=_0x4f7aaa,_0x5c72d7;}}function a0_0x130fea(_0x63513d){const _0x593fc3=a0_0x36a8ea['useState'](new Date()['getTime']()),_0x41014c=a0_0x36a8ea['useRef'](_0x63513d),_0x515b6d=a0_0x36a8ea['useRef'](new Date()['getTime']()),_0x34cd20=a0_0x36a8ea['useRef'](Object['defineProperties']({'value':_0x63513d,'time':new Date()['getTime'](),'setValue':function(_0x358d0e){try{let _0xb48325;typeof _0x358d0e=='function'?_0xb48325=_0x358d0e(_0x41014c['current']):_0xb48325=_0x358d0e,_0x41014c['current']=_0xb48325;}catch(_0x52f07c){console['error']('UNKNOWN');}_0x515b6d['current']=new Date()['getTime'](),_0x593fc3[0x1](_0x515b6d['current']);},'reset':function(){_0x41014c['current']=_0x63513d,_0x515b6d['current']=new Date()['getTime'](),_0x593fc3[0x1](_0x515b6d['current']);}},{'value':{'enumerable':![],'configurable':![],'get':function(){return _0x41014c['current'];},'set':function(){console['log']('IMMUTABLE');}},'time':{'enumerable':![],'configurable':![],'get':function(){return _0x515b6d['current'];},'set':function(){console['log']('IMMUTABLE');}}}));return _0x34cd20['current'];}function a0_0xf27c8f(_0x538a60){return a0_0x130fea(_0x538a60);}exports['useMState']=a0_0xf27c8f;class a0_0x5e4b7e{['_state'];set['state'](_0x2ad665){this['_state']=_0x2ad665;}get['state'](){return this['_state'];}}Object['freeze'](a0_0x5e4b7e);class a0_0x22e038{static['new'](_0x5ceee9){const _0x29830d=new a0_0x5e4b7e();return _0x29830d['state']=_0x5ceee9,_0x29830d;}}function a0_0x1957a9(_0x25970b,_0x70afbf){const [_0x38c7d1,_0x17e35a]=a0_0x36a8ea['useState'](new Date()['getTime']()),_0x5ca4f8=a0_0x36a8ea['useRef'](_0x25970b),_0x5bea16=a0_0x36a8ea['useRef'](new Date()['getTime']()),_0x33ec78=a0_0x36a8ea['useRef'](undefined),_0x1a6d13=a0_0x36a8ea['useRef'](()=>{_0x33ec78['current']&&window&&(clearTimeout(_0x33ec78['current']),_0x33ec78['current']=null);}),_0x2e8e13=a0_0x36a8ea['useRef'](()=>{!_0x33ec78['current']&&window&&(_0x33ec78['current']=setTimeout(()=>{a0_0x36a8ea['startTransition'](()=>{_0x17e35a(new Date()['getTime']()),_0x1a6d13['current']();});},_0x70afbf>0x0?_0x70afbf:0x7d0));}),_0x7ecdf7=a0_0x36a8ea['useRef'](Object['defineProperties']({'value':_0x25970b,'time':new Date()['getTime'](),'setValue':function(_0x4c9753){try{let _0x225fd5;typeof _0x4c9753=='function'?_0x225fd5=_0x4c9753(_0x5ca4f8['current']):_0x225fd5=_0x4c9753,_0x5ca4f8['current']=_0x225fd5;}catch(_0x2ae2a8){console['error']('UNKNOWN');}_0x5bea16['current']=new Date()['getTime'](),_0x2e8e13['current']();},'reset':function(){_0x5ca4f8['current']=_0x25970b,_0x5bea16['current']=new Date()['getTime'](),_0x2e8e13['current']();}},{'value':{'enumerable':![],'configurable':![],'get':function(){return _0x5ca4f8['current'];},'set':function(){console['log']('IMMUTABLE');}},'time':{'enumerable':![],'configurable':![],'get':function(){return _0x5bea16['current'];},'set':function(){console['log']('IMMUTABLE');}}}));return a0_0x36a8ea['useEffect'](()=>{return()=>_0x1a6d13['current']();},[]),_0x7ecdf7['current'];}function a0_0x557e52(_0x50a407,_0x158672){return a0_0x1957a9(_0x50a407);}exports['useQState']=a0_0x557e52;function a0_0x4be7b5(_0x18b9e3){const _0x1569bd=a0_0x36a8ea['useRef'](_0x18b9e3),_0x393053=a0_0x36a8ea['useRef'](Object['defineProperty']({'value':_0x18b9e3,'setValue':function(_0x3549ea){try{let _0x173cab;typeof _0x3549ea=='function'?_0x173cab=_0x3549ea(_0x1569bd['current']):_0x173cab=_0x3549ea,_0x1569bd['current']=_0x173cab;}catch(_0x317f78){console['error']('UNKNOWN');}}},'value',{'enumerable':![],'configurable':![],'get':function(){return _0x1569bd['current'];},'set':function(_0x3085bb){console['log']('IMMUTABLE');}}));return _0x393053['current'];}function a0_0x5c2b12(_0x124b78){return a0_0x4be7b5(_0x124b78);}exports['useMVar']=a0_0x5c2b12;var a0_0x262d8a;(function(_0xc225f8){_0xc225f8['RUNNING']='RUNNING',_0xc225f8['PENDING']='PENDING',_0xc225f8['COMPLETED']='COMPLETED',_0xc225f8['STOPPED']='STOPPED';}(a0_0x262d8a||(a0_0x262d8a={})));var a0_0x2ebd9b;(function(_0x475678){_0x475678['UP']='up',_0x475678['DOWN']='down';}(a0_0x2ebd9b||(a0_0x2ebd9b={})));const a0_0x3f5e1f=()=>{const _0x28cb51=a0_0x36a8ea['useRef'](undefined),_0x35d06d=a0_0x36a8ea['useRef'](0x0),_0x338a02=a0_0x36a8ea['useRef'](a0_0x2ebd9b['DOWN']),_0x237614=a0_0x36a8ea['useRef'](0x0),_0x1bccb9=a0_0x36a8ea['useRef'](a0_0x262d8a['STOPPED']),_0x32b13e=a0_0x36a8ea['useRef']({}),_0x2078f2=a0_0x36a8ea['useRef']({}),_0x115e57=a0_0x36a8ea['useRef'](0x0),_0x523f39=a0_0x36a8ea['useState'](undefined);function _0x196830(){a0_0x36a8ea['startTransition'](()=>{_0x523f39[0x1](new Date()['getTime']());});}function _0x57ace0(){const _0x265d1d={};return _0x265d1d['stopped']=_0x1bccb9['current']===a0_0x262d8a['STOPPED'],_0x265d1d['pending']=_0x1bccb9['current']===a0_0x262d8a['PENDING'],_0x265d1d['running']=_0x1bccb9['current']===a0_0x262d8a['RUNNING'],_0x265d1d['completed']=_0x1bccb9['current']===a0_0x262d8a['COMPLETED'],_0x265d1d;}function _0x24e123(){Object['keys'](_0x32b13e['current'])['forEach'](_0xa6d5e7=>{try{_0x32b13e['current'][_0xa6d5e7](_0x57ace0());}catch(_0x2fe9c1){}});}function _0x18d693(){Object['keys'](_0x2078f2['current'])['forEach'](_0x392423=>{try{_0x2078f2['current'][_0x392423](_0x237614['current']*0x3e8);}catch(_0x4b882d){}});}function _0x5225e6(_0xb44a09){_0x1bccb9['current']=_0xb44a09,_0x24e123();}function _0x4db7e4(){window&&clearTimeout(_0x28cb51['current']),_0x28cb51['current']=null;}function _0x5cf8f6(_0x300d7e,_0x2e7159){if(_0x28cb51['current']){_0x24e123(),_0x196830();return;}const _0x171086=_0x2e7159==='up',_0x4a2a8a=_0x57ace0();(_0x4a2a8a['stopped']||_0x4a2a8a['completed'])&&(_0x171086?_0x237614['current']=0x0:_0x237614['current']=_0x300d7e,_0x5225e6(a0_0x262d8a['RUNNING']),_0x196830(),_0x18d693());if(_0x171086?_0x237614['current']>=_0x300d7e:_0x237614['current']<=0x0){_0x171086?_0x237614['current']=_0x300d7e:_0x237614['current']=0x0;_0x5225e6(a0_0x262d8a['COMPLETED']),_0x196830(),_0x18d693(),_0x4db7e4();return;}!_0x4a2a8a['running']&&_0x5225e6(a0_0x262d8a['RUNNING']),_0x28cb51['current']=setTimeout(()=>{_0x171086?_0x237614['current']=_0x237614['current']+0x1:_0x237614['current']=_0x237614['current']-0x1,_0x4db7e4(),_0x18d693(),_0x196830(),_0x5cf8f6(_0x300d7e,_0x2e7159);},0x3e8);}function _0x59d521(_0x485aa0){_0x5225e6(_0x485aa0),_0x4db7e4(),_0x196830();}function _0x476316(_0x3f275a){const _0x5c9bcb=a0_0x3ca52a();return _0x32b13e['current'][_0x5c9bcb]=_0x3f275a,()=>{delete _0x32b13e['current'][_0x5c9bcb];};}function _0x404693(_0x195132){const _0x47add2=a0_0x3ca52a();return _0x2078f2['current'][_0x47add2]=_0x195132,()=>{delete _0x2078f2['current'][_0x47add2];};}function _0x40507d(_0x3db30a,_0x1ce32d='down'){_0x35d06d['current']=Number(_0x3db30a),_0x338a02['current']=_0x1ce32d,_0x5cf8f6(_0x35d06d['current'],_0x338a02['current']);}function _0x1bc56a(){_0x59d521(a0_0x262d8a['STOPPED']);}function _0x3e0d71(){_0x59d521(a0_0x262d8a['PENDING']);}function _0x4e5dbe(){_0x5cf8f6(_0x35d06d['current'],_0x338a02['current']);}function _0x25411a(_0x35dfa2){return _0x476316(_0x35dfa2);}function _0x13becd(_0x5045e7){return _0x404693(_0x5045e7);}const _0x688dee=a0_0x36a8ea['useCallback'](()=>{if(_0x57ace0()['pending']&&_0x115e57['current']){const _0x57c182=Math['floor']((new Date()['getTime']()-_0x115e57['current'])/0x3e8);_0x338a02['current']===a0_0x2ebd9b['DOWN']?_0x237614['current']-=_0x57c182:_0x237614['current']+=_0x57c182,_0x4e5dbe();}_0x115e57['current']=null;},[]),_0x37c0dd=a0_0x36a8ea['useCallback'](()=>{_0x57ace0()['running']&&(_0x115e57['current']=new Date()['getTime'](),_0x59d521(a0_0x262d8a['PENDING']));},[]);a0_0x36a8ea['useEffect'](()=>{const _0x4f7537=window;return _0x4f7537?.['removeEventListener']('focus',_0x688dee),_0x4f7537?.['removeEventListener']('blur',_0x37c0dd),_0x4f7537?.['addEventListener']('focus',_0x688dee),_0x4f7537?.['addEventListener']('blur',_0x37c0dd),()=>{_0x5225e6(a0_0x262d8a['STOPPED']),window&&clearTimeout(_0x28cb51['current']),_0x4f7537?.['removeEventListener']('focus',_0x688dee),_0x4f7537?.['removeEventListener']('blur',_0x37c0dd);};},[]);const _0x2fc224=_0x57ace0();return{'timems':_0x237614['current']*0x3e8,'timesec':_0x237614['current'],'timemin':Number((_0x237614['current']/0x3c)['toFixed'](0x2)),'pending':_0x2fc224['pending'],'running':_0x2fc224['running'],'completed':_0x2fc224['completed'],'stopped':_0x2fc224['stopped'],'start':(_0x4f52d4,_0x53d950)=>_0x40507d(_0x4f52d4,_0x53d950),'stop':()=>_0x1bc56a(),'pause':()=>_0x3e0d71(),'play':()=>_0x4e5dbe(),'addStatusListener':_0xfcd903=>_0x25411a(_0xfcd903),'addTimeListener':_0x1b506c=>_0x13becd(_0x1b506c)};},a0_0x364536=()=>{return a0_0x3f5e1f();};exports['useMTimeShift']=a0_0x364536;function a0_0x299060(_0x3e2a01,_0x3bd382=null){try{return _0x3e2a01()||null;}catch(_0x28f0a9){return _0x3bd382;}}function a0_0x556fef(_0x5e194e,_0x588587){const _0x2c88e2=_0x588587['split']('.');let _0x5d06f2=_0x5e194e;for(let _0x18c08e of _0x2c88e2){if(_0x5d06f2[_0x18c08e]===undefined)return undefined;_0x5d06f2=_0x5d06f2[_0x18c08e];}return _0x5d06f2;}function a0_0x425943(_0xc96c56){const _0x2321dc=a0_0x36a8ea['useRef'](undefined),_0x2a24c8=a0_0x36a8ea['useRef'](a0_0x299060(()=>Object['keys'](_0xc96c56)?_0xc96c56:{},{})),_0xe3ef25=a0_0x36a8ea['useRef'](a0_0x299060(()=>Object['values'](_0xc96c56||{}),[]));function _0x281dab(){_0xe3ef25['current']=Object['values'](_0x2a24c8['current']),_0x2321dc['current']=new Date()['getTime']();}function _0x3e86bf(_0x3163ff,_0x4c21d3){return a0_0x299060(()=>{let _0x6c3e67;return typeof _0x4c21d3=='function'?_0x6c3e67=_0x4c21d3(_0x2a24c8['current'][_0x3163ff]):_0x6c3e67=_0x4c21d3,_0x2a24c8['current'][String(_0x3163ff)]=_0x6c3e67,_0x281dab(),!![];},![]);}function _0x55953a(_0x1a9c63,_0x342508){return _0x3e86bf(_0x1a9c63,_0x342508);}function _0x3c57e4(_0x523822){return a0_0x299060(()=>{return _0x2a24c8['current'][String(_0x523822)];},null);}function _0x39111a(_0x5b3a9b){return _0x3c57e4(_0x5b3a9b);}function _0xce3736(_0x37a813){return a0_0x299060(()=>{return delete _0x2a24c8['current'][String(_0x37a813)],_0x281dab(),!![];},![]);}function _0x533931(_0x1de521){return _0xce3736(_0x1de521);}function _0x564d2f(){return a0_0x299060(()=>{return _0x2a24c8['current']={},_0x281dab(),!![];},![]);}function _0x138a32(){return _0x564d2f();}function _0x32653f(){return a0_0x299060(()=>{return _0xe3ef25['current']['length'];},0x0);}function _0x3ae5b3(){return _0x32653f();}function _0x21f914(){return a0_0x299060(()=>{return Object['keys'](_0x2a24c8['current']);},[]);}function _0x4bb663(){return _0x21f914();}function _0x4ed705(){return a0_0x299060(()=>{return _0xe3ef25['current'];},[]);}function _0x2ffd52(){return _0x4ed705();}function _0x1585cc(_0x287397){return a0_0x299060(()=>{return Boolean(_0x2a24c8['current'][_0x287397]);},![]);}function _0x342b0d(_0x13ccc0){return _0x1585cc(_0x13ccc0);}function _0x50068e(_0x2b5c46){return a0_0x299060(()=>{const _0x5061b6=_0xe3ef25['current']['find'](_0x145550=>{return JSON['stringify'](_0x145550)===JSON['stringify'](_0x2b5c46)&&typeof _0x145550===typeof _0x2b5c46;});return Boolean(_0x5061b6);},![]);}function _0x4624d9(_0x5d96c3){return _0x50068e(_0x5d96c3);}function _0x19d49b(_0x40d7f4){return a0_0x299060(()=>{const _0x1a54c3=Object['entries'](_0x2a24c8['current'])['find'](([_0x92ae21,_0x15bc81])=>{return JSON['stringify'](_0x15bc81)===JSON['stringify'](_0x40d7f4)&&typeof _0x15bc81===typeof _0x40d7f4;});return _0x1a54c3[0x0];},null);}function _0x1734d8(_0x5e9317){return _0x19d49b(_0x5e9317);}function _0x1dd9f3(_0xbeecf1,_0x5a9318,_0x5bae28){a0_0x299060(()=>{const _0x36b8d8=typeof _0x5a9318==='string',_0x974053=Boolean(_0x5bae28)||typeof _0x5bae28==='function';_0x2a24c8['current']={},_0x36b8d8?_0xbeecf1['forEach']((_0x54ab36,_0x526328)=>{_0x2a24c8['current'][a0_0x556fef(_0x54ab36,_0x5a9318)]=_0x974053?_0x5bae28(_0x54ab36,_0x526328):_0x54ab36;}):_0xbeecf1['forEach']((_0x32686f,_0x2cdb06)=>{_0x2a24c8['current'][_0x5a9318(_0x32686f,_0x2cdb06)]=_0x974053?_0x5bae28(_0x32686f,_0x2cdb06):_0x32686f;});},null),_0x281dab();}function _0x12d86a(_0x2603ca,_0x2863ca,_0x5c7291){_0x1dd9f3(_0x2603ca,_0x2863ca,_0x5c7291);}return a0_0x36a8ea['useEffect'](()=>{_0x281dab();},[]),Object['freeze']({'time':_0x2321dc['current'],'items':_0xe3ef25['current'],'put':(_0x4c0485,_0x3108a9)=>_0x55953a(_0x4c0485,_0x3108a9),'get':_0x5e0714=>_0x39111a(_0x5e0714),'rm':_0x3767f8=>_0x533931(_0x3767f8),'clr':()=>_0x138a32(),'size':()=>_0x3ae5b3(),'keys':()=>_0x4bb663(),'values':()=>_0x2ffd52(),'exist':_0x2dc2c0=>_0x342b0d(_0x2dc2c0),'item':_0x163bd0=>_0x4624d9(_0x163bd0),'key':_0x345f3f=>_0x1734d8(_0x345f3f),'fromArr':(_0x2c8f3a,_0x47725d,_0x8e08f)=>_0x12d86a(_0x2c8f3a,_0x47725d,_0x8e08f)});}function a0_0x50bd1d(_0x39cde9){return a0_0x425943(_0x39cde9);}exports['useMFSVar']=a0_0x50bd1d;function a0_0x150b95(_0x358741){const [_0x38360c,_0x4d3a0d]=a0_0x36a8ea['useState'](),_0x50d70b=a0_0x36a8ea['useRef'](undefined);function _0x2be091(){_0x50d70b['current']&&window&&(clearTimeout(_0x50d70b['current']),_0x50d70b['current']=null);}function _0x5a5e72(){!_0x50d70b['current']&&window&&(_0x50d70b['current']=setTimeout(()=>{a0_0x36a8ea['startTransition'](()=>{_0x4d3a0d(new Date()['getTime']()),_0x2be091();});},Number(_0x358741)>=0x0?_0x358741:0x7d0));}return a0_0x36a8ea['useEffect'](()=>{return()=>{_0x2be091();};},[]),{'update':()=>_0x5a5e72()};}function a0_0x142b7b(_0x46709e,_0x386e3f){const _0x1bc748=a0_0x150b95(_0x46709e),_0x4a0900=a0_0x50bd1d(_0x386e3f);function _0x48ffa7(_0xd85c3e,_0x367b3c){return a0_0x299060(()=>{return _0x4a0900['put'](_0xd85c3e,_0x367b3c),_0x1bc748['update'](),!![];},![]);}function _0x455dad(_0x4641e3,_0x111c4d){return _0x48ffa7(_0x4641e3,_0x111c4d);}function _0x11fedd(_0x2f2d53){return a0_0x299060(()=>{return _0x4a0900['get'](_0x2f2d53);},null);}function _0x395864(_0x31328c){return _0x11fedd(_0x31328c);}function _0x110ae6(_0x41db11){return a0_0x299060(()=>{return _0x4a0900['rm'](_0x41db11),_0x1bc748['update'](),!![];},![]);}function _0x35936a(_0x1f2886){return _0x110ae6(_0x1f2886);}function _0x23129d(){return a0_0x299060(()=>{return _0x4a0900['clr'](),_0x1bc748['update'](),!![];},![]);}function _0x892aa7(){return _0x23129d();}function _0x36df79(){return a0_0x299060(()=>{return _0x4a0900['size']();},0x0);}function _0x571e97(){return _0x36df79();}function _0x47a244(){return a0_0x299060(()=>{return _0x4a0900['keys']();},[]);}function _0x440a1c(){return _0x47a244();}function _0x389486(){return a0_0x299060(()=>{return _0xa18ea6();},[]);}function _0xa18ea6(){return _0x389486();}function _0x159729(_0x11a014){return a0_0x299060(()=>{return _0x4a0900['exist'](_0x11a014);},![]);}function _0x464fcb(_0x557406){return _0x159729(_0x557406);}function _0x14fe20(_0x168221){return a0_0x299060(()=>{return _0x4a0900['item'](_0x168221);},![]);}function _0x558be1(_0x322c64){return _0x14fe20(_0x322c64);}function _0x27fc23(_0x232909){return a0_0x299060(()=>{return _0x4a0900['key'](_0x232909);},null);}function _0x11c03c(_0x5122d8){return _0x27fc23(_0x5122d8);}function _0x53331b(_0x560905,_0x53914f,_0x37fed4){return a0_0x299060(()=>{return _0x4a0900['fromArr'](_0x560905,_0x53914f,_0x37fed4);},null);}function _0xbde2f1(_0x3b7d8c,_0x2bc2f8,_0x5bce2a){return _0x53331b(_0x3b7d8c,_0x2bc2f8,_0x5bce2a);}return Object['freeze']({'time':_0x4a0900['time'],'items':_0x4a0900['items'],'put':(_0x2d8b08,_0x468199)=>_0x455dad(_0x2d8b08,_0x468199),'get':_0x33f0b4=>_0x395864(_0x33f0b4),'rm':_0x152c76=>_0x35936a(_0x152c76),'clr':()=>_0x892aa7(),'size':()=>_0x571e97(),'keys':()=>_0x440a1c(),'values':()=>_0xa18ea6(),'exist':_0x10ea27=>_0x464fcb(_0x10ea27),'item':_0xde90c8=>_0x558be1(_0xde90c8),'key':_0x53356b=>_0x11c03c(_0x53356b),'fromArr':(_0x1e56b9,_0x542761,_0x30c8c1)=>_0xbde2f1(_0x1e56b9,_0x542761,_0x30c8c1)});}function a0_0x320bc7(_0x5581ab){return a0_0x142b7b(0x0,_0x5581ab);}function a0_0x4520a1(_0x3d7d30){return a0_0x320bc7(_0x3d7d30);}exports['useMFS']=a0_0x4520a1;function a0_0x5572be(_0x5bdba2){return a0_0x142b7b(0x2ef,_0x5bdba2);}function a0_0xf0d265(_0x2783ee){return a0_0x5572be(_0x2783ee);}exports['useQFS']=a0_0xf0d265;function a0_0x1065f(_0x1e373a,_0x50cb3d){a0_0x36a8ea['useEffect'](()=>{try{_0x50cb3d();}catch(_0x21aa72){console['warn']('INVALID_CB',_0x21aa72);}},[JSON['stringify'](_0x1e373a)]);}function a0_0x26bca6(_0x5eab57,_0x30b7f1){return a0_0x1065f(_0x5eab57,_0x30b7f1);}exports['useMEffect']=a0_0x26bca6;function a0_0x751cad(_0x355a16,_0x2c525d){a0_0x36a8ea['useLayoutEffect'](()=>{try{_0x2c525d();}catch(_0xdf77d1){console['warn']('INVALID_CB',_0xdf77d1);}},[JSON['stringify'](_0x355a16)]);}function a0_0x17ddff(_0x52754f,_0x515f3d){return a0_0x751cad(_0x52754f,_0x515f3d);}exports['useMLayout']=a0_0x17ddff;function a0_0x5ba0dc(_0x184a7a,_0xa4c438){return a0_0x36a8ea['useMemo'](()=>{try{return _0xa4c438();}catch(_0x2e9983){return console['warn']('INVALID_CB',_0x2e9983),null;}},[JSON['stringify'](_0x184a7a)]);}function a0_0x45e912(_0x1c026a,_0x2d9bd6){return a0_0x5ba0dc(_0x1c026a,_0x2d9bd6);}exports['useMCalc']=a0_0x45e912;function a0_0x3b9b1c(_0x1674f1,_0x5e8a7f,_0x68fe04){const [_0x349aec,_0xb46b85]=a0_0x36a8ea['useState'](new Date()['getTime']()),_0x392cb6=a0_0x36a8ea['useRef'](undefined),_0x4867df=a0_0x36a8ea['useRef'](undefined),_0x31e09a=a0_0x36a8ea['useRef'](null),_0x3747eb=a0_0x36a8ea['useRef'](![]),_0x5146de=a0_0x36a8ea['useCallback'](()=>{_0x4867df['current']&&(clearTimeout(_0x4867df['current']),_0x4867df['current']=null);},[]),_0x3b6f3b=a0_0x36a8ea['useRef'](Object['defineProperties']({'run':function(){try{_0x31e09a['current']=_0x392cb6['current']();}catch(_0x57282c){console['warn']('INVALID_CB',_0x57282c);}},'setRunner':function(){!_0x4867df['current']&&(_0x4867df['current']=setTimeout(()=>{_0x5146de(),this['run'](),_0xb46b85(new Date()['getTime']());},_0x68fe04>0x0?_0x68fe04:0x6d9));}},{}));return _0x3747eb['current']=a0_0x36a8ea['useMemo'](()=>{return _0x392cb6['current']=()=>_0x5e8a7f(),_0x3b6f3b['current']['run'](),!![];},[]),a0_0x36a8ea['useEffect'](()=>{_0x392cb6['current']=()=>_0x5e8a7f();},[_0x5e8a7f]),a0_0x36a8ea['useEffect'](()=>{_0x3b6f3b['current']['setRunner']();},[JSON['stringify'](_0x1674f1)]),a0_0x36a8ea['useEffect'](()=>{return()=>_0x5146de();},[]),{'running':Boolean(_0x4867df['current']),'value':_0x31e09a['current'],'time':_0x349aec};}function a0_0x510040(_0x49edf3,_0x3776b2,_0x5e7a76){return a0_0x3b9b1c(_0x49edf3,_0x3776b2,_0x5e7a76);}exports['useQCalc']=a0_0x510040;function a0_0x28f2b0(_0x1bf6df,_0x3bba34,_0x5c1dc9){const [_0x4327d8,_0x2a2073]=a0_0x36a8ea['useState'](new Date()['getTime']()),_0x1d1093=a0_0x36a8ea['useRef'](undefined),_0xb239b1=a0_0x36a8ea['useRef'](undefined),_0x3f24aa=a0_0x36a8ea['useCallback'](()=>{_0xb239b1['current']&&(clearTimeout(_0xb239b1['current']),_0xb239b1['current']=null);},[]),_0x5c8a97=a0_0x36a8ea['useRef'](Object['defineProperties']({'run':async function(){try{await _0x1d1093['current']();}catch(_0x3d65c2){console['warn']('INVALID_CB',_0x3d65c2);}return Promise['resolve']();},'setRunner':function(){!_0xb239b1['current']&&(_0xb239b1['current']=setTimeout(async()=>{await this['run'](),_0x3f24aa(),_0x2a2073(new Date()['getTime']());},_0x5c1dc9>0x0?_0x5c1dc9:0x9c4));}},{}));return a0_0x36a8ea['useMemo'](()=>{return _0x1d1093['current']=()=>_0x3bba34(),_0x5c8a97['current']['run']()['then'](()=>{}),0x1;},[]),a0_0x36a8ea['useEffect'](()=>{_0x1d1093['current']=()=>_0x3bba34();},[_0x3bba34]),a0_0x36a8ea['useEffect'](()=>{_0x5c8a97['current']['setRunner']();},[JSON['stringify'](_0x1bf6df)]),a0_0x36a8ea['useEffect'](()=>{return()=>_0x3f24aa();},[]),{'running':Boolean(_0xb239b1['current']),'time':_0x4327d8};}function a0_0xfe6ef8(_0x57b0c5,_0x2822ca,_0x53fde2){return a0_0x28f2b0(_0x57b0c5,_0x2822ca,_0x53fde2);}exports['useMRun']=a0_0xfe6ef8;function a0_0x3a14e6(_0x488e45,_0x5698b8,_0x1f7567,_0x26d035){const _0x10194d=a0_0x36a8ea['useRef'](_0x1f7567||0x9c4),_0x386586=a0_0x36a8ea['useRef'](undefined),_0x38c1f0=a0_0x36a8ea['useRef'](undefined),_0x304086=a0_0x36a8ea['useRef'](_0x5698b8),[_0x1f50e0,_0x37a06f]=a0_0x36a8ea['useState'](undefined),_0x172ba1=a0_0x36a8ea['useCallback'](()=>{_0x38c1f0['current']&&(clearTimeout(_0x38c1f0['current']),_0x38c1f0['current']=null);},[]),_0x296bb4=a0_0x36a8ea['useCallback'](()=>{!_0x38c1f0['current']&&(_0x38c1f0['current']=setTimeout(()=>{try{_0x304086['current']=_0x386586['current']();}catch(_0x55b6f4){console['warn']('INVALID_CB',_0x55b6f4);}_0x37a06f(new Date()['getTime']()),_0x172ba1();},_0x10194d['current']));},[]);return a0_0x36a8ea['useEffect'](()=>{_0x10194d['current']=_0x1f7567,_0x386586['current']=()=>_0x26d035(_0x488e45,_0x5698b8);},[_0x26d035,_0x5698b8]),a0_0x36a8ea['useEffect'](()=>{_0x296bb4();},[JSON['stringify'](_0x488e45)]),a0_0x36a8ea['useEffect'](()=>{return()=>_0x172ba1();},[]),{'value':_0x304086['current'],'update':_0x1f50e0,'isSearching':Boolean(_0x38c1f0['current'])};}function a0_0x498312(_0x712b8b,_0x3b9186,_0x17ee47,_0x2161d1){return a0_0x3a14e6(_0x712b8b,_0x3b9186,_0x17ee47,_0x2161d1);}exports['useMSearch']=a0_0x498312;class a0_0x44dec2{['_loading']=()=>{};['_loaded']=()=>{};['_error']=()=>{};['_lmp']=_0x10e29a=>_0x10e29a;['_final']=()=>{};['loader'];constructor(_0x58dbc5){this['loader']=_0x58dbc5;}['loading'](_0x37e45b){return this['_loading']=_0x37e45b,this;}['loaded'](_0x364e21){return this['_loaded']=_0x364e21,this;}['error'](_0x3a5581){return this['_error']=_0x3a5581,this;}['lmp'](_0x57ff5d){return this['_lmp']=_0x57ff5d,this;}['final'](_0x414de3){return this['_final']=_0x414de3,this;}['go'](){this['loader'](this['_loading'],this['_loaded'],this['_error'],this['_lmp'],this['_final']);}}Object['freeze'](a0_0x44dec2);function a0_0xaef372(_0x19ccd7,_0x20c0b5,_0x3e3278){const _0x21aace=a0_0x5c2b12(),_0x38ca50={};_0x38ca50['data']=_0x20c0b5;const _0x34a80c=a0_0xf27c8f(_0x38ca50);function _0x36b2d6(..._0x504b31){_0x34a80c['setValue'](()=>({'parameters':_0x504b31,'status':a0_0x13af58['LOADING'],'data':_0x20c0b5,'error':undefined}));}function _0x492857(_0x1961eb,..._0x141413){_0x34a80c['setValue'](()=>({'parameters':_0x141413,'status':a0_0x13af58['LOADED'],'data':_0x1961eb,'error':undefined,'updateTime':new Date()['getTime'](),'loadTime':new Date()['getTime']()}));}function _0xe56576(_0x25714d){_0x34a80c['setValue'](_0xb635b9=>({'parameters':_0xb635b9['parameters'],'status':a0_0x13af58['ERROR'],'data':_0x20c0b5,'error':_0x25714d}));}async function _0x59c57a(_0x5c7a52,..._0x3ecde4){try{_0x36b2d6(..._0x3ecde4);const _0x17a8bf=await _0x19ccd7(..._0x3ecde4),_0x4e13e1=_0x3e3278?_0x3e3278(_0x17a8bf):_0x17a8bf,_0x47886f=_0x5c7a52(_0x4e13e1);return _0x492857(_0x47886f||null,..._0x3ecde4),Promise['resolve'](_0x47886f);}catch(_0x551375){return _0xe56576(_0x551375),Promise['reject'](_0x551375);}}async function _0x48d053(_0x10f36e,..._0x41d35a){try{const _0x310752=await _0x19ccd7(..._0x41d35a),_0x1f01d3=_0x3e3278?_0x3e3278(_0x310752):_0x310752,_0x2be42d=_0x10f36e(_0x1f01d3);return _0x492857(_0x2be42d||null,..._0x41d35a),Promise['resolve'](_0x2be42d);}catch(_0x20fedb){return Promise['reject'](_0x20fedb);}}function _0xb90a71(){try{_0x34a80c['setValue'](_0x5badff=>({..._0x5badff,'status':undefined,'data':_0x20c0b5,'error':undefined,'updateTime':new Date()['getTime'](),'loadTime':null}));}catch(_0x56eb37){throw new Error('UNKNOWN');}}async function _0x42b0bf(_0x5d1b8e,_0x536f4b,_0x5ab4fe,_0x152745,_0x44dac0,..._0x5f1a8d){try{_0x5d1b8e();const _0x13acf4=await _0x59c57a(_0x152745,..._0x5f1a8d);_0x536f4b(_0x13acf4),_0x44dac0();}catch(_0x467534){_0x5ab4fe(_0x467534),_0x44dac0();}}async function _0x77c652(_0x2206c0,_0x2aee05,_0x14385d,_0x50b4fb,_0x14ed99,..._0x1d7326){try{_0x2206c0();const _0x69a7b9=await _0x48d053(_0x50b4fb,..._0x1d7326);_0x2aee05(_0x69a7b9),_0x14ed99();}catch(_0x37db4c){_0x14385d(_0x37db4c),_0x14ed99();}}function _0xb09ce(..._0x4bf7e6){try{return _0x59c57a(_0x787c3a=>_0x787c3a,..._0x4bf7e6);}catch(_0x5d7d7a){return Promise['reject']('UNKNOWN');}}async function _0x3b55f3(_0x43d45e,_0x145666,_0x53ec9f,_0x3772af,_0x59460d){try{_0x43d45e();const _0x1066f5=await _0x59c57a(_0x3772af,..._0x34a80c['value']['parameters']);_0x145666(_0x1066f5),_0x59460d();}catch(_0x12bbc2){_0x53ec9f(_0x12bbc2),_0x59460d();}}async function _0x12ccc3(_0x2fadad,_0x35901d,_0x1dc0dc,_0xded43e,_0x5f168e){try{_0x2fadad();const _0x2f2018=await _0x48d053(_0xded43e,..._0x34a80c['value']['parameters']);_0x35901d(_0x2f2018),_0x5f168e();}catch(_0x22a4f7){_0x1dc0dc(_0x22a4f7),_0x5f168e();}}function _0x21f4ad(){try{return _0x59c57a(_0x241316=>_0x241316,..._0x34a80c['value']['parameters']);}catch(_0x4f9a41){throw new Error('UNKNOWN');}}function _0x44025e(_0x160af2){try{_0x34a80c['setValue'](_0x13f2c1=>{let _0x4c456a;typeof _0x160af2==='function'?_0x4c456a=_0x160af2(_0x13f2c1['data']):_0x4c456a=_0x160af2;const _0x473c10={..._0x13f2c1,'data':_0x4c456a,'updateTime':new Date()['getTime']()};return _0x473c10;});}catch(_0x447e83){throw new Error('UNKNOWN');}}function _0x35579f(_0x275f1a,_0x40abd0){if(_0x34a80c['value']['loadTime']&&JSON['stringify'](_0x275f1a)!==JSON['stringify'](_0x21aace['value'])){}}return Object['freeze']({'updateTime':_0x34a80c['value']['updateTime'],'loadTime':_0x34a80c['value']['updateTime'],'status':_0x34a80c['value']['status'],'data':_0x34a80c['value']['data'],'loading':_0x34a80c['value']['status']===a0_0x13af58['LOADING'],'loaded':_0x34a80c['value']['status']===a0_0x13af58['LOADED'],'error':_0x34a80c['value']['error'],'load':(..._0x2d76b0)=>new a0_0x44dec2((_0x530ebf,_0x462e1c,_0x25b296,_0x1c139b,_0x2c968d)=>_0x42b0bf(_0x530ebf,_0x462e1c,_0x25b296,_0x1c139b,_0x2c968d,..._0x2d76b0)),'loadPromise':(..._0x192dcf)=>_0xb09ce(..._0x192dcf),'reload':()=>new a0_0x44dec2((_0x4e4e1b,_0x5f4ee3,_0x2d2cdc,_0xb60de4,_0xb44ba5)=>_0x3b55f3(_0x4e4e1b,_0x5f4ee3,_0x2d2cdc,_0xb60de4,_0xb44ba5)),'reloadPromise':()=>_0x21f4ad(),'loadHidden':(..._0x5ebebf)=>new a0_0x44dec2((_0x5120b6,_0x3c243a,_0x42c4b0,_0x6eb65d,_0x29192f)=>_0x77c652(_0x5120b6,_0x3c243a,_0x42c4b0,_0x6eb65d,_0x29192f,..._0x5ebebf)),'reloadHidden':()=>new a0_0x44dec2((_0x3ec6a0,_0x265e24,_0x3ecdac,_0xf065ba,_0x54a0b5)=>_0x12ccc3(_0x3ec6a0,_0x265e24,_0x3ecdac,_0xf065ba,_0x54a0b5)),'reset':()=>_0xb90a71(),'setLoading':()=>_0x36b2d6(..._0x34a80c['value']['parameters']||[]),'setLoaded':_0x4b1636=>_0x492857(_0x4b1636||null,..._0x34a80c['value']['parameters']||[]),'setError':_0xcea2c5=>_0xe56576(_0xcea2c5),'setValue':_0x12965f=>_0x44025e(_0x12965f)});}function a0_0x5f7f84(_0x12bc8c,_0x39116d,_0x370dac){return a0_0xaef372(_0x12bc8c,_0x39116d,_0x370dac);}exports['useMQuery']=a0_0x5f7f84;class a0_0x240bc5{['_loading']=()=>{};['_loaded']=()=>{};['_error']=()=>{};['_lmp']=_0xde1c53=>_0xde1c53;['_final']=()=>{};['loader'];constructor(_0x529212){this['loader']=_0x529212;}['loading'](_0x695762){return this['_loading']=_0x695762,this;}['loaded'](_0x22464d){return this['_loaded']=_0x22464d,this;}['error'](_0x2e759c){return this['_error']=_0x2e759c,this;}['lmp'](_0x488d05){return this['_lmp']=_0x488d05,this;}['final'](_0x213074){return this['_final']=_0x213074,this;}['go'](..._0x51e70f){this['loader'](this['_loading'],this['_loaded'],this['_error'],this['_lmp'],this['_final'],..._0x51e70f);}}Object['freeze'](a0_0x240bc5);function a0_0x1a60ca(_0xccd23c){const _0x53bb61={};_0x53bb61['data']=_0xccd23c;const _0x382f3b=a0_0xf27c8f(_0x53bb61);async function _0x1a4296(_0x5ce699,_0x488f95){try{const _0x457b33={};_0x457b33['status']=a0_0x13af58['LOADING'],_0x457b33['data']=_0xccd23c,_0x457b33['error']=undefined,_0x382f3b['setValue'](_0x457b33);const _0x2afa30=await _0x488f95(),_0x430d5a=_0x5ce699(_0x2afa30);return _0x382f3b['setValue']({'status':a0_0x13af58['LOADED'],'data':_0x430d5a,'error':undefined,'updateTime':new Date()['getTime'](),'loadTime':new Date()['getTime']()}),Promise['resolve'](_0x2afa30);}catch(_0x1b72e4){const _0x36b797={};return _0x36b797['status']=a0_0x13af58['ERROR'],_0x36b797['data']=_0xccd23c,_0x36b797['error']=_0x1b72e4,_0x382f3b['setValue'](_0x36b797),Promise['reject'](_0x1b72e4);}}async function _0x4a33de(_0x2e97e4,_0x5e8d50){try{const _0x2dee7c=await _0x5e8d50(),_0x5e7125=_0x2e97e4(_0x2dee7c);return _0x382f3b['setValue']({'status':a0_0x13af58['LOADED'],'data':_0x5e7125,'error':undefined,'updateTime':new Date()['getTime'](),'loadTime':new Date()['getTime']()}),Promise['resolve'](_0x2dee7c);}catch(_0x2d708d){return Promise['reject'](_0x2d708d);}}async function _0x3d4ca3(_0x24bcfd,_0x1911e6,_0x458c51,_0x40b548,_0x46af63,_0x1320b5){try{_0x24bcfd();const _0x266341=await _0x1a4296(_0x40b548,_0x1320b5);_0x1911e6(_0x266341),_0x46af63();}catch(_0x1f76e3){_0x458c51(_0x1f76e3),_0x46af63();}}async function _0x1437aa(_0x54e4bc,_0x336142,_0x2f77ec,_0x26518d,_0x498e51,_0x575461){try{_0x54e4bc();const _0x356cf2=await _0x4a33de(_0x26518d,_0x575461);_0x336142(_0x356cf2),_0x498e51();}catch(_0x5e4382){_0x2f77ec(_0x5e4382),_0x498e51();}}function _0x1d9ff5(_0x3d38dc){try{_0x382f3b['setValue'](_0x4728c6=>{let _0x1f388b;typeof _0x3d38dc==='function'?_0x1f388b=_0x3d38dc(_0x4728c6['data']):_0x1f388b=_0x3d38dc;const _0x337c6c={..._0x4728c6,'data':_0x1f388b,'updateTime':new Date()['getTime']()};return _0x337c6c;});}catch(_0x4b408d){throw new Error('UNKNOWN');}}return Object['freeze']({'updateTime':_0x382f3b['value']['updateTime'],'loadTime':_0x382f3b['value']['loadTime'],'status':_0x382f3b['value']['status'],'data':_0x382f3b['value']['data'],'loading':_0x382f3b['value']['status']===a0_0x13af58['LOADING'],'loaded':_0x382f3b['value']['status']===a0_0x13af58['LOADED'],'error':_0x382f3b['value']['error'],'setValue':_0x428115=>_0x1d9ff5(_0x428115),'load':_0x2a1b7f=>new a0_0x240bc5((_0x5eca7b,_0x1f40c6,_0x43235f,_0x593716,_0x1e0273,..._0x1dfd53)=>_0x3d4ca3(_0x5eca7b,_0x1f40c6,_0x43235f,_0x593716,_0x1e0273,()=>_0x2a1b7f(..._0x1dfd53))),'loadHidden':_0x345206=>new a0_0x240bc5((_0x2268d5,_0x4c31ad,_0x237b18,_0x4a1dcb,_0x5d9c45,..._0x30f0fe)=>_0x1437aa(_0x2268d5,_0x4c31ad,_0x237b18,_0x4a1dcb,_0x5d9c45,()=>_0x345206(..._0x30f0fe)))});}function a0_0x27cf65(_0x1872bf){return a0_0x1a60ca(_0x1872bf);}exports['useMRQuery']=a0_0x27cf65;class a0_0x1ae936{['_head'];['_parent'];['_loading']=()=>{};['_loaded']=()=>{};['_error']=()=>{};['_func']=()=>null;constructor(_0x30ff32){this['_head']=_0x30ff32;}['parent'](_0x3e9f18){this['_parent']=_0x3e9f18;}['func'](_0x20ab53){return this['_func']=_0x20ab53,this;}['loading'](_0x490020){return this['_loading']=_0x490020,this;}['loaded'](_0x397455){return this['_loaded']=_0x397455,this;}['error'](_0x3a8839){return this['_error']=_0x3a8839,this;}['next'](){return new a0_0x5f585d(this['_head']?this['_head']:this,this);}async['run'](_0x2d6a56){try{this['_loading']();const _0x433a2f=await this['_func'](_0x2d6a56);return this['_loaded'](_0x433a2f),Promise['resolve'](_0x433a2f);}catch(_0x4689a7){return this['_error'](_0x4689a7),Promise['reject'](_0x4689a7);}}}Object['freeze'](a0_0x1ae936);class a0_0x5f585d{['_head'];['_parent'];constructor(_0x1eb386,_0x403362){this['_head']=_0x1eb386,this['_parent']=_0x403362;}async['run'](_0x4c5f85,_0x1c80ee){const _0x4a4c5b=await _0x1c80ee['run'](_0x4c5f85);return!_0x1c80ee['_parent']?_0x4a4c5b:await this['run'](_0x4a4c5b,_0x1c80ee['_parent']);}async['go'](){return await this['run'](null,this['_head']);}['add'](_0x554f00){const _0x1936ac=this['_head'],_0x445180=this['_parent'],_0x171768=new a0_0x1ae936(_0x1936ac);_0x171768['func'](_0x554f00),_0x445180?.['parent'](_0x171768);let _0x32a2b1=()=>{},_0x40e81f=()=>{},_0x1bb1ce=()=>{};function _0x264388(){return _0x171768['next']();}function _0x54ffce(_0x46a1db){return _0x32a2b1=_0x46a1db,_0x171768['loading'](_0x32a2b1),_0x30f30c;}function _0x3ed62f(_0x422cf0){return _0x40e81f=_0x422cf0,_0x171768['loaded'](_0x40e81f),_0x30f30c;}function _0x542137(_0x20b046){return _0x1bb1ce=_0x20b046,_0x171768['error'](_0x1bb1ce),_0x30f30c;}const _0x5577e1={};_0x5577e1['loading']=_0x54ffce,_0x5577e1['loaded']=_0x3ed62f,_0x5577e1['error']=_0x542137,_0x5577e1['next']=_0x264388;const _0x30f30c=_0x5577e1;return _0x30f30c;}}Object['freeze'](a0_0x5f585d);function a0_0x3a3e66(_0x2ad585){const _0x42cb90={};_0x42cb90['data']=_0x2ad585;const _0x48c3aa=a0_0xf27c8f(_0x42cb90),_0x58be8f=a0_0x36a8ea['useRef']({'query':new a0_0x5f585d()['add'](()=>null)['next']()});function _0x447673(){return _0x58be8f['current']['query']=new a0_0x5f585d()['add'](()=>null)['next'](),_0x58be8f['current']['query'];}function _0x31dcc5(){return _0x58be8f['current']['query'];}async function _0x5bd6ac(){try{const _0x5d1064={};_0x5d1064['data']=_0x2ad585,_0x5d1064['status']=a0_0x13af58['LOADING'],_0x5d1064['error']=undefined,_0x48c3aa['setValue'](_0x5d1064);const _0x3b9877=await _0x58be8f['current']['query']['go']();_0x48c3aa['setValue']({'data':_0x3b9877,'status':a0_0x13af58['LOADED'],'error':undefined,'updateTime':new Date()['getTime'](),'loadTime':new Date()['getTime']()});}catch(_0xdafcc3){const _0x4a7795={};_0x4a7795['data']=_0x2ad585,_0x4a7795['status']=a0_0x13af58['ERROR'],_0x4a7795['error']=_0xdafcc3,_0x48c3aa['setValue'](_0x4a7795);}}async function _0x104530(){try{const _0x47d584=await _0x58be8f['current']['query']['go']();_0x48c3aa['setValue']({'data':_0x47d584,'status':a0_0x13af58['LOADED'],'error':undefined,'updateTime':new Date()['getTime'](),'loadTime':new Date()['getTime']()});}catch(_0x3f4eed){}}function _0x205077(_0x281d8f){try{_0x48c3aa['setValue'](_0x32669f=>{let _0xafa9ea;typeof _0x281d8f==='function'?_0xafa9ea=_0x281d8f(_0x32669f['data']):_0xafa9ea=_0x281d8f;const _0x2d3b1a={..._0x32669f,'data':_0xafa9ea,'updateTime':new Date()['getTime']()};return _0x2d3b1a;});}catch(_0x485912){throw new Error('UNKNOWN');}}return Object['freeze']({'updateTime':_0x48c3aa['value']['updateTime'],'loadTime':_0x48c3aa['value']['loadTime'],'data':_0x48c3aa['value']['data'],'status':_0x48c3aa['value']['status'],'loading':_0x48c3aa['value']['status']===a0_0x13af58['LOADING'],'loaded':_0x48c3aa['value']['status']===a0_0x13af58['LOADED'],'error':_0x48c3aa['value']['error'],'setValue':_0x412c07=>_0x205077(_0x412c07),'new':()=>_0x447673(),'load':()=>_0x31dcc5(),'go':()=>_0x5bd6ac(),'goHidden':()=>_0x104530()});}function a0_0x4d6d26(_0x32d173){return a0_0x3a3e66(_0x32d173);}exports['useMSQuery']=a0_0x4d6d26;function a0_0x346f0e(_0x695fa7){return Promise['all'](_0x695fa7['map'](_0x3d2e4e=>_0x3d2e4e['then'](_0x408848=>({'status':'fulfilled','value':_0x408848}))['catch'](_0x1e7b61=>({'status':'rejected','reason':_0x1e7b61}))));}function a0_0x2fb257(_0x169b7b){return a0_0x346f0e(_0x169b7b);}exports['allSettled']=a0_0x2fb257;var a0_0x226d43;(function(_0x2f079a){_0x2f079a['READY']='READY',_0x2f079a['WAITING']='WAITING',_0x2f079a['SENDING']='SENDING',_0x2f079a['UPLOADED']='UPLOADED',_0x2f079a['ERROR']='ERROR',_0x2f079a['CANCELED']='CANCELED',_0x2f079a['COMPLETED']='COMPLETED',_0x2f079a['PAUSED']='PAUSED';}(a0_0x226d43||(exports['UPLOAD_STATUS']=a0_0x226d43={})),Object['freeze'](a0_0x226d43));const a0_0x448625=(..._0x360b77)=>console['log'](..._0x360b77);class a0_0x45ef4b{['_file'];['_id']='';['_path']='';['_name']='';['_size']=0x0;['_type']='';['_mb']=0x0;['_kb']=0x0;['_time']=new Date()['getTime']();constructor(_0x3e60c0){this['_file']=_0x3e60c0,this['_name']=_0x3e60c0['name'],this['_size']=_0x3e60c0['size'],this['_type']=_0x3e60c0['type'],this['_id']=a0_0x3ca52a(),this['_path']=URL['createObjectURL'](_0x3e60c0),this['_kb']=parseFloat((parseInt(_0x3e60c0['size']['toFixed'](0x2))/0x400)['toFixed'](0x2)),this['_mb']=parseFloat((parseInt(_0x3e60c0['size']['toFixed'](0x2))/(0x400*0x400))['toFixed'](0x2));}static['new'](_0x122324,_0x40b45c){try{if(_0x40b45c){const _0x185b6f=new a0_0x45ef4b(_0x122324),_0x46e3ab=_0x185b6f['_type']['split']('/')['length']>0x1?_0x185b6f['_type']['split']('/')[0x1]:_0x185b6f['_type'],_0x249da8={};_0x249da8['type']=_0x185b6f['_type'],_0x249da8['lastModified']=_0x185b6f['_file']['lastModified'];const _0x468c8c=new File([_0x122324],_0x40b45c+'.'+_0x46e3ab,_0x249da8);return new a0_0x45ef4b(_0x468c8c);}return new a0_0x45ef4b(_0x122324);}catch(_0x53ed87){}}['info'](){const _0x50eed6={};return _0x50eed6['id']=this['_id'],_0x50eed6['name']=this['_name'],_0x50eed6['size']=this['_size'],_0x50eed6['type']=this['_type'],_0x50eed6['path']=this['_path'],_0x50eed6['kb']=this['_kb'],_0x50eed6['mb']=this['_mb'],_0x50eed6['time']=this['_time'],_0x50eed6;}}Object['freeze'](a0_0x45ef4b);class a0_0x52d344{['file'];['url'];['headers'];['status']=a0_0x226d43['READY'];['percent']=0x0;['xhrInstance'];['listener'];['setStatus'](_0xcdcb22){this['status']=_0xcdcb22,this['listener']['invokeStatus'](this['status']);}['setPercent'](_0x1107a8){this['percent']=_0x1107a8,this['listener']['invokePercent'](this['percent']);}['getStatus'](){return this['status'];}['getPercent'](){return this['percent'];}['fileInfo'](){return this['file']['info']();}['setListener'](_0x1f084f){this['listener']=_0x1f084f;}['setFile'](_0x568353,_0x88bcbb){this['file']=a0_0x45ef4b['new'](_0x568353,_0x88bcbb);}['setUrl'](_0x9026bb){this['url']=_0x9026bb;}['setHeader'](_0x16fdf9){this['headers']=_0x16fdf9;}['isFile'](){if(!this['file'])return'no_file';return!![];}['isValid'](){if(!this['file'])return'no_file';if(!this['url'])return'no_url';return!![];}['upload'](){this['xhrInstance']=new XMLHttpRequest();const _0x36d85b=this['xhrInstance'];if(!('withCredentials'in _0x36d85b)){this['setStatus'](a0_0x226d43['ERROR']);return;}_0x36d85b['onreadystatechange']=()=>{_0x36d85b['readyState']===0x4&&(_0x36d85b['status']===0xc8||_0x36d85b['status']===0xc9?(a0_0x448625('File\x20Upload\x20ENDED'),this['setStatus'](a0_0x226d43['UPLOADED'])):(a0_0x448625('File\x20Upload\x20ERROR'),this['setStatus'](a0_0x226d43['ERROR'])));},_0x36d85b['upload']['onprogress']=_0xb47a23=>{this['setStatus'](a0_0x226d43['SENDING']),this['setPercent'](Math['round'](_0xb47a23['loaded']/_0xb47a23['total']*0x64));},_0x36d85b['upload']['onerror']=_0x315c9c=>{a0_0x448625('File\x20Upload\x20ERROR'),_0x36d85b['abort'](),this['setStatus'](a0_0x226d43['ERROR']);},_0x36d85b['upload']['ontimeout']=_0x20aec2=>{a0_0x448625('File\x20Upload\x20TimeOut'),_0x36d85b['abort'](),this['setStatus'](a0_0x226d43['ERROR']);},_0x36d85b['open']('PUT',this['url'],!![]);const _0x33bc5d=this['headers']||{};Object['keys'](_0x33bc5d)['forEach'](_0x149c40=>{_0x36d85b['setRequestHeader'](_0x149c40,_0x33bc5d[_0x149c40]);}),_0x36d85b['setRequestHeader']('Content-Type',this['file']['_type']),_0x36d85b['send'](this['file']['_file']);}['cancel'](){this['setStatus'](a0_0x226d43['CANCELED']),this['xhrInstance']&&this['xhrInstance']['abort']();}}Object['freeze'](a0_0x52d344);class a0_0x495455{['_listenStatus']={};['_listenPercent']={};['_fu'];['percentIdle']=0xfa;['statusIdle']=0xfa;['percentIdleT'];['statusIdleT'];constructor(_0x45941c){this['_fu']=_0x45941c;}['idle'](_0x2533f8,_0x32e9c9){this['percentIdle']=Number(_0x2533f8)||0xfa,this['statusIdle']=Number(_0x32e9c9)||0xfa;}['status'](_0x1831c9){const _0xf84217=a0_0x3ca52a();this['_listenStatus'][_0xf84217]=_0x1831c9;const _0x33a6c2=()=>{delete this['_listenStatus'][_0xf84217];};return _0x33a6c2;}['percent'](_0x3248ce){const _0x197079=a0_0x3ca52a();this['_listenPercent'][_0x197079]=_0x3248ce;const _0x328860=()=>{delete this['_listenPercent'][_0x197079];};return _0x328860;}['invokeStatus'](_0x237cd2){!this['statusIdleT']&&(this['statusIdleT']=setTimeout(()=>{Object['keys'](this['_listenStatus'])['forEach'](_0x3b7922=>{this['_listenStatus'][_0x3b7922](_0x237cd2);}),this['statusIdleT']=null;},this['statusIdle']));}['invokePercent'](_0x5bda53){!this['percentIdleT']&&(this['percentIdleT']=setTimeout(()=>{Object['keys'](this['_listenPercent'])['forEach'](_0x19d646=>{this['_listenPercent'][_0x19d646](_0x5bda53);}),this['percentIdleT']=null;},this['percentIdle']));}['next'](){return this['_fu'];}}Object['freeze'](a0_0x495455);class a0_0x477c19{['upload']=new a0_0x52d344();['listen']=new a0_0x495455(this);constructor(){this['upload']['setListener'](this['listen']);}static['new'](){return new a0_0x477c19();}get['status'](){return this['upload']['getStatus']();}get['percent'](){return this['upload']['getPercent']();}['preview'](){return this['upload']['fileInfo']()['path'];}['info'](){return this['upload']['fileInfo']();}['file'](_0x5ea40d,_0x27ba62){return this['upload']['setFile'](_0x5ea40d,_0x27ba62),this;}['url'](_0x205222){return this['upload']['setUrl'](_0x205222),this;}['header'](_0x12fb66){return this['upload']['setHeader'](_0x12fb66),this;}['idle'](_0x4f01c0,_0x147a97){return this['idle'](_0x4f01c0,_0x147a97),this;}['listener'](){return{'status':_0x4a373a=>this['listen']['status'](_0x4a373a),'percent':_0x17a1e5=>this['listen']['percent'](_0x17a1e5),'next':()=>this['listen']['next']()};}['start'](){try{if(!this['upload']['isValid']())return this['upload']['isValid']();this['upload']['upload']();}catch(_0x2ef3d0){return'UNKNOWN_ERROR';}return this;}['stop'](){try{this['upload']['cancel']();}catch(_0x894280){return'UNKNOWN_ERROR';}return this;}}exports['FileUplader']=a0_0x477c19,Object['freeze'](a0_0x477c19);const a0_0x2519e5=((()=>{function _0x1f7827(_0x3b0abc){try{return _0x3b0abc['files'][0x0];}catch(_0x283bef){console['log']('UNKNOWN_ERROR');}}function _0x5a0c4b(_0x56d1a1){return _0x1f7827(document['querySelector'](_0x56d1a1));}function _0xc1c456(_0x4f0b70){return _0x1f7827(_0x4f0b70);}function _0x23e4ee(_0x2b2415){return _0x5a0c4b('input[name='+_0x2b2415+']');}function _0x586019(_0xd6c7ab){return a0_0x45ef4b['new'](_0xd6c7ab);}const _0x45e25d={};return _0x45e25d['byW3i']=_0x5a0c4b,_0x45e25d['byName']=_0x23e4ee,_0x45e25d['byElement']=_0xc1c456,_0x45e25d['fileInfo']=_0x586019,_0x45e25d;})());Object['freeze'](a0_0x2519e5),exports['upHelper']=a0_0x2519e5;function a0_0x304511(){const _0x4df7e2=a0_0x36a8ea['useRef'](a0_0x477c19['new']()),[_0x4088a0,_0x353400]=a0_0x36a8ea['useState']();return a0_0x36a8ea['useEffect'](()=>{const _0x12af0c=_0x4df7e2['current']['listener']()['percent'](()=>{_0x353400(new Date()['getTime']());}),_0x44c94c=_0x4df7e2['current']['listener']()['status'](()=>{_0x353400(new Date()['getTime']());});return()=>{_0x12af0c(),_0x44c94c();};},[]),_0x4df7e2['current'];}function a0_0x254b1a(){return a0_0x304511();}exports['useFileUplader']=a0_0x254b1a;async function a0_0x5d1f7b(_0x200b68){try{const _0xef3cdf=await _0x200b68;return[_0xef3cdf,null];}catch(_0x365d17){return[null,_0x365d17];}}exports['safePromise']=a0_0x5d1f7b;const a0_0x55ad21=()=>{},a0_0x221e70=()=>{},a0_0x348e3c=()=>{};