@lovrabet/lovrabet-cli 2.0.1-beta.8 → 2.0.1

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 (69) hide show
  1. package/lib/cli.js +1 -1
  2. package/lib/commands/app/cache.js +1 -0
  3. package/lib/commands/app/definitions.js +1 -1
  4. package/lib/commands/app/mock-loader.js +1 -0
  5. package/lib/commands/app/remote-source.js +1 -0
  6. package/lib/commands/app/shared.js +1 -1
  7. package/lib/commands/auth/index.js +1 -1
  8. package/lib/commands/auth/prompt.js +1 -0
  9. package/lib/commands/bff/detail.js +1 -1
  10. package/lib/commands/bff/exec.js +1 -1
  11. package/lib/commands/bff/index.js +1 -1
  12. package/lib/commands/common/config-policy.js +1 -0
  13. package/lib/commands/common/constraints.js +1 -1
  14. package/lib/commands/common/flags.js +1 -1
  15. package/lib/commands/config/definitions.js +1 -1
  16. package/lib/commands/config/shared.js +1 -1
  17. package/lib/commands/data/index.js +1 -1
  18. package/lib/commands/dataset/detail.js +1 -1
  19. package/lib/commands/dataset/index.js +1 -1
  20. package/lib/commands/dataset/list.js +1 -1
  21. package/lib/commands/doctor.js +1 -1
  22. package/lib/commands/init/index.js +1 -1
  23. package/lib/commands/init.js +1 -1
  24. package/lib/commands/logs/index.js +1 -1
  25. package/lib/commands/registry.js +1 -1
  26. package/lib/commands/schema.js +1 -0
  27. package/lib/commands/sql/detail.js +1 -1
  28. package/lib/commands/sql/exec.js +1 -1
  29. package/lib/commands/sql/index.js +1 -1
  30. package/lib/config/schema.js +1 -0
  31. package/lib/constant/auth-mode.js +1 -1
  32. package/lib/constant/cli.js +1 -1
  33. package/lib/constant/defaults.js +1 -0
  34. package/lib/constant/domain.js +1 -1
  35. package/lib/constant/env.js +1 -1
  36. package/lib/constant/output.js +1 -0
  37. package/lib/constant/risk.js +1 -0
  38. package/lib/context.js +1 -1
  39. package/lib/core/api-client.js +1 -1
  40. package/lib/core/db-resolver.js +1 -1
  41. package/lib/core/sdk-client.js +1 -1
  42. package/lib/errors.js +1 -1
  43. package/lib/framework/build-all-flags.js +1 -0
  44. package/lib/framework/dryrun.js +1 -1
  45. package/lib/framework/flags.js +1 -1
  46. package/lib/framework/help.js +1 -1
  47. package/lib/framework/index.js +1 -1
  48. package/lib/framework/output.js +1 -1
  49. package/lib/framework/preparse.js +1 -1
  50. package/lib/framework/response.js +1 -1
  51. package/lib/framework/runner-confirmation.js +1 -0
  52. package/lib/framework/runner-error.js +1 -0
  53. package/lib/framework/runner.js +1 -1
  54. package/lib/framework/schema-export.js +1 -0
  55. package/lib/framework/types.js +1 -1
  56. package/lib/help.js +1 -1
  57. package/lib/utils/apply-jq-filter.js +1 -1
  58. package/lib/utils/logger.js +1 -1
  59. package/lib/utils/params.js +1 -1
  60. package/lib/utils/version.js +1 -1
  61. package/lib/utils/write-cli-side-channel.js +1 -1
  62. package/package.json +4 -3
  63. package/lib/auth/auth-server-ui.js +0 -1
  64. package/lib/auth/auth-server.js +0 -1
  65. package/lib/auth/constant.js +0 -1
  66. package/lib/auth/get-cookie.js +0 -1
  67. package/lib/auth/is-session-valid.js +0 -1
  68. package/lib/auth/login-success-html.js +0 -1
  69. package/lib/auth/logout.js +0 -1
