@lovrabet/rabetbase-cli 2.3.2 → 2.3.3-beta.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.
- package/lib/api/api-doc.js +1 -1
- package/lib/api/fetch-model-list.js +1 -1
- package/lib/api/generate-api-file.js +1 -1
- package/lib/auth/auth-server-ui.js +1 -1
- package/lib/auth/auth-server.js +1 -1
- package/lib/auth/constant.js +1 -1
- package/lib/auth/get-cookie.js +1 -1
- package/lib/auth/get-session-user.js +1 -1
- package/lib/auth/is-session-valid.js +1 -1
- package/lib/auth/login-success-html.js +1 -1
- package/lib/auth/logout.js +1 -1
- package/lib/cli-flags.js +1 -1
- package/lib/cli.js +1 -1
- package/lib/commands/api/generate.js +1 -1
- package/lib/commands/api/index.js +1 -1
- package/lib/commands/api/list.js +1 -1
- package/lib/commands/api/pull.js +1 -1
- package/lib/commands/api/shared.js +1 -1
- package/lib/commands/app/add.js +1 -1
- package/lib/commands/app/discover.js +1 -1
- package/lib/commands/app/index.js +1 -1
- package/lib/commands/app/list.js +1 -1
- package/lib/commands/app/remove.js +1 -1
- package/lib/commands/app/shared.js +1 -1
- package/lib/commands/app/use.js +1 -1
- package/lib/commands/app-config/delete.js +1 -1
- package/lib/commands/app-config/get.js +1 -1
- package/lib/commands/app-config/index.js +1 -1
- package/lib/commands/app-config/list.js +1 -1
- package/lib/commands/app-config/set.js +1 -1
- package/lib/commands/app-config/shared.js +1 -1
- package/lib/commands/auth/index.js +1 -1
- package/lib/commands/bff/create.js +1 -1
- package/lib/commands/bff/delete.js +1 -1
- package/lib/commands/bff/detail.js +1 -1
- package/lib/commands/bff/index.js +1 -1
- package/lib/commands/bff/list.js +1 -1
- package/lib/commands/bff/pull.js +1 -1
- package/lib/commands/bff/push.js +1 -1
- package/lib/commands/bff/status.js +1 -1
- package/lib/commands/cli-skill/index.js +1 -1
- package/lib/commands/cli-update.js +1 -1
- package/lib/commands/codegen/index.js +1 -1
- package/lib/commands/codegen/sdk.js +1 -1
- package/lib/commands/codegen/sql.js +1 -1
- package/lib/commands/common/app-selector.js +1 -1
- package/lib/commands/common/flags.js +1 -1
- package/lib/commands/common/validate.js +1 -1
- package/lib/commands/config/get.js +1 -1
- package/lib/commands/config/index.js +1 -1
- package/lib/commands/config/list.js +1 -1
- package/lib/commands/config/set.js +1 -1
- package/lib/commands/config/shared.js +1 -1
- package/lib/commands/data/filter.js +1 -1
- package/lib/commands/data/getOne.js +1 -1
- package/lib/commands/data/index.js +1 -1
- package/lib/commands/data/shared.js +1 -1
- package/lib/commands/dataset/business-group-update.js +1 -1
- package/lib/commands/dataset/capability.js +1 -1
- package/lib/commands/dataset/delete.js +1 -1
- package/lib/commands/dataset/detail.js +1 -1
- package/lib/commands/dataset/extend-update.js +1 -1
- package/lib/commands/dataset/field-update.js +1 -1
- package/lib/commands/dataset/generate.js +1 -0
- package/lib/commands/dataset/index.js +1 -1
- package/lib/commands/dataset/list.js +1 -1
- package/lib/commands/dataset/operations.js +1 -1
- package/lib/commands/dataset/relation-audit.js +1 -1
- package/lib/commands/dataset/relation-create.js +1 -1
- package/lib/commands/dataset/relation-delete.js +1 -1
- package/lib/commands/dataset/relation-shared.js +1 -1
- package/lib/commands/dataset/relation-update.js +1 -1
- package/lib/commands/dataset/relations.js +1 -1
- package/lib/commands/dataset/rename.js +1 -1
- package/lib/commands/dataset/restore.js +1 -1
- package/lib/commands/db/analyze-cancel.js +1 -1
- package/lib/commands/db/analyze-start.js +1 -1
- package/lib/commands/db/analyze-status.js +1 -1
- package/lib/commands/db/create.js +1 -1
- package/lib/commands/db/delete.js +1 -1
- package/lib/commands/db/detail.js +1 -1
- package/lib/commands/db/diff.js +1 -1
- package/lib/commands/db/index.js +1 -1
- package/lib/commands/db/list.js +1 -1
- package/lib/commands/db/shared.js +1 -1
- package/lib/commands/db/tables.js +1 -1
- package/lib/commands/db/test.js +1 -1
- package/lib/commands/db/update.js +1 -1
- package/lib/commands/doctor.js +1 -1
- package/lib/commands/init/index.js +1 -1
- package/lib/commands/issue/index.js +1 -1
- package/lib/commands/issue/nudge.js +1 -1
- package/lib/commands/issue/report.js +1 -1
- package/lib/commands/issue/shared.js +1 -1
- package/lib/commands/logs/index.js +1 -1
- package/lib/commands/menu/index.js +1 -1
- package/lib/commands/menu/list.js +1 -1
- package/lib/commands/menu/shared/compare-table.js +1 -1
- package/lib/commands/menu/shared/index.js +1 -1
- package/lib/commands/menu/shared/inquirer.js +1 -1
- package/lib/commands/menu/shared/local-pages.js +1 -1
- package/lib/commands/menu/shared/logic.js +1 -1
- package/lib/commands/menu/shared/service.js +1 -1
- package/lib/commands/menu/shared/sync-core.js +1 -1
- package/lib/commands/menu/shared/update-core.js +1 -1
- package/lib/commands/menu/shared/valid-url.js +1 -1
- package/lib/commands/menu/sync.js +1 -1
- package/lib/commands/menu/update.js +1 -1
- package/lib/commands/page/generate-start.js +1 -1
- package/lib/commands/page/generate-status.js +1 -1
- package/lib/commands/page/index.js +1 -1
- package/lib/commands/page/pull.js +1 -1
- package/lib/commands/page/push.js +1 -1
- package/lib/commands/page/relation-audit.js +1 -1
- package/lib/commands/page/shared.js +1 -1
- package/lib/commands/page/standard-page-status.js +1 -1
- package/lib/commands/page/sync.js +1 -1
- package/lib/commands/project/create/enhanced-guided-create.js +1 -1
- package/lib/commands/project/create/format-elapsed.js +1 -1
- package/lib/commands/project/create/main.js +1 -1
- package/lib/commands/project/create/non-interactive.js +1 -1
- package/lib/commands/project/create/project-template-path.js +1 -1
- package/lib/commands/project/create/use-copy-project-template.js +1 -1
- package/lib/commands/project/create/use-format-code.js +1 -1
- package/lib/commands/project/create/use-install-dependencies.js +1 -1
- package/lib/commands/project/index.js +1 -1
- package/lib/commands/project/init.js +1 -1
- package/lib/commands/project/upgrade.js +1 -1
- package/lib/commands/registry.js +1 -1
- package/lib/commands/run/index.js +1 -1
- package/lib/commands/schema.js +1 -1
- package/lib/commands/sql/create.js +1 -1
- package/lib/commands/sql/delete.js +1 -1
- package/lib/commands/sql/detail.js +1 -1
- package/lib/commands/sql/exec.js +1 -1
- package/lib/commands/sql/index.js +1 -1
- package/lib/commands/sql/list.js +1 -1
- package/lib/commands/sql/pull.js +1 -1
- package/lib/commands/sql/push.js +1 -1
- package/lib/commands/sql/save.js +1 -1
- package/lib/commands/sql/shared.js +1 -1
- package/lib/commands/sql/status.js +1 -1
- package/lib/commands/sql/validate.js +1 -1
- package/lib/commands/workspace/index.js +1 -1
- package/lib/config/schema.js +1 -1
- package/lib/constant/cdn.js +1 -1
- package/lib/constant/cli.js +1 -1
- package/lib/constant/defaults.js +1 -1
- package/lib/constant/domain.js +1 -1
- package/lib/constant/env.js +1 -1
- package/lib/constant/output.js +1 -1
- package/lib/constant/paths.js +1 -1
- package/lib/constant/risk.js +1 -1
- package/lib/context/app-resolver.js +1 -1
- package/lib/context/auth-resolver.js +1 -1
- package/lib/context/config-loader.js +1 -1
- package/lib/context.js +1 -1
- package/lib/core/alias-resolver.js +1 -1
- package/lib/core/api-client.js +1 -1
- package/lib/core/bff/config.js +1 -1
- package/lib/core/bff/file-system.js +1 -1
- package/lib/core/bff/hash.js +1 -1
- package/lib/core/bff/lock.js +1 -1
- package/lib/core/bff/utils.js +1 -1
- package/lib/core/db-resolver.js +1 -1
- package/lib/core/page/file-system.js +1 -1
- package/lib/core/page/hash.js +1 -1
- package/lib/core/page/lock.js +1 -1
- package/lib/core/sql-sync/config.js +1 -1
- package/lib/core/sql-sync/file-system.js +1 -1
- package/lib/core/sql-sync/hash.js +1 -1
- package/lib/core/sql-sync/lock.js +1 -1
- package/lib/core/sql-sync/utils.js +1 -1
- package/lib/core/sql-validator.js +1 -1
- package/lib/errors.js +1 -1
- package/lib/framework/build-all-flags.js +1 -1
- package/lib/framework/flags.js +1 -1
- package/lib/framework/help.js +1 -1
- package/lib/framework/index.js +1 -1
- package/lib/framework/output.js +1 -1
- package/lib/framework/response.js +1 -1
- package/lib/framework/runner-alias.js +1 -1
- package/lib/framework/runner.js +1 -1
- package/lib/framework/schema-export.js +1 -1
- package/lib/framework/types.js +1 -1
- package/lib/generated/build-info.js +1 -1
- package/lib/help.js +1 -1
- package/lib/skills/main.js +1 -1
- package/lib/skills/npx-skills-add.js +1 -1
- package/lib/telemetry/cli-command-trace.js +1 -1
- package/lib/telemetry/cli-help-trace.js +1 -1
- package/lib/telemetry/ensure-cli-otel-config.js +1 -1
- package/lib/telemetry/register-otel-exit-shutdown.js +1 -1
- package/lib/telemetry/send-cli-trace-log.js +1 -1
- package/lib/telemetry/send-platform-issue-collect-log.js +1 -1
- package/lib/utils/ai_config.js +1 -1
- package/lib/utils/apply-jq-filter.js +1 -1
- package/lib/utils/cdn-config.js +1 -1
- package/lib/utils/check-sdk-version.js +1 -1
- package/lib/utils/cli-version-check.js +1 -1
- package/lib/utils/cli-version-policy.js +1 -1
- package/lib/utils/config.js +1 -1
- package/lib/utils/copy-directory.js +1 -1
- package/lib/utils/entity-with-id.js +1 -1
- package/lib/utils/file-utils.js +1 -1
- package/lib/utils/guides-cdn.js +1 -1
- package/lib/utils/http-client.js +1 -1
- package/lib/utils/is-non-interactive.js +1 -1
- package/lib/utils/logger.js +1 -1
- package/lib/utils/params.js +1 -1
- package/lib/utils/platform.js +1 -1
- package/lib/utils/rules-cdn.js +1 -1
- package/lib/utils/sleep.js +1 -1
- package/lib/utils/template-replacer.js +1 -1
- package/lib/utils/update-notice.js +1 -1
- package/lib/utils/version.js +1 -1
- package/lib/utils/with-active-cookie.js +1 -1
- package/lib/utils/write-cli-side-channel.js +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a91_0x40ba50=a91_0x5114;(function(_0x3406ac,_0x412eb9){const _0x129404=a91_0x5114,_0x567f9b=_0x3406ac();while(!![]){try{const _0x1083e8=parseInt(_0x129404(0x1c8))/0x1+parseInt(_0x129404(0x1d7))/0x2*(parseInt(_0x129404(0x1d3))/0x3)+parseInt(_0x129404(0x1d9))/0x4*(parseInt(_0x129404(0x1e5))/0x5)+-parseInt(_0x129404(0x1d5))/0x6+parseInt(_0x129404(0x1e3))/0x7+-parseInt(_0x129404(0x1ca))/0x8*(-parseInt(_0x129404(0x1d1))/0x9)+-parseInt(_0x129404(0x1d8))/0xa;if(_0x1083e8===_0x412eb9)break;else _0x567f9b['push'](_0x567f9b['shift']());}catch(_0x4e58f9){_0x567f9b['push'](_0x567f9b['shift']());}}}(a91_0x4800,0xcddb9));import{CliError}from'../../errors.js';import{CLI_BIN_NAME}from'../../constant/cli.js';export const NUDGE_OPT_OUT_ENV=a91_0x40ba50(0x1dc);function a91_0x5114(_0x235c25,_0x3de69e){_0x235c25=_0x235c25-0x1c8;const _0x4800a8=a91_0x4800();let _0x511472=_0x4800a8[_0x235c25];return _0x511472;}const NUDGE_SUPPRESSED_CODES=new Set([a91_0x40ba50(0x1cb),a91_0x40ba50(0x1df),a91_0x40ba50(0x1e7),'not_in_project','unknown_command',a91_0x40ba50(0x1de),'validation_error',a91_0x40ba50(0x1d2)]),defaultWriter=_0x97c970=>{const _0x55a40a=a91_0x40ba50;process[_0x55a40a(0x1e4)][_0x55a40a(0x1e6)](_0x97c970);};export function shouldNudgeForError(_0x563b5f,_0xb2695e){const _0x5afd55=a91_0x40ba50;if(process.env[NUDGE_OPT_OUT_ENV]==='1')return![];if(_0xb2695e['service']===_0x5afd55(0x1ce)&&_0xb2695e['command']==='report')return![];if(_0x563b5f instanceof CliError)return!NUDGE_SUPPRESSED_CODES[_0x5afd55(0x1d4)](_0x563b5f[_0x5afd55(0x1e0)]);return!![];}function a91_0x4800(){const _0x57f9e0=['2857080uuLjJz','\x20bug?\x20Help\x20us\x20fix\x20it:','725128BbqUsG','23085540QDxsxY','248XHRyBj','slice','trim','RABETBASE_DISABLE_ISSUE_NUDGE','replace','flag_missing','auth_required','code','\x20\x20\x20\x20--title\x20\x22','Hit\x20a\x20','2302755PEVrBl','stderr','61105XliINL','write','config_missing','join','53601NLqPaW','service','136jhiNqs','cancelled','\x20\x20\x20\x20--description\x20\x22Steps\x20to\x20reproduce,\x20expected\x20vs\x20actual,\x20and\x20any\x20relevant\x20logs.\x22','\x20\x20Set\x20','issue','message','\x22\x20\x5c','741159zvxPvu','network_error','9VJznDy','has'];a91_0x4800=function(){return _0x57f9e0;};return a91_0x4800();}export function printIssueReportNudgeForError(_0xe2c46a,_0x495674,_0x258e69=defaultWriter){if(!shouldNudgeForError(_0xe2c46a,_0x495674))return;const _0x236f56=buildSuggestedTitle(_0xe2c46a,_0x495674);_0x258e69(formatNudge(_0x236f56));}function buildSuggestedTitle(_0x65177d,_0x11516c){const _0x2b0500=a91_0x40ba50,_0x2e3650=_0x65177d instanceof Error?_0x65177d[_0x2b0500(0x1cf)]:String(_0x65177d),_0x272046=_0x2e3650[_0x2b0500(0x1dd)](/[\r\n]+/g,'\x20')['replace'](/\s+/g,'\x20')[_0x2b0500(0x1db)]()[_0x2b0500(0x1da)](0x0,0x78)[_0x2b0500(0x1dd)](/"/g,'\x5c\x22'),_0x5b6de4=CLI_BIN_NAME+'\x20'+_0x11516c[_0x2b0500(0x1c9)]+'\x20'+_0x11516c['command'];return _0x272046['length']>0x0?_0x5b6de4+':\x20'+_0x272046:_0x5b6de4;}function formatNudge(_0x4b839a){const _0x1c328c=a91_0x40ba50;return['',_0x1c328c(0x1e2)+CLI_BIN_NAME+_0x1c328c(0x1d6),'\x20\x20'+CLI_BIN_NAME+'\x20issue\x20report\x20\x5c',_0x1c328c(0x1e1)+_0x4b839a+_0x1c328c(0x1d0),_0x1c328c(0x1cc),'\x20\x20(Cookies\x20/\x20Authorization\x20/\x20access\x20keys\x20are\x20automatically\x20redacted\x20before\x20upload.)',_0x1c328c(0x1cd)+NUDGE_OPT_OUT_ENV+'=1\x20to\x20silence\x20this\x20hint.',''][_0x1c328c(0x1e8)]('\x0a');}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a92_0x3b6689=a92_0x5294;(function(_0x5e1dbb,_0x1222ca){const _0x421bf=a92_0x5294,_0x33a5c6=_0x5e1dbb();while(!![]){try{const _0x5ea316=parseInt(_0x421bf(0x167))/0x1+-parseInt(_0x421bf(0x17f))/0x2+parseInt(_0x421bf(0x172))/0x3+-parseInt(_0x421bf(0x163))/0x4+parseInt(_0x421bf(0x17b))/0x5+-parseInt(_0x421bf(0x164))/0x6+parseInt(_0x421bf(0x15c))/0x7;if(_0x5ea316===_0x1222ca)break;else _0x33a5c6['push'](_0x33a5c6['shift']());}catch(_0x360d16){_0x33a5c6['push'](_0x33a5c6['shift']());}}}(a92_0x10ed,0x27e27));import{existsSync}from'node:fs';function a92_0x10ed(){const _0x29b1fe=['Use\x20--description\x20for\x20short\x20markdown\x20text,\x20or\x20--description-file\x20for\x20full\x20issue\x20context.','descriptionFilePath','title','filter','flagMissing','Report\x20a\x20platform\x20issue\x20with\x20title\x20and\x20markdown\x20context','join','Failed\x20to\x20report\x20platform\x20issue:\x20','2231670vRYXHF','Issue\x20description\x20cannot\x20be\x20empty.','Issue\x20description\x20file\x20is\x20empty:\x20','\x20secret(s):\x20','cwd','length','redactions:\x20','880516ZkGzDQ','648444ELkTmH','issue.description_redaction_kinds','issue.description_original_bytes','15473KgiZfd','File\x20not\x20found:\x20','str','utf8','Inline\x20markdown\x20issue\x20description\x20(alternative\x20to\x20--description-file)','Provide\x20exactly\x20one\x20of\x20--description\x20or\x20--description-file.','One-line\x20issue\x20summary','string','truncated\x20from\x20','Write\x20markdown\x20context\x20into\x20the\x20file\x20before\x20retrying.','compress','616212PDnxEz','trim','sanitize','message','redactionCount','Provide\x20non-empty\x20markdown\x20content\x20via\x20--description\x20or\x20--description-file.','Path\x20to\x20a\x20markdown\x20file\x20whose\x20contents\x20become\x20issue.description','write','description-file','430770pxNFIk','otel://','inline','truncated:\x20original\x20','268542hoGTLu','descriptionSource','truncated','originalBytes','validation','issue.description','file','apiError','Check\x20telemetry\x20configuration\x20and\x20network\x20reachability,\x20then\x20retry.','description','redactionKinds','push','issue.description_truncated','issue.description_redactions','Platform\x20issue\x20reported\x20(','\x20bytes'];a92_0x10ed=function(){return _0x29b1fe;};return a92_0x10ed();}import{readFile}from'node:fs/promises';import{resolve}from'node:path';import{CliErrors}from'../../errors.js';function a92_0x5294(_0x3ccd70,_0x4ff46d){_0x3ccd70=_0x3ccd70-0x147;const _0x10edc4=a92_0x10ed();let _0x5294a9=_0x10edc4[_0x3ccd70];return _0x5294a9;}import{sanitizeIssueDescription}from'../../commands/issue/shared.js';import{PLATFORM_ISSUE_SPAN_NAME,PLATFORM_ISSUE_TRACE_NAME,sendPlatformIssueCollectLog}from'../../telemetry/send-platform-issue-collect-log.js';const DESCRIPTION_FILE_FLAG=a92_0x3b6689(0x17a);export const issueReport={'service':'issue','command':'report','description':a92_0x3b6689(0x159),'risk':a92_0x3b6689(0x179),'requiresAuth':![],'requiresAppCode':![],'defaultOutputFormat':a92_0x3b6689(0x171),'flags':[{'name':a92_0x3b6689(0x156),'type':'string','required':!![],'description':a92_0x3b6689(0x16d)},{'name':a92_0x3b6689(0x14d),'type':a92_0x3b6689(0x16e),'description':a92_0x3b6689(0x16b)},{'name':DESCRIPTION_FILE_FLAG,'type':a92_0x3b6689(0x16e),'description':a92_0x3b6689(0x178)}],async 'validate'(_0x1ebb33){const _0xb88a6e=a92_0x3b6689,_0x2733d5=_0x1ebb33['str'](_0xb88a6e(0x156))[_0xb88a6e(0x173)](),_0x4e0376=_0x1ebb33[_0xb88a6e(0x169)](_0xb88a6e(0x14d))[_0xb88a6e(0x173)](),_0x497b14=_0x1ebb33[_0xb88a6e(0x169)](DESCRIPTION_FILE_FLAG)[_0xb88a6e(0x173)]();if(!_0x2733d5)throw CliErrors[_0xb88a6e(0x158)](_0xb88a6e(0x156),'Provide\x20--title\x20with\x20a\x20one-line\x20issue\x20summary.');const _0x25a065=_0x4e0376[_0xb88a6e(0x161)]>0x0,_0x40fc94=_0x497b14[_0xb88a6e(0x161)]>0x0;if(_0x25a065===_0x40fc94)throw CliErrors[_0xb88a6e(0x148)](_0xb88a6e(0x16c),_0xb88a6e(0x154));if(_0x40fc94){const _0x495046=resolve(process[_0xb88a6e(0x160)](),_0x497b14);if(!existsSync(_0x495046))throw CliErrors[_0xb88a6e(0x148)](_0xb88a6e(0x168)+_0x495046);}},async 'dryRun'(_0x21cac9){const _0x1f5ba0=a92_0x3b6689,_0x48dfc5=await prepareIssueReport(_0x21cac9);return{'method':'POST','url':_0x1f5ba0(0x17c)+PLATFORM_ISSUE_TRACE_NAME+'/'+PLATFORM_ISSUE_SPAN_NAME,'body':{'traceName':PLATFORM_ISSUE_TRACE_NAME,'spanName':PLATFORM_ISSUE_SPAN_NAME,'logData':{'issue.title':_0x48dfc5[_0x1f5ba0(0x156)],'issue.description':_0x48dfc5[_0x1f5ba0(0x14d)],'issue.description_original_bytes':_0x48dfc5[_0x1f5ba0(0x174)][_0x1f5ba0(0x147)],'issue.description_truncated':_0x48dfc5[_0x1f5ba0(0x174)][_0x1f5ba0(0x181)],'issue.description_redactions':_0x48dfc5[_0x1f5ba0(0x174)][_0x1f5ba0(0x176)],'issue.description_redaction_kinds':_0x48dfc5[_0x1f5ba0(0x174)][_0x1f5ba0(0x14e)][_0x1f5ba0(0x15a)](',')}},'description':['Send\x20platform\x20issue\x20collect\x20log\x20via\x20the\x20CLI\x20telemetry\x20adapter','descriptionSource:\x20'+_0x48dfc5[_0x1f5ba0(0x180)],_0x48dfc5[_0x1f5ba0(0x155)]?'descriptionFile:\x20'+_0x48dfc5[_0x1f5ba0(0x155)]:null,_0x48dfc5[_0x1f5ba0(0x174)]['truncated']?_0x1f5ba0(0x17e)+_0x48dfc5[_0x1f5ba0(0x174)]['originalBytes']+_0x1f5ba0(0x153):null,_0x48dfc5['sanitize'][_0x1f5ba0(0x176)]>0x0?_0x1f5ba0(0x162)+_0x48dfc5[_0x1f5ba0(0x174)][_0x1f5ba0(0x176)]+'\x20('+_0x48dfc5[_0x1f5ba0(0x174)]['redactionKinds'][_0x1f5ba0(0x15a)](',\x20')+')':null][_0x1f5ba0(0x157)](Boolean)[_0x1f5ba0(0x15a)]('\x0a')};},async 'execute'(_0x5cca1b){const _0x476420=a92_0x3b6689,_0x267b49=await prepareIssueReport(_0x5cca1b);try{await sendPlatformIssueCollectLog({'title':_0x267b49[_0x476420(0x156)],'description':_0x267b49[_0x476420(0x14d)],'sanitize':{'originalBytes':_0x267b49[_0x476420(0x174)][_0x476420(0x147)],'truncated':_0x267b49[_0x476420(0x174)][_0x476420(0x181)],'redactionCount':_0x267b49[_0x476420(0x174)]['redactionCount'],'redactionKinds':_0x267b49[_0x476420(0x174)]['redactionKinds']}});}catch(_0x599350){throw CliErrors[_0x476420(0x14b)](_0x476420(0x15b)+(_0x599350 instanceof Error?_0x599350[_0x476420(0x175)]:String(_0x599350)),_0x476420(0x14c));}return{'ok':!![],'message':buildResultMessage(_0x267b49[_0x476420(0x174)]),'data':{'traceName':PLATFORM_ISSUE_TRACE_NAME,'spanName':PLATFORM_ISSUE_SPAN_NAME,'logDataKeys':['issue.title',_0x476420(0x149),_0x476420(0x166),_0x476420(0x150),_0x476420(0x151),_0x476420(0x165)],'issue':{'title':_0x267b49[_0x476420(0x156)],'descriptionLength':_0x267b49[_0x476420(0x14d)][_0x476420(0x161)],'descriptionSource':_0x267b49[_0x476420(0x180)],..._0x267b49[_0x476420(0x155)]?{'descriptionFile':_0x267b49['descriptionFilePath']}:{},'sanitize':{'originalBytes':_0x267b49[_0x476420(0x174)][_0x476420(0x147)],'truncated':_0x267b49[_0x476420(0x174)][_0x476420(0x181)],'redactions':_0x267b49[_0x476420(0x174)][_0x476420(0x176)],'redactionKinds':_0x267b49[_0x476420(0x174)][_0x476420(0x14e)]}}}};}};function buildResultMessage(_0xb5fda3){const _0x5a7d9a=a92_0x3b6689,_0x31b889=[];return _0xb5fda3[_0x5a7d9a(0x181)]&&_0x31b889[_0x5a7d9a(0x14f)](_0x5a7d9a(0x16f)+_0xb5fda3['originalBytes']+_0x5a7d9a(0x153)),_0xb5fda3[_0x5a7d9a(0x176)]>0x0&&_0x31b889[_0x5a7d9a(0x14f)]('redacted\x20'+_0xb5fda3[_0x5a7d9a(0x176)]+_0x5a7d9a(0x15f)+_0xb5fda3['redactionKinds'][_0x5a7d9a(0x15a)](',\x20')),_0x31b889['length']===0x0?'Platform\x20issue\x20reported':_0x5a7d9a(0x152)+_0x31b889['join'](';\x20')+')';}async function prepareIssueReport(_0x4099c5){const _0x4dbf16=a92_0x3b6689,_0x45bf98=_0x4099c5[_0x4dbf16(0x169)](_0x4dbf16(0x156))[_0x4dbf16(0x173)](),_0x290234=_0x4099c5['str'](_0x4dbf16(0x14d)),_0x36586d=_0x4099c5[_0x4dbf16(0x169)](DESCRIPTION_FILE_FLAG)['trim']();if(!_0x36586d){const _0x6bd999=_0x290234;if(!_0x6bd999[_0x4dbf16(0x173)]())throw CliErrors[_0x4dbf16(0x148)](_0x4dbf16(0x15d),_0x4dbf16(0x177));const _0x430c57=sanitizeIssueDescription(_0x6bd999);return{'title':_0x45bf98,'description':_0x430c57[_0x4dbf16(0x14d)],'descriptionSource':_0x4dbf16(0x17d),'sanitize':_0x430c57};}const _0x30eac9=resolve(process[_0x4dbf16(0x160)](),_0x36586d),_0x3ca1ef=await readFile(_0x30eac9,_0x4dbf16(0x16a));if(!_0x3ca1ef[_0x4dbf16(0x173)]())throw CliErrors[_0x4dbf16(0x148)](_0x4dbf16(0x15e)+_0x30eac9,_0x4dbf16(0x170));const _0xe8a989=sanitizeIssueDescription(_0x3ca1ef);return{'title':_0x45bf98,'description':_0xe8a989['description'],'descriptionSource':_0x4dbf16(0x14a),'descriptionFilePath':_0x30eac9,'sanitize':_0xe8a989};}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a93_0x2ece(_0x4b33c0,_0x2ab272){_0x4b33c0=_0x4b33c0-0x1df;const _0x5c16f9=a93_0x5c16();let _0x2ececc=_0x5c16f9[_0x4b33c0];return _0x2ececc;}const a93_0x284ac4=a93_0x2ece;function a93_0x5c16(){const _0x3a1bf6=['bearer-jwt','520275OHFRPq','4112694prRzgd','REDACTED:private-key','byteLength','\x0a\x0a[...TRUNCATED\x20by\x20rabetbase-cli...]','62pCwbfx','includes','max','toString','replace','utf8','1152mqkFVk','cookie','pattern','private-key','242400JhWBGw','21183ZaGgnX','1041800VIjpnw','kind','string','label','access-key','1511124iXZMQl','push','authorization','REDACTED:access-key','REDACTED:bearer-jwt','from','1918CUmqHx','REDACTED:cookie'];a93_0x5c16=function(){return _0x3a1bf6;};return a93_0x5c16();}(function(_0x49d4e1,_0x369eb2){const _0x469695=a93_0x2ece,_0x1f5c7c=_0x49d4e1();while(!![]){try{const _0x3bdab9=parseInt(_0x469695(0x1ef))/0x1+-parseInt(_0x469695(0x1e5))/0x2*(-parseInt(_0x469695(0x1f0))/0x3)+-parseInt(_0x469695(0x1f1))/0x4+parseInt(_0x469695(0x1e0))/0x5+parseInt(_0x469695(0x1f6))/0x6+parseInt(_0x469695(0x1fc))/0x7*(parseInt(_0x469695(0x1eb))/0x8)+-parseInt(_0x469695(0x1e1))/0x9;if(_0x3bdab9===_0x369eb2)break;else _0x1f5c7c['push'](_0x1f5c7c['shift']());}catch(_0x30340e){_0x1f5c7c['push'](_0x1f5c7c['shift']());}}}(a93_0x5c16,0x21fe8));export const ISSUE_DESCRIPTION_MAX_BYTES=0x100*0x400;const TRUNCATION_NOTICE=a93_0x284ac4(0x1e4),REDACTION_RULES=[{'kind':a93_0x284ac4(0x1ec),'pattern':/(cookie\s*[:=]\s*)[^\s;,'"`]+/gi,'label':a93_0x284ac4(0x1fd)},{'kind':a93_0x284ac4(0x1f8),'pattern':/(authorization\s*:\s*)(bearer|basic|token)\s+[^\s'"`]+/gi,'label':'REDACTED:authorization'},{'kind':a93_0x284ac4(0x1ee),'pattern':/-----BEGIN [A-Z0-9 ]*PRIVATE KEY-----[\s\S]*?-----END [A-Z0-9 ]*PRIVATE KEY-----/g,'label':a93_0x284ac4(0x1e2)},{'kind':a93_0x284ac4(0x1f5),'pattern':/((?:aliyun_)?(?:access|secret)[_-]?key(?:[_-]?id)?\s*[:=]\s*)['"]?[A-Za-z0-9/+_\-]{8,}['"]?/gi,'label':a93_0x284ac4(0x1f9)},{'kind':'password','pattern':/(pass(?:word|wd)\s*[:=]\s*)['"]?[^\s'"`]+['"]?/gi,'label':'REDACTED:password'},{'kind':a93_0x284ac4(0x1df),'pattern':/\beyJ[A-Za-z0-9_-]{10,}\.[A-Za-z0-9_-]{10,}\.[A-Za-z0-9_-]{10,}\b/g,'label':a93_0x284ac4(0x1fa)}];export function sanitizeIssueDescription(_0x198e9b){const _0x339630=a93_0x284ac4,_0x15fdd8=Buffer[_0x339630(0x1e3)](_0x198e9b,_0x339630(0x1ea)),_0xc37b9b=process.env.RABETBASE_ISSUE_RAW_DESCRIPTION==='1';let _0x2178d5=_0x198e9b,_0x59a1cc=0x0;const _0x5163b4=[];if(!_0xc37b9b)for(const _0x443d23 of REDACTION_RULES){let _0xfb8ef4=0x0;_0x2178d5=_0x2178d5[_0x339630(0x1e9)](_0x443d23[_0x339630(0x1ed)],(_0x1b3be9,_0x55901b)=>{const _0x1d48fe=_0x339630;_0xfb8ef4+=0x1;const _0x43ae58=typeof _0x55901b===_0x1d48fe(0x1f3)?_0x55901b:'';return _0x43ae58+'['+_0x443d23[_0x1d48fe(0x1f4)]+']';}),_0xfb8ef4>0x0&&(_0x59a1cc+=_0xfb8ef4,!_0x5163b4[_0x339630(0x1e6)](_0x443d23['kind'])&&_0x5163b4[_0x339630(0x1f7)](_0x443d23[_0x339630(0x1f2)]));}let _0x3fe3c3=![];if(Buffer[_0x339630(0x1e3)](_0x2178d5,_0x339630(0x1ea))>ISSUE_DESCRIPTION_MAX_BYTES){_0x3fe3c3=!![];const _0x141f96=Buffer[_0x339630(0x1e3)](TRUNCATION_NOTICE,_0x339630(0x1ea)),_0x7457ca=Math[_0x339630(0x1e7)](0x0,ISSUE_DESCRIPTION_MAX_BYTES-_0x141f96);_0x2178d5=sliceUtf8Bytes(_0x2178d5,_0x7457ca)+TRUNCATION_NOTICE;}return{'description':_0x2178d5,'originalBytes':_0x15fdd8,'truncated':_0x3fe3c3,'redactionCount':_0x59a1cc,'redactionKinds':_0x5163b4};}function sliceUtf8Bytes(_0x23eba9,_0x2c1803){const _0x38203c=a93_0x284ac4;if(_0x2c1803<=0x0)return'';const _0x593e1f=Buffer[_0x38203c(0x1fb)](_0x23eba9,'utf8');if(_0x593e1f['byteLength']<=_0x2c1803)return _0x23eba9;let _0x3c425c=_0x2c1803;while(_0x3c425c>0x0){const _0x388d4f=_0x593e1f[_0x3c425c];if(_0x388d4f===undefined||(_0x388d4f&0xc0)!==0x80)break;_0x3c425c-=0x1;}return _0x593e1f['subarray'](0x0,_0x3c425c)[_0x38203c(0x1e8)](_0x38203c(0x1ea));}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a94_0x9d4f=a94_0x5d24;(function(_0x232c1d,_0x118ef7){const _0x4e29fc=a94_0x5d24,_0x100acc=_0x232c1d();while(!![]){try{const _0x50f217=-parseInt(_0x4e29fc(0xad))/0x1+parseInt(_0x4e29fc(0xae))/0x2+parseInt(_0x4e29fc(0xaa))/0x3+-parseInt(_0x4e29fc(0xc2))/0x4+-parseInt(_0x4e29fc(0xa9))/0x5*(-parseInt(_0x4e29fc(0xb2))/0x6)+parseInt(_0x4e29fc(0xa7))/0x7*(-parseInt(_0x4e29fc(0xc6))/0x8)+-parseInt(_0x4e29fc(0xc1))/0x9*(-parseInt(_0x4e29fc(0xb3))/0xa);if(_0x50f217===_0x118ef7)break;else _0x100acc['push'](_0x100acc['shift']());}catch(_0x400c8b){_0x100acc['push'](_0x100acc['shift']());}}}(a94_0xcf39,0x2cc64));import{logger}from'../../utils/logger.js';function a94_0x5d24(_0x22a379,_0x469790){_0x22a379=_0x22a379-0xa7;const _0xcf390b=a94_0xcf39();let _0x5d2445=_0xcf390b[_0x22a379];return _0x5d2445;}function printLogs(_0x3f5b64){const _0x5f1195=a94_0x5d24;if(_0x3f5b64[_0x5f1195(0xc4)]===0x0){console[_0x5f1195(0xab)](_0x5f1195(0xb9));return;}console[_0x5f1195(0xab)](_0x5f1195(0xb4)),_0x3f5b64[_0x5f1195(0xb7)]((_0x798699,_0x895df7)=>{const _0x2322e9=_0x5f1195,_0x241b56=new Date(_0x798699[_0x2322e9(0xb8)])[_0x2322e9(0xbf)]('en-US'),_0x56c15f=_0x798699['level']===_0x2322e9(0xc3)?'√':_0x798699[_0x2322e9(0xbc)]===_0x2322e9(0xa8)?'×':_0x798699[_0x2322e9(0xbc)]==='warn'?'!':'i';console[_0x2322e9(0xab)](_0x895df7+0x1+'.\x20'+_0x56c15f+'\x20['+_0x798699['command']+']\x20'+_0x798699[_0x2322e9(0xbd)]),console[_0x2322e9(0xab)](_0x2322e9(0xb5)+_0x241b56),_0x798699[_0x2322e9(0xac)]&&console[_0x2322e9(0xab)](_0x2322e9(0xaf)+_0x798699['duration']+'ms'),_0x798699[_0x2322e9(0xc0)]&&Object[_0x2322e9(0xba)](_0x798699['details'])[_0x2322e9(0xc4)]>0x0&&console[_0x2322e9(0xab)](_0x2322e9(0xbb)+JSON['stringify'](_0x798699[_0x2322e9(0xc0)],null,0x2)),console[_0x2322e9(0xab)]('');});}function a94_0xcf39(){const _0xbc140d=['details','1617813EqiHgU','218212DtQMjl','success','length','*\x20Logs\x20cleared','8PBQopR','clear','2339729taszAz','error','84390obqbFV','340980sKTeFa','log','duration','289285VZWgzP','562276XRkOkF','\x20\x20\x20Duration:\x20','logs','View\x20command\x20history\x20logs','102WcyUIN','10NsmBIR','*\x20Lovrabet\x20CLI\x20logs:\x0a','\x20\x20\x20Time:\x20','show','forEach','timestamp','*\x20No\x20logs\x20found','keys','\x20\x20\x20Details:\x20','level','message','clearLogs','toLocaleString'];a94_0xcf39=function(){return _0xbc140d;};return a94_0xcf39();}export const logsDefinitions=[{'service':'logs','command':a94_0x9d4f(0xb6),'description':a94_0x9d4f(0xb1),'risk':'read','requiresAuth':![],'requiresAppCode':![],'hasFormat':![],'flags':[],async 'execute'(_0x58fff4){return printLogs(logger['readLogs']()),{'ok':!![]};}},{'service':a94_0x9d4f(0xb0),'command':a94_0x9d4f(0xc7),'description':'Clear\x20command\x20history\x20logs','risk':'write','requiresAuth':![],'requiresAppCode':![],'hasFormat':![],'flags':[],async 'execute'(_0x462770){const _0x1d0914=a94_0x9d4f;return logger[_0x1d0914(0xbe)](),console[_0x1d0914(0xab)](_0x1d0914(0xc5)),{'ok':!![]};}}];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x5ea472,_0x3a990e){const _0x5e5c31=a95_0x45a2,_0x4188b8=_0x5ea472();while(!![]){try{const _0x9520f9=parseInt(_0x5e5c31(0xc9))/0x1*(parseInt(_0x5e5c31(0xcb))/0x2)+-parseInt(_0x5e5c31(0xc6))/0x3+-parseInt(_0x5e5c31(0xc8))/0x4+parseInt(_0x5e5c31(0xcd))/0x5+parseInt(_0x5e5c31(0xca))/0x6+-parseInt(_0x5e5c31(0xcc))/0x7*(parseInt(_0x5e5c31(0xce))/0x8)+-parseInt(_0x5e5c31(0xc7))/0x9;if(_0x9520f9===_0x3a990e)break;else _0x4188b8['push'](_0x4188b8['shift']());}catch(_0x7af91f){_0x4188b8['push'](_0x4188b8['shift']());}}}(a95_0x2b3c,0xf2eb6));import{menuList}from'../../commands/menu/list.js';import{menuSync}from'../../commands/menu/sync.js';function a95_0x2b3c(){const _0x43c26c=['4939452aPpJsm','38AxqZJS','7SEVlSd','9404840aDfqeW','5434752BrRqoe','2370369RDmLVH','12374793RuXeQB','503876BXLDPi','66379XpvTbY'];a95_0x2b3c=function(){return _0x43c26c;};return a95_0x2b3c();}function a95_0x45a2(_0x3167fc,_0x49a554){_0x3167fc=_0x3167fc-0xc6;const _0x2b3c8e=a95_0x2b3c();let _0x45a249=_0x2b3c8e[_0x3167fc];return _0x45a249;}import{menuUpdate}from'../../commands/menu/update.js';export const menuDefinitions=[menuList,menuSync,menuUpdate];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const a96_0x6281f6=a96_0x317d;function a96_0x317d(_0x4aa493,_0x1c77be){_0x4aa493=_0x4aa493-0x15a;const _0x5003fd=a96_0x5003();let _0x317d0a=_0x5003fd[_0x4aa493];return _0x317d0a;}function a96_0x5003(){const _0x25e9a1=['5221623fRAqiI','List\x20online\x20menu\x20facts\x20for\x20the\x20current\x20app','type','isFinite','index','resources','menu','isArray','path','sort','cookie','list','depth','137045vNlPkS','verbose','670066XttQfn','visible','children','7VEDGMW','580730crSiJM','parentId','561006IiLrWz','\x20menu(s)','/smartapi/menu/find?appCode=','869166seoNUe','198nUpOcO','3QdVVPp','string','item','read','Fetch\x20menu\x20list','length','84YtmEYo','860792FDFvWc','number','No\x20menus\x20found.','parse','POSITIVE_INFINITY','boolean','map','push','Return\x20extend\x20field\x20for\x20troubleshooting\x20resource\x20parsing','appCode','extend'];a96_0x5003=function(){return _0x25e9a1;};return a96_0x5003();}(function(_0x39a9c2,_0x1f4434){const _0x24bad8=a96_0x317d,_0x3cfc58=_0x39a9c2();while(!![]){try{const _0x124555=parseInt(_0x24bad8(0x160))/0x1+-parseInt(_0x24bad8(0x166))/0x2*(-parseInt(_0x24bad8(0x16b))/0x3)+-parseInt(_0x24bad8(0x171))/0x4*(-parseInt(_0x24bad8(0x15e))/0x5)+parseInt(_0x24bad8(0x169))/0x6+parseInt(_0x24bad8(0x163))/0x7*(-parseInt(_0x24bad8(0x172))/0x8)+parseInt(_0x24bad8(0x16a))/0x9*(-parseInt(_0x24bad8(0x164))/0xa)+parseInt(_0x24bad8(0x17d))/0xb;if(_0x124555===_0x1f4434)break;else _0x3cfc58['push'](_0x3cfc58['shift']());}catch(_0x2e88d0){_0x3cfc58['push'](_0x3cfc58['shift']());}}}(a96_0x5003,0xb9abb));import{APPCODE_FLAG_OPTIONAL}from'../../commands/common/flags.js';import{getApiDomain}from'../../constant/domain.js';import{platformFetch}from'../../core/api-client.js';export const menuList={'service':a96_0x6281f6(0x183),'command':a96_0x6281f6(0x15c),'description':a96_0x6281f6(0x17e),'risk':a96_0x6281f6(0x16e),'flags':[APPCODE_FLAG_OPTIONAL,{'name':a96_0x6281f6(0x15f),'type':a96_0x6281f6(0x177),'description':a96_0x6281f6(0x17a)}],async 'execute'(_0x2c9a4c){const _0xd42c6e=a96_0x6281f6,_0xbce2d4=_0x2c9a4c['bool'](_0xd42c6e(0x15f)),_0x5de93d=await platformFetch(getApiDomain()+_0xd42c6e(0x168)+_0x2c9a4c[_0xd42c6e(0x17b)],{'cookie':_0x2c9a4c[_0xd42c6e(0x15b)],'label':_0xd42c6e(0x16f)}),_0x5680b6=flattenMenuItems(Array[_0xd42c6e(0x184)](_0x5de93d)?_0x5de93d:[],{'verbose':_0xbce2d4,'parentId':null,'depth':0x0});return{'ok':!![],'data':{'total':_0x5680b6['length'],'menus':_0x5680b6},'message':_0x5680b6['length']===0x0?_0xd42c6e(0x174):'Found\x20'+_0x5680b6[_0xd42c6e(0x170)]+_0xd42c6e(0x167)};}};function flattenMenuItems(_0x37a530,_0x574030){const _0x5c0d3f=a96_0x6281f6,_0x1a6e90=sortMenuItems(_0x37a530),_0xaa347c=[];for(const _0x1346ab of _0x1a6e90){_0xaa347c[_0x5c0d3f(0x179)](toMenuListItem(_0x1346ab,_0x574030)),Array[_0x5c0d3f(0x184)](_0x1346ab['children'])&&_0x1346ab[_0x5c0d3f(0x162)][_0x5c0d3f(0x170)]>0x0&&_0xaa347c['push'](...flattenMenuItems(_0x1346ab[_0x5c0d3f(0x162)],{'verbose':_0x574030[_0x5c0d3f(0x15f)],'parentId':_0x1346ab['id'],'depth':_0x574030[_0x5c0d3f(0x15d)]+0x1}));}return _0xaa347c;}function sortMenuItems(_0x4ce201){const _0x4e9594=a96_0x6281f6;return _0x4ce201[_0x4e9594(0x178)]((_0x4e76a6,_0x128d79)=>({'item':_0x4e76a6,'index':_0x128d79}))['sort']((_0x5ead5e,_0x393e66)=>{const _0x5c3a40=_0x4e9594,_0x36f021=normalizeSort(_0x5ead5e[_0x5c3a40(0x16d)][_0x5c3a40(0x15a)]),_0x3a2fbf=normalizeSort(_0x393e66[_0x5c3a40(0x16d)][_0x5c3a40(0x15a)]);if(_0x36f021!==_0x3a2fbf)return _0x36f021-_0x3a2fbf;return _0x5ead5e[_0x5c3a40(0x181)]-_0x393e66[_0x5c3a40(0x181)];})[_0x4e9594(0x178)](({item:_0x4cef4b})=>_0x4cef4b);}function toMenuListItem(_0x28cb18,_0x5c53e5){const _0x95f5ae=a96_0x6281f6,_0x15712a={'id':_0x28cb18['id'],'parentId':_0x5c53e5[_0x95f5ae(0x165)],'depth':_0x5c53e5[_0x95f5ae(0x15d)],'label':normalizeString(_0x28cb18['label']),'path':normalizeString(_0x28cb18[_0x95f5ae(0x185)]),'type':normalizeString(_0x28cb18[_0x95f5ae(0x17f)]),'visible':typeof _0x28cb18[_0x95f5ae(0x161)]===_0x95f5ae(0x177)?_0x28cb18[_0x95f5ae(0x161)]:null,'sort':typeof _0x28cb18[_0x95f5ae(0x15a)]===_0x95f5ae(0x173)&&Number['isFinite'](_0x28cb18[_0x95f5ae(0x15a)])?_0x28cb18[_0x95f5ae(0x15a)]:null,'resources':normalizeResources(_0x28cb18['extend']?.[_0x95f5ae(0x182)])};return _0x5c53e5['verbose']&&(_0x15712a['extend']=_0x28cb18[_0x95f5ae(0x17c)]??null),_0x15712a;}function normalizeSort(_0x2ce92a){const _0xe233ff=a96_0x6281f6;return typeof _0x2ce92a==='number'&&Number[_0xe233ff(0x180)](_0x2ce92a)?_0x2ce92a:Number[_0xe233ff(0x176)];}function normalizeString(_0x37c69c){const _0xf22b20=a96_0x6281f6;return typeof _0x37c69c===_0xf22b20(0x16c)?_0x37c69c:'';}function normalizeResources(_0x2ed5f5){const _0x240914=a96_0x6281f6;if(Array[_0x240914(0x184)](_0x2ed5f5))return _0x2ed5f5[_0x240914(0x178)](String);if(typeof _0x2ed5f5!==_0x240914(0x16c))return[];try{const _0x127435=JSON[_0x240914(0x175)](_0x2ed5f5);return Array[_0x240914(0x184)](_0x127435)?_0x127435[_0x240914(0x178)](String):[];}catch{return[];}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function a97_0x45af(){const _0x4d98a1=['1478110QFQjqn','403605swOUDF','path','test','join','12lLqNDT','\x20menu(s)\x20will\x20be\x20updated\x20with\x20new\x20assets:','push','8QsrqZq','100NTQYiH','803064onCIRq','\x20page(s)\x20will\x20be\x20created\x20on\x20platform:','161055QsGNWS','(unchanged)','Platform','2223276uPYOpK','\x20\x20\x20\x20JS:\x20\x20','max','18717sPafWR','Menu\x20Name','label','showOnline','length','4102588rfkmHP','\x20\x20No\x20menus\x20with\x20existing\x20resources\x20found.','220RVLVOR','\x20\x20No\x20pages\x20to\x20sync.','repeat','\x20\x20\x20\x20CSS:\x20','Local','\x20\x20Affected\x20menus:\x20','\x20\x20\x20\x20•\x20'];a97_0x45af=function(){return _0x4d98a1;};return a97_0x45af();}function a97_0x5644(_0x166b1,_0xb2de4e){_0x166b1=_0x166b1-0x1b6;const _0x45af30=a97_0x45af();let _0x5644ad=_0x45af30[_0x166b1];return _0x5644ad;}(function(_0x5d2246,_0x4efa20){const _0x367303=a97_0x5644,_0x32802a=_0x5d2246();while(!![]){try{const _0x2785a6=-parseInt(_0x367303(0x1ca))/0x1+-parseInt(_0x367303(0x1c8))/0x2+-parseInt(_0x367303(0x1d0))/0x3*(parseInt(_0x367303(0x1b7))/0x4)+parseInt(_0x367303(0x1be))/0x5*(parseInt(_0x367303(0x1c3))/0x6)+parseInt(_0x367303(0x1d5))/0x7*(parseInt(_0x367303(0x1c6))/0x8)+parseInt(_0x367303(0x1bf))/0x9*(parseInt(_0x367303(0x1c7))/0xa)+-parseInt(_0x367303(0x1cd))/0xb;if(_0x2785a6===_0x4efa20)break;else _0x32802a['push'](_0x32802a['shift']());}catch(_0x33a7a7){_0x32802a['push'](_0x32802a['shift']());}}}(a97_0x45af,0x7e72a));function strWidth(_0x2dcfe7){const _0x284518=a97_0x5644;let _0x1ce40a=0x0;for(const _0x5f993e of _0x2dcfe7){_0x1ce40a+=/[\u4e00-\u9fa5]/[_0x284518(0x1c1)](_0x5f993e)?0x2:0x1;}return _0x1ce40a;}function padRight(_0x198e07,_0x333576){const _0x1421ad=a97_0x5644,_0x49a342=strWidth(_0x198e07);return _0x198e07+'\x20'[_0x1421ad(0x1b9)](Math[_0x1421ad(0x1cf)](0x0,_0x333576-_0x49a342));}export function renderCompareTable(_0x1e1db5,_0x126140={}){const _0x18c5ba=a97_0x5644;if(_0x1e1db5[_0x18c5ba(0x1d4)]===0x0)return'';const _0x28c597=_0x126140[_0x18c5ba(0x1d3)]??!![],_0x2074bb=Math['max'](0x1e,..._0x1e1db5['map'](_0x544f0a=>strWidth(_0x544f0a['label']))),_0x10b56f=0x4,_0x560f44=[],_0x4439b2='\x20\x20'+padRight(_0x18c5ba(0x1d1),_0x2074bb),_0x12310d=padRight(_0x18c5ba(0x1bb),_0x10b56f),_0x54c69e=_0x28c597?'\x20\x20'+padRight(_0x18c5ba(0x1cc),_0x10b56f):'';_0x560f44[_0x18c5ba(0x1c5)](_0x4439b2+'\x20\x20'+_0x12310d+(_0x28c597?_0x54c69e:'')),_0x560f44['push']('\x20\x20'+'─'[_0x18c5ba(0x1b9)](_0x2074bb)+'\x20\x20'+'─'[_0x18c5ba(0x1b9)](_0x10b56f)+(_0x28c597?'\x20\x20'+'─'[_0x18c5ba(0x1b9)](_0x10b56f):''));for(const _0x1e93d0 of _0x1e1db5){const _0x3b0c0c=padRight(_0x1e93d0[_0x18c5ba(0x1d2)],_0x2074bb),_0x3b1dc8=_0x1e93d0['local']?'✓':'✗',_0x32c8c1=padRight(_0x3b1dc8,_0x10b56f);let _0x2a34ba='\x20\x20'+_0x3b0c0c+'\x20\x20'+_0x32c8c1;if(_0x28c597){const _0x78efd0=_0x1e93d0['online']?'✓':'✗';_0x2a34ba+='\x20\x20'+padRight(_0x78efd0,_0x10b56f);}_0x560f44[_0x18c5ba(0x1c5)](_0x2a34ba);}return _0x560f44[_0x18c5ba(0x1c2)]('\x0a');}export function renderSyncSummary(_0x3c5c72,_0xa401eb){const _0x4cc22b=a97_0x5644;if(_0x3c5c72[_0x4cc22b(0x1d4)]===0x0)return _0xa401eb?'\x20\x20All\x20local\x20pages\x20are\x20already\x20on\x20platform.':_0x4cc22b(0x1b8);const _0x100988=['\x20\x20'+_0x3c5c72[_0x4cc22b(0x1d4)]+_0x4cc22b(0x1c9)];for(const _0x391017 of _0x3c5c72){_0x100988['push'](_0x4cc22b(0x1bd)+_0x391017[_0x4cc22b(0x1d2)]+'\x20('+_0x391017[_0x4cc22b(0x1c0)]+')');}return _0x100988[_0x4cc22b(0x1c2)]('\x0a');}export function renderUpdateSummary(_0x6a2394,_0x2e5786){const _0x116a46=a97_0x5644;if(_0x6a2394[_0x116a46(0x1d4)]===0x0)return _0x116a46(0x1b6);const _0x1a79c9=['\x20\x20'+_0x6a2394[_0x116a46(0x1d4)]+_0x116a46(0x1c4),_0x116a46(0x1ce)+(_0x2e5786[0x0]??'(unchanged)'),_0x116a46(0x1ba)+(_0x2e5786[0x1]??_0x116a46(0x1cb)),'',_0x116a46(0x1bc)+_0x6a2394[_0x116a46(0x1c2)](',\x20')];return _0x1a79c9[_0x116a46(0x1c2)]('\x0a');}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x1d4f14,_0x6afbbb){var _0x38130f=a98_0x112b,_0xce05c8=_0x1d4f14();while(!![]){try{var _0x2d2eed=-parseInt(_0x38130f(0x110))/0x1*(-parseInt(_0x38130f(0x10e))/0x2)+-parseInt(_0x38130f(0x10d))/0x3+parseInt(_0x38130f(0x10b))/0x4+-parseInt(_0x38130f(0x10a))/0x5+-parseInt(_0x38130f(0x106))/0x6*(-parseInt(_0x38130f(0x108))/0x7)+parseInt(_0x38130f(0x109))/0x8*(parseInt(_0x38130f(0x107))/0x9)+-parseInt(_0x38130f(0x10f))/0xa*(parseInt(_0x38130f(0x10c))/0xb);if(_0x2d2eed===_0x6afbbb)break;else _0xce05c8['push'](_0xce05c8['shift']());}catch(_0x21aaae){_0xce05c8['push'](_0xce05c8['shift']());}}}(a98_0x3d04,0xb9714));export*from'../../../commands/menu/shared/types.js';export*from'../../../commands/menu/shared/logic.js';export*from'../../../commands/menu/shared/compare-table.js';function a98_0x112b(_0x20c902,_0x1844c9){_0x20c902=_0x20c902-0x106;var _0x3d04dc=a98_0x3d04();var _0x112bde=_0x3d04dc[_0x20c902];return _0x112bde;}export*from'../../../commands/menu/shared/inquirer.js';export*from'../../../commands/menu/shared/valid-url.js';export*from'../../../commands/menu/shared/local-pages.js';export*from'../../../commands/menu/shared/service.js';export*from'../../../commands/menu/shared/sync-core.js';function a98_0x3d04(){var _0x378b86=['11jUSJLo','2151585vfUcSE','8YAsmHa','14230630FvmAou','157901JhVJpI','798xHJHyk','9uspbTg','79877pLcFsX','6994776ceHgVf','4053615SequNn','2747756LOyMXE'];a98_0x3d04=function(){return _0x378b86;};return a98_0x3d04();}export*from'../../../commands/menu/shared/update-core.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x2bd95c,_0x2b92d5){const _0x37cbf2=a99_0x315a,_0x30f242=_0x2bd95c();while(!![]){try{const _0x2c3dc5=parseInt(_0x37cbf2(0x77))/0x1*(-parseInt(_0x37cbf2(0x8d))/0x2)+-parseInt(_0x37cbf2(0x6b))/0x3+-parseInt(_0x37cbf2(0x8b))/0x4+-parseInt(_0x37cbf2(0x64))/0x5*(-parseInt(_0x37cbf2(0x85))/0x6)+parseInt(_0x37cbf2(0x79))/0x7*(-parseInt(_0x37cbf2(0x73))/0x8)+parseInt(_0x37cbf2(0x6f))/0x9*(parseInt(_0x37cbf2(0x7c))/0xa)+parseInt(_0x37cbf2(0x7f))/0xb;if(_0x2c3dc5===_0x2b92d5)break;else _0x30f242['push'](_0x30f242['shift']());}catch(_0x2ef827){_0x30f242['push'](_0x30f242['shift']());}}}(a99_0x3dbe,0xb6f10));function a99_0x3dbe(){const _0x571a5b=['start','3015249tnjCkt','path','Use\x20--yes\x20to\x20run\x20in\x20non-interactive\x20mode,\x20or\x20pipe\x20data\x20via\x20--params.','\x20\x20✗\x20CSS\x20URL\x20must\x20be\x20a\x20valid\x20https://...css\x20URL','9AsyZBT','stdin','includes','JS\x20URL\x20check\x20failed','1691992TelEwP','trim','map','label','3246KyEheH','JS\x20URL\x20checked','14LyRlaa','cancelled','CSS\x20URL\x20checked','3678830YRHsNh','\x20\x20CSS\x20URL:','No\x20menus\x20selected.','15801247zpLytc','red','This\x20command\x20requires\x20an\x20interactive\x20terminal.\x20','filter','\x20\x20Checking\x20JS\x20URL\x20reachability...','error','18yZUUAO','CSS\x20URL\x20check\x20failed','[new]','length','has','green','635524xiMNiQ','fail','424oweuwP','\x20\x20Select\x20menus\x20to\x20sync\x20(space\x20to\x20toggle,\x20a=all,\x20i=invert):','gray','2033470GcPPsx','\x20\x20Checking\x20CSS\x20URL\x20reachability...','cyan','[already\x20on\x20platform]','test','Cancelled.'];a99_0x3dbe=function(){return _0x571a5b;};return a99_0x3dbe();}import a99_0x49699e from'chalk';function a99_0x315a(_0x38d053,_0x59aa89){_0x38d053=_0x38d053-0x64;const _0x3dbe53=a99_0x3dbe();let _0x315a96=_0x3dbe53[_0x38d053];return _0x315a96;}import{checkbox,input,confirm}from'@inquirer/prompts';import a99_0x52d077 from'ora';import{isUrlReachable}from'../../../commands/menu/shared/valid-url.js';import{CliErrors}from'../../../errors.js';function onCancel(_0x11a16b){return _0x11a16b['catch'](_0x1e09df=>{const _0x109274=a99_0x315a;if(_0x1e09df?.['name']==='ExitPromptError')throw CliErrors[_0x109274(0x7a)](_0x109274(0x69));throw _0x1e09df;});}export function startSpinner(_0x468447){const _0x4ce407=a99_0x315a;return a99_0x52d077({'text':_0x468447,'color':_0x4ce407(0x66)})[_0x4ce407(0x6a)]();}export function stopSpinner(_0x47f1fa,_0x19ebca,_0x1df333){const _0x1ed74f=a99_0x315a;_0x1df333?_0x47f1fa['succeed'](_0x19ebca):_0x47f1fa[_0x1ed74f(0x8c)](_0x19ebca);}export async function askConfirm(_0x5d5165){return onCancel(confirm({'message':_0x5d5165,'theme':{'prefix':''}}));}export async function askJsUrl(_0x5dd10a){const _0x499745=a99_0x315a;while(!![]){const _0x4cfd13=await onCancel(input({'message':'\x20\x20JS\x20URL:','default':_0x5dd10a,'theme':{'prefix':''}}));if(_0x4cfd13[_0x499745(0x74)]()==='')throw CliErrors[_0x499745(0x7a)](_0x499745(0x69));if(!/^https:\/\/.+\.js(\?.*)?$/[_0x499745(0x68)](_0x4cfd13[_0x499745(0x74)]())){console[_0x499745(0x84)](a99_0x49699e[_0x499745(0x80)]('\x20\x20✗\x20JS\x20URL\x20must\x20be\x20a\x20valid\x20https://...js\x20URL'));continue;}const _0x429ffa=startSpinner(_0x499745(0x83));try{const _0x42ca63=await isUrlReachable(_0x4cfd13[_0x499745(0x74)]());stopSpinner(_0x429ffa,_0x499745(0x78),_0x42ca63);if(!_0x42ca63){console[_0x499745(0x84)](a99_0x49699e['red']('\x20\x20✗\x20JS\x20URL\x20is\x20unreachable'));continue;}return _0x4cfd13[_0x499745(0x74)]();}catch(_0x214119){stopSpinner(_0x429ffa,_0x499745(0x72),![]);throw _0x214119;}}}export async function askCssUrl(_0xda35e1){const _0x2a5764=a99_0x315a;while(!![]){const _0x512529=await onCancel(input({'message':_0x2a5764(0x7d),'default':_0xda35e1,'theme':{'prefix':''}}));if(_0x512529[_0x2a5764(0x74)]()==='')throw CliErrors[_0x2a5764(0x7a)](_0x2a5764(0x69));if(!/^https:\/\/.+\.css(\?.*)?$/[_0x2a5764(0x68)](_0x512529[_0x2a5764(0x74)]())){console[_0x2a5764(0x84)](a99_0x49699e[_0x2a5764(0x80)](_0x2a5764(0x6e)));continue;}const _0x321ff3=startSpinner(_0x2a5764(0x65));try{const _0x36df01=await isUrlReachable(_0x512529[_0x2a5764(0x74)]());stopSpinner(_0x321ff3,_0x2a5764(0x7b),_0x36df01);if(!_0x36df01){console[_0x2a5764(0x84)](a99_0x49699e['red']('\x20\x20✗\x20CSS\x20URL\x20is\x20unreachable'));continue;}return _0x512529[_0x2a5764(0x74)]();}catch(_0x3044d8){stopSpinner(_0x321ff3,_0x2a5764(0x86),![]);throw _0x3044d8;}}}export async function selectPages(_0x455a09,_0x2cf5a0,_0x139cc6){const _0xd5c136=a99_0x315a,_0x4b6073=_0x455a09[_0xd5c136(0x75)](_0x11d37e=>({'name':_0x11d37e['label']+'\x20\x20'+(_0x2cf5a0[_0xd5c136(0x89)](_0x11d37e[_0xd5c136(0x6c)])?a99_0x49699e[_0xd5c136(0x8f)](_0xd5c136(0x67)):a99_0x49699e[_0xd5c136(0x8a)](_0xd5c136(0x87))),'value':_0x11d37e[_0xd5c136(0x76)],'checked':_0x139cc6?_0x139cc6[_0xd5c136(0x71)](_0x11d37e['label']):!_0x2cf5a0[_0xd5c136(0x89)](_0x11d37e[_0xd5c136(0x6c)])}));if(_0x4b6073[_0xd5c136(0x88)]===0x0)throw new Error('No\x20local\x20pages\x20found.');const _0x319143=await onCancel(checkbox({'message':_0xd5c136(0x8e),'choices':_0x4b6073,'loop':![],'theme':{'prefix':''}}));if(_0x319143[_0xd5c136(0x88)]===0x0)throw new Error(_0xd5c136(0x7e));return _0x455a09[_0xd5c136(0x82)](_0x67e1a9=>_0x319143['includes'](_0x67e1a9[_0xd5c136(0x76)]));}export function isInteractive(){const _0x1a925a=a99_0x315a;return process[_0x1a925a(0x70)]['isTTY']===!![];}export function requireInteractive(){const _0x23b4f9=a99_0x315a;if(!isInteractive())throw new Error(_0x23b4f9(0x81)+_0x23b4f9(0x6d));}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a100_0x1622(){const _0x3b0c6b=['19108LqOmdj','path','index.tsx','2701323zzUfxN','endsWith','slice','1759194flAsbc','2465380roUMcb','5XaeZIS','replace','push','184CbdHbv','5840978RaEMEd','537942RvUbCM','src/pages','utf-8','10cBJYow','filter','cwd','concat','forEach','trim','replaceAll','20TddKBZ','117341UGbjRg','\x5c.displayName\x5cs*=\x5cs*[\x22\x27]([^\x22\x27]+)[\x22\x27]','match','.tsx'];a100_0x1622=function(){return _0x3b0c6b;};return a100_0x1622();}const a100_0x387f69=a100_0x4c44;(function(_0xfa42e9,_0x3903c5){const _0x227320=a100_0x4c44,_0x1e030d=_0xfa42e9();while(!![]){try{const _0x4d266d=parseInt(_0x227320(0x1e9))/0x1*(-parseInt(_0x227320(0x1ee))/0x2)+-parseInt(_0x227320(0x1f4))/0x3+parseInt(_0x227320(0x1f5))/0x4+parseInt(_0x227320(0x1f6))/0x5*(parseInt(_0x227320(0x1df))/0x6)+parseInt(_0x227320(0x1ea))/0x7*(-parseInt(_0x227320(0x1dd))/0x8)+-parseInt(_0x227320(0x1f1))/0x9*(-parseInt(_0x227320(0x1e2))/0xa)+parseInt(_0x227320(0x1de))/0xb;if(_0x4d266d===_0x3903c5)break;else _0x1e030d['push'](_0x1e030d['shift']());}catch(_0x20a7bc){_0x1e030d['push'](_0x1e030d['shift']());}}}(a100_0x1622,0x5b568));import{readdirSync,statSync,readFileSync}from'fs';import{join,relative,resolve,sep}from'path';const pagesDir=resolve(process[a100_0x387f69(0x1e4)](),a100_0x387f69(0x1e0));function a100_0x4c44(_0x4f0577,_0x2d5ff8){_0x4f0577=_0x4f0577-0x1dd;const _0x162263=a100_0x1622();let _0x4c445e=_0x162263[_0x4f0577];return _0x4c445e;}export function extractTitleFromComment(_0x5ce1f2){const _0x3f4c05=a100_0x387f69;try{const _0x1cc913=readFileSync(_0x5ce1f2,_0x3f4c05(0x1e1)),_0x45a193=_0x1cc913[_0x3f4c05(0x1ec)](/^\s*\/\*\*?([\s\S]*?)\*\//);if(_0x45a193&&_0x45a193[0x1]){const _0x534a81=_0x45a193[0x1],_0x2c14b0=_0x534a81[_0x3f4c05(0x1ec)](/^\s*\*?\s*title\s*:\s*(.+)/im);if(_0x2c14b0&&_0x2c14b0[0x1])return _0x2c14b0[0x1][_0x3f4c05(0x1e7)]();}let _0x5e732e=null;const _0x1fabfe=_0x1cc913[_0x3f4c05(0x1ec)](/export\s+default\s+([A-Z][a-zA-Z0-9]*)/);_0x1fabfe&&_0x1fabfe[0x1]&&(_0x5e732e=_0x1fabfe[0x1]);if(!_0x5e732e){const _0x5089db=_0x1cc913['match'](/export\s+default\s+function\s+([A-Z][a-zA-Z0-9]*)/);_0x5089db&&_0x5089db[0x1]&&(_0x5e732e=_0x5089db[0x1]);}if(_0x5e732e){const _0x53a4e9=new RegExp('\x5cb'+_0x5e732e+_0x3f4c05(0x1eb)),_0x4409c1=_0x1cc913[_0x3f4c05(0x1ec)](_0x53a4e9);if(_0x4409c1&&_0x4409c1[0x1])return _0x4409c1[0x1];return _0x5e732e;}return null;}catch(_0x589f4e){return null;}}export function getLocalPages(_0x1fe9e4=pagesDir,_0x593e5e=pagesDir){const _0x35d0e2=a100_0x387f69;let _0x45ed91=[];const _0x13e535=readdirSync(_0x1fe9e4);return _0x13e535[_0x35d0e2(0x1e6)](_0x372ef0=>{const _0x1d0f6c=_0x35d0e2,_0x19700c=join(_0x1fe9e4,_0x372ef0),_0x2ef4d4=statSync(_0x19700c);if(_0x2ef4d4&&_0x2ef4d4['isDirectory']())_0x45ed91=_0x45ed91[_0x1d0f6c(0x1e5)](getLocalPages(_0x19700c,_0x593e5e));else{if(_0x372ef0[_0x1d0f6c(0x1f2)](_0x1d0f6c(0x1ed))){let _0x1e4675=relative(_0x593e5e,_0x19700c);_0x1e4675['endsWith'](_0x1d0f6c(0x1f0))?_0x1e4675=_0x1e4675[_0x1d0f6c(0x1f7)](/index\.tsx$/,''):_0x1e4675=_0x1e4675[_0x1d0f6c(0x1f7)](/\.tsx$/,'');_0x1e4675[_0x1d0f6c(0x1f2)](sep)&&(_0x1e4675=_0x1e4675[_0x1d0f6c(0x1f3)](0x0,-0x1));const _0x293d2e=_0x1e4675['split'](sep)['join']('/'),_0x6558c=extractTitleFromComment(_0x19700c),_0x2d0499=_0x6558c||_0x293d2e;_0x45ed91[_0x1d0f6c(0x1f8)]({'path':_0x293d2e[_0x1d0f6c(0x1e8)]('$',':'),'label':_0x2d0499});}}}),_0x45ed91[_0x35d0e2(0x1e3)](_0x37739a=>_0x37739a[_0x35d0e2(0x1ef)]!=='');}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x2217b8,_0x4f6a5d){const _0x3efaea=a101_0x1222,_0xa682e0=_0x2217b8();while(!![]){try{const _0x1ac7d3=parseInt(_0x3efaea(0x124))/0x1*(parseInt(_0x3efaea(0x10f))/0x2)+parseInt(_0x3efaea(0x122))/0x3*(-parseInt(_0x3efaea(0x121))/0x4)+parseInt(_0x3efaea(0x126))/0x5*(-parseInt(_0x3efaea(0x110))/0x6)+-parseInt(_0x3efaea(0x118))/0x7*(-parseInt(_0x3efaea(0x113))/0x8)+-parseInt(_0x3efaea(0x120))/0x9+-parseInt(_0x3efaea(0x11f))/0xa+parseInt(_0x3efaea(0x115))/0xb*(parseInt(_0x3efaea(0x11b))/0xc);if(_0x1ac7d3===_0x4f6a5d)break;else _0xa682e0['push'](_0xa682e0['shift']());}catch(_0x5adab4){_0xa682e0['push'](_0xa682e0['shift']());}}}(a101_0x3999,0xab6ec));import{getLocalPages}from'../../../commands/menu/shared/local-pages.js';import{getOnlineMenuList,createMenus,updateMenuCdnUrl}from'../../../commands/menu/shared/service.js';import{isUrlReachable,isValidCssHttpsUrl,isValidJsHttpsUrl}from'../../../commands/menu/shared/valid-url.js';export function validateJsUrl(_0x99e4eb){const _0x100013=a101_0x1222,_0x304eb4=[];return!isValidJsHttpsUrl(_0x99e4eb)&&_0x304eb4['push'](_0x100013(0x117)),{'ok':_0x304eb4['length']===0x0,'errors':_0x304eb4};}export function validateCssUrl(_0xd8267a){const _0x5da516=a101_0x1222,_0x2e7329=[];return!isValidCssHttpsUrl(_0xd8267a)&&_0x2e7329[_0x5da516(0x125)]('CSS\x20URL\x20must\x20be\x20a\x20valid\x20https://...css\x20URL'),{'ok':_0x2e7329[_0x5da516(0x114)]===0x0,'errors':_0x2e7329};}export async function validateJsUrlReachable(_0x4efb16){const _0x2d77ea=a101_0x1222,_0x3f2d18=validateJsUrl(_0x4efb16);if(!_0x3f2d18['ok'])return _0x3f2d18;const _0x2691e0=await isUrlReachable(_0x4efb16);if(!_0x2691e0)_0x3f2d18[_0x2d77ea(0x10b)][_0x2d77ea(0x125)](_0x2d77ea(0x11a));return{'ok':_0x3f2d18[_0x2d77ea(0x10b)]['length']===0x0,'errors':_0x3f2d18[_0x2d77ea(0x10b)]};}export async function validateCssUrlReachable(_0x1f2eda){const _0x564245=a101_0x1222,_0x1dd6a9=validateCssUrl(_0x1f2eda);if(!_0x1dd6a9['ok'])return _0x1dd6a9;const _0x23d745=await isUrlReachable(_0x1f2eda);if(!_0x23d745)_0x1dd6a9[_0x564245(0x10b)][_0x564245(0x125)]('CSS\x20URL\x20is\x20unreachable');return{'ok':_0x1dd6a9[_0x564245(0x10b)][_0x564245(0x114)]===0x0,'errors':_0x1dd6a9[_0x564245(0x10b)]};}export function buildCompareRows(_0x3f676b,_0x3fdf75){const _0x2cb25c=a101_0x1222;return _0x3f676b[_0x2cb25c(0x123)](_0xe5dd22=>({'label':_0xe5dd22[_0x2cb25c(0x10c)],'path':_0xe5dd22[_0x2cb25c(0x11e)],'local':!![],'online':_0x3fdf75[_0x2cb25c(0x111)](_0xe5dd22[_0x2cb25c(0x11e)])}));}export function filterNewPages(_0x4f9067,_0x4236b1,_0x459278){const _0x4c28ea=a101_0x1222;if(_0x459278&&_0x459278['length']>0x0){const _0x2b8165=new Set(_0x459278[_0x4c28ea(0x123)](_0x37aa20=>_0x37aa20[_0x4c28ea(0x119)]())),_0x4d75e6=_0x4f9067[_0x4c28ea(0x11d)](_0xbdced3=>_0x2b8165[_0x4c28ea(0x111)](_0xbdced3[_0x4c28ea(0x10c)]));if(_0x4d75e6[_0x4c28ea(0x114)]===0x0)throw new Error(_0x4c28ea(0x112)+[..._0x2b8165][_0x4c28ea(0x10d)](',\x20'));return _0x4d75e6;}return _0x4f9067[_0x4c28ea(0x11d)](_0x2e1e06=>!_0x4236b1[_0x4c28ea(0x111)](_0x2e1e06['path']));}export function filterPagesByLabels(_0x21a16e,_0x4997e8){const _0x55e323=a101_0x1222,_0x4c6924=[],_0x4232b7=[];for(const _0x4b6804 of _0x4997e8){const _0x5e85bc=_0x4b6804[_0x55e323(0x119)](),_0x317776=_0x21a16e['find'](_0x2a92c3=>_0x2a92c3['label']===_0x5e85bc);if(_0x317776)_0x4c6924[_0x55e323(0x125)](_0x317776);else _0x4232b7[_0x55e323(0x125)](_0x4b6804);}return{'matched':_0x4c6924,'unmatched':_0x4232b7};}export async function doCreateMenus(_0x25a906,_0x553788,_0x1534d1,_0xdc93a2){const _0x4bb427=a101_0x1222,_0x515f2e=await createMenus(_0x25a906,_0x553788,_0x1534d1,_0xdc93a2);return{'created':_0x515f2e['length'],'failed':0x0,'labels':_0x1534d1[_0x4bb427(0x123)](_0xf66b4d=>_0xf66b4d[_0x4bb427(0x10c)]),'menus':_0x515f2e};}export function filterMenusWithResources(_0x310350){const _0x563be9=a101_0x1222;return _0x310350[_0x563be9(0x11d)](_0x4229ac=>_0x4229ac[_0x563be9(0x11c)][_0x563be9(0x114)]>0x0);}function a101_0x3999(){const _0x3a0185=['has','No\x20local\x20pages\x20matched\x20labels:\x20','11227688tdfVnw','length','803zVPhcV','status','JS\x20URL\x20must\x20be\x20a\x20valid\x20https://...js\x20URL','7ygvoxC','trim','JS\x20URL\x20is\x20unreachable','56796QavOWh','resources','filter','path','11567630mTPVDN','655812ExDuvn','604msFZeO','10401qaIEJo','map','1rrkSJq','push','756990qJGjvM','errors','label','join','extend','1715528VNYaUb','6hMTHYX'];a101_0x3999=function(){return _0x3a0185;};return a101_0x3999();}function a101_0x1222(_0x1335f0,_0x30b8a0){_0x1335f0=_0x1335f0-0x10b;const _0x3999b7=a101_0x3999();let _0x122226=_0x3999b7[_0x1335f0];return _0x122226;}export async function doUpdateCdnUrls(_0x3d1612,_0x4500f2,_0x27ebe6,_0x4bbe46){const _0x37f008=a101_0x1222,_0x170861=_0x27ebe6[_0x37f008(0x11d)](_0x347b20=>_0x347b20[_0x37f008(0x11c)][_0x37f008(0x114)]>0x0),_0x193a80=await Promise['allSettled'](_0x170861[_0x37f008(0x123)](_0x5281f1=>updateMenuCdnUrl(_0x3d1612,_0x4500f2,{'id':_0x5281f1['id'],'label':_0x5281f1[_0x37f008(0x10c)],'path':_0x5281f1['path'],'resources':_0x4bbe46,'extend':_0x5281f1[_0x37f008(0x10e)]??null}))),_0x67ee10=_0x193a80[_0x37f008(0x11d)](_0x5d8b00=>_0x5d8b00[_0x37f008(0x116)]==='fulfilled')['map'](_0xd385a5=>_0xd385a5['value']),_0x110eee=_0x193a80[_0x37f008(0x11d)](_0x2b5123=>_0x2b5123[_0x37f008(0x116)]==='rejected')['length'];return{'updated':_0x67ee10[_0x37f008(0x114)],'failed':_0x110eee,'menus':_0x67ee10};}export async function fetchMenuData(_0xbca9c4,_0x2c2c3c){const _0x1b63bf=a101_0x1222,_0x9ce75e=getLocalPages(),_0xe84ca8=await getOnlineMenuList(_0xbca9c4,_0x2c2c3c),_0x45ef4d=new Set(_0xe84ca8['map'](_0x3ada58=>_0x3ada58[_0x1b63bf(0x11e)]));return{'localPages':_0x9ce75e,'onlineMenuList':_0xe84ca8,'onlinePaths':_0x45ef4d};}export async function fetchOnlineMenuList(_0x25058e,_0x473250){return getOnlineMenuList(_0x25058e,_0x473250);}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a102_0x19b7(){const _0x1ae473=['flat','procode','Fetched\x20','create-menus','update-menu-cdn-url','Fetching\x20daily\x20menu\x20list...\x20(appCode:\x20','458224LAznFi','1730PEzvMo','length','path','/smartapi/menu/find?appCode=','label','map','string','stringify','Create\x20menu\x20\x22','7988zsbwwb','Updating\x20menu\x20asset\x20links:\x20','children','Menu\x20assets\x20synced:\x20','Fetching\x20online\x20menu\x20list...\x20(appCode:\x20','POST','24588cYZrPt','3VUoNjl','Creating\x20menu:\x20','97mHnvqD','info','Server\x20returned\x20empty\x20menu\x20list','import','31788CEuEHi','resources','426308YeuSua','1179895yMThgo','743407aWxePq','all','/smartapi/menu/create','isArray','\x20online\x20menus\x20successfully','create-menu','push','get-online-menu-list','Menu\x20created\x20successfully:\x20'];a102_0x19b7=function(){return _0x1ae473;};return a102_0x19b7();}(function(_0x24c279,_0x62d6a9){const _0x26b65f=a102_0x5f55,_0x730701=_0x24c279();while(!![]){try{const _0x2f0a39=-parseInt(_0x26b65f(0x128))/0x1*(-parseInt(_0x26b65f(0x11f))/0x2)+parseInt(_0x26b65f(0x126))/0x3*(-parseInt(_0x26b65f(0x12e))/0x4)+parseInt(_0x26b65f(0x12f))/0x5+parseInt(_0x26b65f(0x12c))/0x6+parseInt(_0x26b65f(0x130))/0x7+parseInt(_0x26b65f(0x13f))/0x8+-parseInt(_0x26b65f(0x125))/0x9*(parseInt(_0x26b65f(0x140))/0xa);if(_0x2f0a39===_0x62d6a9)break;else _0x730701['push'](_0x730701['shift']());}catch(_0x3c3db9){_0x730701['push'](_0x730701['shift']());}}}(a102_0x19b7,0x33fe1));import{getApiDomain}from'../../../constant/domain.js';import{getEnv,isProduction}from'../../../constant/env.js';import{logger}from'../../../utils/logger.js';import{platformFetch}from'../../../core/api-client.js';export async function getOnlineMenuList(_0x5b7eeb,_0x22c03f){const _0x5ac747=a102_0x5f55,_0x421ad0=getEnv();logger[_0x5ac747(0x129)](_0x5ac747(0x137),isProduction(_0x421ad0)?_0x5ac747(0x123)+_0x5b7eeb+')':_0x5ac747(0x13e)+_0x5b7eeb+')');const _0xdb02d4=await platformFetch(getApiDomain()+_0x5ac747(0x119)+_0x5b7eeb,{'cookie':_0x22c03f,'label':'Fetch\x20menu\x20list'});if(!_0xdb02d4)return logger[_0x5ac747(0x129)](_0x5ac747(0x137),_0x5ac747(0x12a)),[];return logger['info'](_0x5ac747(0x137),_0x5ac747(0x13b)+_0xdb02d4['length']+_0x5ac747(0x134)),_0xdb02d4['map'](flattenMenuItem)[_0x5ac747(0x139)]();}function flattenMenuItem(_0x1b27e7){const _0x5314e5=a102_0x5f55;let _0x234f18=[];try{const _0x5a217e=_0x1b27e7['extend']?.[_0x5314e5(0x12d)];if(typeof _0x5a217e===_0x5314e5(0x11c)){const _0x3be286=JSON['parse'](_0x5a217e);if(Array[_0x5314e5(0x133)](_0x3be286))_0x234f18=_0x3be286[_0x5314e5(0x11b)](String);}else Array[_0x5314e5(0x133)](_0x5a217e)&&(_0x234f18=_0x5a217e['map'](String));}catch{}const _0x7e69c6=[{'id':_0x1b27e7['id'],'path':_0x1b27e7[_0x5314e5(0x142)],'label':_0x1b27e7[_0x5314e5(0x11a)],'resources':_0x234f18,'extend':_0x1b27e7['extend']??null}];if(_0x1b27e7[_0x5314e5(0x121)]&&_0x1b27e7[_0x5314e5(0x121)][_0x5314e5(0x141)]>0x0)for(const _0x949780 of _0x1b27e7[_0x5314e5(0x121)]){_0x7e69c6[_0x5314e5(0x136)](...flattenMenuItem(_0x949780));}return _0x7e69c6;}export async function createMenu(_0x2cd34b,_0x56951a,_0x1c540a){const _0x545f71=a102_0x5f55;logger[_0x545f71(0x129)](_0x545f71(0x135),_0x545f71(0x127)+_0x1c540a[_0x545f71(0x11a)]+'\x20('+_0x1c540a[_0x545f71(0x142)]+')');const _0x1371ca={'appCode':_0x2cd34b,'type':'procode','sort':0x0,'extend':{'loadScriptMode':_0x545f71(0x12b),'resources':_0x1c540a[_0x545f71(0x12d)]?JSON['stringify'](_0x1c540a[_0x545f71(0x12d)]):undefined},..._0x1c540a},_0x36367b=await platformFetch(getApiDomain()+_0x545f71(0x132),{'method':_0x545f71(0x124),'body':_0x1371ca,'cookie':_0x56951a,'label':_0x545f71(0x11e)+_0x1c540a[_0x545f71(0x11a)]+'\x22'});return logger['info']('create-menu',_0x545f71(0x138)+_0x1c540a[_0x545f71(0x11a)]),_0x36367b;}function a102_0x5f55(_0x5d59f4,_0xb86933){_0x5d59f4=_0x5d59f4-0x119;const _0x19b71b=a102_0x19b7();let _0x5f5513=_0x19b71b[_0x5d59f4];return _0x5f5513;}async function createSingleMenu(_0x59d11e,_0x411622,_0x3d06b2,_0x23765a){const _0x5d7569=a102_0x5f55,_0x134d80={'appCode':_0x59d11e,'type':_0x5d7569(0x13a),'sort':0x0,'extend':{'loadScriptMode':_0x5d7569(0x12b),'resources':_0x23765a?JSON[_0x5d7569(0x11d)](_0x23765a):undefined},'label':_0x3d06b2[_0x5d7569(0x11a)],'path':_0x3d06b2[_0x5d7569(0x142)]},_0x1872bd=await platformFetch(getApiDomain()+_0x5d7569(0x132),{'method':_0x5d7569(0x124),'body':_0x134d80,'cookie':_0x411622,'label':_0x5d7569(0x11e)+_0x3d06b2[_0x5d7569(0x11a)]+'\x22'});return logger[_0x5d7569(0x129)](_0x5d7569(0x135),'Menu\x20created\x20successfully:\x20'+_0x3d06b2[_0x5d7569(0x11a)]),_0x1872bd;}export async function createMenus(_0x16dd05,_0x1427d0,_0x1dabd1,_0x317d95){const _0x5e9c7b=a102_0x5f55;logger['info'](_0x5e9c7b(0x13c),'Start\x20batch\x20menu\x20creation,\x20total\x20'+_0x1dabd1['length']);const _0xc83cb=await Promise[_0x5e9c7b(0x131)](_0x1dabd1['map'](_0x3e1deb=>createSingleMenu(_0x16dd05,_0x1427d0,_0x3e1deb,_0x317d95)));return logger[_0x5e9c7b(0x129)](_0x5e9c7b(0x13c),'Batch\x20menu\x20creation\x20completed,\x20total\x20'+_0x1dabd1[_0x5e9c7b(0x141)]),_0xc83cb;}export async function updateMenuCdnUrl(_0x578682,_0x6832f2,_0x4387f9){const _0x298848=a102_0x5f55;logger[_0x298848(0x129)](_0x298848(0x13d),_0x298848(0x120)+_0x4387f9[_0x298848(0x11a)]+'\x20('+_0x4387f9[_0x298848(0x142)]+')');const _0x1eda69={'id':_0x4387f9['id'],'appCode':_0x578682,'extend':{..._0x4387f9['extend']??{},'loadScriptMode':_0x298848(0x12b),'resources':_0x4387f9['resources']?JSON['stringify'](_0x4387f9[_0x298848(0x12d)]):undefined}},_0x301d0a=await platformFetch(getApiDomain()+'/smartapi/menu/update',{'method':'POST','body':_0x1eda69,'cookie':_0x6832f2,'label':'Update\x20menu\x20assets\x20\x22'+_0x4387f9[_0x298848(0x11a)]+'\x22'});return logger[_0x298848(0x129)](_0x298848(0x13d),_0x298848(0x122)+_0x4387f9['label'],undefined),_0x301d0a;}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x50ffd6,_0x5cbf60){const _0x53cf37=a103_0x2945,_0x39e445=_0x50ffd6();while(!![]){try{const _0x463ee6=-parseInt(_0x53cf37(0x1fb))/0x1+parseInt(_0x53cf37(0x1e9))/0x2+-parseInt(_0x53cf37(0x204))/0x3+parseInt(_0x53cf37(0x1ef))/0x4+parseInt(_0x53cf37(0x1ea))/0x5+-parseInt(_0x53cf37(0x1ff))/0x6+parseInt(_0x53cf37(0x200))/0x7;if(_0x463ee6===_0x5cbf60)break;else _0x39e445['push'](_0x39e445['shift']());}catch(_0x4b90fa){_0x39e445['push'](_0x39e445['shift']());}}}(a103_0x391d,0xa6856));import{getLocalPages}from'../../../commands/menu/shared/local-pages.js';import{getOnlineMenuList,createMenus}from'../../../commands/menu/shared/service.js';function a103_0x2945(_0x481464,_0x156f7b){_0x481464=_0x481464-0x1dd;const _0x391dd6=a103_0x391d();let _0x2945df=_0x391dd6[_0x481464];return _0x2945df;}import{isUrlReachable,isValidCssHttpsUrl,isValidJsHttpsUrl}from'../../../commands/menu/shared/valid-url.js';import{logger}from'../../../utils/logger.js';function validateParams(_0x2cd0fa){const _0x4edff0=a103_0x2945,_0x316597=[];return _0x2cd0fa['jsUrl']&&!isValidJsHttpsUrl(_0x2cd0fa[_0x4edff0(0x1f3)])&&_0x316597[_0x4edff0(0x1e1)]({'field':'jsUrl','message':_0x4edff0(0x1f0)}),_0x2cd0fa[_0x4edff0(0x1fe)]&&!isValidCssHttpsUrl(_0x2cd0fa[_0x4edff0(0x1fe)])&&_0x316597[_0x4edff0(0x1e1)]({'field':'cssUrl','message':_0x4edff0(0x205)}),_0x316597;}function a103_0x391d(){const _0x3602e3=['string','end','jsUrl','filter','trim','isArray','menu-sync','concat','data','setLogPath','202278iesgJh','info','Invalid\x20--params:\x20','cssUrl','2429112UzYVKX','8166088hGemDt','map','Menu\x20sync\x20completed','--params.','3117024RbrDzX','CSS\x20URL\x20must\x20be\x20a\x20valid\x20https://...css\x20URL','path','startsWith','object','label','split','push','readableEnded','pages','No\x20local\x20pages\x20matched\x20labels:\x20','join','\x0a\x20\x20Available\x20local\x20pages:\x20','field','JS\x20URL\x20is\x20unreachable:\x20','776710icxEdr','332605EUipAf','length','CSS\x20URL\x20is\x20unreachable:\x20','stdin','has','2826992zCWMcI','JS\x20URL\x20must\x20be\x20a\x20valid\x20https://...js\x20URL'];a103_0x391d=function(){return _0x3602e3;};return a103_0x391d();}export async function runMenuSyncCore(_0x462896,_0x178fe9,_0x1bd227=[],_0x5d2404){const _0x555aab=a103_0x2945,_0x438fa6=parseParamsFlag(_0x5d2404),_0x5d6cb5=_0x1bd227[_0x555aab(0x1eb)]>0x0?_0x1bd227:_0x438fa6['selectedLabels'],_0x1dd043=_0x438fa6[_0x555aab(0x1f3)],_0x31fad9=_0x438fa6['cssUrl'],_0x1edb55=[];if(_0x1dd043)_0x1edb55[_0x555aab(0x1e1)](_0x1dd043);if(_0x31fad9)_0x1edb55[_0x555aab(0x1e1)](_0x31fad9);const _0x242ddc=validateParams(_0x438fa6);if(_0x242ddc[_0x555aab(0x1eb)]>0x0){const _0x575d99=_0x242ddc[_0x555aab(0x201)](_0x1ca212=>_0x555aab(0x203)+_0x1ca212[_0x555aab(0x1e7)]+':\x20'+_0x1ca212['message'])[_0x555aab(0x1e5)](';\x20');throw new Error(_0x555aab(0x1fd)+_0x575d99);}logger[_0x555aab(0x1fa)](process['cwd']()),logger['info'](_0x555aab(0x1f7),'Start\x20non-interactive\x20menu\x20sync',{'appCode':_0x462896,'selectedCount':_0x5d6cb5?.['length'],'jsUrl':_0x1dd043,'cssUrl':_0x31fad9});if(_0x1dd043){const _0x5208eb=await isUrlReachable(_0x1dd043);if(!_0x5208eb)throw new Error(_0x555aab(0x1e8)+_0x1dd043);}if(_0x31fad9){const _0x58a9ef=await isUrlReachable(_0x31fad9);if(!_0x58a9ef)throw new Error(_0x555aab(0x1ec)+_0x31fad9);}const _0x422c14=getLocalPages();if(_0x422c14[_0x555aab(0x1eb)]===0x0)return{'created':0x0,'skipped':!![],'targetPages':[]};const _0x3f0dd3=await getOnlineMenuList(_0x462896,_0x178fe9),_0x2aa305=new Set(_0x3f0dd3[_0x555aab(0x201)](_0xe6d083=>_0xe6d083[_0x555aab(0x206)]));let _0x3671a7;if(_0x5d6cb5&&_0x5d6cb5['length']>0x0){const _0x5597ff=new Set(_0x5d6cb5[_0x555aab(0x201)](_0x1efb2d=>_0x1efb2d[_0x555aab(0x1f5)]()));_0x3671a7=_0x422c14[_0x555aab(0x1f4)](_0x42f002=>_0x5597ff[_0x555aab(0x1ee)](_0x42f002[_0x555aab(0x1df)]));if(_0x3671a7[_0x555aab(0x1eb)]===0x0){const _0x263e60=_0x422c14[_0x555aab(0x201)](_0x3f9daf=>_0x3f9daf[_0x555aab(0x1df)])['join'](',\x20');throw new Error(_0x555aab(0x1e4)+[..._0x5597ff][_0x555aab(0x1e5)](',\x20')+_0x555aab(0x1e6)+_0x263e60);}}else _0x3671a7=_0x422c14[_0x555aab(0x1f4)](_0x3b0ada=>!_0x2aa305[_0x555aab(0x1ee)](_0x3b0ada[_0x555aab(0x206)]));if(_0x3671a7[_0x555aab(0x1eb)]===0x0)return{'created':0x0,'skipped':!![],'targetPages':[]};const _0x528db0=await createMenus(_0x462896,_0x178fe9,_0x3671a7,_0x1edb55['length']>0x0?_0x1edb55:undefined);return logger[_0x555aab(0x1fc)](_0x555aab(0x1f7),_0x555aab(0x202),{'count':_0x3671a7[_0x555aab(0x1eb)],'resources':_0x1edb55}),{'created':_0x528db0['length'],'skipped':![],'targetPages':_0x3671a7,'menus':_0x528db0};}export async function readPageLabelsFromStdin(){const _0x1559f6=a103_0x2945;if(!process['stdin']['isTTY']&&!process[_0x1559f6(0x1ed)][_0x1559f6(0x1e2)])return new Promise(_0x4bbf8d=>{const _0x393794=_0x1559f6,_0x23bd91=[];process[_0x393794(0x1ed)]['on'](_0x393794(0x1f9),_0x13d2c2=>_0x23bd91[_0x393794(0x1e1)](_0x13d2c2)),process[_0x393794(0x1ed)]['on'](_0x393794(0x1f2),()=>{const _0x4c3d0c=_0x393794,_0x1a4315=Buffer[_0x4c3d0c(0x1f8)](_0x23bd91)['toString']('utf8'),_0x18fe79=_0x1a4315[_0x4c3d0c(0x1e0)]('\x0a')['map'](_0x39a46c=>_0x39a46c['trim']())[_0x4c3d0c(0x1f4)](_0x4ed11d=>_0x4ed11d[_0x4c3d0c(0x1eb)]>0x0&&!_0x4ed11d[_0x4c3d0c(0x1dd)]('#'));_0x4bbf8d(_0x18fe79);}),setTimeout(()=>_0x4bbf8d([]),0x1f4);});return[];}function parseParamsFlag(_0x4d9de4){const _0x7775a0=a103_0x2945;if(!_0x4d9de4||typeof _0x4d9de4!==_0x7775a0(0x1f1))return{};try{const _0x4bfdf6=JSON['parse'](_0x4d9de4);if(typeof _0x4bfdf6!==_0x7775a0(0x1de)||_0x4bfdf6===null||Array[_0x7775a0(0x1f6)](_0x4bfdf6))return{};return{'selectedLabels':Array[_0x7775a0(0x1f6)](_0x4bfdf6['pages'])?_0x4bfdf6[_0x7775a0(0x1e3)][_0x7775a0(0x201)](String):undefined,'jsUrl':typeof _0x4bfdf6['jsUrl']===_0x7775a0(0x1f1)?_0x4bfdf6[_0x7775a0(0x1f3)][_0x7775a0(0x1f5)]():undefined,'cssUrl':typeof _0x4bfdf6['cssUrl']===_0x7775a0(0x1f1)?_0x4bfdf6[_0x7775a0(0x1fe)][_0x7775a0(0x1f5)]():undefined};}catch{return{};}}
|