@things-factory/meta-ui 6.0.122 → 6.0.124

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 (77) hide show
  1. package/client/actions/main.js +4 -4
  2. package/client/bootstrap.js +20 -5
  3. package/client/component/filter/filter-form-resource-code-select.ts +94 -0
  4. package/client/component/filter/filter-grist-resource-code-select.ts +95 -0
  5. package/client/component/grist/editor/ox-grist-editor-resource-code-selector.js +9 -0
  6. package/client/component/grist/renderer/ox-grist-renderer-resource-code-selector.js +1 -0
  7. package/client/component/grist/selector/ox-resource-code-selector-popup.js +40 -0
  8. package/client/mixin/meta-base-mixin.js +1 -1
  9. package/client/mixin/meta-basic-grist-mixin.js +4 -4
  10. package/client/mixin/meta-button-mixin.js +1 -1
  11. package/client/mixin/meta-form-mixin.js +1 -1
  12. package/client/mixin/meta-grist-tab-mixin.js +1 -1
  13. package/client/mixin/meta-master-detail-mixin.js +1 -1
  14. package/client/mixin/meta-service-mixin.js +1 -1
  15. package/client/mixin/meta-tab-detail-mixin.js +1 -1
  16. package/client/mixin/meta-tab-mixin.js +1 -1
  17. package/client/pages/activity/meta-activity-list-page.js +6 -6
  18. package/client/pages/activity/meta-activity-viewer-element.js +3 -3
  19. package/client/pages/activity/meta-activity-writer-element.js +3 -3
  20. package/client/pages/activity/meta-activiy-mixin.js +3 -3
  21. package/client/pages/entity/config-entity.js +29 -29
  22. package/client/pages/entity/main-menu-selector.js +8 -8
  23. package/client/pages/history/history-copy-list-popup.js +5 -5
  24. package/client/pages/history/history-json-list-popup.js +6 -6
  25. package/client/pages/loading-page.js +5 -5
  26. package/client/pages/menu/dynamic-menu-template.js +7 -7
  27. package/client/pages/menu/dynamic-menu.js +15 -15
  28. package/client/pages/meta-form-element.js +1 -1
  29. package/client/pages/meta-grist-element.js +1 -1
  30. package/client/pages/meta-grist-page.js +1 -1
  31. package/client/pages/meta-grist-tab-element.js +1 -1
  32. package/client/pages/meta-grist-tab-page.js +1 -1
  33. package/client/pages/meta-master-detail-element.js +1 -1
  34. package/client/pages/meta-master-detail-page.js +1 -1
  35. package/client/pages/meta-tab-detail-element.js +1 -1
  36. package/client/pages/meta-tab-detail-page.js +1 -1
  37. package/client/pages/meta-tab-element.js +1 -1
  38. package/client/pages/personalize/personal-column-selector.js +11 -11
  39. package/client/pages/terms/config-terminology.js +6 -6
  40. package/client/pages/work-code/work-code-detail-popup.js +1 -1
  41. package/client/pages/work-code/work-code-page.js +1 -1
  42. package/client/reducers/main.js +1 -1
  43. package/client/utils/meta-api.js +1 -1
  44. package/client/utils/meta-crypto.js +1 -1
  45. package/client/utils/meta-ui-util.js +95 -95
  46. package/client/utils/service-util.js +13 -13
  47. package/client/utils/terms-util.js +2 -2
  48. package/client/utils/ui-util.js +1 -1
  49. package/client/utils/value-util.js +1 -1
  50. package/client/viewparts/dynamic-menu-landscape-styles.js +1 -1
  51. package/client/viewparts/dynamic-menu-landscape.js +10 -10
  52. package/client/viewparts/dynamic-menu-part.js +10 -10
  53. package/client/viewparts/dynamic-menu-portrait-styles.js +2 -2
  54. package/client/viewparts/dynamic-menu-portrait.js +9 -9
  55. package/client/viewparts/dynamic-top-menu-bar.js +7 -7
  56. package/package.json +5 -5
  57. package/server/activity/CommonActivity.js +2 -2
  58. package/server/constants/error-code.js +1 -1
  59. package/server/errors/license-error.js +1 -1
  60. package/server/routes.js +1 -1
  61. package/server/service/grid-personalize/grid-personalize-mutation.js +1 -1
  62. package/server/service/grid-personalize/grid-personalize-query.js +1 -1
  63. package/server/service/grid-personalize/grid-personalize-type.js +1 -1
  64. package/server/service/grid-personalize/grid-personalize.js +1 -1
  65. package/server/service/meta-activity/meta-activity-mutation.js +1 -1
  66. package/server/service/meta-activity/meta-activity-query.js +1 -1
  67. package/server/service/meta-activity/meta-activity-type.js +1 -1
  68. package/server/service/meta-secret/meta-resolver.js +1 -1
  69. package/server/service/set-translations/set-translation-resolver.js +1 -1
  70. package/server/service/work-code/work-code-mutation.js +1 -1
  71. package/server/service/work-code/work-code-query.js +1 -1
  72. package/server/service/work-code/work-code-type.js +1 -1
  73. package/server/service/work-code/work-code.js +1 -1
  74. package/server/service/work-code-detail/work-code-detail-mutation.js +1 -1
  75. package/server/service/work-code-detail/work-code-detail-query.js +1 -1
  76. package/server/service/work-code-detail/work-code-detail-type.js +1 -1
  77. package/server/service/work-code-detail/work-code-detail.js +1 -1
