@opengis/fcore 0.0.1-beta.1 → 0.0.1-beta.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.
Files changed (96) hide show
  1. package/dist/config.js +1 -1
  2. package/dist/context.js +1 -1
  3. package/dist/errors.js +1 -1
  4. package/dist/fastify.js +1 -1
  5. package/dist/fcore.js +1 -1
  6. package/dist/index.d.ts +1 -0
  7. package/dist/index.d.ts.map +1 -1
  8. package/dist/index.js +1 -1
  9. package/dist/migrations/cli.js +1 -1
  10. package/dist/migrations/runner.js +1 -1
  11. package/dist/modules/auth/index.js +1 -1
  12. package/dist/modules/auth/route.js +1 -1
  13. package/dist/modules/auth/schema.js +1 -1
  14. package/dist/modules/auth/services/get-current-user.js +1 -1
  15. package/dist/modules/auth/services/login.js +1 -1
  16. package/dist/modules/auth/services/logout.js +1 -1
  17. package/dist/modules/auth/services/verify-two-factor.js +1 -1
  18. package/dist/modules/auth/services/verifyPassword.js +1 -1
  19. package/dist/modules/file/index.js +1 -1
  20. package/dist/modules/file/route.js +1 -1
  21. package/dist/modules/file/schema.js +1 -1
  22. package/dist/modules/file/services/get-file.js +1 -1
  23. package/dist/modules/file/services/resize-file.js +1 -1
  24. package/dist/modules/file/services/upload-file.js +1 -1
  25. package/dist/modules/resource/index.js +1 -1
  26. package/dist/modules/resource/route.js +1 -1
  27. package/dist/modules/resource/schema.js +1 -1
  28. package/dist/modules/resource/services/add-note.js +1 -1
  29. package/dist/modules/resource/services/add-resource-file.js +1 -1
  30. package/dist/modules/resource/services/create-resource-relation.js +1 -1
  31. package/dist/modules/resource/services/create-resource.js +1 -1
  32. package/dist/modules/resource/services/delete-resource-relation.js +1 -1
  33. package/dist/modules/resource/services/delete-resource.js +1 -1
  34. package/dist/modules/resource/services/export-resource.js +1 -1
  35. package/dist/modules/resource/services/get-resource.js +1 -1
  36. package/dist/modules/resource/services/list-children.js +1 -1
  37. package/dist/modules/resource/services/list-resource-relation.js +1 -1
  38. package/dist/modules/resource/services/list-resources.js +1 -1
  39. package/dist/modules/resource/services/search-resource.js +1 -1
  40. package/dist/modules/resource/services/suggest-resource.js +1 -1
  41. package/dist/modules/resource/services/update-resource.js +1 -1
  42. package/dist/modules/resource/services/upload-resource-file.js +1 -1
  43. package/dist/modules/system/index.js +1 -1
  44. package/dist/modules/system/route.js +1 -1
  45. package/dist/modules/system/schema.js +1 -1
  46. package/dist/modules/system/services/check-system.js +1 -1
  47. package/dist/modules/system/services/get-api-list.js +1 -1
  48. package/dist/modules/system/services/get-audit-log.js +1 -1
  49. package/dist/modules/system/services/get-dictionary.js +1 -1
  50. package/dist/modules/system/services/get-system-log.js +1 -1
  51. package/dist/modules/system/services/get-system-settings.js +1 -1
  52. package/dist/modules/system/services/list-dictionaries.js +1 -1
  53. package/dist/modules/system/services/update-system-settings.js +1 -1
  54. package/dist/modules/utils/get-user-permissions.js +1 -1
  55. package/dist/modules/utils/require-admin.js +1 -1
  56. package/dist/modules/utils/safe-user.js +1 -1
  57. package/dist/modules/utils/unsupported.js +1 -1
  58. package/dist/plugins/audit/audit.js +1 -1
  59. package/dist/plugins/audit/index.js +1 -1
  60. package/dist/plugins/audit/services/write-audit.js +1 -1
  61. package/dist/plugins/auth/index.js +1 -1
  62. package/dist/plugins/dictionary.js +1 -1
  63. package/dist/plugins/file.js +1 -1
  64. package/dist/plugins/index.js +1 -1
  65. package/dist/plugins/logger/index.js +1 -1
  66. package/dist/plugins/logger/transport.d.ts +3 -0
  67. package/dist/plugins/logger/transport.d.ts.map +1 -0
  68. package/dist/plugins/logger/transport.js +1 -0
  69. package/dist/plugins/pg.js +1 -1
  70. package/dist/plugins/redis.js +1 -1
  71. package/dist/plugins/resource/index.js +1 -1
  72. package/dist/plugins/resource/resource.js +1 -1
  73. package/dist/plugins/resource/resource.registry.js +1 -1
  74. package/dist/plugins/resource/resource.types.d.ts +16 -2
  75. package/dist/plugins/resource/resource.types.d.ts.map +1 -1
  76. package/dist/plugins/resource/services/create.d.ts.map +1 -1
  77. package/dist/plugins/resource/services/create.js +1 -1
  78. package/dist/plugins/resource/services/delete.js +1 -1
  79. package/dist/plugins/resource/services/find-one.js +1 -1
  80. package/dist/plugins/resource/services/find.d.ts.map +1 -1
  81. package/dist/plugins/resource/services/find.js +1 -1
  82. package/dist/plugins/resource/services/update.d.ts.map +1 -1
  83. package/dist/plugins/resource/services/update.js +1 -1
  84. package/dist/plugins/resource/utils/fields.d.ts +8 -1
  85. package/dist/plugins/resource/utils/fields.d.ts.map +1 -1
  86. package/dist/plugins/resource/utils/fields.js +1 -1
  87. package/dist/plugins/resource/utils/filters.js +1 -1
  88. package/dist/plugins/resource/utils/permissions.d.ts.map +1 -1
  89. package/dist/plugins/resource/utils/permissions.js +1 -1
  90. package/dist/plugins/resource/utils/sort.js +1 -1
  91. package/dist/plugins/resource/utils/sql.js +1 -1
  92. package/dist/shared/getIP.js +1 -1
  93. package/dist/type.d.ts +23 -0
  94. package/dist/type.d.ts.map +1 -0
  95. package/dist/type.js +1 -0
  96. package/package.json +1 -1