@@ -1 +1 @@
1
- const a19_0x5a0f38=a19_0x186c;(function(_0x571855,_0x1f2f35){const _0x344070=a19_0x186c,_0xce70a4=_0x571855();while(!![]){try{const _0x21d6a7=-parseInt(_0x344070(0xa9))/0x1*(parseInt(_0x344070(0xb6))/0x2)+-parseInt(_0x344070(0x9e))/0x3*(-parseInt(_0x344070(0x8f))/0x4)+-parseInt(_0x344070(0xbe))/0x5+parseInt(_0x344070(0xd0))/0x6*(-parseInt(_0x344070(0xaf))/0x7)+-parseInt(_0x344070(0xad))/0x8+-parseInt(_0x344070(0xa2))/0x9*(parseInt(_0x344070(0x94))/0xa)+parseInt(_0x344070(0x88))/0xb;if(_0x21d6a7===_0x1f2f35)break;else _0xce70a4['push'](_0xce70a4['shift']());}catch(_0x39995e){_0xce70a4['push'](_0xce70a4['shift']());}}}(a19_0xd99f,0xd47ff));import{getDatasetDetail}from'../../core/api-client.js';import{CODE_FLAG}from'../../commands/common/flags.js';function a19_0xd99f(){const _0x23a33e=['createTimeField','method','read','name','modelCode','tableName','code','3507720BHOXci','requestBody','requestFields','dataType','responseBody','afterScriptId','toFieldLabel','description','dbtableConfig','entries','properties','responseFields','dbId','dbName','allFieldNames','toDatasetName','modifierIdField','relations','7890738SlaBmi','doType','deleted','49640646LRMCYE','fields','length','push','fromField','beforeScriptId','datasetKey','219832zqhgHg','logicField','required','dblinkInfoDTO','Get\x20dataset\x20detail\x20including\x20fields\x20and\x20operations','5466090FUerMz','extend','trim','updateTimeField','displayName','split','options','map','allFields','validateRules','15OdjLxC','parse','toField','filter','9CYJFNP','indexes','host','detail','string','modifierNameField','object','3517cLoHsk','formatRules','doVersion','columnCodeListWithDeleted','7820656SAZdRx','operations','7voqLno','title','str','toTableName','creatorIdField','pkField','isArray','214bVBPQG'];a19_0xd99f=function(){return _0x23a33e;};return a19_0xd99f();}function a19_0x186c(_0x199088,_0x4f4c14){_0x199088=_0x199088-0x86;const _0xd99f1a=a19_0xd99f();let _0x186c8b=_0xd99f1a[_0x199088];return _0x186c8b;}function normalizeField(_0x40f95e){const _0x3a7790=a19_0x186c;if(_0x40f95e[_0x3a7790(0x87)])return null;const _0x386726=Boolean(_0x40f95e[_0x3a7790(0x98)]!==undefined||_0x40f95e[_0x3a7790(0x86)]!==undefined);let _0x571d09={};if(!_0x386726&&typeof _0x40f95e[_0x3a7790(0x95)]===_0x3a7790(0xa6))try{_0x571d09=JSON[_0x3a7790(0x9f)](_0x40f95e[_0x3a7790(0x95)]);}catch{}const _0x40a375=_0x386726?_0x40f95e[_0x3a7790(0xba)]:_0x40f95e[_0x3a7790(0xbd)],_0x459dac=_0x386726?_0x40f95e[_0x3a7790(0x98)]:_0x40f95e[_0x3a7790(0xba)],_0xf8e177=_0x386726?_0x40f95e[_0x3a7790(0x86)]:_0x40f95e['type']||_0x40f95e[_0x3a7790(0xc1)],_0x120f18=_0x386726?_0x40f95e[_0x3a7790(0xb4)]===!![]:_0x571d09[_0x3a7790(0xb4)]===!![],_0x38dca0=_0x386726?_0x40f95e[_0x3a7790(0x91)]===!![]:_0x571d09[_0x3a7790(0x91)]===!![],_0x33b679=_0x386726?_0x40f95e[_0x3a7790(0x9a)]??null:_0x571d09['options']??null,_0x3d09a7={'name':_0x40a375,'displayName':_0x459dac||_0x40a375,'type':_0xf8e177,'dbType':_0x40f95e['dbType'],'pk':_0x120f18,'required':_0x38dca0,'description':_0x40f95e[_0x3a7790(0xc5)]||undefined};return Array[_0x3a7790(0xb5)](_0x33b679)&&_0x33b679[_0x3a7790(0x8a)]>0x0&&(_0x3d09a7[_0x3a7790(0x9a)]=_0x33b679),_0x3d09a7;}function parseJsonMaybe(_0x479a38){const _0x298d06=a19_0x186c;if(typeof _0x479a38!==_0x298d06(0xa6))return _0x479a38;try{return JSON[_0x298d06(0x9f)](_0x479a38);}catch{return _0x479a38;}}function normalizeOperationEntry(_0x6ea1eb,_0x4a1322){const _0x298951=a19_0x186c;if(!_0x4a1322||typeof _0x4a1322!=='object')return null;if(!_0x4a1322[_0x298951(0xb8)]||!_0x4a1322['path'])return null;const _0x185f38={'name':_0x6ea1eb,'method':_0x4a1322['method'],'path':_0x4a1322['path']};if(_0x4a1322[_0x298951(0xa4)])_0x185f38[_0x298951(0xa4)]=_0x4a1322[_0x298951(0xa4)];_0x4a1322[_0x298951(0xbf)]!=null&&(_0x185f38['requestBody']=parseJsonMaybe(_0x4a1322[_0x298951(0xbf)]));_0x4a1322[_0x298951(0xc2)]!=null&&(_0x185f38[_0x298951(0xc2)]=parseJsonMaybe(_0x4a1322['responseBody']));if(_0x4a1322[_0x298951(0x8d)]!=null)_0x185f38[_0x298951(0x8d)]=_0x4a1322[_0x298951(0x8d)];if(_0x4a1322[_0x298951(0xc3)]!=null)_0x185f38[_0x298951(0xc3)]=_0x4a1322[_0x298951(0xc3)];if(Array[_0x298951(0xb5)](_0x4a1322[_0x298951(0xc0)]))_0x185f38[_0x298951(0xc0)]=_0x4a1322['requestFields'];if(Array[_0x298951(0xb5)](_0x4a1322[_0x298951(0xc9)]))_0x185f38['responseFields']=_0x4a1322['responseFields'];return _0x185f38;}function summarizeDbtable(_0x2ea9de){const _0x132df0=a19_0x186c,_0x210093={},_0x282357=[_0x132df0(0xca),_0x132df0(0xcb),_0x132df0(0xbc),'datasetKey',_0x132df0(0xb4),_0x132df0(0x9c),_0x132df0(0x90),_0x132df0(0xb7),_0x132df0(0x97),_0x132df0(0xb3),'creatorNameField',_0x132df0(0xce),_0x132df0(0xa7),'labelField',_0x132df0(0x92)];for(const _0x120aa5 of _0x282357){if(_0x2ea9de[_0x120aa5]!==undefined)_0x210093[_0x120aa5]=_0x2ea9de[_0x120aa5];}return typeof _0x210093[_0x132df0(0x9c)]===_0x132df0(0xa6)&&_0x210093['allFields'][_0x132df0(0x8a)]>0x0&&(_0x210093[_0x132df0(0xcc)]=_0x210093[_0x132df0(0x9c)][_0x132df0(0x99)](',')['map'](_0x3f580b=>_0x3f580b[_0x132df0(0x96)]())[_0x132df0(0xa1)](Boolean)),_0x210093;}function normalizeRelatedPages(_0x21ba03){const _0x10a699=a19_0x186c;if(!Array[_0x10a699(0xb5)](_0x21ba03))return[];return _0x21ba03[_0x10a699(0xa1)](_0x943f35=>_0x943f35&&typeof _0x943f35===_0x10a699(0xa8))[_0x10a699(0x9b)](_0x3fdb1e=>({'id':_0x3fdb1e['id'],'type':_0x3fdb1e['type'],'code':_0x3fdb1e['code'],'title':_0x3fdb1e[_0x10a699(0xb0)],'deleted':_0x3fdb1e[_0x10a699(0x87)]===!![]}));}export const datasetDetail={'service':'dataset','command':a19_0x5a0f38(0xa5),'description':a19_0x5a0f38(0x93),'risk':a19_0x5a0f38(0xb9),'flags':[CODE_FLAG],async 'execute'(_0x3e0a1c){const _0x52c526=a19_0x5a0f38,_0x4f7f21=await getDatasetDetail(_0x3e0a1c[_0x52c526(0xb1)](_0x52c526(0xbd))),_0x1c9511=Array[_0x52c526(0xb5)](_0x4f7f21[_0x52c526(0x89)])?_0x4f7f21['fields']:Array['isArray'](_0x4f7f21[_0x52c526(0xc8)])?_0x4f7f21[_0x52c526(0xc8)]:[],_0x2a9b07=_0x1c9511[_0x52c526(0x9b)](_0x519ab5=>normalizeField(_0x519ab5))['filter'](_0x9bb4=>_0x9bb4!==null),_0x509461=_0x4f7f21[_0x52c526(0xae)]??{},_0x4edf25=[];for(const [_0xcfb10d,_0x2e8d9b]of Object[_0x52c526(0xc7)](_0x509461)){const _0x5e85e6=normalizeOperationEntry(_0xcfb10d,_0x2e8d9b);if(_0x5e85e6)_0x4edf25[_0x52c526(0x8b)](_0x5e85e6);}const _0x291208=_0x4f7f21[_0x52c526(0xc6)]??{},_0x4a3b77=_0x4f7f21['dataset']??{},_0x336aa8=_0x291208[_0x52c526(0xca)]!=null?{'id':_0x291208['dbId'],'name':_0x291208[_0x52c526(0xcb)]??null}:undefined;let _0x1526f8;return typeof _0x4f7f21[_0x52c526(0x95)]==='string'&&(_0x1526f8=parseJsonMaybe(_0x4f7f21[_0x52c526(0x95)])),{'ok':!![],'data':{'id':_0x4f7f21['modelId']??_0x4f7f21['id'],'name':_0x4f7f21[_0x52c526(0xba)],'code':_0x4f7f21[_0x52c526(0xbb)]||_0x4f7f21[_0x52c526(0xbd)],'doVersion':_0x4f7f21[_0x52c526(0xab)],'description':_0x4f7f21['description']||_0x4a3b77['tableComment']||undefined,'source':_0x4f7f21['source']||_0x4a3b77['sourceType'],'table':_0x291208[_0x52c526(0xbc)]||_0x4a3b77['tableName'],'datasetKey':_0x291208[_0x52c526(0x8e)],'pk':_0x291208[_0x52c526(0xb4)],'db':_0x336aa8,'dbtable':summarizeDbtable(_0x291208),'fields':_0x2a9b07,'operations':_0x4edf25,'indexes':Array[_0x52c526(0xb5)](_0x4a3b77[_0x52c526(0xa3)])?_0x4a3b77[_0x52c526(0xa3)]:[],'relations':Array['isArray'](_0x4f7f21[_0x52c526(0xcf)])?_0x4f7f21[_0x52c526(0xcf)][_0x52c526(0x9b)](_0x13911a=>({'fromField':_0x13911a[_0x52c526(0x8c)],'toDataset':_0x13911a[_0x52c526(0xcd)],'toCode':_0x13911a['toDatasetCode'],'toTable':_0x13911a[_0x52c526(0xb2)],'toField':_0x13911a[_0x52c526(0xa0)],'labelField':_0x13911a[_0x52c526(0xc4)]||undefined})):[],'relatedPages':normalizeRelatedPages(_0x4f7f21['relatedPageInfoList']),...Array[_0x52c526(0xb5)](_0x4f7f21[_0x52c526(0xac)])?{'columnCodeListWithDeleted':_0x4f7f21[_0x52c526(0xac)]}:{},'formatRules':Array[_0x52c526(0xb5)](_0x4f7f21[_0x52c526(0xaa)])?_0x4f7f21[_0x52c526(0xaa)]:[],'validateRules':Array['isArray'](_0x4f7f21[_0x52c526(0x9d)])?_0x4f7f21[_0x52c526(0x9d)]:[],..._0x1526f8!==undefined?{'extend':_0x1526f8}:{},'stats':{'fieldCount':_0x2a9b07[_0x52c526(0x8a)],'operationCount':_0x4edf25[_0x52c526(0x8a)]}}};}};
1
+ function a17_0xa243(){const _0x505364=['name','6391578qHZOwo','beforeScriptId','formatRules','allFieldNames','requestFields','creatorIdField','toFieldLabel','indexes','Get\x20dataset\x20detail\x20including\x20fields\x20and\x20operations','path','code','doType','string','validateRules','type','allFields','fields','source','extend','displayName','isArray','dbType','dataset','datasetKey','detail','relatedPageInfoList','options','push','responseBody','dataType','requestBody','7WXHaSx','toField','description','dbId','afterScriptId','2775110YZLvNH','modifierIdField','5601896rOvgny','deleted','map','labelField','sourceType','tableName','4UdZrmQ','responseFields','logicField','object','doVersion','dbName','17805546YZJvqh','parse','modelId','columnCodeListWithDeleted','title','12086WHIDnd','method','175yrbOXQ','required','updateTimeField','creatorNameField','host','dbtableConfig','modelCode','filter','trim','entries','operations','pkField','length','5688390YRLcWd','9THKLud','toTableName','967101xjdMbv'];a17_0xa243=function(){return _0x505364;};return a17_0xa243();}const a17_0x2ab6e6=a17_0x2473;(function(_0x5bbdbe,_0x4f2df9){const _0xf16c39=a17_0x2473,_0x166ebe=_0x5bbdbe();while(!![]){try{const _0x3773a5=-parseInt(_0xf16c39(0x1d3))/0x1*(-parseInt(_0xf16c39(0x1d1))/0x2)+-parseInt(_0xf16c39(0x198))/0x3+-parseInt(_0xf16c39(0x1c6))/0x4*(parseInt(_0xf16c39(0x195))/0x5)+parseInt(_0xf16c39(0x19a))/0x6*(-parseInt(_0xf16c39(0x1b9))/0x7)+-parseInt(_0xf16c39(0x1c0))/0x8*(-parseInt(_0xf16c39(0x196))/0x9)+-parseInt(_0xf16c39(0x1be))/0xa+parseInt(_0xf16c39(0x1cc))/0xb;if(_0x3773a5===_0x4f2df9)break;else _0x166ebe['push'](_0x166ebe['shift']());}catch(_0x13701d){_0x166ebe['push'](_0x166ebe['shift']());}}}(a17_0xa243,0x8c0bd));function a17_0x2473(_0x4e91e0,_0x2c3ab3){_0x4e91e0=_0x4e91e0-0x193;const _0xa24376=a17_0xa243();let _0x2473e9=_0xa24376[_0x4e91e0];return _0x2473e9;}import{getDatasetDetail}from'../../core/api-client.js';import{CODE_FLAG}from'../../commands/common/flags.js';function normalizeField(_0x292d06){const _0x51368a=a17_0x2473;if(_0x292d06[_0x51368a(0x1c1)])return null;const _0x84ba49=Boolean(_0x292d06[_0x51368a(0x1ad)]!==undefined||_0x292d06[_0x51368a(0x1a5)]!==undefined);let _0x9fe98e={};if(!_0x84ba49&&typeof _0x292d06[_0x51368a(0x1ac)]===_0x51368a(0x1a6))try{_0x9fe98e=JSON['parse'](_0x292d06[_0x51368a(0x1ac)]);}catch{}const _0x10f099=_0x84ba49?_0x292d06['name']:_0x292d06['code'],_0x3e7926=_0x84ba49?_0x292d06[_0x51368a(0x1ad)]:_0x292d06['name'],_0x33c028=_0x84ba49?_0x292d06[_0x51368a(0x1a5)]:_0x292d06['type']||_0x292d06[_0x51368a(0x1b7)],_0x30460f=_0x84ba49?_0x292d06[_0x51368a(0x193)]===!![]:_0x9fe98e[_0x51368a(0x193)]===!![],_0x5eb26e=_0x84ba49?_0x292d06['required']===!![]:_0x9fe98e[_0x51368a(0x1d4)]===!![],_0x4d931a=_0x84ba49?_0x292d06[_0x51368a(0x1b4)]??null:_0x9fe98e[_0x51368a(0x1b4)]??null,_0x5c4da9={'name':_0x10f099,'displayName':_0x3e7926||_0x10f099,'type':_0x33c028,'dbType':_0x292d06[_0x51368a(0x1af)],'pk':_0x30460f,'required':_0x5eb26e,'description':_0x292d06[_0x51368a(0x1bb)]||undefined};return Array[_0x51368a(0x1ae)](_0x4d931a)&&_0x4d931a['length']>0x0&&(_0x5c4da9[_0x51368a(0x1b4)]=_0x4d931a),_0x5c4da9;}function parseJsonMaybe(_0x584664){const _0xca84f2=a17_0x2473;if(typeof _0x584664!=='string')return _0x584664;try{return JSON[_0xca84f2(0x1cd)](_0x584664);}catch{return _0x584664;}}function normalizeOperationEntry(_0xd56297,_0x4e4290){const _0x35a948=a17_0x2473;if(!_0x4e4290||typeof _0x4e4290!==_0x35a948(0x1c9))return null;if(!_0x4e4290[_0x35a948(0x1d2)]||!_0x4e4290[_0x35a948(0x1a3)])return null;const _0x130d1f={'name':_0xd56297,'method':_0x4e4290[_0x35a948(0x1d2)],'path':_0x4e4290[_0x35a948(0x1a3)]};if(_0x4e4290[_0x35a948(0x1d7)])_0x130d1f[_0x35a948(0x1d7)]=_0x4e4290[_0x35a948(0x1d7)];if(_0x4e4290[_0x35a948(0x1b8)]!=null)_0x130d1f[_0x35a948(0x1b8)]=parseJsonMaybe(_0x4e4290[_0x35a948(0x1b8)]);if(_0x4e4290[_0x35a948(0x1b6)]!=null)_0x130d1f['responseBody']=parseJsonMaybe(_0x4e4290[_0x35a948(0x1b6)]);if(_0x4e4290[_0x35a948(0x19b)]!=null)_0x130d1f['beforeScriptId']=_0x4e4290[_0x35a948(0x19b)];if(_0x4e4290[_0x35a948(0x1bd)]!=null)_0x130d1f[_0x35a948(0x1bd)]=_0x4e4290['afterScriptId'];if(Array[_0x35a948(0x1ae)](_0x4e4290[_0x35a948(0x19e)]))_0x130d1f['requestFields']=_0x4e4290[_0x35a948(0x19e)];if(Array[_0x35a948(0x1ae)](_0x4e4290[_0x35a948(0x1c7)]))_0x130d1f[_0x35a948(0x1c7)]=_0x4e4290[_0x35a948(0x1c7)];return _0x130d1f;}function summarizeDbtable(_0xbf35c6){const _0x727181=a17_0x2473,_0x31bd0b={},_0x4001b2=[_0x727181(0x1bc),_0x727181(0x1cb),_0x727181(0x1c5),_0x727181(0x1b1),_0x727181(0x193),_0x727181(0x1a9),_0x727181(0x1c8),'createTimeField',_0x727181(0x1d5),_0x727181(0x19f),_0x727181(0x1d6),_0x727181(0x1bf),'modifierNameField',_0x727181(0x1c3),'dblinkInfoDTO'];for(const _0x5e533e of _0x4001b2){if(_0xbf35c6[_0x5e533e]!==undefined)_0x31bd0b[_0x5e533e]=_0xbf35c6[_0x5e533e];}return typeof _0x31bd0b[_0x727181(0x1a9)]===_0x727181(0x1a6)&&_0x31bd0b[_0x727181(0x1a9)][_0x727181(0x194)]>0x0&&(_0x31bd0b[_0x727181(0x19d)]=_0x31bd0b[_0x727181(0x1a9)]['split'](',')[_0x727181(0x1c2)](_0x50daad=>_0x50daad[_0x727181(0x1db)]())[_0x727181(0x1da)](Boolean)),_0x31bd0b;}function normalizeRelatedPages(_0x33afe2){const _0x552cbf=a17_0x2473;if(!Array[_0x552cbf(0x1ae)](_0x33afe2))return[];return _0x33afe2[_0x552cbf(0x1da)](_0x47861e=>_0x47861e&&typeof _0x47861e===_0x552cbf(0x1c9))[_0x552cbf(0x1c2)](_0x58a339=>({'id':_0x58a339['id'],'type':_0x58a339[_0x552cbf(0x1a8)],'code':_0x58a339[_0x552cbf(0x1a4)],'title':_0x58a339[_0x552cbf(0x1d0)],'deleted':_0x58a339[_0x552cbf(0x1c1)]===!![]}));}export const datasetDetail={'service':a17_0x2ab6e6(0x1b0),'command':a17_0x2ab6e6(0x1b2),'description':a17_0x2ab6e6(0x1a2),'risk':'read','flags':[CODE_FLAG],async 'execute'(_0x39c563){const _0x585688=a17_0x2ab6e6,_0x234255=await getDatasetDetail(_0x39c563['str'](_0x585688(0x1a4))),_0xfd7024=Array[_0x585688(0x1ae)](_0x234255[_0x585688(0x1aa)])?_0x234255[_0x585688(0x1aa)]:Array[_0x585688(0x1ae)](_0x234255['properties'])?_0x234255['properties']:[],_0x6866ab=_0xfd7024[_0x585688(0x1c2)](_0x14d386=>normalizeField(_0x14d386))[_0x585688(0x1da)](_0x473fbc=>_0x473fbc!==null),_0x5d296c=_0x234255[_0x585688(0x1dd)]??{},_0x1045fc=[];for(const [_0x376ee1,_0x5c2d75]of Object[_0x585688(0x1dc)](_0x5d296c)){const _0x39e755=normalizeOperationEntry(_0x376ee1,_0x5c2d75);if(_0x39e755)_0x1045fc[_0x585688(0x1b5)](_0x39e755);}const _0x3a31be=_0x234255[_0x585688(0x1d8)]??{},_0x309421=_0x234255[_0x585688(0x1b0)]??{},_0x20dba9=_0x3a31be[_0x585688(0x1bc)]!=null?{'id':_0x3a31be[_0x585688(0x1bc)],'name':_0x3a31be[_0x585688(0x1cb)]??null}:undefined;let _0x59d8e6;return typeof _0x234255[_0x585688(0x1ac)]===_0x585688(0x1a6)&&(_0x59d8e6=parseJsonMaybe(_0x234255[_0x585688(0x1ac)])),{'ok':!![],'data':{'id':_0x234255[_0x585688(0x1ce)]??_0x234255['id'],'name':_0x234255[_0x585688(0x199)],'code':_0x234255[_0x585688(0x1d9)]||_0x234255['code'],'doVersion':_0x234255[_0x585688(0x1ca)],'description':_0x234255[_0x585688(0x1bb)]||_0x309421['tableComment']||undefined,'source':_0x234255[_0x585688(0x1ab)]||_0x309421[_0x585688(0x1c4)],'table':_0x3a31be[_0x585688(0x1c5)]||_0x309421[_0x585688(0x1c5)],'datasetKey':_0x3a31be[_0x585688(0x1b1)],'pk':_0x3a31be[_0x585688(0x193)],'db':_0x20dba9,'dbtable':summarizeDbtable(_0x3a31be),'fields':_0x6866ab,'operations':_0x1045fc,'indexes':Array[_0x585688(0x1ae)](_0x309421['indexes'])?_0x309421[_0x585688(0x1a1)]:[],'relations':Array[_0x585688(0x1ae)](_0x234255['relations'])?_0x234255['relations'][_0x585688(0x1c2)](_0x486122=>({'fromField':_0x486122['fromField'],'toDataset':_0x486122['toDatasetName'],'toCode':_0x486122['toDatasetCode'],'toTable':_0x486122[_0x585688(0x197)],'toField':_0x486122[_0x585688(0x1ba)],'labelField':_0x486122[_0x585688(0x1a0)]||undefined})):[],'relatedPages':normalizeRelatedPages(_0x234255[_0x585688(0x1b3)]),...Array[_0x585688(0x1ae)](_0x234255[_0x585688(0x1cf)])?{'columnCodeListWithDeleted':_0x234255[_0x585688(0x1cf)]}:{},'formatRules':Array[_0x585688(0x1ae)](_0x234255[_0x585688(0x19c)])?_0x234255[_0x585688(0x19c)]:[],'validateRules':Array[_0x585688(0x1ae)](_0x234255[_0x585688(0x1a7)])?_0x234255[_0x585688(0x1a7)]:[],..._0x59d8e6!==undefined?{'extend':_0x59d8e6}:{},'stats':{'fieldCount':_0x6866ab['length'],'operationCount':_0x1045fc[_0x585688(0x194)]}}};}};
@@ -1 +1 @@
1
- (function(_0x2d4b55,_0x4e4442){const _0x12ce48=a20_0x10b1,_0x47b7d5=_0x2d4b55();while(!![]){try{const _0x447b85=-parseInt(_0x12ce48(0x1d9))/0x1*(parseInt(_0x12ce48(0x1da))/0x2)+-parseInt(_0x12ce48(0x1d5))/0x3+parseInt(_0x12ce48(0x1d0))/0x4*(parseInt(_0x12ce48(0x1d7))/0x5)+-parseInt(_0x12ce48(0x1d3))/0x6*(-parseInt(_0x12ce48(0x1d2))/0x7)+parseInt(_0x12ce48(0x1d6))/0x8*(parseInt(_0x12ce48(0x1d4))/0x9)+parseInt(_0x12ce48(0x1d8))/0xa*(parseInt(_0x12ce48(0x1d1))/0xb)+-parseInt(_0x12ce48(0x1cf))/0xc;if(_0x447b85===_0x4e4442)break;else _0x47b7d5['push'](_0x47b7d5['shift']());}catch(_0xbfd0bc){_0x47b7d5['push'](_0x47b7d5['shift']());}}}(a20_0x424e,0x38240));import{datasetList}from'../../commands/dataset/list.js';import{datasetDetail}from'../../commands/dataset/detail.js';function a20_0x10b1(_0x4645fa,_0x23e11c){_0x4645fa=_0x4645fa-0x1cf;const _0x424e12=a20_0x424e();let _0x10b113=_0x424e12[_0x4645fa];return _0x10b113;}function a20_0x424e(){const _0x3bd4f6=['558027CakupL','664IHROIR','95VANAdH','71340JRrvEF','1ztpAjO','199618yEIfMQ','4686324uYxMix','87532QzoaNZ','374xlbSTW','7WrBPBI','965382bevqLh','9441aOOJzH'];a20_0x424e=function(){return _0x3bd4f6;};return a20_0x424e();}export const datasetDefinitions=[datasetList,datasetDetail];
1
+ (function(_0x423193,_0x25d722){const _0x4bdac6=a18_0x1e17,_0x52defa=_0x423193();while(!![]){try{const _0x24e66f=-parseInt(_0x4bdac6(0x100))/0x1+-parseInt(_0x4bdac6(0xfc))/0x2+-parseInt(_0x4bdac6(0xff))/0x3+parseInt(_0x4bdac6(0x101))/0x4+parseInt(_0x4bdac6(0xfb))/0x5*(parseInt(_0x4bdac6(0xfe))/0x6)+parseInt(_0x4bdac6(0xfa))/0x7*(-parseInt(_0x4bdac6(0xfd))/0x8)+-parseInt(_0x4bdac6(0x102))/0x9*(-parseInt(_0x4bdac6(0xf9))/0xa);if(_0x24e66f===_0x25d722)break;else _0x52defa['push'](_0x52defa['shift']());}catch(_0x58e231){_0x52defa['push'](_0x52defa['shift']());}}}(a18_0x5285,0xdf057));function a18_0x5285(){const _0x47d97d=['520GILHzg','2843738SeJVhZ','104752VwzZMP','70068Jujxui','3876969nQoazP','1172072NgXceA','1933700BSfjKx','18IHpWRN','20419360FkJBQo','525IKKIUH'];a18_0x5285=function(){return _0x47d97d;};return a18_0x5285();}function a18_0x1e17(_0x423bbb,_0x259264){_0x423bbb=_0x423bbb-0xf9;const _0x528530=a18_0x5285();let _0x1e17f1=_0x528530[_0x423bbb];return _0x1e17f1;}import{datasetList}from'../../commands/dataset/list.js';import{datasetDetail}from'../../commands/dataset/detail.js';export const datasetDefinitions=[datasetList,datasetDetail];
@@ -1 +1 @@
1
- const a21_0x4f9de5=a21_0x1c13;(function(_0x6c048e,_0x4ef5b3){const _0x5a9d2f=a21_0x1c13,_0x19c0bf=_0x6c048e();while(!![]){try{const _0x3c4117=-parseInt(_0x5a9d2f(0x1ca))/0x1+parseInt(_0x5a9d2f(0x1d7))/0x2*(parseInt(_0x5a9d2f(0x1d3))/0x3)+parseInt(_0x5a9d2f(0x1c8))/0x4*(-parseInt(_0x5a9d2f(0x1d6))/0x5)+-parseInt(_0x5a9d2f(0x1dc))/0x6*(-parseInt(_0x5a9d2f(0x1d5))/0x7)+parseInt(_0x5a9d2f(0x1c2))/0x8*(-parseInt(_0x5a9d2f(0x1d9))/0x9)+parseInt(_0x5a9d2f(0x1cb))/0xa*(parseInt(_0x5a9d2f(0x1df))/0xb)+parseInt(_0x5a9d2f(0x1c6))/0xc*(parseInt(_0x5a9d2f(0x1da))/0xd);if(_0x3c4117===_0x4ef5b3)break;else _0x19c0bf['push'](_0x19c0bf['shift']());}catch(_0x189fb7){_0x19c0bf['push'](_0x19c0bf['shift']());}}}(a21_0xf3f7,0x6fcd3));function a21_0xf3f7(){const _0x2b3449=['list','5116VmFOYc','Filter\x20by\x20dataset\x20name\x20(server-side\x20fuzzy\x20match)','173274Znugmu','2703340BygsuS','allFields','tableName','appCode','name','length','datasetKey','map','57771uJiCFS','source','3934553aSKjpx','805zFqGNo','2JjPqqU','read','131112lJVVgI','1461018IfkpNp','split','6ohyNsk','trim','dataset','11yKroZT','440FsqMrp','str','string','description','84obMKJb'];a21_0xf3f7=function(){return _0x2b3449;};return a21_0xf3f7();}function a21_0x1c13(_0x4bea06,_0x51d880){_0x4bea06=_0x4bea06-0x1c2;const _0xf3f762=a21_0xf3f7();let _0x1c139e=_0xf3f762[_0x4bea06];return _0x1c139e;}import{listDatasets}from'../../core/api-client.js';import{CODE_FLAG}from'../../commands/common/flags.js';export const datasetList={'service':a21_0x4f9de5(0x1de),'command':a21_0x4f9de5(0x1c7),'description':'List\x20datasets\x20in\x20the\x20app\x20(supports\x20server-side\x20name/code\x20filtering)','risk':a21_0x4f9de5(0x1d8),'flags':[{'name':a21_0x4f9de5(0x1cf),'type':a21_0x4f9de5(0x1c4),'description':a21_0x4f9de5(0x1c9)},{...CODE_FLAG,'required':![],'description':'Filter\x20by\x20dataset\x20code\x20(server-side\x20exact\x20match)'}],async 'execute'(_0x5d92f0){const _0x52fc79=a21_0x4f9de5,_0x6e55a1=_0x5d92f0[_0x52fc79(0x1c3)](_0x52fc79(0x1cf)),_0x506ec6=_0x5d92f0[_0x52fc79(0x1c3)]('code'),_0x3077b1=await listDatasets(_0x5d92f0[_0x52fc79(0x1ce)],{..._0x6e55a1&&{'name':_0x6e55a1},..._0x506ec6&&{'code':_0x506ec6}});return{'ok':!![],'data':{'total':_0x3077b1[_0x52fc79(0x1d0)],'datasets':_0x3077b1[_0x52fc79(0x1d2)](_0x42391b=>{const _0x2fd171=_0x52fc79,_0x3daaa9=_0x42391b['dbtableConfig']??{};return{'id':_0x42391b['id'],'code':_0x42391b['code'],'name':_0x42391b['name'],'source':_0x42391b[_0x2fd171(0x1d4)],'description':_0x42391b[_0x2fd171(0x1c5)],'table':_0x3daaa9[_0x2fd171(0x1cd)],'datasetKey':_0x3daaa9[_0x2fd171(0x1d1)],'pk':_0x3daaa9['pkField'],'fields':_0x3daaa9[_0x2fd171(0x1cc)]?_0x3daaa9[_0x2fd171(0x1cc)][_0x2fd171(0x1db)](',')['map'](_0xf4b1e=>_0xf4b1e[_0x2fd171(0x1dd)]()):[]};})}};}};
1
+ const a19_0x79f41a=a19_0x2c21;(function(_0x295963,_0x24da18){const _0x3630f9=a19_0x2c21,_0x17f285=_0x295963();while(!![]){try{const _0x18ebec=-parseInt(_0x3630f9(0x10f))/0x1*(parseInt(_0x3630f9(0x11a))/0x2)+-parseInt(_0x3630f9(0x127))/0x3*(parseInt(_0x3630f9(0x128))/0x4)+parseInt(_0x3630f9(0x10e))/0x5*(parseInt(_0x3630f9(0x11c))/0x6)+-parseInt(_0x3630f9(0x11b))/0x7*(parseInt(_0x3630f9(0x124))/0x8)+-parseInt(_0x3630f9(0x113))/0x9+parseInt(_0x3630f9(0x118))/0xa*(parseInt(_0x3630f9(0x110))/0xb)+parseInt(_0x3630f9(0x115))/0xc;if(_0x18ebec===_0x24da18)break;else _0x17f285['push'](_0x17f285['shift']());}catch(_0x3b4e2f){_0x17f285['push'](_0x17f285['shift']());}}}(a19_0x1d3b,0xa02df));function a19_0x1d3b(){const _0x51eea9=['609UdWbLo','17620WTyFEH','List\x20datasets\x20in\x20the\x20app\x20(supports\x20server-side\x20name/code\x20filtering)','Filter\x20by\x20dataset\x20name\x20(server-side\x20fuzzy\x20match)','str','130QJLBmZ','39nPSPVj','44HMzENQ','source','name','9761859NKNoHs','list','47054856KjYSsJ','code','description','551520GxUuNb','string','59914sJsDZY','70SSGuBt','82308wrrNXW','allFields','tableName','dbtableConfig','appCode','map','dataset','datasetKey','556184zHvtho','trim','pkField'];a19_0x1d3b=function(){return _0x51eea9;};return a19_0x1d3b();}import{listDatasets}from'../../core/api-client.js';import{CODE_FLAG}from'../../commands/common/flags.js';function a19_0x2c21(_0x23decc,_0x8cf2fd){_0x23decc=_0x23decc-0x10d;const _0x1d3b44=a19_0x1d3b();let _0x2c2139=_0x1d3b44[_0x23decc];return _0x2c2139;}export const datasetList={'service':a19_0x79f41a(0x122),'command':a19_0x79f41a(0x114),'description':a19_0x79f41a(0x129),'risk':'read','flags':[{'name':a19_0x79f41a(0x112),'type':a19_0x79f41a(0x119),'description':a19_0x79f41a(0x12a)},{...CODE_FLAG,'required':![],'description':'Filter\x20by\x20dataset\x20code\x20(server-side\x20exact\x20match)'}],async 'execute'(_0x1ab3a6){const _0xf62d15=a19_0x79f41a,_0x3c1ba6=_0x1ab3a6[_0xf62d15(0x10d)](_0xf62d15(0x112)),_0x49b318=_0x1ab3a6[_0xf62d15(0x10d)](_0xf62d15(0x116)),_0x383201=await listDatasets(_0x1ab3a6[_0xf62d15(0x120)],{..._0x3c1ba6&&{'name':_0x3c1ba6},..._0x49b318&&{'code':_0x49b318}});return{'ok':!![],'data':{'total':_0x383201['length'],'datasets':_0x383201['map'](_0x1d4f90=>{const _0x102d46=_0xf62d15,_0x308a94=_0x1d4f90[_0x102d46(0x11f)]??{};return{'id':_0x1d4f90['id'],'code':_0x1d4f90['code'],'name':_0x1d4f90[_0x102d46(0x112)],'source':_0x1d4f90[_0x102d46(0x111)],'description':_0x1d4f90[_0x102d46(0x117)],'table':_0x308a94[_0x102d46(0x11e)],'datasetKey':_0x308a94[_0x102d46(0x123)],'pk':_0x308a94[_0x102d46(0x126)],'fields':_0x308a94[_0x102d46(0x11d)]?_0x308a94[_0x102d46(0x11d)]['split'](',')[_0x102d46(0x121)](_0x494bfd=>_0x494bfd[_0x102d46(0x125)]()):[]};})}};}};
@@ -1 +1 @@
1
- const a22_0x185677=a22_0x2198;function a22_0xd4b4(){const _0xaaa363=['(skipped\x20—\x20not\x20cookie-only)','\x20\x20pageSize:\x20\x20\x20\x20\x20\x20\x20\x20','(default)','\x20\x20Merged\x20Config','Project','currentApp','995094cXMnGH','\x20\x20accessKey:\x20\x20\x20\x20\x20\x20\x20','bold','repeat','red','cookie','padEnd','\x20doctor','\x20\x20\x20\x20appcode:\x20\x20\x20\x20','⚠\x20Empty\x20(treated\x20as\x20{})','(app)','(none)','(not\x20found)','format','\x20\x20Project:\x20\x20\x20\x20\x20\x20\x20\x20\x20','184rPclsC','\x20\x20Session\x20check:\x20\x20\x20','4631544FmtQZu','env','\x20\x20Apps','(set,\x20length=','\x20\x20verbose:\x20\x20\x20\x20\x20\x20\x20\x20\x20','pageSize','length','\x20\x20userDomain:\x20\x20\x20\x20\x20\x20','doctor','platform','ClientAk','message','\x20\x20format:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','✗\x20Expired\x20or\x20invalid','(not\x20set)','✓\x20Valid','gray','\x20\x20riskLevel:\x20\x20\x20\x20\x20\x20\x20','31239MYsSMX','\x20\x20CLI\x20Version:\x20\x20\x20\x20\x20','\x20\x20defaultApp:\x20\x20\x20\x20\x20\x20','5830CgDNcN','430myUHTS','\x20\x20Global:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','check','defaultApp','green','\x20\x20Auth','keys','(inline,\x20length=','appcode','yellow','\x20\x20appCode:\x20\x20\x20\x20\x20\x20\x20\x20\x20','2509855SebKwY','\x20\x20Platform:\x20\x20\x20\x20\x20\x20\x20\x20','apps','\x20(no\x20credentials)','✓\x20Valid\x20JSON','\x20\x20Session:\x20\x20\x20\x20\x20\x20\x20\x20\x20','\x20\x20Config\x20Files','\x20\x20runtimeDomain:\x20\x20\x20','\x20\x20auth\x20(effective):\x20','Global','version','riskLevel','accessKey','\x20\x20cookie:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','\x20\x20─','188818VKMFfn','837aTXlel','(no\x20file)','Cookie','(missing)','\x20\x20currentApp:\x20\x20\x20\x20\x20\x20','read','status','\x20\x20Mode:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','Diagnose\x20CLI\x20configuration\x20and\x20environment','(inherit)','log','5395128ekNtDr'];a22_0xd4b4=function(){return _0xaaa363;};return a22_0xd4b4();}(function(_0x3d6065,_0x17fb08){const _0x468c09=a22_0x2198,_0x2d5c28=_0x3d6065();while(!![]){try{const _0x48ab82=parseInt(_0x468c09(0xce))/0x1+-parseInt(_0x468c09(0xd1))/0x2*(parseInt(_0x468c09(0x99))/0x3)+-parseInt(_0x468c09(0xbc))/0x4+-parseInt(_0x468c09(0xdd))/0x5+-parseInt(_0x468c09(0xa4))/0x6+parseInt(_0x468c09(0x98))/0x7*(-parseInt(_0x468c09(0xba))/0x8)+-parseInt(_0x468c09(0xab))/0x9*(-parseInt(_0x468c09(0xd2))/0xa);if(_0x48ab82===_0x17fb08)break;else _0x2d5c28['push'](_0x2d5c28['shift']());}catch(_0x13acb5){_0x2d5c28['push'](_0x2d5c28['shift']());}}}(a22_0xd4b4,0xc190d));import a22_0x51b502 from'chalk';import{CLI_BIN_NAME}from'../constant/cli.js';function a22_0x2198(_0x4ef598,_0x414813){_0x4ef598=_0x4ef598-0x94;const _0xd4b4f6=a22_0xd4b4();let _0x219860=_0xd4b4f6[_0x4ef598];return _0x219860;}import{getCliVersion}from'../utils/version.js';import{getApiDomain,getRuntimeDomain,getUserDomain}from'../constant/domain.js';import{buildConfigFromFlags,initGlobalEnvironment,getProjectConfigPath,getGlobalConfigPath,inspectCliConfigJsonFile}from'../context.js';import{AUTH_MODE}from'../constant/auth-mode.js';import{createPipelineEnv,resolveAuthMode}from'../framework/runner.js';import{getIsSessionValid}from'../auth/is-session-valid.js';import{getCookie}from'../auth/get-cookie.js';async function execute(_0x367b53){const _0x376a04=a22_0x2198,_0x54bfd4=getCliVersion(),_0x47a36c=buildConfigFromFlags({});await initGlobalEnvironment(_0x47a36c);const _0x5169f2=getCookie();console[_0x376a04(0xa3)](),console[_0x376a04(0xa3)](a22_0x51b502[_0x376a04(0xad)](CLI_BIN_NAME+_0x376a04(0xb2))),console[_0x376a04(0xa3)](a22_0x51b502[_0x376a04(0xcc)]('─'[_0x376a04(0xae)](0x32))),console[_0x376a04(0xa3)](_0x376a04(0xcf)+_0x54bfd4),console['log']('\x20\x20Node:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+process[_0x376a04(0xe7)]),console[_0x376a04(0xa3)](_0x376a04(0xde)+process[_0x376a04(0xc5)]+'\x20'+process['arch']),console[_0x376a04(0xa3)](),console[_0x376a04(0xa3)](a22_0x51b502[_0x376a04(0xad)](_0x376a04(0xe3))),console['log'](a22_0x51b502[_0x376a04(0xcc)](_0x376a04(0x97)['repeat'](0x1e)));const _0x2d80c9=getGlobalConfigPath(),_0x27b0d0=getProjectConfigPath();console[_0x376a04(0xa3)](_0x376a04(0xd3)+(_0x2d80c9||a22_0x51b502[_0x376a04(0xcc)](_0x376a04(0xb7)))),console[_0x376a04(0xa3)](_0x376a04(0xb9)+(_0x27b0d0||a22_0x51b502['gray'](_0x376a04(0xb7)))),console[_0x376a04(0xa3)](),console[_0x376a04(0xa3)](a22_0x51b502['bold']('\x20\x20Config\x20JSON')),console[_0x376a04(0xa3)](a22_0x51b502[_0x376a04(0xcc)](_0x376a04(0x97)[_0x376a04(0xae)](0x1e)));const _0x1385f8=(_0x10b1ab,_0x2f4ea7)=>{const _0x5356c9=_0x376a04;if(!_0x2f4ea7){console[_0x5356c9(0xa3)]('\x20\x20'+_0x10b1ab[_0x5356c9(0xb1)](0x11)+'\x20'+a22_0x51b502['gray'](_0x5356c9(0x9a)));return;}const _0x122fc4=inspectCliConfigJsonFile(_0x2f4ea7);if(_0x122fc4['status']==='ok')console['log']('\x20\x20'+_0x10b1ab[_0x5356c9(0xb1)](0x11)+'\x20'+a22_0x51b502[_0x5356c9(0xd6)](_0x5356c9(0xe1)));else{if(_0x122fc4['status']==='empty')console[_0x5356c9(0xa3)]('\x20\x20'+_0x10b1ab['padEnd'](0x11)+'\x20'+a22_0x51b502[_0x5356c9(0xdb)](_0x5356c9(0xb4)));else _0x122fc4[_0x5356c9(0x9f)]==='missing'?console[_0x5356c9(0xa3)]('\x20\x20'+_0x10b1ab[_0x5356c9(0xb1)](0x11)+'\x20'+a22_0x51b502[_0x5356c9(0xcc)](_0x5356c9(0x9c))):(console[_0x5356c9(0xa3)]('\x20\x20'+_0x10b1ab[_0x5356c9(0xb1)](0x11)+'\x20'+a22_0x51b502[_0x5356c9(0xaf)]('✗\x20Invalid\x20JSON')),console[_0x5356c9(0xa3)]('\x20\x20'+''['padEnd'](0x11)+'\x20'+a22_0x51b502[_0x5356c9(0xaf)](_0x122fc4[_0x5356c9(0xc7)])));}};_0x1385f8(_0x376a04(0xe6),_0x2d80c9),_0x1385f8(_0x376a04(0xa9),_0x27b0d0),console[_0x376a04(0xa3)](),console[_0x376a04(0xa3)](a22_0x51b502['bold'](_0x376a04(0xa8))),console[_0x376a04(0xa3)](a22_0x51b502[_0x376a04(0xcc)](_0x376a04(0x97)[_0x376a04(0xae)](0x1e))),console[_0x376a04(0xa3)](_0x376a04(0xdc)+(_0x47a36c['appCode']||a22_0x51b502[_0x376a04(0xaf)](_0x376a04(0xca)))),console['log']('\x20\x20env:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0x47a36c[_0x376a04(0xbd)]),console[_0x376a04(0xa3)]('\x20\x20locale:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0x47a36c['locale']),console['log'](_0x376a04(0xd0)+(_0x47a36c['defaultApp']||a22_0x51b502[_0x376a04(0xcc)](_0x376a04(0xb6)))),console[_0x376a04(0xa3)](_0x376a04(0x9d)+(_0x47a36c[_0x376a04(0xaa)]||a22_0x51b502[_0x376a04(0xcc)](_0x376a04(0xb6)))),console['log'](_0x376a04(0xc8)+(_0x47a36c[_0x376a04(0xb8)]||a22_0x51b502[_0x376a04(0xcc)]('(default:\x20json)'))),console['log'](_0x376a04(0xa6)+(_0x47a36c[_0x376a04(0xc1)]??a22_0x51b502[_0x376a04(0xcc)](_0x376a04(0xa7)))),console[_0x376a04(0xa3)](_0x376a04(0xcd)+_0x47a36c[_0x376a04(0x94)]),console[_0x376a04(0xa3)](_0x376a04(0xc0)+_0x47a36c['verbose']);const _0x49c590=resolveAuthMode(createPipelineEnv(_0x47a36c,{}));console[_0x376a04(0xa3)](_0x376a04(0xe5)+_0x49c590);const _0x17fc2d=_0x47a36c[_0x376a04(0xb0)]?a22_0x51b502[_0x376a04(0xd6)](_0x376a04(0xd9)+_0x47a36c['cookie']['length']+')'):_0x5169f2?a22_0x51b502['green']('(file,\x20length='+_0x5169f2[_0x376a04(0xc2)]+')'):a22_0x51b502[_0x376a04(0xcc)]('(none)');console[_0x376a04(0xa3)](_0x376a04(0x96)+_0x17fc2d),console[_0x376a04(0xa3)](_0x376a04(0xac)+(_0x47a36c[_0x376a04(0x95)]?a22_0x51b502[_0x376a04(0xd6)](_0x376a04(0xbf)+_0x47a36c[_0x376a04(0x95)][_0x376a04(0xc2)]+')'):a22_0x51b502[_0x376a04(0xcc)](_0x376a04(0xb6))));const _0x5a78cb=Object[_0x376a04(0xd8)](_0x47a36c[_0x376a04(0xdf)]);if(_0x5a78cb['length']>0x0){console[_0x376a04(0xa3)](),console['log'](a22_0x51b502[_0x376a04(0xad)](_0x376a04(0xbe))),console[_0x376a04(0xa3)](a22_0x51b502[_0x376a04(0xcc)]('\x20\x20─'[_0x376a04(0xae)](0x1e)));for(const _0x4e95cb of _0x5a78cb){const _0x1924a2=_0x47a36c['apps'][_0x4e95cb],_0x12688d=_0x4e95cb===_0x47a36c[_0x376a04(0xd5)],_0x4d562d=_0x4e95cb===_0x47a36c['currentApp'],_0x1fc15d=_0x4d562d?a22_0x51b502['green']('\x20←\x20current'):'',_0x134e6d=_0x12688d?'\x20(default)':'';console[_0x376a04(0xa3)]('\x20\x20'+_0x4e95cb+_0x134e6d+_0x1fc15d),console[_0x376a04(0xa3)](_0x376a04(0xb3)+_0x1924a2[_0x376a04(0xda)]);const _0x9e3540=_0x1924a2[_0x376a04(0xbd)]||_0x47a36c['env'],_0x53ae97=_0x1924a2[_0x376a04(0xbd)]?a22_0x51b502[_0x376a04(0xcc)](_0x376a04(0xb5)):a22_0x51b502[_0x376a04(0xcc)]('(inherit)');console['log']('\x20\x20\x20\x20env:\x20\x20\x20\x20\x20\x20\x20\x20'+_0x9e3540+'\x20\x20'+_0x53ae97);const _0x2958be=_0x1924a2[_0x376a04(0xb0)]||_0x47a36c[_0x376a04(0xb0)]||_0x5169f2,_0x16105f=_0x1924a2['cookie']?a22_0x51b502['gray'](_0x376a04(0xb5)):a22_0x51b502['gray'](_0x376a04(0xa2)),_0x5507bf=_0x2958be?a22_0x51b502[_0x376a04(0xd6)]('(set,\x20length='+_0x2958be['length']+')'):a22_0x51b502[_0x376a04(0xcc)](_0x376a04(0xb6));console['log']('\x20\x20\x20\x20cookie:\x20\x20\x20\x20\x20'+_0x5507bf+'\x20\x20'+_0x16105f);const _0x1a5b3d=_0x1924a2[_0x376a04(0x95)]||_0x47a36c[_0x376a04(0x95)],_0x3cb220=_0x1924a2['accessKey']?a22_0x51b502[_0x376a04(0xcc)](_0x376a04(0xb5)):a22_0x51b502[_0x376a04(0xcc)](_0x376a04(0xa2)),_0x1ef759=_0x1a5b3d?a22_0x51b502[_0x376a04(0xd6)](_0x376a04(0xbf)+_0x1a5b3d[_0x376a04(0xc2)]+')'):a22_0x51b502[_0x376a04(0xcc)](_0x376a04(0xb6));console[_0x376a04(0xa3)]('\x20\x20\x20\x20accessKey:\x20\x20'+_0x1ef759+'\x20\x20'+_0x3cb220);}}console['log'](),console[_0x376a04(0xa3)](a22_0x51b502[_0x376a04(0xad)]('\x20\x20API\x20Endpoints')),console[_0x376a04(0xa3)](a22_0x51b502['gray'](_0x376a04(0x97)[_0x376a04(0xae)](0x1e))),console[_0x376a04(0xa3)]('\x20\x20apiDomain:\x20\x20\x20\x20\x20\x20\x20'+getApiDomain()),console[_0x376a04(0xa3)](_0x376a04(0xc3)+getUserDomain()),console[_0x376a04(0xa3)](_0x376a04(0xe4)+getRuntimeDomain()),console[_0x376a04(0xa3)](),console[_0x376a04(0xa3)](a22_0x51b502[_0x376a04(0xad)](_0x376a04(0xd7))),console[_0x376a04(0xa3)](a22_0x51b502[_0x376a04(0xcc)]('\x20\x20─'[_0x376a04(0xae)](0x1e)));if(_0x49c590===AUTH_MODE[_0x376a04(0xc6)])console[_0x376a04(0xa3)](_0x376a04(0xa0)+a22_0x51b502[_0x376a04(0xd6)](AUTH_MODE[_0x376a04(0xc6)]+'\x20(accessKey)')),console[_0x376a04(0xa3)](_0x376a04(0xbb)+a22_0x51b502['gray'](_0x376a04(0xa5)));else{if(_0x47a36c['cookie']||_0x5169f2){const _0x507d52=await getIsSessionValid();console[_0x376a04(0xa3)](_0x376a04(0xa0)+AUTH_MODE[_0x376a04(0x9b)]),console[_0x376a04(0xa3)](_0x376a04(0xe2)+(_0x507d52?a22_0x51b502[_0x376a04(0xd6)](_0x376a04(0xcb)):a22_0x51b502[_0x376a04(0xaf)](_0x376a04(0xc9))));}else console[_0x376a04(0xa3)]('\x20\x20Mode:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+a22_0x51b502[_0x376a04(0xdb)](AUTH_MODE[_0x376a04(0x9b)]+_0x376a04(0xe0))),console['log'](_0x376a04(0xe2)+a22_0x51b502['red']('✗\x20Not\x20logged\x20in'));}return console[_0x376a04(0xa3)](),{'ok':!![]};}export const doctorDefinition={'service':a22_0x185677(0xc4),'command':a22_0x185677(0xd4),'description':a22_0x185677(0xa1),'risk':a22_0x185677(0x9e),'requiresAuth':![],'requiresAppCode':![],'hasFormat':![],'flags':[],'execute':execute};
1
+ const a20_0xe2d5df=a20_0x11ec;(function(_0x2a7c9f,_0x20b9c0){const _0x26abd4=a20_0x11ec,_0x3aa8f3=_0x2a7c9f();while(!![]){try{const _0x2306a4=-parseInt(_0x26abd4(0x1e3))/0x1*(parseInt(_0x26abd4(0x1d7))/0x2)+-parseInt(_0x26abd4(0x1d3))/0x3*(parseInt(_0x26abd4(0x1ee))/0x4)+-parseInt(_0x26abd4(0x1d6))/0x5*(parseInt(_0x26abd4(0x1e5))/0x6)+-parseInt(_0x26abd4(0x1d5))/0x7*(-parseInt(_0x26abd4(0x1e8))/0x8)+parseInt(_0x26abd4(0x1c2))/0x9*(parseInt(_0x26abd4(0x1b9))/0xa)+parseInt(_0x26abd4(0x1dd))/0xb+parseInt(_0x26abd4(0x1ba))/0xc*(parseInt(_0x26abd4(0x1df))/0xd);if(_0x2306a4===_0x20b9c0)break;else _0x3aa8f3['push'](_0x3aa8f3['shift']());}catch(_0x3fdcbb){_0x3aa8f3['push'](_0x3aa8f3['shift']());}}}(a20_0x2b45,0xb2ee7));import a20_0x386bad from'chalk';import{CLI_BIN_NAME}from'../constant/cli.js';import{DEFAULT_CONFIG_VALUES}from'../constant/defaults.js';import{getCliVersion}from'../utils/version.js';import{getApiDomain,getRuntimeDomain,getUserDomain}from'../constant/domain.js';import{buildConfigFromFlags,initGlobalEnvironment,getProjectConfigPath,getGlobalConfigPath,inspectCliConfigJsonFile}from'../context.js';function a20_0x11ec(_0x37ae73,_0x5c55c5){_0x37ae73=_0x37ae73-0x1ad;const _0x2b45ad=a20_0x2b45();let _0x11ec17=_0x2b45ad[_0x37ae73];return _0x11ec17;}import{AUTH_MODE}from'../constant/auth-mode.js';import{isLegacyCompatConfigKey}from'../config/schema.js';async function execute(_0x46b417){const _0x57dd02=a20_0x11ec,_0x17a17b=getCliVersion(),_0x4a4809=buildConfigFromFlags({});await initGlobalEnvironment(_0x4a4809),console[_0x57dd02(0x1d1)](),console['log'](a20_0x386bad[_0x57dd02(0x1ae)](CLI_BIN_NAME+_0x57dd02(0x1bd))),console['log'](a20_0x386bad['gray']('─'['repeat'](0x32))),console[_0x57dd02(0x1d1)](_0x57dd02(0x1ed)+_0x17a17b),console['log'](_0x57dd02(0x1dc)+process[_0x57dd02(0x1e7)]),console[_0x57dd02(0x1d1)](_0x57dd02(0x1db)+process[_0x57dd02(0x1bb)]+'\x20'+process[_0x57dd02(0x1c6)]),console[_0x57dd02(0x1d1)](),console[_0x57dd02(0x1d1)](a20_0x386bad['bold']('\x20\x20Config\x20Files')),console[_0x57dd02(0x1d1)](a20_0x386bad[_0x57dd02(0x1cc)]('\x20\x20─'[_0x57dd02(0x1eb)](0x1e)));const _0x5a41f3=getGlobalConfigPath(),_0x3b42ea=getProjectConfigPath();console[_0x57dd02(0x1d1)](_0x57dd02(0x1ec)+(_0x5a41f3||a20_0x386bad[_0x57dd02(0x1cc)](_0x57dd02(0x1de)))),console[_0x57dd02(0x1d1)](_0x57dd02(0x1c7)+(_0x3b42ea||a20_0x386bad[_0x57dd02(0x1cc)](_0x57dd02(0x1de)))),console[_0x57dd02(0x1d1)](),console['log'](a20_0x386bad['bold'](_0x57dd02(0x1c8))),console[_0x57dd02(0x1d1)](a20_0x386bad[_0x57dd02(0x1cc)]('\x20\x20─'[_0x57dd02(0x1eb)](0x1e)));const _0x33ae64=(_0x3d7f60,_0x12e200)=>{const _0x206fb1=_0x57dd02;if(!_0x12e200){console[_0x206fb1(0x1d1)]('\x20\x20'+_0x3d7f60['padEnd'](0x11)+'\x20'+a20_0x386bad['gray'](_0x206fb1(0x1e2)));return;}const _0x2525d1=inspectCliConfigJsonFile(_0x12e200);if(_0x2525d1[_0x206fb1(0x1bc)]==='ok')console[_0x206fb1(0x1d1)]('\x20\x20'+_0x3d7f60[_0x206fb1(0x1b4)](0x11)+'\x20'+a20_0x386bad[_0x206fb1(0x1be)]('✓\x20Valid\x20JSON'));else{if(_0x2525d1[_0x206fb1(0x1bc)]===_0x206fb1(0x1e1))console[_0x206fb1(0x1d1)]('\x20\x20'+_0x3d7f60[_0x206fb1(0x1b4)](0x11)+'\x20'+a20_0x386bad['yellow'](_0x206fb1(0x1da)));else _0x2525d1['status']===_0x206fb1(0x1ce)?console[_0x206fb1(0x1d1)]('\x20\x20'+_0x3d7f60[_0x206fb1(0x1b4)](0x11)+'\x20'+a20_0x386bad['gray']('(missing)')):(console[_0x206fb1(0x1d1)]('\x20\x20'+_0x3d7f60[_0x206fb1(0x1b4)](0x11)+'\x20'+a20_0x386bad['red']('✗\x20Invalid\x20JSON')),console[_0x206fb1(0x1d1)]('\x20\x20'+''[_0x206fb1(0x1b4)](0x11)+'\x20'+a20_0x386bad['red'](_0x2525d1[_0x206fb1(0x1e9)])));}};_0x33ae64('Global',_0x5a41f3),_0x33ae64('Project',_0x3b42ea),console[_0x57dd02(0x1d1)](),console[_0x57dd02(0x1d1)](a20_0x386bad[_0x57dd02(0x1ae)](_0x57dd02(0x1c1))),console[_0x57dd02(0x1d1)](a20_0x386bad[_0x57dd02(0x1cc)](_0x57dd02(0x1f3)[_0x57dd02(0x1eb)](0x1e))),console[_0x57dd02(0x1d1)](_0x57dd02(0x1b2)+(_0x4a4809[_0x57dd02(0x1e0)]||a20_0x386bad['red'](_0x57dd02(0x1c9)))),console[_0x57dd02(0x1d1)](_0x57dd02(0x1ea)+_0x4a4809[_0x57dd02(0x1af)]);const _0x3aba84=isLegacyCompatConfigKey(_0x57dd02(0x1d4))?a20_0x386bad['gray'](_0x4a4809[_0x57dd02(0x1d4)]+_0x57dd02(0x1cb)):_0x4a4809[_0x57dd02(0x1d4)];return console['log'](_0x57dd02(0x1cd)+_0x3aba84),console[_0x57dd02(0x1d1)](_0x57dd02(0x1b3)+(_0x4a4809['defaultApp']||a20_0x386bad[_0x57dd02(0x1cc)](_0x57dd02(0x1d2)))),console[_0x57dd02(0x1d1)]('\x20\x20currentApp:\x20\x20\x20\x20\x20\x20'+(_0x4a4809[_0x57dd02(0x1bf)]||a20_0x386bad['gray'](_0x57dd02(0x1d2)))),console[_0x57dd02(0x1d1)](_0x57dd02(0x1c4)+(_0x4a4809['format']||a20_0x386bad['gray'](_0x57dd02(0x1c3)+DEFAULT_CONFIG_VALUES['format']+')'))),console['log'](_0x57dd02(0x1e4)+(_0x4a4809['pageSize']??a20_0x386bad[_0x57dd02(0x1cc)](_0x57dd02(0x1b7)))),console[_0x57dd02(0x1d1)](_0x57dd02(0x1b6)+_0x4a4809[_0x57dd02(0x1cf)]),console[_0x57dd02(0x1d1)](_0x57dd02(0x1c5)+_0x4a4809[_0x57dd02(0x1ca)]),console[_0x57dd02(0x1d1)]('\x20\x20auth\x20(effective):\x20'+AUTH_MODE[_0x57dd02(0x1d8)]),console['log'](_0x57dd02(0x1f2)+(_0x4a4809[_0x57dd02(0x1f1)]?a20_0x386bad[_0x57dd02(0x1be)]('(set,\x20length='+_0x4a4809['accessKey'][_0x57dd02(0x1e6)]+')'):a20_0x386bad[_0x57dd02(0x1cc)](_0x57dd02(0x1d2)))),console['log'](),console[_0x57dd02(0x1d1)](a20_0x386bad[_0x57dd02(0x1ae)](_0x57dd02(0x1ef))),console[_0x57dd02(0x1d1)](a20_0x386bad[_0x57dd02(0x1cc)](_0x57dd02(0x1f3)[_0x57dd02(0x1eb)](0x1e))),console[_0x57dd02(0x1d1)](_0x57dd02(0x1b1)+getApiDomain()),console[_0x57dd02(0x1d1)](_0x57dd02(0x1d0)+getUserDomain()),console['log']('\x20\x20runtimeDomain:\x20\x20\x20'+getRuntimeDomain()),console['log'](),console['log'](a20_0x386bad[_0x57dd02(0x1ae)](_0x57dd02(0x1b8))),console[_0x57dd02(0x1d1)](a20_0x386bad[_0x57dd02(0x1cc)](_0x57dd02(0x1f3)['repeat'](0x1e))),console['log'](_0x57dd02(0x1f0)+a20_0x386bad[_0x57dd02(0x1be)](AUTH_MODE[_0x57dd02(0x1d8)]+_0x57dd02(0x1ad))),console[_0x57dd02(0x1d1)](_0x57dd02(0x1f4)+a20_0x386bad['gray']('(removed\x20—\x20cookie\x20auth\x20disabled)')),console[_0x57dd02(0x1d1)](),{'ok':!![]};}export const doctorDefinition={'service':a20_0xe2d5df(0x1b5),'command':a20_0xe2d5df(0x1b0),'description':a20_0xe2d5df(0x1d9),'risk':a20_0xe2d5df(0x1c0),'requiresAuth':![],'requiresAppCode':![],'hasFormat':![],'flags':[],'execute':execute};function a20_0x2b45(){const _0x26f8c2=['\x20\x20locale:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','missing','riskLevel','\x20\x20userDomain:\x20\x20\x20\x20\x20\x20','log','(none)','753513HCDooh','locale','9576581YjIrkG','1293205NOUIgx','108560RunZix','ClientAk','Diagnose\x20CLI\x20configuration\x20and\x20environment','⚠\x20Empty\x20(treated\x20as\x20{})','\x20\x20Platform:\x20\x20\x20\x20\x20\x20\x20\x20','\x20\x20Node:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','12712183BlbEyH','(not\x20found)','182dWUhjr','appCode','empty','(no\x20file)','20vlCtlp','\x20\x20pageSize:\x20\x20\x20\x20\x20\x20\x20\x20','12EMBhKx','length','version','8cunTKm','message','\x20\x20env:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','repeat','\x20\x20Global:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','\x20\x20CLI\x20Version:\x20\x20\x20\x20\x20','20brrnaA','\x20\x20API\x20Endpoints','\x20\x20Mode:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','accessKey','\x20\x20accessKey:\x20\x20\x20\x20\x20\x20\x20','\x20\x20─','\x20\x20Session\x20check:\x20\x20\x20','\x20(accessKey)','bold','env','check','\x20\x20apiDomain:\x20\x20\x20\x20\x20\x20\x20','\x20\x20appCode:\x20\x20\x20\x20\x20\x20\x20\x20\x20','\x20\x20defaultApp:\x20\x20\x20\x20\x20\x20','padEnd','doctor','\x20\x20riskLevel:\x20\x20\x20\x20\x20\x20\x20','(default)','\x20\x20Auth','12270TBRXqu','84492PxHTjj','platform','status','\x20doctor','green','currentApp','read','\x20\x20Merged\x20Config','7110oyiqYg','(default:\x20','\x20\x20format:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','\x20\x20verbose:\x20\x20\x20\x20\x20\x20\x20\x20\x20','arch','\x20\x20Project:\x20\x20\x20\x20\x20\x20\x20\x20\x20','\x20\x20Config\x20JSON','(not\x20set)','verbose','\x20(legacy/compat\x20only)','gray'];a20_0x2b45=function(){return _0x26f8c2;};return a20_0x2b45();}
@@ -1 +1 @@
1
- function a23_0x46fc(_0x175d67,_0x587844){_0x175d67=_0x175d67-0x12d;const _0x2877c1=a23_0x2877();let _0x46fcb4=_0x2877c1[_0x175d67];return _0x46fcb4;}const a23_0x5d91bd=a23_0x46fc;(function(_0x53f20d,_0x1538cf){const _0x3f6273=a23_0x46fc,_0x2648cd=_0x53f20d();while(!![]){try{const _0x805d28=parseInt(_0x3f6273(0x13c))/0x1+-parseInt(_0x3f6273(0x132))/0x2+-parseInt(_0x3f6273(0x134))/0x3+-parseInt(_0x3f6273(0x13a))/0x4*(-parseInt(_0x3f6273(0x138))/0x5)+parseInt(_0x3f6273(0x12f))/0x6*(parseInt(_0x3f6273(0x140))/0x7)+-parseInt(_0x3f6273(0x13d))/0x8*(-parseInt(_0x3f6273(0x135))/0x9)+-parseInt(_0x3f6273(0x12e))/0xa*(parseInt(_0x3f6273(0x12d))/0xb);if(_0x805d28===_0x1538cf)break;else _0x2648cd['push'](_0x2648cd['shift']());}catch(_0x16a8e6){_0x2648cd['push'](_0x2648cd['shift']());}}}(a23_0x2877,0x612f7));import{runInit,initFlagDefs}from'../../commands/init.js';export const initDefinitions=[{'service':a23_0x5d91bd(0x131),'command':a23_0x5d91bd(0x13b),'description':a23_0x5d91bd(0x130),'risk':a23_0x5d91bd(0x141),'requiresAuth':![],'requiresAppCode':![],'hasFormat':![],'flags':initFlagDefs,async 'execute'(_0x207b5d){const _0x47f161=a23_0x5d91bd,_0x1e179a={};for(const _0x4a037f of initFlagDefs){const _0x4e7a10=_0x4a037f[_0x47f161(0x13f)]===_0x47f161(0x139)?_0x207b5d[_0x47f161(0x136)](_0x4a037f[_0x47f161(0x133)]):_0x207b5d[_0x47f161(0x13e)](_0x4a037f[_0x47f161(0x133)]);if(_0x4e7a10!==''&&_0x4e7a10!==![])_0x1e179a[_0x4a037f[_0x47f161(0x133)]]=_0x4e7a10;}if(_0x207b5d['nonInteractive'])_0x1e179a[_0x47f161(0x137)]=!![];return await runInit(_0x1e179a),{'ok':!![]};}}];function a23_0x2877(){const _0x2c2e21=['type','7jAgDMW','write','407grtwng','166010wcKUDH','3307986XIYUsN','Initialize\x20.lovrabet.json\x20config\x20file','init','709188OzSECg','name','1403151sCgnQu','67959lrpjpb','bool','nonInteractive','2679905PjtIXp','boolean','4yxFkWH','create','505675UOyeVA','256fpjaCC','str'];a23_0x2877=function(){return _0x2c2e21;};return a23_0x2877();}
1
+ const a21_0x5dc489=a21_0xfb55;(function(_0x1a0ddd,_0x3d69db){const _0x1f1986=a21_0xfb55,_0xe48c1e=_0x1a0ddd();while(!![]){try{const _0x6226c5=-parseInt(_0x1f1986(0x1a6))/0x1*(parseInt(_0x1f1986(0x19f))/0x2)+parseInt(_0x1f1986(0x1a5))/0x3*(-parseInt(_0x1f1986(0x19c))/0x4)+-parseInt(_0x1f1986(0x19a))/0x5+parseInt(_0x1f1986(0x1a4))/0x6*(-parseInt(_0x1f1986(0x1a7))/0x7)+-parseInt(_0x1f1986(0x196))/0x8+-parseInt(_0x1f1986(0x197))/0x9*(-parseInt(_0x1f1986(0x19d))/0xa)+parseInt(_0x1f1986(0x1a1))/0xb;if(_0x6226c5===_0x3d69db)break;else _0xe48c1e['push'](_0xe48c1e['shift']());}catch(_0x3b115f){_0xe48c1e['push'](_0xe48c1e['shift']());}}}(a21_0x4e55,0xaa2bf));import{runInit,initCreateFlagDefs}from'../../commands/init.js';function a21_0xfb55(_0x442464,_0x1214e2){_0x442464=_0x442464-0x195;const _0x4e55f2=a21_0x4e55();let _0xfb5597=_0x4e55f2[_0x442464];return _0xfb5597;}function a21_0x4e55(){const _0x50ef59=['6630360WDaVau','171MrLqJj','Initialize\x20.lovrabet.json\x20config\x20file','boolean','2131330szLAvb','bool','16LWMntL','388820PzZDrJ','create','15412mOipFB','write','30811979hvekNG','type','str','37002KUkvsF','611619nRSEHt','53eFeDFC','413QAvnoA','name'];a21_0x4e55=function(){return _0x50ef59;};return a21_0x4e55();}function collectFlags(_0x36f4fc,_0x73e0a9){const _0x1bb101=a21_0xfb55,_0x7684f7={};for(const _0x4fc1e0 of _0x73e0a9){const _0x365f43=_0x4fc1e0[_0x1bb101(0x1a2)]===_0x1bb101(0x199)?_0x36f4fc[_0x1bb101(0x19b)](_0x4fc1e0[_0x1bb101(0x195)]):_0x36f4fc[_0x1bb101(0x1a3)](_0x4fc1e0['name']);if(_0x365f43!==''&&_0x365f43!==![])_0x7684f7[_0x4fc1e0['name']]=_0x365f43;}if(_0x36f4fc['nonInteractive'])_0x7684f7['nonInteractive']=!![];return _0x7684f7;}export const initDefinitions=[{'service':'init','command':a21_0x5dc489(0x19e),'description':a21_0x5dc489(0x198),'risk':a21_0x5dc489(0x1a0),'requiresAuth':![],'requiresAppCode':![],'hasFormat':![],'flags':initCreateFlagDefs,async 'execute'(_0x4a83e3){return await runInit(collectFlags(_0x4a83e3,initCreateFlagDefs)),{'ok':!![]};}}];
@@ -1 +1 @@
1
- const a24_0x5dcd25=a24_0x4f7f;(function(_0x2b7b81,_0x925a5c){const _0x3b538a=a24_0x4f7f,_0x27cd12=_0x2b7b81();while(!![]){try{const _0x277dd2=parseInt(_0x3b538a(0x182))/0x1+parseInt(_0x3b538a(0x16f))/0x2*(parseInt(_0x3b538a(0x17a))/0x3)+parseInt(_0x3b538a(0x16d))/0x4*(-parseInt(_0x3b538a(0x1a6))/0x5)+-parseInt(_0x3b538a(0x19b))/0x6*(-parseInt(_0x3b538a(0x195))/0x7)+-parseInt(_0x3b538a(0x1a1))/0x8+parseInt(_0x3b538a(0x16c))/0x9*(-parseInt(_0x3b538a(0x16b))/0xa)+-parseInt(_0x3b538a(0x174))/0xb;if(_0x277dd2===_0x925a5c)break;else _0x27cd12['push'](_0x27cd12['shift']());}catch(_0x310acd){_0x27cd12['push'](_0x27cd12['shift']());}}}(a24_0x5df8,0xd6e6c));import{existsSync,readFileSync}from'node:fs';import{resolve,isAbsolute}from'node:path';import{createInterface}from'node:readline';import{CliErrors}from'../errors.js';import{resolveWriteConfigPath,readConfigFile,writeConfigFile,isNonInteractiveMode}from'../context.js';import{CLI_BIN_NAME}from'../constant/cli.js';export const initFlagDefs=[{'name':a24_0x5dcd25(0x167),'type':'string','description':'App\x20code\x20for\x20the\x20project'},{'name':'env','type':a24_0x5dcd25(0x169),'description':a24_0x5dcd25(0x17f),'default':a24_0x5dcd25(0x17b),'enum':[a24_0x5dcd25(0x17b),'daily']},{'name':a24_0x5dcd25(0x193),'type':'boolean','description':'Write\x20to\x20global\x20(~/.lovrabet.json)\x20instead\x20of\x20project','default':![]},{'name':a24_0x5dcd25(0x170),'type':a24_0x5dcd25(0x187),'description':a24_0x5dcd25(0x190),'default':![]},{'name':a24_0x5dcd25(0x178),'type':'string','description':'Import\x20from\x20a\x20.rabetbase.json\x20file\x20path'}];export async function runInit(_0x59b52c){const _0x3ddaf7=a24_0x5dcd25,_0xbde9ac=isNonInteractiveMode(_0x59b52c),_0x48f3c6=_0x59b52c['global']?_0x3ddaf7(0x193):'project',_0x2788bb=resolveWriteConfigPath(_0x48f3c6);try{if(_0x59b52c['from']){await runFromImport(_0x59b52c,_0x2788bb);return;}_0xbde9ac?await runNonInteractive(_0x59b52c,_0x2788bb):await runInteractive(_0x59b52c,_0x2788bb);}catch(_0x6b629e){if(_0x6b629e instanceof AbortPrompt)throw CliErrors[_0x3ddaf7(0x18e)]();throw _0x6b629e;}}const RUNTIME_IRRELEVANT_KEYS=new Set(['apiDir']);async function runFromImport(_0x54ad42,_0x5080e5){const _0x1a59af=a24_0x5dcd25,_0x3dbb98=resolveFilePath(_0x54ad42['from']);if(!existsSync(_0x3dbb98))throw CliErrors[_0x1a59af(0x18f)](_0x1a59af(0x197)+_0x3dbb98);const _0x4a4ffd=readSourceFile(_0x3dbb98),_0x31c213=convertToRuntimeConfig(_0x4a4ffd);if(_0x54ad42[_0x1a59af(0x167)])_0x31c213[_0x1a59af(0x167)]=_0x54ad42[_0x1a59af(0x167)];if(_0x54ad42['env']&&_0x54ad42[_0x1a59af(0x18b)]!=='production')_0x31c213[_0x1a59af(0x18b)]=_0x54ad42['env'];if(!_0x31c213[_0x1a59af(0x167)])throw CliErrors['validation'](_0x1a59af(0x185),_0x1a59af(0x1a7));await writeInitConfig(_0x5080e5,_0x31c213,_0x54ad42),console[_0x1a59af(0x192)](_0x1a59af(0x183)+_0x3dbb98),console['log']('\x20\x20config:\x20\x20'+_0x5080e5),console[_0x1a59af(0x192)]('\x20\x20appcode:\x20'+_0x31c213[_0x1a59af(0x167)]);if(_0x31c213[_0x1a59af(0x18b)])console[_0x1a59af(0x192)]('\x20\x20env:\x20\x20\x20\x20\x20'+_0x31c213[_0x1a59af(0x18b)]);_0x31c213[_0x1a59af(0x189)]&&Object[_0x1a59af(0x17d)](_0x31c213[_0x1a59af(0x189)])[_0x1a59af(0x15c)]>0x0&&console[_0x1a59af(0x192)]('\x20\x20apps:\x20\x20\x20\x20'+Object[_0x1a59af(0x17d)](_0x31c213[_0x1a59af(0x189)])[_0x1a59af(0x15d)](',\x20'));}function resolveFilePath(_0x48d592){const _0x165c7f=a24_0x5dcd25;return isAbsolute(_0x48d592)?_0x48d592:resolve(process[_0x165c7f(0x1ad)](),_0x48d592);}function a24_0x5df8(){const _0xc6bb53=['riskLevel','Target\x20environment','removeListener','Initialized\x20','1559103RpeZtd','Imported\x20from\x20','\x20already\x20exists.\x20Overwrite?','Source\x20file\x20does\x20not\x20contain\x20an\x20appcode.','app','boolean','close','apps','cookie','env','):\x20','flagMissing','cancelled','validation','Skip\x20confirmation\x20when\x20overwriting','daily','log','global','runtimeDomain','2317hlfKaf','name','Source\x20file\x20not\x20found:\x20','App\x20code','question','object','27960FOtKcH','AbortPrompt','format','Aborted.','apiDomain','App\x20code\x20cannot\x20be\x20empty.','13453528FhNuXN','\x22.\x20Allowed:\x20production,\x20daily','User\x20aborted\x20prompt','[Y/n]','File\x20','209740LwICyb','Specify\x20one\x20with\x20--appcode\x20<code>','\x20init\x20--appcode\x20<code>\x20[--env\x20production]\x20[--global]','\x20\x20appcode:\x20','host','SIGINT','toLowerCase','cwd','Invalid\x20env\x20\x22','length','join','read','Usage:\x20','trim','stdin','utf8','Failed\x20to\x20parse\x20source\x20file:\x20','defaultApp','stdout','race','appcode','\x20\x20env:\x20\x20\x20\x20\x20','string','[y/N]','20KFERdl','234387CuvGPu','28fpICXo','pageSize','1722946STxSGh','yes','accessKey','\x20init\x20—\x20Create\x20.lovrabet.json\x0a','Environment','21085460SJumkv','map','parse','once','from','locale','6RhuakY','production','entries','keys'];a24_0x5df8=function(){return _0xc6bb53;};return a24_0x5df8();}function readSourceFile(_0xabe88f){const _0x3a1e62=a24_0x5dcd25;try{const _0x286703=readFileSync(_0xabe88f,{'encoding':_0x3a1e62(0x162)});return JSON[_0x3a1e62(0x176)](_0x286703);}catch(_0x296d35){throw CliErrors[_0x3a1e62(0x18f)](_0x3a1e62(0x163)+_0x296d35['message']);}}const RUNTIME_CONFIG_KEYS=[a24_0x5dcd25(0x167),a24_0x5dcd25(0x18b),a24_0x5dcd25(0x18a),a24_0x5dcd25(0x171),a24_0x5dcd25(0x19d),a24_0x5dcd25(0x16e),a24_0x5dcd25(0x17e),a24_0x5dcd25(0x179),a24_0x5dcd25(0x19f),'userDomain',a24_0x5dcd25(0x194),a24_0x5dcd25(0x1aa)];function a24_0x4f7f(_0xee2bb,_0x2dc2b4){_0xee2bb=_0xee2bb-0x15c;const _0x5df8f0=a24_0x5df8();let _0x4f7f02=_0x5df8f0[_0xee2bb];return _0x4f7f02;}function convertToRuntimeConfig(_0x33ee6b){const _0x172299=a24_0x5dcd25,_0x3dbc7f={};for(const _0x53faeb of RUNTIME_CONFIG_KEYS){_0x33ee6b[_0x53faeb]!==undefined&&(_0x3dbc7f[_0x53faeb]=_0x33ee6b[_0x53faeb]);}!_0x3dbc7f['appcode']&&_0x33ee6b[_0x172299(0x186)]&&(_0x3dbc7f[_0x172299(0x167)]=_0x33ee6b[_0x172299(0x186)]);!_0x3dbc7f['riskLevel']&&(_0x3dbc7f[_0x172299(0x17e)]=_0x172299(0x15e));if(_0x33ee6b['apps']&&typeof _0x33ee6b[_0x172299(0x189)]===_0x172299(0x19a)){_0x3dbc7f[_0x172299(0x189)]={};for(const [_0x1b7d3d,_0x461208]of Object[_0x172299(0x17c)](_0x33ee6b[_0x172299(0x189)])){_0x461208&&typeof _0x461208==='object'&&(_0x3dbc7f[_0x172299(0x189)][_0x1b7d3d]=filterRuntimeProfile(_0x461208));}_0x33ee6b[_0x172299(0x164)]&&(_0x3dbc7f[_0x172299(0x164)]=_0x33ee6b['defaultApp']);}return _0x3dbc7f;}function filterRuntimeProfile(_0x533dbd){const _0x4ef138=a24_0x5dcd25,_0x328fc4={};for(const _0x2530ec of RUNTIME_CONFIG_KEYS){_0x533dbd[_0x2530ec]!==undefined&&(_0x328fc4[_0x2530ec]=_0x533dbd[_0x2530ec]);}return!_0x328fc4['appcode']&&_0x533dbd[_0x4ef138(0x186)]&&(_0x328fc4[_0x4ef138(0x167)]=_0x533dbd[_0x4ef138(0x186)]),!_0x328fc4[_0x4ef138(0x17e)]&&(_0x328fc4['riskLevel']=_0x4ef138(0x15e)),_0x328fc4;}async function runNonInteractive(_0x317a71,_0x4aae6a){const _0x5726ae=a24_0x5dcd25,_0x35e10c=_0x317a71[_0x5726ae(0x167)];if(!_0x35e10c)throw CliErrors[_0x5726ae(0x18d)]('appcode',_0x5726ae(0x15f)+CLI_BIN_NAME+_0x5726ae(0x1a8));const _0x261d68=_0x317a71['env']||_0x5726ae(0x17b);if(_0x261d68!=='production'&&_0x261d68!=='daily')throw CliErrors['validation'](_0x5726ae(0x1ae)+_0x261d68+_0x5726ae(0x1a2));await writeInitConfig(_0x4aae6a,{'appcode':_0x35e10c,'env':_0x261d68},_0x317a71),console[_0x5726ae(0x192)](_0x5726ae(0x181)+_0x4aae6a),console['log'](_0x5726ae(0x1a9)+_0x35e10c),console[_0x5726ae(0x192)](_0x5726ae(0x168)+_0x261d68);}async function runInteractive(_0x4000d2,_0x2b2da8){const _0x1cc830=a24_0x5dcd25,_0x5ef991=loadExisting(_0x2b2da8),_0x242199=_0x5ef991?.[_0x1cc830(0x167)]||_0x4000d2[_0x1cc830(0x167)]||'',_0x221434=_0x5ef991?.[_0x1cc830(0x18b)]||_0x4000d2[_0x1cc830(0x18b)]||_0x1cc830(0x17b);console['log'](CLI_BIN_NAME+_0x1cc830(0x172));if(existsSync(_0x2b2da8)&&!_0x4000d2[_0x1cc830(0x170)]){const _0x6054ad=await promptYesNo(_0x1cc830(0x1a5)+_0x2b2da8+_0x1cc830(0x184),![]);if(!_0x6054ad){console[_0x1cc830(0x192)](_0x1cc830(0x19e));return;}}const _0x4c0f31=await promptInput(_0x1cc830(0x198),_0x242199);if(!_0x4c0f31[_0x1cc830(0x160)]())throw CliErrors[_0x1cc830(0x18f)](_0x1cc830(0x1a0));const _0x50a654=await promptChoice(_0x1cc830(0x173),[_0x1cc830(0x17b),_0x1cc830(0x191)],_0x221434);await writeInitConfig(_0x2b2da8,{'appcode':_0x4c0f31['trim'](),'env':_0x50a654},_0x4000d2),console[_0x1cc830(0x192)]('\x0aInitialized\x20'+_0x2b2da8),console[_0x1cc830(0x192)](_0x1cc830(0x1a9)+_0x4c0f31['trim']()),console[_0x1cc830(0x192)]('\x20\x20env:\x20\x20\x20\x20\x20'+_0x50a654);}async function writeInitConfig(_0x359aaf,_0x2393ef,_0x30c203){const _0x3d9589=a24_0x5dcd25;let _0x16c2f2={};existsSync(_0x359aaf)&&!_0x30c203[_0x3d9589(0x170)]&&(_0x16c2f2=readConfigFile(_0x359aaf));for(const [_0x1c8a71,_0x514ccb]of Object[_0x3d9589(0x17c)](_0x2393ef)){_0x514ccb!==undefined&&(_0x16c2f2[_0x1c8a71]=_0x514ccb);}_0x16c2f2[_0x3d9589(0x186)]&&delete _0x16c2f2['app'],writeConfigFile(_0x359aaf,_0x16c2f2);}class AbortPrompt extends Error{constructor(){const _0x1aee1f=a24_0x5dcd25;super(_0x1aee1f(0x1a3)),this[_0x1aee1f(0x196)]=_0x1aee1f(0x19c);}}function createSafeRl(){const _0x55000a=a24_0x5dcd25,_0x2aefde=createInterface({'input':process[_0x55000a(0x161)],'output':process[_0x55000a(0x165)]});let _0x5be580;const _0x112cad=new Promise((_0x2f6982,_0x3ed3d3)=>{_0x5be580=()=>{const _0x465bd2=a24_0x4f7f;_0x2aefde[_0x465bd2(0x188)](),_0x3ed3d3(new AbortPrompt());};});return process[_0x55000a(0x161)][_0x55000a(0x177)]('SIGINT',_0x5be580),_0x2aefde[_0x55000a(0x177)](_0x55000a(0x188),()=>{const _0x168886=_0x55000a;process[_0x168886(0x161)][_0x168886(0x180)](_0x168886(0x1ab),_0x5be580);}),{'rl':_0x2aefde,'abortPromise':_0x112cad};}async function promptInput(_0x253f7b,_0x3a9068){const _0x4bfeeb=a24_0x5dcd25,{rl:_0x3321cd,abortPromise:_0x4cc534}=createSafeRl(),_0x133434=new Promise(_0x43dcd0=>{const _0x557ab3=a24_0x4f7f,_0x483c3f=_0x3a9068?'\x20\x20'+_0x253f7b+'\x20('+_0x3a9068+_0x557ab3(0x18c):'\x20\x20'+_0x253f7b+':\x20';_0x3321cd[_0x557ab3(0x199)](_0x483c3f,_0x240679=>{const _0x2ecffb=_0x557ab3;_0x3321cd[_0x2ecffb(0x188)](),_0x43dcd0(_0x240679[_0x2ecffb(0x160)]()||_0x3a9068);});});return Promise[_0x4bfeeb(0x166)]([_0x133434,_0x4cc534]);}async function promptChoice(_0x374c72,_0x4b303a,_0x40f027){const _0x44a5fc=a24_0x5dcd25,{rl:_0x1441e3,abortPromise:_0x4bb46b}=createSafeRl(),_0x4dea39=new Promise(_0x5169ef=>{const _0x208f35=a24_0x4f7f,_0x438cc8=_0x4b303a[_0x208f35(0x175)](_0x2d2ea4=>_0x2d2ea4===_0x40f027?'['+_0x2d2ea4+']':_0x2d2ea4)['join']('/');_0x1441e3[_0x208f35(0x199)]('\x20\x20'+_0x374c72+'\x20('+_0x438cc8+_0x208f35(0x18c),_0x17675b=>{const _0x420a3a=_0x208f35;_0x1441e3[_0x420a3a(0x188)]();const _0x5cec57=_0x17675b['trim']()[_0x420a3a(0x1ac)]();_0x5cec57&&_0x4b303a['includes'](_0x5cec57)?_0x5169ef(_0x5cec57):_0x5169ef(_0x40f027);});});return Promise[_0x44a5fc(0x166)]([_0x4dea39,_0x4bb46b]);}async function promptYesNo(_0x8cc4a,_0x5091dc){const _0x3b395d=a24_0x5dcd25,{rl:_0x220227,abortPromise:_0x4326de}=createSafeRl(),_0x2c6088=new Promise(_0xcada26=>{const _0x15319d=a24_0x4f7f,_0x4296bc=_0x5091dc?_0x15319d(0x1a4):_0x15319d(0x16a);_0x220227[_0x15319d(0x199)]('\x20\x20'+_0x8cc4a+'\x20'+_0x4296bc+':\x20',_0x55faf4=>{const _0x329912=_0x15319d;_0x220227[_0x329912(0x188)]();const _0x5968c3=_0x55faf4['trim']()[_0x329912(0x1ac)]();if(_0x5968c3==='y'||_0x5968c3===_0x329912(0x170))_0xcada26(!![]);else{if(_0x5968c3==='n'||_0x5968c3==='no')_0xcada26(![]);else _0xcada26(_0x5091dc);}});});return Promise[_0x3b395d(0x166)]([_0x2c6088,_0x4326de]);}function loadExisting(_0x2d3daa){if(!existsSync(_0x2d3daa))return null;return readConfigFile(_0x2d3daa);}
1
+ const a22_0x143e3e=a22_0x4078;(function(_0xd8defe,_0x140c94){const _0x5649f4=a22_0x4078,_0x397f79=_0xd8defe();while(!![]){try{const _0x417f65=-parseInt(_0x5649f4(0xc5))/0x1+-parseInt(_0x5649f4(0xb5))/0x2*(parseInt(_0x5649f4(0x8a))/0x3)+-parseInt(_0x5649f4(0x94))/0x4+-parseInt(_0x5649f4(0x90))/0x5+parseInt(_0x5649f4(0xc1))/0x6+-parseInt(_0x5649f4(0xaa))/0x7*(-parseInt(_0x5649f4(0xbf))/0x8)+parseInt(_0x5649f4(0xb7))/0x9*(parseInt(_0x5649f4(0x89))/0xa);if(_0x417f65===_0x140c94)break;else _0x397f79['push'](_0x397f79['shift']());}catch(_0x3077eb){_0x397f79['push'](_0x397f79['shift']());}}}(a22_0x25a6,0x8ff25));import{existsSync,readFileSync}from'node:fs';import{resolve,isAbsolute}from'node:path';import{createInterface}from'node:readline';import{CliErrors}from'../errors.js';import{DEFAULT_CONFIG_VALUES}from'../constant/defaults.js';import{RUNTIME_ENV_VALUES}from'../constant/env.js';import{IMPORTABLE_RUNTIME_CONFIG_KEYS}from'../config/schema.js';import{resolveWriteConfigPath,readConfigFile,writeConfigFile,isNonInteractiveMode}from'../context.js';import{CLI_BIN_NAME}from'../constant/cli.js';export const initCreateFlagDefs=[{'name':a22_0x143e3e(0xcb),'type':'string','description':a22_0x143e3e(0xc8)},{'name':a22_0x143e3e(0xa2),'type':'string','description':a22_0x143e3e(0x8c)+DEFAULT_CONFIG_VALUES[a22_0x143e3e(0xa2)]+')','enum':[...RUNTIME_ENV_VALUES]},{'name':a22_0x143e3e(0xbc),'type':a22_0x143e3e(0xa4),'description':a22_0x143e3e(0xac),'default':![]},{'name':'yes','type':a22_0x143e3e(0xa4),'description':'Skip\x20confirmation\x20when\x20overwriting','default':![]}];export const initImportFlagDefs=[{'name':a22_0x143e3e(0xbe),'type':a22_0x143e3e(0x92),'description':a22_0x143e3e(0x9c),'required':!![]},{'name':'appcode','type':'string','description':'Override\x20imported\x20default\x20appcode'},{'name':a22_0x143e3e(0xa2),'type':a22_0x143e3e(0x92),'description':a22_0x143e3e(0xbd),'enum':[...RUNTIME_ENV_VALUES]},{'name':a22_0x143e3e(0xbc),'type':'boolean','description':'Write\x20to\x20global\x20(~/.lovrabet.json)\x20instead\x20of\x20project','default':![]},{'name':a22_0x143e3e(0xca),'type':a22_0x143e3e(0xa4),'description':a22_0x143e3e(0x9e),'default':![]}];export async function runInit(_0x5cd5e0){const _0x3e6a29=a22_0x143e3e,_0x5aff32=isNonInteractiveMode(_0x5cd5e0),_0x2f5ddb=_0x5cd5e0[_0x3e6a29(0xbc)]?_0x3e6a29(0xbc):'project',_0x12c93d=resolveWriteConfigPath(_0x2f5ddb);try{_0x5aff32?await runNonInteractive(_0x5cd5e0,_0x12c93d):await runInteractive(_0x5cd5e0,_0x12c93d);}catch(_0x599296){if(_0x599296 instanceof AbortPrompt)throw CliErrors[_0x3e6a29(0xab)]();throw _0x599296;}}function a22_0x25a6(){const _0x5bea4b=['file','24eeKnUN','User\x20aborted\x20prompt','6040158PSMvoR','includes','\x20already\x20exists.\x20Overwrite?','Aborted.','467948EOCXob','\x0aInitialized\x20','\x20\x20default:\x20','App\x20code\x20for\x20the\x20project','validation','yes','appcode','100gMEXyf','3VTqNed','log','Target\x20environment\x20(default\x20','toLowerCase','utf8','flagMissing','4725765zmxVCN','trim','string','join','1438536zixuXT','apiDir','entries','\x20init\x20—\x20Create\x20.lovrabet.json\x0a','\x20\x20config:\x20\x20','apps','Failed\x20to\x20parse\x20source\x20file:\x20','Usage:\x20','Import\x20from\x20a\x20.rabetbase.json\x20file\x20path','[Y/n]','Skip\x20confirmation\x20when\x20overwriting','race','Imported\x20from\x20','Run\x20`rabetbase\x20project\x20upgrade`\x20first,\x20then\x20retry\x20`lovrabet\x20app\x20import`.','env','name','boolean','message','Source\x20file\x20not\x20found:\x20','close','File\x20','):\x20','613606AMlZiB','cancelled','Write\x20to\x20global\x20(~/.lovrabet.json)\x20instead\x20of\x20project','Provide\x20--appcode\x20<code>\x20or\x20use\x20an\x20upgraded\x20.rabetbase.json\x20with\x20top-level\x20appcode.\x20Legacy\x20files\x20must\x20be\x20upgraded\x20first\x20with\x20`rabetbase\x20project\x20upgrade`.','Invalid\x20env\x20\x22','\x20init\x20--appcode\x20<code>\x20[--env\x20daily]\x20[--global]','SIGINT','\x20\x20env:\x20\x20\x20\x20\x20','project','removeListener','question','580874OvhYwS','parse','1244799rFAljH','\x20\x20appcode:\x20','stdin','App\x20code\x20cannot\x20be\x20empty.','defaultApp','global','Override\x20imported\x20default\x20env'];a22_0x25a6=function(){return _0x5bea4b;};return a22_0x25a6();}export async function runInitImport(_0xa80160){const _0x4baf3c=a22_0x143e3e,_0x5d2a81=_0xa80160[_0x4baf3c(0xbc)]?_0x4baf3c(0xbc):_0x4baf3c(0xb2),_0xd630a5=resolveWriteConfigPath(_0x5d2a81);await runFromImport(_0xa80160,_0xd630a5);}const RUNTIME_IRRELEVANT_KEYS=new Set([a22_0x143e3e(0x95)]);async function runFromImport(_0xb3438f,_0x30443b){const _0x5a2056=a22_0x143e3e,_0x20010f=resolveFilePath(_0xb3438f[_0x5a2056(0xbe)]);if(!existsSync(_0x20010f))throw CliErrors[_0x5a2056(0xc9)](_0x5a2056(0xa6)+_0x20010f);const _0x25f7fe=readSourceFile(_0x20010f),_0xa3a110=convertToRuntimeConfig(_0x25f7fe);_0xb3438f[_0x5a2056(0xcb)]&&(_0xa3a110[_0x5a2056(0xcb)]=String(_0xb3438f['appcode']));_0xb3438f[_0x5a2056(0xa2)]&&(_0xa3a110[_0x5a2056(0xa2)]=resolveInitEnv(_0xb3438f));if(!_0xa3a110[_0x5a2056(0xcb)])throw CliErrors[_0x5a2056(0xc9)]('Source\x20file\x20does\x20not\x20contain\x20an\x20importable\x20appcode.',_0x5a2056(0xad));await writeInitConfig(_0x30443b,_0xa3a110,_0xb3438f),console[_0x5a2056(0x8b)](_0x5a2056(0xa0)+_0x20010f),console['log'](_0x5a2056(0x98)+_0x30443b),console[_0x5a2056(0x8b)]('\x20\x20appcode:\x20'+_0xa3a110[_0x5a2056(0xcb)]);if(_0xa3a110[_0x5a2056(0xbb)])console[_0x5a2056(0x8b)](_0x5a2056(0xc7)+_0xa3a110[_0x5a2056(0xbb)]);}function convertToRuntimeConfig(_0x1d2b74){const _0x168979=a22_0x143e3e;if(_0x1d2b74[_0x168979(0x99)]&&typeof _0x1d2b74[_0x168979(0x99)]==='object')throw CliErrors[_0x168979(0xc9)]('Legacy\x20/\x20multi-app\x20.rabetbase.json\x20is\x20no\x20longer\x20supported\x20for\x20import.',_0x168979(0xa1));const _0x590ada={};for(const _0x5af518 of IMPORTABLE_RUNTIME_CONFIG_KEYS){_0x1d2b74[_0x5af518]!==undefined&&(_0x590ada[_0x5af518]=_0x1d2b74[_0x5af518]);}return!_0x590ada['riskLevel']&&(_0x590ada['riskLevel']=DEFAULT_CONFIG_VALUES['riskLevel']),_0x590ada;}async function runNonInteractive(_0x3b98fa,_0x42bb66){const _0x464799=a22_0x143e3e,_0x1c679c=_0x3b98fa[_0x464799(0xcb)];if(!_0x1c679c)throw CliErrors[_0x464799(0x8f)](_0x464799(0xcb),_0x464799(0x9b)+CLI_BIN_NAME+_0x464799(0xaf));const _0x4bd1f3=resolveInitEnv(_0x3b98fa);await writeInitConfig(_0x42bb66,{'appcode':_0x1c679c,'env':_0x4bd1f3},_0x3b98fa),console[_0x464799(0x8b)]('Initialized\x20'+_0x42bb66),console['log'](_0x464799(0xb8)+_0x1c679c),console[_0x464799(0x8b)](_0x464799(0xb1)+_0x4bd1f3);}async function runInteractive(_0x25a016,_0x5ccbc5){const _0x14ea23=a22_0x143e3e,_0xe99c55=loadExisting(_0x5ccbc5),_0x27701f=typeof _0xe99c55?.[_0x14ea23(0xcb)]==='string'?_0xe99c55['appcode']:'',_0x53ffcc=resolveInitEnv(_0x25a016);console[_0x14ea23(0x8b)](CLI_BIN_NAME+_0x14ea23(0x97));if(existsSync(_0x5ccbc5)&&!_0x25a016[_0x14ea23(0xca)]){const _0xa28859=await promptYesNo(_0x14ea23(0xa8)+_0x5ccbc5+_0x14ea23(0xc3),![]);if(!_0xa28859){console[_0x14ea23(0x8b)](_0x14ea23(0xc4));return;}}const _0x636c00=typeof _0x25a016[_0x14ea23(0xcb)]===_0x14ea23(0x92)?_0x25a016[_0x14ea23(0xcb)][_0x14ea23(0x91)]():'';let _0x1bd67a=_0x636c00;!_0x1bd67a&&(_0x1bd67a=await promptInput('App\x20code',_0x27701f));if(!_0x1bd67a['trim']())throw CliErrors[_0x14ea23(0xc9)](_0x14ea23(0xba));await writeInitConfig(_0x5ccbc5,{'appcode':_0x1bd67a[_0x14ea23(0x91)](),'env':_0x53ffcc},_0x25a016),console['log'](_0x14ea23(0xc6)+_0x5ccbc5),console['log']('\x20\x20appcode:\x20'+_0x1bd67a['trim']()),console[_0x14ea23(0x8b)](_0x14ea23(0xb1)+_0x53ffcc);}async function writeInitConfig(_0xb83909,_0x8a5f41,_0x34437c){const _0x2ba79f=a22_0x143e3e;let _0x2ddb17={};existsSync(_0xb83909)&&!_0x34437c[_0x2ba79f(0xca)]&&(_0x2ddb17=readConfigFile(_0xb83909));for(const [_0x2e2e7e,_0x8fc682]of Object[_0x2ba79f(0x96)](_0x8a5f41)){_0x8fc682!==undefined&&(_0x2ddb17[_0x2e2e7e]=_0x8fc682);}if(_0x2ddb17['app'])delete _0x2ddb17['app'];writeConfigFile(_0xb83909,_0x2ddb17);}class AbortPrompt extends Error{constructor(){const _0x57b663=a22_0x143e3e;super(_0x57b663(0xc0)),this[_0x57b663(0xa3)]='AbortPrompt';}}function createSafeRl(){const _0x3c7dc1=a22_0x143e3e,_0x2f95de=createInterface({'input':process[_0x3c7dc1(0xb9)],'output':process['stdout']});let _0x957ccd;const _0x12fd7a=new Promise((_0x42c9d6,_0x43c59c)=>{const _0x1c2c63=_0x3c7dc1;_0x957ccd=()=>{const _0x1830a1=a22_0x4078;_0x957ccd&&(_0x2f95de[_0x1830a1(0xb3)](_0x1830a1(0xb0),_0x957ccd),_0x957ccd=undefined);try{_0x2f95de[_0x1830a1(0xa7)]();}catch{}_0x43c59c(new AbortPrompt());},_0x2f95de['once'](_0x1c2c63(0xb0),_0x957ccd);}),_0xada519=()=>{const _0x50d619=_0x3c7dc1;_0x957ccd&&(_0x2f95de[_0x50d619(0xb3)](_0x50d619(0xb0),_0x957ccd),_0x957ccd=undefined);try{_0x2f95de[_0x50d619(0xa7)]();}catch{}};return{'rl':_0x2f95de,'abortPromise':_0x12fd7a,'disposeSuccess':_0xada519};}async function promptInput(_0x2861ad,_0x249095){const _0x3d3318=a22_0x143e3e,{rl:_0x40026d,abortPromise:_0xc0fb5e,disposeSuccess:_0x44cd87}=createSafeRl(),_0x4261d8=new Promise(_0x580e1a=>{const _0xebb15e=a22_0x4078,_0x51a551=_0x249095?'\x20\x20'+_0x2861ad+'\x20('+_0x249095+_0xebb15e(0xa9):'\x20\x20'+_0x2861ad+':\x20';_0x40026d[_0xebb15e(0xb4)](_0x51a551,_0x1e401e=>{const _0x71cbf8=_0xebb15e;_0x44cd87(),_0x580e1a(_0x1e401e[_0x71cbf8(0x91)]()||_0x249095);});});return Promise[_0x3d3318(0x9f)]([_0x4261d8,_0xc0fb5e]);}async function promptYesNo(_0x22b335,_0x520e24){const _0x1f0250=a22_0x143e3e,{rl:_0x18409f,abortPromise:_0x1d41a1,disposeSuccess:_0x4cb545}=createSafeRl(),_0x5dd19b=new Promise(_0x234239=>{const _0xc05697=a22_0x4078,_0x476b7d=_0x520e24?_0xc05697(0x9d):'[y/N]';_0x18409f[_0xc05697(0xb4)]('\x20\x20'+_0x22b335+'\x20'+_0x476b7d+':\x20',_0x5cf632=>{const _0x5a73bd=_0xc05697;_0x4cb545();const _0x32bc52=_0x5cf632['trim']()[_0x5a73bd(0x8d)]();if(_0x32bc52==='y'||_0x32bc52===_0x5a73bd(0xca))_0x234239(!![]);else{if(_0x32bc52==='n'||_0x32bc52==='no')_0x234239(![]);else _0x234239(_0x520e24);}});});return Promise[_0x1f0250(0x9f)]([_0x5dd19b,_0x1d41a1]);}function loadExisting(_0x4a8203){if(!existsSync(_0x4a8203))return null;return readConfigFile(_0x4a8203);}function resolveFilePath(_0x54afc6){return isAbsolute(_0x54afc6)?_0x54afc6:resolve(process['cwd'](),_0x54afc6);}function a22_0x4078(_0x596be6,_0x551d28){_0x596be6=_0x596be6-0x89;const _0x25a6d2=a22_0x25a6();let _0x4078bb=_0x25a6d2[_0x596be6];return _0x4078bb;}function readSourceFile(_0x150583){const _0x4b7b17=a22_0x143e3e;try{const _0x29ffe3=readFileSync(_0x150583,{'encoding':_0x4b7b17(0x8e)});return JSON[_0x4b7b17(0xb6)](_0x29ffe3);}catch(_0x5de5e8){throw CliErrors[_0x4b7b17(0xc9)](_0x4b7b17(0x9a)+_0x5de5e8[_0x4b7b17(0xa5)]);}}function resolveInitEnv(_0x166b02){const _0x70fbbe=a22_0x143e3e,_0x2bd18f=_0x166b02[_0x70fbbe(0xa2)];if(_0x2bd18f===undefined||_0x2bd18f==='')return DEFAULT_CONFIG_VALUES[_0x70fbbe(0xa2)];if(!RUNTIME_ENV_VALUES[_0x70fbbe(0xc2)](_0x2bd18f))throw CliErrors[_0x70fbbe(0xc9)](_0x70fbbe(0xae)+_0x2bd18f+'\x22.\x20Allowed:\x20'+RUNTIME_ENV_VALUES[_0x70fbbe(0x93)](',\x20'));return _0x2bd18f;}
@@ -1 +1 @@
1
- const a25_0x30d35b=a25_0x2345;(function(_0x3c8e52,_0x23f4d0){const _0x133433=a25_0x2345,_0x35a121=_0x3c8e52();while(!![]){try{const _0x4c1299=-parseInt(_0x133433(0x7a))/0x1+-parseInt(_0x133433(0x74))/0x2*(parseInt(_0x133433(0x70))/0x3)+parseInt(_0x133433(0x88))/0x4+-parseInt(_0x133433(0x6a))/0x5+-parseInt(_0x133433(0x77))/0x6*(parseInt(_0x133433(0x87))/0x7)+parseInt(_0x133433(0x85))/0x8+-parseInt(_0x133433(0x6f))/0x9*(-parseInt(_0x133433(0x6b))/0xa);if(_0x4c1299===_0x23f4d0)break;else _0x35a121['push'](_0x35a121['shift']());}catch(_0x41819f){_0x35a121['push'](_0x35a121['shift']());}}}(a25_0x59b2,0xbbb23));import{logger}from'../../utils/logger.js';function printLogs(_0x487503){const _0x23d63b=a25_0x2345;if(_0x487503['length']===0x0){console[_0x23d63b(0x72)](_0x23d63b(0x6c));return;}console['log']('*\x20Lovrabet\x20Runtime\x20CLI\x20logs:\x0a'),_0x487503[_0x23d63b(0x7b)]((_0xc7615,_0x317f58)=>{const _0x5b7794=_0x23d63b,_0x35e3b8=new Date(_0xc7615[_0x5b7794(0x6e)])[_0x5b7794(0x69)]('en-US'),_0x452d67=_0xc7615[_0x5b7794(0x7d)]===_0x5b7794(0x83)?'√':_0xc7615[_0x5b7794(0x7d)]===_0x5b7794(0x68)?'×':_0xc7615[_0x5b7794(0x7d)]===_0x5b7794(0x65)?'!':'i';console[_0x5b7794(0x72)](_0x317f58+0x1+'.\x20'+_0x452d67+'\x20['+_0xc7615[_0x5b7794(0x73)]+']\x20'+_0xc7615[_0x5b7794(0x7c)]),console[_0x5b7794(0x72)](_0x5b7794(0x6d)+_0x35e3b8),_0xc7615[_0x5b7794(0x78)]&&console[_0x5b7794(0x72)](_0x5b7794(0x81)+_0xc7615['duration']+'ms'),_0xc7615['details']&&Object[_0x5b7794(0x80)](_0xc7615[_0x5b7794(0x86)])[_0x5b7794(0x8b)]>0x0&&console['log'](_0x5b7794(0x8a)+JSON[_0x5b7794(0x7f)](_0xc7615[_0x5b7794(0x86)],null,0x2)),console[_0x5b7794(0x72)]('');});}function a25_0x2345(_0x499722,_0x107e5c){_0x499722=_0x499722-0x65;const _0x59b242=a25_0x59b2();let _0x234548=_0x59b242[_0x499722];return _0x234548;}export const logsDefinitions=[{'service':a25_0x30d35b(0x67),'command':a25_0x30d35b(0x66),'description':a25_0x30d35b(0x76),'risk':a25_0x30d35b(0x79),'requiresAuth':![],'requiresAppCode':![],'hasFormat':![],'flags':[],async 'execute'(_0x1c1d51){const _0x140106=a25_0x30d35b;return printLogs(logger[_0x140106(0x82)]()),{'ok':!![]};}},{'service':'logs','command':a25_0x30d35b(0x89),'description':a25_0x30d35b(0x7e),'risk':a25_0x30d35b(0x75),'requiresAuth':![],'requiresAppCode':![],'hasFormat':![],'flags':[],async 'execute'(_0x223803){const _0x1096d7=a25_0x30d35b;return logger[_0x1096d7(0x84)](),console[_0x1096d7(0x72)](_0x1096d7(0x71)),{'ok':!![]};}}];function a25_0x59b2(){const _0x5b0dfd=['length','warn','show','logs','error','toLocaleString','533865lLHHLd','3740qvsnyv','*\x20No\x20logs\x20found','\x20\x20\x20Time:\x20','timestamp','44838FuxEBC','15CPdVSS','*\x20Logs\x20cleared','log','command','123982qtqpYm','write','View\x20command\x20history\x20logs','207834NVkuuk','duration','read','1184815cIoYos','forEach','message','level','Clear\x20command\x20history\x20logs','stringify','keys','\x20\x20\x20Duration:\x20','readLogs','success','clearLogs','5929368jsdKsL','details','217qFnzKO','3358864srtSIS','clear','\x20\x20\x20Details:\x20'];a25_0x59b2=function(){return _0x5b0dfd;};return a25_0x59b2();}
1
+ function a23_0x64a9(_0x629cda,_0x3f8b84){_0x629cda=_0x629cda-0xb6;const _0x2681b1=a23_0x2681();let _0x64a9a0=_0x2681b1[_0x629cda];return _0x64a9a0;}const a23_0x55c0c0=a23_0x64a9;(function(_0xfa68c4,_0x496fde){const _0x3fd67c=a23_0x64a9,_0x374b49=_0xfa68c4();while(!![]){try{const _0x24fd7d=-parseInt(_0x3fd67c(0xbd))/0x1*(-parseInt(_0x3fd67c(0xc7))/0x2)+parseInt(_0x3fd67c(0xc2))/0x3*(parseInt(_0x3fd67c(0xce))/0x4)+parseInt(_0x3fd67c(0xcf))/0x5+-parseInt(_0x3fd67c(0xcc))/0x6*(parseInt(_0x3fd67c(0xd9))/0x7)+-parseInt(_0x3fd67c(0xd7))/0x8+parseInt(_0x3fd67c(0xc8))/0x9*(parseInt(_0x3fd67c(0xba))/0xa)+-parseInt(_0x3fd67c(0xb8))/0xb*(parseInt(_0x3fd67c(0xd6))/0xc);if(_0x24fd7d===_0x496fde)break;else _0x374b49['push'](_0x374b49['shift']());}catch(_0x11c4c1){_0x374b49['push'](_0x374b49['shift']());}}}(a23_0x2681,0x95e86));import{logger}from'../../utils/logger.js';function a23_0x2681(){const _0x4bfa44=['readLogs','849327tgajGy','*\x20Lovrabet\x20Runtime\x20CLI\x20logs:\x0a','forEach','View\x20command\x20history\x20logs','\x20\x20\x20Duration:\x20','5182IazQpp','5123142BadrqE','\x20\x20\x20Time:\x20','message','clear','2730wApPeg','logs','12AGtAlE','4572895GODmOz','*\x20No\x20logs\x20found','details','success','length','timestamp','command','3921204oFHIQm','9037520ewGvwn','read','13643ehKwdf','stringify','en-US','22bNgZLC','clearLogs','10AEcMqK','level','\x20\x20\x20Details:\x20','367aAvgmm','warn','*\x20Logs\x20cleared','log'];a23_0x2681=function(){return _0x4bfa44;};return a23_0x2681();}function printLogs(_0x34fa36){const _0x264596=a23_0x64a9;if(_0x34fa36[_0x264596(0xd3)]===0x0){console['log'](_0x264596(0xd0));return;}console[_0x264596(0xc0)](_0x264596(0xc3)),_0x34fa36[_0x264596(0xc4)]((_0x4e3153,_0x980600)=>{const _0x29aa54=_0x264596,_0x161836=new Date(_0x4e3153[_0x29aa54(0xd4)])['toLocaleString'](_0x29aa54(0xb7)),_0x199977=_0x4e3153[_0x29aa54(0xbb)]===_0x29aa54(0xd2)?'√':_0x4e3153['level']==='error'?'×':_0x4e3153['level']===_0x29aa54(0xbe)?'!':'i';console['log'](_0x980600+0x1+'.\x20'+_0x199977+'\x20['+_0x4e3153[_0x29aa54(0xd5)]+']\x20'+_0x4e3153[_0x29aa54(0xca)]),console['log'](_0x29aa54(0xc9)+_0x161836),_0x4e3153['duration']&&console[_0x29aa54(0xc0)](_0x29aa54(0xc6)+_0x4e3153['duration']+'ms'),_0x4e3153['details']&&Object['keys'](_0x4e3153[_0x29aa54(0xd1)])[_0x29aa54(0xd3)]>0x0&&console['log'](_0x29aa54(0xbc)+JSON[_0x29aa54(0xb6)](_0x4e3153['details'],null,0x2)),console[_0x29aa54(0xc0)]('');});}export const logsDefinitions=[{'service':a23_0x55c0c0(0xcd),'command':'show','description':a23_0x55c0c0(0xc5),'risk':a23_0x55c0c0(0xd8),'requiresAuth':![],'requiresAppCode':![],'hasFormat':![],'flags':[],async 'execute'(_0x99e796){const _0x525b09=a23_0x55c0c0;return printLogs(logger[_0x525b09(0xc1)]()),{'ok':!![]};}},{'service':'logs','command':a23_0x55c0c0(0xcb),'description':'Clear\x20command\x20history\x20logs','risk':'write','requiresAuth':![],'requiresAppCode':![],'hasFormat':![],'flags':[],async 'execute'(_0x2bb8c8){const _0x3de935=a23_0x55c0c0;return logger[_0x3de935(0xb9)](),console[_0x3de935(0xc0)](_0x3de935(0xbf)),{'ok':!![]};}}];
@@ -1 +1 @@
1
- const a26_0x45dc8a=a26_0x1128;(function(_0x3f1343,_0x959bfa){const _0x36e346=a26_0x1128,_0x5cf794=_0x3f1343();while(!![]){try{const _0x594fc9=parseInt(_0x36e346(0x72))/0x1+-parseInt(_0x36e346(0x84))/0x2*(parseInt(_0x36e346(0x82))/0x3)+-parseInt(_0x36e346(0x8c))/0x4+parseInt(_0x36e346(0x85))/0x5*(parseInt(_0x36e346(0x8e))/0x6)+-parseInt(_0x36e346(0x7e))/0x7+parseInt(_0x36e346(0x77))/0x8*(parseInt(_0x36e346(0x75))/0x9)+-parseInt(_0x36e346(0x93))/0xa*(-parseInt(_0x36e346(0x92))/0xb);if(_0x594fc9===_0x959bfa)break;else _0x5cf794['push'](_0x5cf794['shift']());}catch(_0xd20feb){_0x5cf794['push'](_0x5cf794['shift']());}}}(a26_0x1ceb,0x47b16));import{authDefinitions}from'../commands/auth/index.js';import{logsDefinitions}from'../commands/logs/index.js';import{doctorDefinition}from'../commands/doctor.js';import{initDefinitions}from'../commands/init/index.js';import{appDefinitions}from'../commands/app/definitions.js';import{configDefinitions}from'../commands/config/definitions.js';function a26_0x1ceb(){const _0xb4dde9=['set','2494943CCYsHC','50HfGrtx','isSingleCommand','32824htWkEL','service','list','11547PerWjc','App\x20Management','1928oHeRxC','Configuration','Authentication','BFF\x20Scripts','push','map','\x20\x20[high-risk-write]','3484320JzxOFi','command','from','login','6YwvoeX','Diagnostics','579332JHqiGJ','5IyQvUq','show','create','Initialize\x20project\x20config','values','defaultCommand','Logs','821996UUsLQW','write','600918hmZjBG','get','risk'];a26_0x1ceb=function(){return _0xb4dde9;};return a26_0x1ceb();}import{bffDefinitions}from'../commands/bff/index.js';import{sqlDefinitions}from'../commands/sql/index.js';import{datasetDefinitions}from'../commands/dataset/index.js';import{dataDefinitions}from'../commands/data/index.js';function a26_0x1128(_0x22f493,_0x5847fe){_0x22f493=_0x22f493-0x72;const _0x1ceb5c=a26_0x1ceb();let _0x1128b0=_0x1ceb5c[_0x22f493];return _0x1128b0;}export const serviceRegistry=[];const serviceByName=new Map();export const definitions=new Map();export const serviceGroups=new Map();function registerDefinitions(_0x43f1cf){const _0x106be2=a26_0x1128;for(const _0x40155c of _0x43f1cf){definitions[_0x106be2(0x91)](_0x40155c[_0x106be2(0x73)]+':'+_0x40155c[_0x106be2(0x7f)],_0x40155c);let _0x4cc070=serviceGroups[_0x106be2(0x8f)](_0x40155c[_0x106be2(0x73)]);!_0x4cc070&&(_0x4cc070=[],serviceGroups[_0x106be2(0x91)](_0x40155c[_0x106be2(0x73)],_0x4cc070)),_0x4cc070[_0x106be2(0x7b)](_0x40155c);}}function registerService(_0x3e6c0d,_0x1840b3,_0x447b79){const _0x2fb50b=a26_0x1128;registerDefinitions(_0x1840b3);const _0x245bfe=_0xe1450b=>_0xe1450b==='read'?'':_0xe1450b===_0x2fb50b(0x8d)?'\x20\x20[write]':_0x2fb50b(0x7d),_0x6a7159={'service':_0x1840b3[0x0][_0x2fb50b(0x73)],'label':_0x3e6c0d,'commands':_0x1840b3[_0x2fb50b(0x7c)](_0x96483=>({'command':_0x96483[_0x2fb50b(0x7f)],'description':_0x96483['description'],'tag':_0x245bfe(_0x96483[_0x2fb50b(0x90)])})),'defaultCommand':_0x447b79?.[_0x2fb50b(0x8a)]??(_0x447b79?.['isSingleCommand']?_0x1840b3[0x0][_0x2fb50b(0x7f)]:undefined),'isSingleCommand':_0x447b79?.[_0x2fb50b(0x94)]};serviceRegistry[_0x2fb50b(0x7b)](_0x6a7159),serviceByName[_0x2fb50b(0x91)](_0x6a7159['service'],_0x6a7159);}registerService(a26_0x45dc8a(0x79),authDefinitions,{'defaultCommand':a26_0x45dc8a(0x81)}),registerService('Datasets',datasetDefinitions),registerService('Data\x20CRUD',dataDefinitions),registerService('SQL\x20Queries',sqlDefinitions),registerService(a26_0x45dc8a(0x7a),bffDefinitions),registerService(a26_0x45dc8a(0x76),appDefinitions,{'defaultCommand':a26_0x45dc8a(0x74)}),registerService(a26_0x45dc8a(0x78),configDefinitions,{'defaultCommand':a26_0x45dc8a(0x74)}),registerService(a26_0x45dc8a(0x88),initDefinitions,{'defaultCommand':a26_0x45dc8a(0x87)}),registerService(a26_0x45dc8a(0x83),[doctorDefinition],{'isSingleCommand':!![]}),registerService(a26_0x45dc8a(0x8b),logsDefinitions,{'defaultCommand':a26_0x45dc8a(0x86)});export function findDefinition(_0x48c1d3,_0x57c164){const _0x551e01=a26_0x45dc8a;return definitions[_0x551e01(0x8f)](_0x48c1d3+':'+_0x57c164);}export function isKnownService(_0x4d09a8){return serviceByName['has'](_0x4d09a8);}export function getServiceEntry(_0x126d55){const _0x747bf8=a26_0x45dc8a;return serviceByName[_0x747bf8(0x8f)](_0x126d55);}export function getAllDefinitions(){const _0x22d6d3=a26_0x45dc8a;return Array[_0x22d6d3(0x80)](definitions[_0x22d6d3(0x89)]());}
1
+ const a24_0x4d9beb=a24_0xae0d;(function(_0x48f3d4,_0xd125e7){const _0x3f0dfb=a24_0xae0d,_0x5078ab=_0x48f3d4();while(!![]){try{const _0x60efb6=-parseInt(_0x3f0dfb(0x170))/0x1*(parseInt(_0x3f0dfb(0x16a))/0x2)+-parseInt(_0x3f0dfb(0x17b))/0x3+-parseInt(_0x3f0dfb(0x189))/0x4+parseInt(_0x3f0dfb(0x173))/0x5+-parseInt(_0x3f0dfb(0x188))/0x6*(parseInt(_0x3f0dfb(0x17a))/0x7)+-parseInt(_0x3f0dfb(0x171))/0x8+-parseInt(_0x3f0dfb(0x18b))/0x9*(-parseInt(_0x3f0dfb(0x176))/0xa);if(_0x60efb6===_0xd125e7)break;else _0x5078ab['push'](_0x5078ab['shift']());}catch(_0xe86751){_0x5078ab['push'](_0x5078ab['shift']());}}}(a24_0x4494,0x34921));import{authDefinitions}from'../commands/auth/index.js';import{logsDefinitions}from'../commands/logs/index.js';import{doctorDefinition}from'../commands/doctor.js';import{schemaDefinition}from'../commands/schema.js';function a24_0x4494(){const _0x181867=['Logs','App\x20Management','77RNUrgd','441279cksIlW','Authentication','from','push','Datasets','service','isSingleCommand','command','\x20\x20[write]','show','map','set','Configuration','7302ysXPVA','1116684KmxSDm','BFF\x20Scripts','2097549QGDugV','18YwwyOX','Schema','Initialize\x20project\x20config','Data\x20CRUD','get','list','21305yKXHqW','1675040ZOgsjV','read','619305hraXpG','SQL\x20Queries','description','40yMIodp','values'];a24_0x4494=function(){return _0x181867;};return a24_0x4494();}import{initDefinitions}from'../commands/init/index.js';import{appDefinitions}from'../commands/app/definitions.js';import{configDefinitions}from'../commands/config/definitions.js';import{bffDefinitions}from'../commands/bff/index.js';import{sqlDefinitions}from'../commands/sql/index.js';import{datasetDefinitions}from'../commands/dataset/index.js';import{dataDefinitions}from'../commands/data/index.js';export const serviceRegistry=[];const serviceByName=new Map();function a24_0xae0d(_0x23f862,_0x176543){_0x23f862=_0x23f862-0x16a;const _0x449412=a24_0x4494();let _0xae0dda=_0x449412[_0x23f862];return _0xae0dda;}export const definitions=new Map();export const serviceGroups=new Map();function registerDefinitions(_0x5bdee4){const _0x264d51=a24_0xae0d;for(const _0x10d7ec of _0x5bdee4){definitions[_0x264d51(0x186)](_0x10d7ec[_0x264d51(0x180)]+':'+_0x10d7ec[_0x264d51(0x182)],_0x10d7ec);let _0x59fd66=serviceGroups[_0x264d51(0x16e)](_0x10d7ec['service']);!_0x59fd66&&(_0x59fd66=[],serviceGroups[_0x264d51(0x186)](_0x10d7ec[_0x264d51(0x180)],_0x59fd66)),_0x59fd66[_0x264d51(0x17e)](_0x10d7ec);}}function registerService(_0x22e4d1,_0x5d94c8,_0x613c1c){const _0x1a541f=a24_0xae0d;registerDefinitions(_0x5d94c8);const _0x571f88=_0x530c36=>_0x530c36===_0x1a541f(0x172)?'':_0x530c36==='write'?_0x1a541f(0x183):'\x20\x20[high-risk-write]',_0x57a53d={'service':_0x5d94c8[0x0][_0x1a541f(0x180)],'label':_0x22e4d1,'commands':_0x5d94c8[_0x1a541f(0x185)](_0x307d20=>({'command':_0x307d20[_0x1a541f(0x182)],'description':_0x307d20[_0x1a541f(0x175)],'tag':_0x571f88(_0x307d20['risk'])})),'defaultCommand':_0x613c1c?.['defaultCommand']??(_0x613c1c?.[_0x1a541f(0x181)]?_0x5d94c8[0x0][_0x1a541f(0x182)]:undefined),'isSingleCommand':_0x613c1c?.[_0x1a541f(0x181)]};serviceRegistry['push'](_0x57a53d),serviceByName[_0x1a541f(0x186)](_0x57a53d[_0x1a541f(0x180)],_0x57a53d);}registerService(a24_0x4d9beb(0x17c),authDefinitions,{'defaultCommand':'login'}),registerService(a24_0x4d9beb(0x17f),datasetDefinitions),registerService(a24_0x4d9beb(0x16d),dataDefinitions),registerService(a24_0x4d9beb(0x174),sqlDefinitions),registerService(a24_0x4d9beb(0x18a),bffDefinitions),registerService(a24_0x4d9beb(0x179),appDefinitions,{'defaultCommand':a24_0x4d9beb(0x16f)}),registerService(a24_0x4d9beb(0x187),configDefinitions,{'defaultCommand':a24_0x4d9beb(0x16f)}),registerService(a24_0x4d9beb(0x16c),initDefinitions,{'isSingleCommand':!![]}),registerService('Diagnostics',[doctorDefinition],{'isSingleCommand':!![]}),registerService(a24_0x4d9beb(0x16b),[schemaDefinition],{'isSingleCommand':!![]}),registerService(a24_0x4d9beb(0x178),logsDefinitions,{'defaultCommand':a24_0x4d9beb(0x184)});export function findDefinition(_0x1f6d2e,_0x589419){return definitions['get'](_0x1f6d2e+':'+_0x589419);}export function isKnownService(_0xf99ef2){return serviceByName['has'](_0xf99ef2);}export function getServiceEntry(_0x31674d){const _0x34bf2f=a24_0x4d9beb;return serviceByName[_0x34bf2f(0x16e)](_0x31674d);}export function getAllDefinitions(){const _0x281d2e=a24_0x4d9beb;return Array[_0x281d2e(0x17d)](definitions[_0x281d2e(0x177)]());}
@@ -0,0 +1 @@
1
+ const a25_0x4d01aa=a25_0x3aa7;function a25_0x1227(){const _0x374ca9=['25084PBhzGf','31011060qKieUh','read','46LJtdFQ','schema','7173pETECa','7286344FfNuuk','6850242aURQgt','1396sSdJeW','585AQuOci','6788322xMbySk','63414vxScKJ','Export\x20machine-readable\x20command\x20schema\x20(JSON)'];a25_0x1227=function(){return _0x374ca9;};return a25_0x1227();}(function(_0xe21e55,_0x1e5625){const _0x4c639e=a25_0x3aa7,_0x2135e7=_0xe21e55();while(!![]){try{const _0x2901d5=parseInt(_0x4c639e(0x1f1))/0x1*(parseInt(_0x4c639e(0x1e7))/0x2)+-parseInt(_0x4c639e(0x1e9))/0x3*(-parseInt(_0x4c639e(0x1ec))/0x4)+-parseInt(_0x4c639e(0x1ed))/0x5*(parseInt(_0x4c639e(0x1ef))/0x6)+-parseInt(_0x4c639e(0x1eb))/0x7+-parseInt(_0x4c639e(0x1ea))/0x8+-parseInt(_0x4c639e(0x1ee))/0x9+parseInt(_0x4c639e(0x1f2))/0xa;if(_0x2901d5===_0x1e5625)break;else _0x2135e7['push'](_0x2135e7['shift']());}catch(_0x6f0f9e){_0x2135e7['push'](_0x2135e7['shift']());}}}(a25_0x1227,0x9a5cb));function a25_0x3aa7(_0x4607e0,_0x2eb4f0){_0x4607e0=_0x4607e0-0x1e6;const _0x122776=a25_0x1227();let _0x3aa7e9=_0x122776[_0x4607e0];return _0x3aa7e9;}import{buildSchemaPayload}from'../framework/schema-export.js';async function execute(_0x4f3256){const _0x4f106e=await buildSchemaPayload();return{'ok':!![],'data':_0x4f106e};}export const schemaDefinition={'service':a25_0x4d01aa(0x1e8),'command':'export','description':a25_0x4d01aa(0x1f0),'risk':a25_0x4d01aa(0x1e6),'requiresAuth':![],'requiresAppCode':![],'hasFormat':!![],'flags':[],'execute':execute};
@@ -1 +1 @@
1
- const a27_0x1217fc=a27_0x2f21;function a27_0x4cae(){const _0xb71f1d=['448370nETtpw','sqlCode','38861aIebTD','dbId','description','sqlName','1370072cjBini','sqlContent','56096RGstqP','bool','sql','appCode','Get\x20custom\x20SQL\x20query\x20details\x20by\x20sqlCode','sqlcode','2059998UMNxye','detail','495IuLiJo','read','18JSjiCJ','3204060vXgyvX','5WdsqBB','5649287gXjvYs','24zwgoFk','verbose'];a27_0x4cae=function(){return _0xb71f1d;};return a27_0x4cae();}(function(_0x3a257f,_0x43327e){const _0x4329dd=a27_0x2f21,_0x5099ac=_0x3a257f();while(!![]){try{const _0x46e743=-parseInt(_0x4329dd(0x9a))/0x1+parseInt(_0x4329dd(0x88))/0x2*(parseInt(_0x4329dd(0x96))/0x3)+parseInt(_0x4329dd(0x93))/0x4+-parseInt(_0x4329dd(0x94))/0x5*(-parseInt(_0x4329dd(0x8e))/0x6)+parseInt(_0x4329dd(0x95))/0x7+parseInt(_0x4329dd(0x86))/0x8*(parseInt(_0x4329dd(0x92))/0x9)+parseInt(_0x4329dd(0x98))/0xa*(-parseInt(_0x4329dd(0x90))/0xb);if(_0x46e743===_0x43327e)break;else _0x5099ac['push'](_0x5099ac['shift']());}catch(_0x1c63ef){_0x5099ac['push'](_0x5099ac['shift']());}}}(a27_0x4cae,0x70bc5));function a27_0x2f21(_0x8a751f,_0x27e318){_0x8a751f=_0x8a751f-0x86;const _0x4caec6=a27_0x4cae();let _0x2f21de=_0x4caec6[_0x8a751f];return _0x2f21de;}import{getSqlQueryInfo}from'../../core/api-client.js';import{getDbName}from'../../core/db-resolver.js';import{SQLCODE_FLAG,VERBOSE_FLAG}from'../../commands/common/flags.js';export const sqlDetail={'service':a27_0x1217fc(0x8a),'command':a27_0x1217fc(0x8f),'description':a27_0x1217fc(0x8c),'risk':a27_0x1217fc(0x91),'flags':[SQLCODE_FLAG,VERBOSE_FLAG],async 'execute'(_0x1cc4f2){const _0x4630b7=a27_0x1217fc,_0x19f1b3=await getSqlQueryInfo(_0x1cc4f2[_0x4630b7(0x8b)],_0x1cc4f2['str'](_0x4630b7(0x8d))),_0x4cbfa5=_0x1cc4f2[_0x4630b7(0x89)](_0x4630b7(0x97));if(_0x4cbfa5)return{'ok':!![],'data':_0x19f1b3};const _0x453740=_0x19f1b3[_0x4630b7(0x9b)]?await getDbName(_0x1cc4f2[_0x4630b7(0x8b)],_0x19f1b3[_0x4630b7(0x9b)]):undefined;return{'ok':!![],'data':{'sqlCode':_0x19f1b3[_0x4630b7(0x99)],'sqlName':_0x19f1b3[_0x4630b7(0x9d)],'db':_0x453740?_0x453740+'\x20('+_0x19f1b3[_0x4630b7(0x9b)]+')':_0x19f1b3[_0x4630b7(0x9b)]??'','description':_0x19f1b3[_0x4630b7(0x9c)]??'','sqlContent':_0x19f1b3[_0x4630b7(0x87)]??''}};}};
1
+ const a26_0x5e9ff2=a26_0x3b0e;(function(_0x4aa909,_0x4c91d6){const _0x8129f9=a26_0x3b0e,_0x20f964=_0x4aa909();while(!![]){try{const _0x4e6914=-parseInt(_0x8129f9(0x1c4))/0x1*(-parseInt(_0x8129f9(0x1b8))/0x2)+-parseInt(_0x8129f9(0x1bc))/0x3*(parseInt(_0x8129f9(0x1b1))/0x4)+parseInt(_0x8129f9(0x1b5))/0x5+-parseInt(_0x8129f9(0x1c5))/0x6*(-parseInt(_0x8129f9(0x1b7))/0x7)+parseInt(_0x8129f9(0x1b4))/0x8+-parseInt(_0x8129f9(0x1b2))/0x9*(-parseInt(_0x8129f9(0x1c0))/0xa)+-parseInt(_0x8129f9(0x1bd))/0xb;if(_0x4e6914===_0x4c91d6)break;else _0x20f964['push'](_0x20f964['shift']());}catch(_0x527093){_0x20f964['push'](_0x20f964['shift']());}}}(a26_0x11ac,0xd8ead));import{getSqlQueryInfo}from'../../core/api-client.js';function a26_0x3b0e(_0x4ec71b,_0x3b0a39){_0x4ec71b=_0x4ec71b-0x1b0;const _0x11ac5d=a26_0x11ac();let _0x3b0efb=_0x11ac5d[_0x4ec71b];return _0x3b0efb;}import{getDbName}from'../../core/db-resolver.js';function a26_0x11ac(){const _0x376470=['50634JxQqvh','sqlCode','11384504mdmDhE','6322235lTPKQA','verbose','1718542ISacMU','1763778MVyfCZ','str','appCode','sqlName','21dSpAEP','43349185waBUQP','sqlContent','sqlcode','1810QIeGuk','bool','Get\x20custom\x20SQL\x20query\x20details\x20by\x20sqlCode','dbId','1wVfPhk','12ECMFfe','detail','142508agiHEO'];a26_0x11ac=function(){return _0x376470;};return a26_0x11ac();}import{SQLCODE_FLAG,VERBOSE_FLAG}from'../../commands/common/flags.js';export const sqlDetail={'service':'sql','command':a26_0x5e9ff2(0x1b0),'description':a26_0x5e9ff2(0x1c2),'risk':'read','flags':[SQLCODE_FLAG,VERBOSE_FLAG],async 'execute'(_0x5ce420){const _0x3a77bd=a26_0x5e9ff2,_0x1a7607=await getSqlQueryInfo(_0x5ce420[_0x3a77bd(0x1ba)],_0x5ce420[_0x3a77bd(0x1b9)](_0x3a77bd(0x1bf))),_0x32964b=_0x5ce420[_0x3a77bd(0x1c1)](_0x3a77bd(0x1b6));if(_0x32964b)return{'ok':!![],'data':_0x1a7607};const _0xfc871=_0x1a7607[_0x3a77bd(0x1c3)]?await getDbName(_0x5ce420[_0x3a77bd(0x1ba)],_0x1a7607['dbId']):undefined;return{'ok':!![],'data':{'sqlCode':_0x1a7607[_0x3a77bd(0x1b3)],'sqlName':_0x1a7607[_0x3a77bd(0x1bb)],'db':_0xfc871?_0xfc871+'\x20('+_0x1a7607['dbId']+')':_0x1a7607[_0x3a77bd(0x1c3)]??'','description':_0x1a7607['description']??'','sqlContent':_0x1a7607[_0x3a77bd(0x1be)]??''}};}};
@@ -1 +1 @@
1
- const a28_0x214f9f=a28_0x2af4;(function(_0x4d3c99,_0x62bc18){const _0x582e11=a28_0x2af4,_0x444ef3=_0x4d3c99();while(!![]){try{const _0x5ea8f8=-parseInt(_0x582e11(0x1c1))/0x1+parseInt(_0x582e11(0x1c0))/0x2+parseInt(_0x582e11(0x1b8))/0x3+parseInt(_0x582e11(0x1cb))/0x4+-parseInt(_0x582e11(0x1c4))/0x5*(-parseInt(_0x582e11(0x1cd))/0x6)+-parseInt(_0x582e11(0x1c5))/0x7*(-parseInt(_0x582e11(0x1ca))/0x8)+-parseInt(_0x582e11(0x1b9))/0x9;if(_0x5ea8f8===_0x62bc18)break;else _0x444ef3['push'](_0x444ef3['shift']());}catch(_0x173058){_0x444ef3['push'](_0x444ef3['shift']());}}}(a28_0x5216,0xc0591));import{executeSdkSql}from'../../core/sdk-client.js';function a28_0x5216(){const _0x370b80=['execSuccess','2725842hUtlFh','660862rbOnEb','Execute\x20a\x20custom\x20SQL\x20query\x20by\x20sqlCode','\x20row(s)\x20in\x20','3469925efoBSR','7srCqKU','read','SQL\x20execution\x20failed','execResult','sql','7345416OKzwpf','197048VKUscM','now','12FZJuuI','execError','Returned\x20','3021273tdPxmJ','29490318kWfxVj','sqlcode','str','length','isArray','exec'];a28_0x5216=function(){return _0x370b80;};return a28_0x5216();}import{SQLCODE_FLAG,PARAMS_FLAG}from'../../commands/common/flags.js';import{parseJsonParams}from'../../utils/params.js';function a28_0x2af4(_0x2f669e,_0x841633){_0x2f669e=_0x2f669e-0x1b8;const _0x5216a3=a28_0x5216();let _0x2af4a7=_0x5216a3[_0x2f669e];return _0x2af4a7;}export const sqlExec={'service':a28_0x214f9f(0x1c9),'command':a28_0x214f9f(0x1be),'description':a28_0x214f9f(0x1c2),'risk':a28_0x214f9f(0x1c6),'flags':[SQLCODE_FLAG,PARAMS_FLAG],async 'execute'(_0x45d1ab){const _0x2c8a58=a28_0x214f9f,_0x1d16b8=parseJsonParams(_0x45d1ab[_0x2c8a58(0x1bb)]('params')),_0x1c1825=Date[_0x2c8a58(0x1cc)](),_0x2fc01d=await executeSdkSql(_0x45d1ab[_0x2c8a58(0x1bb)](_0x2c8a58(0x1ba)),_0x1d16b8),_0x49b2c9=Date[_0x2c8a58(0x1cc)]()-_0x1c1825,_0x53e79e=_0x2fc01d?.[_0x2c8a58(0x1c8)]??_0x2fc01d,_0x5d65af=_0x2fc01d?.[_0x2c8a58(0x1bf)]??!![];if(!_0x5d65af)return{'ok':![],'data':{'error':_0x2fc01d?.[_0x2c8a58(0x1ce)]||_0x2c8a58(0x1c7),'elapsed':_0x49b2c9},'message':_0x2c8a58(0x1c7)};const _0x2d89ee=Array[_0x2c8a58(0x1bd)](_0x53e79e)?_0x53e79e:[];return{'ok':!![],'data':{'rows':_0x2d89ee,'rowCount':_0x2d89ee[_0x2c8a58(0x1bc)],'elapsed':_0x49b2c9},'message':_0x2c8a58(0x1cf)+_0x2d89ee['length']+_0x2c8a58(0x1c3)+_0x49b2c9+'ms'};}};
1
+ const a27_0xd4624c=a27_0x4f33;(function(_0x3585c6,_0xd36d0e){const _0x56540e=a27_0x4f33,_0x158190=_0x3585c6();while(!![]){try{const _0x2243fc=parseInt(_0x56540e(0x83))/0x1*(parseInt(_0x56540e(0x92))/0x2)+-parseInt(_0x56540e(0x8a))/0x3*(-parseInt(_0x56540e(0x96))/0x4)+-parseInt(_0x56540e(0x88))/0x5+-parseInt(_0x56540e(0x97))/0x6+parseInt(_0x56540e(0x87))/0x7+-parseInt(_0x56540e(0x91))/0x8+parseInt(_0x56540e(0x8c))/0x9;if(_0x2243fc===_0xd36d0e)break;else _0x158190['push'](_0x158190['shift']());}catch(_0x15b17a){_0x158190['push'](_0x158190['shift']());}}}(a27_0xe4f4,0x72528));import{executeSdkSql}from'../../core/sdk-client.js';import{SQLCODE_FLAG,PARAMS_FLAG}from'../../commands/common/flags.js';function a27_0xe4f4(){const _0x583e5e=['Execute\x20a\x20custom\x20SQL\x20query\x20by\x20sqlCode','437116zmlFpq','2309574dKNGcj','101291ldbBwS','isArray','execError','sqlcode','5775252HmiECB','3610250xuJxkU','Returned\x20','3AowOfT','sql','7206021IOZIeU','str','exec','execResult','now','2088256nlXskn','2UUUWRW','\x20row(s)\x20in\x20','SQL\x20execution\x20failed'];a27_0xe4f4=function(){return _0x583e5e;};return a27_0xe4f4();}import{parseJsonParams}from'../../utils/params.js';function a27_0x4f33(_0x5b4bcf,_0x4d6127){_0x5b4bcf=_0x5b4bcf-0x83;const _0xe4f427=a27_0xe4f4();let _0x4f33ce=_0xe4f427[_0x5b4bcf];return _0x4f33ce;}export const sqlExec={'service':a27_0xd4624c(0x8b),'command':a27_0xd4624c(0x8e),'description':a27_0xd4624c(0x95),'risk':'read','flags':[SQLCODE_FLAG,PARAMS_FLAG],async 'execute'(_0x593d65){const _0x188b93=a27_0xd4624c,_0x406fcd=parseJsonParams(_0x593d65[_0x188b93(0x8d)]('params')),_0x150890=Date['now'](),_0xa7be72=await executeSdkSql(_0x593d65[_0x188b93(0x8d)](_0x188b93(0x86)),_0x406fcd),_0x1cfa5d=Date[_0x188b93(0x90)]()-_0x150890,_0x278f41=_0xa7be72?.[_0x188b93(0x8f)]??_0xa7be72,_0x1bc287=_0xa7be72?.['execSuccess']??!![];if(!_0x1bc287)return{'ok':![],'data':{'error':_0xa7be72?.[_0x188b93(0x85)]||'SQL\x20execution\x20failed','elapsed':_0x1cfa5d},'message':_0x188b93(0x94)};const _0x3e2a20=Array[_0x188b93(0x84)](_0x278f41)?_0x278f41:[];return{'ok':!![],'data':{'rows':_0x3e2a20,'rowCount':_0x3e2a20['length'],'elapsed':_0x1cfa5d},'message':_0x188b93(0x89)+_0x3e2a20['length']+_0x188b93(0x93)+_0x1cfa5d+'ms'};}};
@@ -1 +1 @@
1
- (function(_0x5346fb,_0x1308a3){const _0x2b7968=a29_0x7259,_0x307d10=_0x5346fb();while(!![]){try{const _0x4def80=parseInt(_0x2b7968(0x16d))/0x1+parseInt(_0x2b7968(0x16c))/0x2+-parseInt(_0x2b7968(0x16e))/0x3*(-parseInt(_0x2b7968(0x168))/0x4)+-parseInt(_0x2b7968(0x16b))/0x5*(-parseInt(_0x2b7968(0x167))/0x6)+parseInt(_0x2b7968(0x165))/0x7*(-parseInt(_0x2b7968(0x169))/0x8)+parseInt(_0x2b7968(0x166))/0x9+-parseInt(_0x2b7968(0x16a))/0xa;if(_0x4def80===_0x1308a3)break;else _0x307d10['push'](_0x307d10['shift']());}catch(_0xda890c){_0x307d10['push'](_0x307d10['shift']());}}}(a29_0x560b,0xdaf42));import{sqlDetail}from'../../commands/sql/detail.js';function a29_0x560b(){const _0x460a28=['3117480opjkvq','967610AgrqGk','6FkEHDL','5467naQzEL','12433149CjCWew','2872974jwqVLR','2815472pkQMnV','1768vvnpJt','47249410XxIHEB','5skjdnT'];a29_0x560b=function(){return _0x460a28;};return a29_0x560b();}function a29_0x7259(_0x18c1f1,_0x258f2e){_0x18c1f1=_0x18c1f1-0x165;const _0x560bd5=a29_0x560b();let _0x7259c3=_0x560bd5[_0x18c1f1];return _0x7259c3;}import{sqlExec}from'../../commands/sql/exec.js';export const sqlDefinitions=[sqlDetail,sqlExec];
1
+ (function(_0x2b7864,_0x1779c5){const _0x5b4a0d=a28_0x70e8,_0x48cbb0=_0x2b7864();while(!![]){try{const _0x158d5f=parseInt(_0x5b4a0d(0x14b))/0x1+parseInt(_0x5b4a0d(0x145))/0x2*(parseInt(_0x5b4a0d(0x143))/0x3)+parseInt(_0x5b4a0d(0x142))/0x4*(-parseInt(_0x5b4a0d(0x146))/0x5)+-parseInt(_0x5b4a0d(0x148))/0x6+parseInt(_0x5b4a0d(0x141))/0x7+-parseInt(_0x5b4a0d(0x144))/0x8*(parseInt(_0x5b4a0d(0x149))/0x9)+parseInt(_0x5b4a0d(0x14a))/0xa*(parseInt(_0x5b4a0d(0x147))/0xb);if(_0x158d5f===_0x1779c5)break;else _0x48cbb0['push'](_0x48cbb0['shift']());}catch(_0x18fe7c){_0x48cbb0['push'](_0x48cbb0['shift']());}}}(a28_0x2cf5,0x65195));import{sqlDetail}from'../../commands/sql/detail.js';function a28_0x2cf5(){const _0x248739=['29536tGbKsU','2606jHJKEi','470mZqxPT','11ORSkaO','2807208gtTjdZ','27jVueEH','2981870pBFfYr','197491DRJNoz','3310412nuPUsU','11920TfcNTo','471FBDBhu'];a28_0x2cf5=function(){return _0x248739;};return a28_0x2cf5();}import{sqlExec}from'../../commands/sql/exec.js';function a28_0x70e8(_0x32b662,_0x2e6529){_0x32b662=_0x32b662-0x141;const _0x2cf57c=a28_0x2cf5();let _0x70e80a=_0x2cf57c[_0x32b662];return _0x70e80a;}export const sqlDefinitions=[sqlDetail,sqlExec];
@@ -0,0 +1 @@
1
+ const a29_0x24cde2=a29_0x514c;(function(_0x1cd788,_0x21d467){const _0x4adac3=a29_0x514c,_0x4510f7=_0x1cd788();while(!![]){try{const _0x460858=parseInt(_0x4adac3(0x1e8))/0x1+parseInt(_0x4adac3(0x1ee))/0x2*(-parseInt(_0x4adac3(0x1d4))/0x3)+-parseInt(_0x4adac3(0x1ed))/0x4*(parseInt(_0x4adac3(0x1e6))/0x5)+-parseInt(_0x4adac3(0x1e4))/0x6+-parseInt(_0x4adac3(0x1e2))/0x7+parseInt(_0x4adac3(0x1d6))/0x8*(-parseInt(_0x4adac3(0x1e9))/0x9)+parseInt(_0x4adac3(0x1dd))/0xa;if(_0x460858===_0x21d467)break;else _0x4510f7['push'](_0x4510f7['shift']());}catch(_0x578a3f){_0x4510f7['push'](_0x4510f7['shift']());}}}(a29_0x3e47,0xa8880));function a29_0x514c(_0x4fa55d,_0x347ae3){_0x4fa55d=_0x4fa55d-0x1d3;const _0x3e47da=a29_0x3e47();let _0x514cd6=_0x3e47da[_0x4fa55d];return _0x514cd6;}import{DEFAULT_CONFIG_VALUES}from'../constant/defaults.js';import{RUNTIME_ENV_VALUES}from'../constant/env.js';import{OUTPUT_FORMAT_VALUES}from'../constant/output.js';export const CONFIG_FIELD_SCHEMAS={'env':{'description':'Target\x20environment','topLevel':!![],'cliSettableTopLevel':!![],'enumValues':RUNTIME_ENV_VALUES,'defaultValue':DEFAULT_CONFIG_VALUES[a29_0x24cde2(0x1d9)],'importable':!![]},'format':{'description':a29_0x24cde2(0x1eb),'topLevel':!![],'cliSettableTopLevel':!![],'enumValues':OUTPUT_FORMAT_VALUES,'defaultValue':DEFAULT_CONFIG_VALUES[a29_0x24cde2(0x1e3)],'importable':!![]},'pageSize':{'description':a29_0x24cde2(0x1e0),'topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'apiDomain':{'description':a29_0x24cde2(0x1e5),'topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'userDomain':{'description':'Override\x20user\x20domain','topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'runtimeDomain':{'description':a29_0x24cde2(0x1da),'topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'accessKey':{'description':'Access\x20key\x20(client-ak\x20auth)','topLevel':!![],'cliSettableTopLevel':!![],'importable':!![]},'riskLevel':{'description':a29_0x24cde2(0x1d7),'topLevel':!![],'defaultValue':DEFAULT_CONFIG_VALUES[a29_0x24cde2(0x1e1)],'importable':!![]},'locale':{'description':a29_0x24cde2(0x1de),'topLevel':!![],'defaultValue':DEFAULT_CONFIG_VALUES[a29_0x24cde2(0x1d5)],'importable':!![],'legacyCompatOnly':!![]}};export const TOP_LEVEL_CONFIG_KEYS=new Set(Object['entries'](CONFIG_FIELD_SCHEMAS)[a29_0x24cde2(0x1d8)](([,_0x1c8993])=>_0x1c8993[a29_0x24cde2(0x1dc)])[a29_0x24cde2(0x1d3)](([_0x1049d9])=>_0x1049d9));export const CONFIG_ENUM_VALUES=Object[a29_0x24cde2(0x1df)](Object[a29_0x24cde2(0x1ef)](CONFIG_FIELD_SCHEMAS)['filter'](([,_0x5aff86])=>_0x5aff86['enumValues'])[a29_0x24cde2(0x1d3)](([_0xda491e,_0x2455ac])=>[_0xda491e,[..._0x2455ac[a29_0x24cde2(0x1ec)]||[]]]));export const IMPORTABLE_RUNTIME_CONFIG_KEYS=Object[a29_0x24cde2(0x1ef)](CONFIG_FIELD_SCHEMAS)[a29_0x24cde2(0x1d8)](([,_0x5d15ab])=>_0x5d15ab['importable'])['map'](([_0x3d3fb0])=>_0x3d3fb0);export function getConfigFieldSchema(_0x2701e2){return CONFIG_FIELD_SCHEMAS[_0x2701e2];}export function getConfigEnumValues(_0x506687){const _0x5e6bc0=a29_0x24cde2;return getConfigFieldSchema(_0x506687)?.[_0x5e6bc0(0x1ec)];}export function getConfigDefaultValue(_0xdb348f){return getConfigFieldSchema(_0xdb348f)?.['defaultValue'];}export function isTopLevelConfigKey(_0x50ea61){const _0x122549=a29_0x24cde2;return TOP_LEVEL_CONFIG_KEYS[_0x122549(0x1db)](_0x50ea61);}export function isLegacyCompatConfigKey(_0x2bb2bb){const _0x508348=a29_0x24cde2;return getConfigFieldSchema(_0x2bb2bb)?.[_0x508348(0x1ea)]===!![];}export function getTopLevelConfigKeyList(){return[...TOP_LEVEL_CONFIG_KEYS];}export function formatConfigKeyList(_0x40fb01){const _0x45b25d=a29_0x24cde2;return[..._0x40fb01][_0x45b25d(0x1e7)](',\x20');}export function getTopLevelConfigKeySummary(){return formatConfigKeyList(getTopLevelConfigKeyList());}export function getConfigCommandKeyDescription(){return'Config\x20key.\x20Top-level:\x20'+getTopLevelConfigKeySummary();}export function buildAppProfileListFields(_0x31dad4){return{'env':_0x31dad4,'hasAccessKey':![],'format':null,'pageSize':null,'riskLevel':null,'locale':null};}function a29_0x3e47(){const _0x32c9bb=['254218KPbihg','27yOyzGP','legacyCompatOnly','Default\x20output\x20format','enumValues','22448YgJGgm','1429678GEymmM','entries','map','3HBbVEV','locale','2257040YCXVEr','Risk\x20level','filter','env','Override\x20runtime\x20domain','has','cliSettableTopLevel','48309210MLEAKj','Locale','fromEntries','Default\x20page\x20size','riskLevel','3433948oChvLr','format','8232996fOHhAS','Override\x20API\x20domain','865BTuMtg','join'];a29_0x3e47=function(){return _0x32c9bb;};return a29_0x3e47();}
@@ -1 +1 @@
1
- function a30_0x334e(){const _0x3768b6=['3324861kcjcRp','699071gDKoTR','20WiSwzs','350597RHdCYf','2EPwwHd','24mzMTXK','Cookie','5389174eZetZA','ClientAk','936KWcEYl','5146933DhwqbN','client-ak','6YJQgoQ','3835655jIdanQ','3957508qQjEBN','3GMrQdu'];a30_0x334e=function(){return _0x3768b6;};return a30_0x334e();}const a30_0x413bd1=a30_0x31fc;function a30_0x31fc(_0x587097,_0xab5d2d){_0x587097=_0x587097-0x1e0;const _0x334eb9=a30_0x334e();let _0x31fc81=_0x334eb9[_0x587097];return _0x31fc81;}(function(_0x1107e4,_0x2871fc){const _0x2aa07c=a30_0x31fc,_0x10e8fc=_0x1107e4();while(!![]){try{const _0x4caa53=-parseInt(_0x2aa07c(0x1e7))/0x1*(parseInt(_0x2aa07c(0x1ea))/0x2)+parseInt(_0x2aa07c(0x1e5))/0x3*(-parseInt(_0x2aa07c(0x1e4))/0x4)+-parseInt(_0x2aa07c(0x1e3))/0x5*(parseInt(_0x2aa07c(0x1e2))/0x6)+parseInt(_0x2aa07c(0x1ed))/0x7+-parseInt(_0x2aa07c(0x1eb))/0x8*(-parseInt(_0x2aa07c(0x1e6))/0x9)+-parseInt(_0x2aa07c(0x1e8))/0xa*(parseInt(_0x2aa07c(0x1e0))/0xb)+-parseInt(_0x2aa07c(0x1ef))/0xc*(-parseInt(_0x2aa07c(0x1e9))/0xd);if(_0x4caa53===_0x2871fc)break;else _0x10e8fc['push'](_0x10e8fc['shift']());}catch(_0x4e41a1){_0x10e8fc['push'](_0x10e8fc['shift']());}}}(a30_0x334e,0x9021e));export const AUTH_MODE={'ClientAk':a30_0x413bd1(0x1e1),'Cookie':'cookie'};export function isAuthMode(_0x3df422){const _0x5d4e86=a30_0x413bd1;return _0x3df422===AUTH_MODE[_0x5d4e86(0x1ee)]||_0x3df422===AUTH_MODE[_0x5d4e86(0x1ec)];}
1
+ function a30_0x1fb8(_0x57943,_0x4c483e){_0x57943=_0x57943-0x154;const _0x1cdc6f=a30_0x1cdc();let _0x1fb845=_0x1cdc6f[_0x57943];return _0x1fb845;}function a30_0x1cdc(){const _0x579b0b=['4810400GzIhbg','1161879EEGFuV','33NZIFvI','68134goiaZV','12JpayLJ','6138710jcNDCw','1573490xClzJS','7489692qwXbbu','8MXQLxG','client-ak','492hslNej','301bKlCfR'];a30_0x1cdc=function(){return _0x579b0b;};return a30_0x1cdc();}const a30_0x176f0d=a30_0x1fb8;(function(_0x25d72e,_0x5b4855){const _0x3e5af1=a30_0x1fb8,_0x5cda93=_0x25d72e();while(!![]){try{const _0x83438e=parseInt(_0x3e5af1(0x15a))/0x1*(parseInt(_0x3e5af1(0x15f))/0x2)+-parseInt(_0x3e5af1(0x158))/0x3*(-parseInt(_0x3e5af1(0x15b))/0x4)+-parseInt(_0x3e5af1(0x15d))/0x5+-parseInt(_0x3e5af1(0x155))/0x6*(-parseInt(_0x3e5af1(0x156))/0x7)+parseInt(_0x3e5af1(0x157))/0x8+parseInt(_0x3e5af1(0x15e))/0x9+parseInt(_0x3e5af1(0x15c))/0xa*(-parseInt(_0x3e5af1(0x159))/0xb);if(_0x83438e===_0x5b4855)break;else _0x5cda93['push'](_0x5cda93['shift']());}catch(_0xd85217){_0x5cda93['push'](_0x5cda93['shift']());}}}(a30_0x1cdc,0xae96e));export const AUTH_MODE={'ClientAk':a30_0x176f0d(0x154)};export function isAuthMode(_0x30a2b6){return _0x30a2b6===AUTH_MODE['ClientAk'];}
@@ -1 +1 @@
1
- const a31_0x201d01=a31_0x5693;(function(_0x414e8e,_0x29c399){const _0x34f00d=a31_0x5693,_0x392389=_0x414e8e();while(!![]){try{const _0x4b6746=parseInt(_0x34f00d(0xc1))/0x1+parseInt(_0x34f00d(0xba))/0x2+-parseInt(_0x34f00d(0xaf))/0x3*(parseInt(_0x34f00d(0xa9))/0x4)+parseInt(_0x34f00d(0xbc))/0x5+parseInt(_0x34f00d(0xad))/0x6*(-parseInt(_0x34f00d(0xcb))/0x7)+parseInt(_0x34f00d(0xb9))/0x8+parseInt(_0x34f00d(0xbf))/0x9;if(_0x4b6746===_0x29c399)break;else _0x392389['push'](_0x392389['shift']());}catch(_0x2b7ff3){_0x392389['push'](_0x392389['shift']());}}}(a31_0x481b,0xc4fc8));export const CLI_BIN_NAME=a31_0x201d01(0xd5);export const CLI_DISPLAY_NAME=a31_0x201d01(0xc5);export const NPM_PACKAGE_NAME=a31_0x201d01(0xc4);export const GLOBAL_FLAGS=[{'name':a31_0x201d01(0xd3),'meowKey':a31_0x201d01(0xd3),'type':a31_0x201d01(0xb0),'description':a31_0x201d01(0xae),'hint':'<code>'},{'name':a31_0x201d01(0xc2),'meowKey':a31_0x201d01(0xc2),'type':a31_0x201d01(0xb0),'description':'Select\x20app\x20profile\x20by\x20name','hint':a31_0x201d01(0xb8)},{'name':a31_0x201d01(0xac),'meowKey':'env','type':'string','description':'Environment','hint':a31_0x201d01(0xd7)},{'name':a31_0x201d01(0xb3),'meowKey':'format','type':'string','description':a31_0x201d01(0xbe),'hint':a31_0x201d01(0xb5)},{'name':'jq','meowKey':'jq','type':a31_0x201d01(0xb0),'description':a31_0x201d01(0xc0),'hint':a31_0x201d01(0xc3)},{'name':a31_0x201d01(0xd0),'meowKey':a31_0x201d01(0xd6),'type':a31_0x201d01(0xcf),'description':a31_0x201d01(0xaa)},{'name':a31_0x201d01(0xa8),'meowKey':a31_0x201d01(0xa8),'type':'boolean','description':a31_0x201d01(0xb7)},{'name':a31_0x201d01(0xcd),'meowKey':a31_0x201d01(0xc9),'type':a31_0x201d01(0xcf),'description':a31_0x201d01(0xab)},{'name':'global','meowKey':'global','type':a31_0x201d01(0xcf),'description':'Use\x20global\x20config\x20scope'},{'name':'ci','meowKey':'ci','type':a31_0x201d01(0xcf),'description':a31_0x201d01(0xb2),'hidden':!![]},{'name':'help','meowKey':'help','type':a31_0x201d01(0xcf),'description':a31_0x201d01(0xb1)},{'name':'id','meowKey':'id','type':'string','description':a31_0x201d01(0xc8),'hidden':!![]},{'name':a31_0x201d01(0xc7),'meowKey':a31_0x201d01(0xc7),'type':a31_0x201d01(0xb0),'description':a31_0x201d01(0xa6),'hidden':!![]},{'name':a31_0x201d01(0xb4),'meowKey':a31_0x201d01(0xb4),'type':'string','description':a31_0x201d01(0xd4),'hidden':!![]},{'name':a31_0x201d01(0xce),'meowKey':a31_0x201d01(0xce),'type':a31_0x201d01(0xb0),'description':a31_0x201d01(0xa7),'hidden':!![]},{'name':a31_0x201d01(0xc6),'meowKey':a31_0x201d01(0xc6),'type':'boolean','description':a31_0x201d01(0xbb),'hidden':!![]},{'name':a31_0x201d01(0xbd),'meowKey':a31_0x201d01(0xbd),'type':a31_0x201d01(0xcf),'description':a31_0x201d01(0xca),'hidden':!![]}];function a31_0x5693(_0x1e7583,_0x470ec5){_0x1e7583=_0x1e7583-0xa6;const _0x481be6=a31_0x481b();let _0x56933c=_0x481be6[_0x1e7583];return _0x56933c;}function a31_0x481b(){const _0x26ae36=['@lovrabet/lovrabet-cli','Lovrabet\x20Runtime\x20CLI','verbose','name','Record\x20ID','nonInteractive','Clear\x20output','154XukYTg','meowKey','non-interactive','params','boolean','dry-run','map','fromEntries','appcode','SQL\x20query\x20code','lovrabet','dryRun','production\x20|\x20daily','Name\x20filter','JSON\x20params\x20for\x20execute\x20commands','yes','2308mamxmB','Preview\x20operation\x20without\x20executing','Force\x20non-interactive\x20mode\x20(CI)','env','247590oXEHKl','Override\x20appcode','2589SHcOOD','string','Show\x20help','Alias\x20for\x20--non-interactive','format','sqlcode','json\x20|\x20pretty\x20|\x20compress','type','Skip\x20confirmation\x20for\x20high-risk\x20writes','<name>','3527552hetynE','829858bCUNXq','Verbose\x20output','4037555mFrmeH','clear','Output\x20format','70929schRHe','Filter\x20JSON\x20output\x20(implies\x20--format\x20json\x20when\x20current\x20format\x20is\x20pretty)','541372dyIzlc','app','<expr>'];a31_0x481b=function(){return _0x26ae36;};return a31_0x481b();}export function buildMeowFlags(){const _0x4481fb=a31_0x201d01;return Object[_0x4481fb(0xd2)](GLOBAL_FLAGS[_0x4481fb(0xd1)](_0x5e8065=>[_0x5e8065[_0x4481fb(0xcc)],{'type':_0x5e8065[_0x4481fb(0xb6)]}]));}
1
+ const a31_0x1a23d8=a31_0x227c;function a31_0x15fd(){const _0x2f8c8f=['Preview\x20operation\x20without\x20executing','clear','Clear\x20output','non-interactive','Lovrabet\x20Runtime\x20CLI','9401310alrtUs','Environment','nonInteractive','appcode','Output\x20format','Skip\x20confirmation\x20for\x20high-risk\x20writes','params','type','Name\x20filter','497151RmsCzv','Verbose\x20output','Force\x20non-interactive\x20mode\x20(CI)','map','<code>','Alias\x20for\x20--non-interactive','Record\x20ID','help','<name>','dryRun','meowKey','SQL\x20query\x20code','production\x20|\x20development\x20|\x20daily','11UJCyQQ','fromEntries','lovrabet','Show\x20help','693624jnVsRe','app','sqlcode','722805QFLmmm','boolean','string','format','1390aWGZYd','yes','14394ZThUpg','6XWndNN','global','verbose','56InFMID','env','<expr>','@lovrabet/lovrabet-cli','JSON\x20params\x20for\x20execute\x20commands','3694145GbqLAG','dry-run','955872SxbsCx'];a31_0x15fd=function(){return _0x2f8c8f;};return a31_0x15fd();}(function(_0x19c302,_0x287dd1){const _0x5dcebc=a31_0x227c,_0x29026f=_0x19c302();while(!![]){try{const _0x504ba7=parseInt(_0x5dcebc(0x197))/0x1+parseInt(_0x5dcebc(0x194))/0x2*(-parseInt(_0x5dcebc(0x16a))/0x3)+parseInt(_0x5dcebc(0x174))/0x4+-parseInt(_0x5dcebc(0x19b))/0x5*(parseInt(_0x5dcebc(0x169))/0x6)+-parseInt(_0x5dcebc(0x172))/0x7+-parseInt(_0x5dcebc(0x16d))/0x8*(-parseInt(_0x5dcebc(0x183))/0x9)+-parseInt(_0x5dcebc(0x17a))/0xa*(-parseInt(_0x5dcebc(0x190))/0xb);if(_0x504ba7===_0x287dd1)break;else _0x29026f['push'](_0x29026f['shift']());}catch(_0x2d68d9){_0x29026f['push'](_0x29026f['shift']());}}}(a31_0x15fd,0x61ba8));export const CLI_BIN_NAME=a31_0x1a23d8(0x192);function a31_0x227c(_0x7fdd28,_0x5958b4){_0x7fdd28=_0x7fdd28-0x168;const _0x15fd66=a31_0x15fd();let _0x227c50=_0x15fd66[_0x7fdd28];return _0x227c50;}export const CLI_DISPLAY_NAME=a31_0x1a23d8(0x179);export const NPM_PACKAGE_NAME=a31_0x1a23d8(0x170);export const GLOBAL_FLAGS=[{'name':a31_0x1a23d8(0x17d),'meowKey':a31_0x1a23d8(0x17d),'type':'string','description':'Override\x20appcode','hint':a31_0x1a23d8(0x187)},{'name':a31_0x1a23d8(0x195),'meowKey':a31_0x1a23d8(0x195),'type':a31_0x1a23d8(0x199),'description':'Select\x20app\x20profile\x20by\x20name','hint':a31_0x1a23d8(0x18b)},{'name':'env','meowKey':a31_0x1a23d8(0x16e),'type':'string','description':a31_0x1a23d8(0x17b),'hint':a31_0x1a23d8(0x18f)},{'name':a31_0x1a23d8(0x19a),'meowKey':a31_0x1a23d8(0x19a),'type':a31_0x1a23d8(0x199),'description':a31_0x1a23d8(0x17e),'hint':'json\x20|\x20pretty\x20|\x20compress'},{'name':'jq','meowKey':'jq','type':'string','description':'Filter\x20JSON\x20output\x20(implies\x20--format\x20json\x20when\x20current\x20format\x20is\x20pretty)','hint':a31_0x1a23d8(0x16f)},{'name':'dry-run','meowKey':a31_0x1a23d8(0x18c),'type':a31_0x1a23d8(0x198),'description':a31_0x1a23d8(0x175)},{'name':a31_0x1a23d8(0x168),'meowKey':'yes','type':'boolean','description':a31_0x1a23d8(0x17f)},{'name':a31_0x1a23d8(0x178),'meowKey':a31_0x1a23d8(0x17c),'type':a31_0x1a23d8(0x198),'description':a31_0x1a23d8(0x185)},{'name':a31_0x1a23d8(0x16b),'meowKey':a31_0x1a23d8(0x16b),'type':a31_0x1a23d8(0x198),'description':'Use\x20global\x20config\x20scope'},{'name':'ci','meowKey':'ci','type':'boolean','description':a31_0x1a23d8(0x188),'hidden':!![]},{'name':a31_0x1a23d8(0x18a),'meowKey':a31_0x1a23d8(0x18a),'type':a31_0x1a23d8(0x198),'description':a31_0x1a23d8(0x193)},{'name':'id','meowKey':'id','type':a31_0x1a23d8(0x199),'description':a31_0x1a23d8(0x189),'hidden':!![]},{'name':'name','meowKey':'name','type':a31_0x1a23d8(0x199),'description':a31_0x1a23d8(0x182),'hidden':!![]},{'name':a31_0x1a23d8(0x196),'meowKey':a31_0x1a23d8(0x196),'type':'string','description':a31_0x1a23d8(0x18e),'hidden':!![]},{'name':a31_0x1a23d8(0x180),'meowKey':a31_0x1a23d8(0x180),'type':'string','description':a31_0x1a23d8(0x171),'hidden':!![]},{'name':a31_0x1a23d8(0x16c),'meowKey':'verbose','type':a31_0x1a23d8(0x198),'description':a31_0x1a23d8(0x184),'hidden':!![]},{'name':'clear','meowKey':a31_0x1a23d8(0x176),'type':a31_0x1a23d8(0x198),'description':a31_0x1a23d8(0x177),'hidden':!![]}];export const PIPELINE_FLAG_NAMES=new Set(['appcode','app',a31_0x1a23d8(0x16e),a31_0x1a23d8(0x19a),'jq',a31_0x1a23d8(0x173),'yes','non-interactive','ci']);export function buildMeowFlags(){const _0x3bef25=a31_0x1a23d8;return Object[_0x3bef25(0x191)](GLOBAL_FLAGS[_0x3bef25(0x186)](_0x2e25c4=>[_0x2e25c4[_0x3bef25(0x18d)],{'type':_0x2e25c4[_0x3bef25(0x181)]}]));}
@@ -0,0 +1 @@
1
+ const a32_0x2c80a3=a32_0x48ba;function a32_0x48ba(_0x20fd5a,_0x37b466){_0x20fd5a=_0x20fd5a-0xfc;const _0x1f7c4b=a32_0x1f7c();let _0x48ba6c=_0x1f7c4b[_0x20fd5a];return _0x48ba6c;}(function(_0x127261,_0x2be483){const _0x343a41=a32_0x48ba,_0x37a640=_0x127261();while(!![]){try{const _0x41b690=parseInt(_0x343a41(0x104))/0x1*(parseInt(_0x343a41(0x106))/0x2)+-parseInt(_0x343a41(0x108))/0x3+-parseInt(_0x343a41(0x101))/0x4+parseInt(_0x343a41(0x10a))/0x5*(-parseInt(_0x343a41(0xfd))/0x6)+parseInt(_0x343a41(0x100))/0x7*(-parseInt(_0x343a41(0x102))/0x8)+parseInt(_0x343a41(0xff))/0x9*(-parseInt(_0x343a41(0x103))/0xa)+parseInt(_0x343a41(0x107))/0xb*(parseInt(_0x343a41(0xfe))/0xc);if(_0x41b690===_0x2be483)break;else _0x37a640['push'](_0x37a640['shift']());}catch(_0x4ce85e){_0x37a640['push'](_0x37a640['shift']());}}}(a32_0x1f7c,0x7c2f4));function a32_0x1f7c(){const _0x1dbc34=['72hqEMuc','5346509XUMtAl','1866864yZrzGc','8CQtCmr','749790SgnagG','138ioFKVm','production','11272zPHhgd','11qrtZzl','527079eRxpGm','compress','55ybcwTS','write','148530tlGJLf','24110700toppZl'];a32_0x1f7c=function(){return _0x1dbc34;};return a32_0x1f7c();}export const DEFAULT_APP_PROFILE_NAME='main';export const DEFAULT_CONFIG_VALUES={'env':a32_0x2c80a3(0x105),'format':a32_0x2c80a3(0x109),'locale':'en-US','riskLevel':a32_0x2c80a3(0xfc)};export const DEFAULT_COMMAND_OUTPUT_FORMAT=a32_0x2c80a3(0x109);
@@ -1 +1 @@
1
- const a32_0x53198d=a32_0x100a;(function(_0x47eb19,_0x498858){const _0x402fd7=a32_0x100a,_0x10027b=_0x47eb19();while(!![]){try{const _0x3d21d2=-parseInt(_0x402fd7(0x1cd))/0x1*(-parseInt(_0x402fd7(0x1c6))/0x2)+-parseInt(_0x402fd7(0x1cb))/0x3*(parseInt(_0x402fd7(0x1cf))/0x4)+parseInt(_0x402fd7(0x1d6))/0x5+parseInt(_0x402fd7(0x1d2))/0x6*(parseInt(_0x402fd7(0x1d4))/0x7)+parseInt(_0x402fd7(0x1c7))/0x8+parseInt(_0x402fd7(0x1d0))/0x9+-parseInt(_0x402fd7(0x1c8))/0xa;if(_0x3d21d2===_0x498858)break;else _0x10027b['push'](_0x10027b['shift']());}catch(_0x29be4e){_0x10027b['push'](_0x10027b['shift']());}}}(a32_0x4df5,0xd029b));function a32_0x100a(_0x19d514,_0x49bc25){_0x19d514=_0x19d514-0x1c6;const _0x4df584=a32_0x4df5();let _0x100afc=_0x4df584[_0x19d514];return _0x100afc;}import{getEnv,isProduction}from'../constant/env.js';let customApiDomain,customUserDomain,customRuntimeDomain;export function initDomains(_0x3044f4){const _0x1acbd1=a32_0x100a;customApiDomain=_0x3044f4?.['apiDomain'],customUserDomain=_0x3044f4?.['userDomain'],customRuntimeDomain=_0x3044f4?.[_0x1acbd1(0x1ca)];}export const getUserDomain=()=>customUserDomain||(isProduction(getEnv())?a32_0x53198d(0x1c9):a32_0x53198d(0x1d5));export const getApiDomain=()=>customApiDomain||(isProduction(getEnv())?a32_0x53198d(0x1ce):a32_0x53198d(0x1d1));export const getRuntimeDomain=()=>customRuntimeDomain||(isProduction(getEnv())?a32_0x53198d(0x1cc):a32_0x53198d(0x1d3));function a32_0x4df5(){const _0x2f9981=['1hSgeyV','https://api.lovrabet.com','36SFKsxg','9080127XEIZkK','https://daily-api.lovrabet.com','1156236pTCcgp','https://daily-runtime.lovrabet.com','7PNgIZy','https://user-daily.lovrabet.com','1471030GvSddY','172762vKZYsV','8680496cKRqOV','2042260zcePtG','https://user.lovrabet.com','runtimeDomain','536799fcuggo','https://runtime.lovrabet.com'];a32_0x4df5=function(){return _0x2f9981;};return a32_0x4df5();}
1
+ const a33_0x44401f=a33_0x3349;(function(_0x22e0c6,_0x174012){const _0x1687eb=a33_0x3349,_0x41f7f6=_0x22e0c6();while(!![]){try{const _0x3b09fd=parseInt(_0x1687eb(0x1cc))/0x1+parseInt(_0x1687eb(0x1d5))/0x2+-parseInt(_0x1687eb(0x1d3))/0x3*(-parseInt(_0x1687eb(0x1d1))/0x4)+-parseInt(_0x1687eb(0x1db))/0x5+parseInt(_0x1687eb(0x1d7))/0x6+-parseInt(_0x1687eb(0x1cf))/0x7*(-parseInt(_0x1687eb(0x1cd))/0x8)+-parseInt(_0x1687eb(0x1da))/0x9*(parseInt(_0x1687eb(0x1d9))/0xa);if(_0x3b09fd===_0x174012)break;else _0x41f7f6['push'](_0x41f7f6['shift']());}catch(_0x571f94){_0x41f7f6['push'](_0x41f7f6['shift']());}}}(a33_0x4093,0x75bfa));import{getEnv,isProduction}from'../constant/env.js';let customApiDomain,customUserDomain,customRuntimeDomain;function a33_0x4093(){const _0x251fd7=['1239686XOKAMy','https://runtime.lovrabet.com','2447296DmUccG','https://user.lovrabet.com','3YBgWQT','runtimeDomain','1895606YIUWfR','https://user-daily.lovrabet.com','5109726DMqfOB','apiDomain','10nAQzEO','24630255SUqjqq','2963335AcnWGA','869118QYGrge','24LLQOWU','https://api.lovrabet.com'];a33_0x4093=function(){return _0x251fd7;};return a33_0x4093();}export function initDomains(_0x26e587){const _0x5294cf=a33_0x3349;customApiDomain=_0x26e587?.[_0x5294cf(0x1d8)],customUserDomain=_0x26e587?.['userDomain'],customRuntimeDomain=_0x26e587?.[_0x5294cf(0x1d4)];}export const getUserDomain=()=>customUserDomain||(isProduction(getEnv())?a33_0x44401f(0x1d2):a33_0x44401f(0x1d6));function a33_0x3349(_0x40b1c6,_0x4a5402){_0x40b1c6=_0x40b1c6-0x1cc;const _0x409362=a33_0x4093();let _0x334909=_0x409362[_0x40b1c6];return _0x334909;}export const getApiDomain=()=>customApiDomain||(isProduction(getEnv())?a33_0x44401f(0x1ce):'https://daily-api.lovrabet.com');export const getRuntimeDomain=()=>customRuntimeDomain||(isProduction(getEnv())?a33_0x44401f(0x1d0):'https://daily-runtime.lovrabet.com');
@@ -1 +1 @@
1
- (function(_0x6e9889,_0x19532c){const _0x247a9a=a33_0x4a89,_0x3c7f82=_0x6e9889();while(!![]){try{const _0x155a37=-parseInt(_0x247a9a(0x123))/0x1+parseInt(_0x247a9a(0x119))/0x2+-parseInt(_0x247a9a(0x124))/0x3+-parseInt(_0x247a9a(0x11c))/0x4*(parseInt(_0x247a9a(0x11f))/0x5)+-parseInt(_0x247a9a(0x11b))/0x6+parseInt(_0x247a9a(0x121))/0x7*(-parseInt(_0x247a9a(0x11d))/0x8)+parseInt(_0x247a9a(0x11a))/0x9;if(_0x155a37===_0x19532c)break;else _0x3c7f82['push'](_0x3c7f82['shift']());}catch(_0x523b51){_0x3c7f82['push'](_0x3c7f82['shift']());}}}(a33_0x3531,0x9b424));export function normalizeEnv(_0x311a27){const _0x390641=a33_0x4a89;return _0x311a27===_0x390641(0x122)?_0x390641(0x11e):_0x311a27;}export function isProduction(_0x4a7250){const _0x2cb7c5=a33_0x4a89;return normalizeEnv(_0x4a7250)===_0x2cb7c5(0x11e);}export function isDaily(_0x2c21e3){return normalizeEnv(_0x2c21e3)==='daily';}function a33_0x4a89(_0x528aae,_0x5d09ba){_0x528aae=_0x528aae-0x118;const _0x353129=a33_0x3531();let _0x4a898c=_0x353129[_0x528aae];return _0x4a898c;}export function isDev(_0x1c6b55){const _0x30e3de=a33_0x4a89,_0x6fe66c=normalizeEnv(_0x1c6b55);return _0x6fe66c===_0x30e3de(0x118)||_0x6fe66c===_0x30e3de(0x120);}let env=normalizeEnv(process.env.LOVRABET_ENV||'production');export function getEnv(){return env;}export function initEnv(_0x447726){env=normalizeEnv(_0x447726);}function a33_0x3531(){const _0x313f31=['1159692GOemoE','development','1994108JtNuyz','20333709LJHLeb','5077458fTFPju','1228FtPoLp','232etqUdq','production','14465PnGzCu','dev','112294qywXLn','online','34239jZMzGK'];a33_0x3531=function(){return _0x313f31;};return a33_0x3531();}
1
+ function a34_0x2bee(_0x3c3bd3,_0x4495c9){_0x3c3bd3=_0x3c3bd3-0x92;const _0x35cbe1=a34_0x35cb();let _0x2bee0c=_0x35cbe1[_0x3c3bd3];return _0x2bee0c;}const a34_0x2e2323=a34_0x2bee;(function(_0x5908c6,_0x19f237){const _0x588a06=a34_0x2bee,_0x4bde42=_0x5908c6();while(!![]){try{const _0x5df99f=-parseInt(_0x588a06(0x9b))/0x1+-parseInt(_0x588a06(0x97))/0x2+-parseInt(_0x588a06(0x9f))/0x3*(-parseInt(_0x588a06(0x92))/0x4)+parseInt(_0x588a06(0x99))/0x5*(parseInt(_0x588a06(0x98))/0x6)+parseInt(_0x588a06(0x9e))/0x7+parseInt(_0x588a06(0x9a))/0x8+-parseInt(_0x588a06(0x9c))/0x9*(parseInt(_0x588a06(0x9d))/0xa);if(_0x5df99f===_0x19f237)break;else _0x4bde42['push'](_0x4bde42['shift']());}catch(_0x18ac5c){_0x4bde42['push'](_0x4bde42['shift']());}}}(a34_0x35cb,0xd21b8));export const RUNTIME_ENV_VALUES=[a34_0x2e2323(0xa0),'development',a34_0x2e2323(0x94)];export function normalizeEnv(_0x2f73d2){const _0x33f00b=a34_0x2e2323;return _0x2f73d2===_0x33f00b(0x93)?_0x33f00b(0xa0):_0x2f73d2;}export function isProduction(_0x1d98e4){const _0x2c30e1=a34_0x2e2323;return normalizeEnv(_0x1d98e4)===_0x2c30e1(0xa0);}export function isDaily(_0x43e336){return normalizeEnv(_0x43e336)==='daily';}function a34_0x35cb(){const _0x8bfacb=['1969808CUOsld','8778558APTLVc','5NAAwnH','10992184SoHcLh','1585363jxcqFP','3118005mxUnWP','20nvCTic','3034836yAXhMD','111273lswHig','production','92hHTyiH','online','daily','dev','development'];a34_0x35cb=function(){return _0x8bfacb;};return a34_0x35cb();}export function isDev(_0x106bfc){const _0x1dd907=a34_0x2e2323,_0x440be7=normalizeEnv(_0x106bfc);return _0x440be7===_0x1dd907(0x96)||_0x440be7===_0x1dd907(0x95);}let env=normalizeEnv(process.env.LOVRABET_ENV||a34_0x2e2323(0xa0));export function getEnv(){return env;}export function initEnv(_0x2c50b5){env=normalizeEnv(_0x2c50b5);}
@@ -0,0 +1 @@
1
+ const a35_0x5065b3=a35_0x53de;(function(_0xf081b3,_0x2614c0){const _0xe29877=a35_0x53de,_0x5be5b1=_0xf081b3();while(!![]){try{const _0x14ee85=parseInt(_0xe29877(0xe3))/0x1*(-parseInt(_0xe29877(0xdc))/0x2)+-parseInt(_0xe29877(0xda))/0x3+-parseInt(_0xe29877(0xe2))/0x4+-parseInt(_0xe29877(0xdb))/0x5+-parseInt(_0xe29877(0xdd))/0x6+parseInt(_0xe29877(0xde))/0x7+parseInt(_0xe29877(0xe1))/0x8*(parseInt(_0xe29877(0xe0))/0x9);if(_0x14ee85===_0x2614c0)break;else _0x5be5b1['push'](_0x5be5b1['shift']());}catch(_0xe18db4){_0x5be5b1['push'](_0x5be5b1['shift']());}}}(a35_0x29ae,0x43ea4));function a35_0x53de(_0x209a46,_0x4de142){_0x209a46=_0x209a46-0xda;const _0x29aefb=a35_0x29ae();let _0x53dedb=_0x29aefb[_0x209a46];return _0x53dedb;}export const OUTPUT_FORMAT_VALUES=[a35_0x5065b3(0xe4),a35_0x5065b3(0xdf),'compress'];function a35_0x29ae(){const _0x440049=['2748852EAckfc','1219316EwhgNH','pretty','13759677maDjQf','8cEHJmt','425144MZubXH','449gRCnxF','json','227451qtmboP','1969930nCTmta','1740hQyrxg'];a35_0x29ae=function(){return _0x440049;};return a35_0x29ae();}
@@ -0,0 +1 @@
1
+ const a36_0x4782fb=a36_0x5f37;(function(_0x337f11,_0x46fda5){const _0x229baf=a36_0x5f37,_0x28abdc=_0x337f11();while(!![]){try{const _0x658c0=-parseInt(_0x229baf(0x122))/0x1+-parseInt(_0x229baf(0x126))/0x2+parseInt(_0x229baf(0x123))/0x3*(parseInt(_0x229baf(0x129))/0x4)+-parseInt(_0x229baf(0x125))/0x5+parseInt(_0x229baf(0x124))/0x6+-parseInt(_0x229baf(0x127))/0x7+parseInt(_0x229baf(0x128))/0x8;if(_0x658c0===_0x46fda5)break;else _0x28abdc['push'](_0x28abdc['shift']());}catch(_0x4841e4){_0x28abdc['push'](_0x28abdc['shift']());}}}(a36_0x22e8,0x814e3));function a36_0x5f37(_0x58863e,_0x3731a4){_0x58863e=_0x58863e-0x121;const _0x22e819=a36_0x22e8();let _0x5f370b=_0x22e819[_0x58863e];return _0x5f370b;}export const RISK_LEVEL_VALUES=[a36_0x4782fb(0x121),'write',a36_0x4782fb(0x12a)];function a36_0x22e8(){const _0x3796b6=['2821708Kqdlfd','high-risk-write','read','1035300yOwPAf','3wTHqtK','5937240uDAAhy','663000LtFhIP','401814KpkAop','3255812aFZLeK','5348728KFneEq'];a36_0x22e8=function(){return _0x3796b6;};return a36_0x22e8();}