@@ -1,4 +1,4 @@
1
- const a0_0x12986f=a0_0x8da1;(function(_0x5f19b8,_0x364dd0){const _0x3d4247=a0_0x8da1,_0x39c478=_0x5f19b8();while(!![]){try{const _0x15085c=parseInt(_0x3d4247(0x242))/0x1*(-parseInt(_0x3d4247(0x226))/0x2)+parseInt(_0x3d4247(0x210))/0x3+parseInt(_0x3d4247(0x228))/0x4+parseInt(_0x3d4247(0x1e7))/0x5*(parseInt(_0x3d4247(0x24e))/0x6)+parseInt(_0x3d4247(0x239))/0x7+parseInt(_0x3d4247(0x223))/0x8*(-parseInt(_0x3d4247(0x1f9))/0x9)+-parseInt(_0x3d4247(0x20f))/0xa;if(_0x15085c===_0x364dd0)break;else _0x39c478['push'](_0x39c478['shift']());}catch(_0x59c29f){_0x39c478['push'](_0x39c478['shift']());}}}(a0_0x4009,0x64722));import{store,gqlContext}from'@things-factory/shell';import{getCodeByName}from'@things-factory/code-base';import{EXPORT}from'@things-factory/export-base';import{gqlBuilder}from'@things-factory/utils';import{client}from'@operato/graphql';import{TermsUtil}from'./terms-util';function a0_0x8da1(_0x74237c,_0x5e1569){const _0x400972=a0_0x4009();return a0_0x8da1=function(_0x8da165,_0x54e45a){_0x8da165=_0x8da165-0x1df;let _0x372d9b=_0x400972[_0x8da165];return _0x372d9b;},a0_0x8da1(_0x74237c,_0x5e1569);}import{UiUtil}from'./ui-util';import a0_0x294d68 from'graphql-tag';import{ValueUtil}from'./value-util';function a0_0x4009(){const _0x269c0c=['hiddenFlag','codeItems','draft-list','reduce','getWorkCodeByName','value','unshift','text.nothing_selected','513GFFStM','HIDDEN-PAGE','badge','columns','__dirtyfields__','text.there_is_nothing_to_delete','\x0a\x20\x20\x20\x20','name','category','question','message','getCodeByEntity','isNotEmpty','gridPersonalizeTemplates','map','success\x20to\x20save','creator','routing','callScenario','__seq__','buildArgs','text.nothing_changed','10594550hsYBWR','2228547UtuFTt','cancel','text.are_you_sure','routingType','HOME','data','xlsx','text.NOTHING_CHANGED','deleteListByGristSelected','errors','showAlertPopup','test','error','getCodeByScenario','numberOfToDos','isEmpty','\x0a\x20\x20\x20\x20\x20\x20','searchByPagination','iconPath','71464EDWBAN','includes','split','136270YHKMJG','info','3111452UGChGU','\x0a\x20\x20\x20\x20\x20\x20id\x0a\x20\x20\x20\x20\x20\x20parent\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20id\x0a\x20\x20\x20\x20\x20\x20\x20\x20name\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20children{\x0a\x20\x20\x20\x20\x20\x20\x20\x20id\x0a\x20\x20\x20\x20\x20\x20\x20\x20name\x0a\x20\x20\x20\x20\x20\x20\x20\x20description\x0a\x20\x20\x20\x20\x20\x20\x20\x20menuType\x0a\x20\x20\x20\x20\x20\x20\x20\x20category\x0a\x20\x20\x20\x20\x20\x20\x20\x20routingType\x0a\x20\x20\x20\x20\x20\x20\x20\x20routing\x0a\x20\x20\x20\x20\x20\x20\x20\x20resourceUrl\x0a\x20\x20\x20\x20\x20\x20\x20\x20iconPath\x0a\x20\x20\x20\x20\x20\x20\x20\x20hiddenFlag\x0a\x20\x20\x20\x20\x20\x20\x20\x20rank\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20name\x0a\x20\x20\x20\x20\x20\x20description\x0a\x20\x20\x20\x20\x20\x20menuType\x0a\x20\x20\x20\x20\x20\x20category\x0a\x20\x20\x20\x20\x20\x20routingType\x0a\x20\x20\x20\x20\x20\x20routing\x0a\x20\x20\x20\x20\x20\x20resourceUrl\x0a\x20\x20\x20\x20\x20\x20iconPath\x0a\x20\x20\x20\x20','menuType','checkClientError','parse','noteq','resourceUrl','getSelectedIdList','filter','gutter','__selected__','searchMyDynamicMenus','menus','undefined','query','active','updateMultipleData','1245363uKoMOn','showGraphqlErrorResponse','updateMultiple','hidden','object','key','parent','display','children','5ZrXWUP','showGraphqlException','records','SCREEN','push','length','imex','_config','delete','runScenario','updater','MENU','3732696zHQtAI','result','patchesForUpdateMultiple','showToast','tMenu','workCodeByName','cuFlag','rank','__dirty__','deleteListByIds','myDynamicMenus','forEach','confirm','description','details','networkError','path','record','5UglMDq','success\x20to\x20process','numberOfApprovalPendings','GROUP','tText','sort','arrangeMenuRoutes','type','fetch','extensions'];a0_0x4009=function(){return _0x269c0c;};return a0_0x4009();}import{asyncReplace}from'lit/directives/async-replace.js';import a0_0x4ff301 from'i18next';import{generateActivitySummary,startSubscribeActivitySummary}from'@things-factory/worklist';export class ServiceUtil{static async[a0_0x12986f(0x1f2)](_0x1f051f){const _0x20d747=a0_0x12986f;if(Array['isArray'](_0x1f051f))return _0x1f051f[_0x20d747(0x207)](_0x8429e5=>_0x20d747(0x23d)==typeof _0x8429e5?{'name':_0x8429e5[_0x20d747(0x1f6)],'description':_0x8429e5[_0x20d747(0x240)]}:{'name':_0x8429e5,'description':_0x8429e5});let _0x5c5de2=await ServiceUtil['getWorkCodeByName'](_0x1f051f);return _0x5c5de2&&_0x5c5de2[_0x20d747(0x247)]>0x0?_0x5c5de2:await getCodeByName(_0x1f051f);}static async[a0_0x12986f(0x1f5)](_0x20d440){const _0x4b1e25=a0_0x12986f,_0xf07902=await client[_0x4b1e25(0x236)]({'query':a0_0x294d68`
1
+ const a0_0x3c5331=a0_0x2d85;(function(_0x39f14e,_0x468780){const _0x21f677=a0_0x2d85,_0xfc2c4a=_0x39f14e();while(!![]){try{const _0x3128d9=-parseInt(_0x21f677(0x220))/0x1+-parseInt(_0x21f677(0x221))/0x2*(parseInt(_0x21f677(0x227))/0x3)+parseInt(_0x21f677(0x1d9))/0x4+parseInt(_0x21f677(0x22b))/0x5+parseInt(_0x21f677(0x1f3))/0x6+-parseInt(_0x21f677(0x1da))/0x7*(parseInt(_0x21f677(0x1cd))/0x8)+parseInt(_0x21f677(0x1ce))/0x9;if(_0x3128d9===_0x468780)break;else _0xfc2c4a['push'](_0xfc2c4a['shift']());}catch(_0x34769b){_0xfc2c4a['push'](_0xfc2c4a['shift']());}}}(a0_0x554f,0xddf0b));import{store,gqlContext}from'@things-factory/shell';import{getCodeByName}from'@things-factory/code-base';import{EXPORT}from'@things-factory/export-base';import{gqlBuilder}from'@things-factory/utils';import{client}from'@operato/graphql';function a0_0x554f(){const _0x24414e=['showAlertPopup','showToast','dirtyRecords','delete','tMenu','button.delete','296kCqugL','13810689DrcPBu','details','\x0a\x20\x20\x20\x20\x20\x20','noteq','data','hidden','group','_config','findIndex','reduce','updateMultipleData','1924924hZKdCZ','259406MZrhBJ','query','success\x20to\x20process','test','draft-list','numberOfApprovalPendings','fetch','result','__origin__','tText','resourceUrl','gutter','networkError','todo-list','showGraphqlErrorResponse','codeItems','__dirty__','undefined','records','parent','getCodeByScenario','button.','updatedAt','message','xlsx','2484864jyeQEg','key','object','menuType','getCodeByEntity','value','SCREEN','text.nothing_selected','splice','checkClientError','name','cancel','HOME','searchByPagination','Graphql\x20Error','arrangeMenuRoutes','updater','code','showGraphqlException','question','buildArgs','filter','__seq__','imex','numberOfDrafts','isNotEmpty','exportableData','text.nothing_changed','patchesForUpdateMultiple','template','error','numberOfToDos','getSelectedIdList','children','menu.id','description','HIDDEN-PAGE','parse','category','id,template','unshift','push','\x0a\x20\x20\x20\x20','map','path','240382iDmsQq','2nWlIxo','record','split','extensions','runScenario','getCodeSelectorData','4990803CtSrwh','routingType','routing','__selected__','8771500YJaNTb','title','text.there_is_nothing_to_delete','items','total','errors','isEmpty','callScenario','badge','info','updateMultiple','deleteListByGristSelected','\x0a\x20\x20\x20\x20\x20\x20id\x0a\x20\x20\x20\x20\x20\x20parent\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20id\x0a\x20\x20\x20\x20\x20\x20\x20\x20name\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20children{\x0a\x20\x20\x20\x20\x20\x20\x20\x20id\x0a\x20\x20\x20\x20\x20\x20\x20\x20name\x0a\x20\x20\x20\x20\x20\x20\x20\x20description\x0a\x20\x20\x20\x20\x20\x20\x20\x20menuType\x0a\x20\x20\x20\x20\x20\x20\x20\x20category\x0a\x20\x20\x20\x20\x20\x20\x20\x20routingType\x0a\x20\x20\x20\x20\x20\x20\x20\x20routing\x0a\x20\x20\x20\x20\x20\x20\x20\x20resourceUrl\x0a\x20\x20\x20\x20\x20\x20\x20\x20iconPath\x0a\x20\x20\x20\x20\x20\x20\x20\x20hiddenFlag\x0a\x20\x20\x20\x20\x20\x20\x20\x20rank\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20name\x0a\x20\x20\x20\x20\x20\x20description\x0a\x20\x20\x20\x20\x20\x20menuType\x0a\x20\x20\x20\x20\x20\x20category\x0a\x20\x20\x20\x20\x20\x20routingType\x0a\x20\x20\x20\x20\x20\x20routing\x0a\x20\x20\x20\x20\x20\x20resourceUrl\x0a\x20\x20\x20\x20\x20\x20iconPath\x0a\x20\x20\x20\x20','success\x20to\x20delete','getWorkCodeByName','workCodeByName','MENU','menus','creator','forEach','length','rank','gridPersonalizeTemplates','deleteListByIds','confirm','isArray','columns','text.are_you_sure','selected','GROUP','type'];a0_0x554f=function(){return _0x24414e;};return a0_0x554f();}import{TermsUtil}from'./terms-util';import{UiUtil}from'./ui-util';import a0_0x246edb from'graphql-tag';import{ValueUtil}from'./value-util';import{asyncReplace}from'lit/directives/async-replace.js';function a0_0x2d85(_0x2debdd,_0x1fc1c1){const _0x554f25=a0_0x554f();return a0_0x2d85=function(_0x2d85f2,_0x13bb8b){_0x2d85f2=_0x2d85f2-0x1ad;let _0x4d126d=_0x554f25[_0x2d85f2];return _0x4d126d;},a0_0x2d85(_0x2debdd,_0x1fc1c1);}import a0_0x2b9b42 from'i18next';import{generateActivitySummary,startSubscribeActivitySummary}from'@things-factory/worklist';export class ServiceUtil{static async[a0_0x3c5331(0x1e9)](_0x37dea4){const _0x5c0f28=a0_0x3c5331;if(Array[_0x5c0f28(0x1c1)](_0x37dea4))return _0x37dea4[_0x5c0f28(0x21e)](_0x496379=>'object'==typeof _0x496379?{'name':_0x496379['value'],'description':_0x496379['display']}:{'name':_0x496379,'description':_0x496379});let _0x24b143=await ServiceUtil[_0x5c0f28(0x1b6)](_0x37dea4);return _0x24b143&&_0x24b143['length']>0x0?_0x24b143:await getCodeByName(_0x37dea4);}static async['getWorkCodeByName'](_0xf9af34){const _0x207cf8=a0_0x3c5331,_0x439b97=await client[_0x207cf8(0x1db)]({'query':a0_0x246edb`
2
2
  query workCodeByName($name: String!) {
3
3
  workCodeByName(name: $name) {
4
4
  details {
@@ -8,32 +8,32 @@ const a0_0x12986f=a0_0x8da1;(function(_0x5f19b8,_0x364dd0){const _0x3d4247=a0_0x
8
8
  }
9
9
  }
10
10
  }
11
- `,'variables':{'name':_0x20d440},'context':gqlContext()});return!_0xf07902[_0x4b1e25(0x219)]&&_0xf07902[_0x4b1e25(0x215)][_0x4b1e25(0x253)]&&_0xf07902[_0x4b1e25(0x215)][_0x4b1e25(0x253)]['details']?_0xf07902[_0x4b1e25(0x215)][_0x4b1e25(0x253)][_0x4b1e25(0x1e3)]['sort']((_0x5dc26f,_0x3f8fcc)=>_0x5dc26f['rank']-_0x3f8fcc['rank']):[];}static async['getCodeSelectorData'](_0x47b1c1){const _0x18a8b7=a0_0x12986f;let _0x195e0d=(await ServiceUtil['codeItems'](_0x47b1c1))[_0x18a8b7(0x207)](_0x33f820=>({'value':_0x33f820[_0x18a8b7(0x200)],'display':_0x33f820[_0x18a8b7(0x1e2)]}));return _0x195e0d['unshift']({'value':'','display':''}),_0x195e0d;}static async[a0_0x12986f(0x21d)](_0x54f729,_0x5349b1){const _0x1e05e3=a0_0x12986f;let _0x464742=await ServiceUtil[_0x1e05e3(0x20b)](null,_0x54f729,_0x5349b1);return _0x464742[_0x1e05e3(0x1f7)]({'name':'','description':''}),_0x464742[_0x1e05e3(0x207)](_0x25de91=>({'value':_0x25de91[_0x1e05e3(0x200)],'display':_0x25de91[_0x1e05e3(0x1e2)]}));}static async[a0_0x12986f(0x204)]({queryName:_0x18dabf,codeField:_0x259afd=a0_0x12986f(0x200),dispField:_0x5f7f4='description',filters:_0x1249cf=[],sorters:_0x5822d1=[]}){const _0x83c37b=a0_0x12986f;let _0x2d29e6=_0x83c37b(0x220)+_0x259afd+_0x83c37b(0x220)+_0x5f7f4+_0x83c37b(0x1ff),_0x5095d1=await ServiceUtil['searchByPagination'](_0x18dabf,_0x1249cf,_0x5822d1,0x0,0x0,_0x2d29e6),_0x357079=[{'name':'','description':''}];return _0x5095d1['records'][_0x83c37b(0x1e0)](_0xc84320=>{const _0x48ac89=_0x83c37b;_0x357079[_0x48ac89(0x246)]({'value':_0xc84320[_0x259afd],'display':_0xc84320[_0x5f7f4]});}),_0x357079;}static async[a0_0x12986f(0x1df)](){const _0x57eab7=a0_0x12986f;let _0x1c8d13=await ServiceUtil[_0x57eab7(0x233)]();return null!=_0x1c8d13?ServiceUtil['arrangeMenuRoutes'](_0x1c8d13):null;}static async['searchMenuGridPersnalTemplate'](_0x59354b){const _0x1ad86f=a0_0x12986f;let _0x5c6414=[{'name':'menu.id','operator':'eq','value':_0x59354b}],_0x358e14=await ServiceUtil[_0x1ad86f(0x221)](_0x1ad86f(0x206),_0x5c6414,[],0x0,0x0,'id,template');return 0x0==_0x358e14['total']?{}:{'id':_0x358e14[_0x1ad86f(0x244)][0x0]['id'],'template':JSON[_0x1ad86f(0x22c)](_0x358e14[_0x1ad86f(0x244)][0x0]['template'])};}static[a0_0x12986f(0x1ed)](_0x34342c){const _0x57cfb8=a0_0x12986f;let _0x9e9e55=[];_0x34342c[_0x57cfb8(0x1e0)](_0x169a10=>{const _0x5350fc=_0x57cfb8;_0x9e9e55[_0x5350fc(0x246)](_0x169a10),_0x169a10['children']&&(_0x169a10['children'][_0x5350fc(0x1ec)](function(_0x2ee9f3,_0x7d13f5){const _0x4302db=_0x5350fc;return _0x2ee9f3['rank']-_0x7d13f5[_0x4302db(0x255)];}),_0x169a10[_0x5350fc(0x241)][_0x5350fc(0x1e0)](_0x4f2d4d=>{const _0x8a041=_0x5350fc;0x1!=_0x4f2d4d[_0x8a041(0x1f1)]&&(_0x4f2d4d[_0x8a041(0x23f)]=_0x169a10,_0x9e9e55[_0x8a041(0x246)](_0x4f2d4d));}));});let _0x22a329=_0x9e9e55[_0x57cfb8(0x207)](_0x470db7=>{const _0x57c1a7=_0x57cfb8;if(_0x57c1a7(0x1ea)==_0x470db7[_0x57c1a7(0x22a)]||_0x57c1a7(0x24d)==_0x470db7[_0x57c1a7(0x22a)]){let _0x64e2da={'id':_0x470db7['id'],'parent':!0x0,'name':TermsUtil['tMenu'](_0x470db7[_0x57c1a7(0x200)]),'icon':_0x470db7['iconPath'],'type':_0x57c1a7(0x1ea)==_0x470db7[_0x57c1a7(0x22a)]?'group':'','menus':[]};return _0x470db7[_0x57c1a7(0x20a)]&&(_0x64e2da[_0x57c1a7(0x1e5)]=_0x470db7['routing']),_0x64e2da;}return{'id':'0'};})[_0x57cfb8(0x230)](_0x56b759=>'0'!=_0x56b759['id']),_0x59ff8e=_0x9e9e55[_0x57cfb8(0x207)](_0x40230d=>{const _0x55b218=_0x57cfb8;if(_0x55b218(0x245)==_0x40230d['menuType']||_0x55b218(0x1fa)==_0x40230d[_0x55b218(0x22a)]){let _0x363e5b=_0x22a329['find'](_0x2e7918=>_0x2e7918['id']==_0x40230d['parent']['id']);if(_0x363e5b){let _0x250fa6=TermsUtil[_0x55b218(0x252)](_0x40230d[_0x55b218(0x200)]);return'SCREEN'==_0x40230d[_0x55b218(0x22a)]&&_0x363e5b[_0x55b218(0x234)][_0x55b218(0x246)]({'id':_0x40230d['id'],'name':_0x250fa6,'path':_0x40230d['routing'],'icon':_0x40230d[_0x55b218(0x222)]}),{'id':_0x40230d['id'],'parent':!0x1,'parent_id':_0x363e5b['id'],'title':_0x250fa6,'tagname':_0x40230d['category'],'page':_0x40230d[_0x55b218(0x20a)],'template':_0x40230d[_0x55b218(0x22e)],'routing_type':_0x40230d[_0x55b218(0x213)]};}return{'id':'0'};}return _0x55b218(0x214)==_0x40230d[_0x55b218(0x22a)]?{'id':_0x40230d['id'],'parent':!0x0,'parent_id':null,'title':TermsUtil[_0x55b218(0x252)](_0x40230d[_0x55b218(0x200)]),'tagname':_0x40230d[_0x55b218(0x201)],'page':_0x40230d[_0x55b218(0x20a)],'template':_0x40230d[_0x55b218(0x22e)],'routing_type':_0x40230d[_0x55b218(0x213)]}:{'id':'0'};})[_0x57cfb8(0x230)](_0x1c2e31=>null!=_0x1c2e31&&'0'!=_0x1c2e31['id']);_0x22a329[_0x57cfb8(0x230)](_0x44961f=>'group'==_0x44961f[_0x57cfb8(0x1ee)]&&_0x44961f[_0x57cfb8(0x234)]&&_0x44961f[_0x57cfb8(0x234)][_0x57cfb8(0x247)]>0x0)['forEach'](_0x266730=>{const _0x25c532=_0x57cfb8;let _0x16c45b=_0x22a329['findIndex'](_0x3068b1=>_0x3068b1['id']==_0x266730['id'])+0x1;_0x22a329['splice'](_0x16c45b,0x0,..._0x266730[_0x25c532(0x234)]);});let _0x432cec=0x0;return _0x22a329[_0x57cfb8(0x1e0)](_0x2fb04f=>{const _0x96cedb=_0x57cfb8;'todo-list'==_0x2fb04f['path']?(_0x432cec++,_0x2fb04f[_0x96cedb(0x1fb)]=()=>asyncReplace(generateActivitySummary(_0x96cedb(0x21e))),_0x2fb04f['active']=({path:_0x467f42})=>/^activity\//[_0x96cedb(0x21b)](_0x467f42)):'approval-pending-list'==_0x2fb04f[_0x96cedb(0x1e5)]?(_0x432cec++,_0x2fb04f[_0x96cedb(0x1fb)]=()=>asyncReplace(generateActivitySummary(_0x96cedb(0x1e9))),_0x2fb04f[_0x96cedb(0x237)]=({path:_0x16005b})=>/^activity\//[_0x96cedb(0x21b)](_0x16005b)):_0x96cedb(0x1f3)==_0x2fb04f[_0x96cedb(0x1e5)]&&(_0x432cec++,_0x2fb04f[_0x96cedb(0x1fb)]=()=>asyncReplace(generateActivitySummary('numberOfDrafts')));}),_0x432cec>0x0&&startSubscribeActivitySummary(),{'menus':_0x22a329,'routes':_0x59ff8e};}static async[a0_0x12986f(0x233)](){const _0x1ddb85=a0_0x12986f;let _0x5a4a0b=await ServiceUtil['searchByPagination'](_0x1ddb85(0x234),[{'name':'hiddenFlag','operator':_0x1ddb85(0x22d),'value':!0x0},{'name':'menuType','operator':'in','value':['HOME',_0x1ddb85(0x24d),'GROUP']}],[{'name':_0x1ddb85(0x255)}],0x0,0x0,_0x1ddb85(0x229));return _0x5a4a0b?_0x5a4a0b[_0x1ddb85(0x244)]:[];}static async[a0_0x12986f(0x23a)](_0x32d513){const _0x12d74d=a0_0x12986f;if(_0x32d513['errors']&&_0x32d513[_0x12d74d(0x219)][_0x12d74d(0x247)]>0x0){let _0x42de0d=_0x32d513[_0x12d74d(0x219)][0x0],_0x2c343b=_0x42de0d[_0x12d74d(0x203)],_0x3dd993=_0x42de0d[_0x12d74d(0x203)];_0x42de0d[_0x12d74d(0x1f0)]&&(_0x3dd993=_0x42de0d[_0x12d74d(0x1f0)]['code']),await UiUtil['showAlertPopup'](_0x3dd993,_0x2c343b,'error',_0x12d74d(0x1e1));}}static async[a0_0x12986f(0x243)](_0x5c0285){const _0x59c72d=a0_0x12986f;_0x5c0285&&(_0x5c0285[_0x59c72d(0x1e4)]&&_0x5c0285[_0x59c72d(0x1e4)][_0x59c72d(0x24f)]?await ServiceUtil['showGraphqlErrorResponse'](_0x5c0285[_0x59c72d(0x1e4)][_0x59c72d(0x24f)]):await UiUtil[_0x59c72d(0x21a)]('Graphql\x20Error',_0x5c0285[_0x59c72d(0x203)],_0x59c72d(0x21c),'confirm'));}static async['exportableData'](_0x170729,_0x407e75,_0x3031d8){const _0x554778=a0_0x12986f;var _0x35574=_0x3031d8['_config'][_0x554778(0x1fc)][_0x554778(0x230)](_0x47452a=>'gutter'!==_0x47452a['type']&&void 0x0!==_0x47452a[_0x554778(0x1e6)]&&void 0x0!==_0x47452a[_0x554778(0x248)]&&!0x0!==_0x47452a[_0x554778(0x23c)])[_0x554778(0x207)](_0x1be89e=>_0x1be89e[_0x554778(0x248)]),_0x2351bd=_0x3031d8[_0x554778(0x215)][_0x554778(0x244)][_0x554778(0x207)](_0x32f430=>({..._0x3031d8[_0x554778(0x249)][_0x554778(0x1fc)]['filter'](_0xe724f2=>_0x554778(0x231)!==_0xe724f2['type']&&void 0x0!==_0xe724f2[_0x554778(0x1e6)]&&void 0x0!==_0xe724f2[_0x554778(0x248)]&&!0x0!==_0xe724f2[_0x554778(0x23c)])['reduce']((_0x1ef285,_0x36a147)=>(_0x1ef285[_0x36a147['imex'][_0x554778(0x23e)]]=_0x36a147['imex'][_0x554778(0x23e)][_0x554778(0x225)]('.')[_0x554778(0x1f4)]((_0x23ad49,_0x1405a5)=>_0x23ad49&&_0x554778(0x235)!==_0x23ad49[_0x1405a5]?_0x23ad49[_0x1405a5]:void 0x0,_0x32f430),_0x1ef285),{})}));if(!_0x170729)return{'header':_0x35574,'data':_0x2351bd};store['dispatch']({'type':EXPORT,'exportable':{'extension':_0x554778(0x216),'name':_0x407e75,'data':{'header':_0x35574,'data':_0x2351bd}}});}static async[a0_0x12986f(0x221)](_0x5ba5eb,_0xc1d80a,_0x1fe3db,_0x1cae9f,_0x325980,_0x4fb140){const _0x3a4810=a0_0x12986f;try{const _0x22ef49=await client[_0x3a4810(0x236)]({'query':a0_0x294d68`
11
+ `,'variables':{'name':_0xf9af34},'context':gqlContext()});return!_0x439b97[_0x207cf8(0x1ad)]&&_0x439b97[_0x207cf8(0x1d2)][_0x207cf8(0x1b7)]&&_0x439b97[_0x207cf8(0x1d2)][_0x207cf8(0x1b7)][_0x207cf8(0x1cf)]?_0x439b97[_0x207cf8(0x1d2)]['workCodeByName'][_0x207cf8(0x1cf)]['sort']((_0x59c86f,_0x3246ab)=>_0x59c86f[_0x207cf8(0x1bd)]-_0x3246ab[_0x207cf8(0x1bd)]):[];}static async[a0_0x3c5331(0x226)](_0xf6f985){const _0x1bc7b8=a0_0x3c5331;let _0x4133ba=(await ServiceUtil[_0x1bc7b8(0x1e9)](_0xf6f985))[_0x1bc7b8(0x21e)](_0x532f60=>({'value':_0x532f60[_0x1bc7b8(0x1fd)],'display':_0x532f60[_0x1bc7b8(0x216)]}));return _0x4133ba[_0x1bc7b8(0x21b)]({'value':'','display':''}),_0x4133ba;}static async[a0_0x3c5331(0x1ee)](_0x23de10,_0x2b72a2){const _0x3426f1=a0_0x3c5331;let _0x1cb048=await ServiceUtil['callScenario'](null,_0x23de10,_0x2b72a2);return _0x1cb048['unshift']({'value':'','display':''}),_0x1cb048[_0x3426f1(0x21e)](_0x51c5a0=>({'value':_0x51c5a0[_0x3426f1(0x1fd)],'display':_0x51c5a0[_0x3426f1(0x216)]}));}static async[a0_0x3c5331(0x1f7)]({queryName:_0xdd80e6,codeField:_0x22c956=a0_0x3c5331(0x1fd),dispField:_0x412a2a=a0_0x3c5331(0x216),filters:_0x18bbd1=[],sorters:_0x335771=[]}){const _0x211410=a0_0x3c5331;let _0x14174d=_0x211410(0x1d0)+_0x22c956+_0x211410(0x1d0)+_0x412a2a+_0x211410(0x21d),_0x24f661=await ServiceUtil['searchByPagination'](_0xdd80e6,_0x18bbd1,_0x335771,0x0,0x0,_0x14174d),_0xa906c=[{'value':'','display':''}];return _0x24f661[_0x211410(0x1ec)]['forEach'](_0x31327e=>{_0xa906c['push']({'value':_0x31327e[_0x22c956],'display':_0x31327e[_0x412a2a]});}),_0xa906c;}static async['myDynamicMenus'](){let _0x4b035a=await ServiceUtil['searchMyDynamicMenus']();return null!=_0x4b035a?ServiceUtil['arrangeMenuRoutes'](_0x4b035a):null;}static async['searchMenuGridPersnalTemplate'](_0x8cb35c){const _0xc30ab0=a0_0x3c5331;let _0x1e8ef9=[{'name':_0xc30ab0(0x215),'operator':'eq','value':_0x8cb35c}],_0x1ea1ed=await ServiceUtil[_0xc30ab0(0x200)](_0xc30ab0(0x1be),_0x1e8ef9,[],0x0,0x0,_0xc30ab0(0x21a));return 0x0==_0x1ea1ed[_0xc30ab0(0x22f)]?{}:{'id':_0x1ea1ed['records'][0x0]['id'],'template':JSON[_0xc30ab0(0x218)](_0x1ea1ed[_0xc30ab0(0x1ec)][0x0][_0xc30ab0(0x210)])};}static[a0_0x3c5331(0x202)](_0x2b12d6){const _0x51fd95=a0_0x3c5331;let _0x54880d=[];_0x2b12d6[_0x51fd95(0x1bb)](_0x1f97f4=>{const _0x2e2d4d=_0x51fd95;_0x54880d[_0x2e2d4d(0x21c)](_0x1f97f4),_0x1f97f4[_0x2e2d4d(0x214)]&&(_0x1f97f4[_0x2e2d4d(0x214)]['sort'](function(_0x4e0cc2,_0x563b42){return _0x4e0cc2['rank']-_0x563b42['rank'];}),_0x1f97f4[_0x2e2d4d(0x214)][_0x2e2d4d(0x1bb)](_0x1e0c56=>{const _0x4ef218=_0x2e2d4d;0x1!=_0x1e0c56['hiddenFlag']&&(_0x1e0c56[_0x4ef218(0x1ed)]=_0x1f97f4,_0x54880d[_0x4ef218(0x21c)](_0x1e0c56));}));});let _0x475fac=_0x54880d['map'](_0x292088=>{const _0x1702a0=_0x51fd95;if(_0x1702a0(0x1c5)==_0x292088[_0x1702a0(0x1f6)]||_0x1702a0(0x1b8)==_0x292088[_0x1702a0(0x1f6)]){let _0x3cdcb5={'id':_0x292088['id'],'parent':!0x0,'name':TermsUtil[_0x1702a0(0x1cb)](_0x292088[_0x1702a0(0x1fd)]),'icon':_0x292088['iconPath'],'type':_0x1702a0(0x1c5)==_0x292088[_0x1702a0(0x1f6)]?_0x1702a0(0x1d4):'','menus':[]};return _0x292088['routing']&&(_0x3cdcb5[_0x1702a0(0x21f)]=_0x292088[_0x1702a0(0x229)]),_0x3cdcb5;}return{'id':'0'};})[_0x51fd95(0x208)](_0x1baba4=>'0'!=_0x1baba4['id']),_0x64982a=_0x54880d['map'](_0x3c89b3=>{const _0x304337=_0x51fd95;if(_0x304337(0x1f9)==_0x3c89b3[_0x304337(0x1f6)]||_0x304337(0x217)==_0x3c89b3[_0x304337(0x1f6)]){let _0x1dec79=_0x475fac['find'](_0x248467=>_0x248467['id']==_0x3c89b3['parent']['id']);if(_0x1dec79){let _0x25d6d9=TermsUtil[_0x304337(0x1cb)](_0x3c89b3[_0x304337(0x1fd)]);return _0x304337(0x1f9)==_0x3c89b3[_0x304337(0x1f6)]&&_0x1dec79[_0x304337(0x1b9)][_0x304337(0x21c)]({'id':_0x3c89b3['id'],'name':_0x25d6d9,'path':_0x3c89b3[_0x304337(0x229)],'icon':_0x3c89b3['iconPath']}),{'id':_0x3c89b3['id'],'parent':!0x1,'parent_id':_0x1dec79['id'],'title':_0x25d6d9,'tagname':_0x3c89b3['category'],'page':_0x3c89b3['routing'],'template':_0x3c89b3[_0x304337(0x1e4)],'routing_type':_0x3c89b3[_0x304337(0x228)]};}return{'id':'0'};}return _0x304337(0x1ff)==_0x3c89b3[_0x304337(0x1f6)]?{'id':_0x3c89b3['id'],'parent':!0x0,'parent_id':null,'title':TermsUtil[_0x304337(0x1cb)](_0x3c89b3[_0x304337(0x1fd)]),'tagname':_0x3c89b3[_0x304337(0x219)],'page':_0x3c89b3['routing'],'template':_0x3c89b3[_0x304337(0x1e4)],'routing_type':_0x3c89b3['routingType']}:{'id':'0'};})[_0x51fd95(0x208)](_0x1a2aeb=>null!=_0x1a2aeb&&'0'!=_0x1a2aeb['id']);_0x475fac['filter'](_0x5b6c4f=>'group'==_0x5b6c4f[_0x51fd95(0x1c6)]&&_0x5b6c4f[_0x51fd95(0x1b9)]&&_0x5b6c4f[_0x51fd95(0x1b9)][_0x51fd95(0x1bc)]>0x0)[_0x51fd95(0x1bb)](_0x3e0797=>{const _0x317fc8=_0x51fd95;let _0x4152ae=_0x475fac[_0x317fc8(0x1d6)](_0x4a150d=>_0x4a150d['id']==_0x3e0797['id'])+0x1;_0x475fac[_0x317fc8(0x1fb)](_0x4152ae,0x0,..._0x3e0797[_0x317fc8(0x1b9)]);});let _0x228200=0x0;return _0x475fac['forEach'](_0x2e0818=>{const _0x8d0761=_0x51fd95;_0x8d0761(0x1e7)==_0x2e0818[_0x8d0761(0x21f)]?(_0x228200++,_0x2e0818[_0x8d0761(0x1b0)]=()=>asyncReplace(generateActivitySummary(_0x8d0761(0x212))),_0x2e0818['active']=({path:_0x12bce3})=>/^activity\//[_0x8d0761(0x1dd)](_0x12bce3)):'approval-pending-list'==_0x2e0818['path']?(_0x228200++,_0x2e0818[_0x8d0761(0x1b0)]=()=>asyncReplace(generateActivitySummary(_0x8d0761(0x1df))),_0x2e0818['active']=({path:_0x13f798})=>/^activity\//[_0x8d0761(0x1dd)](_0x13f798)):_0x8d0761(0x1de)==_0x2e0818[_0x8d0761(0x21f)]&&(_0x228200++,_0x2e0818['badge']=()=>asyncReplace(generateActivitySummary(_0x8d0761(0x20b))));}),_0x228200>0x0&&startSubscribeActivitySummary(),{'menus':_0x475fac,'routes':_0x64982a};}static async['searchMyDynamicMenus'](){const _0x13d731=a0_0x3c5331;let _0x912367=await ServiceUtil[_0x13d731(0x200)]('menus',[{'name':'hiddenFlag','operator':_0x13d731(0x1d1),'value':!0x0},{'name':_0x13d731(0x1f6),'operator':'in','value':[_0x13d731(0x1ff),_0x13d731(0x1b8),_0x13d731(0x1c5)]}],[{'name':_0x13d731(0x1bd)}],0x0,0x0,_0x13d731(0x1b4));return _0x912367?_0x912367[_0x13d731(0x1ec)]:[];}static async['showGraphqlErrorResponse'](_0x547cdb){const _0x30547b=a0_0x3c5331;if(_0x547cdb['errors']&&_0x547cdb[_0x30547b(0x1ad)][_0x30547b(0x1bc)]>0x0){let _0x282854=_0x547cdb['errors'][0x0],_0x25f954=_0x282854[_0x30547b(0x1f1)],_0x4a0927=_0x282854[_0x30547b(0x1f1)];_0x282854[_0x30547b(0x224)]&&(_0x4a0927=_0x282854[_0x30547b(0x224)][_0x30547b(0x204)]),await UiUtil[_0x30547b(0x1c7)](_0x4a0927,_0x25f954,_0x30547b(0x211),_0x30547b(0x1c0));}}static async[a0_0x3c5331(0x205)](_0x59147f){const _0x238392=a0_0x3c5331;_0x59147f&&(_0x59147f[_0x238392(0x1e6)]&&_0x59147f[_0x238392(0x1e6)][_0x238392(0x1e1)]?await ServiceUtil['showGraphqlErrorResponse'](_0x59147f[_0x238392(0x1e6)][_0x238392(0x1e1)]):await UiUtil[_0x238392(0x1c7)](_0x238392(0x201),_0x59147f[_0x238392(0x1f1)],_0x238392(0x211),_0x238392(0x1c0)));}static async[a0_0x3c5331(0x20d)](_0x2f3ee4,_0x5e5860,_0x38924d){const _0x44106e=a0_0x3c5331;var _0x420353=_0x38924d[_0x44106e(0x1d5)][_0x44106e(0x1c2)][_0x44106e(0x208)](_0x4e04ff=>_0x44106e(0x1e5)!==_0x4e04ff['type']&&void 0x0!==_0x4e04ff['record']&&void 0x0!==_0x4e04ff[_0x44106e(0x20a)]&&!0x0!==_0x4e04ff[_0x44106e(0x1d3)])[_0x44106e(0x21e)](_0x1fc1c6=>_0x1fc1c6[_0x44106e(0x20a)]),_0x39c6da=_0x38924d['data'][_0x44106e(0x1ec)][_0x44106e(0x21e)](_0x2646f4=>({..._0x38924d[_0x44106e(0x1d5)][_0x44106e(0x1c2)][_0x44106e(0x208)](_0x12c624=>_0x44106e(0x1e5)!==_0x12c624[_0x44106e(0x1c6)]&&void 0x0!==_0x12c624[_0x44106e(0x222)]&&void 0x0!==_0x12c624[_0x44106e(0x20a)]&&!0x0!==_0x12c624[_0x44106e(0x1d3)])[_0x44106e(0x1d7)]((_0x207ee7,_0x2e1ab3)=>(_0x207ee7[_0x2e1ab3[_0x44106e(0x20a)]['key']]=_0x2e1ab3['imex'][_0x44106e(0x1f4)][_0x44106e(0x223)]('.')[_0x44106e(0x1d7)]((_0x458f95,_0x2c319e)=>_0x458f95&&_0x44106e(0x1eb)!==_0x458f95[_0x2c319e]?_0x458f95[_0x2c319e]:void 0x0,_0x2646f4),_0x207ee7),{})}));if(!_0x2f3ee4)return{'header':_0x420353,'data':_0x39c6da};store['dispatch']({'type':EXPORT,'exportable':{'extension':_0x44106e(0x1f2),'name':_0x5e5860,'data':{'header':_0x420353,'data':_0x39c6da}}});}static async['searchByPagination'](_0x1e86aa,_0x32bf32,_0x36d648,_0x1d1bbb,_0x3534a8,_0x5545d8){const _0x53bf9=a0_0x3c5331;try{const _0x4996d4=await client[_0x53bf9(0x1db)]({'query':a0_0x246edb`
12
12
  query ($filters: [Filter!], $pagination: Pagination, $sortings: [Sorting!]) {
13
- ${_0x5ba5eb}(filters: $filters, pagination: $pagination, sortings: $sortings) {
13
+ ${_0x1e86aa}(filters: $filters, pagination: $pagination, sortings: $sortings) {
14
14
  items {
15
- ${_0x4fb140}
15
+ ${_0x5545d8}
16
16
  }
17
17
  total
18
18
  }
19
19
  }
20
- `,'variables':{'filters':_0xc1d80a,'sortings':_0x1fe3db,'pagination':{'page':_0x1cae9f,'limit':_0x325980}}});if(!_0x22ef49['errors'])return{'records':_0x22ef49[_0x3a4810(0x215)][_0x5ba5eb]['items'],'total':_0x22ef49[_0x3a4810(0x215)][_0x5ba5eb]['total']};ServiceUtil[_0x3a4810(0x23a)](_0x22ef49);}catch(_0x480250){ServiceUtil['showGraphqlException'](_0x480250);}return null;}static async['findOne'](_0x2cccd0,_0x48c0e1,_0x50ed0c){const _0x1b50bc=a0_0x12986f;try{let _0x3c4dff=await client[_0x1b50bc(0x236)]({'query':a0_0x294d68`
20
+ `,'variables':{'filters':_0x32bf32,'sortings':_0x36d648,'pagination':{'page':_0x1d1bbb,'limit':_0x3534a8}}});if(!_0x4996d4['errors'])return{'records':_0x4996d4['data'][_0x1e86aa][_0x53bf9(0x22e)],'total':_0x4996d4[_0x53bf9(0x1d2)][_0x1e86aa]['total']};ServiceUtil[_0x53bf9(0x1e8)](_0x4996d4);}catch(_0x785ef3){ServiceUtil[_0x53bf9(0x205)](_0x785ef3);}return null;}static async['findOne'](_0x3e600c,_0x483586,_0x2b9a21){const _0x51a929=a0_0x3c5331;try{let _0x343b81=await client['query']({'query':a0_0x246edb`
21
21
  query ($id: String!) {
22
- ${_0x2cccd0}(id: $id) {
23
- ${_0x50ed0c}
22
+ ${_0x3e600c}(id: $id) {
23
+ ${_0x2b9a21}
24
24
  }
25
25
  }
26
- `,'variables':{'id':_0x48c0e1}});if(!_0x3c4dff[_0x1b50bc(0x219)])return _0x3c4dff['data'][_0x2cccd0]||{};ServiceUtil['showGraphqlErrorResponse'](_0x3c4dff);}catch(_0x1c3e8e){ServiceUtil[_0x1b50bc(0x243)](_0x1c3e8e);}return null;}static[a0_0x12986f(0x22f)](_0x3ad4a5,_0x136c13){const _0x260efb=a0_0x12986f,_0x98124b=_0x3ad4a5['selected'][_0x260efb(0x207)](_0x3fa79f=>_0x3fa79f['id']);return ValueUtil[_0x260efb(0x21f)](_0x98124b)&&0x1==_0x136c13&&UiUtil[_0x260efb(0x21a)](_0x260efb(0x1f8),_0x260efb(0x1fe),_0x260efb(0x227),_0x260efb(0x1e1)),_0x98124b;}static async[a0_0x12986f(0x218)](_0x1b9fa1,_0x2e72fd){const _0x336608=a0_0x12986f;let _0xdd9e84=ServiceUtil[_0x336608(0x22f)](_0x1b9fa1,!0x0);ValueUtil[_0x336608(0x205)](_0xdd9e84)&&(await ServiceUtil[_0x336608(0x257)](_0xdd9e84,_0x2e72fd)&&_0x1b9fa1[_0x336608(0x1ef)]());}static async[a0_0x12986f(0x257)](_0x3d9a00,_0xd6f6e0){const _0x270a9a=a0_0x12986f;if(!(await UiUtil[_0x270a9a(0x21a)]('button.delete',_0x270a9a(0x212),_0x270a9a(0x202),_0x270a9a(0x24a),_0x270a9a(0x211)))[_0x270a9a(0x1f6)])return!0x1;try{const _0x14f1fb=await client[_0x270a9a(0x236)]({'query':a0_0x294d68`
26
+ `,'variables':{'id':_0x483586}});if(!_0x343b81[_0x51a929(0x1ad)])return _0x343b81[_0x51a929(0x1d2)][_0x3e600c]||{};ServiceUtil[_0x51a929(0x1e8)](_0x343b81);}catch(_0x503ffb){ServiceUtil[_0x51a929(0x205)](_0x503ffb);}return null;}static[a0_0x3c5331(0x213)](_0x3ff62f,_0x239a52){const _0x515c1c=a0_0x3c5331,_0x9ccd01=_0x3ff62f[_0x515c1c(0x1c4)][_0x515c1c(0x21e)](_0x3a24de=>_0x3a24de['id']);return ValueUtil[_0x515c1c(0x1ae)](_0x9ccd01)&&0x1==_0x239a52&&UiUtil['showAlertPopup'](_0x515c1c(0x1fa),_0x515c1c(0x22d),_0x515c1c(0x1b1),_0x515c1c(0x1c0)),_0x9ccd01;}static async[a0_0x3c5331(0x1b3)](_0x38285f,_0x29abd6){const _0xacbb77=a0_0x3c5331;let _0x2c695d=ServiceUtil[_0xacbb77(0x213)](_0x38285f,!0x0);ValueUtil[_0xacbb77(0x20c)](_0x2c695d)&&(await ServiceUtil['deleteListByIds'](_0x2c695d,_0x29abd6)&&_0x38285f[_0xacbb77(0x1e0)]());}static async[a0_0x3c5331(0x1bf)](_0x264094,_0x526739){const _0x492881=a0_0x3c5331;if(!(await UiUtil[_0x492881(0x1c7)](_0x492881(0x1cc),'text.are_you_sure',_0x492881(0x206),_0x492881(0x1ca),_0x492881(0x1fe)))[_0x492881(0x1f8)])return!0x1;try{const _0x39cb19=await client[_0x492881(0x1db)]({'query':a0_0x246edb`
27
27
  mutation {
28
- ${_0xd6f6e0}(${gqlBuilder[_0x270a9a(0x20d)]({'ids':_0x3d9a00})})
28
+ ${_0x526739}(${gqlBuilder[_0x492881(0x207)]({'ids':_0x264094})})
29
29
  }
30
- `});if(!_0x14f1fb[_0x270a9a(0x219)])return UiUtil[_0x270a9a(0x251)](_0x270a9a(0x227),TermsUtil['tText']('success\x20to\x20delete')),!0x0;ServiceUtil[_0x270a9a(0x23a)](_0x14f1fb);}catch(_0x29981a){ServiceUtil[_0x270a9a(0x243)](_0x29981a);}return!0x1;}static async[a0_0x12986f(0x238)](_0x47ec0f,_0x422f6e){const _0x564efc=a0_0x12986f;let _0x29dedc=ServiceUtil[_0x564efc(0x250)](_0x47ec0f);if(ValueUtil[_0x564efc(0x205)](_0x29dedc)){let _0x3004a6=await ServiceUtil[_0x564efc(0x23b)](_0x422f6e,_0x29dedc);if(_0x3004a6)return _0x47ec0f[_0x564efc(0x1ef)](),_0x3004a6;}return!0x1;}static async[a0_0x12986f(0x23b)](_0x85f3e6,_0x6f6ad6){const _0x568450=a0_0x12986f;try{const _0x144fff=await client[_0x568450(0x236)]({'query':a0_0x294d68`
30
+ `});if(!_0x39cb19[_0x492881(0x1ad)])return UiUtil[_0x492881(0x1c8)](_0x492881(0x1b1),TermsUtil[_0x492881(0x1e3)](_0x492881(0x1b5))),!0x0;ServiceUtil['showGraphqlErrorResponse'](_0x39cb19);}catch(_0x301361){ServiceUtil['showGraphqlException'](_0x301361);}return!0x1;}static async[a0_0x3c5331(0x1d8)](_0x2f1b9a,_0x5391b6){const _0x311706=a0_0x3c5331;let _0x511552=ServiceUtil[_0x311706(0x20f)](_0x2f1b9a);if(ValueUtil[_0x311706(0x20c)](_0x511552)){let _0x3fbb6f=await ServiceUtil['updateMultiple'](_0x5391b6,_0x511552);if(_0x3fbb6f)return _0x2f1b9a[_0x311706(0x1e0)](),_0x3fbb6f;}return!0x1;}static async[a0_0x3c5331(0x1b2)](_0x21a6a0,_0x1bb1bd){const _0x3b83fe=a0_0x3c5331;try{const _0x5e43c5=await client[_0x3b83fe(0x1db)]({'query':a0_0x246edb`
31
31
  mutation {
32
- ${_0x85f3e6}(${gqlBuilder[_0x568450(0x20d)]({'patches':_0x6f6ad6})}) {
32
+ ${_0x21a6a0}(${gqlBuilder[_0x3b83fe(0x207)]({'patches':_0x1bb1bd})}) {
33
33
  id
34
34
  }
35
35
  }
36
- `,'context':{'hasUpload':!0x0}});if(!_0x144fff[_0x568450(0x219)])return UiUtil[_0x568450(0x251)](_0x568450(0x227),TermsUtil[_0x568450(0x1eb)](_0x568450(0x208))),!0x0;ServiceUtil[_0x568450(0x23a)](_0x144fff);}catch(_0x6a318d){ServiceUtil[_0x568450(0x243)](_0x6a318d);}return!0x1;}static['patchesForUpdateMultiple'](_0x599cde,_0x26251f=!0x1){const _0x59d2de=a0_0x12986f;let _0x4326bb=_0x599cde['dirtyRecords'];if(_0x4326bb&&0x0!=_0x4326bb[_0x59d2de(0x247)])return _0x4326bb[_0x59d2de(0x207)](_0x9527fb=>{const _0x52fbaa=_0x59d2de;let _0x4c3203=_0x9527fb['id']?{'id':_0x9527fb['id']}:{};for(let _0x4c6267 in _0x9527fb)[_0x52fbaa(0x209),_0x52fbaa(0x24c),'createdAt','updatedAt',_0x52fbaa(0x256),_0x52fbaa(0x1fd),'__origin__',_0x52fbaa(0x20c),_0x52fbaa(0x232)][_0x52fbaa(0x224)](_0x4c6267)||(_0x9527fb[_0x4c6267]&&_0x52fbaa(0x23d)==typeof _0x9527fb[_0x4c6267]&&0x0==_0x26251f?_0x4c3203[_0x4c6267]={'id':_0x9527fb[_0x4c6267]['id']}:_0x4c3203[_0x4c6267]=_0x9527fb[_0x4c6267]);return _0x4c3203[_0x52fbaa(0x254)]=_0x9527fb[_0x52fbaa(0x256)],_0x4c3203;});UiUtil[_0x59d2de(0x21a)](_0x59d2de(0x20e),_0x59d2de(0x217),_0x59d2de(0x227),_0x59d2de(0x1e1));}static async[a0_0x12986f(0x20b)](_0x237a3d,_0x576c62,_0x489705){const _0x182b35=a0_0x12986f;let _0x26c680=!0x0;_0x237a3d&&(_0x26c680=(await UiUtil[_0x182b35(0x21a)]('button.'+_0x237a3d,_0x182b35(0x212),_0x182b35(0x202),_0x182b35(0x1e1),_0x182b35(0x211)))[_0x182b35(0x1f6)]);if(_0x26c680)try{const _0x379c7e=await client[_0x182b35(0x236)]({'query':a0_0x294d68`
36
+ `,'context':{'hasUpload':!0x0}});if(!_0x5e43c5[_0x3b83fe(0x1ad)])return UiUtil[_0x3b83fe(0x1c8)](_0x3b83fe(0x1b1),TermsUtil[_0x3b83fe(0x1e3)]('success\x20to\x20save')),!0x0;ServiceUtil[_0x3b83fe(0x1e8)](_0x5e43c5);}catch(_0x2311e7){ServiceUtil['showGraphqlException'](_0x2311e7);}return!0x1;}static[a0_0x3c5331(0x20f)](_0x40eb27,_0x4948af=!0x1){const _0x17132f=a0_0x3c5331;let _0x1b897c=_0x40eb27[_0x17132f(0x1c9)];if(_0x1b897c&&0x0!=_0x1b897c[_0x17132f(0x1bc)])return _0x1b897c['map'](_0x2f4127=>{const _0x3ae210=_0x17132f;let _0x4f17d4=_0x2f4127['id']?{'id':_0x2f4127['id']}:{};for(let _0xb5fec1 in _0x2f4127)[_0x3ae210(0x1ba),_0x3ae210(0x203),'createdAt',_0x3ae210(0x1f0),_0x3ae210(0x1ea),'__dirtyfields__',_0x3ae210(0x1e2),_0x3ae210(0x209),_0x3ae210(0x22a)]['includes'](_0xb5fec1)||(_0x2f4127[_0xb5fec1]&&_0x3ae210(0x1f5)==typeof _0x2f4127[_0xb5fec1]&&0x0==_0x4948af?_0x4f17d4[_0xb5fec1]={'id':_0x2f4127[_0xb5fec1]['id']}:_0x4f17d4[_0xb5fec1]=_0x2f4127[_0xb5fec1]);return _0x4f17d4['cuFlag']=_0x2f4127[_0x3ae210(0x1ea)],_0x4f17d4;});UiUtil[_0x17132f(0x1c7)](_0x17132f(0x20e),'text.NOTHING_CHANGED',_0x17132f(0x1b1),_0x17132f(0x1c0));}static async[a0_0x3c5331(0x1af)](_0x21f618,_0x4d42b6,_0xf8820){const _0x1323f5=a0_0x3c5331;let _0x34252f=!0x0;_0x21f618&&(_0x34252f=(await UiUtil[_0x1323f5(0x1c7)](_0x1323f5(0x1ef)+_0x21f618,_0x1323f5(0x1c3),_0x1323f5(0x206),_0x1323f5(0x1c0),_0x1323f5(0x1fe)))[_0x1323f5(0x1f8)]);if(_0x34252f)try{const _0x53f1e2=await client[_0x1323f5(0x1db)]({'query':a0_0x246edb`
37
37
  mutation ($scenarioName: String!, $variables: Object) {
38
38
  runScenario(scenarioName: $scenarioName, variables: $variables) {
39
39
  state
@@ -42,4 +42,4 @@ const a0_0x12986f=a0_0x8da1;(function(_0x5f19b8,_0x364dd0){const _0x3d4247=a0_0x
42
42
  __typename
43
43
  }
44
44
  }
45
- `,'variables':{'scenarioName':_0x576c62,'variables':_0x489705}});if(_0x379c7e[_0x182b35(0x219)])ServiceUtil[_0x182b35(0x23a)](_0x379c7e);else{if(this[_0x182b35(0x22b)](_0x379c7e))return UiUtil[_0x182b35(0x251)](_0x182b35(0x227),TermsUtil[_0x182b35(0x1eb)](_0x182b35(0x1e8))),_0x379c7e;}}catch(_0x17c037){ServiceUtil['showGraphqlException'](_0x17c037);}return!0x1;}static[a0_0x12986f(0x22b)](_0xa5df8d){const _0x2e4338=a0_0x12986f;if(_0xa5df8d&&_0xa5df8d['data']&&_0xa5df8d[_0x2e4338(0x215)][_0x2e4338(0x24b)]&&_0xa5df8d['data'][_0x2e4338(0x24b)][_0x2e4338(0x215)]&&_0xa5df8d[_0x2e4338(0x215)][_0x2e4338(0x24b)][_0x2e4338(0x215)][_0x2e4338(0x21c)]){let _0x461ff3=_0xa5df8d[_0x2e4338(0x215)]['runScenario'][_0x2e4338(0x215)][_0x2e4338(0x21c)];return UiUtil[_0x2e4338(0x21a)](_0x461ff3['title'],_0x461ff3['message'],_0x2e4338(0x21c),_0x2e4338(0x1e1)),!0x1;}return!0x0;}}
45
+ `,'variables':{'scenarioName':_0x4d42b6,'variables':_0xf8820}});if(_0x53f1e2[_0x1323f5(0x1ad)])ServiceUtil[_0x1323f5(0x1e8)](_0x53f1e2);else{if(this[_0x1323f5(0x1fc)](_0x53f1e2))return UiUtil[_0x1323f5(0x1c8)](_0x1323f5(0x1b1),TermsUtil[_0x1323f5(0x1e3)](_0x1323f5(0x1dc))),_0x53f1e2;}}catch(_0x613bf5){ServiceUtil[_0x1323f5(0x205)](_0x613bf5);}return!0x1;}static[a0_0x3c5331(0x1fc)](_0x5116fa){const _0x3a7380=a0_0x3c5331;if(_0x5116fa&&_0x5116fa['data']&&_0x5116fa[_0x3a7380(0x1d2)][_0x3a7380(0x225)]&&_0x5116fa[_0x3a7380(0x1d2)][_0x3a7380(0x225)][_0x3a7380(0x1d2)]&&_0x5116fa[_0x3a7380(0x1d2)][_0x3a7380(0x225)][_0x3a7380(0x1d2)][_0x3a7380(0x211)]){let _0x186a23=_0x5116fa[_0x3a7380(0x1d2)][_0x3a7380(0x225)][_0x3a7380(0x1d2)]['error'];return UiUtil[_0x3a7380(0x1c7)](_0x186a23[_0x3a7380(0x22c)],_0x186a23[_0x3a7380(0x1f1)],_0x3a7380(0x211),_0x3a7380(0x1c0)),!0x1;}return!0x0;}}
@@ -1,4 +1,4 @@
1
- function a0_0x4608(){const _0x26e6f1=['8812067tkelPw','records','menu','text','replace','1010sNxyMa','tText','429262ekKtjG','12aLANTN','3NhPbhH','8zLfXGi','field','tTitle','534624YSCuUk','button','366554xHyKes','tError','tButton','forEach','locale','category','terminologies','query','title','5eFzMpo','error','data','META_TERMS','downloadTerminologies','display','fetchTerminologies','tMenu','157160XqHIBv','229285EcYqJo','translate','1341hzodBU'];a0_0x4608=function(){return _0x26e6f1;};return a0_0x4608();}const a0_0x25aeb0=a0_0x7412;(function(_0x99d24c,_0x43f9ec){const _0x5101ce=a0_0x7412,_0x546111=_0x99d24c();while(!![]){try{const _0x3deb2d=-parseInt(_0x5101ce(0x183))/0x1+parseInt(_0x5101ce(0x19f))/0x2*(-parseInt(_0x5101ce(0x1a1))/0x3)+-parseInt(_0x5101ce(0x194))/0x4*(parseInt(_0x5101ce(0x18c))/0x5)+parseInt(_0x5101ce(0x1a5))/0x6+parseInt(_0x5101ce(0x195))/0x7*(-parseInt(_0x5101ce(0x1a2))/0x8)+parseInt(_0x5101ce(0x197))/0x9*(parseInt(_0x5101ce(0x19d))/0xa)+-parseInt(_0x5101ce(0x198))/0xb*(-parseInt(_0x5101ce(0x1a0))/0xc);if(_0x3deb2d===_0x43f9ec)break;else _0x546111['push'](_0x546111['shift']());}catch(_0x228151){_0x546111['push'](_0x546111['shift']());}}}(a0_0x4608,0x3d874));import a0_0x57f31c from'graphql-tag';import{client}from'@operato/graphql';function a0_0x7412(_0x34e9d0,_0xcc3dfe){const _0x46086d=a0_0x4608();return a0_0x7412=function(_0x741230,_0x2af5d4){_0x741230=_0x741230-0x182;let _0x189f2e=_0x46086d[_0x741230];return _0x189f2e;},a0_0x7412(_0x34e9d0,_0xcc3dfe);}import{i18next}from'@operato/i18n';export class TermsUtil{[a0_0x25aeb0(0x18f)]=null;static async[a0_0x25aeb0(0x190)](_0x29dba2){const _0x468b48=a0_0x25aeb0;let _0x2913ac=(await TermsUtil[_0x468b48(0x192)](_0x29dba2))[_0x468b48(0x199)];_0x2913ac&&_0x2913ac['length']>0x0&&(this['META_TERMS']={},_0x2913ac[_0x468b48(0x186)](_0x4644ef=>{const _0x2687e4=_0x468b48;let _0x524d36=_0x4644ef[_0x2687e4(0x188)]+'.'+_0x4644ef['name'];this[_0x2687e4(0x18f)][_0x524d36]=_0x4644ef[_0x2687e4(0x191)];}));}static async['fetchTerminologies'](_0x44b5ff){const _0x58baf2=a0_0x25aeb0;let _0x3a9c32=[{'name':_0x58baf2(0x187),'operator':'eq','value':_0x44b5ff}];const _0x48314f=await client[_0x58baf2(0x18a)]({'query':a0_0x57f31c`
1
+ const a0_0x13c3bb=a0_0x23df;(function(_0x868cbf,_0x3488a6){const _0x3055fb=a0_0x23df,_0x1883fe=_0x868cbf();while(!![]){try{const _0x1ffd2a=-parseInt(_0x3055fb(0x1ab))/0x1+parseInt(_0x3055fb(0x1bd))/0x2*(-parseInt(_0x3055fb(0x1b3))/0x3)+parseInt(_0x3055fb(0x1b9))/0x4+parseInt(_0x3055fb(0x1c0))/0x5+-parseInt(_0x3055fb(0x1c1))/0x6*(parseInt(_0x3055fb(0x1b8))/0x7)+-parseInt(_0x3055fb(0x1b1))/0x8+-parseInt(_0x3055fb(0x1a9))/0x9*(-parseInt(_0x3055fb(0x1c9))/0xa);if(_0x1ffd2a===_0x3488a6)break;else _0x1883fe['push'](_0x1883fe['shift']());}catch(_0x5a5a91){_0x1883fe['push'](_0x1883fe['shift']());}}}(a0_0x7452,0x18d95));function a0_0x7452(){const _0x2b325b=['error','length','data','fetchTerminologies','1200400mwxbME','tMenu','downloadTerminologies','tError','title','27OVSECr','tText','4039ZvqsbV','tField','total','records','replace','field','1056416EXeZnc','display','3wETZAW','tButton','META_TERMS','terminologies','keys','1263773okAPoQ','312836JgdnyA','button','query','menu','271978YLgZcQ','translate','forEach','580355ctbKtw','6ISBqLp','tTitle','category','name'];a0_0x7452=function(){return _0x2b325b;};return a0_0x7452();}function a0_0x23df(_0x5be656,_0x18331c){const _0x745284=a0_0x7452();return a0_0x23df=function(_0x23df30,_0x3e997f){_0x23df30=_0x23df30-0x1a8;let _0xca9bb7=_0x745284[_0x23df30];return _0xca9bb7;},a0_0x23df(_0x5be656,_0x18331c);}import a0_0x19e0e6 from'graphql-tag';import{client}from'@operato/graphql';import{i18next}from'@operato/i18n';export class TermsUtil{['META_TERMS']=null;static async[a0_0x13c3bb(0x1cb)](_0x4ac6ec){const _0x1f37a0=a0_0x13c3bb;let _0x226c3f=(await TermsUtil[_0x1f37a0(0x1c8)](_0x4ac6ec))[_0x1f37a0(0x1ae)];_0x226c3f&&_0x226c3f[_0x1f37a0(0x1c6)]>0x0&&(this[_0x1f37a0(0x1b5)]={},_0x226c3f[_0x1f37a0(0x1bf)](_0x3653bb=>{const _0x2cc29c=_0x1f37a0;let _0x46f6c7=_0x3653bb[_0x2cc29c(0x1c3)]+'.'+_0x3653bb[_0x2cc29c(0x1c4)];this[_0x2cc29c(0x1b5)][_0x46f6c7]=_0x3653bb[_0x2cc29c(0x1b2)];}));}static async['fetchTerminologies'](_0x46787b){const _0x8ad5c7=a0_0x13c3bb;let _0x18e0e3=[{'name':'locale','operator':'eq','value':_0x46787b}];const _0x26ba72=await client[_0x8ad5c7(0x1bb)]({'query':a0_0x19e0e6`
2
2
  query ($filters: [Filter!], $pagination: Pagination, $sortings: [Sorting!]) {
3
3
  terminologies(filters: $filters, pagination: $pagination, sortings: $sortings) {
4
4
  items {
@@ -11,4 +11,4 @@ function a0_0x4608(){const _0x26e6f1=['8812067tkelPw','records','menu','text','r
11
11
  total
12
12
  }
13
13
  }
14
- `,'variables':{'filters':_0x3a9c32,'sortings':[{'name':_0x58baf2(0x188)},{'name':'name'}],'pagination':{'page':0x0,'limit':0x0}}});if(!_0x48314f['errors'])return{'records':_0x48314f[_0x58baf2(0x18e)][_0x58baf2(0x189)]['items']||[],'total':_0x48314f[_0x58baf2(0x18e)]['terminologies']['total']||0x0};}static['tLabel'](_0x357e75,_0x5b9b70){const _0x24e163=a0_0x25aeb0;let _0x5eaa97=TermsUtil[_0x24e163(0x196)]('label',_0x357e75,_0x5b9b70,null);return _0x5eaa97||TermsUtil[_0x24e163(0x196)]('field',_0x357e75,_0x5b9b70,_0x357e75);}static['tField'](_0x58ed24,_0x289e87){const _0x59ea44=a0_0x25aeb0;let _0x1f6296=TermsUtil[_0x59ea44(0x196)](_0x59ea44(0x1a3),_0x58ed24,_0x289e87,null);return _0x1f6296||TermsUtil[_0x59ea44(0x196)](_0x59ea44(0x1a3),_0x58ed24,_0x289e87,_0x58ed24);}static[a0_0x25aeb0(0x185)](_0x157c7b){const _0x1d5c57=a0_0x25aeb0;return TermsUtil['translate'](_0x1d5c57(0x182),_0x157c7b,null,_0x157c7b);}static[a0_0x25aeb0(0x1a4)](_0x2ad44d,_0x5dcfa4){const _0x526279=a0_0x25aeb0;let _0x16cddc=TermsUtil[_0x526279(0x196)](_0x526279(0x18b),_0x2ad44d,_0x5dcfa4,null);return _0x16cddc||TermsUtil[_0x526279(0x196)](_0x526279(0x19a),_0x2ad44d,_0x5dcfa4,_0x2ad44d);}static[a0_0x25aeb0(0x193)](_0x199669){const _0x2e91ef=a0_0x25aeb0;let _0x3e54b8=TermsUtil[_0x2e91ef(0x196)](_0x2e91ef(0x19a),_0x199669,null,_0x199669);return _0x3e54b8||TermsUtil['translate']('title',_0x199669,null,_0x199669);}static[a0_0x25aeb0(0x19e)](_0x126a0d,_0x32a04f){const _0x13f683=a0_0x25aeb0;return TermsUtil[_0x13f683(0x196)](_0x13f683(0x19b),_0x126a0d,_0x32a04f,_0x126a0d);}static[a0_0x25aeb0(0x184)](_0x22758d,_0x51ce8a){const _0x114362=a0_0x25aeb0;return TermsUtil[_0x114362(0x196)](_0x114362(0x18d),_0x22758d,_0x51ce8a,_0x22758d);}static[a0_0x25aeb0(0x196)](_0x15c80f,_0x880f7b,_0x3b0213,_0x43efcb){let _0x55b1a5=_0x15c80f+'.'+_0x880f7b;return TermsUtil['t'](_0x55b1a5,_0x3b0213,_0x43efcb);}static['t'](_0x424430,_0x44364c,_0x5ccde3){const _0x49a234=a0_0x25aeb0;let _0x3f285b=this[_0x49a234(0x18f)]?this[_0x49a234(0x18f)][_0x424430]:null;return _0x3f285b=_0x3f285b||i18next['t'](_0x424430),_0x3f285b&&_0x424430!=_0x3f285b?(_0x44364c&&Object['keys'](_0x44364c)[_0x49a234(0x186)](function(_0x5e130c){const _0x15ef29=_0x49a234;var _0x43217e='\x5c{'+_0x5e130c[_0x15ef29(0x19c)](/\$/,'\x5c$')+'\x5c}',_0x35dd89=new RegExp(_0x43217e,'gi');_0x3f285b=_0x3f285b['replace'](_0x35dd89,_0x44364c[_0x5e130c]);}),_0x3f285b):_0x5ccde3;}}
14
+ `,'variables':{'filters':_0x18e0e3,'sortings':[{'name':_0x8ad5c7(0x1c3)},{'name':_0x8ad5c7(0x1c4)}],'pagination':{'page':0x0,'limit':0x0}}});if(!_0x26ba72['errors'])return{'records':_0x26ba72[_0x8ad5c7(0x1c7)][_0x8ad5c7(0x1b6)]['items']||[],'total':_0x26ba72[_0x8ad5c7(0x1c7)][_0x8ad5c7(0x1b6)][_0x8ad5c7(0x1ad)]||0x0};}static['tLabel'](_0x1be380,_0x53f911){const _0x4bbc9a=a0_0x13c3bb;let _0xd6550c=TermsUtil[_0x4bbc9a(0x1be)]('label',_0x1be380,_0x53f911,null);return _0xd6550c||TermsUtil[_0x4bbc9a(0x1be)](_0x4bbc9a(0x1b0),_0x1be380,_0x53f911,_0x1be380);}static[a0_0x13c3bb(0x1ac)](_0x4cc479,_0xc1ebf1){const _0x6765e1=a0_0x13c3bb;let _0x548062=TermsUtil[_0x6765e1(0x1be)](_0x6765e1(0x1b0),_0x4cc479,_0xc1ebf1,null);return _0x548062||TermsUtil['translate'](_0x6765e1(0x1b0),_0x4cc479,_0xc1ebf1,_0x4cc479);}static[a0_0x13c3bb(0x1b4)](_0x2bb96e){const _0xa7b01a=a0_0x13c3bb;return TermsUtil[_0xa7b01a(0x1be)](_0xa7b01a(0x1ba),_0x2bb96e,null,_0x2bb96e);}static[a0_0x13c3bb(0x1c2)](_0x2404bc,_0x939619){const _0x206a2a=a0_0x13c3bb;let _0x3b14bc=TermsUtil[_0x206a2a(0x1be)]('title',_0x2404bc,_0x939619,null);return _0x3b14bc||TermsUtil[_0x206a2a(0x1be)](_0x206a2a(0x1bc),_0x2404bc,_0x939619,_0x2404bc);}static[a0_0x13c3bb(0x1ca)](_0x49bb5d){const _0x2a8d53=a0_0x13c3bb;let _0x4df15b=TermsUtil[_0x2a8d53(0x1be)]('menu',_0x49bb5d,null,_0x49bb5d);return _0x4df15b||TermsUtil[_0x2a8d53(0x1be)](_0x2a8d53(0x1a8),_0x49bb5d,null,_0x49bb5d);}static[a0_0x13c3bb(0x1aa)](_0x1d212c,_0x462362){const _0x49741b=a0_0x13c3bb;return TermsUtil[_0x49741b(0x1be)]('text',_0x1d212c,_0x462362,_0x1d212c);}static[a0_0x13c3bb(0x1cc)](_0x1e3fcb,_0x13379c){const _0x77bc5e=a0_0x13c3bb;return TermsUtil[_0x77bc5e(0x1be)](_0x77bc5e(0x1c5),_0x1e3fcb,_0x13379c,_0x1e3fcb);}static[a0_0x13c3bb(0x1be)](_0x4eb3bc,_0xf1664a,_0x32697f,_0x58ea26){let _0x3a4753=_0x4eb3bc+'.'+_0xf1664a;return TermsUtil['t'](_0x3a4753,_0x32697f,_0x58ea26);}static['t'](_0x2c5ee4,_0x51abe7,_0x3dc4ae){const _0x46995b=a0_0x13c3bb;let _0x338393=this[_0x46995b(0x1b5)]?this[_0x46995b(0x1b5)][_0x2c5ee4]:null;return _0x338393=_0x338393||i18next['t'](_0x2c5ee4),_0x338393&&_0x2c5ee4!=_0x338393?(_0x51abe7&&Object[_0x46995b(0x1b7)](_0x51abe7)[_0x46995b(0x1bf)](function(_0x1e4cbd){const _0x3880ce=_0x46995b;var _0x59c0b1='\x5c{'+_0x1e4cbd[_0x3880ce(0x1af)](/\$/,'\x5c$')+'\x5c}',_0x50e8c7=new RegExp(_0x59c0b1,'gi');_0x338393=_0x338393[_0x3880ce(0x1af)](_0x50e8c7,_0x51abe7[_0x1e4cbd]);}),_0x338393):_0x3dc4ae;}}
@@ -1 +1 @@
1
- const a0_0x215b1d=a0_0x4ced;(function(_0x1dd6de,_0x3bd3c6){const _0x1a8015=a0_0x4ced,_0x1dac6d=_0x1dd6de();while(!![]){try{const _0x3bd62d=parseInt(_0x1a8015(0xb1))/0x1+parseInt(_0x1a8015(0xaa))/0x2*(parseInt(_0x1a8015(0xc5))/0x3)+parseInt(_0x1a8015(0x9a))/0x4*(parseInt(_0x1a8015(0xd7))/0x5)+parseInt(_0x1a8015(0xa1))/0x6+parseInt(_0x1a8015(0xc7))/0x7*(-parseInt(_0x1a8015(0xb2))/0x8)+parseInt(_0x1a8015(0x9b))/0x9+-parseInt(_0x1a8015(0xd8))/0xa;if(_0x3bd62d===_0x3bd3c6)break;else _0x1dac6d['push'](_0x1dac6d['shift']());}catch(_0x318f44){_0x1dac6d['push'](_0x1dac6d['shift']());}}}(a0_0x2ece,0x7b1ad));function a0_0x4ced(_0x5b83c9,_0xd00915){const _0x2ece4a=a0_0x2ece();return a0_0x4ced=function(_0x4cedc1,_0x399c28){_0x4cedc1=_0x4cedc1-0x94;let _0x5b8c4b=_0x2ece4a[_0x4cedc1];return _0x5b8c4b;},a0_0x4ced(_0x5b83c9,_0xd00915);}import{store,CustomAlert,navigate}from'@things-factory/shell';import{openPopup}from'@things-factory/layout-base';import{isMobileDevice}from'@things-factory/utils';import{getEditor}from'@operato/data-grist';import{TermsUtil}from'./terms-util';import{ValueUtil}from'./value-util';function a0_0x2ece(){const _0x356d38=['removeChild','ox-input-code','popup_field','ko-KR','getLeafInput','1137lQfuFz','tagname','7DeNAoE','fireCustomEvent','indexOf','firstElementChild','app','length','isNotEmpty','onclosed','setSearchFormEditorValue','modules','barcode','setValueToEditor','createEditorHtml','replace','code-editor','getFilterFormData','40TNEyxj','17324150yhWXLw','filters','substring','split','querySelector','\x27\x20\x20parent_id=\x27','menu','cancelButton','pageNavigate','getApplicationModuleInfo','pass=','select-combo','132968SyIetn','8414343ccguxa','stringify','content','\x20route_name=\x27','showAlertPopup','cookie','709818pmvUAP','openPopupByElement','createElement','currentLocale','name','value','i18next=','htmlToElement','notify','4668YNmvym','forEach','textarea','getState','renderRoot','innerHTML','input','333045jouwVe','2401160fqvcUc','openDynamicPopup','tButton','currentRouting','showToast','editor','\x27\x20is_popup=true></','config','parent_field','route','createCustomElement','size','childNodes','ox-input-barcode'];a0_0x2ece=function(){return _0x356d38;};return a0_0x2ece();}import{MetaUiUtil}from'./meta-ui-util';export class UiUtil{static['isMobileEnv'](){return isMobileDevice();}static[a0_0x215b1d(0xa4)](){const _0x277789=a0_0x215b1d;let _0x3f31db=document[_0x277789(0xa0)];return _0x3f31db=_0x3f31db[_0x277789(0xda)](_0x3f31db[_0x277789(0xc9)]('i18next')),_0x3f31db[_0x277789(0xc9)](';')>-0x1&&(_0x3f31db=_0x3f31db['substring'](0x0,_0x3f31db[_0x277789(0xc9)](';'))),_0x3f31db=_0x3f31db[_0x277789(0xd4)](_0x277789(0xa7),''),'ko'==_0x3f31db?_0x277789(0xc3):_0x3f31db;}static[a0_0x215b1d(0x97)](){const _0x5f2788=a0_0x215b1d;let _0x3f14b2=store[_0x5f2788(0xad)]()[_0x5f2788(0xcb)][_0x5f2788(0xd0)];return _0x3f14b2[_0x3f14b2[_0x5f2788(0xcc)]-0x1];}static[a0_0x215b1d(0xb5)](){const _0x245d89=a0_0x215b1d;return store[_0x245d89(0xad)]()[_0x245d89(0xbb)]['page'];}static[a0_0x215b1d(0xa2)](_0x5409b7,_0x580526,_0x4a22b2,_0x50297a){return openPopup(_0x4a22b2,{'backdrop':!0x0,'size':_0x580526,'title':_0x5409b7,'backdrop':_0x50297a});}static async[a0_0x215b1d(0xb3)](_0x364a8b,_0x2dd299,_0x2fde42,_0x5f4ac4){const _0x2ad56c=a0_0x215b1d;let _0x123722=ValueUtil[_0x2ad56c(0xcd)](_0x2dd299[_0x2ad56c(0xba)])?ValueUtil['getParams'](_0x2fde42,..._0x2dd299[_0x2ad56c(0xba)][_0x2ad56c(0xdb)]('.')):void 0x0,_0x2acce3='<'+_0x2dd299[_0x2ad56c(0xc6)]+_0x2ad56c(0x9e)+_0x2dd299[_0x2ad56c(0x94)]+_0x2ad56c(0xdd)+_0x123722+_0x2ad56c(0xb8)+_0x2dd299[_0x2ad56c(0xc6)]+'>',_0x141009=UiUtil[_0x2ad56c(0xa8)](_0x2acce3);_0x141009[_0x2ad56c(0xb9)]=_0x2dd299,ValueUtil['isNotEmpty'](_0x2dd299[_0x2ad56c(0xc2)])&&(_0x141009[_0x2dd299[_0x2ad56c(0xc2)]]=_0x2fde42);let _0x58ce97=UiUtil[_0x2ad56c(0xa2)](_0x364a8b,_0x2dd299[_0x2ad56c(0xbd)],_0x141009,!0x0);_0x5f4ac4&&(_0x58ce97[_0x2ad56c(0xce)]=_0x5f4ac4);}static[a0_0x215b1d(0xbc)](_0x5b1b03,_0x230b92){const _0x4da58c=a0_0x215b1d;let _0x6c3ef3='<'+_0x5b1b03+_0x4da58c(0x9e)+_0x230b92+'\x27></'+_0x5b1b03+'>';return UiUtil['htmlToElement'](_0x6c3ef3);}static['htmlToElement'](_0x2c6383){const _0x128a0b=a0_0x215b1d;var _0x5989ff=document[_0x128a0b(0xa3)]('template');_0x5989ff[_0x128a0b(0xaf)]=_0x2c6383;var _0x40188c=_0x5989ff[_0x128a0b(0x9d)][_0x128a0b(0xbe)][0x0];return _0x5989ff[_0x128a0b(0x9d)][_0x128a0b(0xc0)](_0x40188c),_0x40188c;}static[a0_0x215b1d(0x96)](_0x3a6968,_0x1b209e){const _0x58d5dd=a0_0x215b1d;let _0x17c42f=_0x1b209e?'?':'';_0x1b209e&&(_0x17c42f+=_0x58d5dd(0x98)+JSON[_0x58d5dd(0x9c)](_0x1b209e)),navigate(''+_0x3a6968+_0x17c42f);}static['getStore'](_0x343f89,_0x1f046f,_0x15bea7){const _0x47a22b=a0_0x215b1d;let _0x5e8a94=_0x5e8a94[_0x47a22b(0xad)]();return _0x343f89&&_0x1f046f&&_0x15bea7?_0x5e8a94[_0x343f89][_0x1f046f][_0x15bea7]:_0x343f89&&_0x1f046f?_0x5e8a94[_0x343f89][_0x1f046f]:_0x343f89?_0x5e8a94[_0x343f89]:_0x5e8a94;}static[a0_0x215b1d(0xc8)](_0x2561ab,_0x1fbd20){document['dispatchEvent'](new CustomEvent(_0x2561ab,{'detail':_0x1fbd20}));}static[a0_0x215b1d(0xb6)](_0xa84218,_0x3fd2f4){const _0xffb333=a0_0x215b1d;document['dispatchEvent'](new CustomEvent(_0xffb333(0xa9),{'detail':{'type':_0xa84218,'message':_0x3fd2f4}}));}static async[a0_0x215b1d(0x9f)](_0x9893e6,_0x37c3ff,_0x1fe714,_0x1a01aa,_0x182cd0){const _0x5a9679=a0_0x215b1d;let _0x27b3ad={'title':TermsUtil['t'](_0x9893e6)||_0x9893e6,'text':TermsUtil['t'](_0x37c3ff)||_0x37c3ff};return _0x1fe714&&(_0x27b3ad['type']=_0x1fe714),_0x1a01aa&&(_0x27b3ad['confirmButton']=TermsUtil[_0x5a9679(0xb4)](_0x1a01aa)),_0x182cd0&&(_0x27b3ad[_0x5a9679(0x95)]=TermsUtil[_0x5a9679(0xb4)](_0x182cd0)),await CustomAlert(_0x27b3ad);}static[a0_0x215b1d(0xd6)](_0x3da993){const _0x5ab5e3=a0_0x215b1d;if(ValueUtil['isNotEmpty'](_0x3da993)){let _0x3cde53=_0x3da993[_0x5ab5e3(0xd9)]();ValueUtil['isNotEmpty'](_0x3cde53)&&_0x3cde53[_0x5ab5e3(0xab)](_0x12f9d5=>{const _0x5c9fb=_0x5ab5e3;ValueUtil[_0x5c9fb(0xcd)](_0x12f9d5[_0x5c9fb(0xa6)])&&(item[_0x12f9d5[_0x5c9fb(0xa5)]]=_0x12f9d5['value']?_0x12f9d5['value']:null);});}return{};}static[a0_0x215b1d(0xcf)](_0x3c02ab,_0xb82534,_0x39b7e0){const _0x5918a9=a0_0x215b1d;if(ValueUtil[_0x5918a9(0xcd)](_0x3c02ab)){let _0x773bd9=_0x3c02ab[_0x5918a9(0xae)]?.[_0x5918a9(0xdc)]('[name=\x27'+_0xb82534+'\x27]');ValueUtil[_0x5918a9(0xcd)](_0x773bd9)&&(_0x773bd9['value']=_0x39b7e0);}}static[a0_0x215b1d(0xd3)](_0x58f5c1,_0x2d9bc6,_0x209c7e,_0x1285e7){return getEditor(_0x58f5c1)('',_0x2d9bc6,_0x209c7e,_0x1285e7,{});}static[a0_0x215b1d(0xd2)](_0x404528,_0x4f8e24){const _0xee2fec=a0_0x215b1d;UiUtil[_0xee2fec(0xc4)](_0x404528)[_0xee2fec(0xa6)]=_0x4f8e24;}static[a0_0x215b1d(0xc4)](_0x2b71a6){const _0x4266f4=a0_0x215b1d;let _0x3be417=_0x2b71a6['getType']();return _0x4266f4(0xd5)==_0x3be417?_0x2b71a6[_0x4266f4(0xae)][_0x4266f4(0xdc)](_0x4266f4(0xc1)):'textarea'==_0x3be417?_0x2b71a6[_0x4266f4(0xae)][_0x4266f4(0xdc)](_0x4266f4(0xac)):_0x4266f4(0x99)==_0x3be417?_0x2b71a6[_0x4266f4(0xae)][_0x4266f4(0xdc)]('ox-select')[_0x4266f4(0xca)]:_0x4266f4(0xd1)==_0x3be417?_0x2b71a6[_0x4266f4(0xae)][_0x4266f4(0xdc)](_0x4266f4(0xbf))[_0x4266f4(0xae)][_0x4266f4(0xdc)](_0x4266f4(0xb0)):_0x2b71a6[_0x4266f4(0xae)][_0x4266f4(0xca)][_0x4266f4(0xb7)];}}
1
+ const a0_0x15de1a=a0_0x2434;(function(_0x225f79,_0x3372d6){const _0x5f2eab=a0_0x2434,_0x5f5067=_0x225f79();while(!![]){try{const _0x372b62=parseInt(_0x5f2eab(0x1d4))/0x1+-parseInt(_0x5f2eab(0x1be))/0x2+-parseInt(_0x5f2eab(0x1d7))/0x3*(-parseInt(_0x5f2eab(0x1db))/0x4)+parseInt(_0x5f2eab(0x1b4))/0x5*(-parseInt(_0x5f2eab(0x1cd))/0x6)+parseInt(_0x5f2eab(0x19d))/0x7*(-parseInt(_0x5f2eab(0x1b9))/0x8)+-parseInt(_0x5f2eab(0x1aa))/0x9*(-parseInt(_0x5f2eab(0x1af))/0xa)+-parseInt(_0x5f2eab(0x1d6))/0xb;if(_0x372b62===_0x3372d6)break;else _0x5f5067['push'](_0x5f5067['shift']());}catch(_0xb44ee8){_0x5f5067['push'](_0x5f5067['shift']());}}}(a0_0x34f5,0xf1018));import{store,CustomAlert,navigate}from'@things-factory/shell';import{openPopup}from'@things-factory/layout-base';function a0_0x34f5(){const _0x3868d5=['showToast','querySelector','getLeafInput','popup_field','49kfuLjZ','filters','parent_field','getState','pageNavigate','getFilterFormData','cancelButton','textarea','name','size','ox-input-barcode','content','setValueToEditor','14418mznVqo','\x20route_name=\x27','app','getType','innerHTML','9320vfwVbf','isMobileEnv','getParams','getStore','isNotEmpty','1216395alSiyT','\x27></','fireCustomEvent','barcode','tagname','743368orDqBd','cookie','stringify','currentLocale','i18next','2648870zqqFfl','\x27\x20is_popup=true></','\x27\x20\x20parent_id=\x27','input','replace','htmlToElement','childNodes','createEditorHtml','substring','ox-select','select-combo','length','template','dispatchEvent','showAlertPopup','6yFbdyj','currentRouting','renderRoot','forEach','notify','openPopupByElement','indexOf','781342HUfSKJ','i18next=','7406553MfqqYZ','9xqbkxT','onclosed','confirmButton','[name=\x27','2138984pwoaDm','type','tButton','getApplicationModuleInfo','split','value','createElement'];a0_0x34f5=function(){return _0x3868d5;};return a0_0x34f5();}import{isMobileDevice}from'@things-factory/utils';function a0_0x2434(_0x49f539,_0x55d5c1){const _0x34f514=a0_0x34f5();return a0_0x2434=function(_0x24346d,_0x45e54a){_0x24346d=_0x24346d-0x19b;let _0x3bf739=_0x34f514[_0x24346d];return _0x3bf739;},a0_0x2434(_0x49f539,_0x55d5c1);}import{getEditor}from'@operato/data-grist';import{TermsUtil}from'./terms-util';import{ValueUtil}from'./value-util';import{MetaUiUtil}from'./meta-ui-util';export class UiUtil{static[a0_0x15de1a(0x1b0)](){return isMobileDevice();}static[a0_0x15de1a(0x1bc)](){const _0x362c52=a0_0x15de1a;let _0x37ac73=document[_0x362c52(0x1ba)];return _0x37ac73=_0x37ac73[_0x362c52(0x1c6)](_0x37ac73[_0x362c52(0x1d3)](_0x362c52(0x1bd))),_0x37ac73[_0x362c52(0x1d3)](';')>-0x1&&(_0x37ac73=_0x37ac73[_0x362c52(0x1c6)](0x0,_0x37ac73[_0x362c52(0x1d3)](';'))),_0x37ac73=_0x37ac73[_0x362c52(0x1c2)](_0x362c52(0x1d5),''),'ko'==_0x37ac73?'ko-KR':_0x37ac73;}static[a0_0x15de1a(0x1de)](){const _0x33c8f5=a0_0x15de1a;let _0x21f099=store[_0x33c8f5(0x1a0)]()[_0x33c8f5(0x1ac)]['modules'];return _0x21f099[_0x21f099[_0x33c8f5(0x1c9)]-0x1];}static[a0_0x15de1a(0x1ce)](){const _0x53b732=a0_0x15de1a;return store[_0x53b732(0x1a0)]()['route']['page'];}static[a0_0x15de1a(0x1d2)](_0x5f55c4,_0x5458a0,_0x144a35,_0x5da060){return openPopup(_0x144a35,{'backdrop':!0x0,'size':_0x5458a0,'title':_0x5f55c4,'backdrop':_0x5da060});}static async['openDynamicPopup'](_0x58c23f,_0x289857,_0x3d19e9,_0x12281d){const _0x35b6ff=a0_0x15de1a;let _0x53c7e7=ValueUtil[_0x35b6ff(0x1b3)](_0x289857[_0x35b6ff(0x19f)])?ValueUtil[_0x35b6ff(0x1b1)](_0x3d19e9,..._0x289857[_0x35b6ff(0x19f)][_0x35b6ff(0x1df)]('.')):void 0x0,_0x1dd955='<'+_0x289857['tagname']+_0x35b6ff(0x1ab)+_0x289857['menu']+_0x35b6ff(0x1c0)+_0x53c7e7+_0x35b6ff(0x1bf)+_0x289857[_0x35b6ff(0x1b8)]+'>',_0x1c54e6=UiUtil[_0x35b6ff(0x1c3)](_0x1dd955);_0x1c54e6['config']=_0x289857,ValueUtil[_0x35b6ff(0x1b3)](_0x289857[_0x35b6ff(0x19c)])&&(_0x1c54e6[_0x289857['popup_field']]=_0x3d19e9);let _0x5ec8cd=UiUtil['openPopupByElement'](_0x58c23f,_0x289857[_0x35b6ff(0x1a6)],_0x1c54e6,!0x0);_0x12281d&&(_0x5ec8cd[_0x35b6ff(0x1d8)]=_0x12281d);}static['createCustomElement'](_0x579d56,_0x4351cb){const _0x3cb721=a0_0x15de1a;let _0x1e9cd0='<'+_0x579d56+_0x3cb721(0x1ab)+_0x4351cb+_0x3cb721(0x1b5)+_0x579d56+'>';return UiUtil['htmlToElement'](_0x1e9cd0);}static['htmlToElement'](_0x43817e){const _0x2d73dd=a0_0x15de1a;var _0x522a14=document[_0x2d73dd(0x1e1)](_0x2d73dd(0x1ca));_0x522a14[_0x2d73dd(0x1ae)]=_0x43817e;var _0xcdda25=_0x522a14[_0x2d73dd(0x1a8)][_0x2d73dd(0x1c4)][0x0];return _0x522a14[_0x2d73dd(0x1a8)]['removeChild'](_0xcdda25),_0xcdda25;}static[a0_0x15de1a(0x1a1)](_0x1bda2e,_0x310a5c){const _0x4776ce=a0_0x15de1a;let _0x128d15=_0x310a5c?'?':'';_0x310a5c&&(_0x128d15+='pass='+JSON[_0x4776ce(0x1bb)](_0x310a5c)),navigate(''+_0x1bda2e+_0x128d15);}static[a0_0x15de1a(0x1b2)](_0x44c35,_0x54cf7c,_0x6543b6){let _0x55bde7=_0x55bde7['getState']();return _0x44c35&&_0x54cf7c&&_0x6543b6?_0x55bde7[_0x44c35][_0x54cf7c][_0x6543b6]:_0x44c35&&_0x54cf7c?_0x55bde7[_0x44c35][_0x54cf7c]:_0x44c35?_0x55bde7[_0x44c35]:_0x55bde7;}static[a0_0x15de1a(0x1b6)](_0x26c966,_0x928c71){const _0x501fae=a0_0x15de1a;document[_0x501fae(0x1cb)](new CustomEvent(_0x26c966,{'detail':_0x928c71}));}static[a0_0x15de1a(0x1e2)](_0x474565,_0x511900){const _0x4d9bfb=a0_0x15de1a;document[_0x4d9bfb(0x1cb)](new CustomEvent(_0x4d9bfb(0x1d1),{'detail':{'type':_0x474565,'message':_0x511900}}));}static async[a0_0x15de1a(0x1cc)](_0x5249b3,_0x3f7bb3,_0x1811e9,_0x32cb4c,_0x2dd2ae){const _0x445509=a0_0x15de1a;let _0x43ca6e={'title':TermsUtil['t'](_0x5249b3)||_0x5249b3,'text':TermsUtil['t'](_0x3f7bb3)||_0x3f7bb3};return _0x1811e9&&(_0x43ca6e[_0x445509(0x1dc)]=_0x1811e9),_0x32cb4c&&(_0x43ca6e[_0x445509(0x1d9)]=TermsUtil[_0x445509(0x1dd)](_0x32cb4c)),_0x2dd2ae&&(_0x43ca6e[_0x445509(0x1a3)]=TermsUtil[_0x445509(0x1dd)](_0x2dd2ae)),await CustomAlert(_0x43ca6e);}static[a0_0x15de1a(0x1a2)](_0x57d9ba){const _0x5a5620=a0_0x15de1a;if(ValueUtil[_0x5a5620(0x1b3)](_0x57d9ba)){let _0x45c102=_0x57d9ba[_0x5a5620(0x19e)]();ValueUtil[_0x5a5620(0x1b3)](_0x45c102)&&_0x45c102[_0x5a5620(0x1d0)](_0xce1fc2=>{const _0x1e79fd=_0x5a5620;ValueUtil[_0x1e79fd(0x1b3)](_0xce1fc2[_0x1e79fd(0x1e0)])&&(item[_0xce1fc2[_0x1e79fd(0x1a5)]]=_0xce1fc2['value']?_0xce1fc2[_0x1e79fd(0x1e0)]:null);});}return{};}static['setSearchFormEditorValue'](_0x116607,_0x41fd78,_0x366d66){const _0x18ebe8=a0_0x15de1a;if(ValueUtil[_0x18ebe8(0x1b3)](_0x116607)){let _0xc4ccf0=_0x116607[_0x18ebe8(0x1cf)]?.['querySelector'](_0x18ebe8(0x1da)+_0x41fd78+'\x27]');ValueUtil[_0x18ebe8(0x1b3)](_0xc4ccf0)&&(_0xc4ccf0[_0x18ebe8(0x1e0)]=_0x366d66);}}static[a0_0x15de1a(0x1c5)](_0x265157,_0x3a0612,_0x47f618,_0x580458){return getEditor(_0x265157)('',_0x3a0612,_0x47f618,_0x580458,{});}static[a0_0x15de1a(0x1a9)](_0x94d6a1,_0x24bbff){const _0xd209fc=a0_0x15de1a;UiUtil[_0xd209fc(0x19b)](_0x94d6a1)['value']=_0x24bbff;}static[a0_0x15de1a(0x19b)](_0x2d2ed3){const _0x18ebf2=a0_0x15de1a;let _0x1e9e33=_0x2d2ed3[_0x18ebf2(0x1ad)]();return'code-editor'==_0x1e9e33?_0x2d2ed3[_0x18ebf2(0x1cf)][_0x18ebf2(0x1e3)]('ox-input-code'):_0x18ebf2(0x1a4)==_0x1e9e33?_0x2d2ed3[_0x18ebf2(0x1cf)][_0x18ebf2(0x1e3)]('textarea'):_0x18ebf2(0x1c8)==_0x1e9e33?_0x2d2ed3[_0x18ebf2(0x1cf)][_0x18ebf2(0x1e3)](_0x18ebf2(0x1c7))['firstElementChild']:_0x18ebf2(0x1b7)==_0x1e9e33?_0x2d2ed3['renderRoot'][_0x18ebf2(0x1e3)](_0x18ebf2(0x1a7))['renderRoot'][_0x18ebf2(0x1e3)](_0x18ebf2(0x1c1)):_0x2d2ed3[_0x18ebf2(0x1cf)]['firstElementChild']['editor'];}}
@@ -1 +1 @@
1
- function a0_0x4c74(){const _0x141153=['keys','object','5156920xPWTGz','populateArray','TRUE','isEquals','compareObjectValues','number','getParams','map','isEmpty','5DKBPBy','forEach','8324892GHkDxH','string','boolean','isNotEmpty','274688HKJccA','911806duYWWy','274umzeWl','length','slice','260019hLBgRZ','populateObject','506442WowwoB','8PMVDHP','7632qkeLJo','isArray'];a0_0x4c74=function(){return _0x141153;};return a0_0x4c74();}function a0_0x35e8(_0x152618,_0x3a5a12){const _0x4c74a1=a0_0x4c74();return a0_0x35e8=function(_0x35e80f,_0x42ed87){_0x35e80f=_0x35e80f-0x1e2;let _0x518dbf=_0x4c74a1[_0x35e80f];return _0x518dbf;},a0_0x35e8(_0x152618,_0x3a5a12);}const a0_0x58d670=a0_0x35e8;(function(_0x50805e,_0x8ab1b3){const _0x7cd276=a0_0x35e8,_0x3a7e4c=_0x50805e();while(!![]){try{const _0x322e8f=-parseInt(_0x7cd276(0x1e7))/0x1*(-parseInt(_0x7cd276(0x1fc))/0x2)+-parseInt(_0x7cd276(0x1e3))/0x3+parseInt(_0x7cd276(0x1fa))/0x4+-parseInt(_0x7cd276(0x1f4))/0x5*(-parseInt(_0x7cd276(0x1e5))/0x6)+-parseInt(_0x7cd276(0x1fb))/0x7*(parseInt(_0x7cd276(0x1e6))/0x8)+-parseInt(_0x7cd276(0x1f6))/0x9+parseInt(_0x7cd276(0x1eb))/0xa;if(_0x322e8f===_0x8ab1b3)break;else _0x3a7e4c['push'](_0x3a7e4c['shift']());}catch(_0x477c9b){_0x3a7e4c['push'](_0x3a7e4c['shift']());}}}(a0_0x4c74,0x8bc14));import a0_0xcc551a from'lodash-es/isEqual';import{TermsUtil}from'./terms-util';export class ValueUtil{static['isEmpty'](_0x4e7224){const _0x22cb51=a0_0x35e8;if(void 0x0===_0x4e7224)return!0x0;if(null===_0x4e7224)return!0x0;if(_0x22cb51(0x1f8)==typeof _0x4e7224)return!0x1;if(_0x22cb51(0x1f7)==typeof _0x4e7224||_0x22cb51(0x1f0)==typeof _0x4e7224){if(''==_0x4e7224)return!0x0;}else{if(Array[_0x22cb51(0x1e8)](_0x4e7224)){if(0x0==_0x4e7224[_0x22cb51(0x1fd)])return!0x0;}else{if(_0x22cb51(0x1ea)==typeof _0x4e7224&&0x0==Object[_0x22cb51(0x1e9)](_0x4e7224)[_0x22cb51(0x1fd)])return!0x0;}}return!0x1;}static[a0_0x58d670(0x1f9)](_0x43721e){const _0x2a4f31=a0_0x58d670;return!ValueUtil[_0x2a4f31(0x1f3)](_0x43721e);}static[a0_0x58d670(0x1ee)](_0x499384,_0x1ffd02){return a0_0xcc551a(_0x499384,_0x1ffd02);}static['toInteger'](_0x51f17b,_0x231ac8){return ValueUtil['isEmpty'](_0x51f17b)?_0x231ac8||0x0:parseInt(_0x51f17b);}static['toBoolean'](_0x4d7328){const _0x29966f=a0_0x58d670;return!ValueUtil[_0x29966f(0x1f3)](_0x4d7328)&&('true'==_0x4d7328||'t'==_0x4d7328||_0x29966f(0x1ed)==_0x4d7328||'T'==_0x4d7328||'on'==_0x4d7328||'ON'==_0x4d7328);}static[a0_0x58d670(0x1ef)](_0x27324e,_0x5c1833,_0x51acb1){const _0x2be349=a0_0x58d670;let _0x11cc51=!0x0;return _0x51acb1[_0x2be349(0x1f5)](_0x5b421a=>{const _0x3dac64=_0x2be349;let _0x1d02f4=_0x27324e[_0x5b421a];if('*'===_0x1d02f4)return;let _0x30a11a=_0x5c1833[_0x5b421a]||'';ValueUtil[_0x3dac64(0x1f3)](_0x1d02f4)?ValueUtil[_0x3dac64(0x1f9)](_0x30a11a)&&(_0x11cc51=!0x1):_0x1d02f4!=_0x30a11a&&(_0x11cc51=!0x1);}),_0x11cc51;}static['setParams'](_0x11af92,_0x22cb8e,_0x4305c6,_0x3a1eb6){const _0xb91213=a0_0x58d670;let _0x484b5f=ValueUtil[_0xb91213(0x1f1)](_0x22cb8e,_0x4305c6);return ValueUtil[_0xb91213(0x1f9)](_0x484b5f)&&(_0x11af92[_0x4305c6]=!0x0===_0x3a1eb6?TermsUtil['t'](_0x484b5f):_0x484b5f),_0x11af92;}static[a0_0x58d670(0x1f1)](_0x3e861e,..._0x4403ef){const _0x5da33e=a0_0x58d670;if(arguments[_0x5da33e(0x1fd)]<=0x1)return;let _0xcbc842=_0x4403ef[0x0];if(ValueUtil[_0x5da33e(0x1f3)](_0x3e861e[_0xcbc842]))return;let _0xe3b11d=_0x3e861e[_0xcbc842];return _0x4403ef[_0x5da33e(0x1fd)]>0x1?ValueUtil[_0x5da33e(0x1f1)](_0xe3b11d,..._0x4403ef[_0x5da33e(0x1e2)](0x1)):_0xe3b11d;}static[a0_0x58d670(0x1ec)](_0x5b2818,_0xfaeaba,..._0x3b1a82){const _0x1f1342=a0_0x58d670;return _0xfaeaba=_0xfaeaba||[],_0x3b1a82=_0x3b1a82||Object[_0x1f1342(0x1e9)](_0x5b2818),ValueUtil[_0x1f1342(0x1f9)](_0x3b1a82)&&(_0xfaeaba=_0x5b2818[_0x1f1342(0x1f2)]((_0x44c309,_0x9910be)=>{const _0x244e70=_0x1f1342;let _0x391feb=_0xfaeaba['length']>_0x9910be?_0xfaeaba[_0x9910be]:{};return ValueUtil[_0x244e70(0x1e4)](_0x44c309,_0x391feb,_0x3b1a82);})),_0xfaeaba;}static[a0_0x58d670(0x1e4)](_0x17b2e0,_0x11408c,..._0x3dd6df){const _0x5ed3aa=a0_0x58d670;return _0x11408c=_0x11408c||{},_0x3dd6df=_0x3dd6df||Object[_0x5ed3aa(0x1e9)](_0x17b2e0),ValueUtil[_0x5ed3aa(0x1f9)](_0x3dd6df)&&_0x3dd6df[_0x5ed3aa(0x1f5)](_0x1477df=>{_0x11408c[_0x1477df]=_0x17b2e0[_0x1477df];}),_0x11408c;}}
1
+ function a0_0x2e37(){const _0x22b05e=['map','toBoolean','boolean','forEach','compareObjectValues','5096966sSwpdq','populateObject','242IHOykE','TRUE','2104880ZcjOyH','3726543kMtMfA','object','7891260UpiJnm','isArray','length','124fAbbYI','104067mwPRrF','string','number','400bzkXVH','slice','keys','isEquals','populateArray','1508375goTfli','isEmpty','getParams','61655vwyyBR','isNotEmpty','2JfwjPa','toInteger'];a0_0x2e37=function(){return _0x22b05e;};return a0_0x2e37();}const a0_0x4e9a16=a0_0x4c3e;(function(_0x32252a,_0xf12909){const _0x9bf566=a0_0x4c3e,_0xf156c1=_0x32252a();while(!![]){try{const _0x4d197e=-parseInt(_0x9bf566(0x1be))/0x1+parseInt(_0x9bf566(0x1c3))/0x2*(-parseInt(_0x9bf566(0x1b0))/0x3)+-parseInt(_0x9bf566(0x1b5))/0x4*(-parseInt(_0x9bf566(0x1c1))/0x5)+-parseInt(_0x9bf566(0x1b2))/0x6+-parseInt(_0x9bf566(0x1ca))/0x7+parseInt(_0x9bf566(0x1b9))/0x8*(parseInt(_0x9bf566(0x1b6))/0x9)+parseInt(_0x9bf566(0x1af))/0xa*(parseInt(_0x9bf566(0x1cc))/0xb);if(_0x4d197e===_0xf12909)break;else _0xf156c1['push'](_0xf156c1['shift']());}catch(_0x5532f0){_0xf156c1['push'](_0xf156c1['shift']());}}}(a0_0x2e37,0xc2a3b));import a0_0x1c13ae from'lodash-es/isEqual';import{TermsUtil}from'./terms-util';function a0_0x4c3e(_0x2da5d2,_0x503bb0){const _0x2e37b2=a0_0x2e37();return a0_0x4c3e=function(_0x4c3e72,_0x3cbde4){_0x4c3e72=_0x4c3e72-0x1ae;let _0x2a3a85=_0x2e37b2[_0x4c3e72];return _0x2a3a85;},a0_0x4c3e(_0x2da5d2,_0x503bb0);}export class ValueUtil{static[a0_0x4e9a16(0x1bf)](_0x38ec1a){const _0x47233a=a0_0x4e9a16;if(void 0x0===_0x38ec1a)return!0x0;if(null===_0x38ec1a)return!0x0;if(_0x47233a(0x1c7)==typeof _0x38ec1a)return!0x1;if(_0x47233a(0x1b7)==typeof _0x38ec1a||_0x47233a(0x1b8)==typeof _0x38ec1a){if(''==_0x38ec1a)return!0x0;}else{if(Array[_0x47233a(0x1b3)](_0x38ec1a)){if(0x0==_0x38ec1a[_0x47233a(0x1b4)])return!0x0;}else{if(_0x47233a(0x1b1)==typeof _0x38ec1a&&0x0==Object[_0x47233a(0x1bb)](_0x38ec1a)[_0x47233a(0x1b4)])return!0x0;}}return!0x1;}static['isNotEmpty'](_0xa730d){return!ValueUtil['isEmpty'](_0xa730d);}static[a0_0x4e9a16(0x1bc)](_0x514e00,_0x4431d6){return a0_0x1c13ae(_0x514e00,_0x4431d6);}static[a0_0x4e9a16(0x1c4)](_0x3e33ea,_0x4d091a){return ValueUtil['isEmpty'](_0x3e33ea)?_0x4d091a||0x0:parseInt(_0x3e33ea);}static[a0_0x4e9a16(0x1c6)](_0x346dce){const _0x581c2e=a0_0x4e9a16;return!ValueUtil[_0x581c2e(0x1bf)](_0x346dce)&&('true'==_0x346dce||'t'==_0x346dce||_0x581c2e(0x1ae)==_0x346dce||'T'==_0x346dce||'on'==_0x346dce||'ON'==_0x346dce);}static[a0_0x4e9a16(0x1c9)](_0x4cfa34,_0x2c76cc,_0x3d9448){const _0xd9ac53=a0_0x4e9a16;let _0x1857ca=!0x0;return _0x3d9448[_0xd9ac53(0x1c8)](_0x54865b=>{const _0x51bf6f=_0xd9ac53;let _0x5c7ee8=_0x4cfa34[_0x54865b];if('*'===_0x5c7ee8)return;let _0xcdc2ef=_0x2c76cc[_0x54865b]||'';ValueUtil[_0x51bf6f(0x1bf)](_0x5c7ee8)?ValueUtil['isNotEmpty'](_0xcdc2ef)&&(_0x1857ca=!0x1):_0x5c7ee8!=_0xcdc2ef&&(_0x1857ca=!0x1);}),_0x1857ca;}static['setParams'](_0x3760ce,_0x371b04,_0x5626a5,_0x52c62c){const _0x479e0a=a0_0x4e9a16;let _0x5bb339=ValueUtil[_0x479e0a(0x1c0)](_0x371b04,_0x5626a5);return ValueUtil[_0x479e0a(0x1c2)](_0x5bb339)&&(_0x3760ce[_0x5626a5]=!0x0===_0x52c62c?TermsUtil['t'](_0x5bb339):_0x5bb339),_0x3760ce;}static[a0_0x4e9a16(0x1c0)](_0x2d6532,..._0x34d170){const _0x515994=a0_0x4e9a16;if(arguments[_0x515994(0x1b4)]<=0x1)return;let _0xe2fdbc=_0x34d170[0x0];if(ValueUtil[_0x515994(0x1bf)](_0x2d6532[_0xe2fdbc]))return;let _0x5b23b6=_0x2d6532[_0xe2fdbc];return _0x34d170[_0x515994(0x1b4)]>0x1?ValueUtil[_0x515994(0x1c0)](_0x5b23b6,..._0x34d170[_0x515994(0x1ba)](0x1)):_0x5b23b6;}static[a0_0x4e9a16(0x1bd)](_0x1ea179,_0x3a75d3,..._0x204f3e){const _0x534659=a0_0x4e9a16;return _0x3a75d3=_0x3a75d3||[],_0x204f3e=_0x204f3e||Object['keys'](_0x1ea179),ValueUtil['isNotEmpty'](_0x204f3e)&&(_0x3a75d3=_0x1ea179[_0x534659(0x1c5)]((_0xa283a,_0x53b105)=>{const _0x1c1ae3=_0x534659;let _0x9d6776=_0x3a75d3[_0x1c1ae3(0x1b4)]>_0x53b105?_0x3a75d3[_0x53b105]:{};return ValueUtil[_0x1c1ae3(0x1cb)](_0xa283a,_0x9d6776,_0x204f3e);})),_0x3a75d3;}static['populateObject'](_0x2a2c3d,_0x2f77d5,..._0x32b9ef){const _0x54c860=a0_0x4e9a16;return _0x2f77d5=_0x2f77d5||{},_0x32b9ef=_0x32b9ef||Object[_0x54c860(0x1bb)](_0x2a2c3d),ValueUtil[_0x54c860(0x1c2)](_0x32b9ef)&&_0x32b9ef[_0x54c860(0x1c8)](_0x307fe1=>{_0x2f77d5[_0x307fe1]=_0x2a2c3d[_0x307fe1];}),_0x2f77d5;}}
@@ -1,4 +1,4 @@
1
- function a0_0x5bb8(_0x1c88de,_0x3db36a){const _0x14d619=a0_0x14d6();return a0_0x5bb8=function(_0x5bb8a5,_0x3d952b){_0x5bb8a5=_0x5bb8a5-0x82;let _0x3a192e=_0x14d619[_0x5bb8a5];return _0x3a192e;},a0_0x5bb8(_0x1c88de,_0x3db36a);}(function(_0x44336e,_0xbb2ec2){const _0x269c71=a0_0x5bb8,_0x35cdb7=_0x44336e();while(!![]){try{const _0x3fdfa0=-parseInt(_0x269c71(0x88))/0x1+-parseInt(_0x269c71(0x82))/0x2+parseInt(_0x269c71(0x89))/0x3*(-parseInt(_0x269c71(0x86))/0x4)+parseInt(_0x269c71(0x87))/0x5*(-parseInt(_0x269c71(0x84))/0x6)+-parseInt(_0x269c71(0x8c))/0x7+parseInt(_0x269c71(0x8b))/0x8*(-parseInt(_0x269c71(0x8a))/0x9)+-parseInt(_0x269c71(0x85))/0xa*(-parseInt(_0x269c71(0x83))/0xb);if(_0x3fdfa0===_0xbb2ec2)break;else _0x35cdb7['push'](_0x35cdb7['shift']());}catch(_0x18b555){_0x35cdb7['push'](_0x35cdb7['shift']());}}}(a0_0x14d6,0xb3950));function a0_0x14d6(){const _0x520d3a=['32FbXezv','8586774JndnOg','497464anRHtC','62481914CTNYIc','241134VLchAL','10OFapng','755980blYcAd','70iTTqqe','964140fETvAg','18CajyuL','1818981bCoVKn'];a0_0x14d6=function(){return _0x520d3a;};return a0_0x14d6();}import{css}from'lit';export const DynamicMenuLandscapeStyles=css`
1
+ function a0_0x5641(_0x386a45,_0x5f7900){const _0x5573fb=a0_0x5573();return a0_0x5641=function(_0x5641ab,_0x38ab27){_0x5641ab=_0x5641ab-0xca;let _0x329368=_0x5573fb[_0x5641ab];return _0x329368;},a0_0x5641(_0x386a45,_0x5f7900);}function a0_0x5573(){const _0x3d805e=['136212LEpPhB','1599304vlmMIR','531516XsNnOD','27HkzEpJ','1347246brksgG','25VdGigY','816680vhJaNH','184211qldWST','3173107vELlHD'];a0_0x5573=function(){return _0x3d805e;};return a0_0x5573();}(function(_0x1d1324,_0x494965){const _0x32aeb8=a0_0x5641,_0x25ca26=_0x1d1324();while(!![]){try{const _0x4dffba=parseInt(_0x32aeb8(0xcc))/0x1+parseInt(_0x32aeb8(0xcb))/0x2+parseInt(_0x32aeb8(0xd1))/0x3*(-parseInt(_0x32aeb8(0xce))/0x4)+parseInt(_0x32aeb8(0xca))/0x5*(parseInt(_0x32aeb8(0xd0))/0x6)+-parseInt(_0x32aeb8(0xcd))/0x7+parseInt(_0x32aeb8(0xcf))/0x8+-parseInt(_0x32aeb8(0xd2))/0x9;if(_0x4dffba===_0x494965)break;else _0x25ca26['push'](_0x25ca26['shift']());}catch(_0x2b7f2d){_0x25ca26['push'](_0x25ca26['shift']());}}}(a0_0x5573,0x4f922));import{css}from'lit';export const DynamicMenuLandscapeStyles=css`
2
2
  :host {
3
3
  overflow-x: auto;
4
4
  background-color: var(--secondary-text-color);
@@ -1,25 +1,25 @@
1
- const a0_0xcfd2a7=a0_0x4e7d;function a0_0x4d34(){const _0x8b2a16=['render','scrollLeft','768898RCZzvu','2047932LEWYdN','15dfrTMw','523505cuIVGv','min','styles','3610360YusLAL','active-toplevel','transitionend','map','dynamic-menu-landscape','stopPropagation','addEventListener','8156960DqwOIt','type','submenu','settled','name','10156321rdsmoa','preventDefault','wheelDelta','dispatchEvent','407184hivbrx','define','removeAttribute','#force','path','querySelector','42qbzKPW','group','setAttribute','href','renderRoot','onWheelEvent','mousewheel','target','properties','icon','transitionstart'];a0_0x4d34=function(){return _0x8b2a16;};return a0_0x4d34();}(function(_0x144f53,_0x429fe4){const _0x424d56=a0_0x4e7d,_0x27dcc2=_0x144f53();while(!![]){try{const _0x28f1e2=parseInt(_0x424d56(0x129))/0x1+-parseInt(_0x424d56(0x116))/0x2*(-parseInt(_0x424d56(0x12b))/0x3)+-parseInt(_0x424d56(0x12f))/0x4+parseInt(_0x424d56(0x12c))/0x5*(-parseInt(_0x424d56(0x11c))/0x6)+parseInt(_0x424d56(0x112))/0x7+-parseInt(_0x424d56(0x10d))/0x8+parseInt(_0x424d56(0x12a))/0x9;if(_0x28f1e2===_0x429fe4)break;else _0x27dcc2['push'](_0x27dcc2['shift']());}catch(_0x19d677){_0x27dcc2['push'](_0x27dcc2['shift']());}}}(a0_0x4d34,0xc5cd0));import'@material/mwc-icon';import{html,LitElement}from'lit';import{connect}from'pwa-helpers';import{navigate,store}from'@operato/shell';import{ScrollbarStyles}from'@operato/styles';import{DynamicMenuLandscapeStyles}from'./dynamic-menu-landscape-styles';export class DynamicMenuLandscape extends connect(store)(LitElement){static get[a0_0xcfd2a7(0x12e)](){return[ScrollbarStyles,DynamicMenuLandscapeStyles];}static get[a0_0xcfd2a7(0x124)](){return{'menus':Array,'activeTopLevel':Object,'activeMenu':Object,'path':String};}[a0_0xcfd2a7(0x127)](){const _0x4caa05=a0_0xcfd2a7,{menus:_0xb5c860=[],activeTopLevel:_0x5f5ae6,activeMenu:_0x155b59}=this;return html`
1
+ function a0_0x1c62(){const _0x5797be=['dynamic-menu-landscape','removeAttribute','submenu','preventDefault','addEventListener','max','renderRoot','bind','render','9ypyRuH','transitionstart','7316645LZAYvN','name','onWheelEvent','3KtEdtJ','detail','styles','type','1412012gQbAjQ','activeTopLevel','menus','setAttribute','stopPropagation','10097904fdXVGB','icon','dispatchEvent','click','target','path','properties','7LVwMUp','define','settled','currentTarget','map','666546uxFjKL','#wrap','996050XzrOXv','3009516oejhLA','firstUpdated','description','524547yAdxPD'];a0_0x1c62=function(){return _0x5797be;};return a0_0x1c62();}const a0_0xcada40=a0_0x62f1;(function(_0x113422,_0x2a9005){const _0x3b3c73=a0_0x62f1,_0x65b53c=_0x113422();while(!![]){try{const _0x22e792=-parseInt(_0x3b3c73(0x117))/0x1+parseInt(_0x3b3c73(0x12a))/0x2+parseInt(_0x3b3c73(0x126))/0x3*(parseInt(_0x3b3c73(0x114))/0x4)+-parseInt(_0x3b3c73(0x123))/0x5+parseInt(_0x3b3c73(0x111))/0x6*(parseInt(_0x3b3c73(0x10c))/0x7)+parseInt(_0x3b3c73(0x12f))/0x8+parseInt(_0x3b3c73(0x121))/0x9*(-parseInt(_0x3b3c73(0x113))/0xa);if(_0x22e792===_0x2a9005)break;else _0x65b53c['push'](_0x65b53c['shift']());}catch(_0x532cf8){_0x65b53c['push'](_0x65b53c['shift']());}}}(a0_0x1c62,0xb5b29));import'@material/mwc-icon';import{html,LitElement}from'lit';import{connect}from'pwa-helpers';import{navigate,store}from'@operato/shell';function a0_0x62f1(_0x1e076b,_0x3df9b5){const _0x1c6275=a0_0x1c62();return a0_0x62f1=function(_0x62f182,_0x8d11da){_0x62f182=_0x62f182-0x109;let _0x169afb=_0x1c6275[_0x62f182];return _0x169afb;},a0_0x62f1(_0x1e076b,_0x3df9b5);}import{ScrollbarStyles}from'@operato/styles';import{DynamicMenuLandscapeStyles}from'./dynamic-menu-landscape-styles';export class DynamicMenuLandscape extends connect(store)(LitElement){static get[a0_0xcada40(0x128)](){return[ScrollbarStyles,DynamicMenuLandscapeStyles];}static get[a0_0xcada40(0x10b)](){return{'menus':Array,'activeTopLevel':Object,'activeMenu':Object,'path':String};}[a0_0xcada40(0x120)](){const _0x5320d0=a0_0xcada40,{menus:_0x3bf880=[],activeTopLevel:_0x1086e5,activeMenu:_0x3d7878}=this;return html`
2
2
  <div id="wrap">
3
3
  <ul>
4
- ${_0xb5c860[_0x4caa05(0x109)](_0x21c4e4=>_0x4caa05(0x11d)==_0x21c4e4[_0x4caa05(0x10e)]?html``:html`
5
- <li ?active=${_0x21c4e4===_0x5f5ae6}>
6
- <a href=${_0x21c4e4[_0x4caa05(0x11a)]||'#'}>
7
- ${_0x21c4e4[_0x4caa05(0x125)]?html`<mwc-icon>${_0x21c4e4[_0x4caa05(0x125)]}</mwc-icon>`:html``} ${_0x21c4e4[_0x4caa05(0x111)]}
4
+ ${_0x3bf880[_0x5320d0(0x110)](_0x2d6485=>'group'==_0x2d6485[_0x5320d0(0x129)]?html``:html`
5
+ <li ?active=${_0x2d6485===_0x1086e5}>
6
+ <a href=${_0x2d6485[_0x5320d0(0x10a)]||'#'}>
7
+ ${_0x2d6485['icon']?html`<mwc-icon>${_0x2d6485[_0x5320d0(0x130)]}</mwc-icon>`:html``} ${_0x2d6485['name']}
8
8
  </a>
9
9
 
10
10
  <ul submenus>
11
- ${_0x21c4e4['menus']?.[_0x4caa05(0x109)](_0x24fae0=>html`
12
- <li ?active=${_0x24fae0===_0x155b59}>
13
- <a href=${_0x24fae0[_0x4caa05(0x11a)]||'#'}> ${_0x24fae0[_0x4caa05(0x111)]} </a>
11
+ ${_0x2d6485[_0x5320d0(0x12c)]?.[_0x5320d0(0x110)](_0x565a49=>html`
12
+ <li ?active=${_0x565a49===_0x3d7878}>
13
+ <a href=${_0x565a49[_0x5320d0(0x10a)]||'#'}> ${_0x565a49[_0x5320d0(0x124)]} </a>
14
14
  </li>
15
15
  `)}
16
16
  </ul>
17
17
 
18
18
  <div description>
19
- ${_0x21c4e4[_0x4caa05(0x125)]?html`<mwc-icon>${_0x21c4e4[_0x4caa05(0x125)]}</mwc-icon>`:html``} ${_0x21c4e4['description']||''}
19
+ ${_0x2d6485[_0x5320d0(0x130)]?html`<mwc-icon>${_0x2d6485[_0x5320d0(0x130)]}</mwc-icon>`:html``} ${_0x2d6485[_0x5320d0(0x116)]||''}
20
20
  </div>
21
21
  </li>
22
22
  `)}
23
23
  </ul>
24
24
  </div>
25
- `;}['firstUpdated'](){const _0x3f02c4=a0_0xcfd2a7;this[_0x3f02c4(0x120)][_0x3f02c4(0x11b)]('#wrap')[_0x3f02c4(0x10c)](_0x3f02c4(0x122),this[_0x3f02c4(0x121)]['bind'](this),!0x1),this[_0x3f02c4(0x120)][_0x3f02c4(0x10c)]('click',_0x4e36bc=>{const _0x2aa9b1=_0x3f02c4;if(_0x4e36bc[_0x2aa9b1(0x123)][_0x2aa9b1(0x10f)]){_0x4e36bc[_0x2aa9b1(0x10b)](),_0x4e36bc[_0x2aa9b1(0x113)]();let _0x2099ce=_0x4e36bc['target']['submenu'];return void this[_0x2aa9b1(0x115)](new CustomEvent(_0x2aa9b1(0x130),{'bubbles':!0x0,'detail':this['activeTopLevel']===_0x2099ce?void 0x0:_0x2099ce}));}let _0x1b0843=_0x4e36bc['target'][_0x2aa9b1(0x11f)];_0x1b0843&&location[_0x2aa9b1(0x11f)]===_0x1b0843&&navigate(_0x1b0843+_0x2aa9b1(0x119),!0x0);}),this[_0x3f02c4(0x120)][_0x3f02c4(0x10c)](_0x3f02c4(0x126),_0x3ce45c=>{const _0x275e1b=_0x3f02c4;_0x3ce45c['target'][_0x275e1b(0x118)](_0x275e1b(0x110));}),this[_0x3f02c4(0x120)][_0x3f02c4(0x10c)](_0x3f02c4(0x108),_0x234737=>{const _0x31a15a=_0x3f02c4;_0x234737[_0x31a15a(0x123)][_0x31a15a(0x11e)](_0x31a15a(0x110),'');});}[a0_0xcfd2a7(0x121)](_0x500c8b){const _0x545451=a0_0xcfd2a7,_0x394085=_0x500c8b['currentTarget'];var _0x435266=Math['max'](-0x1,Math[_0x545451(0x12d)](0x1,_0x500c8b[_0x545451(0x114)]||-_0x500c8b['detail']));_0x394085[_0x545451(0x128)]-=0xa*_0x435266,_0x500c8b[_0x545451(0x113)]();}}function a0_0x4e7d(_0x1b93ae,_0x5310e6){const _0x4d34cc=a0_0x4d34();return a0_0x4e7d=function(_0x4e7d4d,_0x356009){_0x4e7d4d=_0x4e7d4d-0x108;let _0x3c2c05=_0x4d34cc[_0x4e7d4d];return _0x3c2c05;},a0_0x4e7d(_0x1b93ae,_0x5310e6);}customElements[a0_0xcfd2a7(0x117)](a0_0xcfd2a7(0x10a),DynamicMenuLandscape);
25
+ `;}[a0_0xcada40(0x115)](){const _0x5a09cf=a0_0xcada40;this[_0x5a09cf(0x11e)]['querySelector'](_0x5a09cf(0x112))[_0x5a09cf(0x11c)]('mousewheel',this[_0x5a09cf(0x125)][_0x5a09cf(0x11f)](this),!0x1),this[_0x5a09cf(0x11e)][_0x5a09cf(0x11c)](_0x5a09cf(0x132),_0x56026d=>{const _0x1367b1=_0x5a09cf;if(_0x56026d[_0x1367b1(0x109)][_0x1367b1(0x11a)]){_0x56026d[_0x1367b1(0x12e)](),_0x56026d[_0x1367b1(0x11b)]();let _0x5437ed=_0x56026d['target'][_0x1367b1(0x11a)];return void this[_0x1367b1(0x131)](new CustomEvent('active-toplevel',{'bubbles':!0x0,'detail':this[_0x1367b1(0x12b)]===_0x5437ed?void 0x0:_0x5437ed}));}let _0x22ed62=_0x56026d[_0x1367b1(0x109)]['href'];_0x22ed62&&location['href']===_0x22ed62&&navigate(_0x22ed62+'#force',!0x0);}),this[_0x5a09cf(0x11e)][_0x5a09cf(0x11c)](_0x5a09cf(0x122),_0xc81ae7=>{const _0x10b22c=_0x5a09cf;_0xc81ae7['target'][_0x10b22c(0x119)](_0x10b22c(0x10e));}),this[_0x5a09cf(0x11e)]['addEventListener']('transitionend',_0x1c15fd=>{const _0x32e492=_0x5a09cf;_0x1c15fd['target'][_0x32e492(0x12d)](_0x32e492(0x10e),'');});}['onWheelEvent'](_0x274478){const _0x2a2930=a0_0xcada40,_0x58867a=_0x274478[_0x2a2930(0x10f)];var _0x3fa540=Math[_0x2a2930(0x11d)](-0x1,Math['min'](0x1,_0x274478['wheelDelta']||-_0x274478[_0x2a2930(0x127)]));_0x58867a['scrollLeft']-=0xa*_0x3fa540,_0x274478[_0x2a2930(0x11b)]();}}customElements[a0_0xcada40(0x10d)](a0_0xcada40(0x118),DynamicMenuLandscape);
@@ -1,4 +1,4 @@
1
- var a0_0x3259a5=a0_0x5de9;(function(_0x1c0fe5,_0x1e2e16){var _0x322873=a0_0x5de9,_0x53b31f=_0x1c0fe5();while(!![]){try{var _0x4082af=parseInt(_0x322873(0x167))/0x1*(parseInt(_0x322873(0x164))/0x2)+-parseInt(_0x322873(0x154))/0x3*(parseInt(_0x322873(0x159))/0x4)+-parseInt(_0x322873(0x15a))/0x5+parseInt(_0x322873(0x17b))/0x6+parseInt(_0x322873(0x17a))/0x7+-parseInt(_0x322873(0x158))/0x8*(parseInt(_0x322873(0x16a))/0x9)+parseInt(_0x322873(0x178))/0xa*(-parseInt(_0x322873(0x165))/0xb);if(_0x4082af===_0x1e2e16)break;else _0x53b31f['push'](_0x53b31f['shift']());}catch(_0x5d7669){_0x53b31f['push'](_0x53b31f['shift']());}}}(a0_0x33e4,0x919be));import'@material/mwc-icon';import'./dynamic-menu-portrait';import'./dynamic-menu-landscape';import{css,html,LitElement}from'lit';import{connect}from'pwa-helpers';import{store}from'@operato/shell';import{ScrollbarStyles}from'@operato/styles';function isActiveMenu(_0x4bb6b1,_0x4b110f){var _0x5c26a4=a0_0x5de9;return _0x4bb6b1[_0x5c26a4(0x15f)]?.[_0x5c26a4(0x155)]('?')[0x0]===_0x4b110f||_0x4bb6b1[_0x5c26a4(0x16d)]&&_0x5c26a4(0x151)==typeof _0x4bb6b1[_0x5c26a4(0x16d)]&&_0x4bb6b1['active'][_0x5c26a4(0x16c)](_0x4bb6b1,{'path':_0x4b110f});}function a0_0x33e4(){var _0x29517d=['3360588venquG','3163956CIxiEB','function','_activeTopLevel','_findActivePage','6bWYqpU','split','render','_activeMenu','515216RqVpsy','227284CMpPUl','193555XxYkpw','metaUI','dynamic-menu-part','replaceChild','updated','path','route','active-toplevel','stopPropagation','styles','10wVkvQs','1115169tzmuTB','slotTemplate','42255wJOMtf','properties','find','9NokWxH','has','call','active','menus','stateChanged','resourceId','page','renderRoot','detail','define','landscape','_path','setAttribute','40DOQNtG','preventDefault'];a0_0x33e4=function(){return _0x29517d;};return a0_0x33e4();}export class DynamicMenuPart extends connect(store)(LitElement){static get[a0_0x3259a5(0x168)](){return{'page':String,'resourceId':String,'menus':Array,'orientation':String,'_activeTopLevel':Object,'_activeMenu':Object,'_path':String};}static get[a0_0x3259a5(0x163)](){return[ScrollbarStyles,css`
1
+ var a0_0x39d41e=a0_0x38d5;function a0_0x3b01(){var _0x1b056a=['function','active','landscape','menus','removeAttribute','find','53495gwUUoa','125uPVTwg','page','stopPropagation','5844MFYbWg','metaUI','_activeTopLevel','178pBFIrz','_path','render','498684eevSTS','firstUpdated','active-toplevel','410350gXYUve','7ITgzrC','24QRqAlS','slotTemplate','call','264voDXZN','addEventListener','setAttribute','preventDefault','styles','define','route','has','77QzbuKl','renderRoot','29745cQcktQ','_findActivePage','resourceId','10060alcWCG','190640OrWrQm','orientation'];a0_0x3b01=function(){return _0x1b056a;};return a0_0x3b01();}(function(_0x1ba448,_0x13719b){var _0x35180d=a0_0x38d5,_0x39df70=_0x1ba448();while(!![]){try{var _0x30d648=parseInt(_0x35180d(0x1c3))/0x1+parseInt(_0x35180d(0x1d2))/0x2*(parseInt(_0x35180d(0x1cf))/0x3)+parseInt(_0x35180d(0x1c2))/0x4*(-parseInt(_0x35180d(0x1cc))/0x5)+-parseInt(_0x35180d(0x1d5))/0x6*(-parseInt(_0x35180d(0x1d9))/0x7)+parseInt(_0x35180d(0x1dd))/0x8*(parseInt(_0x35180d(0x1bf))/0x9)+-parseInt(_0x35180d(0x1d8))/0xa*(parseInt(_0x35180d(0x1e5))/0xb)+parseInt(_0x35180d(0x1da))/0xc*(-parseInt(_0x35180d(0x1cb))/0xd);if(_0x30d648===_0x13719b)break;else _0x39df70['push'](_0x39df70['shift']());}catch(_0x308214){_0x39df70['push'](_0x39df70['shift']());}}}(a0_0x3b01,0x304d1));import'@material/mwc-icon';import'./dynamic-menu-portrait';import'./dynamic-menu-landscape';import{css,html,LitElement}from'lit';import{connect}from'pwa-helpers';function a0_0x38d5(_0x40850a,_0x3e6d53){var _0x3b0150=a0_0x3b01();return a0_0x38d5=function(_0x38d511,_0x1a8599){_0x38d511=_0x38d511-0x1bf;var _0x33fb03=_0x3b0150[_0x38d511];return _0x33fb03;},a0_0x38d5(_0x40850a,_0x3e6d53);}import{store}from'@operato/shell';import{ScrollbarStyles}from'@operato/styles';function isActiveMenu(_0x3d1414,_0x40d23e){var _0x5cbd7a=a0_0x38d5;return _0x3d1414['path']?.['split']('?')[0x0]===_0x40d23e||_0x3d1414['active']&&_0x5cbd7a(0x1c5)==typeof _0x3d1414[_0x5cbd7a(0x1c6)]&&_0x3d1414[_0x5cbd7a(0x1c6)][_0x5cbd7a(0x1dc)](_0x3d1414,{'path':_0x40d23e});}export class DynamicMenuPart extends connect(store)(LitElement){static get['properties'](){return{'page':String,'resourceId':String,'menus':Array,'orientation':String,'_activeTopLevel':Object,'_activeMenu':Object,'_path':String};}static get[a0_0x39d41e(0x1e1)](){return[ScrollbarStyles,css`
2
2
  :host {
3
3
  display: flex;
4
4
  overflow-y: auto;
@@ -27,18 +27,18 @@ var a0_0x3259a5=a0_0x5de9;(function(_0x1c0fe5,_0x1e2e16){var _0x322873=a0_0x5de9
27
27
  dynamic-menu-landscape {
28
28
  flex: 1;
29
29
  }
30
- `];}[a0_0x3259a5(0x156)](){var _0x233ad7=a0_0x3259a5;return html`
30
+ `];}[a0_0x39d41e(0x1d4)](){var _0x194228=a0_0x39d41e;return html`
31
31
  <slot name="head"></slot>
32
- ${'landscape'!==this['orientation']?html`<dynamic-menu-portrait
33
- .menus=${this[_0x233ad7(0x16e)]}
34
- .activeTopLevel=${this[_0x233ad7(0x152)]}
35
- .activeMenu=${this[_0x233ad7(0x157)]}
36
- .path=${this[_0x233ad7(0x176)]}
32
+ ${_0x194228(0x1c7)!==this[_0x194228(0x1c4)]?html`<dynamic-menu-portrait
33
+ .menus=${this[_0x194228(0x1c8)]}
34
+ .activeTopLevel=${this[_0x194228(0x1d1)]}
35
+ .activeMenu=${this['_activeMenu']}
36
+ .path=${this[_0x194228(0x1d3)]}
37
37
  ></dynamic-menu-portrait>`:html`<dynamic-menu-landscape
38
38
  .menus=${this['menus']}
39
- .activeTopLevel=${this['_activeTopLevel']}
39
+ .activeTopLevel=${this[_0x194228(0x1d1)]}
40
40
  .activeMenu=${this['_activeMenu']}
41
- .path=${this['_path']}
41
+ .path=${this[_0x194228(0x1d3)]}
42
42
  ></dynamic-menu-landscape>`}
43
43
  <slot name="tail"></slot>
44
- `;}['firstUpdated'](){var _0x1995bc=a0_0x3259a5;this[_0x1995bc(0x172)]['addEventListener'](_0x1995bc(0x161),_0x504f7a=>{var _0x4525e7=_0x1995bc;_0x504f7a[_0x4525e7(0x162)](),_0x504f7a[_0x4525e7(0x179)](),this[_0x4525e7(0x152)]=_0x504f7a[_0x4525e7(0x173)];});}[a0_0x3259a5(0x15e)](_0x2579e8){var _0x98f484=a0_0x3259a5;(_0x2579e8['has'](_0x98f484(0x16e))||_0x2579e8[_0x98f484(0x16b)](_0x98f484(0x171))||_0x2579e8[_0x98f484(0x16b)](_0x98f484(0x170)))&&this[_0x98f484(0x153)](),_0x2579e8[_0x98f484(0x16b)]('orientation')&&('portrait'==this['orientation']?this['removeAttribute'](_0x98f484(0x175)):this[_0x98f484(0x177)](_0x98f484(0x175),!0x0)),_0x2579e8[_0x98f484(0x16b)](_0x98f484(0x166))&&this[_0x98f484(0x15d)](this[_0x98f484(0x166)]);}[a0_0x3259a5(0x16f)](_0x59a24a){var _0x568733=a0_0x3259a5;this[_0x568733(0x171)]=_0x59a24a[_0x568733(0x160)][_0x568733(0x171)],this['resourceId']=_0x59a24a[_0x568733(0x160)][_0x568733(0x170)],this[_0x568733(0x16e)]=_0x59a24a['metaUI'][_0x568733(0x16e)]||[],this['slotTemplate']=_0x59a24a[_0x568733(0x15b)][_0x568733(0x166)];}[a0_0x3259a5(0x153)](){var _0x2fd05e=a0_0x3259a5,_0x4b7355,_0x2d53b3=this[_0x2fd05e(0x170)]?this[_0x2fd05e(0x171)]+'/'+this[_0x2fd05e(0x170)]:this[_0x2fd05e(0x171)],_0x3b149f=this['menus']||[];this[_0x2fd05e(0x152)]=_0x3b149f[_0x2fd05e(0x169)](_0x12d7b4=>isActiveMenu(_0x12d7b4,_0x2d53b3)?(_0x4b7355=_0x12d7b4,!0x0):_0x12d7b4[_0x2fd05e(0x16e)]?!!(_0x4b7355=_0x12d7b4[_0x2fd05e(0x16e)][_0x2fd05e(0x169)](_0x507889=>isActiveMenu(_0x507889,_0x2d53b3))):void 0x0),this[_0x2fd05e(0x176)]=_0x2d53b3,this[_0x2fd05e(0x157)]=_0x4b7355||this[_0x2fd05e(0x152)];}}function a0_0x5de9(_0x151563,_0x4d222a){var _0x33e46e=a0_0x33e4();return a0_0x5de9=function(_0x5de9ad,_0x1db54b){_0x5de9ad=_0x5de9ad-0x151;var _0x26e786=_0x33e46e[_0x5de9ad];return _0x26e786;},a0_0x5de9(_0x151563,_0x4d222a);}customElements[a0_0x3259a5(0x174)](a0_0x3259a5(0x15c),DynamicMenuPart);
44
+ `;}[a0_0x39d41e(0x1d6)](){var _0x39f758=a0_0x39d41e;this[_0x39f758(0x1e6)][_0x39f758(0x1de)](_0x39f758(0x1d7),_0x45c2cd=>{var _0x595411=_0x39f758;_0x45c2cd[_0x595411(0x1ce)](),_0x45c2cd[_0x595411(0x1e0)](),this['_activeTopLevel']=_0x45c2cd['detail'];});}['updated'](_0x18d385){var _0x21dc09=a0_0x39d41e;(_0x18d385['has']('menus')||_0x18d385[_0x21dc09(0x1e4)](_0x21dc09(0x1cd))||_0x18d385[_0x21dc09(0x1e4)]('resourceId'))&&this[_0x21dc09(0x1c0)](),_0x18d385[_0x21dc09(0x1e4)](_0x21dc09(0x1c4))&&('portrait'==this[_0x21dc09(0x1c4)]?this[_0x21dc09(0x1c9)](_0x21dc09(0x1c7)):this[_0x21dc09(0x1df)](_0x21dc09(0x1c7),!0x0)),_0x18d385[_0x21dc09(0x1e4)](_0x21dc09(0x1db))&&this['replaceChild'](this[_0x21dc09(0x1db)]);}['stateChanged'](_0x4fc9e5){var _0x101ede=a0_0x39d41e;this['page']=_0x4fc9e5[_0x101ede(0x1e3)][_0x101ede(0x1cd)],this[_0x101ede(0x1c1)]=_0x4fc9e5[_0x101ede(0x1e3)]['resourceId'],this[_0x101ede(0x1c8)]=_0x4fc9e5[_0x101ede(0x1d0)][_0x101ede(0x1c8)]||[],this['slotTemplate']=_0x4fc9e5[_0x101ede(0x1d0)][_0x101ede(0x1db)];}[a0_0x39d41e(0x1c0)](){var _0xc7ae2d=a0_0x39d41e,_0x302b53,_0x2417fb=this[_0xc7ae2d(0x1c1)]?this[_0xc7ae2d(0x1cd)]+'/'+this['resourceId']:this[_0xc7ae2d(0x1cd)],_0x557b59=this[_0xc7ae2d(0x1c8)]||[];this[_0xc7ae2d(0x1d1)]=_0x557b59['find'](_0x2d69e8=>isActiveMenu(_0x2d69e8,_0x2417fb)?(_0x302b53=_0x2d69e8,!0x0):_0x2d69e8['menus']?!!(_0x302b53=_0x2d69e8['menus'][_0xc7ae2d(0x1ca)](_0x3bf092=>isActiveMenu(_0x3bf092,_0x2417fb))):void 0x0),this['_path']=_0x2417fb,this['_activeMenu']=_0x302b53||this[_0xc7ae2d(0x1d1)];}}customElements[a0_0x39d41e(0x1e2)]('dynamic-menu-part',DynamicMenuPart);
@@ -1,4 +1,4 @@
1
- (function(_0x5280ec,_0x18c4b1){const _0x4faac7=a0_0x5402,_0x425069=_0x5280ec();while(!![]){try{const _0xc9e81d=parseInt(_0x4faac7(0xe5))/0x1+parseInt(_0x4faac7(0xed))/0x2*(parseInt(_0x4faac7(0xea))/0x3)+-parseInt(_0x4faac7(0xec))/0x4+parseInt(_0x4faac7(0xe6))/0x5+-parseInt(_0x4faac7(0xe8))/0x6*(parseInt(_0x4faac7(0xe7))/0x7)+parseInt(_0x4faac7(0xeb))/0x8+parseInt(_0x4faac7(0xe9))/0x9;if(_0xc9e81d===_0x18c4b1)break;else _0x425069['push'](_0x425069['shift']());}catch(_0x501ec4){_0x425069['push'](_0x425069['shift']());}}}(a0_0x48d2,0x4b4ea));function a0_0x5402(_0x8a0f09,_0x12f229){const _0x48d24b=a0_0x48d2();return a0_0x5402=function(_0x5402c6,_0x4dda44){_0x5402c6=_0x5402c6-0xe5;let _0x279b7f=_0x48d24b[_0x5402c6];return _0x279b7f;},a0_0x5402(_0x8a0f09,_0x12f229);}function a0_0x48d2(){const _0x4d425c=['872631kfKFjB','2629632iEMRqt','1125340hLFVjA','2pmQksM','102643gvTbfL','3570Hicake','777Tnasge','21234ztwfrh','2337156zMxRgA'];a0_0x48d2=function(){return _0x4d425c;};return a0_0x48d2();}import{css}from'lit';export const DynamicMenuPortraitStyles=css`
1
+ (function(_0x29bca9,_0x35e107){const _0x35d45d=a0_0x4fc4,_0x2a13ae=_0x29bca9();while(!![]){try{const _0x10e9aa=parseInt(_0x35d45d(0x1ec))/0x1+parseInt(_0x35d45d(0x1ef))/0x2*(-parseInt(_0x35d45d(0x1f3))/0x3)+-parseInt(_0x35d45d(0x1eb))/0x4+parseInt(_0x35d45d(0x1ed))/0x5*(parseInt(_0x35d45d(0x1f0))/0x6)+parseInt(_0x35d45d(0x1ee))/0x7*(parseInt(_0x35d45d(0x1f2))/0x8)+-parseInt(_0x35d45d(0x1f5))/0x9*(parseInt(_0x35d45d(0x1f1))/0xa)+parseInt(_0x35d45d(0x1f4))/0xb*(parseInt(_0x35d45d(0x1ea))/0xc);if(_0x10e9aa===_0x35e107)break;else _0x2a13ae['push'](_0x2a13ae['shift']());}catch(_0x426d47){_0x2a13ae['push'](_0x2a13ae['shift']());}}}(a0_0x48ac,0x644e3));import{css}from'lit';function a0_0x4fc4(_0x53f313,_0x11fa7b){const _0x48acb9=a0_0x48ac();return a0_0x4fc4=function(_0x4fc4c1,_0x54f7cd){_0x4fc4c1=_0x4fc4c1-0x1ea;let _0x359617=_0x48acb9[_0x4fc4c1];return _0x359617;},a0_0x4fc4(_0x53f313,_0x11fa7b);}export const DynamicMenuPortraitStyles=css`
2
2
  :host {
3
3
  display: flex;
4
4
  overflow-y: auto;
@@ -125,4 +125,4 @@
125
125
  font: bold 14px var(--theme-font);
126
126
  }
127
127
  }
128
- `;
128
+ `;function a0_0x48ac(){const _0x4f124d=['421861AilCMj','48501fGlEjS','12boboQW','2902552ixlVrU','690664ROgaBP','15yQveCF','14HixXCQ','22tMuguu','809742cZOZDB','430upEdNJ','2528976oPUEdP','108522oBffRS'];a0_0x48ac=function(){return _0x4f124d;};return a0_0x48ac();}
@@ -1,14 +1,14 @@
1
- const a0_0x563a4f=a0_0x4f56;function a0_0x4f56(_0x30a2ce,_0xb1df39){const _0x344452=a0_0x3444();return a0_0x4f56=function(_0x4f56bf,_0x5d544a){_0x4f56bf=_0x4f56bf-0xeb;let _0x166e88=_0x344452[_0x4f56bf];return _0x166e88;},a0_0x4f56(_0x30a2ce,_0xb1df39);}(function(_0x20d328,_0x16e091){const _0x4ad698=a0_0x4f56,_0x34d12d=_0x20d328();while(!![]){try{const _0x566d2f=-parseInt(_0x4ad698(0xfc))/0x1+-parseInt(_0x4ad698(0xf1))/0x2*(parseInt(_0x4ad698(0xeb))/0x3)+-parseInt(_0x4ad698(0xf8))/0x4+-parseInt(_0x4ad698(0xfa))/0x5*(-parseInt(_0x4ad698(0x10e))/0x6)+parseInt(_0x4ad698(0xf6))/0x7*(-parseInt(_0x4ad698(0xed))/0x8)+-parseInt(_0x4ad698(0x100))/0x9+parseInt(_0x4ad698(0xec))/0xa*(parseInt(_0x4ad698(0x105))/0xb);if(_0x566d2f===_0x16e091)break;else _0x34d12d['push'](_0x34d12d['shift']());}catch(_0x33342f){_0x34d12d['push'](_0x34d12d['shift']());}}}(a0_0x3444,0x4d1b5));import'@material/mwc-icon';import{html,LitElement}from'lit';import{navigate}from'@operato/shell';import{ScrollbarStyles}from'@operato/styles';import{DynamicMenuPortraitStyles}from'./dynamic-menu-portrait-styles';export class DynamicMenuPortrait extends LitElement{static get['styles'](){return[ScrollbarStyles,DynamicMenuPortraitStyles];}static get['properties'](){return{'menus':Array,'activeTopLevel':Object,'activeMenu':Object,'path':String};}[a0_0x563a4f(0xf2)](_0xebfe64,_0x2f29fc,_0x5d1594){const _0x215006=a0_0x563a4f;return html`
1
+ const a0_0x1c8e32=a0_0x4f99;(function(_0x5ebe48,_0x2e3fc2){const _0xeea1e8=a0_0x4f99,_0x218526=_0x5ebe48();while(!![]){try{const _0x3e98cb=-parseInt(_0xeea1e8(0x84))/0x1+parseInt(_0xeea1e8(0x72))/0x2+parseInt(_0xeea1e8(0x6c))/0x3+parseInt(_0xeea1e8(0x6b))/0x4*(-parseInt(_0xeea1e8(0x85))/0x5)+parseInt(_0xeea1e8(0x80))/0x6*(parseInt(_0xeea1e8(0x69))/0x7)+-parseInt(_0xeea1e8(0x87))/0x8+parseInt(_0xeea1e8(0x71))/0x9*(parseInt(_0xeea1e8(0x83))/0xa);if(_0x3e98cb===_0x2e3fc2)break;else _0x218526['push'](_0x218526['shift']());}catch(_0x5aaec9){_0x218526['push'](_0x218526['shift']());}}}(a0_0x3f01,0xe6730));function a0_0x3f01(){const _0x4d142f=['addEventListener','preventDefault','renderMenus','24363XNaAjM','124046MgKDpQ','dynamic-menu-portrait','length','renderRoot','path','settled','dispatchEvent','transitionstart','active-toplevel','click','call','target','[menu]','define','18mwAImI','styles','activeTopLevel','4470GsgmLU','1033348mjHOAq','8798115STOJMb','#force','7144272ebcqxL','href','setAttribute','firstUpdated','function','properties','removeAttribute','transitionend','stopPropagation','3444427DsewpP','menu','4UPWIrl','5645070QAwYtQ','render'];a0_0x3f01=function(){return _0x4d142f;};return a0_0x3f01();}import'@material/mwc-icon';import{html,LitElement}from'lit';import{navigate}from'@operato/shell';import{ScrollbarStyles}from'@operato/styles';function a0_0x4f99(_0x4371b0,_0x1f08d4){const _0x3f0171=a0_0x3f01();return a0_0x4f99=function(_0x4f99ae,_0x1ba9b1){_0x4f99ae=_0x4f99ae-0x66;let _0x35605b=_0x3f0171[_0x4f99ae];return _0x35605b;},a0_0x4f99(_0x4371b0,_0x1f08d4);}import{DynamicMenuPortraitStyles}from'./dynamic-menu-portrait-styles';export class DynamicMenuPortrait extends LitElement{static get[a0_0x1c8e32(0x81)](){return[ScrollbarStyles,DynamicMenuPortraitStyles];}static get[a0_0x1c8e32(0x8c)](){return{'menus':Array,'activeTopLevel':Object,'activeMenu':Object,'path':String};}['renderMenus'](_0x345ec5,_0x593e95,_0x44a906){return html`
2
2
  <ul>
3
- ${_0xebfe64[_0x215006(0x106)](_0x4aa8e7=>{const _0x2f3bf2=_0x215006;var {type:_0x1b293b,active:_0x4b3105,path:_0x198dcd,name:_0xcefdc6,badge:_0x5b6638,icon:_0x102535,menus:_0x1553a1}=_0x4aa8e7;return _0x4b3105=!(!_0x4b3105||'function'!=typeof _0x4b3105)&&_0x4b3105[_0x2f3bf2(0xfb)](_0x4aa8e7,{'path':this[_0x2f3bf2(0xf0)]}),_0x5b6638=_0x2f3bf2(0xf5)==typeof _0x5b6638?_0x5b6638['call'](_0x4aa8e7):_0x5b6638??!0x1,_0x2f3bf2(0x110)==_0x1b293b?html`<li group-label>${_0xcefdc6}</li>`:html`
4
- <li ?active=${_0x2f29fc?_0x4aa8e7===_0x2f29fc:_0x4b3105} .menu=${_0x4aa8e7} menu>
5
- <a href=${_0x198dcd||'#'}>
6
- ${_0x1553a1?.['length']>0x0?html` <mwc-icon submenu-button></mwc-icon> `:html``}
7
- <mwc-icon>${_0x102535}</mwc-icon>
8
- ${_0xcefdc6} ${!0x1!==_0x5b6638?html`<div badge>${_0x5b6638}</div>`:html``}
3
+ ${_0x345ec5['map'](_0x497582=>{const _0x358cd9=a0_0x4f99;var {type:_0x520425,active:_0x2a11c2,path:_0x133e58,name:_0x3968ad,badge:_0xdae7fb,icon:_0x4f5781,menus:_0x56bbd4}=_0x497582;return _0x2a11c2=!(!_0x2a11c2||'function'!=typeof _0x2a11c2)&&_0x2a11c2[_0x358cd9(0x7c)](_0x497582,{'path':this['path']}),_0xdae7fb=_0x358cd9(0x8b)==typeof _0xdae7fb?_0xdae7fb[_0x358cd9(0x7c)](_0x497582):_0xdae7fb??!0x1,'group'==_0x520425?html`<li group-label>${_0x3968ad}</li>`:html`
4
+ <li ?active=${_0x593e95?_0x497582===_0x593e95:_0x2a11c2} .menu=${_0x497582} menu>
5
+ <a href=${_0x133e58||'#'}>
6
+ ${_0x56bbd4?.[_0x358cd9(0x74)]>0x0?html` <mwc-icon submenu-button></mwc-icon> `:html``}
7
+ <mwc-icon>${_0x4f5781}</mwc-icon>
8
+ ${_0x3968ad} ${!0x1!==_0xdae7fb?html`<div badge>${_0xdae7fb}</div>`:html``}
9
9
  </a>
10
- ${_0x1553a1&&this['renderMenus'](_0x1553a1,_0x5d1594)}
10
+ ${_0x56bbd4&&this['renderMenus'](_0x56bbd4,_0x44a906)}
11
11
  </li>
12
12
  `;})}
13
13
  </ul>
14
- `;}[a0_0x563a4f(0x101)](){const {menus:_0x17c321,activeTopLevel:_0x21ab47,activeMenu:_0x29a3dc}=this;return this['renderMenus'](_0x17c321,_0x21ab47,_0x29a3dc);}[a0_0x563a4f(0xef)](){const _0x148dad=a0_0x563a4f;this[_0x148dad(0x10a)][_0x148dad(0xf7)](_0x148dad(0x109),_0x3ced88=>{const _0x2036e5=_0x148dad,_0x8251ee=_0x3ced88[_0x2036e5(0x10f)][_0x2036e5(0xfe)](_0x2036e5(0xf9));if(_0x8251ee?.[_0x2036e5(0x10b)]){let _0x43817f=_0x8251ee['menu'];_0x43817f[_0x2036e5(0xf0)]||(_0x3ced88['stopPropagation'](),_0x3ced88[_0x2036e5(0x103)]()),this['dispatchEvent'](new CustomEvent(_0x2036e5(0xf4),{'bubbles':!0x0,'detail':this[_0x2036e5(0xee)]===_0x43817f?void 0x0:_0x43817f}));}let _0x12474=_0x3ced88[_0x2036e5(0x10f)][_0x2036e5(0x108)];_0x12474&&location[_0x2036e5(0x108)]===_0x12474&&navigate(_0x12474+_0x2036e5(0x104),!0x0);}),this[_0x148dad(0x10a)][_0x148dad(0xf7)](_0x148dad(0x107),_0x58b94e=>{const _0x303b4d=_0x148dad;_0x58b94e['target'][_0x303b4d(0x10c)](_0x303b4d(0xff));}),this[_0x148dad(0x10a)][_0x148dad(0xf7)](_0x148dad(0xfd),_0x2e4f35=>{const _0x5652d2=_0x148dad;_0x2e4f35[_0x5652d2(0x10f)][_0x5652d2(0x102)]('settled','');});}}customElements[a0_0x563a4f(0x10d)](a0_0x563a4f(0xf3),DynamicMenuPortrait);function a0_0x3444(){const _0x211a7e=['177QXKUMh','270550oQvxmR','7976xXnMao','activeTopLevel','firstUpdated','path','19334BAzkkd','renderMenus','dynamic-menu-portrait','active-toplevel','function','1162yHBOoQ','addEventListener','1017868PRsEhs','[menu]','113005uahZtb','call','629720WeMBbl','transitionend','closest','settled','1372320AhYgFx','render','setAttribute','preventDefault','#force','748dJbQAY','map','transitionstart','href','click','renderRoot','menu','removeAttribute','define','66DJtwrQ','target','group'];a0_0x3444=function(){return _0x211a7e;};return a0_0x3444();}
14
+ `;}[a0_0x1c8e32(0x6d)](){const _0xfe8a7f=a0_0x1c8e32,{menus:_0x2f7f53,activeTopLevel:_0x1ed12b,activeMenu:_0x56877f}=this;return this[_0xfe8a7f(0x70)](_0x2f7f53,_0x1ed12b,_0x56877f);}[a0_0x1c8e32(0x8a)](){const _0x3978a4=a0_0x1c8e32;this[_0x3978a4(0x75)][_0x3978a4(0x6e)](_0x3978a4(0x7b),_0xe6c40=>{const _0x2d92ad=_0x3978a4,_0x5169d1=_0xe6c40[_0x2d92ad(0x7d)]['closest'](_0x2d92ad(0x7e));if(_0x5169d1?.[_0x2d92ad(0x6a)]){let _0x2ead21=_0x5169d1['menu'];_0x2ead21[_0x2d92ad(0x76)]||(_0xe6c40[_0x2d92ad(0x68)](),_0xe6c40[_0x2d92ad(0x6f)]()),this[_0x2d92ad(0x78)](new CustomEvent(_0x2d92ad(0x7a),{'bubbles':!0x0,'detail':this[_0x2d92ad(0x82)]===_0x2ead21?void 0x0:_0x2ead21}));}let _0x5815e7=_0xe6c40['target']['href'];_0x5815e7&&location[_0x2d92ad(0x88)]===_0x5815e7&&navigate(_0x5815e7+_0x2d92ad(0x86),!0x0);}),this[_0x3978a4(0x75)][_0x3978a4(0x6e)](_0x3978a4(0x79),_0xf53d4f=>{const _0x5d5cca=_0x3978a4;_0xf53d4f[_0x5d5cca(0x7d)][_0x5d5cca(0x66)](_0x5d5cca(0x77));}),this[_0x3978a4(0x75)][_0x3978a4(0x6e)](_0x3978a4(0x67),_0x960dd8=>{const _0x11e082=_0x3978a4;_0x960dd8[_0x11e082(0x7d)][_0x11e082(0x89)](_0x11e082(0x77),'');});}}customElements[a0_0x1c8e32(0x7f)](a0_0x1c8e32(0x73),DynamicMenuPortrait);