@@ -1 +1 @@
1
- (function(D,L){const H=p,s=D();while(!![]){try{const X=-parseInt(H(0x12e))/0x1+-parseInt(H(0x10b))/0x2*(parseInt(H(0x126))/0x3)+parseInt(H(0x10c))/0x4*(-parseInt(H(0x115))/0x5)+-parseInt(H(0x12c))/0x6+parseInt(H(0x121))/0x7*(-parseInt(H(0x122))/0x8)+-parseInt(H(0x10a))/0x9*(-parseInt(H(0x124))/0xa)+parseInt(H(0x12b))/0xb;if(X===L)break;else s['push'](s['shift']());}catch(M){s['push'](s['shift']());}}}(m,0x60fa4));import{NotFoundError,ValidationError}from'../../../errors.js';function p(D,L){D=D-0x106;const s=m();let X=s[D];return X;}import c from'sharp';export async function resizeFile(L,s){const A=p,X={'SEKJn':function(i,q){return i===q;},'Nqpny':function(i,q){return i===q;},'mgiVo':function(i,q){return i(q);},'Tdzfy':function(i,q){return i<=q;},'vxUJf':function(i,q){return i===q;},'skYDg':A(0x11b),'LXXvb':A(0x12f),'gAhll':function(i,q,R){return i(q,R);},'zgvIo':A(0x131),'FkPEG':A(0x125),'zAgZp':function(i,q){return i(q);}};if(!s[A(0x11f)]){if(X[A(0x11e)](X[A(0x114)],A(0x11b)))throw new Error(X[A(0x128)]);else return L;}const M=L[A(0x12d)]??L[A(0x109)];if(!M)throw new ValidationError(A(0x107));const u=X[A(0x12a)](parseDimension,L[A(0x106)],A(0x106)),o=parseDimension(L[A(0x132)],A(0x132));if(!u&&!o){if(A(0x10d)!==X[A(0x119)])throw new ValidationError(X[A(0x120)]);else{if(X[A(0x116)](q,R)||X[A(0x11d)](B,''))return l;const R=X[A(0x108)](h,g);if(!J[A(0x117)](R)||X[A(0x127)](R,0x0))throw new t(y+A(0x11a));return R;}}if(!await s[A(0x11f)][A(0x123)](M))throw new NotFoundError(A(0x11c));const r={};return r[A(0x106)]=u,r[A(0x132)]=o,r[A(0x10f)]=L[A(0x10f)]??A(0x10e),X[A(0x111)](c,await s[A(0x11f)][A(0x129)](M))[A(0x112)](r)[A(0x110)]();}function m(){const a=['File\x20path\x20is\x20required','mgiVo','path','171LZLaob','1487218AgsLya','52SiDyFg','FNfSg','cover','fit','toBuffer','zAgZp','resize','WaCSa','skYDg','103135iOXfTR','SEKJn','isInteger','xAQFe','zgvIo','\x20must\x20be\x20a\x20positive\x20integer','rhGAx','File\x20not\x20found','Nqpny','vxUJf','file','FkPEG','1593354uHcuXK','24wXzLxp','exists','82860HeAQaN','Width\x20or\x20height\x20is\x20required','3FUgOuH','Tdzfy','LXXvb','get','gAhll','33230285nktsNG','2896890ABzHAd','pathOrToken','603708DuuAKS','empty\x20file','MFymn','iNetD','height','width'];m=function(){return a;};return m();}function parseDimension(D,L){const V=p,s={'MFymn':function(M,u){return M===u;},'xAQFe':function(M,u){return M(u);},'WaCSa':function(M,u){return M<=u;}};if(s[V(0x130)](D,undefined)||D==='')return undefined;const X=s[V(0x118)](Number,D);if(!Number[V(0x117)](X)||s[V(0x113)](X,0x0))throw new ValidationError(L+V(0x11a));return X;}
1
+ function _0x337a(_0x27d661,_0x5da77e){_0x27d661=_0x27d661-0x93;const _0x58046c=_0x5804();let _0x337aee=_0x58046c[_0x27d661];return _0x337aee;}(function(_0x20e1b2,_0x247ded){const _0x270f3a=_0x337a,_0x266981=_0x20e1b2();while(!![]){try{const _0x48e8b9=parseInt(_0x270f3a(0x99))/0x1*(-parseInt(_0x270f3a(0xba))/0x2)+parseInt(_0x270f3a(0x9d))/0x3*(parseInt(_0x270f3a(0xa2))/0x4)+-parseInt(_0x270f3a(0xb2))/0x5+parseInt(_0x270f3a(0xbc))/0x6*(-parseInt(_0x270f3a(0xbe))/0x7)+-parseInt(_0x270f3a(0xa7))/0x8*(parseInt(_0x270f3a(0xbd))/0x9)+-parseInt(_0x270f3a(0x9c))/0xa+-parseInt(_0x270f3a(0x9b))/0xb*(-parseInt(_0x270f3a(0x98))/0xc);if(_0x48e8b9===_0x247ded)break;else _0x266981['push'](_0x266981['shift']());}catch(_0x452742){_0x266981['push'](_0x266981['shift']());}}}(_0x5804,0x8ea41));import{NotFoundError,ValidationError}from'../../../errors.js';import _0xc3a691 from'sharp';function _0x5804(){const _0x46cb2d=['htiRv','get','isInteger','zpBlg','PhCdr','nunSi','Width\x20or\x20height\x20is\x20required','5481165Yhlujm','cover','JvXTD','toBuffer','OiUcF','UCgDI','JTpeT','exists','24WpNcrw','PLemv','6186fHRCQA','987876eehmYx','3409ZElsPc','width','nvGDS','pathOrToken','\x20must\x20be\x20a\x20positive\x20integer','file','192SLhpnw','54421pLYPea','height','2236839AShsfe','7899180IbJFXK','273cRtXit','eGzIA','File\x20path\x20is\x20required','pJtMr','fit','50124gmrErz','CftAi','File\x20not\x20found','resize','mgNcq','56yijIlI','path','empty\x20file','tzgRa'];_0x5804=function(){return _0x46cb2d;};return _0x5804();}export async function resizeFile(_0x560168,_0x6fb329){const _0x19c469=_0x337a,_0x406a69={'PhCdr':_0x19c469(0xa9),'eGzIA':_0x19c469(0x9f),'nunSi':function(_0x25f573,_0x14da1d,_0x4c4b9f){return _0x25f573(_0x14da1d,_0x4c4b9f);},'JvXTD':_0x19c469(0x93),'OiUcF':_0x19c469(0x9a),'mgNcq':_0x19c469(0xb1),'PLemv':function(_0x25254c,_0x3c5418){return _0x25254c!==_0x3c5418;},'tzgRa':_0x19c469(0xb8),'UCgDI':_0x19c469(0xa4),'nvGDS':function(_0x4799da,_0x137dfe){return _0x4799da(_0x137dfe);}};if(!_0x6fb329[_0x19c469(0x97)])throw new Error(_0x406a69[_0x19c469(0xaf)]);const _0x172835=_0x560168[_0x19c469(0x95)]??_0x560168[_0x19c469(0xa8)];if(!_0x172835)throw new ValidationError(_0x406a69[_0x19c469(0x9e)]);const _0x47e00d=_0x406a69[_0x19c469(0xb0)](parseDimension,_0x560168[_0x19c469(0x93)],_0x406a69[_0x19c469(0xb4)]),_0x2cc90e=parseDimension(_0x560168[_0x19c469(0x9a)],_0x406a69[_0x19c469(0xb6)]);if(!_0x47e00d&&!_0x2cc90e)throw new ValidationError(_0x406a69[_0x19c469(0xa6)]);if(!await _0x6fb329[_0x19c469(0x97)][_0x19c469(0xb9)](_0x172835)){if(_0x406a69[_0x19c469(0xbb)](_0x406a69[_0x19c469(0xaa)],_0x406a69[_0x19c469(0xaa)]))throw new _0xe9bc7(_0x406a69[_0x19c469(0xaf)]);else throw new NotFoundError(_0x406a69[_0x19c469(0xb7)]);}const _0x58503c={};return _0x58503c[_0x19c469(0x93)]=_0x47e00d,_0x58503c[_0x19c469(0x9a)]=_0x2cc90e,_0x58503c[_0x19c469(0xa1)]=_0x560168[_0x19c469(0xa1)]??_0x19c469(0xb3),_0x406a69[_0x19c469(0x94)](_0xc3a691,await _0x6fb329[_0x19c469(0x97)][_0x19c469(0xac)](_0x172835))[_0x19c469(0xa5)](_0x58503c)[_0x19c469(0xb5)]();}function parseDimension(_0x36637b,_0x4dfcb0){const _0x5322d4=_0x337a,_0x22ed28={};_0x22ed28[_0x5322d4(0xa3)]=function(_0x3dbb69,_0x2316d1){return _0x3dbb69===_0x2316d1;};const _0x4efd2f=_0x22ed28;if(_0x4efd2f[_0x5322d4(0xa3)](_0x36637b,undefined)||_0x36637b===''){if(_0x5322d4(0xa0)!==_0x5322d4(0xae))return undefined;else throw new _0x531f99(_0x5322d4(0x9f));}const _0x362b58=Number(_0x36637b);if(!Number[_0x5322d4(0xad)](_0x362b58)||_0x362b58<=0x0){if(_0x4efd2f[_0x5322d4(0xa3)](_0x5322d4(0xab),_0x5322d4(0xab)))throw new ValidationError(_0x4dfcb0+_0x5322d4(0x96));else return _0x2f16ae;}return _0x362b58;}
@@ -1 +1 @@
1
- (function(D,L){const r=p,s=D();while(!![]){try{const X=parseInt(r(0xd6))/0x1*(-parseInt(r(0xc5))/0x2)+parseInt(r(0xd1))/0x3*(-parseInt(r(0xd4))/0x4)+-parseInt(r(0xcc))/0x5+parseInt(r(0xc9))/0x6*(-parseInt(r(0xc2))/0x7)+parseInt(r(0xd3))/0x8+parseInt(r(0xc3))/0x9+-parseInt(r(0xd0))/0xa*(-parseInt(r(0xd7))/0xb);if(X===L)break;else s['push'](s['shift']());}catch(M){s['push'](s['shift']());}}}(m,0xf402e));function p(D,L){D=D-0xc2;const s=m();let X=s[D];return X;}function m(){const q=['path','2515315wGtNoZ','metadata','name','\x0a\x20\x20\x20\x20\x20\x20\x20\x20INSERT\x20INTO\x20admin.files\x20(resource,\x20resource_id,\x20file_path,\x20size)\x0a\x20\x20\x20\x20\x20\x20\x20\x20VALUES\x20($1,\x20$2,\x20$3,\x20$4)\x0a\x20\x20\x20\x20\x20\x20\x20\x20RETURNING\x20*\x0a\x20\x20\x20\x20\x20\x20','14822840fHxjXZ','6YHXqKd','entityType','5041688fKqLFb','3587132ixznjn','query','19cedAkU','22iiqMVe','entityId','rows','BWfCU','5926130UAwEYY','10621899JkBUeW','replace','66558pVgamo','length','file','uploads/','6LMEHXP','put'];m=function(){return q;};return m();}import{randomUUID}from'node:crypto';export async function uploadFile(D,L){const i=p,s={'BWfCU':function(o){return o();}},X=(D[i(0xcd)][i(0xce)]??i(0xc7))[i(0xc4)](/[^a-zA-Z0-9._-]/g,'_'),M=D[i(0xcd)][i(0xcb)]??i(0xc8)+s[i(0xda)](randomUUID)+'-'+X;await L[i(0xc7)][i(0xca)](M,D[i(0xc7)]);const u=await L['pg'][i(0xd5)](i(0xcf),[D[i(0xcd)][i(0xd2)]??null,D[i(0xcd)][i(0xd8)]??null,M,D[i(0xc7)][i(0xc6)]]);return u[i(0xd9)][0x0];}
1
+ (function(_0x16d81d,_0x161e6d){const _0x4e77fe=_0x16c4,_0x39cc17=_0x16d81d();while(!![]){try{const _0x425d76=-parseInt(_0x4e77fe(0x1c2))/0x1+-parseInt(_0x4e77fe(0x1d3))/0x2*(parseInt(_0x4e77fe(0x1d0))/0x3)+parseInt(_0x4e77fe(0x1bd))/0x4*(-parseInt(_0x4e77fe(0x1cd))/0x5)+parseInt(_0x4e77fe(0x1c5))/0x6+-parseInt(_0x4e77fe(0x1cf))/0x7+-parseInt(_0x4e77fe(0x1c8))/0x8+parseInt(_0x4e77fe(0x1c6))/0x9;if(_0x425d76===_0x161e6d)break;else _0x39cc17['push'](_0x39cc17['shift']());}catch(_0x3b5964){_0x39cc17['push'](_0x39cc17['shift']());}}}(_0x33d8,0xe6246));import{randomUUID}from'node:crypto';function _0x33d8(){const _0x576a39=['put','uploads/','length','entityType','146515MaZStX','metadata','1641542WKxLiq','3ItkVMW','path','replace','94154TEcLAf','200lQZfiw','\x0a\x20\x20\x20\x20\x20\x20\x20\x20INSERT\x20INTO\x20admin.files\x20(resource,\x20resource_id,\x20file_path,\x20size)\x0a\x20\x20\x20\x20\x20\x20\x20\x20VALUES\x20($1,\x20$2,\x20$3,\x20$4)\x0a\x20\x20\x20\x20\x20\x20\x20\x20RETURNING\x20*\x0a\x20\x20\x20\x20\x20\x20','query','file','entityId','6624xMamai','name','EZwTi','3558462JFkenB','28350153BsYRzN','rows','8376600gaOBBl'];_0x33d8=function(){return _0x576a39;};return _0x33d8();}function _0x16c4(_0x284351,_0x331941){_0x284351=_0x284351-0x1bd;const _0x33d804=_0x33d8();let _0x16c4a7=_0x33d804[_0x284351];return _0x16c4a7;}export async function uploadFile(_0x27403f,_0x493e3c){const _0x35c010=_0x16c4,_0xd6a9d4={};_0xd6a9d4[_0x35c010(0x1c4)]=_0x35c010(0x1c0);const _0x2a908e=_0xd6a9d4,_0x5799f2=(_0x27403f[_0x35c010(0x1ce)][_0x35c010(0x1c3)]??_0x2a908e[_0x35c010(0x1c4)])[_0x35c010(0x1d2)](/[^a-zA-Z0-9._-]/g,'_'),_0x578136=_0x27403f[_0x35c010(0x1ce)][_0x35c010(0x1d1)]??_0x35c010(0x1ca)+randomUUID()+'-'+_0x5799f2;await _0x493e3c[_0x35c010(0x1c0)][_0x35c010(0x1c9)](_0x578136,_0x27403f[_0x35c010(0x1c0)]);const _0x45605d=await _0x493e3c['pg'][_0x35c010(0x1bf)](_0x35c010(0x1be),[_0x27403f[_0x35c010(0x1ce)][_0x35c010(0x1cc)]??null,_0x27403f[_0x35c010(0x1ce)][_0x35c010(0x1c1)]??null,_0x578136,_0x27403f[_0x35c010(0x1c0)][_0x35c010(0x1cb)]]);return _0x45605d[_0x35c010(0x1c7)][0x0];}
@@ -1 +1 @@
1
- (function(D,L){var u=p,s=D();while(!![]){try{var X=parseInt(u(0xf1))/0x1+-parseInt(u(0xea))/0x2*(parseInt(u(0xee))/0x3)+-parseInt(u(0xed))/0x4*(parseInt(u(0xeb))/0x5)+parseInt(u(0xf0))/0x6+parseInt(u(0xec))/0x7*(-parseInt(u(0xf2))/0x8)+parseInt(u(0xf4))/0x9*(-parseInt(u(0xef))/0xa)+parseInt(u(0xf3))/0xb;if(X===L)break;else s['push'](s['shift']());}catch(M){s['push'](s['shift']());}}}(m,0x7d585));function p(D,L){D=D-0xea;var s=m();var X=s[D];return X;}export*from'./route.js';export*from'./services/list-resources.js';export*from'./services/get-resource.js';export*from'./services/create-resource.js';export*from'./services/update-resource.js';export*from'./services/delete-resource.js';export*from'./services/list-resource-relation.js';export*from'./services/create-resource-relation.js';export*from'./services/delete-resource-relation.js';export*from'./services/list-children.js';export*from'./services/search-resource.js';export*from'./services/export-resource.js';export*from'./services/suggest-resource.js';export*from'./services/add-note.js';function m(){var o=['3969810eonhcR','77477neahDt','136KsqiUr','18295134jtCYfk','179865KmgiFG','2pEFRJJ','5oTLLpx','408380TQlbZV','2846820IcdSvI','196494QwZVLV','60xPuczI'];m=function(){return o;};return m();}export*from'./services/add-resource-file.js';export*from'./services/upload-resource-file.js';
1
+ (function(_0x2c8481,_0x298303){var _0x10b584=_0x19bc,_0x1b0443=_0x2c8481();while(!![]){try{var _0x507383=-parseInt(_0x10b584(0x167))/0x1+-parseInt(_0x10b584(0x162))/0x2*(-parseInt(_0x10b584(0x166))/0x3)+parseInt(_0x10b584(0x164))/0x4+-parseInt(_0x10b584(0x165))/0x5*(parseInt(_0x10b584(0x16b))/0x6)+parseInt(_0x10b584(0x168))/0x7*(-parseInt(_0x10b584(0x169))/0x8)+-parseInt(_0x10b584(0x16a))/0x9+parseInt(_0x10b584(0x163))/0xa;if(_0x507383===_0x298303)break;else _0x1b0443['push'](_0x1b0443['shift']());}catch(_0x3c2b11){_0x1b0443['push'](_0x1b0443['shift']());}}}(_0x3f01,0x1ba0a));export*from'./route.js';export*from'./services/list-resources.js';export*from'./services/get-resource.js';export*from'./services/create-resource.js';function _0x19bc(_0x8dc0bb,_0x54b2c6){_0x8dc0bb=_0x8dc0bb-0x162;var _0x3f01a3=_0x3f01();var _0x19bc2d=_0x3f01a3[_0x8dc0bb];return _0x19bc2d;}export*from'./services/update-resource.js';export*from'./services/delete-resource.js';export*from'./services/list-resource-relation.js';export*from'./services/create-resource-relation.js';function _0x3f01(){var _0x3fa1c9=['1939005BVPXmH','32424jKlIso','21354FuTznT','3154760AktIFU','533824SYlVuv','65LdBtCH','57NWQKIr','81827qZfkHx','8617eFdKFV','1112vktXWj'];_0x3f01=function(){return _0x3fa1c9;};return _0x3f01();}export*from'./services/delete-resource-relation.js';export*from'./services/list-children.js';export*from'./services/search-resource.js';export*from'./services/export-resource.js';export*from'./services/suggest-resource.js';export*from'./services/add-note.js';export*from'./services/add-resource-file.js';export*from'./services/upload-resource-file.js';
@@ -1 +1 @@
1
- const Dn=p;(function(D,L){const Dv=p,s=D();while(!![]){try{const X=parseInt(Dv(0x1d9))/0x1+parseInt(Dv(0x1f9))/0x2+parseInt(Dv(0x239))/0x3+parseInt(Dv(0x23d))/0x4+parseInt(Dv(0x1dd))/0x5+-parseInt(Dv(0x20c))/0x6*(-parseInt(Dv(0x1d4))/0x7)+-parseInt(Dv(0x1eb))/0x8;if(X===L)break;else s['push'](s['shift']());}catch(M){s['push'](s['shift']());}}}(m,0xefad3));import{listResources}from'./services/list-resources.js';function p(D,L){D=D-0x1bd;const s=m();let X=s[D];return X;}import{getResource}from'./services/get-resource.js';import{createResource}from'./services/create-resource.js';import{updateResource}from'./services/update-resource.js';import{deleteResource}from'./services/delete-resource.js';import{listResourceRelation}from'./services/list-resource-relation.js';import{createResourceRelation}from'./services/create-resource-relation.js';import{deleteResourceRelation}from'./services/delete-resource-relation.js';function m(){const DN=['ngIpW','user','DPbEK','Adds\x20a\x20file\x20to\x20a\x20resource\x20record.','790621Knjwpl','tags','resource','Exports\x20readable\x20records\x20from\x20a\x20registered\x20resource.','7036100CEMBar','/api/resource/:resource/export','VBnis','GqfqW','vIUfl','/api/resource/:resource/:id/:relation','Ghpnr','VfVXX','GSQUE','split','wTKiA','uCnbI','Uploads\x20a\x20file\x20to\x20a\x20Resource\x20record\x20and\x20stores\x20its\x20metadata.','List\x20resource\x20relations','55217632ZGZCNX','tnuze','ZUYqA','BXsim','resourceId','ZpfEQ','Delete\x20resource\x20relation','params','get','resource:update','Delete\x20resource\x20record','Suggest\x20resource\x20values','Returns\x20files\x20related\x20to\x20a\x20resource\x20record.','tIvMU','2589930eHMxUv','Export\x20resource\x20records','6|11|5|10|13|8|16|15|12|1|7|2|3|14|9|4|0','Returns\x20one\x20record\x20from\x20a\x20registered\x20resource.','zMfjO','query','uploadResourceFileBody','access','resourceField','exportResource','schema','/api/resource/:resource/:id/files','TdmSp','fcore','wqlaq','KYsTa','GVRKc','Cacha','/api/resource/:resource/:id/upload','2711622BXTXVk','resourceIdRelation','/api/resource/:resource/:id/files/:relationId','zkhgO','suggestQuery','oQHZa','/api/resource/:resource/suggest/:field','qcoEn','QPhdp','/api/resource/:resource','UFlRu','jizBV','Returns\x20related\x20records\x20for\x20a\x20resource\x20record.','LPYCO','Upload\x20resource\x20file','List\x20resource\x20records','patch','/api/resource/:resource/search','permissions','body','Get\x20resource\x20record','delete','notes','Returns\x20records\x20from\x20a\x20registered\x20resource.','ZnMvY','Searches\x20records\x20in\x20a\x20registered\x20resource.','description','Deletes\x20a\x20record\x20from\x20a\x20registered\x20resource.','files','yqcKd','Returns\x20notes\x20related\x20to\x20a\x20resource\x20record.','cuPen','/api/resource/:resource/:id/:relation/:relationId','uploadResourceFile','Creates\x20a\x20relation\x20for\x20a\x20resource\x20record.','/api/resource/:resource/:id','NnJAS','oexFB','post','SlPdu','qPYTz','exportResourceQuery','NgXLI','HNUhe','resourceIdRelationId','2844792wlQhlo','Add\x20resource\x20file','zBXHn','Returns\x20suggested\x20values\x20for\x20a\x20resource\x20field.','6540404ZkaFWj','Search\x20resource','Adds\x20a\x20note\x20to\x20a\x20resource\x20record.','XmelE','DMMVO','Update\x20resource\x20record','List\x20resource\x20notes','List\x20resource\x20files','*:read','Create\x20resource\x20record','summary','ErOYe','dcLge','Create\x20resource\x20relation','Delete\x20resource\x20file','SuqxU','bFNPY','kGswh','Add\x20resource\x20note','Updates\x20a\x20record\x20in\x20a\x20registered\x20resource.','UYeeq','/api/resource/:resource/:id/notes','Removes\x20a\x20file\x20relation\x20from\x20a\x20resource\x20record.','Deletes\x20a\x20relation\x20from\x20a\x20resource\x20record.','hXhJN','Creates\x20a\x20record\x20in\x20a\x20registered\x20resource.','28pMiNJO'];m=function(){return DN;};return m();}import{searchResource}from'./services/search-resource.js';import{exportResource}from'./services/export-resource.js';import{suggestResource}from'./services/suggest-resource.js';import{addNote}from'./services/add-note.js';import{addResourceFile}from'./services/add-resource-file.js';import{uploadResourceFile}from'./services/upload-resource-file.js';import{resourceSchemas}from'./schema.js';const user=D=>D[Dn(0x1d6)];export function resourceRoutes(L){const DZ=Dn,s={};s[DZ(0x1f0)]=DZ(0x1fb),s[DZ(0x1cb)]=DZ(0x22c),s[DZ(0x217)]=DZ(0x206),s[DZ(0x1c6)]=DZ(0x1db),s[DZ(0x1ce)]=DZ(0x1f1),s[DZ(0x1c9)]=DZ(0x1d1),s[DZ(0x23b)]=DZ(0x1cf),s[DZ(0x20a)]=DZ(0x1cc),s[DZ(0x1e1)]=DZ(0x23f),s[DZ(0x219)]=DZ(0x1d6),s[DZ(0x1fd)]=DZ(0x204),s[DZ(0x234)]=DZ(0x23a),s[DZ(0x209)]=DZ(0x20b),s[DZ(0x216)]=DZ(0x21a),s[DZ(0x236)]=DZ(0x1e9),s[DZ(0x1e4)]=DZ(0x1f4),s[DZ(0x22b)]=DZ(0x1e2),s[DZ(0x211)]=DZ(0x1c7),s[DZ(0x207)]=DZ(0x22e),s[DZ(0x1f8)]=DZ(0x1de),s[DZ(0x208)]=DZ(0x1fa),s[DZ(0x224)]=DZ(0x1c2),s[DZ(0x1d7)]=DZ(0x21d),s[DZ(0x1e7)]=DZ(0x23e),s[DZ(0x1d2)]=DZ(0x225),s[DZ(0x1e8)]=DZ(0x1c1),s[DZ(0x1df)]=DZ(0x220),s[DZ(0x1bd)]=DZ(0x1fc),s[DZ(0x1ed)]=DZ(0x1ea),s[DZ(0x1e0)]=DZ(0x218),s[DZ(0x1be)]=DZ(0x215),s[DZ(0x231)]=DZ(0x21b),s[DZ(0x1e5)]=DZ(0x223),s[DZ(0x1ee)]=DZ(0x212),s[DZ(0x230)]=DZ(0x1f6),s[DZ(0x229)]=DZ(0x23c),s[DZ(0x214)]=DZ(0x1c0),s[DZ(0x205)]=DZ(0x22a),s[DZ(0x1ec)]=DZ(0x1c3),s[DZ(0x1c5)]=DZ(0x1d3),s[DZ(0x233)]=DZ(0x20e),s[DZ(0x1d5)]=DZ(0x1c8),s[DZ(0x1ca)]=DZ(0x1d0),s[DZ(0x213)]=DZ(0x22f),s[DZ(0x1e3)]=DZ(0x1f5),s[DZ(0x20f)]=DZ(0x227),s[DZ(0x237)]=DZ(0x1bf);const X=s;return async M=>{const Dx=DZ,u=X[Dx(0x1f0)][Dx(0x1e6)]('|');let o=0x0;while(!![]){switch(u[o++]){case'0':M[Dx(0x221)](X[Dx(0x1cb)],{'schema':{'tags':[X[Dx(0x217)],X[Dx(0x1c6)]],'summary':X[Dx(0x1ce)],'description':X[Dx(0x1c9)],'access':Dx(0x1d6),'permissions':[],'params':resourceSchemas[Dx(0x238)]}},async q=>deleteResourceRelation({...q[Dx(0x1f2)],'user':user(q)},L));continue;case'1':M[Dx(0x232)](X[Dx(0x23b)],{'schema':{'tags':[X[Dx(0x217)],Dx(0x1db)],'summary':X[Dx(0x20a)],'description':X[Dx(0x1e1)],'access':X[Dx(0x219)],'permissions':[],'params':resourceSchemas[Dx(0x1ef)]}},async q=>addNote({...q[Dx(0x1f2)],...q[Dx(0x21f)],'user':user(q)},L));continue;case'2':M[Dx(0x232)](X[Dx(0x1fd)],{'schema':{'tags':[Dx(0x206),X[Dx(0x1c6)]],'summary':X[Dx(0x234)],'description':Dx(0x1d8),'access':X[Dx(0x219)],'permissions':[],'params':resourceSchemas[Dx(0x1ef)]}},async q=>addResourceFile({...q[Dx(0x1f2)],...q[Dx(0x21f)],'user':user(q)},L));continue;case'3':M[Dx(0x232)](X[Dx(0x209)],{'schema':{'tags':[X[Dx(0x217)],X[Dx(0x1c6)]],'summary':X[Dx(0x216)],'description':X[Dx(0x236)],'access':X[Dx(0x219)],'permissions':[X[Dx(0x1e4)]],'params':resourceSchemas[Dx(0x22d)],'body':resourceSchemas[Dx(0x1ff)]}},async q=>uploadResourceFile({...q[Dx(0x1f2)],...q[Dx(0x21f)],'user':user(q)},L));continue;case'4':M[Dx(0x232)](X[Dx(0x22b)],{'schema':{'tags':[X[Dx(0x217)],X[Dx(0x1c6)]],'summary':X[Dx(0x211)],'description':X[Dx(0x207)],'access':X[Dx(0x219)],'permissions':[],'params':resourceSchemas[Dx(0x20d)]}},async q=>createResourceRelation({...q[Dx(0x1f2)],'data':q[Dx(0x21f)],'user':user(q)},L));continue;case'5':M[Dx(0x1f3)](X[Dx(0x1f8)],{'schema':{'tags':[X[Dx(0x217)],X[Dx(0x1c6)]],'summary':X[Dx(0x208)],'description':Dx(0x1dc),'access':Dx(0x1d6),'permissions':[X[Dx(0x224)]],'params':resourceSchemas[Dx(0x202)],'querystring':resourceSchemas[Dx(0x235)]}},async q=>exportResource({...q[Dx(0x1fe)],...q[Dx(0x1f2)],'user':user(q)},L));continue;case'6':M[Dx(0x1f3)](X[Dx(0x1d7)],{'schema':{'tags':[X[Dx(0x217)],X[Dx(0x1c6)]],'summary':X[Dx(0x1e7)],'description':X[Dx(0x1d2)],'access':Dx(0x1d6),'permissions':[],'params':resourceSchemas[Dx(0x1db)]}},async q=>searchResource({...q[Dx(0x1fe)],...q[Dx(0x1f2)],'user':user(q)},L));continue;case'7':M[Dx(0x1f3)](X[Dx(0x1fd)],{'schema':{'tags':[X[Dx(0x217)],X[Dx(0x1c6)]],'summary':X[Dx(0x1e8)],'description':Dx(0x1f7),'access':X[Dx(0x219)],'permissions':[],'params':resourceSchemas[Dx(0x1ef)]}},async q=>listResourceRelation({...q[Dx(0x1f2)],'relation':Dx(0x228),'user':user(q)},L));continue;case'8':const r={};r[Dx(0x1da)]=[X[Dx(0x217)],Dx(0x1db)],r[Dx(0x1c4)]=X[Dx(0x1df)],r[Dx(0x226)]=X[Dx(0x1bd)],r[Dx(0x200)]=X[Dx(0x219)],r[Dx(0x21e)]=[],r[Dx(0x1f2)]=resourceSchemas[Dx(0x1ef)];const i={};i[Dx(0x203)]=r,M[Dx(0x1f3)](Dx(0x22f),i,async q=>getResource({...q[Dx(0x1f2)],'user':user(q)},L));continue;case'9':M[Dx(0x1f3)](X[Dx(0x22b)],{'schema':{'tags':[X[Dx(0x217)],X[Dx(0x1c6)]],'summary':X[Dx(0x1ed)],'description':X[Dx(0x1e0)],'access':X[Dx(0x219)],'permissions':[],'params':resourceSchemas[Dx(0x20d)]}},async q=>listResourceRelation({...q[Dx(0x1fe)],...q[Dx(0x1f2)],'user':user(q)},L));continue;case'10':M[Dx(0x1f3)](X[Dx(0x1be)],{'schema':{'tags':[X[Dx(0x217)],Dx(0x1db)],'summary':X[Dx(0x231)],'description':X[Dx(0x1e5)],'access':X[Dx(0x219)],'permissions':[],'params':resourceSchemas[Dx(0x1db)]}},async q=>listResources({...q[Dx(0x1fe)],...q[Dx(0x1f2)],'user':user(q)},L));continue;case'11':M[Dx(0x1f3)](X[Dx(0x1ee)],{'schema':{'tags':[Dx(0x206),X[Dx(0x1c6)]],'summary':X[Dx(0x230)],'description':X[Dx(0x229)],'access':X[Dx(0x219)],'permissions':[],'params':resourceSchemas[Dx(0x201)],'querystring':resourceSchemas[Dx(0x210)]}},async q=>suggestResource({...q[Dx(0x1fe)],...q[Dx(0x1f2)],'user':user(q)},L));continue;case'12':M[Dx(0x1f3)](X[Dx(0x23b)],{'schema':{'tags':[X[Dx(0x217)],Dx(0x1db)],'summary':X[Dx(0x214)],'description':X[Dx(0x205)],'access':X[Dx(0x219)],'permissions':[],'params':resourceSchemas[Dx(0x1ef)]}},async q=>listResourceRelation({...q[Dx(0x1f2)],'relation':Dx(0x222),'user':user(q)},L));continue;case'13':M[Dx(0x232)](X[Dx(0x1be)],{'schema':{'tags':[X[Dx(0x217)],X[Dx(0x1c6)]],'summary':X[Dx(0x1ec)],'description':X[Dx(0x1c5)],'access':X[Dx(0x219)],'permissions':[],'params':resourceSchemas[Dx(0x1db)]}},async q=>createResource({...q[Dx(0x1f2)],'data':q[Dx(0x21f)],'user':user(q)},L));continue;case'14':M[Dx(0x221)](X[Dx(0x233)],{'schema':{'tags':[X[Dx(0x217)],X[Dx(0x1c6)]],'summary':X[Dx(0x1d5)],'description':X[Dx(0x1ca)],'access':Dx(0x1d6),'permissions':[],'params':resourceSchemas[Dx(0x238)]}},async q=>deleteResourceRelation({...q[Dx(0x1f2)],'relation':Dx(0x228),'user':user(q)},L));continue;case'15':M[Dx(0x221)](X[Dx(0x213)],{'schema':{'tags':[X[Dx(0x217)],X[Dx(0x1c6)]],'summary':X[Dx(0x1e3)],'description':X[Dx(0x20f)],'access':Dx(0x1d6),'permissions':[],'params':resourceSchemas[Dx(0x1ef)]}},async q=>deleteResource({...q[Dx(0x1f2)],'user':user(q)},L));continue;case'16':M[Dx(0x21c)](X[Dx(0x213)],{'schema':{'tags':[X[Dx(0x217)],Dx(0x1db)],'summary':X[Dx(0x237)],'description':Dx(0x1cd),'access':X[Dx(0x219)],'permissions':[],'params':resourceSchemas[Dx(0x1ef)]}},async q=>updateResource({...q[Dx(0x1f2)],'patch':q[Dx(0x21f)],'user':user(q)},L));continue;}break;}};}
1
+ const _0x5d1b31=_0x2a24;(function(_0x4dd5b6,_0x55a27d){const _0x4925c4=_0x2a24,_0x135aca=_0x4dd5b6();while(!![]){try{const _0x2c04a5=parseInt(_0x4925c4(0x223))/0x1*(parseInt(_0x4925c4(0x241))/0x2)+-parseInt(_0x4925c4(0x1d7))/0x3*(parseInt(_0x4925c4(0x1e7))/0x4)+parseInt(_0x4925c4(0x230))/0x5+-parseInt(_0x4925c4(0x251))/0x6+-parseInt(_0x4925c4(0x1e0))/0x7*(-parseInt(_0x4925c4(0x1f8))/0x8)+parseInt(_0x4925c4(0x201))/0x9*(-parseInt(_0x4925c4(0x219))/0xa)+parseInt(_0x4925c4(0x1fc))/0xb*(parseInt(_0x4925c4(0x1fe))/0xc);if(_0x2c04a5===_0x55a27d)break;else _0x135aca['push'](_0x135aca['shift']());}catch(_0x547559){_0x135aca['push'](_0x135aca['shift']());}}}(_0x38ae,0x1e306));import{listResources}from'./services/list-resources.js';import{getResource}from'./services/get-resource.js';import{createResource}from'./services/create-resource.js';import{updateResource}from'./services/update-resource.js';import{deleteResource}from'./services/delete-resource.js';import{listResourceRelation}from'./services/list-resource-relation.js';import{createResourceRelation}from'./services/create-resource-relation.js';import{deleteResourceRelation}from'./services/delete-resource-relation.js';import{searchResource}from'./services/search-resource.js';import{exportResource}from'./services/export-resource.js';import{suggestResource}from'./services/suggest-resource.js';import{addNote}from'./services/add-note.js';import{addResourceFile}from'./services/add-resource-file.js';function _0x2a24(_0x38c099,_0x24b71b){_0x38c099=_0x38c099-0x1d3;const _0x38ae6e=_0x38ae();let _0x2a24be=_0x38ae6e[_0x38c099];return _0x2a24be;}function _0x38ae(){const _0x5d5c6f=['Returns\x20notes\x20related\x20to\x20a\x20resource\x20record.','querystring','qawrU','4338EcFCcL','notes','suggestQuery','exportResourceQuery','WzLCV','Kkpsy','fkoAA','Deletes\x20a\x20record\x20from\x20a\x20registered\x20resource.','VtKgQ','691418dEOWHC','Suggest\x20resource\x20values','Adds\x20a\x20file\x20to\x20a\x20resource\x20record.','/api/resource/:resource/export','ArvmT','TRNwL','yYIyY','68gQGPOY','Returns\x20records\x20from\x20a\x20registered\x20resource.','DusVs','List\x20resource\x20notes','Deletes\x20a\x20relation\x20from\x20a\x20resource\x20record.','exportResource','*:read','access','jEemD','ipiYq','/api/resource/:resource/:id/files/:relationId','Qfmak','/api/resource/:resource/:id/:relation/:relationId','oKdBw','patch','Ezhjl','/api/resource/:resource/:id/notes','16TrcDvC','Creates\x20a\x20record\x20in\x20a\x20registered\x20resource.','resourceField','vAaVm','143oOabQP','HKzPy','1692dOifqr','XXbCc','/api/resource/:resource/search','117GUxXEr','params','Delete\x20resource\x20file','Searches\x20records\x20in\x20a\x20registered\x20resource.','/api/resource/:resource/suggest/:field','urZuQ','lBGTV','ODcKU','Creates\x20a\x20relation\x20for\x20a\x20resource\x20record.','Export\x20resource\x20records','List\x20resource\x20relations','Create\x20resource\x20relation','dMvdu','3|12|13|1|10|4|14|2|9|8|15|6|5|11|0|16|7','VeAzD','/api/resource/:resource/:id/files','uqzHc','Returns\x20files\x20related\x20to\x20a\x20resource\x20record.','tags','YTfyO','pVWRM','Search\x20resource','sGcxN','/api/resource/:resource','105730WZkMGw','Updates\x20a\x20record\x20in\x20a\x20registered\x20resource.','schema','WwHFT','Update\x20resource\x20record','Returns\x20related\x20records\x20for\x20a\x20resource\x20record.','description','acJrp','pkVkg','permissions','3026AzjddN','UzkFy','user','ZTEXJ','IyldD','/api/resource/:resource/:id','query','fcore','summary','uploadResourceFile','Removes\x20a\x20file\x20relation\x20from\x20a\x20resource\x20record.','Get\x20resource\x20record','List\x20resource\x20files','400235sbJHBa','resource:update','qMRFb','List\x20resource\x20records','split','fShsU','Exports\x20readable\x20records\x20from\x20a\x20registered\x20resource.','XJcVk','uploadResourceFileBody','Returns\x20suggested\x20values\x20for\x20a\x20resource\x20field.','resourceId','Add\x20resource\x20note','Zzywn','Delete\x20resource\x20record','Edvil','cVajB','resource','82ATNGJM','Uploads\x20a\x20file\x20to\x20a\x20Resource\x20record\x20and\x20stores\x20its\x20metadata.','UCOQd','lRtco','Upload\x20resource\x20file','UKUyd','post','/api/resource/:resource/:id/:relation','Returns\x20one\x20record\x20from\x20a\x20registered\x20resource.','Delete\x20resource\x20relation','FyjTV','delete','/api/resource/:resource/:id/upload','Adds\x20a\x20note\x20to\x20a\x20resource\x20record.','resourceIdRelation','AOBlZ','706854iKxASK','dXiur','files','body','resourceIdRelationId','Create\x20resource\x20record','get','Add\x20resource\x20file'];_0x38ae=function(){return _0x5d5c6f;};return _0x38ae();}import{uploadResourceFile}from'./services/upload-resource-file.js';import{resourceSchemas}from'./schema.js';const user=_0x38625f=>_0x38625f[_0x5d1b31(0x225)];export function resourceRoutes(_0x449154){const _0x339a7b=_0x5d1b31,_0x3f8e07={};_0x3f8e07[_0x339a7b(0x246)]=_0x339a7b(0x20e),_0x3f8e07[_0x339a7b(0x24b)]=_0x339a7b(0x248),_0x3f8e07[_0x339a7b(0x1ff)]=_0x339a7b(0x22a),_0x3f8e07[_0x339a7b(0x1dc)]=_0x339a7b(0x240),_0x3f8e07[_0x339a7b(0x232)]=_0x339a7b(0x21e),_0x3f8e07[_0x339a7b(0x1f0)]=_0x339a7b(0x225),_0x3f8e07[_0x339a7b(0x1f6)]=_0x339a7b(0x218),_0x3f8e07[_0x339a7b(0x226)]=_0x339a7b(0x233),_0x3f8e07[_0x339a7b(0x220)]=_0x339a7b(0x1e8),_0x3f8e07[_0x339a7b(0x23c)]=_0x339a7b(0x228),_0x3f8e07[_0x339a7b(0x206)]=_0x339a7b(0x23d),_0x3f8e07[_0x339a7b(0x1e6)]=_0x339a7b(0x200),_0x3f8e07[_0x339a7b(0x214)]=_0x339a7b(0x216),_0x3f8e07[_0x339a7b(0x207)]=_0x339a7b(0x204),_0x3f8e07[_0x339a7b(0x217)]=_0x339a7b(0x22e),_0x3f8e07[_0x339a7b(0x23e)]=_0x339a7b(0x245),_0x3f8e07[_0x339a7b(0x20d)]=_0x339a7b(0x242),_0x3f8e07[_0x339a7b(0x1dd)]=_0x339a7b(0x210),_0x3f8e07[_0x339a7b(0x20f)]=_0x339a7b(0x1d3),_0x3f8e07[_0x339a7b(0x224)]=_0x339a7b(0x1e2),_0x3f8e07[_0x339a7b(0x243)]=_0x339a7b(0x1f3),_0x3f8e07[_0x339a7b(0x1e4)]=_0x339a7b(0x24a),_0x3f8e07[_0x339a7b(0x1f4)]=_0x339a7b(0x1eb),_0x3f8e07[_0x339a7b(0x1ef)]=_0x339a7b(0x1f7),_0x3f8e07[_0x339a7b(0x215)]=_0x339a7b(0x23b),_0x3f8e07[_0x339a7b(0x235)]=_0x339a7b(0x24e),_0x3f8e07[_0x339a7b(0x244)]=_0x339a7b(0x1ea),_0x3f8e07[_0x339a7b(0x227)]=_0x339a7b(0x1d4),_0x3f8e07[_0x339a7b(0x1e9)]=_0x339a7b(0x1f9),_0x3f8e07[_0x339a7b(0x1db)]=_0x339a7b(0x1f1),_0x3f8e07[_0x339a7b(0x211)]=_0x339a7b(0x203),_0x3f8e07[_0x339a7b(0x1d6)]=_0x339a7b(0x22d),_0x3f8e07[_0x339a7b(0x1e5)]=_0x339a7b(0x205),_0x3f8e07[_0x339a7b(0x1df)]=_0x339a7b(0x1e1),_0x3f8e07[_0x339a7b(0x1f2)]=_0x339a7b(0x239),_0x3f8e07[_0x339a7b(0x21c)]=_0x339a7b(0x20a),_0x3f8e07[_0x339a7b(0x221)]=_0x339a7b(0x236),_0x3f8e07[_0x339a7b(0x23f)]=_0x339a7b(0x1ed),_0x3f8e07[_0x339a7b(0x237)]=_0x339a7b(0x21d),_0x3f8e07[_0x339a7b(0x252)]=_0x339a7b(0x21a),_0x3f8e07[_0x339a7b(0x250)]=_0x339a7b(0x22f),_0x3f8e07[_0x339a7b(0x1fb)]=_0x339a7b(0x212),_0x3f8e07[_0x339a7b(0x1fd)]=_0x339a7b(0x20c),_0x3f8e07[_0x339a7b(0x208)]=_0x339a7b(0x209);const _0x153a74=_0x3f8e07;return async _0x23caa9=>{const _0x3e2483=_0x339a7b,_0x33c71e=_0x153a74[_0x3e2483(0x246)][_0x3e2483(0x234)]('|');let _0x19bb4a=0x0;while(!![]){switch(_0x33c71e[_0x19bb4a++]){case'0':_0x23caa9[_0x3e2483(0x257)](_0x153a74[_0x3e2483(0x24b)],{'schema':{'tags':[_0x153a74[_0x3e2483(0x1ff)],_0x153a74[_0x3e2483(0x1dc)]],'summary':_0x3e2483(0x20b),'description':_0x153a74[_0x3e2483(0x232)],'access':_0x153a74[_0x3e2483(0x1f0)],'permissions':[],'params':resourceSchemas[_0x3e2483(0x24f)]}},async _0x4edf69=>listResourceRelation({..._0x4edf69[_0x3e2483(0x229)],..._0x4edf69[_0x3e2483(0x202)],'user':user(_0x4edf69)},_0x449154));continue;case'1':_0x23caa9[_0x3e2483(0x257)](_0x153a74[_0x3e2483(0x1f6)],{'schema':{'tags':[_0x153a74[_0x3e2483(0x1ff)],_0x153a74[_0x3e2483(0x1dc)]],'summary':_0x153a74[_0x3e2483(0x226)],'description':_0x153a74[_0x3e2483(0x220)],'access':_0x153a74[_0x3e2483(0x1f0)],'permissions':[],'params':resourceSchemas[_0x3e2483(0x240)]}},async _0x3502e8=>listResources({..._0x3502e8[_0x3e2483(0x229)],..._0x3502e8[_0x3e2483(0x202)],'user':user(_0x3502e8)},_0x449154));continue;case'2':_0x23caa9[_0x3e2483(0x24c)](_0x153a74[_0x3e2483(0x23c)],{'schema':{'tags':[_0x153a74[_0x3e2483(0x1ff)],_0x3e2483(0x240)],'summary':_0x153a74[_0x3e2483(0x206)],'description':_0x3e2483(0x1de),'access':_0x153a74[_0x3e2483(0x1f0)],'permissions':[],'params':resourceSchemas[_0x3e2483(0x23a)]}},async _0xf3b1a1=>deleteResource({..._0xf3b1a1[_0x3e2483(0x202)],'user':user(_0xf3b1a1)},_0x449154));continue;case'3':_0x23caa9[_0x3e2483(0x257)](_0x153a74[_0x3e2483(0x1e6)],{'schema':{'tags':[_0x153a74[_0x3e2483(0x1ff)],_0x153a74[_0x3e2483(0x1dc)]],'summary':_0x153a74[_0x3e2483(0x214)],'description':_0x153a74[_0x3e2483(0x207)],'access':_0x153a74[_0x3e2483(0x1f0)],'permissions':[],'params':resourceSchemas[_0x3e2483(0x240)]}},async _0x342749=>searchResource({..._0x342749[_0x3e2483(0x229)],..._0x342749[_0x3e2483(0x202)],'user':user(_0x342749)},_0x449154));continue;case'4':const _0x21c2bf={};_0x21c2bf[_0x3e2483(0x213)]=[_0x153a74[_0x3e2483(0x1ff)],_0x153a74[_0x3e2483(0x1dc)]],_0x21c2bf[_0x3e2483(0x22b)]=_0x153a74[_0x3e2483(0x217)],_0x21c2bf[_0x3e2483(0x21f)]=_0x3e2483(0x249),_0x21c2bf[_0x3e2483(0x1ee)]=_0x3e2483(0x225),_0x21c2bf[_0x3e2483(0x222)]=[],_0x21c2bf[_0x3e2483(0x202)]=resourceSchemas[_0x3e2483(0x23a)];const _0x355c15={};_0x355c15[_0x3e2483(0x21b)]=_0x21c2bf,_0x23caa9[_0x3e2483(0x257)](_0x3e2483(0x228),_0x355c15,async _0x2530ff=>getResource({..._0x2530ff[_0x3e2483(0x202)],'user':user(_0x2530ff)},_0x449154));continue;case'5':const _0x298a36={};_0x298a36[_0x3e2483(0x213)]=[_0x153a74[_0x3e2483(0x1ff)],_0x153a74[_0x3e2483(0x1dc)]],_0x298a36[_0x3e2483(0x22b)]=_0x153a74[_0x3e2483(0x23e)],_0x298a36[_0x3e2483(0x21f)]=_0x153a74[_0x3e2483(0x20d)],_0x298a36[_0x3e2483(0x1ee)]=_0x153a74[_0x3e2483(0x1f0)],_0x298a36[_0x3e2483(0x222)]=[_0x3e2483(0x231)],_0x298a36[_0x3e2483(0x202)]=resourceSchemas[_0x3e2483(0x22c)],_0x298a36[_0x3e2483(0x254)]=resourceSchemas[_0x3e2483(0x238)];const _0x23e29c={};_0x23e29c[_0x3e2483(0x21b)]=_0x298a36,_0x23caa9[_0x3e2483(0x247)](_0x3e2483(0x24d),_0x23e29c,async _0x43844b=>uploadResourceFile({..._0x43844b[_0x3e2483(0x202)],..._0x43844b[_0x3e2483(0x254)],'user':user(_0x43844b)},_0x449154));continue;case'6':_0x23caa9[_0x3e2483(0x247)](_0x153a74[_0x3e2483(0x1dd)],{'schema':{'tags':[_0x153a74[_0x3e2483(0x1ff)],_0x153a74[_0x3e2483(0x1dc)]],'summary':_0x153a74[_0x3e2483(0x20f)],'description':_0x153a74[_0x3e2483(0x224)],'access':_0x153a74[_0x3e2483(0x1f0)],'permissions':[],'params':resourceSchemas[_0x3e2483(0x23a)]}},async _0x3faf07=>addResourceFile({..._0x3faf07[_0x3e2483(0x202)],..._0x3faf07[_0x3e2483(0x254)],'user':user(_0x3faf07)},_0x449154));continue;case'7':_0x23caa9[_0x3e2483(0x24c)](_0x153a74[_0x3e2483(0x243)],{'schema':{'tags':[_0x153a74[_0x3e2483(0x1ff)],_0x153a74[_0x3e2483(0x1dc)]],'summary':_0x153a74[_0x3e2483(0x1e4)],'description':_0x153a74[_0x3e2483(0x1f4)],'access':_0x153a74[_0x3e2483(0x1f0)],'permissions':[],'params':resourceSchemas[_0x3e2483(0x255)]}},async _0x180a6f=>deleteResourceRelation({..._0x180a6f[_0x3e2483(0x202)],'user':user(_0x180a6f)},_0x449154));continue;case'8':_0x23caa9[_0x3e2483(0x247)](_0x153a74[_0x3e2483(0x1ef)],{'schema':{'tags':[_0x3e2483(0x22a),_0x153a74[_0x3e2483(0x1dc)]],'summary':_0x153a74[_0x3e2483(0x215)],'description':_0x153a74[_0x3e2483(0x235)],'access':_0x3e2483(0x225),'permissions':[],'params':resourceSchemas[_0x3e2483(0x23a)]}},async _0x6eb8bd=>addNote({..._0x6eb8bd[_0x3e2483(0x202)],..._0x6eb8bd[_0x3e2483(0x254)],'user':user(_0x6eb8bd)},_0x449154));continue;case'9':const _0x5d5e8e={};_0x5d5e8e[_0x3e2483(0x213)]=[_0x3e2483(0x22a),_0x153a74[_0x3e2483(0x1dc)]],_0x5d5e8e[_0x3e2483(0x22b)]=_0x153a74[_0x3e2483(0x244)],_0x5d5e8e[_0x3e2483(0x21f)]=_0x153a74[_0x3e2483(0x227)],_0x5d5e8e[_0x3e2483(0x1ee)]=_0x153a74[_0x3e2483(0x1f0)],_0x5d5e8e[_0x3e2483(0x222)]=[],_0x5d5e8e[_0x3e2483(0x202)]=resourceSchemas[_0x3e2483(0x23a)];const _0x11d38b={};_0x11d38b[_0x3e2483(0x21b)]=_0x5d5e8e,_0x23caa9[_0x3e2483(0x257)](_0x3e2483(0x1f7),_0x11d38b,async _0x54c63f=>listResourceRelation({..._0x54c63f[_0x3e2483(0x202)],'relation':_0x3e2483(0x1d8),'user':user(_0x54c63f)},_0x449154));continue;case'10':_0x23caa9[_0x3e2483(0x247)](_0x153a74[_0x3e2483(0x1f6)],{'schema':{'tags':[_0x153a74[_0x3e2483(0x1ff)],_0x153a74[_0x3e2483(0x1dc)]],'summary':_0x3e2483(0x256),'description':_0x153a74[_0x3e2483(0x1e9)],'access':_0x153a74[_0x3e2483(0x1f0)],'permissions':[],'params':resourceSchemas[_0x3e2483(0x240)]}},async _0x53df71=>createResource({..._0x53df71[_0x3e2483(0x202)],'data':_0x53df71[_0x3e2483(0x254)],'user':user(_0x53df71)},_0x449154));continue;case'11':_0x23caa9[_0x3e2483(0x24c)](_0x153a74[_0x3e2483(0x1db)],{'schema':{'tags':[_0x3e2483(0x22a),_0x153a74[_0x3e2483(0x1dc)]],'summary':_0x153a74[_0x3e2483(0x211)],'description':_0x153a74[_0x3e2483(0x1d6)],'access':_0x153a74[_0x3e2483(0x1f0)],'permissions':[],'params':resourceSchemas[_0x3e2483(0x255)]}},async _0x3f41ad=>deleteResourceRelation({..._0x3f41ad[_0x3e2483(0x202)],'relation':_0x3e2483(0x253),'user':user(_0x3f41ad)},_0x449154));continue;case'12':_0x23caa9[_0x3e2483(0x257)](_0x153a74[_0x3e2483(0x1e5)],{'schema':{'tags':[_0x3e2483(0x22a),_0x3e2483(0x240)],'summary':_0x153a74[_0x3e2483(0x1df)],'description':_0x153a74[_0x3e2483(0x1f2)],'access':_0x153a74[_0x3e2483(0x1f0)],'permissions':[],'params':resourceSchemas[_0x3e2483(0x1fa)],'querystring':resourceSchemas[_0x3e2483(0x1d9)]}},async _0x261f72=>suggestResource({..._0x261f72[_0x3e2483(0x229)],..._0x261f72[_0x3e2483(0x202)],'user':user(_0x261f72)},_0x449154));continue;case'13':const _0x4264aa={};_0x4264aa[_0x3e2483(0x213)]=[_0x153a74[_0x3e2483(0x1ff)],_0x3e2483(0x240)],_0x4264aa[_0x3e2483(0x22b)]=_0x153a74[_0x3e2483(0x21c)],_0x4264aa[_0x3e2483(0x21f)]=_0x153a74[_0x3e2483(0x221)],_0x4264aa[_0x3e2483(0x1ee)]=_0x153a74[_0x3e2483(0x1f0)],_0x4264aa[_0x3e2483(0x222)]=[_0x153a74[_0x3e2483(0x23f)]],_0x4264aa[_0x3e2483(0x202)]=resourceSchemas[_0x3e2483(0x1ec)],_0x4264aa[_0x3e2483(0x1d5)]=resourceSchemas[_0x3e2483(0x1da)];const _0x4adc20={};_0x4adc20[_0x3e2483(0x21b)]=_0x4264aa,_0x23caa9[_0x3e2483(0x257)](_0x3e2483(0x1e3),_0x4adc20,async _0x7037b1=>exportResource({..._0x7037b1[_0x3e2483(0x229)],..._0x7037b1[_0x3e2483(0x202)],'user':user(_0x7037b1)},_0x449154));continue;case'14':_0x23caa9[_0x3e2483(0x1f5)](_0x153a74[_0x3e2483(0x23c)],{'schema':{'tags':[_0x153a74[_0x3e2483(0x1ff)],_0x3e2483(0x240)],'summary':_0x153a74[_0x3e2483(0x237)],'description':_0x153a74[_0x3e2483(0x252)],'access':_0x153a74[_0x3e2483(0x1f0)],'permissions':[],'params':resourceSchemas[_0x3e2483(0x23a)]}},async _0x5b0070=>updateResource({..._0x5b0070[_0x3e2483(0x202)],'patch':_0x5b0070[_0x3e2483(0x254)],'user':user(_0x5b0070)},_0x449154));continue;case'15':const _0x4f10b2={};_0x4f10b2[_0x3e2483(0x213)]=[_0x153a74[_0x3e2483(0x1ff)],_0x153a74[_0x3e2483(0x1dc)]],_0x4f10b2[_0x3e2483(0x22b)]=_0x153a74[_0x3e2483(0x250)],_0x4f10b2[_0x3e2483(0x21f)]=_0x153a74[_0x3e2483(0x1fb)],_0x4f10b2[_0x3e2483(0x1ee)]=_0x153a74[_0x3e2483(0x1f0)],_0x4f10b2[_0x3e2483(0x222)]=[],_0x4f10b2[_0x3e2483(0x202)]=resourceSchemas[_0x3e2483(0x23a)];const _0x13638d={};_0x13638d[_0x3e2483(0x21b)]=_0x4f10b2,_0x23caa9[_0x3e2483(0x257)](_0x3e2483(0x210),_0x13638d,async _0x25f43b=>listResourceRelation({..._0x25f43b[_0x3e2483(0x202)],'relation':_0x3e2483(0x253),'user':user(_0x25f43b)},_0x449154));continue;case'16':_0x23caa9[_0x3e2483(0x247)](_0x153a74[_0x3e2483(0x24b)],{'schema':{'tags':[_0x153a74[_0x3e2483(0x1ff)],_0x153a74[_0x3e2483(0x1dc)]],'summary':_0x153a74[_0x3e2483(0x1fd)],'description':_0x153a74[_0x3e2483(0x208)],'access':_0x153a74[_0x3e2483(0x1f0)],'permissions':[],'params':resourceSchemas[_0x3e2483(0x24f)]}},async _0x554979=>createResourceRelation({..._0x554979[_0x3e2483(0x202)],'data':_0x554979[_0x3e2483(0x254)],'user':user(_0x554979)},_0x449154));continue;}break;}};}
@@ -1 +1 @@
1
- const y=p;(function(g,J){const t=p,S=g();while(!![]){try{const z=parseInt(t(0x17a))/0x1*(-parseInt(t(0x17c))/0x2)+-parseInt(t(0x174))/0x3+parseInt(t(0x169))/0x4*(parseInt(t(0x170))/0x5)+parseInt(t(0x17b))/0x6*(parseInt(t(0x164))/0x7)+-parseInt(t(0x17f))/0x8+parseInt(t(0x179))/0x9*(parseInt(t(0x16a))/0xa)+parseInt(t(0x173))/0xb;if(z===J)break;else S['push'](S['shift']());}catch(l){S['push'](S['shift']());}}}(m,0xc9c85));import{Type}from'@sinclair/typebox';const D={};D[y(0x166)]=0x1,D[y(0x17d)]=0x80,D[y(0x178)]=y(0x167);export const identifier=Type[y(0x16b)](D);const L={};L[y(0x180)]=identifier;const s={};s[y(0x171)]=identifier;const X={};X[y(0x171)]=identifier;function m(){const E=['String','maximum','Array','Unknown','relation','60szbeeW','resource','Integer','9710998FEDyRF','2054844HmTkDL','field','relationId','Any','pattern','1645236houUlA','73VbuJeZ','936498qMbzGP','15970yvWrjw','maxLength','Object','8511000hkSqqC','name','Optional','63PTNACe','Record','minLength','^[A-Za-z0-9][A-Za-z0-9_-]{0,127}$','minimum','168352wnehKE','20LLniVj'];m=function(){return E;};return m();}const M={};M[y(0x171)]=identifier,M[y(0x175)]=identifier;const u={};u[y(0x168)]=0x1,u[y(0x16c)]=0xc8;const o={};o[y(0x171)]=identifier,o['id']=identifier;const r={};r[y(0x171)]=identifier,r['id']=identifier,r[y(0x16f)]=identifier;const i={};i[y(0x171)]=identifier,i['id']=identifier,i[y(0x16f)]=identifier,i[y(0x176)]=identifier;const q={};q[y(0x171)]=identifier,q['id']=identifier;const R={};R[y(0x166)]=0x1,R[y(0x17d)]=0xff;const B={};B[y(0x166)]=0x1;const O={};function p(D,L){D=D-0x164;const s=m();let X=s[D];return X;}O[y(0x168)]=0x1,O[y(0x16c)]=0xc8;const h={};h[y(0x168)]=0x0;export const resourceSchemas={'dictionaryName':Type[y(0x17e)](L),'resource':Type[y(0x17e)](s),'exportResource':Type[y(0x17e)](X),'resourceField':Type[y(0x17e)](M),'suggestQuery':Type[y(0x17e)]({'q':Type[y(0x181)](Type[y(0x16b)]()),'search':Type[y(0x181)](Type[y(0x16b)]()),'limit':Type[y(0x181)](Type[y(0x172)](u))}),'resourceId':Type[y(0x17e)](o),'resourceIdRelation':Type[y(0x17e)](r),'resourceIdRelationId':Type[y(0x17e)](i),'uploadResourceFile':Type[y(0x17e)](q),'uploadResourceFileBody':Type[y(0x17e)]({'file':Type[y(0x177)](),'fileName':Type[y(0x16b)](R)}),'exportResourceQuery':Type[y(0x17e)]({'filter':Type[y(0x181)](Type[y(0x165)](Type[y(0x16b)](),Type[y(0x16e)]())),'sort':Type[y(0x181)](Type[y(0x16d)](Type[y(0x16b)](B))),'search':Type[y(0x181)](Type[y(0x16b)]()),'limit':Type[y(0x181)](Type[y(0x172)](O)),'offset':Type[y(0x181)](Type[y(0x172)](h)),'fields':Type[y(0x181)](Type[y(0x16d)](identifier))})};
1
+ const _0x56d90d=_0x1e82;(function(_0x5e100b,_0x1ee87c){const _0x290bf9=_0x1e82,_0x2022d2=_0x5e100b();while(!![]){try{const _0x463082=-parseInt(_0x290bf9(0x188))/0x1+parseInt(_0x290bf9(0x18a))/0x2*(-parseInt(_0x290bf9(0x171))/0x3)+-parseInt(_0x290bf9(0x177))/0x4+parseInt(_0x290bf9(0x183))/0x5*(-parseInt(_0x290bf9(0x17d))/0x6)+-parseInt(_0x290bf9(0x180))/0x7+-parseInt(_0x290bf9(0x17b))/0x8*(-parseInt(_0x290bf9(0x16d))/0x9)+parseInt(_0x290bf9(0x189))/0xa*(parseInt(_0x290bf9(0x186))/0xb);if(_0x463082===_0x1ee87c)break;else _0x2022d2['push'](_0x2022d2['shift']());}catch(_0x36209f){_0x2022d2['push'](_0x2022d2['shift']());}}}(_0x2143,0xc588a));import{Type}from'@sinclair/typebox';const _0x13bf22={};_0x13bf22[_0x56d90d(0x187)]=0x1,_0x13bf22[_0x56d90d(0x17c)]=0x80,_0x13bf22[_0x56d90d(0x16e)]=_0x56d90d(0x175);function _0x1e82(_0x555c25,_0x26b4ae){_0x555c25=_0x555c25-0x16d;const _0x2143e9=_0x2143();let _0x1e829c=_0x2143e9[_0x555c25];return _0x1e829c;}export const identifier=Type[_0x56d90d(0x17e)](_0x13bf22);const _0x4eee1e={};_0x4eee1e[_0x56d90d(0x174)]=identifier;const _0x26e967={};_0x26e967[_0x56d90d(0x16f)]=identifier;const _0x175335={};_0x175335[_0x56d90d(0x16f)]=identifier;const _0x1d286f={};_0x1d286f[_0x56d90d(0x16f)]=identifier,_0x1d286f[_0x56d90d(0x181)]=identifier;const _0x293933={};_0x293933[_0x56d90d(0x17a)]=0x1,_0x293933[_0x56d90d(0x179)]=0xc8;const _0x1df434={};_0x1df434[_0x56d90d(0x16f)]=identifier,_0x1df434['id']=identifier;const _0xd54263={};_0xd54263[_0x56d90d(0x16f)]=identifier,_0xd54263['id']=identifier,_0xd54263[_0x56d90d(0x184)]=identifier;const _0x549345={};_0x549345[_0x56d90d(0x16f)]=identifier,_0x549345['id']=identifier,_0x549345[_0x56d90d(0x184)]=identifier,_0x549345[_0x56d90d(0x182)]=identifier;const _0x4cf6be={};_0x4cf6be[_0x56d90d(0x16f)]=identifier,_0x4cf6be['id']=identifier;const _0x3a0f7d={};function _0x2143(){const _0x20044c=['Integer','604269JQKpTj','Optional','Unknown','name','^[A-Za-z0-9][A-Za-z0-9_-]{0,127}$','Array','2094416HQBqZi','Object','maximum','minimum','1360NzmcST','maxLength','138fUrQSM','String','Record','6830453gaeCyX','field','relationId','211605lpHyke','relation','Any','139964VpNImq','minLength','1240248HucBzV','3770KLzLfN','4kVUZvL','6777bKNwYo','pattern','resource'];_0x2143=function(){return _0x20044c;};return _0x2143();}_0x3a0f7d[_0x56d90d(0x187)]=0x1,_0x3a0f7d[_0x56d90d(0x17c)]=0xff;const _0x4adf55={};_0x4adf55[_0x56d90d(0x187)]=0x1;const _0x2b6955={};_0x2b6955[_0x56d90d(0x17a)]=0x1,_0x2b6955[_0x56d90d(0x179)]=0xc8;const _0x215148={};_0x215148[_0x56d90d(0x17a)]=0x0;export const resourceSchemas={'dictionaryName':Type[_0x56d90d(0x178)](_0x4eee1e),'resource':Type[_0x56d90d(0x178)](_0x26e967),'exportResource':Type[_0x56d90d(0x178)](_0x175335),'resourceField':Type[_0x56d90d(0x178)](_0x1d286f),'suggestQuery':Type[_0x56d90d(0x178)]({'q':Type[_0x56d90d(0x172)](Type[_0x56d90d(0x17e)]()),'search':Type[_0x56d90d(0x172)](Type[_0x56d90d(0x17e)]()),'limit':Type[_0x56d90d(0x172)](Type[_0x56d90d(0x170)](_0x293933))}),'resourceId':Type[_0x56d90d(0x178)](_0x1df434),'resourceIdRelation':Type[_0x56d90d(0x178)](_0xd54263),'resourceIdRelationId':Type[_0x56d90d(0x178)](_0x549345),'uploadResourceFile':Type[_0x56d90d(0x178)](_0x4cf6be),'uploadResourceFileBody':Type[_0x56d90d(0x178)]({'file':Type[_0x56d90d(0x185)](),'fileName':Type[_0x56d90d(0x17e)](_0x3a0f7d)}),'exportResourceQuery':Type[_0x56d90d(0x178)]({'filter':Type[_0x56d90d(0x172)](Type[_0x56d90d(0x17f)](Type[_0x56d90d(0x17e)](),Type[_0x56d90d(0x173)]())),'sort':Type[_0x56d90d(0x172)](Type[_0x56d90d(0x176)](Type[_0x56d90d(0x17e)](_0x4adf55))),'search':Type[_0x56d90d(0x172)](Type[_0x56d90d(0x17e)]()),'limit':Type[_0x56d90d(0x172)](Type[_0x56d90d(0x170)](_0x2b6955)),'offset':Type[_0x56d90d(0x172)](Type[_0x56d90d(0x170)](_0x215148)),'fields':Type[_0x56d90d(0x172)](Type[_0x56d90d(0x176)](identifier))})};
@@ -1 +1 @@
1
- (function(D,L){const u=p,s=D();while(!![]){try{const X=-parseInt(u(0x169))/0x1+parseInt(u(0x168))/0x2*(-parseInt(u(0x164))/0x3)+parseInt(u(0x16c))/0x4*(-parseInt(u(0x170))/0x5)+-parseInt(u(0x167))/0x6+-parseInt(u(0x16e))/0x7+parseInt(u(0x163))/0x8+parseInt(u(0x16b))/0x9*(parseInt(u(0x162))/0xa);if(X===L)break;else s['push'](s['shift']());}catch(M){s['push'](s['shift']());}}}(m,0x8e0a4));function p(D,L){D=D-0x162;const s=m();let X=s[D];return X;}export async function addNote(D,L){const o=p,s=await L['pg'][o(0x16a)](o(0x16f),[D[o(0x16d)],String(D['id']),D[o(0x166)]]);return s[o(0x165)][0x0];}function m(){const r=['39777IvepPs','rows','body','5790630BikJIu','2QCnzNc','895890IdHfbx','query','18sYogZm','1244YIMbuM','resource','3837799hNkysO','INSERT\x20INTO\x20admin.notes(resource,resource_id,body)\x20VALUES\x20($1,$2,$3)\x20RETURNING\x20*','17295Irvmne','15310760SkcyER','8143232FdeBoM'];m=function(){return r;};return m();}
1
+ (function(_0x5c544f,_0xd094c1){const _0x1b1f31=_0x5950,_0x22a795=_0x5c544f();while(!![]){try{const _0x15df50=-parseInt(_0x1b1f31(0x199))/0x1*(-parseInt(_0x1b1f31(0x19e))/0x2)+parseInt(_0x1b1f31(0x197))/0x3+-parseInt(_0x1b1f31(0x19c))/0x4+parseInt(_0x1b1f31(0x18f))/0x5*(parseInt(_0x1b1f31(0x19a))/0x6)+parseInt(_0x1b1f31(0x193))/0x7*(parseInt(_0x1b1f31(0x194))/0x8)+parseInt(_0x1b1f31(0x18e))/0x9*(-parseInt(_0x1b1f31(0x198))/0xa)+-parseInt(_0x1b1f31(0x19b))/0xb;if(_0x15df50===_0xd094c1)break;else _0x22a795['push'](_0x22a795['shift']());}catch(_0x20dbb8){_0x22a795['push'](_0x22a795['shift']());}}}(_0x44fa,0xbc8ca));function _0x5950(_0x3ff033,_0x5f414c){_0x3ff033=_0x3ff033-0x18e;const _0x44fa75=_0x44fa();let _0x5950dd=_0x44fa75[_0x3ff033];return _0x5950dd;}export async function addNote(_0x4ba8b6,_0x58ffda){const _0x121a9e=_0x5950,_0x1188aa={'nBIGK':function(_0x1c8038,_0x41603){return _0x1c8038(_0x41603);}},_0x20f304=await _0x58ffda['pg'][_0x121a9e(0x19d)](_0x121a9e(0x196),[_0x4ba8b6[_0x121a9e(0x191)],_0x1188aa[_0x121a9e(0x190)](String,_0x4ba8b6['id']),_0x4ba8b6[_0x121a9e(0x192)]]);return _0x20f304[_0x121a9e(0x195)][0x0];}function _0x44fa(){const _0x1338f8=['nBIGK','resource','body','139188zlXJSl','96KcPOAy','rows','INSERT\x20INTO\x20admin.notes(resource,resource_id,body)\x20VALUES\x20($1,$2,$3)\x20RETURNING\x20*','338394XEgYTD','1359140JKrZUr','7159aVbVaf','7863102HJYvUI','7103921cdPyeh','6044256ZdXaJC','query','392kSgzVD','9xguMwm','5JEaIKQ'];_0x44fa=function(){return _0x1338f8;};return _0x44fa();}
@@ -1 +1 @@
1
- function p(D,L){D=D-0x151;const s=m();let X=s[D];return X;}(function(D,L){const o=p,s=D();while(!![]){try{const X=parseInt(o(0x15d))/0x1+parseInt(o(0x151))/0x2*(parseInt(o(0x15c))/0x3)+parseInt(o(0x156))/0x4+parseInt(o(0x153))/0x5+-parseInt(o(0x152))/0x6+-parseInt(o(0x159))/0x7*(-parseInt(o(0x158))/0x8)+-parseInt(o(0x15b))/0x9;if(X===L)break;else s['push'](s['shift']());}catch(M){s['push'](s['shift']());}}}(m,0x73a72));function m(){const i=['893613WVmFGl','size','12176685ywzyqG','20649RURoMQ','648544LQREKI','resource','YPKbZ','query','142VAWDPh','4413552aVlmbM','1655245rsqzYG','\x0a\x20\x20\x20\x20\x20\x20\x20\x20INSERT\x20INTO\x20admin.files\x20(resource,\x20resource_id,\x20file_path,\x20size)\x0a\x20\x20\x20\x20\x20\x20\x20\x20VALUES\x20($1,\x20$2,\x20$3,\x20$4)\x0a\x20\x20\x20\x20\x20\x20\x20\x20RETURNING\x20*\x0a\x20\x20\x20\x20\x20\x20','rows','2333396EkKtXm','filePath','32nzRCCd'];m=function(){return i;};return m();}export async function addResourceFile(D,L){const r=p,s={'YPKbZ':function(M,u){return M(u);}},X=await L['pg'][r(0x160)](r(0x154),[D[r(0x15e)],s[r(0x15f)](String,D['id']),D[r(0x157)],D[r(0x15a)]??null]);return X[r(0x155)][0x0];}
1
+ function _0x37e6(){const _0x30c282=['4068030tVsMMP','81gGidBu','query','285440SKFCDz','7ZGlyzi','rows','8886232HAwAgX','5487805TAnzEk','3934570vTbRac','resource','52002fKkaZi','9eHZJqS','size','\x0a\x20\x20\x20\x20\x20\x20\x20\x20INSERT\x20INTO\x20admin.files\x20(resource,\x20resource_id,\x20file_path,\x20size)\x0a\x20\x20\x20\x20\x20\x20\x20\x20VALUES\x20($1,\x20$2,\x20$3,\x20$4)\x0a\x20\x20\x20\x20\x20\x20\x20\x20RETURNING\x20*\x0a\x20\x20\x20\x20\x20\x20','filePath','2697800wtDMUv'];_0x37e6=function(){return _0x30c282;};return _0x37e6();}(function(_0x47760b,_0x17f548){const _0x5af525=_0x24d2,_0x532ab9=_0x47760b();while(!![]){try{const _0x1a7ddc=parseInt(_0x5af525(0xec))/0x1+parseInt(_0x5af525(0xf3))/0x2*(parseInt(_0x5af525(0xea))/0x3)+-parseInt(_0x5af525(0xe8))/0x4+-parseInt(_0x5af525(0xf0))/0x5+-parseInt(_0x5af525(0xe9))/0x6*(-parseInt(_0x5af525(0xed))/0x7)+-parseInt(_0x5af525(0xef))/0x8*(-parseInt(_0x5af525(0xe4))/0x9)+-parseInt(_0x5af525(0xf1))/0xa;if(_0x1a7ddc===_0x17f548)break;else _0x532ab9['push'](_0x532ab9['shift']());}catch(_0x4d755e){_0x532ab9['push'](_0x532ab9['shift']());}}}(_0x37e6,0x951df));function _0x24d2(_0x2ed26c,_0x239e9a){_0x2ed26c=_0x2ed26c-0xe4;const _0x37e6ac=_0x37e6();let _0x24d28f=_0x37e6ac[_0x2ed26c];return _0x24d28f;}export async function addResourceFile(_0x8527f3,_0x32f072){const _0x1905c1=_0x24d2,_0x300a5b=await _0x32f072['pg'][_0x1905c1(0xeb)](_0x1905c1(0xe6),[_0x8527f3[_0x1905c1(0xf2)],String(_0x8527f3['id']),_0x8527f3[_0x1905c1(0xe7)],_0x8527f3[_0x1905c1(0xe5)]??null]);return _0x300a5b[_0x1905c1(0xee)][0x0];}
@@ -1 +1 @@
1
- (function(D,L){var u=p,s=D();while(!![]){try{var X=parseInt(u(0x142))/0x1+parseInt(u(0x139))/0x2*(parseInt(u(0x13e))/0x3)+parseInt(u(0x13a))/0x4*(-parseInt(u(0x138))/0x5)+-parseInt(u(0x13b))/0x6+-parseInt(u(0x140))/0x7+-parseInt(u(0x137))/0x8*(-parseInt(u(0x13d))/0x9)+-parseInt(u(0x141))/0xa;if(X===L)break;else s['push'](s['shift']());}catch(M){s['push'](s['shift']());}}}(m,0x37da7));import{unsupported}from'../../utils/unsupported.js';export async function createResourceRelation(D,L){var o=p,s={'aYEoR':function(X,M){return X(M);}};return s[o(0x13f)](unsupported,o(0x13c));}function p(D,L){D=D-0x137;var s=m();var X=s[D];return X;}function m(){var r=['aYEoR','645512DWihkR','2277790iYdkbV','230210gmHsYr','2185680CSalML','1114395amlZJy','6036hGaEof','4RGwoXr','817098UdLbkF','Generic\x20Resource\x20relations','9lHDQOG','402lcTkqd'];m=function(){return r;};return m();}
1
+ (function(_0x2c3b92,_0x2f95f8){var _0x283dbf=_0x257f,_0x50cc82=_0x2c3b92();while(!![]){try{var _0x3a5c01=-parseInt(_0x283dbf(0xf6))/0x1+-parseInt(_0x283dbf(0xf3))/0x2*(parseInt(_0x283dbf(0xf9))/0x3)+parseInt(_0x283dbf(0xf7))/0x4*(-parseInt(_0x283dbf(0xf2))/0x5)+parseInt(_0x283dbf(0xfc))/0x6*(-parseInt(_0x283dbf(0xf4))/0x7)+-parseInt(_0x283dbf(0xfa))/0x8+-parseInt(_0x283dbf(0xf8))/0x9+-parseInt(_0x283dbf(0xf1))/0xa*(-parseInt(_0x283dbf(0xf5))/0xb);if(_0x3a5c01===_0x2f95f8)break;else _0x50cc82['push'](_0x50cc82['shift']());}catch(_0x102f76){_0x50cc82['push'](_0x50cc82['shift']());}}}(_0x1302,0xce86f));import{unsupported}from'../../utils/unsupported.js';function _0x257f(_0x25ade5,_0x599b64){_0x25ade5=_0x25ade5-0xf0;var _0x13024a=_0x1302();var _0x257f40=_0x13024a[_0x25ade5];return _0x257f40;}export async function createResourceRelation(_0x341d80,_0x25bffb){var _0x53878e=_0x257f,_0x15ba1d={'BYPSg':function(_0x5196ad,_0x2b8d7f){return _0x5196ad(_0x2b8d7f);}};return _0x15ba1d[_0x53878e(0xf0)](unsupported,_0x53878e(0xfb));}function _0x1302(){var _0x18fd59=['10MyAggR','2359815RKpfxh','2lmJatT','4525255TwhecV','42090059OzDkYV','220371YFNStE','4gZGjgn','5265387JzeKfe','3050349yoIzTg','318472ZvhfEF','Generic\x20Resource\x20relations','6BHBYsg','BYPSg'];_0x1302=function(){return _0x18fd59;};return _0x1302();}
@@ -1 +1 @@
1
- (function(D,L){var i=p,s=D();while(!![]){try{var X=-parseInt(i(0x18a))/0x1+parseInt(i(0x189))/0x2+-parseInt(i(0x18f))/0x3+-parseInt(i(0x192))/0x4*(-parseInt(i(0x18d))/0x5)+parseInt(i(0x18b))/0x6*(-parseInt(i(0x188))/0x7)+parseInt(i(0x187))/0x8+-parseInt(i(0x18c))/0x9;if(X===L)break;else s['push'](s['shift']());}catch(M){s['push'](s['shift']());}}}(m,0xd2dbc));function p(D,L){D=D-0x187;var s=m();var X=s[D];return X;}export async function createResource(L,s){var q=p,X={};return X[q(0x191)]=L[q(0x194)],X[q(0x190)]=L[q(0x190)],X[q(0x193)]=L[q(0x193)],s[q(0x194)][q(0x18e)](X);}function m(){var R=['create','577728RvVade','data','name','8JrcEVo','user','resource','2578872lKMQQt','6058829WUXGoD','2784216XaSWtT','110361IsGsMr','6dkBIZN','12433023yEJHnC','4247850ZYdyRb'];m=function(){return R;};return m();}
1
+ (function(_0x1a6305,_0x1fb81c){var _0x554a33=_0x2d10,_0xc37be1=_0x1a6305();while(!![]){try{var _0x594509=-parseInt(_0x554a33(0x17e))/0x1+parseInt(_0x554a33(0x17f))/0x2*(parseInt(_0x554a33(0x189))/0x3)+parseInt(_0x554a33(0x180))/0x4*(parseInt(_0x554a33(0x18b))/0x5)+parseInt(_0x554a33(0x184))/0x6+parseInt(_0x554a33(0x188))/0x7*(parseInt(_0x554a33(0x17d))/0x8)+parseInt(_0x554a33(0x183))/0x9*(-parseInt(_0x554a33(0x181))/0xa)+-parseInt(_0x554a33(0x182))/0xb;if(_0x594509===_0x1fb81c)break;else _0xc37be1['push'](_0xc37be1['shift']());}catch(_0x91bd58){_0xc37be1['push'](_0xc37be1['shift']());}}}(_0x559c,0x78a00));function _0x559c(){var _0x1fb6ce=['514339rqlUqt','1829658HpejpJ','name','10VsxPJe','user','8aBkJmD','197577Phudnx','2ucLNdp','602380pqADAD','420SzDsvx','5601508jIglAj','7641XwdSOP','1511940NBepVw','create','data','resource'];_0x559c=function(){return _0x1fb6ce;};return _0x559c();}function _0x2d10(_0x5760c8,_0x22886c){_0x5760c8=_0x5760c8-0x17c;var _0x559ce1=_0x559c();var _0x2d1083=_0x559ce1[_0x5760c8];return _0x2d1083;}export async function createResource(_0x515c77,_0x130cf9){var _0x5e426a=_0x2d10,_0x4f5938={};return _0x4f5938[_0x5e426a(0x18a)]=_0x515c77[_0x5e426a(0x187)],_0x4f5938[_0x5e426a(0x186)]=_0x515c77[_0x5e426a(0x186)],_0x4f5938[_0x5e426a(0x17c)]=_0x515c77[_0x5e426a(0x17c)],_0x130cf9[_0x5e426a(0x187)][_0x5e426a(0x185)](_0x4f5938);}
@@ -1 +1 @@
1
- (function(D,L){var u=p,s=D();while(!![]){try{var X=parseInt(u(0xf5))/0x1*(parseInt(u(0xfa))/0x2)+parseInt(u(0xfe))/0x3*(-parseInt(u(0x100))/0x4)+parseInt(u(0xff))/0x5*(parseInt(u(0xfb))/0x6)+-parseInt(u(0xf7))/0x7+parseInt(u(0xfd))/0x8+-parseInt(u(0xf8))/0x9*(-parseInt(u(0xf6))/0xa)+parseInt(u(0xfc))/0xb;if(X===L)break;else s['push'](s['shift']());}catch(M){s['push'](s['shift']());}}}(m,0xb0952));import{unsupported}from'../../utils/unsupported.js';function p(D,L){D=D-0xf4;var s=m();var X=s[D];return X;}export async function deleteResourceRelation(L,s){var o=p,X={};X[o(0xf4)]=o(0xf9);var M=X;return unsupported(M[o(0xf4)]);}function m(){var r=['47849bbOIat','370YCjVAk','8367121NyhtEN','53523ahLWoi','Generic\x20Resource\x20relations','24oXrJkz','635364rMVtcv','459833pOOaye','11211696cGOFor','144735CWQMuO','10DGITjM','44wQwEwp','VNjtc'];m=function(){return r;};return m();}
1
+ function _0xc40a(_0x4d8b46,_0x531f34){_0x4d8b46=_0x4d8b46-0x7c;var _0x161716=_0x1617();var _0xc40ab7=_0x161716[_0x4d8b46];return _0xc40ab7;}(function(_0x18fb66,_0x3cfbe2){var _0x5388fc=_0xc40a,_0x44d329=_0x18fb66();while(!![]){try{var _0x2b6114=parseInt(_0x5388fc(0x85))/0x1*(parseInt(_0x5388fc(0x87))/0x2)+-parseInt(_0x5388fc(0x89))/0x3+-parseInt(_0x5388fc(0x7f))/0x4+-parseInt(_0x5388fc(0x88))/0x5*(-parseInt(_0x5388fc(0x7c))/0x6)+-parseInt(_0x5388fc(0x81))/0x7*(-parseInt(_0x5388fc(0x7d))/0x8)+-parseInt(_0x5388fc(0x80))/0x9+-parseInt(_0x5388fc(0x82))/0xa*(-parseInt(_0x5388fc(0x86))/0xb);if(_0x2b6114===_0x3cfbe2)break;else _0x44d329['push'](_0x44d329['shift']());}catch(_0xec8951){_0x44d329['push'](_0x44d329['shift']());}}}(_0x1617,0xcc9e7));import{unsupported}from'../../utils/unsupported.js';export async function deleteResourceRelation(_0x3175e3,_0x57dc4e){var _0x1d4e6d=_0xc40a,_0x4906ad={'MGVdg':function(_0xc43279,_0x50af2c){return _0xc43279(_0x50af2c);},'MCXNQ':_0x1d4e6d(0x84)};return _0x4906ad[_0x1d4e6d(0x7e)](unsupported,_0x4906ad[_0x1d4e6d(0x83)]);}function _0x1617(){var _0xf82af2=['Generic\x20Resource\x20relations','444784vBXbHN','13840574eQbtRJ','4JLJqDz','20lxqUgq','2683275KryNyu','1262598iiOrfJ','1760816ZPJJoC','MGVdg','3918396SEdsvT','14382027kMkvnq','42ldhGmD','10odBBTR','MCXNQ'];_0x1617=function(){return _0xf82af2;};return _0x1617();}
@@ -1 +1 @@
1
- function m(){var R=['746300sIThCn','4114wQLjfO','6330YAsxby','353432LaXFbM','13311VZnHDa','1886442sloxNY','323968uQuoPw','186kStaYH','user','462483yJYyLN','delete','21tsCSts','name','resource'];m=function(){return R;};return m();}(function(D,L){var i=p,s=D();while(!![]){try{var X=-parseInt(i(0x1d4))/0x1*(parseInt(i(0x1ce))/0x2)+parseInt(i(0x1c8))/0x3+parseInt(i(0x1d0))/0x4+-parseInt(i(0x1cd))/0x5+-parseInt(i(0x1d2))/0x6+parseInt(i(0x1ca))/0x7*(-parseInt(i(0x1d3))/0x8)+-parseInt(i(0x1d1))/0x9*(-parseInt(i(0x1cf))/0xa);if(X===L)break;else s['push'](s['shift']());}catch(M){s['push'](s['shift']());}}}(m,0x33819));function p(D,L){D=D-0x1c7;var s=m();var X=s[D];return X;}export async function deleteResource(L,s){var q=p,X={};return X[q(0x1cb)]=L[q(0x1cc)],X['id']=L['id'],X[q(0x1c7)]=L[q(0x1c7)],s[q(0x1cc)][q(0x1c9)](X);}
1
+ function _0x3417(_0x4676ee,_0x2f1834){_0x4676ee=_0x4676ee-0x1b0;var _0xdb22d1=_0xdb22();var _0x3417eb=_0xdb22d1[_0x4676ee];return _0x3417eb;}function _0xdb22(){var _0x2105ec=['name','2gbYXbW','delete','700760PNfxIb','416420LmMMno','6ukXLqe','4047429DEoQFj','4391835bTHMQR','235976mnaAOL','751688JlHcYZ','user','319WplRAz','180sfMric','918458QeksdI','resource'];_0xdb22=function(){return _0x2105ec;};return _0xdb22();}(function(_0xb3e3dc,_0x19c8eb){var _0x1f2162=_0x3417,_0x242b74=_0xb3e3dc();while(!![]){try{var _0x295335=-parseInt(_0x1f2162(0x1b8))/0x1+-parseInt(_0x1f2162(0x1bb))/0x2*(-parseInt(_0x1f2162(0x1b1))/0x3)+parseInt(_0x1f2162(0x1b3))/0x4+parseInt(_0x1f2162(0x1b2))/0x5+parseInt(_0x1f2162(0x1b0))/0x6*(parseInt(_0x1f2162(0x1b4))/0x7)+parseInt(_0x1f2162(0x1bd))/0x8*(-parseInt(_0x1f2162(0x1b7))/0x9)+-parseInt(_0x1f2162(0x1be))/0xa*(-parseInt(_0x1f2162(0x1b6))/0xb);if(_0x295335===_0x19c8eb)break;else _0x242b74['push'](_0x242b74['shift']());}catch(_0x369c66){_0x242b74['push'](_0x242b74['shift']());}}}(_0xdb22,0xe354c));export async function deleteResource(_0x3433a6,_0x3478dc){var _0x2e3bd7=_0x3417,_0x156864={};return _0x156864[_0x2e3bd7(0x1ba)]=_0x3433a6[_0x2e3bd7(0x1b9)],_0x156864['id']=_0x3433a6['id'],_0x156864[_0x2e3bd7(0x1b5)]=_0x3433a6[_0x2e3bd7(0x1b5)],_0x3478dc[_0x2e3bd7(0x1b9)][_0x2e3bd7(0x1bc)](_0x156864);}
@@ -1 +1 @@
1
- (function(D,L){const u=p,s=D();while(!![]){try{const X=parseInt(u(0xe5))/0x1*(-parseInt(u(0xec))/0x2)+parseInt(u(0xf2))/0x3*(parseInt(u(0xef))/0x4)+parseInt(u(0xe1))/0x5*(parseInt(u(0xde))/0x6)+parseInt(u(0xe3))/0x7*(parseInt(u(0xe9))/0x8)+-parseInt(u(0xe8))/0x9+parseInt(u(0xf3))/0xa+-parseInt(u(0xe6))/0xb;if(X===L)break;else s['push'](s['shift']());}catch(M){s['push'](s['shift']());}}}(m,0x6ec37));export async function exportResource(L,s){const o=p,X={};X[o(0xee)]=L[o(0xe4)],X[o(0xea)]={},X[o(0xdd)]=L[o(0xdd)],X[o(0xea)][o(0xe2)]=L[o(0xe2)],X[o(0xea)][o(0xf0)]=L[o(0xf0)],X[o(0xea)][o(0xe7)]=L[o(0xe7)],X[o(0xea)][o(0xeb)]=L[o(0xeb)],X[o(0xea)][o(0xe0)]=L[o(0xe0)],X[o(0xea)][o(0xdf)]=L[o(0xdf)];const M=await s[o(0xe4)][o(0xf1)](X);return M[o(0xed)];}function p(D,L){D=D-0xdd;const s=m();let X=s[D];return X;}function m(){const r=['resource','373249EKfJsn','3373073iAWKlW','search','6444918cIiiFw','3334256fGAoPU','query','limit','2jftcqK','rows','name','4JQzjUJ','sort','find','452784cvobli','533740njTxnD','user','4870890FvuhUr','fields','offset','5tUAzJD','filter','14RIpTaL'];m=function(){return r;};return m();}
1
+ function _0x1e2c(_0x1a3521,_0x5695b0){_0x1a3521=_0x1a3521-0x1ac;const _0x128fb9=_0x128f();let _0x1e2ca9=_0x128fb9[_0x1a3521];return _0x1e2ca9;}(function(_0x265195,_0x2e7b02){const _0x5e0eb=_0x1e2c,_0x2f9fe9=_0x265195();while(!![]){try{const _0x239d3e=-parseInt(_0x5e0eb(0x1bb))/0x1+parseInt(_0x5e0eb(0x1ac))/0x2+parseInt(_0x5e0eb(0x1b7))/0x3*(-parseInt(_0x5e0eb(0x1b0))/0x4)+parseInt(_0x5e0eb(0x1be))/0x5*(parseInt(_0x5e0eb(0x1b5))/0x6)+parseInt(_0x5e0eb(0x1b3))/0x7*(-parseInt(_0x5e0eb(0x1bd))/0x8)+-parseInt(_0x5e0eb(0x1b4))/0x9*(-parseInt(_0x5e0eb(0x1bc))/0xa)+-parseInt(_0x5e0eb(0x1bf))/0xb;if(_0x239d3e===_0x2e7b02)break;else _0x2f9fe9['push'](_0x2f9fe9['shift']());}catch(_0x3b4ac2){_0x2f9fe9['push'](_0x2f9fe9['shift']());}}}(_0x128f,0xb4e62));export async function exportResource(_0x1a1ab5,_0x3f12e9){const _0xe2f4eb=_0x1e2c,_0x4ed087={};_0x4ed087[_0xe2f4eb(0x1b8)]=_0x1a1ab5[_0xe2f4eb(0x1af)],_0x4ed087[_0xe2f4eb(0x1b9)]={},_0x4ed087[_0xe2f4eb(0x1ad)]=_0x1a1ab5[_0xe2f4eb(0x1ad)],_0x4ed087[_0xe2f4eb(0x1b9)][_0xe2f4eb(0x1c0)]=_0x1a1ab5[_0xe2f4eb(0x1c0)],_0x4ed087[_0xe2f4eb(0x1b9)][_0xe2f4eb(0x1c1)]=_0x1a1ab5[_0xe2f4eb(0x1c1)],_0x4ed087[_0xe2f4eb(0x1b9)][_0xe2f4eb(0x1ba)]=_0x1a1ab5[_0xe2f4eb(0x1ba)],_0x4ed087[_0xe2f4eb(0x1b9)][_0xe2f4eb(0x1b2)]=_0x1a1ab5[_0xe2f4eb(0x1b2)],_0x4ed087[_0xe2f4eb(0x1b9)][_0xe2f4eb(0x1b6)]=_0x1a1ab5[_0xe2f4eb(0x1b6)],_0x4ed087[_0xe2f4eb(0x1b9)][_0xe2f4eb(0x1b1)]=_0x1a1ab5[_0xe2f4eb(0x1b1)];const _0x3ad9ff=await _0x3f12e9[_0xe2f4eb(0x1af)][_0xe2f4eb(0x1c2)](_0x4ed087);return _0x3ad9ff[_0xe2f4eb(0x1ae)];}function _0x128f(){const _0x1a3045=['9oTbIxd','16986jAReIg','offset','6zKwPww','name','query','search','423015bEIewv','11005750XYIXUZ','1091152nmloGR','1855UEPSKT','5121578hqUYMY','filter','sort','find','799742jWUToL','user','rows','resource','1569556NFvsKP','fields','limit','7nfTViT'];_0x128f=function(){return _0x1a3045;};return _0x128f();}
@@ -1 +1 @@
1
- (function(D,L){var i=p,s=D();while(!![]){try{var X=-parseInt(i(0x1f4))/0x1*(parseInt(i(0x1f7))/0x2)+-parseInt(i(0x1fd))/0x3+parseInt(i(0x1f3))/0x4*(-parseInt(i(0x1fa))/0x5)+-parseInt(i(0x200))/0x6+parseInt(i(0x1ff))/0x7*(parseInt(i(0x1f9))/0x8)+parseInt(i(0x1f8))/0x9*(-parseInt(i(0x1fc))/0xa)+parseInt(i(0x1fe))/0xb*(parseInt(i(0x1f2))/0xc);if(X===L)break;else s['push'](s['shift']());}catch(M){s['push'](s['shift']());}}}(m,0x3ab40));function p(D,L){D=D-0x1f1;var s=m();var X=s[D];return X;}function m(){var R=['1224GoSYLe','3821eNWbat','findOne','resource','10TALTye','9svejnn','56dMwpjH','1565SfeVES','user','228070VQsXbx','34656HzxAEa','100001YnVaRQ','157003NNtDgk','1167540ocxXDS','name','564DFiiPl'];m=function(){return R;};return m();}export async function getResource(L,s){var q=p,X={};return X[q(0x1f1)]=L[q(0x1f6)],X['id']=L['id'],X[q(0x1fb)]=L[q(0x1fb)],s[q(0x1f6)][q(0x1f5)](X);}
1
+ (function(_0x5179e1,_0x2b7df5){var _0x37b3c3=_0x1aef,_0x33196c=_0x5179e1();while(!![]){try{var _0x2334ff=-parseInt(_0x37b3c3(0x1db))/0x1+parseInt(_0x37b3c3(0x1e4))/0x2*(parseInt(_0x37b3c3(0x1de))/0x3)+-parseInt(_0x37b3c3(0x1e1))/0x4*(-parseInt(_0x37b3c3(0x1d6))/0x5)+-parseInt(_0x37b3c3(0x1dd))/0x6*(-parseInt(_0x37b3c3(0x1d9))/0x7)+parseInt(_0x37b3c3(0x1e0))/0x8+parseInt(_0x37b3c3(0x1e2))/0x9+parseInt(_0x37b3c3(0x1da))/0xa*(-parseInt(_0x37b3c3(0x1e3))/0xb);if(_0x2334ff===_0x2b7df5)break;else _0x33196c['push'](_0x33196c['shift']());}catch(_0x5df38d){_0x33196c['push'](_0x33196c['shift']());}}}(_0x334d,0x87ff9));export async function getResource(_0x4202be,_0xc99b0){var _0x3777a8=_0x1aef,_0x2c221f={};return _0x2c221f[_0x3777a8(0x1d8)]=_0x4202be[_0x3777a8(0x1dc)],_0x2c221f['id']=_0x4202be['id'],_0x2c221f[_0x3777a8(0x1df)]=_0x4202be[_0x3777a8(0x1df)],_0xc99b0[_0x3777a8(0x1dc)][_0x3777a8(0x1d7)](_0x2c221f);}function _0x1aef(_0x2dede9,_0x510eed){_0x2dede9=_0x2dede9-0x1d6;var _0x334d11=_0x334d();var _0x1aefec=_0x334d11[_0x2dede9];return _0x1aefec;}function _0x334d(){var _0x4fd6c2=['308819heuDwo','resource','1694598lHkuMG','22521gJXzXD','user','3358840ZsQmuS','1532AsZrai','1023174vKTjPq','429Ukuqem','118svDuFx','10315FZMRQM','findOne','name','14JHsMNG','375790EzTRgy'];_0x334d=function(){return _0x4fd6c2;};return _0x334d();}
@@ -1 +1 @@
1
- (function(D,L){var u=p,s=D();while(!![]){try{var X=-parseInt(u(0x10a))/0x1+-parseInt(u(0x110))/0x2*(parseInt(u(0x10d))/0x3)+-parseInt(u(0x113))/0x4*(parseInt(u(0x10b))/0x5)+parseInt(u(0x115))/0x6+parseInt(u(0x117))/0x7+-parseInt(u(0x116))/0x8*(parseInt(u(0x10c))/0x9)+parseInt(u(0x111))/0xa*(parseInt(u(0x10f))/0xb);if(X===L)break;else s['push'](s['shift']());}catch(M){s['push'](s['shift']());}}}(m,0x7f2e5));function m(){var r=['11ZiCcRG','4weRoIY','16082410xVQNPC','PJaLV','24nypdjb','Generic\x20Resource\x20children','1465206ktRojM','6639944GhVgDH','562674nptMzC','176428byTMGt','278310sYuGLB','9YkIYhn','107247fHJZjz','cDuKO'];m=function(){return r;};return m();}import{unsupported}from'../../utils/unsupported.js';function p(D,L){D=D-0x10a;var s=m();var X=s[D];return X;}export async function listChildren(D,L){var o=p,s={'cDuKO':function(X,M){return X(M);},'PJaLV':o(0x114)};return s[o(0x10e)](unsupported,s[o(0x112)]);}
1
+ function _0x7378(){var _0x12832b=['1224RrStXA','jebfV','1324DCJhtg','128GQgfsd','1534740etXlGJ','2280KMuQVf','27RmhCoX','16584eXuiQJ','135837iymkHz','96803jlLeUq','Generic\x20Resource\x20children','23248aEHzUp'];_0x7378=function(){return _0x12832b;};return _0x7378();}(function(_0x356cdc,_0x394cab){var _0x4a5219=_0xb90b,_0x37629f=_0x356cdc();while(!![]){try{var _0x273086=parseInt(_0x4a5219(0x1eb))/0x1*(parseInt(_0x4a5219(0x1e8))/0x2)+parseInt(_0x4a5219(0x1e4))/0x3+-parseInt(_0x4a5219(0x1ea))/0x4*(parseInt(_0x4a5219(0x1ed))/0x5)+parseInt(_0x4a5219(0x1ef))/0x6+-parseInt(_0x4a5219(0x1e5))/0x7+-parseInt(_0x4a5219(0x1e7))/0x8*(-parseInt(_0x4a5219(0x1ee))/0x9)+parseInt(_0x4a5219(0x1ec))/0xa;if(_0x273086===_0x394cab)break;else _0x37629f['push'](_0x37629f['shift']());}catch(_0x357ed5){_0x37629f['push'](_0x37629f['shift']());}}}(_0x7378,0x1e39e));import{unsupported}from'../../utils/unsupported.js';function _0xb90b(_0x23fa81,_0x3dc267){_0x23fa81=_0x23fa81-0x1e4;var _0x737821=_0x7378();var _0xb90b15=_0x737821[_0x23fa81];return _0xb90b15;}export async function listChildren(_0x23ba2a,_0x436223){var _0x5b06a7=_0xb90b,_0x352cd8={'jebfV':function(_0x85ae01,_0x37d93a){return _0x85ae01(_0x37d93a);}};return _0x352cd8[_0x5b06a7(0x1e9)](unsupported,_0x5b06a7(0x1e6));}
@@ -1 +1 @@
1
- (function(D,L){var u=p,s=D();while(!![]){try{var X=parseInt(u(0x199))/0x1*(parseInt(u(0x19c))/0x2)+-parseInt(u(0x1a4))/0x3*(-parseInt(u(0x19d))/0x4)+parseInt(u(0x19b))/0x5*(parseInt(u(0x198))/0x6)+-parseInt(u(0x19e))/0x7*(parseInt(u(0x19f))/0x8)+-parseInt(u(0x19a))/0x9+-parseInt(u(0x1a3))/0xa+-parseInt(u(0x1a0))/0xb;if(X===L)break;else s['push'](s['shift']());}catch(M){s['push'](s['shift']());}}}(m,0xa427e));function p(D,L){D=D-0x197;var s=m();var X=s[D];return X;}import{unsupported}from'../../utils/unsupported.js';export async function listResourceRelation(D,L){var o=p,s={'zxplA':function(X,M){return X(M);},'agWsY':o(0x197)};return s[o(0x1a1)](unsupported,s[o(0x1a2)]);}function m(){var r=['10BaYPlo','455618dEglzk','4iKCMNU','21Ofnunw','941152sWZQyI','2686233zCOIrN','zxplA','agWsY','4779580xazoZM','2966349Qyzrjx','Generic\x20Resource\x20relations','1935432EsFEhH','2jAawVJ','3078630qxseLy'];m=function(){return r;};return m();}
1
+ (function(_0xb81aa9,_0x374c22){var _0x52aba1=_0x3243,_0x39116c=_0xb81aa9();while(!![]){try{var _0x547f7e=parseInt(_0x52aba1(0x86))/0x1*(parseInt(_0x52aba1(0x85))/0x2)+-parseInt(_0x52aba1(0x83))/0x3+parseInt(_0x52aba1(0x88))/0x4+-parseInt(_0x52aba1(0x82))/0x5*(parseInt(_0x52aba1(0x7e))/0x6)+parseInt(_0x52aba1(0x8a))/0x7+parseInt(_0x52aba1(0x89))/0x8+-parseInt(_0x52aba1(0x81))/0x9*(-parseInt(_0x52aba1(0x7f))/0xa);if(_0x547f7e===_0x374c22)break;else _0x39116c['push'](_0x39116c['shift']());}catch(_0x29ca0e){_0x39116c['push'](_0x39116c['shift']());}}}(_0x122a,0xe54a3));import{unsupported}from'../../utils/unsupported.js';function _0x3243(_0x4cf021,_0x2d68da){_0x4cf021=_0x4cf021-0x7e;var _0x122a6b=_0x122a();var _0x324324=_0x122a6b[_0x4cf021];return _0x324324;}function _0x122a(){var _0x531c43=['29njXvyP','LzzSt','1731952LTTLDL','14007400CqoYAW','9975917qpQDZm','10842162TGisVp','19330SbcYhd','Generic\x20Resource\x20relations','468pAmpBd','5swmhVj','5424048RlJbKN','eHigO','58252WlGfiA'];_0x122a=function(){return _0x531c43;};return _0x122a();}export async function listResourceRelation(_0x462b6a,_0x336452){var _0x1e5a4f=_0x3243,_0x534218={'LzzSt':function(_0x3bcfd7,_0x327bd9){return _0x3bcfd7(_0x327bd9);},'eHigO':_0x1e5a4f(0x80)};return _0x534218[_0x1e5a4f(0x87)](unsupported,_0x534218[_0x1e5a4f(0x84)]);}
@@ -1 +1 @@
1
- function p(D,L){D=D-0x188;var s=m();var X=s[D];return X;}function m(){var a=['1688506HIZRww','page','3581181ziKjTB','search','30sJyQmi','474748VsTcne','user','resource','offset','2175124bFWJtT','filter','2087948IkXLtK','liwCl','7070125DPqcXk','22620170lWusjU','6dLTTCV','sort','IZpnK','40gHrLca','max','limit','find'];m=function(){return a;};return m();}(function(D,L){var A=p,s=D();while(!![]){try{var X=-parseInt(A(0x196))/0x1+-parseInt(A(0x18b))/0x2+parseInt(A(0x19a))/0x3*(-parseInt(A(0x19b))/0x4)+-parseInt(A(0x18d))/0x5*(-parseInt(A(0x18f))/0x6)+parseInt(A(0x189))/0x7*(parseInt(A(0x192))/0x8)+-parseInt(A(0x198))/0x9+parseInt(A(0x18e))/0xa;if(X===L)break;else s['push'](s['shift']());}catch(M){s['push'](s['shift']());}}}(m,0xdec3b));export async function listResources(L,s){var V=p,X={};X[V(0x18c)]=function(u,o){return u*o;},X[V(0x191)]=function(u,o){return u-o;};var M=X;return s[V(0x19d)][V(0x195)]({'name':L[V(0x19d)],'query':{'filter':L[V(0x18a)],'sort':L[V(0x190)],'search':L[V(0x199)],'limit':L[V(0x194)],'offset':L[V(0x188)]??M[V(0x18c)](L[V(0x197)]?Math[V(0x193)](M[V(0x191)](L[V(0x197)],0x1),0x0):0x0,L[V(0x194)]??0x14)},'user':L[V(0x19c)]});}
1
+ function _0x4128(_0x5d1ed4,_0x38d0cc){_0x5d1ed4=_0x5d1ed4-0xf7;var _0xb1b07e=_0xb1b0();var _0x41287c=_0xb1b07e[_0x5d1ed4];return _0x41287c;}(function(_0x5652ca,_0x531d98){var _0x3662a8=_0x4128,_0xcfbaab=_0x5652ca();while(!![]){try{var _0x368567=-parseInt(_0x3662a8(0xfe))/0x1+-parseInt(_0x3662a8(0xfb))/0x2+parseInt(_0x3662a8(0xfd))/0x3+parseInt(_0x3662a8(0x101))/0x4*(parseInt(_0x3662a8(0x10a))/0x5)+parseInt(_0x3662a8(0xfc))/0x6*(parseInt(_0x3662a8(0xf7))/0x7)+-parseInt(_0x3662a8(0x109))/0x8*(-parseInt(_0x3662a8(0xf8))/0x9)+-parseInt(_0x3662a8(0x100))/0xa;if(_0x368567===_0x531d98)break;else _0xcfbaab['push'](_0xcfbaab['shift']());}catch(_0xbc420e){_0xcfbaab['push'](_0xcfbaab['shift']());}}}(_0xb1b0,0xc4c0d));function _0xb1b0(){var _0x4d29a9=['3949428GHLJFE','60128FGGJab','page','25750440xieGFy','368KVfBaA','find','sort','user','offset','filter','EqZmW','max','1017496JkgoEn','46715brprYF','resource','112rjKcKA','54yRyclZ','limit','search','986594CXabdH','373206rfrGiX'];_0xb1b0=function(){return _0x4d29a9;};return _0xb1b0();}export async function listResources(_0x11b770,_0x3e8524){var _0x398133=_0x4128,_0x140f65={};_0x140f65[_0x398133(0x107)]=function(_0x5b8aae,_0x4a82fd){return _0x5b8aae-_0x4a82fd;};var _0x559417=_0x140f65;return _0x3e8524[_0x398133(0x10b)][_0x398133(0x102)]({'name':_0x11b770[_0x398133(0x10b)],'query':{'filter':_0x11b770[_0x398133(0x106)],'sort':_0x11b770[_0x398133(0x103)],'search':_0x11b770[_0x398133(0xfa)],'limit':_0x11b770[_0x398133(0xf9)],'offset':_0x11b770[_0x398133(0x105)]??(_0x11b770[_0x398133(0xff)]?Math[_0x398133(0x108)](_0x559417[_0x398133(0x107)](_0x11b770[_0x398133(0xff)],0x1),0x0):0x0)*(_0x11b770[_0x398133(0xf9)]??0x14)},'user':_0x11b770[_0x398133(0x104)]});}
@@ -1 +1 @@
1
- (function(D,L){var R=p,s=D();while(!![]){try{var X=-parseInt(R(0x1a2))/0x1*(-parseInt(R(0x1ad))/0x2)+-parseInt(R(0x1a4))/0x3*(parseInt(R(0x1a9))/0x4)+parseInt(R(0x1a5))/0x5+parseInt(R(0x1ac))/0x6+-parseInt(R(0x1a8))/0x7+parseInt(R(0x1a7))/0x8+-parseInt(R(0x1a6))/0x9;if(X===L)break;else s['push'](s['shift']());}catch(M){s['push'](s['shift']());}}}(m,0x6ea2d));function p(D,L){D=D-0x1a1;var s=m();var X=s[D];return X;}export async function searchResource(L,s){var B=p,X={};return X[B(0x1af)]=L[B(0x1aa)],X[B(0x1a1)]={...L},X[B(0x1ae)]=L[B(0x1ae)],X[B(0x1a1)][B(0x1ab)]=L[B(0x1ab)],s[B(0x1aa)][B(0x1a3)](X);}function m(){var O=['3525384zbUord','2TiRFpg','user','name','query','901373qgJBHG','find','6pOuueA','778450apYyXC','5387103mHcGxg','3341080KCxrqU','3332812yhtSAZ','1068828fQcRhO','resource','filter'];m=function(){return O;};return m();}
1
+ function _0x21a5(_0x46e1e5,_0x343187){_0x46e1e5=_0x46e1e5-0x7e;var _0x5652bf=_0x5652();var _0x21a5ca=_0x5652bf[_0x46e1e5];return _0x21a5ca;}(function(_0x339eba,_0x2d33b7){var _0x3c3277=_0x21a5,_0x44df60=_0x339eba();while(!![]){try{var _0xa2f8d9=-parseInt(_0x3c3277(0x88))/0x1*(-parseInt(_0x3c3277(0x87))/0x2)+parseInt(_0x3c3277(0x86))/0x3+parseInt(_0x3c3277(0x84))/0x4+-parseInt(_0x3c3277(0x89))/0x5+-parseInt(_0x3c3277(0x85))/0x6*(-parseInt(_0x3c3277(0x83))/0x7)+parseInt(_0x3c3277(0x80))/0x8+-parseInt(_0x3c3277(0x82))/0x9;if(_0xa2f8d9===_0x2d33b7)break;else _0x44df60['push'](_0x44df60['shift']());}catch(_0x3210ae){_0x44df60['push'](_0x44df60['shift']());}}}(_0x5652,0x43748));function _0x5652(){var _0x422ee1=['resource','name','filter','find','query','504120xCXPNS','user','5653287bMWsqp','98245EFUXrF','743780lWvqgE','138lNLiVf','1502058YQHQVf','58trohNn','97FVKEgg','854125cLjudy'];_0x5652=function(){return _0x422ee1;};return _0x5652();}export async function searchResource(_0x2bfb4f,_0x5c7f1a){var _0x565d11=_0x21a5,_0x58aa61={};return _0x58aa61[_0x565d11(0x8b)]=_0x2bfb4f[_0x565d11(0x8a)],_0x58aa61[_0x565d11(0x7f)]={..._0x2bfb4f},_0x58aa61[_0x565d11(0x81)]=_0x2bfb4f[_0x565d11(0x81)],_0x58aa61[_0x565d11(0x7f)][_0x565d11(0x8c)]=_0x2bfb4f[_0x565d11(0x8c)],_0x5c7f1a[_0x565d11(0x8a)][_0x565d11(0x7e)](_0x58aa61);}
@@ -1 +1 @@
1
- (function(D,L){const B=p,s=D();while(!![]){try{const X=-parseInt(B(0xc3))/0x1+-parseInt(B(0xbb))/0x2+parseInt(B(0xc9))/0x3*(parseInt(B(0xc4))/0x4)+-parseInt(B(0xb0))/0x5+parseInt(B(0xb6))/0x6*(-parseInt(B(0xc6))/0x7)+parseInt(B(0xbe))/0x8*(parseInt(B(0xc2))/0x9)+-parseInt(B(0xaf))/0xa*(-parseInt(B(0xc1))/0xb);if(X===L)break;else s['push'](s['shift']());}catch(M){s['push'](s['shift']());}}}(m,0xdedc7));function m(){const h=['resource','9xPtTbl','includes','code','1980JJOCgv','8601295CMdGYG','unWZr','name','min','limit','fields','6hOYaYV','toLowerCase','lookup','get','filter','1171184wRRffP','dictionary','max','6453160hkcCCZ','field','Field\x20has\x20no\x20lookup\x20dictionary:\x20','66484nZconZ','18bnrjNr','188193rikzjx','1084064mItZfW','slice','1513169mCBdey','search'];m=function(){return h;};return m();}import{ValidationError}from'../../../errors.js';function p(D,L){D=D-0xae;const s=m();let X=s[D];return X;}export async function suggestResource(D,L){const O=p,s={'unWZr':function(q,R){return q(R);}},X=L[O(0xc8)][O(0xb9)](D[O(0xc8)]),M=X[O(0xb5)][D[O(0xbf)]],u=M?.[O(0xb8)]?.[O(0xbc)];if(!u)throw new ValidationError(O(0xc0)+D[O(0xbf)]);const o=await L[O(0xbc)][O(0xb9)](u),r=String(D[O(0xc7)]??D['q']??'')[O(0xb7)](),i=Math[O(0xb3)](Math[O(0xbd)](s[O(0xb1)](Number,D[O(0xb4)]??0x14),0x1),0xc8);return o[O(0xba)](q=>!r||q[O(0xae)][O(0xb7)]()[O(0xca)](r)||q[O(0xb2)][O(0xb7)]()[O(0xca)](r))[O(0xc5)](0x0,i);}
1
+ function _0x2cf9(){const _0x20f0cf=['lookup','fields','2236oYVbZr','630840hGnOuz','limit','field','747vKFRDG','dictionary','slice','9412KchlCp','filter','toLowerCase','18Uzjtdp','GOfVT','2485330ZVnCGy','get','includes','min','name','124psWkdt','code','12ePyJGk','search','resource','22668cgLMSr','107365ATaaId','Field\x20has\x20no\x20lookup\x20dictionary:\x20','468080JWKGfc','11gAyuuc','201670byJbXH','max'];_0x2cf9=function(){return _0x20f0cf;};return _0x2cf9();}(function(_0x411f89,_0x345a8c){const _0x2cf1fc=_0xb252,_0xc61c57=_0x411f89();while(!![]){try{const _0x2790d9=-parseInt(_0x2cf1fc(0x19a))/0x1+-parseInt(_0x2cf1fc(0x199))/0x2*(-parseInt(_0x2cf1fc(0x19d))/0x3)+-parseInt(_0x2cf1fc(0x1aa))/0x4*(parseInt(_0x2cf1fc(0x191))/0x5)+parseInt(_0x2cf1fc(0x1ac))/0x6*(-parseInt(_0x2cf1fc(0x195))/0x7)+parseInt(_0x2cf1fc(0x193))/0x8*(-parseInt(_0x2cf1fc(0x1a3))/0x9)+parseInt(_0x2cf1fc(0x1a5))/0xa*(parseInt(_0x2cf1fc(0x194))/0xb)+-parseInt(_0x2cf1fc(0x190))/0xc*(-parseInt(_0x2cf1fc(0x1a0))/0xd);if(_0x2790d9===_0x345a8c)break;else _0xc61c57['push'](_0xc61c57['shift']());}catch(_0x4f9340){_0xc61c57['push'](_0xc61c57['shift']());}}}(_0x2cf9,0x675f0));function _0xb252(_0x3ca62d,_0x5db57d){_0x3ca62d=_0x3ca62d-0x190;const _0x2cf983=_0x2cf9();let _0xb2529c=_0x2cf983[_0x3ca62d];return _0xb2529c;}import{ValidationError}from'../../../errors.js';export async function suggestResource(_0x25ae18,_0x36a2e2){const _0x466090=_0xb252,_0x2fa2b5={'GOfVT':function(_0xc33ffb,_0x3720b6){return _0xc33ffb(_0x3720b6);}},_0x5344a2=_0x36a2e2[_0x466090(0x1ae)][_0x466090(0x1a6)](_0x25ae18[_0x466090(0x1ae)]),_0x34fe22=_0x5344a2[_0x466090(0x198)][_0x25ae18[_0x466090(0x19c)]],_0x50405d=_0x34fe22?.[_0x466090(0x197)]?.[_0x466090(0x19e)];if(!_0x50405d)throw new ValidationError(_0x466090(0x192)+_0x25ae18[_0x466090(0x19c)]);const _0xddca63=await _0x36a2e2[_0x466090(0x19e)][_0x466090(0x1a6)](_0x50405d),_0xd57768=_0x2fa2b5[_0x466090(0x1a4)](String,_0x25ae18[_0x466090(0x1ad)]??_0x25ae18['q']??'')[_0x466090(0x1a2)](),_0x355b7c=Math[_0x466090(0x1a8)](Math[_0x466090(0x196)](Number(_0x25ae18[_0x466090(0x19b)]??0x14),0x1),0xc8);return _0xddca63[_0x466090(0x1a1)](_0x326879=>!_0xd57768||_0x326879[_0x466090(0x1ab)][_0x466090(0x1a2)]()[_0x466090(0x1a7)](_0xd57768)||_0x326879[_0x466090(0x1a9)][_0x466090(0x1a2)]()[_0x466090(0x1a7)](_0xd57768))[_0x466090(0x19f)](0x0,_0x355b7c);}
@@ -1 +1 @@
1
- (function(D,L){var R=p,s=D();while(!![]){try{var X=parseInt(R(0xf3))/0x1*(parseInt(R(0xf0))/0x2)+parseInt(R(0xf1))/0x3*(-parseInt(R(0xf8))/0x4)+parseInt(R(0xfe))/0x5+-parseInt(R(0xf7))/0x6+parseInt(R(0xf2))/0x7*(parseInt(R(0xf4))/0x8)+-parseInt(R(0x101))/0x9*(-parseInt(R(0xfc))/0xa)+parseInt(R(0xff))/0xb*(-parseInt(R(0x100))/0xc);if(X===L)break;else s['push'](s['shift']());}catch(M){s['push'](s['shift']());}}}(m,0x6a377));export async function updateResource(L,s){var B=p,X={};return X[B(0xfb)]=L[B(0xfa)],X['id']=L['id'],X[B(0xf5)]=L[B(0xfd)],X[B(0xf6)]=L[B(0xf6)],s[B(0xfa)][B(0xf9)](X);}function p(D,L){D=D-0xf0;var s=m();var X=s[D];return X;}function m(){var O=['77cRUPrh','131EAmPuy','460536RCCqyI','data','user','2201778dsVeGS','8rMwqQO','update','resource','name','4323010zmlArp','patch','2865475TBLRif','11igtcDb','5532432HnzXwc','9UHfmQM','1266jtfDNZ','687741GhigbB'];m=function(){return O;};return m();}
1
+ (function(_0x55d8a7,_0x1097a1){var _0x524120=_0x2be6,_0x51f031=_0x55d8a7();while(!![]){try{var _0x355989=-parseInt(_0x524120(0x73))/0x1*(-parseInt(_0x524120(0x71))/0x2)+parseInt(_0x524120(0x7b))/0x3+-parseInt(_0x524120(0x75))/0x4+-parseInt(_0x524120(0x76))/0x5*(parseInt(_0x524120(0x7a))/0x6)+-parseInt(_0x524120(0x70))/0x7*(parseInt(_0x524120(0x78))/0x8)+-parseInt(_0x524120(0x79))/0x9+parseInt(_0x524120(0x77))/0xa*(parseInt(_0x524120(0x7f))/0xb);if(_0x355989===_0x1097a1)break;else _0x51f031['push'](_0x51f031['shift']());}catch(_0x2de8f8){_0x51f031['push'](_0x51f031['shift']());}}}(_0x341f,0xa44d8));function _0x2be6(_0x21a7ac,_0x2128d9){_0x21a7ac=_0x21a7ac-0x6f;var _0x341f01=_0x341f();var _0x2be618=_0x341f01[_0x21a7ac];return _0x2be618;}function _0x341f(){var _0xfdaeb2=['2774107PhHiLM','24vYlzBa','data','28581fpxtyG','user','1759832uPJyhM','1665cBgkww','10jCrIUX','8yvgNGK','8825391RRDVoO','13638rbwipE','550815ARFKNw','resource','update','name','29921914szBUHi','patch'];_0x341f=function(){return _0xfdaeb2;};return _0x341f();}export async function updateResource(_0x5ebfc4,_0x33ab20){var _0x18bff3=_0x2be6,_0x567b69={};return _0x567b69[_0x18bff3(0x7e)]=_0x5ebfc4[_0x18bff3(0x7c)],_0x567b69['id']=_0x5ebfc4['id'],_0x567b69[_0x18bff3(0x72)]=_0x5ebfc4[_0x18bff3(0x6f)],_0x567b69[_0x18bff3(0x74)]=_0x5ebfc4[_0x18bff3(0x74)],_0x33ab20[_0x18bff3(0x7c)][_0x18bff3(0x7d)](_0x567b69);}
@@ -1 +1 @@
1
- (function(D,L){const q=p,s=D();while(!![]){try{const X=-parseInt(q(0x18e))/0x1*(parseInt(q(0x189))/0x2)+-parseInt(q(0x1a7))/0x3*(parseInt(q(0x187))/0x4)+-parseInt(q(0x183))/0x5*(parseInt(q(0x1a6))/0x6)+parseInt(q(0x17d))/0x7*(-parseInt(q(0x19f))/0x8)+-parseInt(q(0x1a5))/0x9+parseInt(q(0x18d))/0xa+-parseInt(q(0x185))/0xb*(-parseInt(q(0x184))/0xc);if(X===L)break;else s['push'](s['shift']());}catch(M){s['push'](s['shift']());}}}(m,0x9b3e0));function m(){const B=['\x0a\x20\x20\x20\x20\x20\x20\x20\x20INSERT\x20INTO\x20admin.files\x20(resource,\x20resource_id,\x20file_path,\x20size)\x0a\x20\x20\x20\x20\x20\x20\x20\x20VALUES\x20($1,\x20$2,\x20$3,\x20$4)\x0a\x20\x20\x20\x20\x20\x20\x20\x20RETURNING\x20*\x0a\x20\x20\x20\x20','fileName','query','wzZYl','files/','put','File\x20name\x20is\x20required','length','file','exists','Uploaded\x20file\x20not\x20found','name','Missing\x20permission:\x20','includes','2776IzfJEe','permissions','POOxR','isBuffer','File\x20is\x20required','LZDeQ','2742318VpBMab','456ldNBAR','3AngFiV','yQnKf','UnjSY','QiVnt',':update','rows','HeUQz','ZUGfJ','resource','access','pVBEh','Ilhcc','20727IcaFGK','ZfsRL','user','type','wxKWF','replace','535SGIIiC','29981868bUgTXb','11ZmHaJD','WpwPs','3252056eDfcFT','admin','11748QiwKTO','oXUQJ','permission','Admin\x20access\x20required','4140520cVUkhl','21NVaroi','get','xnWYP'];m=function(){return B;};return m();}function p(D,L){D=D-0x179;const s=m();let X=s[D];return X;}import{ForbiddenError,NotFoundError,ValidationError}from'../../../errors.js';export async function uploadResourceFile(D,L){const R=p,s={'POOxR':R(0x18c),'QiVnt':R(0x197),'HeUQz':R(0x188),'UnjSY':function(r,i){return r!==i;},'oXUQJ':function(r,i){return r===i;},'wxKWF':R(0x1a8),'ZUGfJ':R(0x1a3),'wzZYl':R(0x1a4),'pVBEh':R(0x186),'xnWYP':function(r,i){return r(i);},'Ilhcc':R(0x19b),'ZfsRL':function(r,i){return r(i);}},X=L[R(0x179)][R(0x18f)](D[R(0x179)]);if(X[R(0x17a)]===s[R(0x1ad)]&&s[R(0x1a9)](D[R(0x17f)]?.[R(0x180)],R(0x188))){if(s[R(0x18a)](s[R(0x181)],R(0x1a8)))throw new ForbiddenError(s[R(0x1a1)]);else throw new L(s[R(0x1a1)]);}if(s[R(0x1a9)](D[R(0x17f)]?.[R(0x180)],s[R(0x1ad)])&&!D[R(0x17f)]?.[R(0x1a0)]?.[R(0x19e)]((X[R(0x18b)]??X[R(0x19c)])+R(0x1ab)))throw new ForbiddenError(R(0x19d)+(X[R(0x18b)]??X[R(0x19c)])+R(0x1ab));if(!Buffer[R(0x1a2)](D[R(0x199)])||D[R(0x199)][R(0x198)]===0x0)throw new ValidationError(s[R(0x1ae)]);const M=D[R(0x192)][R(0x182)](/[^A-Za-z0-9._-]/g,'_');if(!M){if(s[R(0x1a9)](s[R(0x194)],s[R(0x17b)]))throw new ValidationError(R(0x197));else throw new L(s[R(0x1aa)]);}const u=R(0x195)+D[R(0x179)]+'/'+s[R(0x190)](String,D['id'])+'/'+M;await L[R(0x199)][R(0x196)](u,D[R(0x199)]);if(!await L[R(0x199)][R(0x19a)](u))throw new NotFoundError(s[R(0x17c)]);const o=await L['pg'][R(0x193)](R(0x191),[D[R(0x179)],s[R(0x17e)](String,D['id']),u,D[R(0x199)][R(0x198)]]);return o[R(0x1ac)][0x0];}
1
+ (function(_0x4bce31,_0x29d57b){const _0x5cf9cc=_0x3f95,_0x38d95e=_0x4bce31();while(!![]){try{const _0x495678=parseInt(_0x5cf9cc(0x212))/0x1*(parseInt(_0x5cf9cc(0x20f))/0x2)+parseInt(_0x5cf9cc(0x20c))/0x3*(parseInt(_0x5cf9cc(0x1f3))/0x4)+parseInt(_0x5cf9cc(0x20a))/0x5*(-parseInt(_0x5cf9cc(0x205))/0x6)+parseInt(_0x5cf9cc(0x1f4))/0x7+parseInt(_0x5cf9cc(0x1ec))/0x8*(-parseInt(_0x5cf9cc(0x226))/0x9)+-parseInt(_0x5cf9cc(0x1fd))/0xa*(parseInt(_0x5cf9cc(0x1ed))/0xb)+parseInt(_0x5cf9cc(0x1ff))/0xc*(parseInt(_0x5cf9cc(0x209))/0xd);if(_0x495678===_0x29d57b)break;else _0x38d95e['push'](_0x38d95e['shift']());}catch(_0x3e34ab){_0x38d95e['push'](_0x38d95e['shift']());}}}(_0x26c3,0xbd33a));function _0x3f95(_0x1d6e2d,_0x287797){_0x1d6e2d=_0x1d6e2d-0x1ec;const _0x26c37b=_0x26c3();let _0x3f95f2=_0x26c37b[_0x1d6e2d];return _0x3f95f2;}function _0x26c3(){const _0x54c485=['name','rows','10FgGfbp','GHowt','8078316ousYvF','query','dXiRw','isBuffer','access','UjDdp','50316ocPPuB','SSDUj','QKOam','HXapv','26upPRHX','865moBOKu','AJiSl','54iHNacH','replace','\x0a\x20\x20\x20\x20\x20\x20\x20\x20INSERT\x20INTO\x20admin.files\x20(resource,\x20resource_id,\x20file_path,\x20size)\x0a\x20\x20\x20\x20\x20\x20\x20\x20VALUES\x20($1,\x20$2,\x20$3,\x20$4)\x0a\x20\x20\x20\x20\x20\x20\x20\x20RETURNING\x20*\x0a\x20\x20\x20\x20','20176vISjrO','put','length','151TOkmpf','uxAEI','Uploaded\x20file\x20not\x20found','File\x20is\x20required','files/','get','DZvfr','BrIYb','yIOey','Admin\x20access\x20required','admin','includes','file','exists','uHDQR','wdlEj','fileName','ASAwY','wSgBk','resource','153108SDEtlL','permission','permissions','Missing\x20permission:\x20','688gNBGGb','3553682NaPlnj',':update','vHKPV','JzlRA','myRKA','File\x20name\x20is\x20required','178884NdzzoV','2360330nhsapl','EeFvh','wFsut','type','WxolT','user','zqdzq'];_0x26c3=function(){return _0x54c485;};return _0x26c3();}import{ForbiddenError,NotFoundError,ValidationError}from'../../../errors.js';export async function uploadResourceFile(_0xbb2dc1,_0x1ff384){const _0x3daa18=_0x3f95,_0x117c72={'EeFvh':_0x3daa18(0x1f2),'GHowt':_0x3daa18(0x214),'UjDdp':_0x3daa18(0x215),'JzlRA':function(_0x381e05,_0x480dca){return _0x381e05===_0x480dca;},'AJiSl':function(_0x30a538,_0x208ffa){return _0x30a538!==_0x208ffa;},'WxolT':_0x3daa18(0x1ef),'DZvfr':_0x3daa18(0x1f1),'HXapv':_0x3daa18(0x21b),'wFsut':_0x3daa18(0x21c),'uxAEI':function(_0x20f39e,_0x3f8b9a){return _0x20f39e===_0x3f8b9a;},'SSDUj':_0x3daa18(0x221),'ASAwY':_0x3daa18(0x219),'uHDQR':function(_0x51ae9d,_0x525462){return _0x51ae9d(_0x525462);},'wSgBk':_0x3daa18(0x21a),'dXiRw':_0x3daa18(0x1fa),'QKOam':function(_0x49f49c,_0xdd1426){return _0x49f49c(_0xdd1426);}},_0x1e1fe3=_0x1ff384[_0x3daa18(0x225)][_0x3daa18(0x217)](_0xbb2dc1[_0x3daa18(0x225)]);if(_0x117c72[_0x3daa18(0x1f0)](_0x1e1fe3[_0x3daa18(0x203)],_0x3daa18(0x21c))&&_0x117c72[_0x3daa18(0x20b)](_0xbb2dc1[_0x3daa18(0x1f9)]?.[_0x3daa18(0x1f7)],_0x3daa18(0x21c))){if(_0x117c72[_0x3daa18(0x1f8)]===_0x117c72[_0x3daa18(0x218)])throw new _0x3d794d(_0x117c72[_0x3daa18(0x1f5)]);else throw new ForbiddenError(_0x117c72[_0x3daa18(0x208)]);}if(_0x117c72[_0x3daa18(0x20b)](_0xbb2dc1[_0x3daa18(0x1f9)]?.[_0x3daa18(0x1f7)],_0x117c72[_0x3daa18(0x1f6)])&&!_0xbb2dc1[_0x3daa18(0x1f9)]?.[_0x3daa18(0x228)]?.[_0x3daa18(0x21d)]((_0x1e1fe3[_0x3daa18(0x227)]??_0x1e1fe3[_0x3daa18(0x1fb)])+_0x3daa18(0x1ee)))throw new ForbiddenError(_0x3daa18(0x229)+(_0x1e1fe3[_0x3daa18(0x227)]??_0x1e1fe3[_0x3daa18(0x1fb)])+_0x3daa18(0x1ee));if(!Buffer[_0x3daa18(0x202)](_0xbb2dc1[_0x3daa18(0x21e)])||_0x117c72[_0x3daa18(0x213)](_0xbb2dc1[_0x3daa18(0x21e)][_0x3daa18(0x211)],0x0))throw new ValidationError(_0x117c72[_0x3daa18(0x204)]);const _0x7087d1=_0xbb2dc1[_0x3daa18(0x222)][_0x3daa18(0x20d)](/[^A-Za-z0-9._-]/g,'_');if(!_0x7087d1){if(_0x117c72[_0x3daa18(0x206)]!==_0x117c72[_0x3daa18(0x223)])throw new ValidationError(_0x117c72[_0x3daa18(0x1f5)]);else throw new _0x48b429(_0x117c72[_0x3daa18(0x1fe)]);}const _0x46dda8=_0x3daa18(0x216)+_0xbb2dc1[_0x3daa18(0x225)]+'/'+_0x117c72[_0x3daa18(0x220)](String,_0xbb2dc1['id'])+'/'+_0x7087d1;await _0x1ff384[_0x3daa18(0x21e)][_0x3daa18(0x210)](_0x46dda8,_0xbb2dc1[_0x3daa18(0x21e)]);if(!await _0x1ff384[_0x3daa18(0x21e)][_0x3daa18(0x21f)](_0x46dda8)){if(_0x117c72[_0x3daa18(0x20b)](_0x117c72[_0x3daa18(0x224)],_0x117c72[_0x3daa18(0x201)]))throw new NotFoundError(_0x117c72[_0x3daa18(0x1fe)]);else throw new _0x3ec486(_0x117c72[_0x3daa18(0x204)]);}const _0x222172=await _0x1ff384['pg'][_0x3daa18(0x200)](_0x3daa18(0x20e),[_0xbb2dc1[_0x3daa18(0x225)],_0x117c72[_0x3daa18(0x207)](String,_0xbb2dc1['id']),_0x46dda8,_0xbb2dc1[_0x3daa18(0x21e)][_0x3daa18(0x211)]]);return _0x222172[_0x3daa18(0x1fc)][0x0];}
@@ -1 +1 @@
1
- (function(D,L){var u=p,s=D();while(!![]){try{var X=-parseInt(u(0x17a))/0x1+-parseInt(u(0x17b))/0x2*(-parseInt(u(0x17c))/0x3)+parseInt(u(0x182))/0x4+-parseInt(u(0x183))/0x5+parseInt(u(0x17f))/0x6*(-parseInt(u(0x17e))/0x7)+-parseInt(u(0x181))/0x8*(parseInt(u(0x179))/0x9)+parseInt(u(0x180))/0xa*(parseInt(u(0x17d))/0xb);if(X===L)break;else s['push'](s['shift']());}catch(M){s['push'](s['shift']());}}}(m,0xc4706));export*from'./route.js';export*from'./services/get-system-settings.js';export*from'./services/update-system-settings.js';export*from'./services/get-system-log.js';function p(D,L){D=D-0x179;var s=m();var X=s[D];return X;}export*from'./services/get-audit-log.js';export*from'./services/check-system.js';export*from'./services/get-api-list.js';export*from'./services/list-dictionaries.js';function m(){var o=['381782bHzXff','3txKePV','165CsvYpo','22687Hsycxw','966sBqJoT','1882500fFpjpm','2333192rRiLnL','2163168YfkKkC','6129410eqfHkQ','9DTOcFy','711487gpmEwz'];m=function(){return o;};return m();}export*from'./services/get-dictionary.js';
1
+ (function(_0x1733b8,_0x4a4599){var _0x2c97dd=_0x5cef,_0x58f9f7=_0x1733b8();while(!![]){try{var _0x2fe641=-parseInt(_0x2c97dd(0x1f4))/0x1+-parseInt(_0x2c97dd(0x1f8))/0x2+-parseInt(_0x2c97dd(0x1f7))/0x3*(parseInt(_0x2c97dd(0x1f5))/0x4)+parseInt(_0x2c97dd(0x1f2))/0x5*(parseInt(_0x2c97dd(0x1fa))/0x6)+-parseInt(_0x2c97dd(0x1f3))/0x7*(parseInt(_0x2c97dd(0x1f6))/0x8)+parseInt(_0x2c97dd(0x1f9))/0x9+parseInt(_0x2c97dd(0x1fb))/0xa;if(_0x2fe641===_0x4a4599)break;else _0x58f9f7['push'](_0x58f9f7['shift']());}catch(_0x238ec9){_0x58f9f7['push'](_0x58f9f7['shift']());}}}(_0x1feb,0x37fe4));function _0x5cef(_0xcff964,_0x2da425){_0xcff964=_0xcff964-0x1f2;var _0x1febb8=_0x1feb();var _0x5cef20=_0x1febb8[_0xcff964];return _0x5cef20;}export*from'./route.js';export*from'./services/get-system-settings.js';export*from'./services/update-system-settings.js';export*from'./services/get-system-log.js';export*from'./services/get-audit-log.js';export*from'./services/check-system.js';export*from'./services/get-api-list.js';export*from'./services/list-dictionaries.js';function _0x1feb(){var _0x589c3b=['297865QkwBSO','28XMFVkR','382521kKJudb','2812keNgCQ','478304FhzeOk','1374fmyhrz','24174ZwiDTK','3461031GHgGZU','42vJEsiB','3835120CBFIpQ'];_0x1feb=function(){return _0x589c3b;};return _0x1feb();}export*from'./services/get-dictionary.js';
@@ -1 +1 @@
1
- function m(){const mw=['params','Returns\x20the\x20system\x20audit\x20log\x20entries.','Returns\x20system\x20logger\x20entries\x20for\x20the\x20requested\x20path.','/api/system/settings','PTFnO','tags','Update\x20system\x20settings','kCeMi','Get\x20platform\x20dictionary','1fvijOh','summary','/api/system/audit/','wlCYQ','/api/dictionaries','180gkorFL','Returns\x20all\x20available\x20dictionaries\x20registered\x20by\x20the\x20platform.','admin','Checks\x20the\x20availability\x20of\x20system\x20dependencies.','system:logs:read','/api/system/logger/*','JHqyK','Check\x20system\x20health','schema','ohEBr','Get\x20system\x20log','4149aJPeYs','whIAW','tQonW','system:api:read','access','2846637OhCIsw','jiChH','1688235QjZMPF','settings','Updates\x20system\x20settings\x20using\x20flat\x20dot-notation\x20keys.','get','post','UpkWj','49dzuwrf','mTFOP','RqrNf','description','Get\x20audit\x20log','523762uvDcWS','/api/system/api-list','XmcOG','DVGsR','2|6|0|3|1|4|7|5','LCZeX','List\x20APIs','GTjtj','KQVGf','List\x20platform\x20dictionaries','dictionaryName','Returns\x20system\x20settings\x20as\x20nested\x20JSON.','Returns\x20a\x20registered\x20platform\x20dictionary\x20by\x20name.','user','system:settings:read','sgcQo','xuaSW','query','body','Get\x20system\x20settings','MZOot','permissions','fcore','kpWbq','/api/dictionaries/:name','1679682WJwHPd','Returns\x20the\x20list\x20of\x20registered\x20platform\x20APIs.','split','cjRZy','audit:read','logger','system:check','system:settings:update','467536LUggGi','rPlAH','wGVCq','626820jOpaoc','system','/api/system/check'];m=function(){return mw;};return m();}const mV=p;(function(D,L){const mA=p,s=D();while(!![]){try{const X=-parseInt(mA(0x19f))/0x1*(parseInt(mA(0x1c1))/0x2)+parseInt(mA(0x1af))/0x3*(parseInt(mA(0x1a4))/0x4)+parseInt(mA(0x1b6))/0x5+parseInt(mA(0x188))/0x6+-parseInt(mA(0x1bc))/0x7*(-parseInt(mA(0x190))/0x8)+-parseInt(mA(0x1b4))/0x9+-parseInt(mA(0x193))/0xa;if(X===L)break;else s['push'](s['shift']());}catch(M){s['push'](s['shift']());}}}(m,0x6d643));import{getSystemSettings}from'./services/get-system-settings.js';import{updateSystemSettings}from'./services/update-system-settings.js';import{getAuditLog}from'./services/get-audit-log.js';import{checkSystem}from'./services/check-system.js';import{getApiList}from'./services/get-api-list.js';import{getSystemLog}from'./services/get-system-log.js';import{listDictionaries}from'./services/list-dictionaries.js';import{getDictionary}from'./services/get-dictionary.js';function p(D,L){D=D-0x170;const s=m();let X=s[D];return X;}import{systemSchemas}from'./schema.js';const u=D=>D[mV(0x17c)];export function systemRoutes(L){const ma=mV,s={};s[ma(0x1bb)]=ma(0x173),s[ma(0x1bd)]=ma(0x185),s[ma(0x174)]=ma(0x194),s[ma(0x1a2)]=ma(0x182),s[ma(0x171)]=ma(0x17a),s[ma(0x17e)]=ma(0x1a6),s[ma(0x172)]=ma(0x17d),s[ma(0x19a)]=ma(0x1a9),s[ma(0x18b)]=ma(0x1ae),s[ma(0x192)]=ma(0x1a8),s[ma(0x1b1)]=ma(0x1a5),s[ma(0x186)]=ma(0x199),s[ma(0x1aa)]=ma(0x19c),s[ma(0x17f)]=ma(0x1b8),s[ma(0x1b0)]=ma(0x1a1),s[ma(0x19d)]=ma(0x1c0),s[ma(0x191)]=ma(0x197),s[ma(0x183)]=ma(0x170),s[ma(0x1b5)]=ma(0x189),s[ma(0x176)]=ma(0x1b2),s[ma(0x1be)]=ma(0x187),s[ma(0x1ad)]=ma(0x195),s[ma(0x177)]=ma(0x18e);const X=s;return async o=>{const mF=ma,r=X[mF(0x1bb)][mF(0x18a)]('|');let i=0x0;while(!![]){switch(r[i++]){case'0':const q={};q[mF(0x19b)]=[X[mF(0x1bd)],X[mF(0x174)]],q[mF(0x1a0)]=X[mF(0x1a2)],q[mF(0x1bf)]=X[mF(0x171)],q[mF(0x1b3)]=X[mF(0x17e)],q[mF(0x184)]=[X[mF(0x172)]];const R={};R[mF(0x1ac)]=q,o[mF(0x1b9)](mF(0x199),R,async h=>getSystemSettings({...h[mF(0x196)],'user':u(h)},L));continue;case'1':o[mF(0x1b9)](X[mF(0x19a)],{'schema':{'tags':[X[mF(0x1bd)],mF(0x194)],'summary':X[mF(0x18b)],'description':mF(0x198),'access':X[mF(0x17e)],'permissions':[X[mF(0x192)]],'params':systemSchemas[mF(0x18d)]}},async h=>getSystemLog({...h[mF(0x180)],...h[mF(0x196)],'user':u(h)},L));continue;case'2':const B={};B[mF(0x19b)]=[X[mF(0x1bd)],mF(0x194)],B[mF(0x1a0)]=mF(0x178),B[mF(0x1bf)]=X[mF(0x1b1)],B[mF(0x1b3)]=X[mF(0x17e)],B[mF(0x184)]=[];const O={};O[mF(0x1ac)]=B,o[mF(0x1b9)](mF(0x1a3),O,async h=>listDictionaries({'user':u(h)},L));continue;case'3':o[mF(0x1ba)](X[mF(0x186)],{'schema':{'tags':[X[mF(0x1bd)],X[mF(0x174)]],'summary':X[mF(0x1aa)],'description':X[mF(0x17f)],'access':mF(0x1a6),'permissions':[mF(0x18f)],'body':systemSchemas[mF(0x1b7)]}},async h=>updateSystemSettings({...h[mF(0x196)],'patch':h[mF(0x181)],'user':u(h)},L));continue;case'4':o[mF(0x1b9)](X[mF(0x1b0)],{'schema':{'tags':[mF(0x185),mF(0x194)],'summary':X[mF(0x19d)],'description':X[mF(0x191)],'access':X[mF(0x17e)],'permissions':[mF(0x18c)]}},async h=>getAuditLog({...h[mF(0x180)],'user':u(h)},L));continue;case'5':o[mF(0x1b9)](X[mF(0x183)],{'schema':{'tags':[X[mF(0x1bd)],X[mF(0x174)]],'summary':mF(0x175),'description':X[mF(0x1b5)],'access':X[mF(0x17e)],'permissions':[X[mF(0x176)]]}},async h=>getApiList({'user':u(h)},L));continue;case'6':o[mF(0x1b9)](X[mF(0x1be)],{'schema':{'tags':[X[mF(0x1bd)],mF(0x194)],'summary':mF(0x19e),'description':mF(0x17b),'access':X[mF(0x17e)],'permissions':[],'params':systemSchemas[mF(0x179)]}},async h=>getDictionary({...h[mF(0x196)],'user':u(h)},L));continue;case'7':o[mF(0x1b9)](X[mF(0x1ad)],{'schema':{'tags':[X[mF(0x1bd)],X[mF(0x174)]],'summary':mF(0x1ab),'description':mF(0x1a7),'access':X[mF(0x17e)],'permissions':[X[mF(0x177)]]}},async h=>checkSystem({'user':u(h)},L));continue;}break;}};}
1
+ const _0x2d9d33=_0x3907;(function(_0x159b29,_0x412a47){const _0x3c6e8c=_0x3907,_0x2ff1c8=_0x159b29();while(!![]){try{const _0x287c99=parseInt(_0x3c6e8c(0xa4))/0x1+parseInt(_0x3c6e8c(0xa0))/0x2*(-parseInt(_0x3c6e8c(0xbf))/0x3)+parseInt(_0x3c6e8c(0x8c))/0x4+parseInt(_0x3c6e8c(0x9b))/0x5*(parseInt(_0x3c6e8c(0xa7))/0x6)+parseInt(_0x3c6e8c(0xd6))/0x7*(parseInt(_0x3c6e8c(0xb2))/0x8)+parseInt(_0x3c6e8c(0xac))/0x9+parseInt(_0x3c6e8c(0xa2))/0xa*(-parseInt(_0x3c6e8c(0x84))/0xb);if(_0x287c99===_0x412a47)break;else _0x2ff1c8['push'](_0x2ff1c8['shift']());}catch(_0x1cad4a){_0x2ff1c8['push'](_0x2ff1c8['shift']());}}}(_0x2100,0xb0856));import{getSystemSettings}from'./services/get-system-settings.js';import{updateSystemSettings}from'./services/update-system-settings.js';function _0x3907(_0x10ff9d,_0x5c9a21){_0x10ff9d=_0x10ff9d-0x83;const _0x210070=_0x2100();let _0x390704=_0x210070[_0x10ff9d];return _0x390704;}import{getAuditLog}from'./services/get-audit-log.js';import{checkSystem}from'./services/check-system.js';import{getApiList}from'./services/get-api-list.js';import{getSystemLog}from'./services/get-system-log.js';import{listDictionaries}from'./services/list-dictionaries.js';import{getDictionary}from'./services/get-dictionary.js';import{systemSchemas}from'./schema.js';const u=_0x2e131f=>_0x2e131f[_0x2d9d33(0x99)];export function systemRoutes(_0x4fe251){const _0x754485=_0x2d9d33,_0x1d8848={};_0x1d8848[_0x754485(0x83)]=_0x754485(0xc2),_0x1d8848[_0x754485(0x97)]=_0x754485(0xb1),_0x1d8848[_0x754485(0xcd)]=_0x754485(0xa3),_0x1d8848[_0x754485(0xba)]=_0x754485(0xc3),_0x1d8848[_0x754485(0x8b)]=_0x754485(0xae),_0x1d8848[_0x754485(0xa8)]=_0x754485(0xc6),_0x1d8848[_0x754485(0x8d)]=_0x754485(0xbb),_0x1d8848[_0x754485(0xc5)]=_0x754485(0xb9),_0x1d8848[_0x754485(0xb0)]=_0x754485(0x86),_0x1d8848[_0x754485(0x8e)]=_0x754485(0x9f),_0x1d8848[_0x754485(0x89)]=_0x754485(0xb5),_0x1d8848[_0x754485(0xd7)]=_0x754485(0xb3),_0x1d8848[_0x754485(0xaa)]=_0x754485(0xc9),_0x1d8848[_0x754485(0x95)]=_0x754485(0x93),_0x1d8848[_0x754485(0x9c)]=_0x754485(0x9a),_0x1d8848[_0x754485(0xca)]=_0x754485(0xb7),_0x1d8848[_0x754485(0xcf)]=_0x754485(0x90),_0x1d8848[_0x754485(0x8f)]=_0x754485(0xa6),_0x1d8848[_0x754485(0xbd)]=_0x754485(0x9d),_0x1d8848[_0x754485(0x88)]=_0x754485(0xc7),_0x1d8848[_0x754485(0x8a)]=_0x754485(0xaf),_0x1d8848[_0x754485(0x94)]=_0x754485(0xcb),_0x1d8848[_0x754485(0x85)]=_0x754485(0xa1),_0x1d8848[_0x754485(0xa9)]=_0x754485(0xa5),_0x1d8848[_0x754485(0xab)]=_0x754485(0x87),_0x1d8848[_0x754485(0xd2)]=_0x754485(0xad),_0x1d8848[_0x754485(0xb8)]=_0x754485(0xb4);const _0x1f09a8=_0x1d8848;return async _0x4769ed=>{const _0x29798b=_0x754485,_0x413068={};_0x413068[_0x29798b(0xce)]=[_0x1f09a8[_0x29798b(0x83)],_0x1f09a8[_0x29798b(0x97)]],_0x413068[_0x29798b(0x91)]=_0x29798b(0xd4),_0x413068[_0x29798b(0xc0)]=_0x1f09a8[_0x29798b(0xcd)],_0x413068[_0x29798b(0xbc)]=_0x29798b(0xbb),_0x413068[_0x29798b(0x98)]=[];const _0x2d5134={};_0x2d5134[_0x29798b(0xd0)]=_0x413068,_0x4769ed[_0x29798b(0x96)](_0x29798b(0xd3),_0x2d5134,async _0x4394ee=>listDictionaries({'user':u(_0x4394ee)},_0x4fe251)),_0x4769ed[_0x29798b(0x96)](_0x1f09a8[_0x29798b(0xba)],{'schema':{'tags':[_0x1f09a8[_0x29798b(0x83)],_0x1f09a8[_0x29798b(0x97)]],'summary':_0x1f09a8[_0x29798b(0x8b)],'description':_0x1f09a8[_0x29798b(0xa8)],'access':_0x1f09a8[_0x29798b(0x8d)],'permissions':[],'params':systemSchemas[_0x29798b(0xb6)]}},async _0x5dcb63=>getDictionary({..._0x5dcb63[_0x29798b(0xc1)],'user':u(_0x5dcb63)},_0x4fe251)),_0x4769ed[_0x29798b(0x96)](_0x1f09a8[_0x29798b(0xc5)],{'schema':{'tags':[_0x29798b(0xc2),_0x1f09a8[_0x29798b(0x97)]],'summary':_0x1f09a8[_0x29798b(0xb0)],'description':_0x1f09a8[_0x29798b(0x8e)],'access':_0x1f09a8[_0x29798b(0x8d)],'permissions':[_0x29798b(0x92)]}},async _0x87d609=>getSystemSettings({..._0x87d609[_0x29798b(0xc1)],'user':u(_0x87d609)},_0x4fe251)),_0x4769ed[_0x29798b(0xcc)](_0x1f09a8[_0x29798b(0xc5)],{'schema':{'tags':[_0x1f09a8[_0x29798b(0x83)],_0x1f09a8[_0x29798b(0x97)]],'summary':_0x1f09a8[_0x29798b(0x89)],'description':_0x1f09a8[_0x29798b(0xd7)],'access':_0x1f09a8[_0x29798b(0x8d)],'permissions':[_0x1f09a8[_0x29798b(0xaa)]],'body':systemSchemas[_0x29798b(0xbe)]}},async _0x33d22d=>updateSystemSettings({..._0x33d22d[_0x29798b(0xc1)],'patch':_0x33d22d[_0x29798b(0xd5)],'user':u(_0x33d22d)},_0x4fe251)),_0x4769ed[_0x29798b(0x96)](_0x1f09a8[_0x29798b(0x95)],{'schema':{'tags':[_0x1f09a8[_0x29798b(0x83)],_0x1f09a8[_0x29798b(0x97)]],'summary':_0x1f09a8[_0x29798b(0x9c)],'description':_0x1f09a8[_0x29798b(0xca)],'access':_0x29798b(0xbb),'permissions':[_0x1f09a8[_0x29798b(0xcf)]],'params':systemSchemas[_0x29798b(0xc4)]}},async _0x3d44c1=>getSystemLog({..._0x3d44c1[_0x29798b(0xd1)],..._0x3d44c1[_0x29798b(0xc1)],'user':u(_0x3d44c1)},_0x4fe251));const _0x5dc115={};_0x5dc115[_0x29798b(0xce)]=[_0x29798b(0xc2),_0x29798b(0xb1)],_0x5dc115[_0x29798b(0x91)]=_0x1f09a8[_0x29798b(0x8f)],_0x5dc115[_0x29798b(0xc0)]=_0x1f09a8[_0x29798b(0xbd)],_0x5dc115[_0x29798b(0xbc)]=_0x1f09a8[_0x29798b(0x8d)],_0x5dc115[_0x29798b(0x98)]=[_0x1f09a8[_0x29798b(0x88)]];const _0x314644={};_0x314644[_0x29798b(0xd0)]=_0x5dc115,_0x4769ed[_0x29798b(0x96)](_0x29798b(0x9e),_0x314644,async _0xc8e208=>getAuditLog({..._0xc8e208[_0x29798b(0xd1)],'user':u(_0xc8e208)},_0x4fe251)),_0x4769ed[_0x29798b(0x96)](_0x1f09a8[_0x29798b(0x8a)],{'schema':{'tags':[_0x1f09a8[_0x29798b(0x83)],_0x1f09a8[_0x29798b(0x97)]],'summary':_0x1f09a8[_0x29798b(0x94)],'description':_0x1f09a8[_0x29798b(0x85)],'access':_0x1f09a8[_0x29798b(0x8d)],'permissions':[_0x1f09a8[_0x29798b(0xa9)]]}},async _0x839e2d=>checkSystem({'user':u(_0x839e2d)},_0x4fe251));const _0x2dcde6={};_0x2dcde6[_0x29798b(0xce)]=[_0x1f09a8[_0x29798b(0x83)],_0x1f09a8[_0x29798b(0x97)]],_0x2dcde6[_0x29798b(0x91)]=_0x1f09a8[_0x29798b(0xab)],_0x2dcde6[_0x29798b(0xc0)]=_0x1f09a8[_0x29798b(0xd2)],_0x2dcde6[_0x29798b(0xbc)]=_0x1f09a8[_0x29798b(0x8d)],_0x2dcde6[_0x29798b(0x98)]=[_0x1f09a8[_0x29798b(0xb8)]];const _0x32bd6a={};_0x32bd6a[_0x29798b(0xd0)]=_0x2dcde6,_0x4769ed[_0x29798b(0x96)](_0x29798b(0xc8),_0x32bd6a,async _0x570518=>getApiList({'user':u(_0x570518)},_0x4fe251));};}function _0x2100(){const _0x8e7ba7=['45TQjryY','qnrdB','Returns\x20the\x20system\x20audit\x20log\x20entries.','/api/system/audit/','Returns\x20system\x20settings\x20as\x20nested\x20JSON.','2148CFkNdS','Checks\x20the\x20availability\x20of\x20system\x20dependencies.','150ENowZK','Returns\x20all\x20available\x20dictionaries\x20registered\x20by\x20the\x20platform.','609405oCygRz','system:check','Get\x20audit\x20log','541626flnMVv','uHzWQ','wkSDs','PTElO','pQBmL','12365910bhqUSp','Returns\x20the\x20list\x20of\x20registered\x20platform\x20APIs.','Get\x20platform\x20dictionary','/api/system/check','UboWi','system','488vZNTdK','Updates\x20system\x20settings\x20using\x20flat\x20dot-notation\x20keys.','system:api:read','Update\x20system\x20settings','dictionaryName','Returns\x20system\x20logger\x20entries\x20for\x20the\x20requested\x20path.','Lidys','/api/system/settings','VOoXT','admin','access','CqslB','settings','1191wofEsC','description','params','fcore','/api/dictionaries/:name','logger','HYdoE','Returns\x20a\x20registered\x20platform\x20dictionary\x20by\x20name.','audit:read','/api/system/api-list','system:settings:update','uRAqw','Check\x20system\x20health','post','FwcCs','tags','KBsEw','schema','query','JSghP','/api/dictionaries','List\x20platform\x20dictionaries','body','117131tZpizV','pSTpK','bnhUt','2323211xlacvu','YZOkZ','Get\x20system\x20settings','List\x20APIs','QOCbz','BFhVt','oJOEl','pdawe','2003504QApFAi','zmaiw','BEEny','yhnFZ','system:logs:read','summary','system:settings:read','/api/system/logger/*','FwFBC','zaREg','get','LtiTC','permissions','user','Get\x20system\x20log'];_0x2100=function(){return _0x8e7ba7;};return _0x2100();}
@@ -1 +1 @@
1
- const R=p;(function(M,u){const q=p,o=M();while(!![]){try{const r=parseInt(q(0xfa))/0x1*(parseInt(q(0xef))/0x2)+-parseInt(q(0xf5))/0x3+-parseInt(q(0xf7))/0x4*(-parseInt(q(0xfc))/0x5)+parseInt(q(0xfb))/0x6*(parseInt(q(0xf0))/0x7)+parseInt(q(0xf1))/0x8+parseInt(q(0xf9))/0x9+-parseInt(q(0xf2))/0xa;if(r===u)break;else o['push'](o['shift']());}catch(i){o['push'](o['shift']());}}}(m,0xf3355));import{Type}from'@sinclair/typebox';const D={};D[R(0x100)]=0x1,D[R(0xf4)]=0x80,D[R(0xee)]=R(0xfd);export const identifier=Type[R(0xf3)](D);const L={};L[R(0xf6)]=identifier;function m(){const B=['245ReWIFw','10012792WxShgn','44799170BeoCAi','String','maxLength','2667543LsbgLi','name','52616raNfyV','Record','17576208JviwiB','433lCaKBL','212124vrdKFM','475SLGoGr','^[A-Za-z0-9][A-Za-z0-9_-]{0,127}$','Unknown','Object','minLength','Optional','pattern','3112wKhEnw'];m=function(){return B;};return m();}const s={};s[R(0x100)]=0x1;const X={};function p(D,L){D=D-0xee;const s=m();let X=s[D];return X;}X[R(0x100)]=0x1;export const systemSchemas={'dictionaryName':Type[R(0xff)](L),'settingsEntity':Type[R(0xff)]({'entity':Type[R(0x101)](identifier)}),'settings':Type[R(0xf8)](Type[R(0xf3)](s),Type[R(0xfe)]()),'logger':Type[R(0xff)]({'*':Type[R(0x101)](Type[R(0xf3)](X))})};
1
+ const _0xd8293e=_0x1ffe;function _0x4c9c(){const _0x48abdc=['Unknown','6306LyAAhh','^[A-Za-z0-9][A-Za-z0-9_-]{0,127}$','2703yDaanD','String','108nCmRHG','210pkitvw','minLength','105054bGvmvQ','14648BtNZJU','330YdxqRY','Optional','295744GpjVzV','2024nhILKv','35870aQlkfy','Record','10680sKnGCM','maxLength','314GFOtFC','Object','name','pattern'];_0x4c9c=function(){return _0x48abdc;};return _0x4c9c();}function _0x1ffe(_0x3bd7c5,_0x121d4f){_0x3bd7c5=_0x3bd7c5-0x1b8;const _0x4c9c99=_0x4c9c();let _0x1ffe84=_0x4c9c99[_0x3bd7c5];return _0x1ffe84;}(function(_0x2e25b1,_0x5f5dcc){const _0xe8d30e=_0x1ffe,_0x3d2ea3=_0x2e25b1();while(!![]){try{const _0x31fd5e=-parseInt(_0xe8d30e(0x1c8))/0x1+parseInt(_0xe8d30e(0x1bc))/0x2*(parseInt(_0xe8d30e(0x1c3))/0x3)+parseInt(_0xe8d30e(0x1cc))/0x4+-parseInt(_0xe8d30e(0x1ca))/0x5*(parseInt(_0xe8d30e(0x1c1))/0x6)+parseInt(_0xe8d30e(0x1c6))/0x7*(-parseInt(_0xe8d30e(0x1c9))/0x8)+-parseInt(_0xe8d30e(0x1c5))/0x9*(parseInt(_0xe8d30e(0x1b8))/0xa)+-parseInt(_0xe8d30e(0x1cd))/0xb*(-parseInt(_0xe8d30e(0x1ba))/0xc);if(_0x31fd5e===_0x5f5dcc)break;else _0x3d2ea3['push'](_0x3d2ea3['shift']());}catch(_0x5f19b7){_0x3d2ea3['push'](_0x3d2ea3['shift']());}}}(_0x4c9c,0x1a107));import{Type}from'@sinclair/typebox';const _0x1ab7a3={};_0x1ab7a3[_0xd8293e(0x1c7)]=0x1,_0x1ab7a3[_0xd8293e(0x1bb)]=0x80,_0x1ab7a3[_0xd8293e(0x1bf)]=_0xd8293e(0x1c2);export const identifier=Type[_0xd8293e(0x1c4)](_0x1ab7a3);const _0x408833={};_0x408833[_0xd8293e(0x1be)]=identifier;const _0x3c8a69={};_0x3c8a69[_0xd8293e(0x1c7)]=0x1;const _0x1d86be={};_0x1d86be[_0xd8293e(0x1c7)]=0x1;export const systemSchemas={'dictionaryName':Type[_0xd8293e(0x1bd)](_0x408833),'settingsEntity':Type[_0xd8293e(0x1bd)]({'entity':Type[_0xd8293e(0x1cb)](identifier)}),'settings':Type[_0xd8293e(0x1b9)](Type[_0xd8293e(0x1c4)](_0x3c8a69),Type[_0xd8293e(0x1c0)]()),'logger':Type[_0xd8293e(0x1bd)]({'*':Type[_0xd8293e(0x1cb)](Type[_0xd8293e(0x1c4)](_0x1d86be))})};
@@ -1 +1 @@
1
- function p(D,L){D=D-0x143;const s=m();let X=s[D];return X;}(function(D,L){const q=p,s=D();while(!![]){try{const X=parseInt(q(0x14f))/0x1+parseInt(q(0x145))/0x2*(parseInt(q(0x154))/0x3)+parseInt(q(0x14d))/0x4*(-parseInt(q(0x152))/0x5)+parseInt(q(0x144))/0x6+-parseInt(q(0x146))/0x7+parseInt(q(0x153))/0x8+-parseInt(q(0x158))/0x9*(parseInt(q(0x14c))/0xa);if(X===L)break;else s['push'](s['shift']());}catch(M){s['push'](s['shift']());}}}(m,0x5baa2));import{requireAdmin}from'../../utils/require-admin.js';export async function checkSystem(L,s){const R=p,X={};X[R(0x159)]=R(0x143),X[R(0x15a)]=function(r,i){return r===i;},X[R(0x14b)]=R(0x150),X[R(0x14e)]=R(0x147);const M=X;requireAdmin(L[R(0x148)],M[R(0x159)]);const [u,o]=await Promise[R(0x14a)]([s['pg'][R(0x151)](R(0x156)),s[R(0x155)][R(0x157)]()]);return{'status':M[R(0x15a)](u[R(0x149)],M[R(0x14b)])&&o[R(0x149)]===M[R(0x14b)]?'ok':M[R(0x14e)],'pg':u[R(0x149)],'redis':o[R(0x149)]};}function m(){const B=['12MiZLlg','QyqVt','45281jBaxmn','fulfilled','query','280230gpHfIk','852952QBWxHa','72753rjaxkx','redis','SELECT\x201','ping','1790658SvgKIS','ETTcf','NkODC','system:check','1039092jDgtbq','36sQUIvG','133294TfunjG','degraded','user','status','allSettled','yFZtW','10FyBWlV'];m=function(){return B;};return m();}
1
+ (function(_0x5d01d9,_0x52167a){const _0x54aa42=_0x2c88,_0x28074a=_0x5d01d9();while(!![]){try{const _0x1e6767=-parseInt(_0x54aa42(0x17d))/0x1*(-parseInt(_0x54aa42(0x18d))/0x2)+parseInt(_0x54aa42(0x188))/0x3*(parseInt(_0x54aa42(0x17f))/0x4)+-parseInt(_0x54aa42(0x18b))/0x5*(-parseInt(_0x54aa42(0x180))/0x6)+parseInt(_0x54aa42(0x17b))/0x7*(parseInt(_0x54aa42(0x18e))/0x8)+parseInt(_0x54aa42(0x191))/0x9+-parseInt(_0x54aa42(0x17c))/0xa*(-parseInt(_0x54aa42(0x193))/0xb)+-parseInt(_0x54aa42(0x18a))/0xc*(parseInt(_0x54aa42(0x183))/0xd);if(_0x1e6767===_0x52167a)break;else _0x28074a['push'](_0x28074a['shift']());}catch(_0x3119d0){_0x28074a['push'](_0x28074a['shift']());}}}(_0x1b06,0x55719));function _0x1b06(){const _0x3ad982=['ping','redis','SFYHZ','IsHav','3363ehmFAI','status','12jihRtR','3185zWnmcL','query','6eoDlgK','132656WZRZfV','system:check','allSettled','1630620yvfmUd','fulfilled','11CDlfcy','SELECT\x201','133DbsTwj','3532390HZAPjG','59209TAgnJs','VpVxH','484YJRkxO','498LVoNOl','degraded','user','11253307XZZzrX'];_0x1b06=function(){return _0x3ad982;};return _0x1b06();}function _0x2c88(_0x132d0a,_0x5f7186){_0x132d0a=_0x132d0a-0x17b;const _0x1b0674=_0x1b06();let _0x2c888d=_0x1b0674[_0x132d0a];return _0x2c888d;}import{requireAdmin}from'../../utils/require-admin.js';export async function checkSystem(_0x27b03c,_0x242574){const _0x329fe9=_0x2c88,_0x57f1dd={};_0x57f1dd[_0x329fe9(0x186)]=_0x329fe9(0x194),_0x57f1dd[_0x329fe9(0x17e)]=function(_0x19dc44,_0x1f560b){return _0x19dc44===_0x1f560b;},_0x57f1dd[_0x329fe9(0x187)]=_0x329fe9(0x192);const _0x111c9e=_0x57f1dd;requireAdmin(_0x27b03c[_0x329fe9(0x182)],_0x329fe9(0x18f));const [_0x3200eb,_0x1e8cae]=await Promise[_0x329fe9(0x190)]([_0x242574['pg'][_0x329fe9(0x18c)](_0x111c9e[_0x329fe9(0x186)]),_0x242574[_0x329fe9(0x185)][_0x329fe9(0x184)]()]);return{'status':_0x111c9e[_0x329fe9(0x17e)](_0x3200eb[_0x329fe9(0x189)],_0x111c9e[_0x329fe9(0x187)])&&_0x111c9e[_0x329fe9(0x17e)](_0x1e8cae[_0x329fe9(0x189)],_0x111c9e[_0x329fe9(0x187)])?'ok':_0x329fe9(0x181),'pg':_0x3200eb[_0x329fe9(0x189)],'redis':_0x1e8cae[_0x329fe9(0x189)]};}
@@ -1 +1 @@
1
- function m(){var i=['XjIvn','2543298wixliX','233284DPUBsi','792gfshWl','/api/dictionaries','2191270EaZKaB','mnkkM','/api/templates','/files/*','45520nZWjJy','hUZaA','/api/user','/api/resource/:resource','system:api:read','KOeJp','wUFVc','apZBY','578716bptMvJ','8525496LDXzAQ','/api/system/check','/api/resource/:resource/:id','111214Mcmocy','/api/login','/api/logout','39OPkuoa','user','cRjnS','hQaSK'];m=function(){return i;};return m();}(function(D,L){var o=p,s=D();while(!![]){try{var X=parseInt(o(0x154))/0x1+-parseInt(o(0x158))/0x2*(parseInt(o(0x15b))/0x3)+parseInt(o(0x145))/0x4+parseInt(o(0x148))/0x5+-parseInt(o(0x160))/0x6+parseInt(o(0x155))/0x7+-parseInt(o(0x14c))/0x8*(parseInt(o(0x146))/0x9);if(X===L)break;else s['push'](s['shift']());}catch(M){s['push'](s['shift']());}}}(m,0x9da5d));function p(D,L){D=D-0x145;var s=m();var X=s[D];return X;}import{requireAdmin}from'../../utils/require-admin.js';export async function getApiList(D,L){var r=p,s={'XjIvn':function(X,M,u){return X(M,u);},'KOeJp':r(0x150),'mnkkM':r(0x15a),'apZBY':r(0x14e),'cRjnS':r(0x147),'hUZaA':r(0x14b),'wUFVc':r(0x14a),'hQaSK':r(0x156)};return s[r(0x15f)](requireAdmin,D[r(0x15c)],s[r(0x151)]),[r(0x159),s[r(0x149)],s[r(0x153)],r(0x14f),r(0x157),s[r(0x15d)],s[r(0x14d)],s[r(0x152)],s[r(0x15e)]];}
1
+ function _0x4ad3(){var _0x39a911=['DUBre','/api/templates','/files/*','286240axYsJz','/api/system/check','/api/dictionaries','5PYTrtE','/api/resource/:resource/:id','4025686RFVTnq','NhoPQ','1036728ZvAmMw','ejxQV','system:api:read','/api/user','user','YhUpv','GtzcK','VDFhV','15237856BlObKF','HgjFd','/api/resource/:resource','7543590NJOheM','1531960VTVUph','11558nfsUMG','/api/login','411pGbZBw','afvTT','/api/logout','MuWmf','150jCCMQt'];_0x4ad3=function(){return _0x39a911;};return _0x4ad3();}function _0x42e0(_0x90f189,_0x4148c6){_0x90f189=_0x90f189-0xaa;var _0x4ad34d=_0x4ad3();var _0x42e02b=_0x4ad34d[_0x90f189];return _0x42e02b;}(function(_0x433c4c,_0x16b279){var _0x10c2c9=_0x42e0,_0x4334ac=_0x433c4c();while(!![]){try{var _0x23f12c=-parseInt(_0x10c2c9(0xac))/0x1+-parseInt(_0x10c2c9(0xc0))/0x2*(parseInt(_0x10c2c9(0xc2))/0x3)+parseInt(_0x10c2c9(0xbf))/0x4*(parseInt(_0x10c2c9(0xaf))/0x5)+parseInt(_0x10c2c9(0xbe))/0x6+parseInt(_0x10c2c9(0xb1))/0x7+-parseInt(_0x10c2c9(0xbb))/0x8+-parseInt(_0x10c2c9(0xb3))/0x9*(-parseInt(_0x10c2c9(0xc6))/0xa);if(_0x23f12c===_0x16b279)break;else _0x4334ac['push'](_0x4334ac['shift']());}catch(_0xa57b34){_0x4334ac['push'](_0x4334ac['shift']());}}}(_0x4ad3,0xea81a));import{requireAdmin}from'../../utils/require-admin.js';export async function getApiList(_0x521232,_0xb1f468){var _0x45d644=_0x42e0,_0x470997={'VDFhV':function(_0x595e93,_0x392ba8,_0x4c0fc8){return _0x595e93(_0x392ba8,_0x4c0fc8);},'afvTT':_0x45d644(0xb5),'YhUpv':_0x45d644(0xc1),'NhoPQ':_0x45d644(0xc4),'HgjFd':_0x45d644(0xbd),'GtzcK':_0x45d644(0xae),'MuWmf':_0x45d644(0xab),'DUBre':_0x45d644(0xaa),'ejxQV':_0x45d644(0xad)};return _0x470997[_0x45d644(0xba)](requireAdmin,_0x521232[_0x45d644(0xb7)],_0x470997[_0x45d644(0xc3)]),[_0x470997[_0x45d644(0xb8)],_0x470997[_0x45d644(0xb2)],_0x45d644(0xb6),_0x470997[_0x45d644(0xbc)],_0x45d644(0xb0),_0x470997[_0x45d644(0xb9)],_0x470997[_0x45d644(0xc5)],_0x470997[_0x45d644(0xc7)],_0x470997[_0x45d644(0xb4)]];}