owl-progiciel 1.0.2 → 1.0.3
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.
- package/dist/api/routes/client.routes.d.ts +2 -0
- package/dist/api/routes/client.routes.js +1 -0
- package/dist/api/routes/item.routes.d.ts +2 -0
- package/dist/api/routes/item.routes.js +1 -0
- package/dist/api/routes/order.routes.d.ts +2 -0
- package/dist/api/routes/order.routes.js +1 -0
- package/dist/api/routes/preparation.routes.d.ts +2 -0
- package/dist/api/routes/preparation.routes.js +1 -0
- package/dist/api/routes/purchase.routes.d.ts +2 -0
- package/dist/api/routes/purchase.routes.js +1 -0
- package/dist/api/routes/reception.routes.d.ts +2 -0
- package/dist/api/routes/reception.routes.js +1 -0
- package/dist/api/routes/stock.routes.d.ts +2 -0
- package/dist/api/routes/stock.routes.js +1 -0
- package/dist/api/routes/supplier.routes.d.ts +2 -0
- package/dist/api/routes/supplier.routes.js +1 -0
- package/dist/api/routes/tax.routes.d.ts +2 -0
- package/dist/api/routes/tax.routes.js +1 -0
- package/dist/api/routes/user.routes.d.ts +2 -0
- package/dist/api/routes/user.routes.js +1 -0
- package/dist/api/server.d.ts +1 -0
- package/dist/api/server.js +1 -0
- package/dist/core/Entity.js +1 -1
- package/dist/core/EventBus.js +1 -1
- package/dist/core/{PrismaDatabase.d.ts → EventsDatabase.d.ts} +1 -3
- package/dist/core/EventsDatabase.js +1 -0
- package/dist/core/Manager.js +1 -1
- package/dist/core/events/ClientEvents.d.ts +1 -2
- package/dist/core/events/ClientEvents.js +1 -1
- package/dist/core/events/ItemEvents.d.ts +1 -2
- package/dist/core/events/ItemEvents.js +1 -1
- package/dist/core/events/OrderEvents.d.ts +1 -2
- package/dist/core/events/OrderEvents.js +1 -1
- package/dist/core/events/PreparationEvents.d.ts +1 -2
- package/dist/core/events/PreparationEvents.js +1 -1
- package/dist/core/events/PurchaseEvents.d.ts +1 -2
- package/dist/core/events/PurchaseEvents.js +1 -1
- package/dist/core/events/ReceptionEvents.d.ts +1 -2
- package/dist/core/events/ReceptionEvents.js +1 -1
- package/dist/core/events/StockEvents.d.ts +1 -2
- package/dist/core/events/StockEvents.js +1 -1
- package/dist/core/events/SupplierEvents.d.ts +1 -2
- package/dist/core/events/SupplierEvents.js +1 -1
- package/dist/core/events/TaxEvents.d.ts +1 -2
- package/dist/core/events/TaxEvents.js +1 -1
- package/dist/core/events/UserEvents.d.ts +1 -2
- package/dist/core/events/UserEvents.js +1 -1
- package/dist/entities/Client.js +1 -1
- package/dist/entities/Item.js +1 -1
- package/dist/entities/Order.js +1 -1
- package/dist/entities/Preparation.js +1 -1
- package/dist/entities/Purchase.js +1 -1
- package/dist/entities/Reception.js +1 -1
- package/dist/entities/Stock.js +1 -1
- package/dist/entities/Supplier.js +1 -1
- package/dist/entities/Tax.js +1 -1
- package/dist/entities/User.js +1 -1
- package/dist/index.js +1 -1
- package/dist/managers/ClientManager.js +1 -1
- package/dist/managers/ItemManager.js +1 -1
- package/dist/managers/OrderManager.js +1 -1
- package/dist/managers/PreparationManager.js +1 -1
- package/dist/managers/PurchaseManager.js +1 -1
- package/dist/managers/ReceptionManager.js +1 -1
- package/dist/managers/StockManager.js +1 -1
- package/dist/managers/SupplierManager.js +1 -1
- package/dist/managers/TaxManager.js +1 -1
- package/dist/managers/UserManager.js +1 -1
- package/dist/owl/OWLClient.d.ts +2 -2
- package/dist/owl/OWLClient.js +1 -1
- package/package.json +9 -3
- package/dist/core/PrismaDatabase.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a21_0xfdd4(_0x4abb72,_0x1ecf99){_0x4abb72=_0x4abb72-0xb2;const _0x18eabc=a21_0x18ea();let _0xfdd438=_0x18eabc[_0x4abb72];return _0xfdd438;}function a21_0x18ea(){const _0x46b578=['425385XkGtKe','410003:\x20Action\x20not\x20allowed.','hasPermission','onRequest','stock.updated','stock','statusText','getCurrentUser','STOCK_DELETED','DELETE','505740XsbTZh','41342AsBEhg','status','API\x20Error:\x20','json','POST','PUT','STOCK_ALL','1236060tQjdIu','85908DiFyDQ','stock.read','stock.read.all','55nhcJIk','8578xSXNgX','16zAleyN','stock.deleted','712DLGMMO','stock.read.some','ADMIN','stringify','events','24453uJZWpc','STOCK_READ','78hKjubX','STOCK_UPDATED','23ZLpsET','410004:\x20Action\x20not\x20allowed.','STOCK_CREATED','application/json','410002:\x20Action\x20not\x20allowed.'];a21_0x18ea=function(){return _0x46b578;};return a21_0x18ea();}(function(_0x1909a5,_0x401169){const _0x494484=a21_0xfdd4,_0x5c6378=_0x1909a5();while(!![]){try{const _0x27a780=parseInt(_0x494484(0xd4))/0x1*(-parseInt(_0x494484(0xc8))/0x2)+-parseInt(_0x494484(0xc4))/0x3*(-parseInt(_0x494484(0xc9))/0x4)+-parseInt(_0x494484(0xd9))/0x5+-parseInt(_0x494484(0xd2))/0x6*(-parseInt(_0x494484(0xbc))/0x7)+-parseInt(_0x494484(0xcb))/0x8*(-parseInt(_0x494484(0xd0))/0x9)+parseInt(_0x494484(0xc3))/0xa+-parseInt(_0x494484(0xc7))/0xb*(parseInt(_0x494484(0xbb))/0xc);if(_0x27a780===_0x401169)break;else _0x5c6378['push'](_0x5c6378['shift']());}catch(_0x1542af){_0x5c6378['push'](_0x5c6378['shift']());}}}(a21_0x18ea,0x279f4));const API_BASE='http://localhost:5001/stocks';export default function bindStockEvents(_0x37f00a){const _0xe9b995=a21_0xfdd4;_0x37f00a[_0xe9b995(0xcf)][_0xe9b995(0xb4)]('stock.created',async _0x2aee07=>{const _0x14f62f=_0xe9b995;if(!_0x37f00a[_0x14f62f(0xb8)]()[_0x14f62f(0xb3)](_0x14f62f(0xcd))&&!_0x37f00a['getCurrentUser']()[_0x14f62f(0xb3)](_0x14f62f(0xc2))&&!_0x37f00a[_0x14f62f(0xb8)]()['hasPermission'](_0x14f62f(0xd6)))throw new Error('410001:\x20Action\x20not\x20allowed.');const _0x496f3c=await fetch(''+API_BASE,{'method':_0x14f62f(0xc0),'headers':{'Content-Type':_0x14f62f(0xd7)},'body':JSON[_0x14f62f(0xce)](_0x2aee07[_0x14f62f(0xb6)])});if(!_0x496f3c['ok'])throw new Error('API\x20Error:\x20'+_0x496f3c[_0x14f62f(0xb7)]);const _0x51847e=await _0x496f3c[_0x14f62f(0xbf)]();return _0x51847e['id'];}),_0x37f00a[_0xe9b995(0xcf)]['onRequest'](_0xe9b995(0xc5),async({id:_0x83586e})=>{const _0x308004=_0xe9b995;if(!_0x37f00a['getCurrentUser']()[_0x308004(0xb3)]('ADMIN')&&!_0x37f00a[_0x308004(0xb8)]()[_0x308004(0xb3)](_0x308004(0xc2))&&!_0x37f00a['getCurrentUser']()[_0x308004(0xb3)](_0x308004(0xd1)))throw new Error('410002:\x20Action\x20not\x20allowed.');const _0x4a9b56=await fetch(API_BASE+'/'+_0x83586e);if(!_0x4a9b56['ok'])throw new Error(_0x308004(0xbe)+_0x4a9b56[_0x308004(0xb7)]);return await _0x4a9b56['json']();}),_0x37f00a[_0xe9b995(0xcf)][_0xe9b995(0xb4)](_0xe9b995(0xc6),async()=>{const _0x3c7232=_0xe9b995;if(!_0x37f00a[_0x3c7232(0xb8)]()[_0x3c7232(0xb3)](_0x3c7232(0xcd))&&!_0x37f00a['getCurrentUser']()['hasPermission']('STOCK_ALL')&&!_0x37f00a[_0x3c7232(0xb8)]()['hasPermission'](_0x3c7232(0xd1)))throw new Error(_0x3c7232(0xd8));const _0x2481bc=await fetch(''+API_BASE);if(!_0x2481bc['ok'])throw new Error(_0x3c7232(0xbe)+_0x2481bc['statusText']);return await _0x2481bc[_0x3c7232(0xbf)]();}),_0x37f00a[_0xe9b995(0xcf)]['onRequest'](_0xe9b995(0xcc),async _0x24e8fb=>{const _0x55f6c8=_0xe9b995;if(!_0x37f00a[_0x55f6c8(0xb8)]()[_0x55f6c8(0xb3)](_0x55f6c8(0xcd))&&!_0x37f00a[_0x55f6c8(0xb8)]()[_0x55f6c8(0xb3)](_0x55f6c8(0xc2))&&!_0x37f00a[_0x55f6c8(0xb8)]()[_0x55f6c8(0xb3)]('STOCK_READ'))throw new Error(_0x55f6c8(0xd8));const _0x2a290c=await fetch(API_BASE+'/search',{'method':_0x55f6c8(0xc0),'headers':{'Content-Type':'application/json'},'body':JSON[_0x55f6c8(0xce)](_0x24e8fb)});if(!_0x2a290c['ok'])throw new Error(_0x55f6c8(0xbe)+_0x2a290c['statusText']);return await _0x2a290c['json']();}),_0x37f00a[_0xe9b995(0xcf)][_0xe9b995(0xb4)](_0xe9b995(0xb5),async _0x3ff445=>{const _0x35acb9=_0xe9b995;if(!_0x37f00a[_0x35acb9(0xb8)]()[_0x35acb9(0xb3)]('ADMIN')&&!_0x37f00a[_0x35acb9(0xb8)]()['hasPermission']('STOCK_ALL')&&!_0x37f00a[_0x35acb9(0xb8)]()[_0x35acb9(0xb3)](_0x35acb9(0xd3)))throw new Error(_0x35acb9(0xb2));const {where:_0x214902,..._0x40de54}=_0x3ff445,_0x52034e=await fetch(API_BASE+'/'+_0x214902['id'],{'method':_0x35acb9(0xc1),'headers':{'Content-Type':_0x35acb9(0xd7)},'body':JSON[_0x35acb9(0xce)](_0x40de54)});if(!_0x52034e['ok'])throw new Error('API\x20Error:\x20'+_0x52034e[_0x35acb9(0xb7)]);return await _0x52034e[_0x35acb9(0xbf)]();}),_0x37f00a[_0xe9b995(0xcf)]['on'](_0xe9b995(0xca),async({id:_0x33d91d})=>{const _0x42a852=_0xe9b995;if(!_0x37f00a[_0x42a852(0xb8)]()['hasPermission'](_0x42a852(0xcd))&&!_0x37f00a[_0x42a852(0xb8)]()[_0x42a852(0xb3)]('STOCK_ALL')&&!_0x37f00a[_0x42a852(0xb8)]()[_0x42a852(0xb3)](_0x42a852(0xb9)))throw new Error(_0x42a852(0xd5));const _0x533558=await fetch(API_BASE+'/'+_0x33d91d,{'method':_0x42a852(0xba)});if(!_0x533558['ok']&&_0x533558[_0x42a852(0xbd)]!==0xcc)throw new Error('API\x20Error:\x20'+_0x533558['statusText']);});}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
const a22_0x121442=a22_0x5759;(function(_0x422156,_0x22cde1){const _0x253e03=a22_0x5759,_0x5b416f=_0x422156();while(!![]){try{const _0x37c96e=parseInt(_0x253e03(0x17b))/0x1+-parseInt(_0x253e03(0x185))/0x2+parseInt(_0x253e03(0x192))/0x3+parseInt(_0x253e03(0x17c))/0x4*(-parseInt(_0x253e03(0x199))/0x5)+parseInt(_0x253e03(0x184))/0x6*(parseInt(_0x253e03(0x183))/0x7)+-parseInt(_0x253e03(0x186))/0x8*(parseInt(_0x253e03(0x19a))/0x9)+-parseInt(_0x253e03(0x18b))/0xa;if(_0x37c96e===_0x22cde1)break;else _0x5b416f['push'](_0x5b416f['shift']());}catch(_0x34bda4){_0x5b416f['push'](_0x5b416f['shift']());}}}(a22_0x1612,0x23b34));const API_BASE=a22_0x121442(0x176);function a22_0x5759(_0xdceeca,_0x14d1fc){_0xdceeca=_0xdceeca-0x175;const _0x1612c3=a22_0x1612();let _0x575974=_0x1612c3[_0xdceeca];return _0x575974;}export default function bindSupplierEvents(_0x1bf852){const _0x3c37d1=a22_0x121442;_0x1bf852[_0x3c37d1(0x19b)][_0x3c37d1(0x193)](_0x3c37d1(0x187),async _0x30489c=>{const _0x2bd231=_0x3c37d1;if(!_0x1bf852[_0x2bd231(0x179)]()['hasPermission'](_0x2bd231(0x17e))&&!_0x1bf852[_0x2bd231(0x179)]()['hasPermission'](_0x2bd231(0x17f))&&!_0x1bf852[_0x2bd231(0x179)]()['hasPermission'](_0x2bd231(0x18a)))throw new Error(_0x2bd231(0x18e));const _0x1c31a2=await fetch(''+API_BASE,{'method':_0x2bd231(0x195),'headers':{'Content-Type':_0x2bd231(0x18f)},'body':JSON[_0x2bd231(0x178)](_0x30489c[_0x2bd231(0x188)])});if(!_0x1c31a2['ok'])throw new Error(_0x2bd231(0x18d)+_0x1c31a2['statusText']);const _0x486efb=await _0x1c31a2[_0x2bd231(0x190)]();return _0x486efb['id'];}),_0x1bf852[_0x3c37d1(0x19b)][_0x3c37d1(0x193)](_0x3c37d1(0x177),async({id:_0x3f295e})=>{const _0x4b9b13=_0x3c37d1;if(!_0x1bf852[_0x4b9b13(0x179)]()[_0x4b9b13(0x18c)](_0x4b9b13(0x17e))&&!_0x1bf852[_0x4b9b13(0x179)]()[_0x4b9b13(0x18c)](_0x4b9b13(0x17f))&&!_0x1bf852[_0x4b9b13(0x179)]()[_0x4b9b13(0x18c)]('SUPPLIER_READ'))throw new Error(_0x4b9b13(0x181));const _0x17da0c=await fetch(API_BASE+'/'+_0x3f295e);if(!_0x17da0c['ok'])throw new Error('API\x20Error:\x20'+_0x17da0c[_0x4b9b13(0x189)]);return await _0x17da0c[_0x4b9b13(0x190)]();}),_0x1bf852[_0x3c37d1(0x19b)][_0x3c37d1(0x193)](_0x3c37d1(0x197),async()=>{const _0x20e770=_0x3c37d1;if(!_0x1bf852[_0x20e770(0x179)]()[_0x20e770(0x18c)]('ADMIN')&&!_0x1bf852[_0x20e770(0x179)]()[_0x20e770(0x18c)](_0x20e770(0x17f))&&!_0x1bf852[_0x20e770(0x179)]()[_0x20e770(0x18c)]('SUPPLIER_READ'))throw new Error(_0x20e770(0x181));const _0x18e804=await fetch(''+API_BASE);if(!_0x18e804['ok'])throw new Error(_0x20e770(0x18d)+_0x18e804[_0x20e770(0x189)]);return await _0x18e804[_0x20e770(0x190)]();}),_0x1bf852[_0x3c37d1(0x19b)][_0x3c37d1(0x193)](_0x3c37d1(0x19d),async _0x26e303=>{const _0xb82c77=_0x3c37d1;if(!_0x1bf852['getCurrentUser']()[_0xb82c77(0x18c)](_0xb82c77(0x17e))&&!_0x1bf852[_0xb82c77(0x179)]()[_0xb82c77(0x18c)](_0xb82c77(0x17f))&&!_0x1bf852[_0xb82c77(0x179)]()[_0xb82c77(0x18c)]('SUPPLIER_READ'))throw new Error('300002:\x20Action\x20not\x20allowed.');const _0x505244=await fetch(API_BASE+_0xb82c77(0x17d),{'method':_0xb82c77(0x195),'headers':{'Content-Type':_0xb82c77(0x18f)},'body':JSON[_0xb82c77(0x178)](_0x26e303)});if(!_0x505244['ok'])throw new Error('API\x20Error:\x20'+_0x505244[_0xb82c77(0x189)]);return await _0x505244[_0xb82c77(0x190)]();}),_0x1bf852['events']['onRequest'](_0x3c37d1(0x191),async _0x54f67d=>{const _0x7bc191=_0x3c37d1;if(!_0x1bf852[_0x7bc191(0x179)]()['hasPermission'](_0x7bc191(0x17e))&&!_0x1bf852[_0x7bc191(0x179)]()['hasPermission'](_0x7bc191(0x17f))&&!_0x1bf852['getCurrentUser']()[_0x7bc191(0x18c)](_0x7bc191(0x175)))throw new Error(_0x7bc191(0x198));const {where:_0x596bf2,..._0x27d68a}=_0x54f67d,_0x3396ca=await fetch(API_BASE+'/'+_0x596bf2['id'],{'method':_0x7bc191(0x19c),'headers':{'Content-Type':_0x7bc191(0x18f)},'body':JSON[_0x7bc191(0x178)](_0x27d68a)});if(!_0x3396ca['ok'])throw new Error(_0x7bc191(0x18d)+_0x3396ca[_0x7bc191(0x189)]);return await _0x3396ca['json']();}),_0x1bf852['events']['on'](_0x3c37d1(0x196),async({id:_0x9f45c1})=>{const _0x297305=_0x3c37d1;if(!_0x1bf852['getCurrentUser']()['hasPermission']('ADMIN')&&!_0x1bf852[_0x297305(0x179)]()[_0x297305(0x18c)](_0x297305(0x17f))&&!_0x1bf852[_0x297305(0x179)]()['hasPermission'](_0x297305(0x182)))throw new Error(_0x297305(0x194));const _0x52e13a=await fetch(API_BASE+'/'+_0x9f45c1,{'method':_0x297305(0x17a)});if(!_0x52e13a['ok']&&_0x52e13a[_0x297305(0x180)]!==0xcc)throw new Error(_0x297305(0x18d)+_0x52e13a['statusText']);});}function a22_0x1612(){const _0x188529=['8ddHKAm','/search','ADMIN','SUPPLIER_ALL','status','300002:\x20Action\x20not\x20allowed.','SUPPLIER_DELETED','665SSWqPX','9270htWLMt','287842MkVGjE','3960RFTWPJ','supplier.created','supplier','statusText','SUPPLIER_CREATED','1108840oEOoqB','hasPermission','API\x20Error:\x20','300001:\x20Action\x20not\x20allowed.','application/json','json','supplier.updated','540309LyHDtL','onRequest','300004:\x20Action\x20not\x20allowed.','POST','supplier.deleted','supplier.read.all','300003:\x20Action\x20not\x20allowed.','142385oEbumu','1224pOoszK','events','PUT','supplier.read.some','SUPPLIER_UPDATED','http://localhost:5001/suppliers','supplier.read','stringify','getCurrentUser','DELETE','198429DmVNBE'];a22_0x1612=function(){return _0x188529;};return a22_0x1612();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x1755fb,_0x3744b6){const _0x528bd0=a23_0x156b,_0xd335b3=_0x1755fb();while(!![]){try{const _0x4961d6=-parseInt(_0x528bd0(0xce))/0x1+parseInt(_0x528bd0(0xb4))/0x2+-parseInt(_0x528bd0(0xcb))/0x3*(-parseInt(_0x528bd0(0xb7))/0x4)+-parseInt(_0x528bd0(0xc0))/0x5+parseInt(_0x528bd0(0xcd))/0x6+parseInt(_0x528bd0(0xcc))/0x7*(parseInt(_0x528bd0(0xae))/0x8)+parseInt(_0x528bd0(0xca))/0x9*(parseInt(_0x528bd0(0xc2))/0xa);if(_0x4961d6===_0x3744b6)break;else _0xd335b3['push'](_0xd335b3['shift']());}catch(_0xe2619f){_0xd335b3['push'](_0xd335b3['shift']());}}}(a23_0x40be,0xb1b73));function a23_0x156b(_0x294595,_0x2f9341){_0x294595=_0x294595-0xae;const _0x40beea=a23_0x40be();let _0x156bec=_0x40beea[_0x294595];return _0x156bec;}function a23_0x40be(){const _0x6ed813=['647096ouThyV','TAX_READ','onRequest','tax.deleted','TAX_CREATED','DELETE','847126PUeIHN','POST','ADMIN','52wBLVFN','status','TAX_ALL','tax.read.some','stringify','getCurrentUser','tax.read.all','PUT','hasPermission','5738510xJTEDo','tax','10vHiydD','application/json','TAX_UPDATED','500003:\x20Action\x20not\x20allowed.','API\x20Error:\x20','events','500002:\x20Action\x20not\x20allowed.','statusText','3008295nSbXsS','239466chwfAo','21QbrHEa','2559714jeFXZv','589159CSbcHh','json','tax.updated'];a23_0x40be=function(){return _0x6ed813;};return a23_0x40be();}const API_BASE='http://localhost:5001/taxes';export default function bindTaxEvents(_0x21d2f9){const _0x5e4a31=a23_0x156b;_0x21d2f9[_0x5e4a31(0xc7)]['onRequest']('tax.created',async _0x14d83d=>{const _0x4092c3=_0x5e4a31;if(!_0x21d2f9[_0x4092c3(0xbc)]()['hasPermission'](_0x4092c3(0xb6))&&!_0x21d2f9['getCurrentUser']()[_0x4092c3(0xbf)](_0x4092c3(0xb9))&&!_0x21d2f9[_0x4092c3(0xbc)]()[_0x4092c3(0xbf)](_0x4092c3(0xb2)))throw new Error('500001:\x20Action\x20not\x20allowed.');const _0x2b325e=await fetch(''+API_BASE,{'method':_0x4092c3(0xb5),'headers':{'Content-Type':'application/json'},'body':JSON[_0x4092c3(0xbb)](_0x14d83d[_0x4092c3(0xc1)])});if(!_0x2b325e['ok'])throw new Error(_0x4092c3(0xc6)+_0x2b325e['statusText']);const _0x47006f=await _0x2b325e[_0x4092c3(0xcf)]();return _0x47006f['id'];}),_0x21d2f9['events'][_0x5e4a31(0xb0)]('tax.read',async({id:_0x9a7416})=>{const _0x29bc2a=_0x5e4a31;if(!_0x21d2f9[_0x29bc2a(0xbc)]()[_0x29bc2a(0xbf)](_0x29bc2a(0xb6))&&!_0x21d2f9[_0x29bc2a(0xbc)]()[_0x29bc2a(0xbf)](_0x29bc2a(0xb9))&&!_0x21d2f9['getCurrentUser']()[_0x29bc2a(0xbf)](_0x29bc2a(0xaf)))throw new Error(_0x29bc2a(0xc8));const _0x4c3c24=await fetch(API_BASE+'/'+_0x9a7416);if(!_0x4c3c24['ok'])throw new Error(_0x29bc2a(0xc6)+_0x4c3c24['statusText']);return await _0x4c3c24[_0x29bc2a(0xcf)]();}),_0x21d2f9[_0x5e4a31(0xc7)]['onRequest'](_0x5e4a31(0xbd),async()=>{const _0x29e722=_0x5e4a31;if(!_0x21d2f9[_0x29e722(0xbc)]()['hasPermission'](_0x29e722(0xb6))&&!_0x21d2f9[_0x29e722(0xbc)]()['hasPermission'](_0x29e722(0xb9))&&!_0x21d2f9[_0x29e722(0xbc)]()[_0x29e722(0xbf)](_0x29e722(0xaf)))throw new Error(_0x29e722(0xc8));const _0x298fe3=await fetch(''+API_BASE);if(!_0x298fe3['ok'])throw new Error('API\x20Error:\x20'+_0x298fe3[_0x29e722(0xc9)]);return await _0x298fe3[_0x29e722(0xcf)]();}),_0x21d2f9[_0x5e4a31(0xc7)][_0x5e4a31(0xb0)](_0x5e4a31(0xba),async _0x3f9ca5=>{const _0x2dab76=_0x5e4a31;if(!_0x21d2f9[_0x2dab76(0xbc)]()[_0x2dab76(0xbf)](_0x2dab76(0xb6))&&!_0x21d2f9['getCurrentUser']()[_0x2dab76(0xbf)](_0x2dab76(0xb9))&&!_0x21d2f9[_0x2dab76(0xbc)]()[_0x2dab76(0xbf)](_0x2dab76(0xaf)))throw new Error(_0x2dab76(0xc8));const _0x5ca125=await fetch(API_BASE+'/search',{'method':_0x2dab76(0xb5),'headers':{'Content-Type':_0x2dab76(0xc3)},'body':JSON['stringify'](_0x3f9ca5)});if(!_0x5ca125['ok'])throw new Error(_0x2dab76(0xc6)+_0x5ca125['statusText']);return await _0x5ca125[_0x2dab76(0xcf)]();}),_0x21d2f9[_0x5e4a31(0xc7)][_0x5e4a31(0xb0)](_0x5e4a31(0xd0),async _0x21cea5=>{const _0x16b54f=_0x5e4a31;if(!_0x21d2f9[_0x16b54f(0xbc)]()['hasPermission']('ADMIN')&&!_0x21d2f9['getCurrentUser']()['hasPermission'](_0x16b54f(0xb9))&&!_0x21d2f9[_0x16b54f(0xbc)]()[_0x16b54f(0xbf)](_0x16b54f(0xc4)))throw new Error(_0x16b54f(0xc5));const {where:_0x52e31a,..._0x279242}=_0x21cea5,_0xd2bbd4=await fetch(API_BASE+'/'+_0x52e31a['id'],{'method':_0x16b54f(0xbe),'headers':{'Content-Type':_0x16b54f(0xc3)},'body':JSON['stringify'](_0x279242)});if(!_0xd2bbd4['ok'])throw new Error(_0x16b54f(0xc6)+_0xd2bbd4[_0x16b54f(0xc9)]);return await _0xd2bbd4[_0x16b54f(0xcf)]();}),_0x21d2f9[_0x5e4a31(0xc7)]['on'](_0x5e4a31(0xb1),async({id:_0x360dd4})=>{const _0x1355c8=_0x5e4a31;if(!_0x21d2f9[_0x1355c8(0xbc)]()[_0x1355c8(0xbf)](_0x1355c8(0xb6))&&!_0x21d2f9[_0x1355c8(0xbc)]()[_0x1355c8(0xbf)](_0x1355c8(0xb9))&&!_0x21d2f9[_0x1355c8(0xbc)]()[_0x1355c8(0xbf)]('TAX_DELETED'))throw new Error('500004:\x20Action\x20not\x20allowed.');const _0x1a36e6=await fetch(API_BASE+'/'+_0x360dd4,{'method':_0x1355c8(0xb3)});if(!_0x1a36e6['ok']&&_0x1a36e6[_0x1355c8(0xb8)]!==0xcc)throw new Error('API\x20Error:\x20'+_0x1a36e6[_0x1355c8(0xc9)]);});}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
const a24_0x5390ad=a24_0x58f8;(function(_0xd8c818,_0x3f490f){const _0xfc4eb9=a24_0x58f8,_0x4ac33b=_0xd8c818();while(!![]){try{const _0x1db543=-parseInt(_0xfc4eb9(0x127))/0x1*(-parseInt(_0xfc4eb9(0x126))/0x2)+parseInt(_0xfc4eb9(0x11b))/0x3*(-parseInt(_0xfc4eb9(0x13b))/0x4)+-parseInt(_0xfc4eb9(0x11e))/0x5*(-parseInt(_0xfc4eb9(0x133))/0x6)+parseInt(_0xfc4eb9(0x119))/0x7*(parseInt(_0xfc4eb9(0x121))/0x8)+-parseInt(_0xfc4eb9(0x130))/0x9+-parseInt(_0xfc4eb9(0x128))/0xa*(parseInt(_0xfc4eb9(0x139))/0xb)+-parseInt(_0xfc4eb9(0x138))/0xc;if(_0x1db543===_0x3f490f)break;else _0x4ac33b['push'](_0x4ac33b['shift']());}catch(_0x247a4e){_0x4ac33b['push'](_0x4ac33b['shift']());}}}(a24_0x3102,0xc0067));function a24_0x58f8(_0x35c112,_0x39a92a){_0x35c112=_0x35c112-0x114;const _0x3102a0=a24_0x3102();let _0x58f88a=_0x3102a0[_0x35c112];return _0x58f88a;}const API_BASE=a24_0x5390ad(0x12f);function a24_0x3102(){const _0x14aade=['json','1170oToYHJ','user.created','PUT','API\x20Error:\x20','onRequest','354036Afamxa','2798961mnCeXW','getCurrentUser','3903384PuixIC','events','user.login','stringify','user.read.some','100004:\x20Action\x20not\x20allowed.','USER_ALL','status','authorizations','DELETE','9423211koWsbm','/login','3hvbBSU','user.updated','ADMIN','23990fcuasN','user.read.all','user.deleted','8FEYGgt','hasPermission','application/json','statusText','100001:\x20Action\x20not\x20allowed.','5182SZVuSE','27xJQWIw','10qijoVg','USER_CREATED','USER_DELETED','USER_READ','from','100002:\x20Action\x20not\x20allowed.','POST','http://localhost:5001/users','2748645Ykhuhw','/search'];a24_0x3102=function(){return _0x14aade;};return a24_0x3102();}export default function bindUserEvents(_0x4accbf){const _0xcda6a=a24_0x5390ad;_0x4accbf[_0xcda6a(0x13c)]['onRequest'](_0xcda6a(0x13d),async _0x502d88=>{const _0x3903ef=_0xcda6a,_0x1eb70a=await fetch(API_BASE+_0x3903ef(0x11a),{'method':'POST','headers':{'Content-Type':_0x3903ef(0x123)},'body':JSON[_0x3903ef(0x13e)](_0x502d88)});if(!_0x1eb70a['ok'])throw new Error(_0x3903ef(0x136)+_0x1eb70a[_0x3903ef(0x124)]);return await _0x1eb70a[_0x3903ef(0x132)]();}),_0x4accbf['events'][_0xcda6a(0x137)](_0xcda6a(0x134),async({user:_0xfc40e4})=>{const _0x2bb674=_0xcda6a;if(!_0x4accbf[_0x2bb674(0x13a)]()[_0x2bb674(0x122)](_0x2bb674(0x11d))&&!_0x4accbf[_0x2bb674(0x13a)]()['hasPermission'](_0x2bb674(0x115))&&!_0x4accbf[_0x2bb674(0x13a)]()[_0x2bb674(0x122)](_0x2bb674(0x129)))throw new Error(_0x2bb674(0x125));const _0x58a1=await fetch(''+API_BASE,{'method':_0x2bb674(0x12e),'headers':{'Content-Type':_0x2bb674(0x123)},'body':JSON[_0x2bb674(0x13e)]({'email':_0xfc40e4['email']??null,'password':_0xfc40e4['password']??null,'authorizations':Array[_0x2bb674(0x12c)](_0xfc40e4[_0x2bb674(0x117)]??[])})});if(!_0x58a1['ok'])throw new Error('API\x20Error:\x20'+_0x58a1[_0x2bb674(0x124)]);const _0x2a8e78=await _0x58a1[_0x2bb674(0x132)]();return _0x2a8e78['id'];}),_0x4accbf['events'][_0xcda6a(0x137)]('user.read',async({id:_0x1e4a20})=>{const _0x2eca85=_0xcda6a;if(!_0x4accbf['getCurrentUser']()[_0x2eca85(0x122)](_0x2eca85(0x11d))&&!_0x4accbf['getCurrentUser']()[_0x2eca85(0x122)](_0x2eca85(0x115))&&!_0x4accbf[_0x2eca85(0x13a)]()[_0x2eca85(0x122)](_0x2eca85(0x12b)))throw new Error(_0x2eca85(0x12d));const _0x2f04a7=await fetch(API_BASE+'/'+_0x1e4a20);if(!_0x2f04a7['ok'])throw new Error(_0x2eca85(0x136)+_0x2f04a7[_0x2eca85(0x124)]);return await _0x2f04a7[_0x2eca85(0x132)]();}),_0x4accbf[_0xcda6a(0x13c)]['onRequest'](_0xcda6a(0x11f),async()=>{const _0x306293=_0xcda6a;if(!_0x4accbf['getCurrentUser']()['hasPermission'](_0x306293(0x11d))&&!_0x4accbf['getCurrentUser']()['hasPermission'](_0x306293(0x115))&&!_0x4accbf[_0x306293(0x13a)]()[_0x306293(0x122)](_0x306293(0x12b)))throw new Error('100002:\x20Action\x20not\x20allowed.');const _0x12bf3a=await fetch(''+API_BASE);if(!_0x12bf3a['ok'])throw new Error(_0x306293(0x136)+_0x12bf3a['statusText']);return await _0x12bf3a[_0x306293(0x132)]();}),_0x4accbf[_0xcda6a(0x13c)]['onRequest'](_0xcda6a(0x13f),async _0x83a6ed=>{const _0x14a747=_0xcda6a;if(!_0x4accbf[_0x14a747(0x13a)]()['hasPermission'](_0x14a747(0x11d))&&!_0x4accbf[_0x14a747(0x13a)]()[_0x14a747(0x122)](_0x14a747(0x115))&&!_0x4accbf[_0x14a747(0x13a)]()[_0x14a747(0x122)](_0x14a747(0x12b)))throw new Error(_0x14a747(0x12d));const _0x1e1c27=await fetch(API_BASE+_0x14a747(0x131),{'method':'POST','headers':{'Content-Type':_0x14a747(0x123)},'body':JSON[_0x14a747(0x13e)](_0x83a6ed)});if(!_0x1e1c27['ok'])throw new Error('API\x20Error:\x20'+_0x1e1c27[_0x14a747(0x124)]);return await _0x1e1c27[_0x14a747(0x132)]();}),_0x4accbf[_0xcda6a(0x13c)][_0xcda6a(0x137)](_0xcda6a(0x11c),async _0x160176=>{const _0x4ef1c1=_0xcda6a;if(!_0x4accbf[_0x4ef1c1(0x13a)]()[_0x4ef1c1(0x122)](_0x4ef1c1(0x11d))&&!_0x4accbf[_0x4ef1c1(0x13a)]()[_0x4ef1c1(0x122)](_0x4ef1c1(0x115))&&!_0x4accbf[_0x4ef1c1(0x13a)]()[_0x4ef1c1(0x122)]('USER_UPDATED'))throw new Error('100003:\x20Action\x20not\x20allowed.');const {where:_0x5c6971,..._0x2a6124}=_0x160176,_0x609ab2=await fetch(API_BASE+'/'+_0x5c6971['id'],{'method':_0x4ef1c1(0x135),'headers':{'Content-Type':'application/json'},'body':JSON[_0x4ef1c1(0x13e)](_0x2a6124)});if(!_0x609ab2['ok'])throw new Error(_0x4ef1c1(0x136)+_0x609ab2['statusText']);return await _0x609ab2[_0x4ef1c1(0x132)]();}),_0x4accbf[_0xcda6a(0x13c)]['on'](_0xcda6a(0x120),async({id:_0x3223b9})=>{const _0xb0d720=_0xcda6a;if(!_0x4accbf[_0xb0d720(0x13a)]()['hasPermission'](_0xb0d720(0x11d))&&!_0x4accbf['getCurrentUser']()[_0xb0d720(0x122)]('USER_ALL')&&!_0x4accbf[_0xb0d720(0x13a)]()[_0xb0d720(0x122)](_0xb0d720(0x12a)))throw new Error(_0xb0d720(0x114));const _0x551bed=await fetch(API_BASE+'/'+_0x3223b9,{'method':_0xb0d720(0x118)});if(!_0x551bed['ok']&&_0x551bed[_0xb0d720(0x116)]!==0xcc)throw new Error(_0xb0d720(0x136)+_0x551bed[_0xb0d720(0x124)]);});}
|
package/dist/entities/Client.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x3ae5db,_0x20b0a7){var _0x4271e8=a28_0x2db3,_0x59b695=_0x3ae5db();while(!![]){try{var _0x2e0967=-parseInt(_0x4271e8(0x1f0))/0x1+parseInt(_0x4271e8(0x1f1))/0x2*(parseInt(_0x4271e8(0x1f2))/0x3)+parseInt(_0x4271e8(0x1f4))/0x4*(-parseInt(_0x4271e8(0x1f3))/0x5)+-parseInt(_0x4271e8(0x1f6))/0x6+parseInt(_0x4271e8(0x1f7))/0x7+-parseInt(_0x4271e8(0x1f8))/0x8*(-parseInt(_0x4271e8(0x1f9))/0x9)+parseInt(_0x4271e8(0x1f5))/0xa;if(_0x2e0967===_0x20b0a7)break;else _0x59b695['push'](_0x59b695['shift']());}catch(_0x3e4f96){_0x59b695['push'](_0x59b695['shift']());}}}(a28_0x2a59,0x21203));import{Entity}from'../core/Entity.js';function a28_0x2db3(_0x4b651e,_0x40f238){_0x4b651e=_0x4b651e-0x1f0;var _0x2a59c3=a28_0x2a59();var _0x2db364=_0x2a59c3[_0x4b651e];return _0x2db364;}export class Client extends Entity{constructor(_0x230c5b,_0x3e7f54){super(_0x230c5b),Object['assign'](this,_0x3e7f54);}}function a28_0x2a59(){var _0x3f531f=['8IGPfjX','1579400sisENF','320838FSkSJA','607544rczQWc','2216cyVunY','2187qaikQn','163834YgbFYu','214ALszZr','6189KAGnjD','449485nLBfSF'];a28_0x2a59=function(){return _0x3f531f;};return a28_0x2a59();}
|
package/dist/entities/Item.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function a29_0x3d9b(){var _0x20ec4e=['2501488gWHWIN','8935656pYvAci','4kPgQLK','assign','10muyLow','370njtjJX','7KgrXlG','7050858RHpzEb','1072092lXtzdb','2157yfdYtb','7418305oUjjCd','11691072HxEyMi'];a29_0x3d9b=function(){return _0x20ec4e;};return a29_0x3d9b();}(function(_0x2d42cb,_0x178377){var _0x2e90b1=a29_0x1724,_0x4f4d6d=_0x2d42cb();while(!![]){try{var _0x5304bf=parseInt(_0x2e90b1(0x185))/0x1*(parseInt(_0x2e90b1(0x18d))/0x2)+parseInt(_0x2e90b1(0x184))/0x3*(parseInt(_0x2e90b1(0x18a))/0x4)+parseInt(_0x2e90b1(0x186))/0x5+parseInt(_0x2e90b1(0x18f))/0x6*(parseInt(_0x2e90b1(0x18e))/0x7)+-parseInt(_0x2e90b1(0x189))/0x8+-parseInt(_0x2e90b1(0x187))/0x9+-parseInt(_0x2e90b1(0x18c))/0xa*(parseInt(_0x2e90b1(0x188))/0xb);if(_0x5304bf===_0x178377)break;else _0x4f4d6d['push'](_0x4f4d6d['shift']());}catch(_0x5169e3){_0x4f4d6d['push'](_0x4f4d6d['shift']());}}}(a29_0x3d9b,0xbc700));function a29_0x1724(_0x2b425c,_0x3eb62d){_0x2b425c=_0x2b425c-0x184;var _0x3d9bb6=a29_0x3d9b();var _0x1724e7=_0x3d9bb6[_0x2b425c];return _0x1724e7;}import{Entity}from'../core/Entity.js';export class Item extends Entity{constructor(_0x586540,_0x1bb9af){var _0x5071e8=a29_0x1724;super(_0x586540),Object[_0x5071e8(0x18b)](this,_0x1bb9af);}}
|
package/dist/entities/Order.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x153878,_0x91de14){var _0x1c1fd4=a30_0x4cc8,_0x29ac9a=_0x153878();while(!![]){try{var _0x2573e8=-parseInt(_0x1c1fd4(0x17c))/0x1*(parseInt(_0x1c1fd4(0x17e))/0x2)+parseInt(_0x1c1fd4(0x179))/0x3+parseInt(_0x1c1fd4(0x17f))/0x4+-parseInt(_0x1c1fd4(0x17b))/0x5+parseInt(_0x1c1fd4(0x17d))/0x6+-parseInt(_0x1c1fd4(0x17a))/0x7+-parseInt(_0x1c1fd4(0x178))/0x8*(-parseInt(_0x1c1fd4(0x180))/0x9);if(_0x2573e8===_0x91de14)break;else _0x29ac9a['push'](_0x29ac9a['shift']());}catch(_0x358170){_0x29ac9a['push'](_0x29ac9a['shift']());}}}(a30_0x4ae9,0x327b9));function a30_0x4cc8(_0x13b1b9,_0x309ef3){_0x13b1b9=_0x13b1b9-0x178;var _0x4ae932=a30_0x4ae9();var _0x4cc8c8=_0x4ae932[_0x13b1b9];return _0x4cc8c8;}import{Entity}from'../core/Entity.js';function a30_0x4ae9(){var _0x22786f=['974124GCvDSE','36IKkJlz','128008BTjFAJ','1099599QRjtnO','624575ezadoB','1730660firzmj','86HjaSpk','1273836zRKlcY','5680URHSjf'];a30_0x4ae9=function(){return _0x22786f;};return a30_0x4ae9();}export class Order extends Entity{constructor(_0x1c2a1d,_0x28f9ce){super(_0x1c2a1d),Object['assign'](this,_0x28f9ce);}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x560972,_0x5768df){var _0x41641a=a31_0x2966,_0x5b516c=_0x560972();while(!![]){try{var _0x40a515=parseInt(_0x41641a(0x13f))/0x1+-parseInt(_0x41641a(0x139))/0x2+parseInt(_0x41641a(0x137))/0x3*(parseInt(_0x41641a(0x13d))/0x4)+-parseInt(_0x41641a(0x138))/0x5+-parseInt(_0x41641a(0x13e))/0x6+parseInt(_0x41641a(0x13a))/0x7*(-parseInt(_0x41641a(0x135))/0x8)+parseInt(_0x41641a(0x136))/0x9*(parseInt(_0x41641a(0x13b))/0xa);if(_0x40a515===_0x5768df)break;else _0x5b516c['push'](_0x5b516c['shift']());}catch(_0x2e48ed){_0x5b516c['push'](_0x5b516c['shift']());}}}(a31_0x4334,0xd50d3));function a31_0x2966(_0x1f62f5,_0x5eabbf){_0x1f62f5=_0x1f62f5-0x135;var _0x4334dc=a31_0x4334();var _0x29669b=_0x4334dc[_0x1f62f5];return _0x29669b;}import{Entity}from'../core/Entity.js';export class Preparation extends Entity{constructor(_0x1f5464,_0x19ab6c){var _0x3fed85=a31_0x2966;super(_0x1f5464),Object[_0x3fed85(0x13c)](this,_0x19ab6c);}}function a31_0x4334(){var _0x298d61=['10YBQfPE','assign','244AVPHBp','383028UjoYyA','1105117aELkuy','362328OwfiTH','26883288jkxFfm','13521GQYQsc','7875260PWxUAe','993594jiXMmi','210KNvoNF'];a31_0x4334=function(){return _0x298d61;};return a31_0x4334();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x49ef34,_0x28a9ec){var _0x72aa75=a32_0x5e22,_0x2d7ab3=_0x49ef34();while(!![]){try{var _0x126928=-parseInt(_0x72aa75(0x1ac))/0x1*(-parseInt(_0x72aa75(0x1ab))/0x2)+parseInt(_0x72aa75(0x1ae))/0x3*(-parseInt(_0x72aa75(0x1b3))/0x4)+parseInt(_0x72aa75(0x1ad))/0x5*(parseInt(_0x72aa75(0x1b5))/0x6)+-parseInt(_0x72aa75(0x1b1))/0x7+parseInt(_0x72aa75(0x1b2))/0x8*(-parseInt(_0x72aa75(0x1b4))/0x9)+-parseInt(_0x72aa75(0x1af))/0xa+parseInt(_0x72aa75(0x1b0))/0xb;if(_0x126928===_0x28a9ec)break;else _0x2d7ab3['push'](_0x2d7ab3['shift']());}catch(_0x137b2d){_0x2d7ab3['push'](_0x2d7ab3['shift']());}}}(a32_0x5747,0xd2fac));function a32_0x5747(){var _0x2c3b3f=['376MNEChI','1096fnaXww','312939uBiokp','344028AhMsgq','27992soetKP','33NWYoLC','140qvOwqb','14901VHJjpe','5187390IxJSkT','34343265tHKlyK','5679387bOrgat'];a32_0x5747=function(){return _0x2c3b3f;};return a32_0x5747();}import{Entity}from'../core/Entity.js';function a32_0x5e22(_0x176cfe,_0x32478b){_0x176cfe=_0x176cfe-0x1ab;var _0x57476f=a32_0x5747();var _0x5e226e=_0x57476f[_0x176cfe];return _0x5e226e;}export class Purchase extends Entity{constructor(_0x70f83b,_0xa3f7dd){super(_0x70f83b),Object['assign'](this,_0xa3f7dd);}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function a33_0x6eb6(_0x1eefaf,_0x1f8709){_0x1eefaf=_0x1eefaf-0x132;var _0x47cdb5=a33_0x47cd();var _0x6eb612=_0x47cdb5[_0x1eefaf];return _0x6eb612;}(function(_0x20fa32,_0x42f696){var _0x55d2cf=a33_0x6eb6,_0x10f72a=_0x20fa32();while(!![]){try{var _0x116eb0=parseInt(_0x55d2cf(0x13d))/0x1*(parseInt(_0x55d2cf(0x136))/0x2)+parseInt(_0x55d2cf(0x13c))/0x3*(parseInt(_0x55d2cf(0x137))/0x4)+-parseInt(_0x55d2cf(0x134))/0x5+-parseInt(_0x55d2cf(0x133))/0x6*(parseInt(_0x55d2cf(0x138))/0x7)+-parseInt(_0x55d2cf(0x135))/0x8+-parseInt(_0x55d2cf(0x13a))/0x9*(parseInt(_0x55d2cf(0x132))/0xa)+parseInt(_0x55d2cf(0x13b))/0xb*(parseInt(_0x55d2cf(0x139))/0xc);if(_0x116eb0===_0x42f696)break;else _0x10f72a['push'](_0x10f72a['shift']());}catch(_0x2556d2){_0x10f72a['push'](_0x10f72a['shift']());}}}(a33_0x47cd,0xc931e));function a33_0x47cd(){var _0x59c4ac=['6466485NNhDal','6998344jHEQyp','1898608pqodKz','16ljiXUp','687512vtfTFz','438276oLAodb','9yPsCpp','803GmPZIS','339723YkEevu','1FazBMI','9780470hvDeko','6UCuvCk'];a33_0x47cd=function(){return _0x59c4ac;};return a33_0x47cd();}import{Entity}from'../core/Entity.js';export class Reception extends Entity{constructor(_0x323f5e,_0x16353f){super(_0x323f5e),Object['assign'](this,_0x16353f);}}
|
package/dist/entities/Stock.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x2ae6a4,_0x448853){var _0x5e1c8f=a34_0x5219,_0x202152=_0x2ae6a4();while(!![]){try{var _0x22394a=-parseInt(_0x5e1c8f(0x1be))/0x1+-parseInt(_0x5e1c8f(0x1c3))/0x2+parseInt(_0x5e1c8f(0x1bd))/0x3+-parseInt(_0x5e1c8f(0x1bc))/0x4*(parseInt(_0x5e1c8f(0x1c0))/0x5)+parseInt(_0x5e1c8f(0x1c2))/0x6+-parseInt(_0x5e1c8f(0x1bb))/0x7*(-parseInt(_0x5e1c8f(0x1bf))/0x8)+-parseInt(_0x5e1c8f(0x1c1))/0x9;if(_0x22394a===_0x448853)break;else _0x202152['push'](_0x202152['shift']());}catch(_0x2a061d){_0x202152['push'](_0x202152['shift']());}}}(a34_0x2aaa,0xb7825));function a34_0x5219(_0x575a84,_0x3ac201){_0x575a84=_0x575a84-0x1bb;var _0x2aaa87=a34_0x2aaa();var _0x521994=_0x2aaa87[_0x575a84];return _0x521994;}import{Entity}from'../core/Entity.js';export class Stock extends Entity{constructor(_0x4cbe43,_0x300912){super(_0x4cbe43),Object['assign'](this,_0x300912);}}function a34_0x2aaa(){var _0x1cf151=['4437387drXEqf','517728fhZRPK','12784lkNvtP','2221790FwWftD','6429609AlmtcP','4929726FAslfg','978876YdvkbK','2702YRViAz','4fttTsP'];a34_0x2aaa=function(){return _0x1cf151;};return a34_0x2aaa();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a35_0x3172(_0x3359bd,_0x21f8ea){_0x3359bd=_0x3359bd-0xf8;var _0x5d8d2d=a35_0x5d8d();var _0x3172b3=_0x5d8d2d[_0x3359bd];return _0x3172b3;}function a35_0x5d8d(){var _0x4591b3=['1YqJHyn','assign','19580769aKtUSY','3999680NlYTGI','1181006MNeOwy','3199385EkdzOd','63OamXsP','1290288nUxstg','479286RbklcX','1053213hMdOjf'];a35_0x5d8d=function(){return _0x4591b3;};return a35_0x5d8d();}(function(_0x2e41a8,_0x45f83b){var _0x40a733=a35_0x3172,_0x2a4284=_0x2e41a8();while(!![]){try{var _0x428fe2=-parseInt(_0x40a733(0xff))/0x1*(parseInt(_0x40a733(0xf9))/0x2)+parseInt(_0x40a733(0xfe))/0x3+parseInt(_0x40a733(0xfc))/0x4+-parseInt(_0x40a733(0xfa))/0x5+parseInt(_0x40a733(0xfd))/0x6*(-parseInt(_0x40a733(0xfb))/0x7)+-parseInt(_0x40a733(0xf8))/0x8+parseInt(_0x40a733(0x101))/0x9;if(_0x428fe2===_0x45f83b)break;else _0x2a4284['push'](_0x2a4284['shift']());}catch(_0x550aa9){_0x2a4284['push'](_0x2a4284['shift']());}}}(a35_0x5d8d,0x61a8f));import{Entity}from'../core/Entity.js';export class Supplier extends Entity{constructor(_0x509b43,_0x508e89){var _0x5be0f0=a35_0x3172;super(_0x509b43),Object[_0x5be0f0(0x100)](this,_0x508e89);}}
|
package/dist/entities/Tax.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function a36_0x1067(_0x41954a,_0x2a13c6){_0x41954a=_0x41954a-0x1a7;var _0x3b6aac=a36_0x3b6a();var _0x106780=_0x3b6aac[_0x41954a];return _0x106780;}(function(_0x1a4686,_0x10aa18){var _0x656dd=a36_0x1067,_0x35996c=_0x1a4686();while(!![]){try{var _0x4df052=parseInt(_0x656dd(0x1b0))/0x1+parseInt(_0x656dd(0x1ab))/0x2+parseInt(_0x656dd(0x1ae))/0x3+-parseInt(_0x656dd(0x1ad))/0x4+-parseInt(_0x656dd(0x1af))/0x5*(-parseInt(_0x656dd(0x1a9))/0x6)+parseInt(_0x656dd(0x1a7))/0x7+parseInt(_0x656dd(0x1aa))/0x8*(-parseInt(_0x656dd(0x1ac))/0x9);if(_0x4df052===_0x10aa18)break;else _0x35996c['push'](_0x35996c['shift']());}catch(_0x17aed2){_0x35996c['push'](_0x35996c['shift']());}}}(a36_0x3b6a,0xb5c78));import{Entity}from'../core/Entity.js';export class Tax extends Entity{constructor(_0x20eaa4,_0x46bfcd){var _0x2fd684=a36_0x1067;super(_0x20eaa4),Object[_0x2fd684(0x1a8)](this,_0x46bfcd);}}function a36_0x3b6a(){var _0x398851=['1819630LrVXvu','2436930ZEDfnS','1455516MSkLwE','2523063XqxJHP','9445ulFvmR','1363009aqzuCv','4665157JTGWEf','assign','2694kHnoKg','104HXzLdO'];a36_0x3b6a=function(){return _0x398851;};return a36_0x3b6a();}
|
package/dist/entities/User.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a37_0xddee63=a37_0x4d7a;(function(_0x8ea4d7,_0x11a2f4){var _0x4d457b=a37_0x4d7a,_0x5ac1b6=_0x8ea4d7();while(!![]){try{var _0x3c223c=parseInt(_0x4d457b(0xb6))/0x1+-parseInt(_0x4d457b(0xb5))/0x2+-parseInt(_0x4d457b(0xb1))/0x3+parseInt(_0x4d457b(0xb0))/0x4+-parseInt(_0x4d457b(0xbb))/0x5+parseInt(_0x4d457b(0xb8))/0x6*(-parseInt(_0x4d457b(0xbc))/0x7)+parseInt(_0x4d457b(0xb2))/0x8*(parseInt(_0x4d457b(0xb4))/0x9);if(_0x3c223c===_0x11a2f4)break;else _0x5ac1b6['push'](_0x5ac1b6['shift']());}catch(_0x5f150e){_0x5ac1b6['push'](_0x5ac1b6['shift']());}}}(a37_0x5b2a,0xafd34));function a37_0x4d7a(_0x64cde4,_0x2e3f6f){_0x64cde4=_0x64cde4-0xad;var _0x5b2a40=a37_0x5b2a();var _0x4d7abc=_0x5b2a40[_0x64cde4];return _0x4d7abc;}function a37_0x5b2a(){var _0x9b30b8=['ADMIN','delete','removePermission','5276740QnWBNS','3377025kMCMrG','13037288cTBOJN','has','9CdilAw','842024ENEFMI','1069830CbodfG','assign','3258WjXMqT','authorizations','hasPermission','3071120DRRZFb','14665uUWVtq'];a37_0x5b2a=function(){return _0x9b30b8;};return a37_0x5b2a();}import{Entity}from'../core/Entity.js';export class User extends Entity{constructor(_0xf08f53,_0x3b4f4e){var _0x26e63e=a37_0x4d7a;super(_0xf08f53),_0x3b4f4e[_0x26e63e(0xb9)]=_0x3b4f4e[_0x26e63e(0xb9)]?new Set(_0x3b4f4e[_0x26e63e(0xb9)]):new Set(),Object[_0x26e63e(0xb7)](this,_0x3b4f4e);}[a37_0xddee63(0xba)](_0x5b0b93){var _0x364f9f=a37_0xddee63;if(this[_0x364f9f(0xb9)][_0x364f9f(0xb3)](_0x364f9f(0xad)))return!![];return this[_0x364f9f(0xb9)][_0x364f9f(0xb3)](_0x5b0b93);}['addPermission'](_0x2a798a){var _0x5b36bc=a37_0xddee63;this[_0x5b36bc(0xb9)]['add'](_0x2a798a);}[a37_0xddee63(0xaf)](_0x2e1fc2){var _0x1edba4=a37_0xddee63;this['authorizations'][_0x1edba4(0xae)](_0x2e1fc2);}}
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x234e55,_0x26b567){var _0x1e92da=a38_0x57c2,_0x5e4437=_0x234e55();while(!![]){try{var _0x543dfb=parseInt(_0x1e92da(0x147))/0x1*(-parseInt(_0x1e92da(0x143))/0x2)+-parseInt(_0x1e92da(0x13d))/0x3*(parseInt(_0x1e92da(0x144))/0x4)+parseInt(_0x1e92da(0x145))/0x5+-parseInt(_0x1e92da(0x13f))/0x6*(parseInt(_0x1e92da(0x146))/0x7)+-parseInt(_0x1e92da(0x13e))/0x8*(-parseInt(_0x1e92da(0x140))/0x9)+-parseInt(_0x1e92da(0x13c))/0xa*(parseInt(_0x1e92da(0x142))/0xb)+parseInt(_0x1e92da(0x141))/0xc;if(_0x543dfb===_0x26b567)break;else _0x5e4437['push'](_0x5e4437['shift']());}catch(_0xb556d0){_0x5e4437['push'](_0x5e4437['shift']());}}}(a38_0x4ea4,0x5eef5));export{OWLClient}from'./owl/OWLClient.js';export*from'./core/Module.js';function a38_0x4ea4(){var _0x3ff31a=['1710nTYOjT','552EhROPH','13768KnubGQ','921972ezpKFR','63glXuBw','18919140vCqrQZ','4741yHaAIs','68500WJPZVA','16552xUTaGR','1856080DIqQTF','7XEsDmf','17lxBArI'];a38_0x4ea4=function(){return _0x3ff31a;};return a38_0x4ea4();}export*from'./entities/User.js';function a38_0x57c2(_0x33959f,_0x3b78a4){_0x33959f=_0x33959f-0x13c;var _0x4ea410=a38_0x4ea4();var _0x57c2fc=_0x4ea410[_0x33959f];return _0x57c2fc;}export*from'./entities/Client.js';export*from'./entities/Supplier.js';export*from'./entities/Item.js';export*from'./entities/Order.js';export*from'./entities/Preparation.js';export*from'./entities/Purchase.js';export*from'./entities/Reception.js';export*from'./entities/Stock.js';export*from'./entities/Tax.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a39_0x2e2338=a39_0x41ce;(function(_0x45685f,_0x2a771a){const _0x5ad6aa=a39_0x41ce,_0x240439=_0x45685f();while(!![]){try{const _0x113926=-parseInt(_0x5ad6aa(0x20a))/0x1*(-parseInt(_0x5ad6aa(0x207))/0x2)+parseInt(_0x5ad6aa(0x1f4))/0x3+parseInt(_0x5ad6aa(0x200))/0x4+parseInt(_0x5ad6aa(0x202))/0x5*(-parseInt(_0x5ad6aa(0x1f1))/0x6)+-parseInt(_0x5ad6aa(0x1f8))/0x7*(-parseInt(_0x5ad6aa(0x205))/0x8)+-parseInt(_0x5ad6aa(0x1ef))/0x9+-parseInt(_0x5ad6aa(0x1f2))/0xa;if(_0x113926===_0x2a771a)break;else _0x240439['push'](_0x240439['shift']());}catch(_0x432187){_0x240439['push'](_0x240439['shift']());}}}(a39_0x620a,0x31d91));function a39_0x41ce(_0x425279,_0x2f671a){_0x425279=_0x425279-0x1ee;const _0x620a15=a39_0x620a();let _0x41cefd=_0x620a15[_0x425279];return _0x41cefd;}import{Manager}from'../core/Manager.js';import{Client}from'../entities/Client.js';export class ClientManager extends Manager{async['fetch'](_0x3a6ede){const _0x3bac08=a39_0x41ce;try{if(!this[_0x3bac08(0x1f9)][_0x3bac08(0x1fe)]())throw new Error(_0x3bac08(0x1f0));if(this[_0x3bac08(0x20c)][_0x3bac08(0x20f)](_0x3a6ede))return this[_0x3bac08(0x20c)]['get'](_0x3a6ede);const _0x2f1a32=await this[_0x3bac08(0x1f9)][_0x3bac08(0x1fd)][_0x3bac08(0x201)]('client.read',{'id':_0x3a6ede}),_0x550262=new Client(this[_0x3bac08(0x1f9)],_0x2f1a32);return this[_0x3bac08(0x20c)]['set'](_0x3a6ede,_0x550262),this[_0x3bac08(0x1f9)][_0x3bac08(0x1fd)][_0x3bac08(0x208)](_0x3bac08(0x1f6),_0x550262),_0x550262;}catch(_0x233776){this[_0x3bac08(0x1f9)][_0x3bac08(0x1fd)][_0x3bac08(0x208)](_0x3bac08(0x1fb),{'error':_0x233776});throw _0x233776;}}async[a39_0x2e2338(0x20d)](){const _0x1e340f=a39_0x2e2338;try{if(!this[_0x1e340f(0x1f9)][_0x1e340f(0x1fe)]())throw new Error(_0x1e340f(0x1f0));const _0x42e879=await this[_0x1e340f(0x1f9)]['events'][_0x1e340f(0x201)](_0x1e340f(0x1f7),{});for(let _0x48b29c=0x0;_0x48b29c<_0x42e879[_0x1e340f(0x206)];_0x48b29c++){const _0x203953=new Client(this['owl'],_0x42e879[_0x48b29c]);this['cache'][_0x1e340f(0x203)](_0x203953['id'],_0x203953);}return this['owl'][_0x1e340f(0x1fd)]['emit'](_0x1e340f(0x1fa),this[_0x1e340f(0x20c)][_0x1e340f(0x204)]()),this['cache'][_0x1e340f(0x204)]();}catch(_0x1f3e93){this[_0x1e340f(0x1f9)][_0x1e340f(0x1fd)][_0x1e340f(0x208)](_0x1e340f(0x1fb),{'error':_0x1f3e93});throw _0x1f3e93;}}async[a39_0x2e2338(0x20b)](_0x33100e){const _0x260126=a39_0x2e2338;try{if(!this[_0x260126(0x1f9)][_0x260126(0x1fe)]())throw new Error(_0x260126(0x1f0));const _0x49acc0=await this[_0x260126(0x1f9)][_0x260126(0x1fd)][_0x260126(0x201)](_0x260126(0x1f5),_0x33100e);for(let _0x2ea267=0x0;_0x2ea267<_0x49acc0[_0x260126(0x206)];_0x2ea267++){const _0x690f78=new Client(this[_0x260126(0x1f9)],_0x49acc0[_0x2ea267]);this['cache'][_0x260126(0x203)](_0x690f78['id'],_0x690f78);}return this[_0x260126(0x1f9)][_0x260126(0x1fd)]['emit']('client.cached.some',_0x49acc0),_0x49acc0;}catch(_0x3c4673){this[_0x260126(0x1f9)][_0x260126(0x1fd)][_0x260126(0x208)](_0x260126(0x1fb),{'error':_0x3c4673});throw _0x3c4673;}}async['new'](_0x2319dd){const _0xbb2e73=a39_0x2e2338;try{if(!this[_0xbb2e73(0x1f9)][_0xbb2e73(0x1fe)]())throw new Error(_0xbb2e73(0x1f0));const _0x2dcf8=await this[_0xbb2e73(0x1f9)][_0xbb2e73(0x1fd)][_0xbb2e73(0x201)](_0xbb2e73(0x1f3),{'client':_0x2319dd});_0x2319dd['id']=_0x2dcf8;const _0x37ff52=new Client(this['owl'],_0x2319dd);return this[_0xbb2e73(0x20c)][_0xbb2e73(0x203)](_0x37ff52['id'],_0x37ff52),_0x37ff52;}catch(_0x221147){this[_0xbb2e73(0x1f9)]['events'][_0xbb2e73(0x208)](_0xbb2e73(0x1fb),{'error':_0x221147});throw _0x221147;}}async[a39_0x2e2338(0x1fc)](_0x25345b,_0x719c77){const _0x5a1ba4=a39_0x2e2338;try{if(!this[_0x5a1ba4(0x1f9)][_0x5a1ba4(0x1fe)]())throw new Error(_0x5a1ba4(0x1f0));await this['owl']['events'][_0x5a1ba4(0x201)](_0x5a1ba4(0x1ff),_0x719c77)[_0x5a1ba4(0x209)](_0x13532b=>{const _0x38e3dc=_0x5a1ba4;this[_0x38e3dc(0x20c)][_0x38e3dc(0x203)](_0x25345b,_0x13532b);});}catch(_0x4abead){this[_0x5a1ba4(0x1f9)][_0x5a1ba4(0x1fd)][_0x5a1ba4(0x208)](_0x5a1ba4(0x1fb),{'error':_0x4abead});throw _0x4abead;}}async[a39_0x2e2338(0x1ee)](_0x241214){const _0x2a6fff=a39_0x2e2338;try{if(!this[_0x2a6fff(0x1f9)]['tokenIsValide']())throw new Error(_0x2a6fff(0x1f0));await this['owl'][_0x2a6fff(0x1fd)][_0x2a6fff(0x208)](_0x2a6fff(0x20e),{'id':_0x241214}),this[_0x2a6fff(0x20c)][_0x2a6fff(0x1ee)](_0x241214);}catch(_0x35e411){this[_0x2a6fff(0x1f9)][_0x2a6fff(0x1fd)]['emit'](_0x2a6fff(0x1fb),{'error':_0x35e411});throw _0x35e411;}}}function a39_0x620a(){const _0x4a5ef9=['request','5aDsvYY','set','values','62984LFmzXE','length','4oJTdCU','emit','then','141682EcVtDI','some','cache','fetchAll','client.deleted','has','delete','3480552qHkGjF','000001:\x20Invalid\x20Token.','840198NvMrQw','4298550NwcVld','client.created','1042431IVTeWt','client.read.some','client.cached','client.read.all','301YyVkom','owl','client.cached.all','client.error','modify','events','tokenIsValide','client.updated','765652yBfJiR'];a39_0x620a=function(){return _0x4a5ef9;};return a39_0x620a();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a40_0x90f42e=a40_0x34cb;function a40_0x439d(){const _0x4d5d59=['cache','tokenIsValide','item.updated','request','2504MSSEvP','emit','item.cached','has','delete','8032860lDrgJB','values','230665wXVGcZ','owl','item.error','then','7450929gefIpP','74389FXswpS','item.deleted','429Fqkkwz','6xzWYTm','fetch','item.cached.some','fetchAll','set','144XpzmCd','length','3891ZjIdxh','000001:\x20Invalid\x20Token.','events','item.cached.all','some','get','129198OqxZJY','10BNVoHw','modify','item.created','273444IikMRh','55oFfmpz'];a40_0x439d=function(){return _0x4d5d59;};return a40_0x439d();}(function(_0x47e53e,_0x4da48b){const _0x1252d7=a40_0x34cb,_0x355eab=_0x47e53e();while(!![]){try{const _0x4196f0=-parseInt(_0x1252d7(0x129))/0x1*(-parseInt(_0x1252d7(0x10b))/0x2)+parseInt(_0x1252d7(0x112))/0x3*(parseInt(_0x1252d7(0x122))/0x4)+-parseInt(_0x1252d7(0x11d))/0x5*(parseInt(_0x1252d7(0x118))/0x6)+parseInt(_0x1252d7(0x108))/0x7*(-parseInt(_0x1252d7(0x110))/0x8)+-parseInt(_0x1252d7(0x12d))/0x9*(-parseInt(_0x1252d7(0x119))/0xa)+-parseInt(_0x1252d7(0x127))/0xb+-parseInt(_0x1252d7(0x11c))/0xc*(parseInt(_0x1252d7(0x10a))/0xd);if(_0x4196f0===_0x4da48b)break;else _0x355eab['push'](_0x355eab['shift']());}catch(_0x477964){_0x355eab['push'](_0x355eab['shift']());}}}(a40_0x439d,0x66e2a));function a40_0x34cb(_0x4fd3f3,_0x448213){_0x4fd3f3=_0x4fd3f3-0x108;const _0x439d28=a40_0x439d();let _0x34cb65=_0x439d28[_0x4fd3f3];return _0x34cb65;}import{Manager}from'../core/Manager.js';import{Item}from'../entities/Item.js';export class ItemManager extends Manager{async[a40_0x90f42e(0x10c)](_0x45fcc4){const _0x198aed=a40_0x90f42e;try{if(!this[_0x198aed(0x12a)][_0x198aed(0x11f)]())throw new Error(_0x198aed(0x113));if(this[_0x198aed(0x11e)][_0x198aed(0x125)](_0x45fcc4))return this[_0x198aed(0x11e)][_0x198aed(0x117)](_0x45fcc4);const _0xaa556c=await this[_0x198aed(0x12a)][_0x198aed(0x114)][_0x198aed(0x121)]('item.read',{'id':_0x45fcc4}),_0x198f4f=new Item(this[_0x198aed(0x12a)],_0xaa556c);return this[_0x198aed(0x11e)]['set'](_0x45fcc4,_0x198f4f),this[_0x198aed(0x12a)]['events'][_0x198aed(0x123)](_0x198aed(0x124),_0x198f4f),_0x198f4f;}catch(_0x551d92){this[_0x198aed(0x12a)][_0x198aed(0x114)][_0x198aed(0x123)](_0x198aed(0x12b),{'error':_0x551d92});throw _0x551d92;}}async[a40_0x90f42e(0x10e)](){const _0x43d256=a40_0x90f42e;try{if(!this['owl'][_0x43d256(0x11f)]())throw new Error('000001:\x20Invalid\x20Token.');const _0x493141=await this[_0x43d256(0x12a)]['events'][_0x43d256(0x121)]('item.read.all',{});for(let _0xfb1516=0x0;_0xfb1516<_0x493141[_0x43d256(0x111)];_0xfb1516++){const _0x266ae0=new Item(this['owl'],_0x493141[_0xfb1516]);this[_0x43d256(0x11e)][_0x43d256(0x10f)](_0x266ae0['id'],_0x266ae0);}return this[_0x43d256(0x12a)][_0x43d256(0x114)][_0x43d256(0x123)](_0x43d256(0x115),this[_0x43d256(0x11e)][_0x43d256(0x128)]()),this[_0x43d256(0x11e)][_0x43d256(0x128)]();}catch(_0x2c08cd){this[_0x43d256(0x12a)][_0x43d256(0x114)][_0x43d256(0x123)](_0x43d256(0x12b),{'error':_0x2c08cd});throw _0x2c08cd;}}async[a40_0x90f42e(0x116)](_0x2a6deb){const _0x9abe14=a40_0x90f42e;try{if(!this[_0x9abe14(0x12a)]['tokenIsValide']())throw new Error(_0x9abe14(0x113));const _0x24d540=await this[_0x9abe14(0x12a)][_0x9abe14(0x114)][_0x9abe14(0x121)]('item.read.some',_0x2a6deb);for(let _0x4da2d3=0x0;_0x4da2d3<_0x24d540['length'];_0x4da2d3++){const _0x344206=new Item(this['owl'],_0x24d540[_0x4da2d3]);this[_0x9abe14(0x11e)][_0x9abe14(0x10f)](_0x344206['id'],_0x344206);}return this[_0x9abe14(0x12a)][_0x9abe14(0x114)][_0x9abe14(0x123)](_0x9abe14(0x10d),_0x24d540),_0x24d540;}catch(_0x190248){this[_0x9abe14(0x12a)]['events'][_0x9abe14(0x123)](_0x9abe14(0x12b),{'error':_0x190248});throw _0x190248;}}async['new'](_0x55a0cf){const _0xdab18c=a40_0x90f42e;try{if(!this[_0xdab18c(0x12a)][_0xdab18c(0x11f)]())throw new Error(_0xdab18c(0x113));const _0x2d188e=await this[_0xdab18c(0x12a)][_0xdab18c(0x114)][_0xdab18c(0x121)](_0xdab18c(0x11b),{'item':_0x55a0cf});_0x55a0cf['id']=_0x2d188e;const _0xc2da0a=new Item(this[_0xdab18c(0x12a)],_0x55a0cf);return this[_0xdab18c(0x11e)]['set'](_0xc2da0a['id'],_0xc2da0a),_0xc2da0a;}catch(_0x45edfa){this[_0xdab18c(0x12a)][_0xdab18c(0x114)][_0xdab18c(0x123)]('item.error',{'error':_0x45edfa});throw _0x45edfa;}}async[a40_0x90f42e(0x11a)](_0x996c0a,_0x405d02){const _0x413e9d=a40_0x90f42e;try{if(!this[_0x413e9d(0x12a)][_0x413e9d(0x11f)]())throw new Error('000001:\x20Invalid\x20Token.');await this[_0x413e9d(0x12a)][_0x413e9d(0x114)][_0x413e9d(0x121)](_0x413e9d(0x120),_0x405d02)[_0x413e9d(0x12c)](_0x42c695=>{const _0x205df5=_0x413e9d;this[_0x205df5(0x11e)][_0x205df5(0x10f)](_0x996c0a,_0x42c695);});}catch(_0x94f975){this['owl'][_0x413e9d(0x114)][_0x413e9d(0x123)]('item.error',{'error':_0x94f975});throw _0x94f975;}}async[a40_0x90f42e(0x126)](_0x32b6b8){const _0x16dac3=a40_0x90f42e;try{if(!this[_0x16dac3(0x12a)][_0x16dac3(0x11f)]())throw new Error('000001:\x20Invalid\x20Token.');await this[_0x16dac3(0x12a)]['events'][_0x16dac3(0x123)](_0x16dac3(0x109),{'id':_0x32b6b8}),this[_0x16dac3(0x11e)][_0x16dac3(0x126)](_0x32b6b8);}catch(_0x137ad4){this['owl'][_0x16dac3(0x114)]['emit'](_0x16dac3(0x12b),{'error':_0x137ad4});throw _0x137ad4;}}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a41_0x315e61=a41_0x1489;function a41_0x5168(){const _0x5d688b=['values','request','delete','cache','order.created','36160cCQEZL','order.error','events','emit','2007QabZPI','tokenIsValide','430420sCBpTi','get','193966hKFtdv','modify','11SHPtQK','then','order.updated','000001:\x20Invalid\x20Token.','4019805RxWxAn','order.cached.some','1384TxHpaS','some','order.read.some','order.cached.all','fetchAll','11606PwAziJ','has','set','length','7564458cfAjUz','order.deleted','6274240nKCAhR','owl'];a41_0x5168=function(){return _0x5d688b;};return a41_0x5168();}(function(_0x11703a,_0x22a4fd){const _0x10f89d=a41_0x1489,_0x1bb6cb=_0x11703a();while(!![]){try{const _0x14c7ab=parseInt(_0x10f89d(0x1aa))/0x1*(parseInt(_0x10f89d(0x1ca))/0x2)+-parseInt(_0x10f89d(0x1ae))/0x3+-parseInt(_0x10f89d(0x1c8))/0x4+-parseInt(_0x10f89d(0x1bb))/0x5+parseInt(_0x10f89d(0x1b9))/0x6+-parseInt(_0x10f89d(0x1b5))/0x7*(-parseInt(_0x10f89d(0x1b0))/0x8)+-parseInt(_0x10f89d(0x1c6))/0x9*(-parseInt(_0x10f89d(0x1c2))/0xa);if(_0x14c7ab===_0x22a4fd)break;else _0x1bb6cb['push'](_0x1bb6cb['shift']());}catch(_0x48b3ac){_0x1bb6cb['push'](_0x1bb6cb['shift']());}}}(a41_0x5168,0xaf622));import{Manager}from'../core/Manager.js';function a41_0x1489(_0x374495,_0x32018b){_0x374495=_0x374495-0x1aa;const _0x516802=a41_0x5168();let _0x148915=_0x516802[_0x374495];return _0x148915;}import{Order}from'../entities/Order.js';export class OrderManager extends Manager{async['fetch'](_0x4abafc){const _0x325fc2=a41_0x1489;try{if(!this[_0x325fc2(0x1bc)][_0x325fc2(0x1c7)]())throw new Error(_0x325fc2(0x1ad));if(this[_0x325fc2(0x1c0)][_0x325fc2(0x1b6)](_0x4abafc))return this[_0x325fc2(0x1c0)][_0x325fc2(0x1c9)](_0x4abafc);const _0x2d8711=await this['owl'][_0x325fc2(0x1c4)][_0x325fc2(0x1be)]('order.read',{'id':_0x4abafc}),_0x5b4d8e=new Order(this[_0x325fc2(0x1bc)],_0x2d8711);return this['cache'][_0x325fc2(0x1b7)](_0x4abafc,_0x5b4d8e),this[_0x325fc2(0x1bc)][_0x325fc2(0x1c4)][_0x325fc2(0x1c5)]('order.cached',_0x5b4d8e),_0x5b4d8e;}catch(_0x1839a5){this['owl'][_0x325fc2(0x1c4)][_0x325fc2(0x1c5)](_0x325fc2(0x1c3),{'error':_0x1839a5});throw _0x1839a5;}}async[a41_0x315e61(0x1b4)](){const _0x2f57e1=a41_0x315e61;try{if(!this[_0x2f57e1(0x1bc)][_0x2f57e1(0x1c7)]())throw new Error(_0x2f57e1(0x1ad));const _0x2b27a9=await this[_0x2f57e1(0x1bc)][_0x2f57e1(0x1c4)][_0x2f57e1(0x1be)]('order.read.all',{});for(let _0x372b35=0x0;_0x372b35<_0x2b27a9[_0x2f57e1(0x1b8)];_0x372b35++){const _0x1d9490=new Order(this[_0x2f57e1(0x1bc)],_0x2b27a9[_0x372b35]);this[_0x2f57e1(0x1c0)][_0x2f57e1(0x1b7)](_0x1d9490['id'],_0x1d9490);}return this[_0x2f57e1(0x1bc)][_0x2f57e1(0x1c4)][_0x2f57e1(0x1c5)](_0x2f57e1(0x1b3),this['cache'][_0x2f57e1(0x1bd)]()),this[_0x2f57e1(0x1c0)][_0x2f57e1(0x1bd)]();}catch(_0x1f413f){this['owl']['events'][_0x2f57e1(0x1c5)]('order.error',{'error':_0x1f413f});throw _0x1f413f;}}async[a41_0x315e61(0x1b1)](_0x4fdf80){const _0xc1c347=a41_0x315e61;try{if(!this[_0xc1c347(0x1bc)][_0xc1c347(0x1c7)]())throw new Error(_0xc1c347(0x1ad));const _0x1a443b=await this[_0xc1c347(0x1bc)][_0xc1c347(0x1c4)][_0xc1c347(0x1be)](_0xc1c347(0x1b2),_0x4fdf80);for(let _0x542436=0x0;_0x542436<_0x1a443b[_0xc1c347(0x1b8)];_0x542436++){const _0x9c7c58=new Order(this[_0xc1c347(0x1bc)],_0x1a443b[_0x542436]);this[_0xc1c347(0x1c0)][_0xc1c347(0x1b7)](_0x9c7c58['id'],_0x9c7c58);}return this['owl'][_0xc1c347(0x1c4)][_0xc1c347(0x1c5)](_0xc1c347(0x1af),_0x1a443b),_0x1a443b;}catch(_0x26f9db){this[_0xc1c347(0x1bc)]['events'][_0xc1c347(0x1c5)]('order.error',{'error':_0x26f9db});throw _0x26f9db;}}async['new'](_0x334d4e){const _0x28a9e5=a41_0x315e61;try{if(!this[_0x28a9e5(0x1bc)][_0x28a9e5(0x1c7)]())throw new Error(_0x28a9e5(0x1ad));const _0x52f9bb=await this[_0x28a9e5(0x1bc)][_0x28a9e5(0x1c4)]['request'](_0x28a9e5(0x1c1),{'order':_0x334d4e});_0x334d4e['id']=_0x52f9bb;const _0x13b938=new Order(this[_0x28a9e5(0x1bc)],_0x334d4e);return this[_0x28a9e5(0x1c0)][_0x28a9e5(0x1b7)](_0x13b938['id'],_0x13b938),_0x13b938;}catch(_0x49f0a6){this[_0x28a9e5(0x1bc)][_0x28a9e5(0x1c4)][_0x28a9e5(0x1c5)](_0x28a9e5(0x1c3),{'error':_0x49f0a6});throw _0x49f0a6;}}async[a41_0x315e61(0x1cb)](_0x6bf59a,_0x373d14){const _0x42dbb6=a41_0x315e61;try{if(!this[_0x42dbb6(0x1bc)]['tokenIsValide']())throw new Error(_0x42dbb6(0x1ad));await this['owl']['events'][_0x42dbb6(0x1be)](_0x42dbb6(0x1ac),_0x373d14)[_0x42dbb6(0x1ab)](_0x3ab2fe=>{const _0x4e99ba=_0x42dbb6;this['cache'][_0x4e99ba(0x1b7)](_0x6bf59a,_0x3ab2fe);});}catch(_0x2eca35){this[_0x42dbb6(0x1bc)][_0x42dbb6(0x1c4)][_0x42dbb6(0x1c5)](_0x42dbb6(0x1c3),{'error':_0x2eca35});throw _0x2eca35;}}async[a41_0x315e61(0x1bf)](_0x41d1db){const _0x5da3cb=a41_0x315e61;try{if(!this[_0x5da3cb(0x1bc)]['tokenIsValide']())throw new Error('000001:\x20Invalid\x20Token.');await this[_0x5da3cb(0x1bc)][_0x5da3cb(0x1c4)][_0x5da3cb(0x1c5)](_0x5da3cb(0x1ba),{'id':_0x41d1db}),this[_0x5da3cb(0x1c0)][_0x5da3cb(0x1bf)](_0x41d1db);}catch(_0x4eb14d){this[_0x5da3cb(0x1bc)]['events'][_0x5da3cb(0x1c5)]('order.error',{'error':_0x4eb14d});throw _0x4eb14d;}}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a42_0x499f(){const _0x5650f4=['preparation.error','set','14815050gsEiFH','preparation.cached','129iBZsCb','fetchAll','50DFiepp','get','43433112CItZyz','then','delete','tokenIsValide','000001:\x20Invalid\x20Token.','emit','preparation.read.some','has','length','13377573aLSCRL','owl','some','3758370XSovWF','values','fetch','preparation.created','11aCUDGW','preparation.read.all','new','6170TPbfjP','3349182adiigx','preparation.cached.some','8RbUqUr','events','request','24NvMDsy','cache','7qiCjSQ','preparation.cached.all'];a42_0x499f=function(){return _0x5650f4;};return a42_0x499f();}function a42_0x16f4(_0xbd9e93,_0x5a2a7a){_0xbd9e93=_0xbd9e93-0x164;const _0x499fe4=a42_0x499f();let _0x16f43b=_0x499fe4[_0xbd9e93];return _0x16f43b;}const a42_0x1f4f23=a42_0x16f4;(function(_0x21636a,_0x5073a4){const _0x351eeb=a42_0x16f4,_0x3ea02c=_0x21636a();while(!![]){try{const _0x17bd79=parseInt(_0x351eeb(0x183))/0x1*(parseInt(_0x351eeb(0x173))/0x2)+-parseInt(_0x351eeb(0x181))/0x3*(parseInt(_0x351eeb(0x179))/0x4)+parseInt(_0x351eeb(0x16c))/0x5+parseInt(_0x351eeb(0x174))/0x6*(parseInt(_0x351eeb(0x17b))/0x7)+-parseInt(_0x351eeb(0x176))/0x8*(-parseInt(_0x351eeb(0x169))/0x9)+parseInt(_0x351eeb(0x17f))/0xa+-parseInt(_0x351eeb(0x170))/0xb*(parseInt(_0x351eeb(0x185))/0xc);if(_0x17bd79===_0x5073a4)break;else _0x3ea02c['push'](_0x3ea02c['shift']());}catch(_0x512e7c){_0x3ea02c['push'](_0x3ea02c['shift']());}}}(a42_0x499f,0xc6533));import{Manager}from'../core/Manager.js';import{Preparation}from'../entities/Preparation.js';export class PreparationManager extends Manager{async[a42_0x1f4f23(0x16e)](_0xbf4602){const _0x2f74e3=a42_0x1f4f23;try{if(!this[_0x2f74e3(0x16a)][_0x2f74e3(0x188)]())throw new Error(_0x2f74e3(0x164));if(this['cache'][_0x2f74e3(0x167)](_0xbf4602))return this[_0x2f74e3(0x17a)][_0x2f74e3(0x184)](_0xbf4602);const _0xd1e25e=await this[_0x2f74e3(0x16a)][_0x2f74e3(0x177)][_0x2f74e3(0x178)]('preparation.read',{'id':_0xbf4602}),_0x5d9fe5=new Preparation(this[_0x2f74e3(0x16a)],_0xd1e25e);return this['cache'][_0x2f74e3(0x17e)](_0xbf4602,_0x5d9fe5),this[_0x2f74e3(0x16a)][_0x2f74e3(0x177)][_0x2f74e3(0x165)](_0x2f74e3(0x180),_0x5d9fe5),_0x5d9fe5;}catch(_0x6b7fd2){this[_0x2f74e3(0x16a)][_0x2f74e3(0x177)][_0x2f74e3(0x165)]('preparation.error',{'error':_0x6b7fd2});throw _0x6b7fd2;}}async[a42_0x1f4f23(0x182)](){const _0x55356d=a42_0x1f4f23;try{if(!this[_0x55356d(0x16a)][_0x55356d(0x188)]())throw new Error(_0x55356d(0x164));const _0x30458a=await this[_0x55356d(0x16a)][_0x55356d(0x177)]['request'](_0x55356d(0x171),{});for(let _0x13e854=0x0;_0x13e854<_0x30458a[_0x55356d(0x168)];_0x13e854++){const _0x376ea7=new Preparation(this[_0x55356d(0x16a)],_0x30458a[_0x13e854]);this[_0x55356d(0x17a)]['set'](_0x376ea7['id'],_0x376ea7);}return this['owl'][_0x55356d(0x177)][_0x55356d(0x165)](_0x55356d(0x17c),this[_0x55356d(0x17a)]['values']()),this[_0x55356d(0x17a)][_0x55356d(0x16d)]();}catch(_0x26dc4a){this['owl'][_0x55356d(0x177)][_0x55356d(0x165)](_0x55356d(0x17d),{'error':_0x26dc4a});throw _0x26dc4a;}}async[a42_0x1f4f23(0x16b)](_0x4ff1e0){const _0x4d00f0=a42_0x1f4f23;try{if(!this[_0x4d00f0(0x16a)][_0x4d00f0(0x188)]())throw new Error(_0x4d00f0(0x164));const _0x4d57b8=await this[_0x4d00f0(0x16a)][_0x4d00f0(0x177)][_0x4d00f0(0x178)](_0x4d00f0(0x166),_0x4ff1e0);for(let _0x11dc20=0x0;_0x11dc20<_0x4d57b8[_0x4d00f0(0x168)];_0x11dc20++){const _0x263fc8=new Preparation(this[_0x4d00f0(0x16a)],_0x4d57b8[_0x11dc20]);this['cache'][_0x4d00f0(0x17e)](_0x263fc8['id'],_0x263fc8);}return this[_0x4d00f0(0x16a)][_0x4d00f0(0x177)][_0x4d00f0(0x165)](_0x4d00f0(0x175),_0x4d57b8),_0x4d57b8;}catch(_0x36c33f){this[_0x4d00f0(0x16a)][_0x4d00f0(0x177)][_0x4d00f0(0x165)](_0x4d00f0(0x17d),{'error':_0x36c33f});throw _0x36c33f;}}async[a42_0x1f4f23(0x172)](_0x38a130){const _0x132e04=a42_0x1f4f23;try{if(!this[_0x132e04(0x16a)][_0x132e04(0x188)]())throw new Error(_0x132e04(0x164));const _0x2c6b10=await this[_0x132e04(0x16a)][_0x132e04(0x177)][_0x132e04(0x178)](_0x132e04(0x16f),{'preparation':_0x38a130});_0x38a130['id']=_0x2c6b10;const _0x4bbaba=new Preparation(this[_0x132e04(0x16a)],_0x38a130);return this[_0x132e04(0x17a)][_0x132e04(0x17e)](_0x4bbaba['id'],_0x4bbaba),_0x4bbaba;}catch(_0x350923){this['owl'][_0x132e04(0x177)]['emit'](_0x132e04(0x17d),{'error':_0x350923});throw _0x350923;}}async['modify'](_0x1d0435,_0x3540a7){const _0x3cabf3=a42_0x1f4f23;try{if(!this[_0x3cabf3(0x16a)][_0x3cabf3(0x188)]())throw new Error('000001:\x20Invalid\x20Token.');await this[_0x3cabf3(0x16a)]['events'][_0x3cabf3(0x178)]('preparation.updated',_0x3540a7)[_0x3cabf3(0x186)](_0x1486c1=>{const _0x3dce0a=_0x3cabf3;this[_0x3dce0a(0x17a)][_0x3dce0a(0x17e)](_0x1d0435,_0x1486c1);});}catch(_0x3007fc){this[_0x3cabf3(0x16a)][_0x3cabf3(0x177)][_0x3cabf3(0x165)](_0x3cabf3(0x17d),{'error':_0x3007fc});throw _0x3007fc;}}async[a42_0x1f4f23(0x187)](_0x17df7c){const _0x185b5e=a42_0x1f4f23;try{if(!this[_0x185b5e(0x16a)]['tokenIsValide']())throw new Error(_0x185b5e(0x164));await this['owl'][_0x185b5e(0x177)][_0x185b5e(0x165)]('preparation.deleted',{'id':_0x17df7c}),this[_0x185b5e(0x17a)][_0x185b5e(0x187)](_0x17df7c);}catch(_0x4f1ac8){this[_0x185b5e(0x16a)][_0x185b5e(0x177)][_0x185b5e(0x165)](_0x185b5e(0x17d),{'error':_0x4f1ac8});throw _0x4f1ac8;}}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a43_0x1904b1=a43_0x4b23;(function(_0x22bdac,_0x184fb8){const _0xdec4fa=a43_0x4b23,_0x537a09=_0x22bdac();while(!![]){try{const _0x16ad1c=parseInt(_0xdec4fa(0x100))/0x1*(-parseInt(_0xdec4fa(0x10e))/0x2)+-parseInt(_0xdec4fa(0x10b))/0x3*(parseInt(_0xdec4fa(0x10a))/0x4)+parseInt(_0xdec4fa(0x115))/0x5*(parseInt(_0xdec4fa(0x102))/0x6)+parseInt(_0xdec4fa(0xfe))/0x7*(-parseInt(_0xdec4fa(0x111))/0x8)+parseInt(_0xdec4fa(0x10c))/0x9+parseInt(_0xdec4fa(0xff))/0xa+-parseInt(_0xdec4fa(0x101))/0xb*(parseInt(_0xdec4fa(0xf2))/0xc);if(_0x16ad1c===_0x184fb8)break;else _0x537a09['push'](_0x537a09['shift']());}catch(_0xd525b6){_0x537a09['push'](_0x537a09['shift']());}}}(a43_0x1e7b,0xb1978));import{Manager}from'../core/Manager.js';function a43_0x4b23(_0x24a7b4,_0x2d875b){_0x24a7b4=_0x24a7b4-0xf1;const _0x1e7b41=a43_0x1e7b();let _0x4b23ad=_0x1e7b41[_0x24a7b4];return _0x4b23ad;}import{Purchase}from'../entities/Purchase.js';function a43_0x1e7b(){const _0x231d90=['10606270wPLWlN','1189057CbRoxV','916993FECLEc','18XzkMGA','delete','set','purchase.cached.some','purchase.cached.all','events','purchase.read','purchase.deleted','28doiTje','378204arMnUV','11313864trWyCs','purchase.cached','2acycJi','000001:\x20Invalid\x20Token.','some','14936xnNdnS','tokenIsValide','request','cache','2034115ZHTgmk','new','owl','emit','36ogerEl','length','purchase.updated','then','purchase.error','modify','purchase.created','values','purchase.read.all','has','fetch','get','1834CLQOTO'];a43_0x1e7b=function(){return _0x231d90;};return a43_0x1e7b();}export class PurchaseManager extends Manager{async[a43_0x1904b1(0xfc)](_0x31444b){const _0x20a9c9=a43_0x1904b1;try{if(!this[_0x20a9c9(0x117)][_0x20a9c9(0x112)]())throw new Error('000001:\x20Invalid\x20Token.');if(this[_0x20a9c9(0x114)][_0x20a9c9(0xfb)](_0x31444b))return this['cache'][_0x20a9c9(0xfd)](_0x31444b);const _0xf3216a=await this['owl'][_0x20a9c9(0x107)][_0x20a9c9(0x113)](_0x20a9c9(0x108),{'id':_0x31444b}),_0x3d8bbf=new Purchase(this[_0x20a9c9(0x117)],_0xf3216a);return this[_0x20a9c9(0x114)][_0x20a9c9(0x104)](_0x31444b,_0x3d8bbf),this[_0x20a9c9(0x117)][_0x20a9c9(0x107)]['emit'](_0x20a9c9(0x10d),_0x3d8bbf),_0x3d8bbf;}catch(_0x240f1c){this[_0x20a9c9(0x117)]['events']['emit'](_0x20a9c9(0xf6),{'error':_0x240f1c});throw _0x240f1c;}}async['fetchAll'](){const _0x353263=a43_0x1904b1;try{if(!this[_0x353263(0x117)][_0x353263(0x112)]())throw new Error(_0x353263(0x10f));const _0x5902d1=await this['owl'][_0x353263(0x107)][_0x353263(0x113)](_0x353263(0xfa),{});for(let _0x4b4212=0x0;_0x4b4212<_0x5902d1[_0x353263(0xf3)];_0x4b4212++){const _0x448398=new Purchase(this[_0x353263(0x117)],_0x5902d1[_0x4b4212]);this[_0x353263(0x114)]['set'](_0x448398['id'],_0x448398);}return this[_0x353263(0x117)]['events'][_0x353263(0xf1)](_0x353263(0x106),this[_0x353263(0x114)]['values']()),this[_0x353263(0x114)][_0x353263(0xf9)]();}catch(_0x28f3d7){this['owl'][_0x353263(0x107)][_0x353263(0xf1)](_0x353263(0xf6),{'error':_0x28f3d7});throw _0x28f3d7;}}async[a43_0x1904b1(0x110)](_0x25ef6e){const _0x221d89=a43_0x1904b1;try{if(!this[_0x221d89(0x117)]['tokenIsValide']())throw new Error(_0x221d89(0x10f));const _0x1731c5=await this[_0x221d89(0x117)]['events']['request']('purchase.read.some',_0x25ef6e);for(let _0x1cc0dc=0x0;_0x1cc0dc<_0x1731c5[_0x221d89(0xf3)];_0x1cc0dc++){const _0x17521b=new Purchase(this['owl'],_0x1731c5[_0x1cc0dc]);this[_0x221d89(0x114)][_0x221d89(0x104)](_0x17521b['id'],_0x17521b);}return this[_0x221d89(0x117)][_0x221d89(0x107)][_0x221d89(0xf1)](_0x221d89(0x105),_0x1731c5),_0x1731c5;}catch(_0x1130ff){this['owl'][_0x221d89(0x107)][_0x221d89(0xf1)](_0x221d89(0xf6),{'error':_0x1130ff});throw _0x1130ff;}}async[a43_0x1904b1(0x116)](_0xbb1c98){const _0x467d97=a43_0x1904b1;try{if(!this[_0x467d97(0x117)][_0x467d97(0x112)]())throw new Error(_0x467d97(0x10f));const _0x312488=await this[_0x467d97(0x117)][_0x467d97(0x107)][_0x467d97(0x113)](_0x467d97(0xf8),{'purchase':_0xbb1c98});_0xbb1c98['id']=_0x312488;const _0x159bed=new Purchase(this[_0x467d97(0x117)],_0xbb1c98);return this[_0x467d97(0x114)][_0x467d97(0x104)](_0x159bed['id'],_0x159bed),_0x159bed;}catch(_0x1834b8){this[_0x467d97(0x117)][_0x467d97(0x107)][_0x467d97(0xf1)](_0x467d97(0xf6),{'error':_0x1834b8});throw _0x1834b8;}}async[a43_0x1904b1(0xf7)](_0x1833af,_0xa15708){const _0x3452fe=a43_0x1904b1;try{if(!this[_0x3452fe(0x117)][_0x3452fe(0x112)]())throw new Error(_0x3452fe(0x10f));await this[_0x3452fe(0x117)][_0x3452fe(0x107)][_0x3452fe(0x113)](_0x3452fe(0xf4),_0xa15708)[_0x3452fe(0xf5)](_0x3a43b4=>{const _0xe43f33=_0x3452fe;this['cache'][_0xe43f33(0x104)](_0x1833af,_0x3a43b4);});}catch(_0x4c4e6c){this[_0x3452fe(0x117)][_0x3452fe(0x107)][_0x3452fe(0xf1)](_0x3452fe(0xf6),{'error':_0x4c4e6c});throw _0x4c4e6c;}}async[a43_0x1904b1(0x103)](_0x20e224){const _0x37f1ee=a43_0x1904b1;try{if(!this[_0x37f1ee(0x117)][_0x37f1ee(0x112)]())throw new Error(_0x37f1ee(0x10f));await this[_0x37f1ee(0x117)][_0x37f1ee(0x107)]['emit'](_0x37f1ee(0x109),{'id':_0x20e224}),this[_0x37f1ee(0x114)]['delete'](_0x20e224);}catch(_0x3056ef){this[_0x37f1ee(0x117)]['events'][_0x37f1ee(0xf1)](_0x37f1ee(0xf6),{'error':_0x3056ef});throw _0x3056ef;}}}
|