@things-factory/meta-ui 6.1.5 → 6.1.6

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 (89) hide show
  1. package/client/actions/main.js +4 -4
  2. package/client/component/filter/filter-form-meta-code-select.js +9 -9
  3. package/client/component/filter/filter-form-meta-object-select.js +9 -9
  4. package/client/component/filter/filter-grist-meta-code-select.js +9 -9
  5. package/client/component/filter/filter-grist-meta-object-select.js +9 -9
  6. package/client/component/grist/editor/grist-editor-meta-code-selector.js +7 -7
  7. package/client/component/grist/editor/grist-editor-meta-object-selector.js +7 -7
  8. package/client/component/grist/renderer/grist-renderer-meta-code-selector.js +1 -1
  9. package/client/component/grist/renderer/grist-renderer-meta-object-selector.js +1 -1
  10. package/client/component/selector/meta-object-selector-popup.js +11 -11
  11. package/client/mixin/meta-base-mixin.js +1 -1
  12. package/client/mixin/meta-basic-grist-mixin.js +4 -4
  13. package/client/mixin/meta-button-mixin.js +1 -1
  14. package/client/mixin/meta-form-mixin.js +1 -1
  15. package/client/mixin/meta-grist-tab-mixin.js +1 -1
  16. package/client/mixin/meta-main-tab-mixin.js +1 -1
  17. package/client/mixin/meta-master-detail-mixin.js +1 -1
  18. package/client/mixin/meta-service-mixin.js +1 -1
  19. package/client/mixin/meta-tab-detail-mixin.js +1 -1
  20. package/client/mixin/meta-tab-mixin.js +1 -1
  21. package/client/pages/activity/meta-activity-list-page.js +6 -6
  22. package/client/pages/activity/meta-activity-viewer-element.js +3 -3
  23. package/client/pages/activity/meta-activity-writer-element.js +3 -3
  24. package/client/pages/activity/meta-activiy-mixin.js +3 -3
  25. package/client/pages/entity/config-entity.js +29 -29
  26. package/client/pages/entity/main-menu-selector.js +8 -8
  27. package/client/pages/history/history-copy-list-popup.js +6 -6
  28. package/client/pages/history/history-json-list-popup.js +6 -6
  29. package/client/pages/loading-page.js +5 -5
  30. package/client/pages/menu/dynamic-menu-template.js +7 -7
  31. package/client/pages/menu/dynamic-menu.js +15 -15
  32. package/client/pages/meta-form-element.js +1 -1
  33. package/client/pages/meta-grist-element.js +1 -1
  34. package/client/pages/meta-grist-page.js +1 -1
  35. package/client/pages/meta-grist-tab-element.js +1 -1
  36. package/client/pages/meta-grist-tab-page.js +1 -1
  37. package/client/pages/meta-main-tab-element.js +1 -1
  38. package/client/pages/meta-main-tab-page.js +1 -1
  39. package/client/pages/meta-master-detail-element.js +1 -1
  40. package/client/pages/meta-master-detail-page.js +1 -1
  41. package/client/pages/meta-tab-detail-element.js +1 -1
  42. package/client/pages/meta-tab-detail-page.js +1 -1
  43. package/client/pages/meta-tab-element.js +1 -1
  44. package/client/pages/personalize/personal-column-selector.js +11 -11
  45. package/client/pages/terms/config-terminology.js +6 -6
  46. package/client/pages/work-code/work-code-detail-popup.js +1 -1
  47. package/client/pages/work-code/work-code-page.js +1 -1
  48. package/client/reducers/main.js +1 -1
  49. package/client/utils/meta-api.js +1 -1
  50. package/client/utils/meta-crypto.js +1 -1
  51. package/client/utils/meta-ui-util.js +103 -103
  52. package/client/utils/service-util.js +13 -13
  53. package/client/utils/terms-util.js +2 -2
  54. package/client/utils/ui-util.js +1 -1
  55. package/client/utils/value-util.js +1 -1
  56. package/client/viewparts/dynamic-menu-landscape-styles.js +1 -1
  57. package/client/viewparts/dynamic-menu-landscape.js +10 -10
  58. package/client/viewparts/dynamic-menu-part.js +11 -11
  59. package/client/viewparts/dynamic-menu-portrait-styles.js +1 -1
  60. package/client/viewparts/dynamic-menu-portrait.js +9 -9
  61. package/client/viewparts/dynamic-top-menu-bar.js +7 -7
  62. package/package.json +2 -2
  63. package/server/activity/CommonActivity.js +2 -2
  64. package/server/constants/error-code.js +1 -1
  65. package/server/errors/license-error.js +1 -1
  66. package/server/routes.js +1 -1
  67. package/server/service/entity-event-subscriber/entity-event-subscriber.js +1 -1
  68. package/server/service/grid-personalize/grid-personalize-mutation.js +1 -1
  69. package/server/service/grid-personalize/grid-personalize-query.js +1 -1
  70. package/server/service/grid-personalize/grid-personalize-type.js +1 -1
  71. package/server/service/grid-personalize/grid-personalize.js +1 -1
  72. package/server/service/index.js +3 -1
  73. package/server/service/meta-activity/meta-activity-mutation.js +1 -1
  74. package/server/service/meta-activity/meta-activity-query.js +1 -1
  75. package/server/service/meta-activity/meta-activity-type.js +1 -1
  76. package/server/service/meta-secret/meta-resolver.js +1 -1
  77. package/server/service/set-translations/set-translation-resolver.js +1 -1
  78. package/server/service/work-code/work-code-mutation.js +1 -1
  79. package/server/service/work-code/work-code-query.js +1 -1
  80. package/server/service/work-code/work-code-type.js +1 -1
  81. package/server/service/work-code/work-code.js +1 -1
  82. package/server/service/work-code-detail/work-code-detail-mutation.js +1 -1
  83. package/server/service/work-code-detail/work-code-detail-query.js +1 -1
  84. package/server/service/work-code-detail/work-code-detail-type.js +1 -1
  85. package/server/service/work-code-detail/work-code-detail.js +1 -1
  86. package/translations/en.json +2 -1
  87. package/translations/ko.json +2 -1
  88. package/translations/ms.json +2 -1
  89. package/translations/zh.json +2 -1
@@ -1,4 +1,4 @@
1
- const a0_0x390285=a0_0x3a31;(function(_0x599524,_0x44750a){const _0x53122b=a0_0x3a31,_0x585798=_0x599524();while(!![]){try{const _0x569d24=parseInt(_0x53122b(0x15c))/0x1*(-parseInt(_0x53122b(0x161))/0x2)+-parseInt(_0x53122b(0x11b))/0x3*(-parseInt(_0x53122b(0x13a))/0x4)+-parseInt(_0x53122b(0xe4))/0x5*(parseInt(_0x53122b(0x120))/0x6)+-parseInt(_0x53122b(0x146))/0x7+parseInt(_0x53122b(0x11f))/0x8+-parseInt(_0x53122b(0x12e))/0x9*(-parseInt(_0x53122b(0x103))/0xa)+parseInt(_0x53122b(0xef))/0xb;if(_0x569d24===_0x44750a)break;else _0x585798['push'](_0x585798['shift']());}catch(_0x125f1b){_0x585798['push'](_0x585798['shift']());}}}(a0_0x7d05,0xe91fc));import{store,gqlContext}from'@things-factory/shell';import{getCodeByName}from'@things-factory/code-base';function a0_0x3a31(_0x4d8a27,_0x471ce0){const _0x7d054e=a0_0x7d05();return a0_0x3a31=function(_0x3a315f,_0x56380b){_0x3a315f=_0x3a315f-0xda;let _0x1f50ce=_0x7d054e[_0x3a315f];return _0x1f50ce;},a0_0x3a31(_0x4d8a27,_0x471ce0);}function a0_0x7d05(){const _0x522971=['todo-list','errors','codeItems','info','undefined','total','deleteListByGristSelected','success\x20to\x20delete','showGraphqlErrorResponse','id,template','data','children','extensions','button.delete','iconPath','type','numberOfDrafts','deleteListByIds','HIDDEN-PAGE','test','details','hiddenFlag','getWorkCodeByName','3882tbwTns','success\x20to\x20process','xlsx','approval-pending-list','12991544qlFcLC','12gjrHgT','title','group','length','gutter','display','searchByPagination','__origin__','gridPersonalizeTemplates','__dirty__','confirm','text.nothing_changed','rank','unshift','3197709NkiIob','text.nothing_selected','exportableData','imex','callScenario','menuType','object','myDynamicMenus','record','_config','\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','dirtyRecords','3812XFrTqx','tMenu','key','buildArgs','parse','noteq','\x0a\x20\x20\x20\x20','checkClientError','records','cancel','parent','items','12450893GdlQup','name','getCodeSelectorData','menus','push','searchMenuGridPersnalTemplate','text.are_you_sure','findIndex','path','category','columns','message','__seq__','updater','forEach','numberOfApprovalPendings','createdAt','isArray','code','question','draft-list','isNotEmpty','1XMJxAy','searchMyDynamicMenus','result','GROUP','resourceUrl','2690436IwVnSp','success\x20to\x20save','reduce','error','runScenario','showToast','query','dispatch','\x0a\x20\x20\x20\x20\x20\x20','button.','patchesForUpdateMultiple','3984270bIxDyA','text.there_is_nothing_to_delete','badge','routing','fetch','MENU','map','arrangeMenuRoutes','workCodeByName','sort','hidden','11427581VjBHJc','networkError','tText','findOne','updateMultiple','description','active','splice','showAlertPopup','isEmpty','value','find','SCREEN','selected','filter','getSelectedIdList','menu.id','HOME','updateMultipleData','showGraphqlException','50JbMHPV'];a0_0x7d05=function(){return _0x522971;};return a0_0x7d05();}import{EXPORT}from'@things-factory/export-base';import{gqlBuilder}from'@things-factory/utils';import{client}from'@operato/graphql';import{TermsUtil}from'./terms-util';import{UiUtil}from'./ui-util';import a0_0x1505f9 from'graphql-tag';import{ValueUtil}from'./value-util';import{asyncReplace}from'lit/directives/async-replace.js';import a0_0x5ed8a2 from'i18next';import{generateActivitySummary,startSubscribeActivitySummary}from'@things-factory/worklist';export class ServiceUtil{static async[a0_0x390285(0x106)](_0x4484c8){const _0x2ea52c=a0_0x390285;if(Array[_0x2ea52c(0x157)](_0x4484c8))return _0x4484c8['map'](_0x4d9699=>_0x2ea52c(0x134)==typeof _0x4d9699?{'name':_0x4d9699[_0x2ea52c(0xf9)],'description':_0x4d9699[_0x2ea52c(0x125)]}:{'name':_0x4d9699,'description':_0x4d9699});let _0x17f602=await ServiceUtil[_0x2ea52c(0x11a)](_0x4484c8);return _0x17f602&&_0x17f602['length']>0x0?_0x17f602:await getCodeByName(_0x4484c8);}static async[a0_0x390285(0x11a)](_0x5377df){const _0x4317b4=a0_0x390285,_0x23367c=await client[_0x4317b4(0xdf)]({'query':a0_0x1505f9`
1
+ function a0_0x1c8b(){const _0x3903ea=['filter','showAlertPopup','\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','isEmpty','hiddenFlag','5EgkGhN','23896jrbEaX','dirtyRecords','test','map','split','arrangeMenuRoutes','numberOfToDos','MENU','forEach','getCodeSelectorData','iconPath','undefined','text.NOTHING_CHANGED','group','createdAt','updatedAt','button.delete','1791801dazWEK','splice','8kYHDpX','2792028hSrCgi','sort','text.are_you_sure','message','searchMenuGridPersnalTemplate','extensions','object','text.nothing_selected','success\x20to\x20process','info','active','unshift','4652RvtLgP','tText','\x0a\x20\x20\x20\x20\x20\x20','fetch','routingType','getWorkCodeByName','2029986YAEbzk','total','gutter','hidden','imex','__selected__','SCREEN','menu.id','patchesForUpdateMultiple','rank','showToast','template','isArray','error','children','menus','type','records','showGraphqlException','myDynamicMenus','deleteListByIds','exportableData','value','__dirty__','dispatch','length','id,template','parent','207jfLcWf','GROUP','details','72eVvPdO','showGraphqlErrorResponse','name','display','menuType','callScenario','_config','__dirtyfields__','noteq','path','searchMyDynamicMenus','items','getSelectedIdList','parse','searchByPagination','badge','columns','getCodeByScenario','record','result','checkClientError','title','push','question','192prgbxJ','22210TKdOel','isNotEmpty','data','find','HOME','confirm','cancel','category','findOne','description','742522FFRrPK','codeItems','networkError','workCodeByName','tMenu','draft-list','key','runScenario','text.nothing_changed','todo-list','getCodeByEntity','approval-pending-list','findIndex','creator','delete','query','includes','errors','routing','__seq__'];a0_0x1c8b=function(){return _0x3903ea;};return a0_0x1c8b();}const a0_0x58584e=a0_0x2ad3;(function(_0x5216aa,_0x50ae49){const _0x45ecd5=a0_0x2ad3,_0x5ec861=_0x5216aa();while(!![]){try{const _0x31ca11=parseInt(_0x45ecd5(0x221))/0x1*(parseInt(_0x45ecd5(0x1ff))/0x2)+-parseInt(_0x45ecd5(0x1ba))/0x3*(parseInt(_0x45ecd5(0x1df))/0x4)+-parseInt(_0x45ecd5(0x1de))/0x5*(-parseInt(_0x45ecd5(0x1f3))/0x6)+parseInt(_0x45ecd5(0x205))/0x7+-parseInt(_0x45ecd5(0x1f2))/0x8*(parseInt(_0x45ecd5(0x1f0))/0x9)+-parseInt(_0x45ecd5(0x1bb))/0xa+parseInt(_0x45ecd5(0x1c5))/0xb*(-parseInt(_0x45ecd5(0x224))/0xc);if(_0x31ca11===_0x50ae49)break;else _0x5ec861['push'](_0x5ec861['shift']());}catch(_0x4f5a98){_0x5ec861['push'](_0x5ec861['shift']());}}}(a0_0x1c8b,0x3c960));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';import{UiUtil}from'./ui-util';import a0_0x78a0ba from'graphql-tag';import{ValueUtil}from'./value-util';import{asyncReplace}from'lit/directives/async-replace.js';import a0_0x2969dc from'i18next';import{generateActivitySummary,startSubscribeActivitySummary}from'@things-factory/worklist';function a0_0x2ad3(_0x3035bf,_0x13e357){const _0x1c8be8=a0_0x1c8b();return a0_0x2ad3=function(_0x2ad3f0,_0x20f655){_0x2ad3f0=_0x2ad3f0-0x1b4;let _0x177264=_0x1c8be8[_0x2ad3f0];return _0x177264;},a0_0x2ad3(_0x3035bf,_0x13e357);}export class ServiceUtil{static async[a0_0x58584e(0x1c6)](_0x15fce4){const _0x58ca23=a0_0x58584e;if(Array[_0x58ca23(0x211)](_0x15fce4))return _0x15fce4[_0x58ca23(0x1e2)](_0x2e3b70=>_0x58ca23(0x1f9)==typeof _0x2e3b70?{'name':_0x2e3b70[_0x58ca23(0x21b)],'description':_0x2e3b70[_0x58ca23(0x227)]}:{'name':_0x2e3b70,'description':_0x2e3b70});let _0x4524e5=await ServiceUtil['getWorkCodeByName'](_0x15fce4);return _0x4524e5&&_0x4524e5['length']>0x0?_0x4524e5:await getCodeByName(_0x15fce4);}static async[a0_0x58584e(0x204)](_0x18036f){const _0x1ff412=a0_0x58584e,_0x465caa=await client[_0x1ff412(0x1d4)]({'query':a0_0x78a0ba`
2
2
  query workCodeByName($name: String!) {
3
3
  workCodeByName(name: $name) {
4
4
  details {
@@ -8,32 +8,32 @@ const a0_0x390285=a0_0x3a31;(function(_0x599524,_0x44750a){const _0x53122b=a0_0x
8
8
  }
9
9
  }
10
10
  }
11
- `,'variables':{'name':_0x5377df},'context':gqlContext()});return!_0x23367c[_0x4317b4(0x105)]&&_0x23367c[_0x4317b4(0x10e)][_0x4317b4(0xec)]&&_0x23367c['data'][_0x4317b4(0xec)][_0x4317b4(0x118)]?_0x23367c['data'][_0x4317b4(0xec)][_0x4317b4(0x118)][_0x4317b4(0xed)]((_0x30b486,_0x1621d3)=>_0x30b486[_0x4317b4(0x12c)]-_0x1621d3['rank']):[];}static async[a0_0x390285(0x148)](_0x1370b8){const _0x32b706=a0_0x390285;let _0x3295a5=(await ServiceUtil[_0x32b706(0x106)](_0x1370b8))[_0x32b706(0xea)](_0x3b8911=>({'value':_0x3b8911[_0x32b706(0x147)],'display':_0x3b8911[_0x32b706(0xf4)]}));return _0x3295a5['unshift']({'value':'','display':''}),_0x3295a5;}static async['getCodeByScenario'](_0xcf88a9,_0x4e062d){const _0x423193=a0_0x390285;let _0x584ee9=await ServiceUtil['callScenario'](null,_0xcf88a9,_0x4e062d);return _0x584ee9[_0x423193(0x12d)]({'value':'','display':''}),_0x584ee9[_0x423193(0xea)](_0x49856e=>({'value':_0x49856e[_0x423193(0x147)],'display':_0x49856e[_0x423193(0xf4)]}));}static async['getCodeByEntity']({queryName:_0x3d30de,codeField:_0x449509=a0_0x390285(0x147),dispField:_0x322fab='description',filters:_0x1c743f=[],sorters:_0x23f2e1=[]}){const _0x1806b6=a0_0x390285;let _0xe2ea9e=_0x1806b6(0xe1)+_0x449509+_0x1806b6(0xe1)+_0x322fab+_0x1806b6(0x140),_0x444f95=await ServiceUtil[_0x1806b6(0x126)](_0x3d30de,_0x1c743f,_0x23f2e1,0x0,0x0,_0xe2ea9e),_0x2106d4=[{'value':'','display':''}];return _0x444f95['records']['forEach'](_0x487d28=>{_0x2106d4['push']({'value':_0x487d28[_0x449509],'display':_0x487d28[_0x322fab]});}),_0x2106d4;}static async[a0_0x390285(0x135)](){const _0x3fb9bc=a0_0x390285;let _0x5a06c3=await ServiceUtil[_0x3fb9bc(0x15d)]();return null!=_0x5a06c3?ServiceUtil[_0x3fb9bc(0xeb)](_0x5a06c3):null;}static async[a0_0x390285(0x14b)](_0x19fb8c){const _0x1474b4=a0_0x390285;let _0x376a4d=[{'name':_0x1474b4(0xff),'operator':'eq','value':_0x19fb8c}],_0x1b9bb5=await ServiceUtil[_0x1474b4(0x126)](_0x1474b4(0x128),_0x376a4d,[],0x0,0x0,_0x1474b4(0x10d));return 0x0==_0x1b9bb5[_0x1474b4(0x109)]?{}:{'id':_0x1b9bb5[_0x1474b4(0x142)][0x0]['id'],'template':JSON[_0x1474b4(0x13e)](_0x1b9bb5[_0x1474b4(0x142)][0x0]['template'])};}static[a0_0x390285(0xeb)](_0x38d098){const _0x939f89=a0_0x390285;let _0x33baf1=[];_0x38d098[_0x939f89(0x154)](_0x376f98=>{const _0x45b9d1=_0x939f89;_0x33baf1[_0x45b9d1(0x14a)](_0x376f98),_0x376f98[_0x45b9d1(0x10f)]&&(_0x376f98['children'][_0x45b9d1(0xed)](function(_0x497668,_0x3ff7be){const _0x123c30=_0x45b9d1;return _0x497668[_0x123c30(0x12c)]-_0x3ff7be[_0x123c30(0x12c)];}),_0x376f98[_0x45b9d1(0x10f)][_0x45b9d1(0x154)](_0x53782a=>{const _0x816451=_0x45b9d1;0x1!=_0x53782a[_0x816451(0x119)]&&(_0x53782a[_0x816451(0x144)]=_0x376f98,_0x33baf1[_0x816451(0x14a)](_0x53782a));}));});let _0x3cbf6d=_0x33baf1[_0x939f89(0xea)](_0x55b5b1=>{const _0xdaf8a0=_0x939f89;if(_0xdaf8a0(0x15f)==_0x55b5b1[_0xdaf8a0(0x133)]||_0xdaf8a0(0xe9)==_0x55b5b1['menuType']){let _0x19eb3e={'id':_0x55b5b1['id'],'parent':!0x0,'name':TermsUtil[_0xdaf8a0(0x13b)](_0x55b5b1['name']),'icon':_0x55b5b1[_0xdaf8a0(0x112)],'type':_0xdaf8a0(0x15f)==_0x55b5b1[_0xdaf8a0(0x133)]?_0xdaf8a0(0x122):'','menus':[]};return _0x55b5b1[_0xdaf8a0(0xe7)]&&(_0x19eb3e[_0xdaf8a0(0x14e)]=_0x55b5b1[_0xdaf8a0(0xe7)]),_0x19eb3e;}return{'id':'0'};})['filter'](_0x18f404=>'0'!=_0x18f404['id']),_0x5208f6=_0x33baf1[_0x939f89(0xea)](_0x25be4a=>{const _0x3f840d=_0x939f89;if(_0x3f840d(0xfb)==_0x25be4a['menuType']||_0x3f840d(0x116)==_0x25be4a[_0x3f840d(0x133)]){let _0x3c3873=_0x3cbf6d[_0x3f840d(0xfa)](_0x241ea0=>_0x241ea0['id']==_0x25be4a['parent']['id']);if(_0x3c3873){let _0x604884=TermsUtil['tMenu'](_0x25be4a['name']);return'SCREEN'==_0x25be4a[_0x3f840d(0x133)]&&_0x3c3873[_0x3f840d(0x149)][_0x3f840d(0x14a)]({'id':_0x25be4a['id'],'name':_0x604884,'path':_0x25be4a[_0x3f840d(0xe7)],'icon':_0x25be4a[_0x3f840d(0x112)]}),{'id':_0x25be4a['id'],'parent':!0x1,'parent_id':_0x3c3873['id'],'title':_0x604884,'tagname':_0x25be4a[_0x3f840d(0x14f)],'page':_0x25be4a['routing'],'template':_0x25be4a['resourceUrl'],'routing_type':_0x25be4a['routingType']};}return{'id':'0'};}return'HOME'==_0x25be4a[_0x3f840d(0x133)]?{'id':_0x25be4a['id'],'parent':!0x0,'parent_id':null,'title':TermsUtil[_0x3f840d(0x13b)](_0x25be4a[_0x3f840d(0x147)]),'tagname':_0x25be4a[_0x3f840d(0x14f)],'page':_0x25be4a[_0x3f840d(0xe7)],'template':_0x25be4a[_0x3f840d(0x160)],'routing_type':_0x25be4a['routingType']}:{'id':'0'};})['filter'](_0x1b3c58=>null!=_0x1b3c58&&'0'!=_0x1b3c58['id']);_0x3cbf6d['filter'](_0xc9f2dc=>_0x939f89(0x122)==_0xc9f2dc[_0x939f89(0x113)]&&_0xc9f2dc[_0x939f89(0x149)]&&_0xc9f2dc[_0x939f89(0x149)]['length']>0x0)[_0x939f89(0x154)](_0x5c91b1=>{const _0x51fd43=_0x939f89;let _0x506c68=_0x3cbf6d[_0x51fd43(0x14d)](_0x34a211=>_0x34a211['id']==_0x5c91b1['id'])+0x1;_0x3cbf6d[_0x51fd43(0xf6)](_0x506c68,0x0,..._0x5c91b1[_0x51fd43(0x149)]);});let _0x12a231=0x0;return _0x3cbf6d['forEach'](_0xf6153b=>{const _0x2f1fd6=_0x939f89;_0x2f1fd6(0x104)==_0xf6153b[_0x2f1fd6(0x14e)]?(_0x12a231++,_0xf6153b[_0x2f1fd6(0xe6)]=()=>asyncReplace(generateActivitySummary('numberOfToDos')),_0xf6153b[_0x2f1fd6(0xf5)]=({path:_0x12f26b})=>/^activity\//[_0x2f1fd6(0x117)](_0x12f26b)):_0x2f1fd6(0x11e)==_0xf6153b[_0x2f1fd6(0x14e)]?(_0x12a231++,_0xf6153b[_0x2f1fd6(0xe6)]=()=>asyncReplace(generateActivitySummary(_0x2f1fd6(0x155))),_0xf6153b[_0x2f1fd6(0xf5)]=({path:_0x3ac1a7})=>/^activity\//[_0x2f1fd6(0x117)](_0x3ac1a7)):_0x2f1fd6(0x15a)==_0xf6153b['path']&&(_0x12a231++,_0xf6153b['badge']=()=>asyncReplace(generateActivitySummary(_0x2f1fd6(0x114))));}),_0x12a231>0x0&&startSubscribeActivitySummary(),{'menus':_0x3cbf6d,'routes':_0x5208f6};}static async['searchMyDynamicMenus'](){const _0x217c57=a0_0x390285;let _0x130b57=await ServiceUtil['searchByPagination'](_0x217c57(0x149),[{'name':_0x217c57(0x119),'operator':_0x217c57(0x13f),'value':!0x0},{'name':_0x217c57(0x133),'operator':'in','value':[_0x217c57(0x100),_0x217c57(0xe9),_0x217c57(0x15f)]}],[{'name':'rank'}],0x0,0x0,_0x217c57(0x138));return _0x130b57?_0x130b57['records']:[];}static async[a0_0x390285(0x10c)](_0xd9fa88){const _0x193b30=a0_0x390285;if(_0xd9fa88[_0x193b30(0x105)]&&_0xd9fa88[_0x193b30(0x105)][_0x193b30(0x123)]>0x0){let _0x4b2f82=_0xd9fa88[_0x193b30(0x105)][0x0],_0x1ff43f=_0x4b2f82['message'],_0x288127=_0x4b2f82['message'];_0x4b2f82['extensions']&&(_0x288127=_0x4b2f82[_0x193b30(0x110)][_0x193b30(0x158)]),await UiUtil[_0x193b30(0xf7)](_0x288127,_0x1ff43f,_0x193b30(0xdc),_0x193b30(0x12a));}}static async['showGraphqlException'](_0x51ffee){const _0x776a7e=a0_0x390285;_0x51ffee&&(_0x51ffee[_0x776a7e(0xf0)]&&_0x51ffee[_0x776a7e(0xf0)][_0x776a7e(0x15e)]?await ServiceUtil['showGraphqlErrorResponse'](_0x51ffee[_0x776a7e(0xf0)][_0x776a7e(0x15e)]):await UiUtil[_0x776a7e(0xf7)]('Graphql\x20Error',_0x51ffee[_0x776a7e(0x151)],'error',_0x776a7e(0x12a)));}static async[a0_0x390285(0x130)](_0x46b3e3,_0x3c0e3f,_0x58c27f){const _0x201394=a0_0x390285;var _0x2f0df9=_0x58c27f[_0x201394(0x137)]['columns'][_0x201394(0xfd)](_0x408bea=>_0x201394(0x124)!==_0x408bea['type']&&void 0x0!==_0x408bea[_0x201394(0x136)]&&void 0x0!==_0x408bea['imex']&&!0x0!==_0x408bea[_0x201394(0xee)])['map'](_0x63f313=>_0x63f313[_0x201394(0x131)]),_0x1e84d8=_0x58c27f[_0x201394(0x10e)][_0x201394(0x142)][_0x201394(0xea)](_0x14526b=>({..._0x58c27f[_0x201394(0x137)][_0x201394(0x150)]['filter'](_0x198e40=>_0x201394(0x124)!==_0x198e40[_0x201394(0x113)]&&void 0x0!==_0x198e40[_0x201394(0x136)]&&void 0x0!==_0x198e40[_0x201394(0x131)]&&!0x0!==_0x198e40[_0x201394(0xee)])[_0x201394(0xdb)]((_0x4dbea5,_0x3fc7c7)=>(_0x4dbea5[_0x3fc7c7['imex']['key']]=_0x3fc7c7[_0x201394(0x131)][_0x201394(0x13c)]['split']('.')[_0x201394(0xdb)]((_0x5213e6,_0x14528f)=>_0x5213e6&&_0x201394(0x108)!==_0x5213e6[_0x14528f]?_0x5213e6[_0x14528f]:void 0x0,_0x14526b),_0x4dbea5),{})}));if(!_0x46b3e3)return{'header':_0x2f0df9,'data':_0x1e84d8};store[_0x201394(0xe0)]({'type':EXPORT,'exportable':{'extension':_0x201394(0x11d),'name':_0x3c0e3f,'data':{'header':_0x2f0df9,'data':_0x1e84d8}}});}static async['searchByPagination'](_0x565ff8,_0x3cce65,_0x1262c4,_0x23496e,_0x2af064,_0x436113){const _0x247160=a0_0x390285;try{const _0x1ceac0=await client[_0x247160(0xdf)]({'query':a0_0x1505f9`
11
+ `,'variables':{'name':_0x18036f},'context':gqlContext()});return!_0x465caa['errors']&&_0x465caa['data'][_0x1ff412(0x1c8)]&&_0x465caa[_0x1ff412(0x1bd)][_0x1ff412(0x1c8)][_0x1ff412(0x223)]?_0x465caa[_0x1ff412(0x1bd)]['workCodeByName'][_0x1ff412(0x223)][_0x1ff412(0x1f4)]((_0xc20840,_0x44de8d)=>_0xc20840['rank']-_0x44de8d[_0x1ff412(0x20e)]):[];}static async[a0_0x58584e(0x1e8)](_0x56ad65){const _0x329770=a0_0x58584e;let _0x4bd759=(await ServiceUtil[_0x329770(0x1c6)](_0x56ad65))[_0x329770(0x1e2)](_0x4380aa=>({'value':_0x4380aa[_0x329770(0x226)],'display':_0x4380aa[_0x329770(0x1c4)]}));return _0x4bd759[_0x329770(0x1fe)]({'value':'','display':''}),_0x4bd759;}static async[a0_0x58584e(0x235)](_0x2abbb7,_0x1e5fd7){const _0xa78313=a0_0x58584e;let _0x22830c=await ServiceUtil[_0xa78313(0x229)](null,_0x2abbb7,_0x1e5fd7);return _0x22830c['unshift']({'value':'','display':''}),_0x22830c[_0xa78313(0x1e2)](_0x41be01=>({'value':_0x41be01[_0xa78313(0x226)],'display':_0x41be01[_0xa78313(0x1c4)]}));}static async[a0_0x58584e(0x1cf)]({queryName:_0x48527f,codeField:_0x5efa3a=a0_0x58584e(0x226),dispField:_0x1e2218='description',filters:_0x3430f4=[],sorters:_0x1c7ac5=[]}){const _0x5d618d=a0_0x58584e;let _0x16c2f5=_0x5d618d(0x201)+_0x5efa3a+_0x5d618d(0x201)+_0x1e2218+'\x0a\x20\x20\x20\x20',_0x4b1dc4=await ServiceUtil[_0x5d618d(0x232)](_0x48527f,_0x3430f4,_0x1c7ac5,0x0,0x0,_0x16c2f5),_0x58500a=[{'value':'','display':''}];return _0x4b1dc4[_0x5d618d(0x216)][_0x5d618d(0x1e7)](_0x607beb=>{const _0x396e5d=_0x5d618d;_0x58500a[_0x396e5d(0x1b8)]({'value':_0x607beb[_0x5efa3a],'display':_0x607beb[_0x1e2218]});}),_0x58500a;}static async[a0_0x58584e(0x218)](){const _0x572f37=a0_0x58584e;let _0xb91d94=await ServiceUtil[_0x572f37(0x22e)]();return null!=_0xb91d94?ServiceUtil['arrangeMenuRoutes'](_0xb91d94):null;}static async[a0_0x58584e(0x1f7)](_0x4cf120){const _0x24f265=a0_0x58584e;let _0x5b8dc9=[{'name':_0x24f265(0x20c),'operator':'eq','value':_0x4cf120}],_0x4cc579=await ServiceUtil[_0x24f265(0x232)]('gridPersonalizeTemplates',_0x5b8dc9,[],0x0,0x0,_0x24f265(0x21f));return 0x0==_0x4cc579[_0x24f265(0x206)]?{}:{'id':_0x4cc579['records'][0x0]['id'],'template':JSON[_0x24f265(0x231)](_0x4cc579[_0x24f265(0x216)][0x0][_0x24f265(0x210)])};}static[a0_0x58584e(0x1e4)](_0x1a51ac){const _0x372332=a0_0x58584e;let _0x4a37c2=[];_0x1a51ac['forEach'](_0x3e48b4=>{const _0x32e2e5=a0_0x2ad3;_0x4a37c2['push'](_0x3e48b4),_0x3e48b4[_0x32e2e5(0x213)]&&(_0x3e48b4['children'][_0x32e2e5(0x1f4)](function(_0x50757c,_0x406a51){const _0x127cc2=_0x32e2e5;return _0x50757c[_0x127cc2(0x20e)]-_0x406a51[_0x127cc2(0x20e)];}),_0x3e48b4[_0x32e2e5(0x213)][_0x32e2e5(0x1e7)](_0x46761e=>{const _0x61870f=_0x32e2e5;0x1!=_0x46761e['hiddenFlag']&&(_0x46761e[_0x61870f(0x220)]=_0x3e48b4,_0x4a37c2[_0x61870f(0x1b8)](_0x46761e));}));});let _0x2570fe=_0x4a37c2[_0x372332(0x1e2)](_0x10fe52=>{const _0x5c1ed9=_0x372332;if('GROUP'==_0x10fe52['menuType']||_0x5c1ed9(0x1e6)==_0x10fe52[_0x5c1ed9(0x228)]){let _0x4aa775={'id':_0x10fe52['id'],'parent':!0x0,'name':TermsUtil[_0x5c1ed9(0x1c9)](_0x10fe52[_0x5c1ed9(0x226)]),'icon':_0x10fe52['iconPath'],'type':_0x5c1ed9(0x222)==_0x10fe52['menuType']?_0x5c1ed9(0x1ec):'','menus':[]};return _0x10fe52[_0x5c1ed9(0x1d7)]&&(_0x4aa775['path']=_0x10fe52[_0x5c1ed9(0x1d7)]),_0x4aa775;}return{'id':'0'};})[_0x372332(0x1d9)](_0x3fcda8=>'0'!=_0x3fcda8['id']),_0x295bdb=_0x4a37c2[_0x372332(0x1e2)](_0x5b897c=>{const _0x5f1e5e=_0x372332;if(_0x5f1e5e(0x20b)==_0x5b897c[_0x5f1e5e(0x228)]||'HIDDEN-PAGE'==_0x5b897c[_0x5f1e5e(0x228)]){let _0x1b3748=_0x2570fe[_0x5f1e5e(0x1be)](_0x59e99d=>_0x59e99d['id']==_0x5b897c[_0x5f1e5e(0x220)]['id']);if(_0x1b3748){let _0x13ec99=TermsUtil['tMenu'](_0x5b897c[_0x5f1e5e(0x226)]);return _0x5f1e5e(0x20b)==_0x5b897c[_0x5f1e5e(0x228)]&&_0x1b3748[_0x5f1e5e(0x214)][_0x5f1e5e(0x1b8)]({'id':_0x5b897c['id'],'name':_0x13ec99,'path':_0x5b897c[_0x5f1e5e(0x1d7)],'icon':_0x5b897c[_0x5f1e5e(0x1e9)]}),{'id':_0x5b897c['id'],'parent':!0x1,'parent_id':_0x1b3748['id'],'title':_0x13ec99,'tagname':_0x5b897c[_0x5f1e5e(0x1c2)],'page':_0x5b897c[_0x5f1e5e(0x1d7)],'template':_0x5b897c['resourceUrl'],'routing_type':_0x5b897c[_0x5f1e5e(0x203)]};}return{'id':'0'};}return _0x5f1e5e(0x1bf)==_0x5b897c[_0x5f1e5e(0x228)]?{'id':_0x5b897c['id'],'parent':!0x0,'parent_id':null,'title':TermsUtil[_0x5f1e5e(0x1c9)](_0x5b897c[_0x5f1e5e(0x226)]),'tagname':_0x5b897c[_0x5f1e5e(0x1c2)],'page':_0x5b897c[_0x5f1e5e(0x1d7)],'template':_0x5b897c['resourceUrl'],'routing_type':_0x5b897c[_0x5f1e5e(0x203)]}:{'id':'0'};})[_0x372332(0x1d9)](_0x2b4340=>null!=_0x2b4340&&'0'!=_0x2b4340['id']);_0x2570fe[_0x372332(0x1d9)](_0x588c49=>_0x372332(0x1ec)==_0x588c49[_0x372332(0x215)]&&_0x588c49[_0x372332(0x214)]&&_0x588c49['menus'][_0x372332(0x21e)]>0x0)[_0x372332(0x1e7)](_0x40fe7e=>{const _0x2392bb=_0x372332;let _0x101918=_0x2570fe[_0x2392bb(0x1d1)](_0x233db4=>_0x233db4['id']==_0x40fe7e['id'])+0x1;_0x2570fe[_0x2392bb(0x1f1)](_0x101918,0x0,..._0x40fe7e[_0x2392bb(0x214)]);});let _0x96f11f=0x0;return _0x2570fe[_0x372332(0x1e7)](_0xaf26f2=>{const _0x42469e=_0x372332;_0x42469e(0x1ce)==_0xaf26f2[_0x42469e(0x22d)]?(_0x96f11f++,_0xaf26f2[_0x42469e(0x233)]=()=>asyncReplace(generateActivitySummary(_0x42469e(0x1e5))),_0xaf26f2[_0x42469e(0x1fd)]=({path:_0x48230b})=>/^activity\//[_0x42469e(0x1e1)](_0x48230b)):_0x42469e(0x1d0)==_0xaf26f2[_0x42469e(0x22d)]?(_0x96f11f++,_0xaf26f2[_0x42469e(0x233)]=()=>asyncReplace(generateActivitySummary('numberOfApprovalPendings')),_0xaf26f2['active']=({path:_0x60f50})=>/^activity\//[_0x42469e(0x1e1)](_0x60f50)):_0x42469e(0x1ca)==_0xaf26f2[_0x42469e(0x22d)]&&(_0x96f11f++,_0xaf26f2['badge']=()=>asyncReplace(generateActivitySummary('numberOfDrafts')));}),_0x96f11f>0x0&&startSubscribeActivitySummary(),{'menus':_0x2570fe,'routes':_0x295bdb};}static async[a0_0x58584e(0x22e)](){const _0x8789d1=a0_0x58584e;let _0x133156=await ServiceUtil[_0x8789d1(0x232)](_0x8789d1(0x214),[{'name':_0x8789d1(0x1dd),'operator':_0x8789d1(0x22c),'value':!0x0},{'name':_0x8789d1(0x228),'operator':'in','value':[_0x8789d1(0x1bf),_0x8789d1(0x1e6),_0x8789d1(0x222)]}],[{'name':_0x8789d1(0x20e)}],0x0,0x0,_0x8789d1(0x1db));return _0x133156?_0x133156[_0x8789d1(0x216)]:[];}static async[a0_0x58584e(0x225)](_0x392a2b){const _0x5dea27=a0_0x58584e;if(_0x392a2b[_0x5dea27(0x1d6)]&&_0x392a2b['errors']['length']>0x0){let _0x34c220=_0x392a2b[_0x5dea27(0x1d6)][0x0],_0x5aba98=_0x34c220[_0x5dea27(0x1f6)],_0x78d856=_0x34c220[_0x5dea27(0x1f6)];_0x34c220[_0x5dea27(0x1f8)]&&(_0x78d856=_0x34c220[_0x5dea27(0x1f8)]['code']),await UiUtil[_0x5dea27(0x1da)](_0x78d856,_0x5aba98,_0x5dea27(0x212),'confirm');}}static async[a0_0x58584e(0x217)](_0x5b15e9){const _0x256788=a0_0x58584e;_0x5b15e9&&(_0x5b15e9['networkError']&&_0x5b15e9['networkError'][_0x256788(0x1b5)]?await ServiceUtil['showGraphqlErrorResponse'](_0x5b15e9[_0x256788(0x1c7)][_0x256788(0x1b5)]):await UiUtil[_0x256788(0x1da)]('Graphql\x20Error',_0x5b15e9['message'],'error',_0x256788(0x1c0)));}static async[a0_0x58584e(0x21a)](_0x24243b,_0x191488,_0x4a0a0c){const _0x48519f=a0_0x58584e;var _0x12d3ce=_0x4a0a0c[_0x48519f(0x22a)][_0x48519f(0x234)]['filter'](_0x2513e6=>_0x48519f(0x207)!==_0x2513e6['type']&&void 0x0!==_0x2513e6[_0x48519f(0x1b4)]&&void 0x0!==_0x2513e6[_0x48519f(0x209)]&&!0x0!==_0x2513e6[_0x48519f(0x208)])[_0x48519f(0x1e2)](_0x38c294=>_0x38c294[_0x48519f(0x209)]),_0x3b1ffb=_0x4a0a0c['data'][_0x48519f(0x216)][_0x48519f(0x1e2)](_0x3328d2=>({..._0x4a0a0c[_0x48519f(0x22a)][_0x48519f(0x234)][_0x48519f(0x1d9)](_0x10c00b=>'gutter'!==_0x10c00b[_0x48519f(0x215)]&&void 0x0!==_0x10c00b[_0x48519f(0x1b4)]&&void 0x0!==_0x10c00b[_0x48519f(0x209)]&&!0x0!==_0x10c00b[_0x48519f(0x208)])['reduce']((_0x291af4,_0x3de679)=>(_0x291af4[_0x3de679['imex'][_0x48519f(0x1cb)]]=_0x3de679[_0x48519f(0x209)][_0x48519f(0x1cb)][_0x48519f(0x1e3)]('.')['reduce']((_0x1d72ac,_0x226889)=>_0x1d72ac&&_0x48519f(0x1ea)!==_0x1d72ac[_0x226889]?_0x1d72ac[_0x226889]:void 0x0,_0x3328d2),_0x291af4),{})}));if(!_0x24243b)return{'header':_0x12d3ce,'data':_0x3b1ffb};store[_0x48519f(0x21d)]({'type':EXPORT,'exportable':{'extension':'xlsx','name':_0x191488,'data':{'header':_0x12d3ce,'data':_0x3b1ffb}}});}static async[a0_0x58584e(0x232)](_0x4aba0d,_0x42a6b5,_0x69aa83,_0x55b49f,_0x75321b,_0x1a4707){const _0x56904f=a0_0x58584e;try{const _0xa3df63=await client[_0x56904f(0x1d4)]({'query':a0_0x78a0ba`
12
12
  query ($filters: [Filter!], $pagination: Pagination, $sortings: [Sorting!]) {
13
- ${_0x565ff8}(filters: $filters, pagination: $pagination, sortings: $sortings) {
13
+ ${_0x4aba0d}(filters: $filters, pagination: $pagination, sortings: $sortings) {
14
14
  items {
15
- ${_0x436113}
15
+ ${_0x1a4707}
16
16
  }
17
17
  total
18
18
  }
19
19
  }
20
- `,'variables':{'filters':_0x3cce65,'sortings':_0x1262c4,'pagination':{'page':_0x23496e,'limit':_0x2af064}}});if(!_0x1ceac0['errors'])return{'records':_0x1ceac0[_0x247160(0x10e)][_0x565ff8][_0x247160(0x145)],'total':_0x1ceac0[_0x247160(0x10e)][_0x565ff8][_0x247160(0x109)]};ServiceUtil['showGraphqlErrorResponse'](_0x1ceac0);}catch(_0x5013ed){ServiceUtil[_0x247160(0x102)](_0x5013ed);}return null;}static async[a0_0x390285(0xf2)](_0x3c8256,_0x54bcf5,_0x1ec4ed){const _0x13a794=a0_0x390285;try{let _0x5682af=await client['query']({'query':a0_0x1505f9`
20
+ `,'variables':{'filters':_0x42a6b5,'sortings':_0x69aa83,'pagination':{'page':_0x55b49f,'limit':_0x75321b}}});if(!_0xa3df63[_0x56904f(0x1d6)])return{'records':_0xa3df63['data'][_0x4aba0d][_0x56904f(0x22f)],'total':_0xa3df63['data'][_0x4aba0d][_0x56904f(0x206)]};ServiceUtil[_0x56904f(0x225)](_0xa3df63);}catch(_0x5be550){ServiceUtil[_0x56904f(0x217)](_0x5be550);}return null;}static async[a0_0x58584e(0x1c3)](_0xe8c602,_0x4873cc,_0x2e5cfd){const _0x4b6705=a0_0x58584e;try{let _0x54a014=await client[_0x4b6705(0x1d4)]({'query':a0_0x78a0ba`
21
21
  query ($id: String!) {
22
- ${_0x3c8256}(id: $id) {
23
- ${_0x1ec4ed}
22
+ ${_0xe8c602}(id: $id) {
23
+ ${_0x2e5cfd}
24
24
  }
25
25
  }
26
- `,'variables':{'id':_0x54bcf5}});if(!_0x5682af['errors'])return _0x5682af[_0x13a794(0x10e)][_0x3c8256]||{};ServiceUtil[_0x13a794(0x10c)](_0x5682af);}catch(_0x45e5ab){ServiceUtil[_0x13a794(0x102)](_0x45e5ab);}return null;}static[a0_0x390285(0xfe)](_0x7683ab,_0x31bbf9){const _0x1f5485=a0_0x390285,_0x4ef340=_0x7683ab[_0x1f5485(0xfc)][_0x1f5485(0xea)](_0x1db224=>_0x1db224['id']);return ValueUtil[_0x1f5485(0xf8)](_0x4ef340)&&0x1==_0x31bbf9&&UiUtil[_0x1f5485(0xf7)](_0x1f5485(0x12f),_0x1f5485(0xe5),_0x1f5485(0x107),'confirm'),_0x4ef340;}static async[a0_0x390285(0x10a)](_0x1105b0,_0x57a41c){const _0x4b395e=a0_0x390285;let _0x8187d5=ServiceUtil[_0x4b395e(0xfe)](_0x1105b0,!0x0);ValueUtil[_0x4b395e(0x15b)](_0x8187d5)&&(await ServiceUtil[_0x4b395e(0x115)](_0x8187d5,_0x57a41c)&&_0x1105b0[_0x4b395e(0xe8)]());}static async[a0_0x390285(0x115)](_0x10071b,_0x75f2fd){const _0x5c409a=a0_0x390285;if(!(await UiUtil['showAlertPopup'](_0x5c409a(0x111),_0x5c409a(0x14c),_0x5c409a(0x159),'delete',_0x5c409a(0x143)))[_0x5c409a(0xf9)])return!0x1;try{const _0x2a82b9=await client[_0x5c409a(0xdf)]({'query':a0_0x1505f9`
26
+ `,'variables':{'id':_0x4873cc}});if(!_0x54a014['errors'])return _0x54a014[_0x4b6705(0x1bd)][_0xe8c602]||{};ServiceUtil['showGraphqlErrorResponse'](_0x54a014);}catch(_0x382dee){ServiceUtil['showGraphqlException'](_0x382dee);}return null;}static[a0_0x58584e(0x230)](_0x5a5e3a,_0x30cd98){const _0x57b290=a0_0x58584e,_0x2bb71e=_0x5a5e3a['selected']['map'](_0x2e5798=>_0x2e5798['id']);return ValueUtil[_0x57b290(0x1dc)](_0x2bb71e)&&0x1==_0x30cd98&&UiUtil['showAlertPopup'](_0x57b290(0x1fa),'text.there_is_nothing_to_delete',_0x57b290(0x1fc),_0x57b290(0x1c0)),_0x2bb71e;}static async['deleteListByGristSelected'](_0x270396,_0x75b2b){const _0x391e12=a0_0x58584e;let _0x384303=ServiceUtil[_0x391e12(0x230)](_0x270396,!0x0);ValueUtil[_0x391e12(0x1bc)](_0x384303)&&(await ServiceUtil[_0x391e12(0x219)](_0x384303,_0x75b2b)&&_0x270396['fetch']());}static async['deleteListByIds'](_0x391dc6,_0x328a28){const _0x511ff9=a0_0x58584e;if(!(await UiUtil[_0x511ff9(0x1da)](_0x511ff9(0x1ef),_0x511ff9(0x1f5),_0x511ff9(0x1b9),_0x511ff9(0x1d3),_0x511ff9(0x1c1)))[_0x511ff9(0x21b)])return!0x1;try{const _0x33ac27=await client[_0x511ff9(0x1d4)]({'query':a0_0x78a0ba`
27
27
  mutation {
28
- ${_0x75f2fd}(${gqlBuilder[_0x5c409a(0x13d)]({'ids':_0x10071b})})
28
+ ${_0x328a28}(${gqlBuilder['buildArgs']({'ids':_0x391dc6})})
29
29
  }
30
- `});if(!_0x2a82b9[_0x5c409a(0x105)])return UiUtil[_0x5c409a(0xde)](_0x5c409a(0x107),TermsUtil[_0x5c409a(0xf1)](_0x5c409a(0x10b))),!0x0;ServiceUtil[_0x5c409a(0x10c)](_0x2a82b9);}catch(_0x56ad28){ServiceUtil['showGraphqlException'](_0x56ad28);}return!0x1;}static async[a0_0x390285(0x101)](_0xb31f1e,_0x5d7b35){const _0x5cdd27=a0_0x390285;let _0x3623eb=ServiceUtil['patchesForUpdateMultiple'](_0xb31f1e);if(ValueUtil['isNotEmpty'](_0x3623eb)){let _0x444f0a=await ServiceUtil[_0x5cdd27(0xf3)](_0x5d7b35,_0x3623eb);if(_0x444f0a)return _0xb31f1e[_0x5cdd27(0xe8)](),_0x444f0a;}return!0x1;}static async[a0_0x390285(0xf3)](_0xe1a08,_0x5ab9cd){const _0x51c6c4=a0_0x390285;try{const _0x4b6be0=await client[_0x51c6c4(0xdf)]({'query':a0_0x1505f9`
30
+ `});if(!_0x33ac27['errors'])return UiUtil[_0x511ff9(0x20f)](_0x511ff9(0x1fc),TermsUtil[_0x511ff9(0x200)]('success\x20to\x20delete')),!0x0;ServiceUtil['showGraphqlErrorResponse'](_0x33ac27);}catch(_0x1dbb40){ServiceUtil[_0x511ff9(0x217)](_0x1dbb40);}return!0x1;}static async['updateMultipleData'](_0x53bbe1,_0x274bbd){const _0x501c11=a0_0x58584e;let _0x3f2bdd=ServiceUtil[_0x501c11(0x20d)](_0x53bbe1);if(ValueUtil[_0x501c11(0x1bc)](_0x3f2bdd)){let _0x4d7609=await ServiceUtil['updateMultiple'](_0x274bbd,_0x3f2bdd);if(_0x4d7609)return _0x53bbe1[_0x501c11(0x202)](),_0x4d7609;}return!0x1;}static async['updateMultiple'](_0x1eb46b,_0x24ad7c){const _0x401bc9=a0_0x58584e;try{const _0x44225e=await client[_0x401bc9(0x1d4)]({'query':a0_0x78a0ba`
31
31
  mutation {
32
- ${_0xe1a08}(${gqlBuilder[_0x51c6c4(0x13d)]({'patches':_0x5ab9cd})}) {
32
+ ${_0x1eb46b}(${gqlBuilder['buildArgs']({'patches':_0x24ad7c})}) {
33
33
  id
34
34
  }
35
35
  }
36
- `,'context':{'hasUpload':!0x0}});if(!_0x4b6be0[_0x51c6c4(0x105)])return UiUtil[_0x51c6c4(0xde)](_0x51c6c4(0x107),TermsUtil[_0x51c6c4(0xf1)](_0x51c6c4(0xda))),!0x0;ServiceUtil[_0x51c6c4(0x10c)](_0x4b6be0);}catch(_0x5c5152){ServiceUtil[_0x51c6c4(0x102)](_0x5c5152);}return!0x1;}static[a0_0x390285(0xe3)](_0x44dd74,_0xae2571=!0x1){const _0x77ead1=a0_0x390285;let _0x16025d=_0x44dd74[_0x77ead1(0x139)];if(_0x16025d&&0x0!=_0x16025d[_0x77ead1(0x123)])return _0x16025d[_0x77ead1(0xea)](_0xdf816=>{const _0x1b23a2=_0x77ead1;let _0x51cb4b=_0xdf816['id']?{'id':_0xdf816['id']}:{};for(let _0x27e844 in _0xdf816)['creator',_0x1b23a2(0x153),_0x1b23a2(0x156),'updatedAt',_0x1b23a2(0x129),'__dirtyfields__',_0x1b23a2(0x127),_0x1b23a2(0x152),'__selected__']['includes'](_0x27e844)||(_0xdf816[_0x27e844]&&_0x1b23a2(0x134)==typeof _0xdf816[_0x27e844]&&0x0==_0xae2571?_0x51cb4b[_0x27e844]={'id':_0xdf816[_0x27e844]['id']}:_0x51cb4b[_0x27e844]=_0xdf816[_0x27e844]);return _0x51cb4b['cuFlag']=_0xdf816[_0x1b23a2(0x129)],_0x51cb4b;});UiUtil['showAlertPopup'](_0x77ead1(0x12b),'text.NOTHING_CHANGED',_0x77ead1(0x107),_0x77ead1(0x12a));}static async[a0_0x390285(0x132)](_0x1af73e,_0x11364e,_0x23ee9f,_0x2f22d6=!0x0){const _0x4ebdda=a0_0x390285;let _0x22bf5f=!0x0;_0x1af73e&&!0x0===_0x2f22d6&&(_0x22bf5f=(await UiUtil[_0x4ebdda(0xf7)](_0x4ebdda(0xe2)+_0x1af73e,_0x4ebdda(0x14c),_0x4ebdda(0x159),_0x4ebdda(0x12a),'cancel'))['value']);if(_0x22bf5f)try{const _0x2f588e=await client[_0x4ebdda(0xdf)]({'query':a0_0x1505f9`
36
+ `,'context':{'hasUpload':!0x0}});if(!_0x44225e['errors'])return UiUtil[_0x401bc9(0x20f)]('info',TermsUtil[_0x401bc9(0x200)]('success\x20to\x20save')),!0x0;ServiceUtil[_0x401bc9(0x225)](_0x44225e);}catch(_0x159bcd){ServiceUtil[_0x401bc9(0x217)](_0x159bcd);}return!0x1;}static[a0_0x58584e(0x20d)](_0x3406f1,_0x4abc4e=!0x1){const _0x198e20=a0_0x58584e;let _0x2c6e03=_0x3406f1[_0x198e20(0x1e0)];if(_0x2c6e03&&0x0!=_0x2c6e03[_0x198e20(0x21e)])return _0x2c6e03[_0x198e20(0x1e2)](_0x575b67=>{const _0x5c1e32=_0x198e20;let _0x3bdfd1=_0x575b67['id']?{'id':_0x575b67['id']}:{};for(let _0x5e9f54 in _0x575b67)[_0x5c1e32(0x1d2),'updater',_0x5c1e32(0x1ed),_0x5c1e32(0x1ee),_0x5c1e32(0x21c),_0x5c1e32(0x22b),'__origin__',_0x5c1e32(0x1d8),_0x5c1e32(0x20a)][_0x5c1e32(0x1d5)](_0x5e9f54)||(_0x575b67[_0x5e9f54]&&_0x5c1e32(0x1f9)==typeof _0x575b67[_0x5e9f54]&&0x0==_0x4abc4e?_0x3bdfd1[_0x5e9f54]={'id':_0x575b67[_0x5e9f54]['id']}:_0x3bdfd1[_0x5e9f54]=_0x575b67[_0x5e9f54]);return _0x3bdfd1['cuFlag']=_0x575b67[_0x5c1e32(0x21c)],_0x3bdfd1;});UiUtil['showAlertPopup'](_0x198e20(0x1cd),_0x198e20(0x1eb),'info',_0x198e20(0x1c0));}static async[a0_0x58584e(0x229)](_0x306692,_0x3ccca0,_0x2bfa81,_0x5b7d57=!0x0){const _0x26fea8=a0_0x58584e;let _0x28680e=!0x0;_0x306692&&!0x0===_0x5b7d57&&(_0x28680e=(await UiUtil[_0x26fea8(0x1da)]('button.'+_0x306692,_0x26fea8(0x1f5),_0x26fea8(0x1b9),_0x26fea8(0x1c0),_0x26fea8(0x1c1)))[_0x26fea8(0x21b)]);if(_0x28680e)try{const _0x24d491=await client[_0x26fea8(0x1d4)]({'query':a0_0x78a0ba`
37
37
  mutation ($scenarioName: String!, $variables: Object) {
38
38
  runScenario(scenarioName: $scenarioName, variables: $variables) {
39
39
  state
@@ -42,4 +42,4 @@ const a0_0x390285=a0_0x3a31;(function(_0x599524,_0x44750a){const _0x53122b=a0_0x
42
42
  __typename
43
43
  }
44
44
  }
45
- `,'variables':{'scenarioName':_0x11364e,'variables':_0x23ee9f}});if(_0x2f588e[_0x4ebdda(0x105)])ServiceUtil[_0x4ebdda(0x10c)](_0x2f588e);else{if(this[_0x4ebdda(0x141)](_0x2f588e))return!0x0===_0x2f22d6&&UiUtil['showToast']('info',TermsUtil['tText'](_0x4ebdda(0x11c))),_0x2f588e;}}catch(_0x5c8479){ServiceUtil['showGraphqlException'](_0x5c8479);}return!0x1;}static[a0_0x390285(0x141)](_0x4bd7ae){const _0x1d3cf3=a0_0x390285;if(_0x4bd7ae&&_0x4bd7ae[_0x1d3cf3(0x10e)]&&_0x4bd7ae[_0x1d3cf3(0x10e)][_0x1d3cf3(0xdd)]&&_0x4bd7ae[_0x1d3cf3(0x10e)]['runScenario'][_0x1d3cf3(0x10e)]&&_0x4bd7ae[_0x1d3cf3(0x10e)][_0x1d3cf3(0xdd)][_0x1d3cf3(0x10e)]['error']){let _0x25035c=_0x4bd7ae[_0x1d3cf3(0x10e)][_0x1d3cf3(0xdd)][_0x1d3cf3(0x10e)][_0x1d3cf3(0xdc)];return UiUtil[_0x1d3cf3(0xf7)](_0x25035c[_0x1d3cf3(0x121)],_0x25035c[_0x1d3cf3(0x151)],_0x1d3cf3(0xdc),_0x1d3cf3(0x12a)),!0x1;}return!0x0;}}
45
+ `,'variables':{'scenarioName':_0x3ccca0,'variables':_0x2bfa81}});if(_0x24d491[_0x26fea8(0x1d6)])ServiceUtil['showGraphqlErrorResponse'](_0x24d491);else{if(this[_0x26fea8(0x1b6)](_0x24d491))return!0x0===_0x5b7d57&&UiUtil[_0x26fea8(0x20f)]('info',TermsUtil['tText'](_0x26fea8(0x1fb))),_0x24d491;}}catch(_0x4623bc){ServiceUtil['showGraphqlException'](_0x4623bc);}return!0x1;}static['checkClientError'](_0x498be0){const _0x3693c6=a0_0x58584e;if(_0x498be0&&_0x498be0['data']&&_0x498be0[_0x3693c6(0x1bd)][_0x3693c6(0x1cc)]&&_0x498be0['data']['runScenario'][_0x3693c6(0x1bd)]&&_0x498be0[_0x3693c6(0x1bd)][_0x3693c6(0x1cc)][_0x3693c6(0x1bd)][_0x3693c6(0x212)]){let _0x1cce62=_0x498be0[_0x3693c6(0x1bd)][_0x3693c6(0x1cc)][_0x3693c6(0x1bd)][_0x3693c6(0x212)];return UiUtil[_0x3693c6(0x1da)](_0x1cce62[_0x3693c6(0x1b7)],_0x1cce62['message'],_0x3693c6(0x212),_0x3693c6(0x1c0)),!0x1;}return!0x0;}}
@@ -1,4 +1,4 @@
1
- const a0_0x38acba=a0_0x4ae2;(function(_0xf7e59b,_0x1b9a31){const _0x449113=a0_0x4ae2,_0x4e8acb=_0xf7e59b();while(!![]){try{const _0x4ce62a=parseInt(_0x449113(0xf0))/0x1+-parseInt(_0x449113(0xf6))/0x2*(-parseInt(_0x449113(0xfa))/0x3)+parseInt(_0x449113(0xee))/0x4*(parseInt(_0x449113(0x109))/0x5)+-parseInt(_0x449113(0x100))/0x6*(parseInt(_0x449113(0xff))/0x7)+parseInt(_0x449113(0x106))/0x8*(-parseInt(_0x449113(0xf5))/0x9)+parseInt(_0x449113(0xfd))/0xa+-parseInt(_0x449113(0x108))/0xb;if(_0x4ce62a===_0x1b9a31)break;else _0x4e8acb['push'](_0x4e8acb['shift']());}catch(_0x414287){_0x4e8acb['push'](_0x4e8acb['shift']());}}}(a0_0x5bb6,0x22edd));import a0_0xadc50f from'graphql-tag';import{client}from'@operato/graphql';function a0_0x5bb6(){const _0x2cd308=['replace','1684000WviRwH','data','7tCUxmq','901488TsBsLG','category','length','tError','label','tButton','8HXwPTa','query','1716165zuxyRQ','535155kYtHwy','fetchTerminologies','errors','button','tText','display','META_TERMS','4lduvuI','field','172691vpdceo','translate','name','title','downloadTerminologies','87957aMzkat','3138jDWSLh','keys','menu','terminologies','21vrOygh','tTitle'];a0_0x5bb6=function(){return _0x2cd308;};return a0_0x5bb6();}import{i18next}from'@operato/i18n';function a0_0x4ae2(_0x2710be,_0xb0ed56){const _0x5bb679=a0_0x5bb6();return a0_0x4ae2=function(_0x4ae251,_0x3434fc){_0x4ae251=_0x4ae251-0xe9;let _0x290c46=_0x5bb679[_0x4ae251];return _0x290c46;},a0_0x4ae2(_0x2710be,_0xb0ed56);}export class TermsUtil{[a0_0x38acba(0xed)]=null;static async[a0_0x38acba(0xf4)](_0x5cd590){const _0x2f81b2=a0_0x38acba;let _0x5ee002=(await TermsUtil[_0x2f81b2(0x10a)](_0x5cd590))['records'];_0x5ee002&&_0x5ee002[_0x2f81b2(0x102)]>0x0&&(this[_0x2f81b2(0xed)]={},_0x5ee002['forEach'](_0x377b75=>{const _0x32a129=_0x2f81b2;let _0x4f4d56=_0x377b75[_0x32a129(0x101)]+'.'+_0x377b75[_0x32a129(0xf2)];this[_0x32a129(0xed)][_0x4f4d56]=_0x377b75[_0x32a129(0xec)];}));}static async[a0_0x38acba(0x10a)](_0x1bb438){const _0x5d169a=a0_0x38acba;let _0x56e916=[{'name':'locale','operator':'eq','value':_0x1bb438}];const _0x25c69c=await client[_0x5d169a(0x107)]({'query':a0_0xadc50f`
1
+ function a0_0x5a1f(){const _0x1c4d64=['length','tField','1808494YfWVtL','7626820DQxkHU','menu','tButton','display','items','records','locale','tError','title','data','6jgXEnw','forEach','translate','14lhVElR','replace','total','83512GNqgrb','META_TERMS','1RSKhWn','name','2274892NcrJgQ','fetchTerminologies','error','444LYjPFN','terminologies','category','694628nUOCvl','1556875xpiOdb','365130LwNrFK','keys','tTitle','label','tMenu','279cjhjuz','downloadTerminologies','errors'];a0_0x5a1f=function(){return _0x1c4d64;};return a0_0x5a1f();}function a0_0x98ca(_0x3eb754,_0x54c88d){const _0x5a1fb9=a0_0x5a1f();return a0_0x98ca=function(_0x98ca1a,_0x40cc2e){_0x98ca1a=_0x98ca1a-0x16a;let _0x3562bc=_0x5a1fb9[_0x98ca1a];return _0x3562bc;},a0_0x98ca(_0x3eb754,_0x54c88d);}const a0_0x8eccca=a0_0x98ca;(function(_0x4ec1fc,_0x75534a){const _0x28a049=a0_0x98ca,_0xea1679=_0x4ec1fc();while(!![]){try{const _0x35fe0a=parseInt(_0x28a049(0x16e))/0x1*(parseInt(_0x28a049(0x182))/0x2)+parseInt(_0x28a049(0x18d))/0x3*(parseInt(_0x28a049(0x170))/0x4)+parseInt(_0x28a049(0x177))/0x5+parseInt(_0x28a049(0x178))/0x6*(parseInt(_0x28a049(0x190))/0x7)+-parseInt(_0x28a049(0x16c))/0x8*(parseInt(_0x28a049(0x17d))/0x9)+parseInt(_0x28a049(0x183))/0xa+-parseInt(_0x28a049(0x176))/0xb*(parseInt(_0x28a049(0x173))/0xc);if(_0x35fe0a===_0x75534a)break;else _0xea1679['push'](_0xea1679['shift']());}catch(_0x50cd66){_0xea1679['push'](_0xea1679['shift']());}}}(a0_0x5a1f,0x8cf5f));import a0_0x29b3ed from'graphql-tag';import{client}from'@operato/graphql';import{i18next}from'@operato/i18n';export class TermsUtil{[a0_0x8eccca(0x16d)]=null;static async[a0_0x8eccca(0x17e)](_0x15eecc){const _0x4d26d4=a0_0x8eccca;let _0x283314=(await TermsUtil['fetchTerminologies'](_0x15eecc))[_0x4d26d4(0x188)];_0x283314&&_0x283314[_0x4d26d4(0x180)]>0x0&&(this[_0x4d26d4(0x16d)]={},_0x283314['forEach'](_0xd7ac60=>{const _0x1aa3a0=_0x4d26d4;let _0x223229=_0xd7ac60[_0x1aa3a0(0x175)]+'.'+_0xd7ac60['name'];this[_0x1aa3a0(0x16d)][_0x223229]=_0xd7ac60[_0x1aa3a0(0x186)];}));}static async[a0_0x8eccca(0x171)](_0x4ad3b6){const _0x3e722e=a0_0x8eccca;let _0x29e04a=[{'name':_0x3e722e(0x189),'operator':'eq','value':_0x4ad3b6}];const _0x2ec2ca=await client['query']({'query':a0_0x29b3ed`
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 @@ const a0_0x38acba=a0_0x4ae2;(function(_0xf7e59b,_0x1b9a31){const _0x449113=a0_0x
11
11
  total
12
12
  }
13
13
  }
14
- `,'variables':{'filters':_0x56e916,'sortings':[{'name':_0x5d169a(0x101)},{'name':_0x5d169a(0xf2)}],'pagination':{'page':0x0,'limit':0x0}}});if(!_0x25c69c[_0x5d169a(0xe9)])return{'records':_0x25c69c[_0x5d169a(0xfe)][_0x5d169a(0xf9)]['items']||[],'total':_0x25c69c[_0x5d169a(0xfe)]['terminologies']['total']||0x0};}static['tLabel'](_0x81d3db,_0xe6eab4){const _0x99a929=a0_0x38acba;let _0x77b51a=TermsUtil['translate'](_0x99a929(0x104),_0x81d3db,_0xe6eab4,null);return _0x77b51a||TermsUtil[_0x99a929(0xf1)]('field',_0x81d3db,_0xe6eab4,_0x81d3db);}static['tField'](_0x118ce0,_0x59c804){const _0x489fde=a0_0x38acba;let _0x54dabd=TermsUtil[_0x489fde(0xf1)]('field',_0x118ce0,_0x59c804,null);return _0x54dabd||TermsUtil[_0x489fde(0xf1)](_0x489fde(0xef),_0x118ce0,_0x59c804,_0x118ce0);}static[a0_0x38acba(0x105)](_0x3e8abd){const _0x2c01f8=a0_0x38acba;return TermsUtil[_0x2c01f8(0xf1)](_0x2c01f8(0xea),_0x3e8abd,null,_0x3e8abd);}static[a0_0x38acba(0xfb)](_0x403ee0,_0xb200f2){const _0x4d850d=a0_0x38acba;let _0x45bcd9=TermsUtil['translate'](_0x4d850d(0xf3),_0x403ee0,_0xb200f2,null);return _0x45bcd9||TermsUtil['translate'](_0x4d850d(0xf8),_0x403ee0,_0xb200f2,_0x403ee0);}static['tMenu'](_0x21695d){const _0x58e3ea=a0_0x38acba;let _0x36c6b5=TermsUtil[_0x58e3ea(0xf1)]('menu',_0x21695d,null,_0x21695d);return _0x36c6b5||TermsUtil[_0x58e3ea(0xf1)](_0x58e3ea(0xf3),_0x21695d,null,_0x21695d);}static[a0_0x38acba(0xeb)](_0x3bae9d,_0x198477){const _0x444156=a0_0x38acba;return TermsUtil[_0x444156(0xf1)]('text',_0x3bae9d,_0x198477,_0x3bae9d);}static[a0_0x38acba(0x103)](_0x5abd84,_0x361dc5){const _0xcf59ac=a0_0x38acba;return TermsUtil[_0xcf59ac(0xf1)]('error',_0x5abd84,_0x361dc5,_0x5abd84);}static['translate'](_0x59470b,_0x9f2542,_0x580197,_0x2df09a){let _0x4a4cd6=_0x59470b+'.'+_0x9f2542;return TermsUtil['t'](_0x4a4cd6,_0x580197,_0x2df09a);}static['t'](_0xf5fd90,_0x170b10,_0x70bf1e){const _0xd87ed8=a0_0x38acba;let _0x464704=this[_0xd87ed8(0xed)]?this['META_TERMS'][_0xf5fd90]:null;return _0x464704=_0x464704||i18next['t'](_0xf5fd90),_0x464704&&_0xf5fd90!=_0x464704?(_0x170b10&&Object[_0xd87ed8(0xf7)](_0x170b10)['forEach'](function(_0x27b80c){const _0x772311=_0xd87ed8;var _0x326093='\x5c{'+_0x27b80c[_0x772311(0xfc)](/\$/,'\x5c$')+'\x5c}',_0x3c728b=new RegExp(_0x326093,'gi');_0x464704=_0x464704[_0x772311(0xfc)](_0x3c728b,_0x170b10[_0x27b80c]);}),_0x464704):_0x70bf1e;}}
14
+ `,'variables':{'filters':_0x29e04a,'sortings':[{'name':_0x3e722e(0x175)},{'name':_0x3e722e(0x16f)}],'pagination':{'page':0x0,'limit':0x0}}});if(!_0x2ec2ca[_0x3e722e(0x17f)])return{'records':_0x2ec2ca['data'][_0x3e722e(0x174)][_0x3e722e(0x187)]||[],'total':_0x2ec2ca[_0x3e722e(0x18c)][_0x3e722e(0x174)][_0x3e722e(0x16b)]||0x0};}static['tLabel'](_0x5d7c0e,_0x453122){const _0x4c27c8=a0_0x8eccca;let _0x38640b=TermsUtil['translate'](_0x4c27c8(0x17b),_0x5d7c0e,_0x453122,null);return _0x38640b||TermsUtil['translate']('field',_0x5d7c0e,_0x453122,_0x5d7c0e);}static[a0_0x8eccca(0x181)](_0x57d58e,_0x5cb7d6){const _0x6397d1=a0_0x8eccca;let _0x526032=TermsUtil[_0x6397d1(0x18f)]('field',_0x57d58e,_0x5cb7d6,null);return _0x526032||TermsUtil[_0x6397d1(0x18f)]('field',_0x57d58e,_0x5cb7d6,_0x57d58e);}static[a0_0x8eccca(0x185)](_0x4bbb33){return TermsUtil['translate']('button',_0x4bbb33,null,_0x4bbb33);}static[a0_0x8eccca(0x17a)](_0x2df107,_0x490bd1){const _0x636cc0=a0_0x8eccca;let _0x2cb902=TermsUtil[_0x636cc0(0x18f)](_0x636cc0(0x18b),_0x2df107,_0x490bd1,null);return _0x2cb902||TermsUtil[_0x636cc0(0x18f)](_0x636cc0(0x184),_0x2df107,_0x490bd1,_0x2df107);}static[a0_0x8eccca(0x17c)](_0xd3a5a4){const _0x517574=a0_0x8eccca;let _0x2ff3f9=TermsUtil[_0x517574(0x18f)](_0x517574(0x184),_0xd3a5a4,null,_0xd3a5a4);return _0x2ff3f9||TermsUtil['translate'](_0x517574(0x18b),_0xd3a5a4,null,_0xd3a5a4);}static['tText'](_0x21f5eb,_0x2a23){const _0x5e4116=a0_0x8eccca;return TermsUtil[_0x5e4116(0x18f)]('text',_0x21f5eb,_0x2a23,_0x21f5eb);}static[a0_0x8eccca(0x18a)](_0x454df0,_0x1ca81b){const _0x3b0302=a0_0x8eccca;return TermsUtil[_0x3b0302(0x18f)](_0x3b0302(0x172),_0x454df0,_0x1ca81b,_0x454df0);}static['translate'](_0x381c04,_0x964d61,_0x2f7ba1,_0x48887e){let _0x54a8e2=_0x381c04+'.'+_0x964d61;return TermsUtil['t'](_0x54a8e2,_0x2f7ba1,_0x48887e);}static['t'](_0x14a3b7,_0xa98f54,_0x5da38f){const _0x512704=a0_0x8eccca;let _0x3fd754=this[_0x512704(0x16d)]?this['META_TERMS'][_0x14a3b7]:null;return _0x3fd754=_0x3fd754||i18next['t'](_0x14a3b7),_0x3fd754&&_0x14a3b7!=_0x3fd754?(_0xa98f54&&Object[_0x512704(0x179)](_0xa98f54)[_0x512704(0x18e)](function(_0x7d5f75){const _0xe9b59f=_0x512704;var _0x433ac0='\x5c{'+_0x7d5f75[_0xe9b59f(0x16a)](/\$/,'\x5c$')+'\x5c}',_0x5ef33b=new RegExp(_0x433ac0,'gi');_0x3fd754=_0x3fd754[_0xe9b59f(0x16a)](_0x5ef33b,_0xa98f54[_0x7d5f75]);}),_0x3fd754):_0x5da38f;}}
@@ -1 +1 @@
1
- const a0_0x4df11f=a0_0x5048;(function(_0xd4b48b,_0x2bf173){const _0x2fb95a=a0_0x5048,_0x53e428=_0xd4b48b();while(!![]){try{const _0x595e81=parseInt(_0x2fb95a(0xe2))/0x1*(parseInt(_0x2fb95a(0xce))/0x2)+-parseInt(_0x2fb95a(0xdb))/0x3*(parseInt(_0x2fb95a(0xdf))/0x4)+-parseInt(_0x2fb95a(0xc0))/0x5+-parseInt(_0x2fb95a(0xc4))/0x6*(-parseInt(_0x2fb95a(0xb9))/0x7)+-parseInt(_0x2fb95a(0xb8))/0x8+parseInt(_0x2fb95a(0xe1))/0x9+parseInt(_0x2fb95a(0xb6))/0xa;if(_0x595e81===_0x2bf173)break;else _0x53e428['push'](_0x53e428['shift']());}catch(_0x43108d){_0x53e428['push'](_0x53e428['shift']());}}}(a0_0x3d23,0x971af));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';import{MetaUiUtil}from'./meta-ui-util';export class UiUtil{static[a0_0x4df11f(0xb3)](){return isMobileDevice();}static[a0_0x4df11f(0xa6)](){const _0x22f180=a0_0x4df11f;let _0xadf8be=document[_0x22f180(0xa4)];return _0xadf8be=_0xadf8be['substring'](_0xadf8be[_0x22f180(0xba)](_0x22f180(0xab))),_0xadf8be[_0x22f180(0xba)](';')>-0x1&&(_0xadf8be=_0xadf8be[_0x22f180(0xbf)](0x0,_0xadf8be[_0x22f180(0xba)](';'))),_0xadf8be=_0xadf8be[_0x22f180(0xb2)]('i18next=',''),'ko'==_0xadf8be?_0x22f180(0xd3):_0xadf8be;}static[a0_0x4df11f(0xd1)](){const _0x49cd4c=a0_0x4df11f;let _0x4c4110=store['getState']()[_0x49cd4c(0xe3)][_0x49cd4c(0xbc)];return _0x4c4110[_0x4c4110[_0x49cd4c(0xb7)]-0x1];}static['currentRouting'](){const _0x30e901=a0_0x4df11f;return store[_0x30e901(0xbb)]()['route'][_0x30e901(0xcf)];}static[a0_0x4df11f(0xcb)](_0x41efde,_0x14bfda,_0x36e110,_0x13ac44){return openPopup(_0x36e110,{'backdrop':!0x0,'size':_0x14bfda,'title':_0x41efde,'backdrop':_0x13ac44});}static async['openDynamicPopup'](_0x51ab51,_0x13c0ba,_0x4e286a,_0xa8d1f0){const _0x454bf0=a0_0x4df11f;let _0x1f9753=ValueUtil[_0x454bf0(0xc6)](_0x13c0ba[_0x454bf0(0xc8)])?ValueUtil[_0x454bf0(0xd2)](_0x4e286a,..._0x13c0ba[_0x454bf0(0xc8)]['split']('.')):void 0x0,_0x53b740='<'+_0x13c0ba[_0x454bf0(0xa5)]+'\x20route_name=\x27'+_0x13c0ba[_0x454bf0(0xd8)]+_0x454bf0(0xbd)+_0x1f9753+'\x27\x20is_popup=true></'+_0x13c0ba['tagname']+'>',_0x5d9cca=UiUtil['htmlToElement'](_0x53b740);_0x5d9cca[_0x454bf0(0xa8)]=_0x13c0ba,ValueUtil[_0x454bf0(0xc6)](_0x13c0ba[_0x454bf0(0xde)])&&(_0x5d9cca[_0x13c0ba['popup_field']]=_0x4e286a);let _0x1e4959=UiUtil['openPopupByElement'](_0x51ab51,_0x13c0ba['size'],_0x5d9cca,!0x0);_0xa8d1f0&&(_0x1e4959[_0x454bf0(0xac)]=_0xa8d1f0);}static[a0_0x4df11f(0xc7)](_0x4f4d09,_0x1cb58c){const _0x3c7d93=a0_0x4df11f;let _0x462c04='<'+_0x4f4d09+'\x20route_name=\x27'+_0x1cb58c+_0x3c7d93(0xaf)+_0x4f4d09+'>';return UiUtil[_0x3c7d93(0xd9)](_0x462c04);}static[a0_0x4df11f(0xd9)](_0x246658){const _0x47a13d=a0_0x4df11f;var _0x465441=document[_0x47a13d(0xad)](_0x47a13d(0xa3));_0x465441[_0x47a13d(0xc2)]=_0x246658;var _0x377fc9=_0x465441[_0x47a13d(0xcd)][_0x47a13d(0xc9)][0x0];return _0x465441[_0x47a13d(0xcd)]['removeChild'](_0x377fc9),_0x377fc9;}static[a0_0x4df11f(0xe0)](_0x4e1362,_0x58d6fb){const _0x9de74=a0_0x4df11f;let _0x52c62e=_0x58d6fb?'?':'';_0x58d6fb&&(_0x52c62e+='pass='+JSON[_0x9de74(0xdc)](_0x58d6fb)),navigate(''+_0x4e1362+_0x52c62e);}static[a0_0x4df11f(0xb1)](_0x419dbf,_0x4d2f2e,_0xff8288){const _0x1ab72e=a0_0x4df11f;let _0x5151e4=_0x5151e4[_0x1ab72e(0xbb)]();return _0x419dbf&&_0x4d2f2e&&_0xff8288?_0x5151e4[_0x419dbf][_0x4d2f2e][_0xff8288]:_0x419dbf&&_0x4d2f2e?_0x5151e4[_0x419dbf][_0x4d2f2e]:_0x419dbf?_0x5151e4[_0x419dbf]:_0x5151e4;}static['fireCustomEvent'](_0xa0bd39,_0x211e97){const _0x304471=a0_0x4df11f;document[_0x304471(0xca)](new CustomEvent(_0xa0bd39,{'detail':_0x211e97}));}static['showToast'](_0x540660,_0x32f017){const _0x4dfe58=a0_0x4df11f;document[_0x4dfe58(0xca)](new CustomEvent(_0x4dfe58(0xc5),{'detail':{'type':_0x540660,'message':_0x32f017}}));}static async['showAlertPopup'](_0x1230dd,_0x2f500e,_0x2aadf9,_0x7ab828,_0x559c10){const _0x49ce19=a0_0x4df11f;let _0x488983={'title':TermsUtil['t'](_0x1230dd)||_0x1230dd,'text':TermsUtil['t'](_0x2f500e)||_0x2f500e};return _0x2aadf9&&(_0x488983['type']=_0x2aadf9),_0x7ab828&&(_0x488983['confirmButton']=TermsUtil['tButton'](_0x7ab828)),_0x559c10&&(_0x488983[_0x49ce19(0xd0)]=TermsUtil[_0x49ce19(0xc1)](_0x559c10)),await CustomAlert(_0x488983);}static[a0_0x4df11f(0xd4)](_0x489bb9){const _0x43ce33=a0_0x4df11f;if(ValueUtil['isNotEmpty'](_0x489bb9)){let _0x5133fd=_0x489bb9[_0x43ce33(0xbe)]();ValueUtil['isNotEmpty'](_0x5133fd)&&_0x5133fd['forEach'](_0x561ac7=>{const _0x257609=_0x43ce33;ValueUtil[_0x257609(0xc6)](_0x561ac7[_0x257609(0xa7)])&&(item[_0x561ac7['name']]=_0x561ac7['value']?_0x561ac7['value']:null);});}return{};}static[a0_0x4df11f(0xdd)](_0x5baa90,_0x21fbbb,_0x127b81){const _0x336882=a0_0x4df11f;if(ValueUtil[_0x336882(0xc6)](_0x5baa90)){let _0x17ba4b=_0x5baa90['renderRoot']?.['querySelector'](_0x336882(0xb0)+_0x21fbbb+'\x27]');ValueUtil[_0x336882(0xc6)](_0x17ba4b)&&(_0x17ba4b[_0x336882(0xa7)]=_0x127b81);}}static[a0_0x4df11f(0xe4)](_0x4b6118,_0x38a65e,_0x126e35,_0x1bf269){return getEditor(_0x4b6118)('',_0x38a65e,_0x126e35,_0x1bf269,{});}static[a0_0x4df11f(0xaa)](_0x2d24c9,_0x46aa79){const _0x3afa91=a0_0x4df11f;UiUtil[_0x3afa91(0xa9)](_0x2d24c9)['value']=_0x46aa79;}static['getLeafInput'](_0x4f4f5a){const _0x404b8c=a0_0x4df11f;let _0x8fd359=_0x4f4f5a[_0x404b8c(0xd5)]();return'code-editor'==_0x8fd359?_0x4f4f5a[_0x404b8c(0xd7)][_0x404b8c(0xc3)](_0x404b8c(0xda)):_0x404b8c(0xb5)==_0x8fd359?_0x4f4f5a[_0x404b8c(0xd7)]['querySelector'](_0x404b8c(0xb5)):_0x404b8c(0xcc)==_0x8fd359?_0x4f4f5a[_0x404b8c(0xd7)][_0x404b8c(0xc3)]('ox-select')[_0x404b8c(0xb4)]:_0x404b8c(0xd6)==_0x8fd359?_0x4f4f5a[_0x404b8c(0xd7)][_0x404b8c(0xc3)]('ox-input-barcode')[_0x404b8c(0xd7)][_0x404b8c(0xc3)](_0x404b8c(0xae)):_0x4f4f5a[_0x404b8c(0xd7)][_0x404b8c(0xb4)]['editor'];}}function a0_0x5048(_0x4d03bf,_0x198427){const _0x3d23d9=a0_0x3d23();return a0_0x5048=function(_0x5048f6,_0x566edc){_0x5048f6=_0x5048f6-0xa3;let _0x258637=_0x3d23d9[_0x5048f6];return _0x258637;},a0_0x5048(_0x4d03bf,_0x198427);}function a0_0x3d23(){const _0x442e64=['ko-KR','getFilterFormData','getType','barcode','renderRoot','menu','htmlToElement','ox-input-code','237ruEdwJ','stringify','setSearchFormEditorValue','popup_field','4rshnBx','pageNavigate','3686283hwCYfX','31WFezxE','app','createEditorHtml','template','cookie','tagname','currentLocale','value','config','getLeafInput','setValueToEditor','i18next','onclosed','createElement','input','\x27></','[name=\x27','getStore','replace','isMobileEnv','firstElementChild','textarea','23522760YMqcNN','length','9311208LsGcWb','14fqHsrS','indexOf','getState','modules','\x27\x20\x20parent_id=\x27','filters','substring','6168465jLDRnA','tButton','innerHTML','querySelector','699762leiOwW','notify','isNotEmpty','createCustomElement','parent_field','childNodes','dispatchEvent','openPopupByElement','select-combo','content','1386LNASkk','page','cancelButton','getApplicationModuleInfo','getParams'];a0_0x3d23=function(){return _0x442e64;};return a0_0x3d23();}
1
+ function a0_0xed7f(_0x1a7608,_0xba3ab7){const _0x758513=a0_0x7585();return a0_0xed7f=function(_0xed7fa9,_0x5d4d28){_0xed7fa9=_0xed7fa9-0x71;let _0x2ccfdc=_0x758513[_0xed7fa9];return _0x2ccfdc;},a0_0xed7f(_0x1a7608,_0xba3ab7);}function a0_0x7585(){const _0x4e33c2=['substring','fireCustomEvent','value','\x27\x20\x20parent_id=\x27','openPopupByElement','route','tagname','isMobileEnv','ko-KR','select-combo','\x27\x20is_popup=true></','cookie','1966238JHwrQB','modules','template','setValueToEditor','getStore','popup_field','innerHTML','input','i18next=','1022005jToCHg','createEditorHtml','openDynamicPopup','page','5230rXDpAp','filters','firstElementChild','textarea','confirmButton','createElement','renderRoot','14217VwZngy','ox-select','dispatchEvent','querySelector','4LFOWoF','pageNavigate','currentRouting','replace','code-editor','[name=\x27','getParams','removeChild','\x20route_name=\x27','htmlToElement','7224vipvrA','showAlertPopup','name','currentLocale','getLeafInput','parent_field','config','forEach','isNotEmpty','4977nnzzlG','tButton','notify','65307nISECq','3316962cuLLQV','getApplicationModuleInfo','getState','stringify','barcode','content','pass=','750AtcvHJ','ox-input-code','childNodes','2049605FCOcEw','indexOf'];a0_0x7585=function(){return _0x4e33c2;};return a0_0x7585();}const a0_0x166810=a0_0xed7f;(function(_0x430aed,_0x3af34b){const _0x1e4972=a0_0xed7f,_0x84495c=_0x430aed();while(!![]){try{const _0x21b93f=-parseInt(_0x1e4972(0x93))/0x1+-parseInt(_0x1e4972(0x8a))/0x2+-parseInt(_0x1e4972(0x72))/0x3+parseInt(_0x1e4972(0xa2))/0x4*(parseInt(_0x1e4972(0x7c))/0x5)+-parseInt(_0x1e4972(0x79))/0x6*(parseInt(_0x1e4972(0x9e))/0x7)+parseInt(_0x1e4972(0xac))/0x8*(parseInt(_0x1e4972(0xb5))/0x9)+-parseInt(_0x1e4972(0x97))/0xa*(-parseInt(_0x1e4972(0x71))/0xb);if(_0x21b93f===_0x3af34b)break;else _0x84495c['push'](_0x84495c['shift']());}catch(_0x340b74){_0x84495c['push'](_0x84495c['shift']());}}}(a0_0x7585,0x9e9ce));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';import{MetaUiUtil}from'./meta-ui-util';export class UiUtil{static[a0_0x166810(0x85)](){return isMobileDevice();}static[a0_0x166810(0xaf)](){const _0x236165=a0_0x166810;let _0x53251d=document[_0x236165(0x89)];return _0x53251d=_0x53251d[_0x236165(0x7e)](_0x53251d[_0x236165(0x7d)]('i18next')),_0x53251d['indexOf'](';')>-0x1&&(_0x53251d=_0x53251d[_0x236165(0x7e)](0x0,_0x53251d['indexOf'](';'))),_0x53251d=_0x53251d[_0x236165(0xa5)](_0x236165(0x92),''),'ko'==_0x53251d?_0x236165(0x86):_0x53251d;}static[a0_0x166810(0x73)](){const _0x28c25b=a0_0x166810;let _0x14eb2b=store[_0x28c25b(0x74)]()['app'][_0x28c25b(0x8b)];return _0x14eb2b[_0x14eb2b['length']-0x1];}static[a0_0x166810(0xa4)](){const _0x2de72a=a0_0x166810;return store[_0x2de72a(0x74)]()[_0x2de72a(0x83)][_0x2de72a(0x96)];}static[a0_0x166810(0x82)](_0x35ac4e,_0x5a622a,_0x46e1e6,_0xd8d9b3){return openPopup(_0x46e1e6,{'backdrop':!0x0,'size':_0x5a622a,'title':_0x35ac4e,'backdrop':_0xd8d9b3});}static async[a0_0x166810(0x95)](_0x2ddd3a,_0x284334,_0x24a328,_0x26b0d){const _0x31aaeb=a0_0x166810;let _0x523a08=ValueUtil[_0x31aaeb(0xb4)](_0x284334[_0x31aaeb(0xb1)])?ValueUtil[_0x31aaeb(0xa8)](_0x24a328,..._0x284334[_0x31aaeb(0xb1)]['split']('.')):void 0x0,_0x1523f1='<'+_0x284334[_0x31aaeb(0x84)]+'\x20route_name=\x27'+_0x284334['menu']+_0x31aaeb(0x81)+_0x523a08+_0x31aaeb(0x88)+_0x284334[_0x31aaeb(0x84)]+'>',_0x5aa1a1=UiUtil[_0x31aaeb(0xab)](_0x1523f1);_0x5aa1a1[_0x31aaeb(0xb2)]=_0x284334,ValueUtil[_0x31aaeb(0xb4)](_0x284334[_0x31aaeb(0x8f)])&&(_0x5aa1a1[_0x284334['popup_field']]=_0x24a328);let _0x18a4d6=UiUtil[_0x31aaeb(0x82)](_0x2ddd3a,_0x284334['size'],_0x5aa1a1,!0x0);_0x26b0d&&(_0x18a4d6['onclosed']=_0x26b0d);}static['createCustomElement'](_0x45579b,_0x383f68){const _0x2b9f71=a0_0x166810;let _0x104f20='<'+_0x45579b+_0x2b9f71(0xaa)+_0x383f68+'\x27></'+_0x45579b+'>';return UiUtil[_0x2b9f71(0xab)](_0x104f20);}static[a0_0x166810(0xab)](_0x3c3ce0){const _0x235624=a0_0x166810;var _0x456a50=document[_0x235624(0x9c)](_0x235624(0x8c));_0x456a50[_0x235624(0x90)]=_0x3c3ce0;var _0x4e76f8=_0x456a50[_0x235624(0x77)][_0x235624(0x7b)][0x0];return _0x456a50[_0x235624(0x77)][_0x235624(0xa9)](_0x4e76f8),_0x4e76f8;}static[a0_0x166810(0xa3)](_0x4b3dbd,_0x19a3f8){const _0x2b8d6c=a0_0x166810;let _0x30c979=_0x19a3f8?'?':'';_0x19a3f8&&(_0x30c979+=_0x2b8d6c(0x78)+JSON[_0x2b8d6c(0x75)](_0x19a3f8)),navigate(''+_0x4b3dbd+_0x30c979);}static[a0_0x166810(0x8e)](_0x58e84d,_0x90d379,_0x3ef6b2){let _0x518e40=_0x518e40['getState']();return _0x58e84d&&_0x90d379&&_0x3ef6b2?_0x518e40[_0x58e84d][_0x90d379][_0x3ef6b2]:_0x58e84d&&_0x90d379?_0x518e40[_0x58e84d][_0x90d379]:_0x58e84d?_0x518e40[_0x58e84d]:_0x518e40;}static[a0_0x166810(0x7f)](_0x59f89e,_0x457346){const _0x2fc326=a0_0x166810;document[_0x2fc326(0xa0)](new CustomEvent(_0x59f89e,{'detail':_0x457346}));}static['showToast'](_0x34663f,_0x25dd93){const _0x2927b9=a0_0x166810;document[_0x2927b9(0xa0)](new CustomEvent(_0x2927b9(0xb7),{'detail':{'type':_0x34663f,'message':_0x25dd93}}));}static async[a0_0x166810(0xad)](_0x3916e,_0x404186,_0x25ce7b,_0x57f064,_0x28393f){const _0x2fbad0=a0_0x166810;let _0x2b60b={'title':TermsUtil['t'](_0x3916e)||_0x3916e,'text':TermsUtil['t'](_0x404186)||_0x404186};return _0x25ce7b&&(_0x2b60b['type']=_0x25ce7b),_0x57f064&&(_0x2b60b[_0x2fbad0(0x9b)]=TermsUtil[_0x2fbad0(0xb6)](_0x57f064)),_0x28393f&&(_0x2b60b['cancelButton']=TermsUtil[_0x2fbad0(0xb6)](_0x28393f)),await CustomAlert(_0x2b60b);}static['getFilterFormData'](_0xd565ac){const _0x29e16e=a0_0x166810;if(ValueUtil[_0x29e16e(0xb4)](_0xd565ac)){let _0x2c9d9a=_0xd565ac[_0x29e16e(0x98)]();ValueUtil['isNotEmpty'](_0x2c9d9a)&&_0x2c9d9a[_0x29e16e(0xb3)](_0x110069=>{const _0x29c468=_0x29e16e;ValueUtil[_0x29c468(0xb4)](_0x110069['value'])&&(item[_0x110069[_0x29c468(0xae)]]=_0x110069[_0x29c468(0x80)]?_0x110069[_0x29c468(0x80)]:null);});}return{};}static['setSearchFormEditorValue'](_0x260b49,_0x6e350d,_0xc0a33a){const _0x58e376=a0_0x166810;if(ValueUtil['isNotEmpty'](_0x260b49)){let _0x3f3b75=_0x260b49[_0x58e376(0x9d)]?.[_0x58e376(0xa1)](_0x58e376(0xa7)+_0x6e350d+'\x27]');ValueUtil[_0x58e376(0xb4)](_0x3f3b75)&&(_0x3f3b75['value']=_0xc0a33a);}}static[a0_0x166810(0x94)](_0x5573f9,_0x2bf6b9,_0x556156,_0x182f22){return getEditor(_0x5573f9)('',_0x2bf6b9,_0x556156,_0x182f22,{});}static[a0_0x166810(0x8d)](_0x4dfb40,_0x5ce62e){const _0x58dfc6=a0_0x166810;UiUtil[_0x58dfc6(0xb0)](_0x4dfb40)[_0x58dfc6(0x80)]=_0x5ce62e;}static['getLeafInput'](_0x5ce568){const _0x1efd7c=a0_0x166810;let _0x44edee=_0x5ce568['getType']();return _0x1efd7c(0xa6)==_0x44edee?_0x5ce568[_0x1efd7c(0x9d)][_0x1efd7c(0xa1)](_0x1efd7c(0x7a)):_0x1efd7c(0x9a)==_0x44edee?_0x5ce568[_0x1efd7c(0x9d)]['querySelector'](_0x1efd7c(0x9a)):_0x1efd7c(0x87)==_0x44edee?_0x5ce568[_0x1efd7c(0x9d)][_0x1efd7c(0xa1)](_0x1efd7c(0x9f))[_0x1efd7c(0x99)]:_0x1efd7c(0x76)==_0x44edee?_0x5ce568[_0x1efd7c(0x9d)][_0x1efd7c(0xa1)]('ox-input-barcode')[_0x1efd7c(0x9d)]['querySelector'](_0x1efd7c(0x91)):_0x5ce568[_0x1efd7c(0x9d)][_0x1efd7c(0x99)]['editor'];}}
@@ -1 +1 @@
1
- const a0_0x45873e=a0_0x448a;function a0_0x448a(_0x91633d,_0x515a38){const _0x3b8400=a0_0x3b84();return a0_0x448a=function(_0x448acf,_0x4ff96c){_0x448acf=_0x448acf-0x163;let _0x1aaf2b=_0x3b8400[_0x448acf];return _0x1aaf2b;},a0_0x448a(_0x91633d,_0x515a38);}function a0_0x3b84(){const _0x41ea2c=['length','395mFCwuA','15OdqsuH','19196dASQGp','707040vmraKX','1869200OACGJC','keys','18XmqLKq','88AyRLeC','slice','populateArray','2691vzKaVW','populateObject','getParams','44spRXHh','isEmpty','string','boolean','529028SgXvMQ','3185525olvqcP','19308sENMYp','isNotEmpty','compareObjectValues','true','toBoolean','TRUE','703257tvRmDG'];a0_0x3b84=function(){return _0x41ea2c;};return a0_0x3b84();}(function(_0x8f9058,_0x4e31ba){const _0x16092d=a0_0x448a,_0x1e2805=_0x8f9058();while(!![]){try{const _0xd9fe31=parseInt(_0x16092d(0x163))/0x1+parseInt(_0x16092d(0x176))/0x2*(parseInt(_0x16092d(0x166))/0x3)+parseInt(_0x16092d(0x167))/0x4*(-parseInt(_0x16092d(0x165))/0x5)+-parseInt(_0x16092d(0x16b))/0x6*(parseInt(_0x16092d(0x177))/0x7)+parseInt(_0x16092d(0x16c))/0x8*(parseInt(_0x16092d(0x168))/0x9)+parseInt(_0x16092d(0x169))/0xa*(-parseInt(_0x16092d(0x172))/0xb)+-parseInt(_0x16092d(0x178))/0xc*(-parseInt(_0x16092d(0x16f))/0xd);if(_0xd9fe31===_0x4e31ba)break;else _0x1e2805['push'](_0x1e2805['shift']());}catch(_0x15b49c){_0x1e2805['push'](_0x1e2805['shift']());}}}(a0_0x3b84,0xb2790));import a0_0x49d0d7 from'lodash-es/isEqual';import{TermsUtil}from'./terms-util';export class ValueUtil{static[a0_0x45873e(0x173)](_0x284043){const _0x48defc=a0_0x45873e;if(void 0x0===_0x284043)return!0x0;if(null===_0x284043)return!0x0;if(_0x48defc(0x175)==typeof _0x284043)return!0x1;if(_0x48defc(0x174)==typeof _0x284043||'number'==typeof _0x284043){if(''==_0x284043)return!0x0;}else{if(Array['isArray'](_0x284043)){if(0x0==_0x284043['length'])return!0x0;}else{if('object'==typeof _0x284043&&0x0==Object[_0x48defc(0x16a)](_0x284043)[_0x48defc(0x164)])return!0x0;}}return!0x1;}static[a0_0x45873e(0x179)](_0x1254c2){const _0x423ec9=a0_0x45873e;return!ValueUtil[_0x423ec9(0x173)](_0x1254c2);}static['isEquals'](_0x4f25de,_0xfa6033){return a0_0x49d0d7(_0x4f25de,_0xfa6033);}static['toInteger'](_0x2f0b2d,_0x4ca361){const _0x4565f7=a0_0x45873e;return ValueUtil[_0x4565f7(0x173)](_0x2f0b2d)?_0x4ca361||0x0:parseInt(_0x2f0b2d);}static[a0_0x45873e(0x17c)](_0x4d1b20){const _0x4d90a7=a0_0x45873e;return!ValueUtil['isEmpty'](_0x4d1b20)&&(_0x4d90a7(0x17b)==_0x4d1b20||'t'==_0x4d1b20||_0x4d90a7(0x17d)==_0x4d1b20||'T'==_0x4d1b20||'on'==_0x4d1b20||'ON'==_0x4d1b20);}static[a0_0x45873e(0x17a)](_0x192bba,_0x468db9,_0x5e64e0){let _0x4156fa=!0x0;return _0x5e64e0['forEach'](_0x3ca278=>{const _0x1e106f=a0_0x448a;let _0x3327bb=_0x192bba[_0x3ca278];if('*'===_0x3327bb)return;let _0x53ae51=_0x468db9[_0x3ca278]||'';ValueUtil['isEmpty'](_0x3327bb)?ValueUtil[_0x1e106f(0x179)](_0x53ae51)&&(_0x4156fa=!0x1):_0x3327bb!=_0x53ae51&&(_0x4156fa=!0x1);}),_0x4156fa;}static['setParams'](_0x8ad647,_0x1ff378,_0x466704,_0x157e25){const _0x41fccc=a0_0x45873e;let _0x4a7a37=ValueUtil['getParams'](_0x1ff378,_0x466704);return ValueUtil[_0x41fccc(0x179)](_0x4a7a37)&&(_0x8ad647[_0x466704]=!0x0===_0x157e25?TermsUtil['t'](_0x4a7a37):_0x4a7a37),_0x8ad647;}static['getParams'](_0x2486d9,..._0x56b488){const _0x13f309=a0_0x45873e;if(arguments[_0x13f309(0x164)]<=0x1)return;let _0x3fd8d1=_0x56b488[0x0];if(ValueUtil[_0x13f309(0x173)](_0x2486d9[_0x3fd8d1]))return;let _0x1b61b5=_0x2486d9[_0x3fd8d1];return _0x56b488[_0x13f309(0x164)]>0x1?ValueUtil[_0x13f309(0x171)](_0x1b61b5,..._0x56b488[_0x13f309(0x16d)](0x1)):_0x1b61b5;}static[a0_0x45873e(0x16e)](_0x3d6b46,_0xa71c51,..._0x4d0d43){const _0x5a2e46=a0_0x45873e;return _0xa71c51=_0xa71c51||[],_0x4d0d43=_0x4d0d43||Object[_0x5a2e46(0x16a)](_0x3d6b46),ValueUtil[_0x5a2e46(0x179)](_0x4d0d43)&&(_0xa71c51=_0x3d6b46['map']((_0x4fef95,_0x21f90b)=>{const _0x58f4dd=_0x5a2e46;let _0xf13f8f=_0xa71c51[_0x58f4dd(0x164)]>_0x21f90b?_0xa71c51[_0x21f90b]:{};return ValueUtil[_0x58f4dd(0x170)](_0x4fef95,_0xf13f8f,_0x4d0d43);})),_0xa71c51;}static[a0_0x45873e(0x170)](_0x2c7ca5,_0x50dd2e,..._0x479451){return _0x50dd2e=_0x50dd2e||{},_0x479451=_0x479451||Object['keys'](_0x2c7ca5),ValueUtil['isNotEmpty'](_0x479451)&&_0x479451['forEach'](_0x4e43ab=>{_0x50dd2e[_0x4e43ab]=_0x2c7ca5[_0x4e43ab];}),_0x50dd2e;}}
1
+ const a0_0x186f12=a0_0xb968;function a0_0xb968(_0x3e632c,_0x3d712d){const _0x3592c3=a0_0x3592();return a0_0xb968=function(_0xb96861,_0x35c463){_0xb96861=_0xb96861-0x1a0;let _0x419adf=_0x3592c3[_0xb96861];return _0x419adf;},a0_0xb968(_0x3e632c,_0x3d712d);}function a0_0x3592(){const _0x4ee8f5=['setParams','51tGemXA','populateObject','1500194MAumdb','slice','3579723mXUxTj','13647470TCOMJX','boolean','object','forEach','getParams','length','map','30087BgCvjd','compareObjectValues','876SiAfZx','isArray','toInteger','isNotEmpty','18410naxopc','11yaoGDe','true','9384tVagbw','keys','TRUE','296jVZuMP','populateArray','number','isEmpty','toBoolean','79733skfnyu','isEquals'];a0_0x3592=function(){return _0x4ee8f5;};return a0_0x3592();}(function(_0xa226bf,_0x55238a){const _0x44fec2=a0_0xb968,_0x5c4e96=_0xa226bf();while(!![]){try{const _0x43ab02=parseInt(_0x44fec2(0x1b0))/0x1+parseInt(_0x44fec2(0x1b5))/0x2+-parseInt(_0x44fec2(0x1b3))/0x3*(-parseInt(_0x44fec2(0x1a8))/0x4)+parseInt(_0x44fec2(0x1a5))/0x5*(parseInt(_0x44fec2(0x1a1))/0x6)+parseInt(_0x44fec2(0x1b7))/0x7+parseInt(_0x44fec2(0x1ab))/0x8*(-parseInt(_0x44fec2(0x1bf))/0x9)+parseInt(_0x44fec2(0x1b8))/0xa*(-parseInt(_0x44fec2(0x1a6))/0xb);if(_0x43ab02===_0x55238a)break;else _0x5c4e96['push'](_0x5c4e96['shift']());}catch(_0xfec276){_0x5c4e96['push'](_0x5c4e96['shift']());}}}(a0_0x3592,0x6909b));import a0_0x4d95b8 from'lodash-es/isEqual';import{TermsUtil}from'./terms-util';export class ValueUtil{static['isEmpty'](_0x331ef2){const _0x107160=a0_0xb968;if(void 0x0===_0x331ef2)return!0x0;if(null===_0x331ef2)return!0x0;if(_0x107160(0x1b9)==typeof _0x331ef2)return!0x1;if('string'==typeof _0x331ef2||_0x107160(0x1ad)==typeof _0x331ef2){if(''==_0x331ef2)return!0x0;}else{if(Array[_0x107160(0x1a2)](_0x331ef2)){if(0x0==_0x331ef2['length'])return!0x0;}else{if(_0x107160(0x1ba)==typeof _0x331ef2&&0x0==Object[_0x107160(0x1a9)](_0x331ef2)[_0x107160(0x1bd)])return!0x0;}}return!0x1;}static[a0_0x186f12(0x1a4)](_0x25a400){return!ValueUtil['isEmpty'](_0x25a400);}static[a0_0x186f12(0x1b1)](_0x49bb6e,_0x3f2bfa){return a0_0x4d95b8(_0x49bb6e,_0x3f2bfa);}static[a0_0x186f12(0x1a3)](_0x1b8694,_0x3f3668){return ValueUtil['isEmpty'](_0x1b8694)?_0x3f3668||0x0:parseInt(_0x1b8694);}static[a0_0x186f12(0x1af)](_0x2f060a){const _0x53627f=a0_0x186f12;return!ValueUtil[_0x53627f(0x1ae)](_0x2f060a)&&(_0x53627f(0x1a7)==_0x2f060a||'t'==_0x2f060a||_0x53627f(0x1aa)==_0x2f060a||'T'==_0x2f060a||'on'==_0x2f060a||'ON'==_0x2f060a);}static[a0_0x186f12(0x1a0)](_0x3c3900,_0x481700,_0x1813f9){const _0xeb0fd4=a0_0x186f12;let _0x1df2db=!0x0;return _0x1813f9[_0xeb0fd4(0x1bb)](_0x3eb613=>{const _0x3be56e=_0xeb0fd4;let _0x3db474=_0x3c3900[_0x3eb613];if('*'===_0x3db474)return;let _0x351462=_0x481700[_0x3eb613]||'';ValueUtil[_0x3be56e(0x1ae)](_0x3db474)?ValueUtil[_0x3be56e(0x1a4)](_0x351462)&&(_0x1df2db=!0x1):_0x3db474!=_0x351462&&(_0x1df2db=!0x1);}),_0x1df2db;}static[a0_0x186f12(0x1b2)](_0x3cc97f,_0x3916ad,_0x2999c0,_0x47ad18){const _0x2ec48c=a0_0x186f12;let _0x3f1e8f=ValueUtil['getParams'](_0x3916ad,_0x2999c0);return ValueUtil[_0x2ec48c(0x1a4)](_0x3f1e8f)&&(_0x3cc97f[_0x2999c0]=!0x0===_0x47ad18?TermsUtil['t'](_0x3f1e8f):_0x3f1e8f),_0x3cc97f;}static[a0_0x186f12(0x1bc)](_0x3e5eb5,..._0x5ea73b){const _0x486dce=a0_0x186f12;if(arguments[_0x486dce(0x1bd)]<=0x1)return;let _0xa4b3e8=_0x5ea73b[0x0];if(ValueUtil[_0x486dce(0x1ae)](_0x3e5eb5[_0xa4b3e8]))return;let _0x428de5=_0x3e5eb5[_0xa4b3e8];return _0x5ea73b[_0x486dce(0x1bd)]>0x1?ValueUtil[_0x486dce(0x1bc)](_0x428de5,..._0x5ea73b[_0x486dce(0x1b6)](0x1)):_0x428de5;}static[a0_0x186f12(0x1ac)](_0x23013f,_0x2b6ee5,..._0x174356){const _0x56a472=a0_0x186f12;return _0x2b6ee5=_0x2b6ee5||[],_0x174356=_0x174356||Object[_0x56a472(0x1a9)](_0x23013f),ValueUtil[_0x56a472(0x1a4)](_0x174356)&&(_0x2b6ee5=_0x23013f[_0x56a472(0x1be)]((_0x17e980,_0x1e0d42)=>{const _0x54a667=_0x56a472;let _0x548e37=_0x2b6ee5[_0x54a667(0x1bd)]>_0x1e0d42?_0x2b6ee5[_0x1e0d42]:{};return ValueUtil[_0x54a667(0x1b4)](_0x17e980,_0x548e37,_0x174356);})),_0x2b6ee5;}static['populateObject'](_0x27ae98,_0x317cc6,..._0x7b5056){const _0x1bd5ad=a0_0x186f12;return _0x317cc6=_0x317cc6||{},_0x7b5056=_0x7b5056||Object[_0x1bd5ad(0x1a9)](_0x27ae98),ValueUtil['isNotEmpty'](_0x7b5056)&&_0x7b5056['forEach'](_0x25536f=>{_0x317cc6[_0x25536f]=_0x27ae98[_0x25536f];}),_0x317cc6;}}
@@ -1,4 +1,4 @@
1
- (function(_0x313868,_0x5e0d7c){const _0x376fbe=a0_0x7d11,_0x46dbb4=_0x313868();while(!![]){try{const _0x256469=-parseInt(_0x376fbe(0xf2))/0x1*(-parseInt(_0x376fbe(0xef))/0x2)+-parseInt(_0x376fbe(0xf4))/0x3+parseInt(_0x376fbe(0xf3))/0x4*(-parseInt(_0x376fbe(0xf5))/0x5)+-parseInt(_0x376fbe(0xf7))/0x6*(parseInt(_0x376fbe(0xf8))/0x7)+parseInt(_0x376fbe(0xf1))/0x8+-parseInt(_0x376fbe(0xf6))/0x9+parseInt(_0x376fbe(0xf0))/0xa*(parseInt(_0x376fbe(0xee))/0xb);if(_0x256469===_0x5e0d7c)break;else _0x46dbb4['push'](_0x46dbb4['shift']());}catch(_0xa2597b){_0x46dbb4['push'](_0x46dbb4['shift']());}}}(a0_0x206d,0x5c0bd));import{css}from'lit';function a0_0x7d11(_0x3b579d,_0x2fac24){const _0x206dbb=a0_0x206d();return a0_0x7d11=function(_0x7d11be,_0x338174){_0x7d11be=_0x7d11be-0xee;let _0x34666c=_0x206dbb[_0x7d11be];return _0x34666c;},a0_0x7d11(_0x3b579d,_0x2fac24);}function a0_0x206d(){const _0x7e7f28=['19768441XWuZwA','2pFUEMc','10RNTHlk','1020848FOqDsi','354326hABILy','3132BiYiaY','1815735sAzDYG','775LxBDTV','4853790vdldGn','12gJTbEh','2226427pAYtSE'];a0_0x206d=function(){return _0x7e7f28;};return a0_0x206d();}export const DynamicMenuLandscapeStyles=css`
1
+ (function(_0x4f726b,_0x160cca){const _0x325b1c=a0_0x1775,_0x3ce961=_0x4f726b();while(!![]){try{const _0x222216=parseInt(_0x325b1c(0x1b8))/0x1+-parseInt(_0x325b1c(0x1ba))/0x2*(parseInt(_0x325b1c(0x1b9))/0x3)+parseInt(_0x325b1c(0x1b6))/0x4+parseInt(_0x325b1c(0x1b5))/0x5+-parseInt(_0x325b1c(0x1b4))/0x6*(-parseInt(_0x325b1c(0x1b1))/0x7)+parseInt(_0x325b1c(0x1b7))/0x8*(parseInt(_0x325b1c(0x1b3))/0x9)+-parseInt(_0x325b1c(0x1b2))/0xa*(parseInt(_0x325b1c(0x1b0))/0xb);if(_0x222216===_0x160cca)break;else _0x3ce961['push'](_0x3ce961['shift']());}catch(_0x37d99d){_0x3ce961['push'](_0x3ce961['shift']());}}}(a0_0x72ed,0xcd212));import{css}from'lit';function a0_0x1775(_0x1b18e2,_0x216e8e){const _0x72edff=a0_0x72ed();return a0_0x1775=function(_0x1775d5,_0x3661a1){_0x1775d5=_0x1775d5-0x1b0;let _0xaa9d86=_0x72edff[_0x1775d5];return _0xaa9d86;},a0_0x1775(_0x1b18e2,_0x216e8e);}function a0_0x72ed(){const _0x7f313b=['220XZPzse','6591627djqGTl','24qqkRGQ','1604975ybVBwB','3622444TwQNWT','16eoSJQa','1408137bJnjHn','15nuEOze','599202mfLlrO','1707761DmWyqf','2894829QszAdC'];a0_0x72ed=function(){return _0x7f313b;};return a0_0x72ed();}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_0x1098a0=a0_0x3caa;(function(_0x26957d,_0x4b8741){const _0x41e94f=a0_0x3caa,_0x1fca4e=_0x26957d();while(!![]){try{const _0x4b2e76=parseInt(_0x41e94f(0xb6))/0x1+-parseInt(_0x41e94f(0xa9))/0x2*(-parseInt(_0x41e94f(0xb9))/0x3)+-parseInt(_0x41e94f(0xa7))/0x4*(parseInt(_0x41e94f(0xb8))/0x5)+parseInt(_0x41e94f(0xc3))/0x6*(-parseInt(_0x41e94f(0x9e))/0x7)+parseInt(_0x41e94f(0xa5))/0x8+-parseInt(_0x41e94f(0xa0))/0x9+-parseInt(_0x41e94f(0xbb))/0xa*(-parseInt(_0x41e94f(0xbd))/0xb);if(_0x4b2e76===_0x4b8741)break;else _0x1fca4e['push'](_0x1fca4e['shift']());}catch(_0x520650){_0x1fca4e['push'](_0x1fca4e['shift']());}}}(a0_0x12a4,0x3bd0c));import'@material/mwc-icon';import{html,LitElement}from'lit';import{connect}from'pwa-helpers';function a0_0x3caa(_0x3c652a,_0x3bdbfd){const _0x12a400=a0_0x12a4();return a0_0x3caa=function(_0x3caaef,_0x2bf86c){_0x3caaef=_0x3caaef-0x9c;let _0x37953f=_0x12a400[_0x3caaef];return _0x37953f;},a0_0x3caa(_0x3c652a,_0x3bdbfd);}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_0x1098a0(0xb7)](){return[ScrollbarStyles,DynamicMenuLandscapeStyles];}static get[a0_0x1098a0(0xa4)](){return{'menus':Array,'activeTopLevel':Object,'activeMenu':Object,'path':String};}['render'](){const _0x3804c4=a0_0x1098a0,{menus:_0x3d8686=[],activeTopLevel:_0x8285c6,activeMenu:_0x39f891}=this;return html`
1
+ const a0_0x5e3bfd=a0_0x33e1;(function(_0x4d499a,_0x1ea9eb){const _0x3db1f1=a0_0x33e1,_0x48d1dd=_0x4d499a();while(!![]){try{const _0x481bc8=parseInt(_0x3db1f1(0x13b))/0x1*(-parseInt(_0x3db1f1(0x14a))/0x2)+parseInt(_0x3db1f1(0x146))/0x3+-parseInt(_0x3db1f1(0x14f))/0x4*(-parseInt(_0x3db1f1(0x127))/0x5)+-parseInt(_0x3db1f1(0x133))/0x6*(parseInt(_0x3db1f1(0x135))/0x7)+-parseInt(_0x3db1f1(0x141))/0x8+parseInt(_0x3db1f1(0x130))/0x9+-parseInt(_0x3db1f1(0x12b))/0xa*(-parseInt(_0x3db1f1(0x123))/0xb);if(_0x481bc8===_0x1ea9eb)break;else _0x48d1dd['push'](_0x48d1dd['shift']());}catch(_0x5c8ca0){_0x48d1dd['push'](_0x48d1dd['shift']());}}}(a0_0x148f,0xf0937));function a0_0x148f(){const _0x4aabf2=['17569692dFIiBr','addEventListener','styles','372DUOMjf','currentTarget','53991ztUpVZ','transitionend','submenu','dynamic-menu-landscape','transitionstart','map','105213JOCPFY','querySelector','setAttribute','path','max','mousewheel','9760344UHosNu','bind','settled','activeTopLevel','renderRoot','4708881nfGNVq','#force','render','type','24XpaHZS','min','preventDefault','firstUpdated','description','8MhptUw','target','stopPropagation','11JykVQL','group','menus','wheelDelta','410495umzryH','icon','onWheelEvent','name','2601910AykHIB','detail','active-toplevel','href','#wrap'];a0_0x148f=function(){return _0x4aabf2;};return a0_0x148f();}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_0x5e3bfd(0x132)](){return[ScrollbarStyles,DynamicMenuLandscapeStyles];}static get['properties'](){return{'menus':Array,'activeTopLevel':Object,'activeMenu':Object,'path':String};}[a0_0x5e3bfd(0x148)](){const _0xf825a6=a0_0x5e3bfd,{menus:_0x58c5d0=[],activeTopLevel:_0x508144,activeMenu:_0x44053f}=this;return html`
2
2
  <div id="wrap">
3
3
  <ul>
4
- ${_0x3d8686[_0x3804c4(0xa2)](_0x33ed76=>_0x3804c4(0xc1)==_0x33ed76[_0x3804c4(0xa8)]?html``:html`
5
- <li ?active=${_0x33ed76===_0x8285c6}>
6
- <a href=${_0x33ed76['path']||'#'}>
7
- ${_0x33ed76[_0x3804c4(0xac)]?html`<mwc-icon>${_0x33ed76[_0x3804c4(0xac)]}</mwc-icon>`:html``} ${_0x33ed76[_0x3804c4(0xc8)]}
4
+ ${_0x58c5d0[_0xf825a6(0x13a)](_0x41a897=>_0xf825a6(0x124)==_0x41a897[_0xf825a6(0x149)]?html``:html`
5
+ <li ?active=${_0x41a897===_0x508144}>
6
+ <a href=${_0x41a897[_0xf825a6(0x13e)]||'#'}>
7
+ ${_0x41a897['icon']?html`<mwc-icon>${_0x41a897[_0xf825a6(0x128)]}</mwc-icon>`:html``} ${_0x41a897[_0xf825a6(0x12a)]}
8
8
  </a>
9
9
 
10
10
  <ul submenus>
11
- ${_0x33ed76[_0x3804c4(0xba)]?.['map'](_0x537458=>html`
12
- <li ?active=${_0x537458===_0x39f891}>
13
- <a href=${_0x537458['path']||'#'}> ${_0x537458[_0x3804c4(0xc8)]} </a>
11
+ ${_0x41a897[_0xf825a6(0x125)]?.['map'](_0x1f5559=>html`
12
+ <li ?active=${_0x1f5559===_0x44053f}>
13
+ <a href=${_0x1f5559[_0xf825a6(0x13e)]||'#'}> ${_0x1f5559['name']} </a>
14
14
  </li>
15
15
  `)}
16
16
  </ul>
17
17
 
18
18
  <div description>
19
- ${_0x33ed76[_0x3804c4(0xac)]?html`<mwc-icon>${_0x33ed76[_0x3804c4(0xac)]}</mwc-icon>`:html``} ${_0x33ed76['description']||''}
19
+ ${_0x41a897[_0xf825a6(0x128)]?html`<mwc-icon>${_0x41a897[_0xf825a6(0x128)]}</mwc-icon>`:html``} ${_0x41a897[_0xf825a6(0x14e)]||''}
20
20
  </div>
21
21
  </li>
22
22
  `)}
23
23
  </ul>
24
24
  </div>
25
- `;}[a0_0x1098a0(0xae)](){const _0x89fd02=a0_0x1098a0;this[_0x89fd02(0x9d)][_0x89fd02(0xc0)](_0x89fd02(0xc6))[_0x89fd02(0xc7)](_0x89fd02(0xbe),this[_0x89fd02(0xb5)]['bind'](this),!0x1),this['renderRoot']['addEventListener']('click',_0x33d6e7=>{const _0x29c5a0=_0x89fd02;if(_0x33d6e7['target'][_0x29c5a0(0xa3)]){_0x33d6e7['stopPropagation'](),_0x33d6e7[_0x29c5a0(0xc5)]();let _0x4c5496=_0x33d6e7[_0x29c5a0(0xb1)][_0x29c5a0(0xa3)];return void this[_0x29c5a0(0xa6)](new CustomEvent(_0x29c5a0(0xbc),{'bubbles':!0x0,'detail':this[_0x29c5a0(0xaf)]===_0x4c5496?void 0x0:_0x4c5496}));}let _0x1baec7=_0x33d6e7[_0x29c5a0(0xb1)]['href'];_0x1baec7&&location['href']===_0x1baec7&&navigate(_0x1baec7+_0x29c5a0(0xb4),!0x0);}),this[_0x89fd02(0x9d)][_0x89fd02(0xc7)](_0x89fd02(0xab),_0x140780=>{const _0x121dbb=_0x89fd02;_0x140780[_0x121dbb(0xb1)][_0x121dbb(0xc4)](_0x121dbb(0xad));}),this[_0x89fd02(0x9d)][_0x89fd02(0xc7)](_0x89fd02(0x9f),_0x4ec05a=>{const _0x4c8523=_0x89fd02;_0x4ec05a[_0x4c8523(0xb1)][_0x4c8523(0xbf)](_0x4c8523(0xad),'');});}['onWheelEvent'](_0x3ab0e7){const _0x19f422=a0_0x1098a0,_0x2f3298=_0x3ab0e7[_0x19f422(0x9c)];var _0x1ab9ee=Math[_0x19f422(0xb3)](-0x1,Math[_0x19f422(0xaa)](0x1,_0x3ab0e7[_0x19f422(0xb2)]||-_0x3ab0e7[_0x19f422(0xa1)]));_0x2f3298[_0x19f422(0xb0)]-=0xa*_0x1ab9ee,_0x3ab0e7[_0x19f422(0xc5)]();}}customElements[a0_0x1098a0(0xc2)]('dynamic-menu-landscape',DynamicMenuLandscape);function a0_0x12a4(){const _0x364807=['addEventListener','name','currentTarget','renderRoot','7KWJSrv','transitionend','1360026vCFOPF','detail','map','submenu','properties','554848XeQqsX','dispatchEvent','1228xcELRI','type','376ubDyjX','min','transitionstart','icon','settled','firstUpdated','activeTopLevel','scrollLeft','target','wheelDelta','max','#force','onWheelEvent','177285fhAdGF','styles','4035ainftW','219yqZKgJ','menus','10UxtePb','active-toplevel','6235471SNpdLQ','mousewheel','setAttribute','querySelector','group','define','1100154lnTrKS','removeAttribute','preventDefault','#wrap'];a0_0x12a4=function(){return _0x364807;};return a0_0x12a4();}
25
+ `;}[a0_0x5e3bfd(0x14d)](){const _0x5a9c91=a0_0x5e3bfd;this[_0x5a9c91(0x145)][_0x5a9c91(0x13c)](_0x5a9c91(0x12f))['addEventListener'](_0x5a9c91(0x140),this[_0x5a9c91(0x129)][_0x5a9c91(0x142)](this),!0x1),this[_0x5a9c91(0x145)][_0x5a9c91(0x131)]('click',_0x507a7d=>{const _0x5fb2e9=_0x5a9c91;if(_0x507a7d[_0x5fb2e9(0x150)][_0x5fb2e9(0x137)]){_0x507a7d[_0x5fb2e9(0x122)](),_0x507a7d[_0x5fb2e9(0x14c)]();let _0x1db55d=_0x507a7d['target'][_0x5fb2e9(0x137)];return void this['dispatchEvent'](new CustomEvent(_0x5fb2e9(0x12d),{'bubbles':!0x0,'detail':this[_0x5fb2e9(0x144)]===_0x1db55d?void 0x0:_0x1db55d}));}let _0x48e98b=_0x507a7d[_0x5fb2e9(0x150)][_0x5fb2e9(0x12e)];_0x48e98b&&location[_0x5fb2e9(0x12e)]===_0x48e98b&&navigate(_0x48e98b+_0x5fb2e9(0x147),!0x0);}),this[_0x5a9c91(0x145)]['addEventListener'](_0x5a9c91(0x139),_0x434d19=>{const _0xcb523c=_0x5a9c91;_0x434d19[_0xcb523c(0x150)]['removeAttribute'](_0xcb523c(0x143));}),this[_0x5a9c91(0x145)][_0x5a9c91(0x131)](_0x5a9c91(0x136),_0x1a920b=>{const _0x49c9f0=_0x5a9c91;_0x1a920b[_0x49c9f0(0x150)][_0x49c9f0(0x13d)]('settled','');});}[a0_0x5e3bfd(0x129)](_0x10155c){const _0x6c8fe8=a0_0x5e3bfd,_0x453420=_0x10155c[_0x6c8fe8(0x134)];var _0x5833ee=Math[_0x6c8fe8(0x13f)](-0x1,Math[_0x6c8fe8(0x14b)](0x1,_0x10155c[_0x6c8fe8(0x126)]||-_0x10155c[_0x6c8fe8(0x12c)]));_0x453420['scrollLeft']-=0xa*_0x5833ee,_0x10155c[_0x6c8fe8(0x14c)]();}}function a0_0x33e1(_0x5bb3b0,_0x27c880){const _0x148ff7=a0_0x148f();return a0_0x33e1=function(_0x33e1f9,_0x5070d5){_0x33e1f9=_0x33e1f9-0x122;let _0x400b21=_0x148ff7[_0x33e1f9];return _0x400b21;},a0_0x33e1(_0x5bb3b0,_0x27c880);}customElements['define'](a0_0x5e3bfd(0x138),DynamicMenuLandscape);
@@ -1,4 +1,4 @@
1
- var a0_0x4315dd=a0_0x455b;(function(_0x5cd376,_0x207a5e){var _0x37f1dd=a0_0x455b,_0x29b6c1=_0x5cd376();while(!![]){try{var _0x23acc5=parseInt(_0x37f1dd(0x1c7))/0x1*(-parseInt(_0x37f1dd(0x1ce))/0x2)+-parseInt(_0x37f1dd(0x1d7))/0x3+-parseInt(_0x37f1dd(0x1b3))/0x4*(parseInt(_0x37f1dd(0x1d1))/0x5)+parseInt(_0x37f1dd(0x1d5))/0x6+-parseInt(_0x37f1dd(0x1bd))/0x7*(parseInt(_0x37f1dd(0x1c3))/0x8)+-parseInt(_0x37f1dd(0x1cf))/0x9*(parseInt(_0x37f1dd(0x1ba))/0xa)+-parseInt(_0x37f1dd(0x1b8))/0xb*(-parseInt(_0x37f1dd(0x1b9))/0xc);if(_0x23acc5===_0x207a5e)break;else _0x29b6c1['push'](_0x29b6c1['shift']());}catch(_0x159b06){_0x29b6c1['push'](_0x29b6c1['shift']());}}}(a0_0x58bb,0xf2f92));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 a0_0x455b(_0x443b3a,_0x234940){var _0x58bb5b=a0_0x58bb();return a0_0x455b=function(_0x455b0f,_0x39a65e){_0x455b0f=_0x455b0f-0x1b3;var _0x23d7da=_0x58bb5b[_0x455b0f];return _0x23d7da;},a0_0x455b(_0x443b3a,_0x234940);}function isActiveMenu(_0x261ebd,_0x5b6085){var _0x5bcba3=a0_0x455b;return _0x261ebd['path']?.[_0x5bcba3(0x1bf)]('?')[0x0]===_0x5b6085||_0x261ebd[_0x5bcba3(0x1c1)]&&'function'==typeof _0x261ebd[_0x5bcba3(0x1c1)]&&_0x261ebd[_0x5bcba3(0x1c1)]['call'](_0x261ebd,{'path':_0x5b6085});}export class DynamicMenuPart extends connect(store)(LitElement){static get[a0_0x4315dd(0x1bc)](){return{'page':String,'resourceId':String,'menus':Array,'orientation':String,'_activeTopLevel':Object,'_activeMenu':Object,'_path':String};}static get[a0_0x4315dd(0x1b6)](){return[ScrollbarStyles,css`
1
+ var a0_0x23ac95=a0_0x18f3;(function(_0x56d780,_0xa77f30){var _0x30891f=a0_0x18f3,_0x458c8f=_0x56d780();while(!![]){try{var _0x20dae7=-parseInt(_0x30891f(0x14e))/0x1+-parseInt(_0x30891f(0x175))/0x2*(parseInt(_0x30891f(0x159))/0x3)+parseInt(_0x30891f(0x14c))/0x4+parseInt(_0x30891f(0x16c))/0x5*(-parseInt(_0x30891f(0x173))/0x6)+-parseInt(_0x30891f(0x158))/0x7*(-parseInt(_0x30891f(0x14f))/0x8)+-parseInt(_0x30891f(0x16d))/0x9+parseInt(_0x30891f(0x15d))/0xa*(parseInt(_0x30891f(0x15a))/0xb);if(_0x20dae7===_0xa77f30)break;else _0x458c8f['push'](_0x458c8f['shift']());}catch(_0x31583b){_0x458c8f['push'](_0x458c8f['shift']());}}}(a0_0x577c,0x37c01));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(_0x32bf08,_0x52879a){var _0x2ab940=a0_0x18f3;return _0x32bf08[_0x2ab940(0x164)]?.[_0x2ab940(0x16b)]('?')[0x0]===_0x52879a||_0x32bf08['active']&&'function'==typeof _0x32bf08[_0x2ab940(0x169)]&&_0x32bf08[_0x2ab940(0x169)][_0x2ab940(0x176)](_0x32bf08,{'path':_0x52879a});}function a0_0x18f3(_0x57317e,_0x54d796){var _0x577ce4=a0_0x577c();return a0_0x18f3=function(_0x18f334,_0x44fd6c){_0x18f334=_0x18f334-0x14c;var _0x1a00dd=_0x577ce4[_0x18f334];return _0x1a00dd;},a0_0x18f3(_0x57317e,_0x54d796);}export class DynamicMenuPart extends connect(store)(LitElement){static get[a0_0x23ac95(0x170)](){return{'page':String,'resourceId':String,'menus':Array,'orientation':String,'_activeTopLevel':Object,'_activeMenu':Object,'_path':String};}static get[a0_0x23ac95(0x167)](){return[ScrollbarStyles,css`
2
2
  :host {
3
3
  display: flex;
4
4
  overflow-y: auto;
@@ -27,18 +27,18 @@ var a0_0x4315dd=a0_0x455b;(function(_0x5cd376,_0x207a5e){var _0x37f1dd=a0_0x455b
27
27
  dynamic-menu-landscape {
28
28
  flex: 1;
29
29
  }
30
- `];}[a0_0x4315dd(0x1c6)](){var _0x210124=a0_0x4315dd;return html`
30
+ `];}[a0_0x23ac95(0x172)](){var _0x21a436=a0_0x23ac95;return html`
31
31
  <slot name="head"></slot>
32
- ${_0x210124(0x1da)!==this['orientation']?html`<dynamic-menu-portrait
32
+ ${'landscape'!==this['orientation']?html`<dynamic-menu-portrait
33
33
  .menus=${this['menus']}
34
- .activeTopLevel=${this[_0x210124(0x1c9)]}
35
- .activeMenu=${this['_activeMenu']}
36
- .path=${this['_path']}
34
+ .activeTopLevel=${this[_0x21a436(0x16f)]}
35
+ .activeMenu=${this[_0x21a436(0x15e)]}
36
+ .path=${this[_0x21a436(0x166)]}
37
37
  ></dynamic-menu-portrait>`:html`<dynamic-menu-landscape
38
- .menus=${this[_0x210124(0x1b5)]}
39
- .activeTopLevel=${this[_0x210124(0x1c9)]}
40
- .activeMenu=${this[_0x210124(0x1db)]}
41
- .path=${this[_0x210124(0x1be)]}
38
+ .menus=${this[_0x21a436(0x157)]}
39
+ .activeTopLevel=${this[_0x21a436(0x16f)]}
40
+ .activeMenu=${this['_activeMenu']}
41
+ .path=${this[_0x21a436(0x166)]}
42
42
  ></dynamic-menu-landscape>`}
43
43
  <slot name="tail"></slot>
44
- `;}[a0_0x4315dd(0x1cb)](){var _0x6bf2ed=a0_0x4315dd;this['renderRoot'][_0x6bf2ed(0x1dc)](_0x6bf2ed(0x1b4),_0x6fef04=>{var _0x110f63=_0x6bf2ed;_0x6fef04[_0x110f63(0x1c2)](),_0x6fef04[_0x110f63(0x1d0)](),this['_activeTopLevel']=_0x6fef04[_0x110f63(0x1cc)];});}['updated'](_0x518e19){var _0x59c01f=a0_0x4315dd;(_0x518e19[_0x59c01f(0x1d8)]('menus')||_0x518e19['has'](_0x59c01f(0x1c0))||_0x518e19[_0x59c01f(0x1d8)]('resourceId'))&&this[_0x59c01f(0x1cd)](),_0x518e19['has'](_0x59c01f(0x1c8))&&(_0x59c01f(0x1d4)==this[_0x59c01f(0x1c8)]?this[_0x59c01f(0x1d6)](_0x59c01f(0x1da)):this[_0x59c01f(0x1b7)](_0x59c01f(0x1da),!0x0)),_0x518e19['has'](_0x59c01f(0x1c4))&&this[_0x59c01f(0x1d9)](this[_0x59c01f(0x1c4)]);}['stateChanged'](_0x227b9b){var _0x1df22b=a0_0x4315dd;this[_0x1df22b(0x1c0)]=_0x227b9b[_0x1df22b(0x1c5)][_0x1df22b(0x1c0)],this[_0x1df22b(0x1ca)]=_0x227b9b[_0x1df22b(0x1c5)]['resourceId'],this[_0x1df22b(0x1b5)]=_0x227b9b[_0x1df22b(0x1d3)]['menus']||[],this['slotTemplate']=_0x227b9b[_0x1df22b(0x1d3)]['slotTemplate'];}['_findActivePage'](){var _0x556fe3=a0_0x4315dd,_0x32e365,_0x52b57e=this[_0x556fe3(0x1ca)]?this[_0x556fe3(0x1c0)]+'/'+this[_0x556fe3(0x1ca)]:this['page'],_0x4a4a2c=this[_0x556fe3(0x1b5)]||[];this['_activeTopLevel']=_0x4a4a2c[_0x556fe3(0x1d2)](_0x49f536=>isActiveMenu(_0x49f536,_0x52b57e)?(_0x32e365=_0x49f536,!0x0):_0x49f536['menus']?!!(_0x32e365=_0x49f536[_0x556fe3(0x1b5)]['find'](_0xa4bd02=>isActiveMenu(_0xa4bd02,_0x52b57e))):void 0x0),this[_0x556fe3(0x1be)]=_0x52b57e,this['_activeMenu']=_0x32e365||this[_0x556fe3(0x1c9)];}}function a0_0x58bb(){var _0x5f52d6=['35qlgbFE','_path','split','page','active','stopPropagation','669528XtlozT','slotTemplate','route','render','142bXZrgw','orientation','_activeTopLevel','resourceId','firstUpdated','detail','_findActivePage','22772utAkOy','575721SzMlYl','preventDefault','4397780fKJtLF','find','metaUI','portrait','3097662quAwwT','removeAttribute','1183554rckrCr','has','replaceChild','landscape','_activeMenu','addEventListener','8zhQNCM','active-toplevel','menus','styles','setAttribute','9108fMzVxx','69504rOlcKk','20Xgebzf','define','properties'];a0_0x58bb=function(){return _0x5f52d6;};return a0_0x58bb();}customElements[a0_0x4315dd(0x1bb)]('dynamic-menu-part',DynamicMenuPart);
44
+ `;}[a0_0x23ac95(0x171)](){var _0x38057b=a0_0x23ac95;this[_0x38057b(0x153)][_0x38057b(0x179)](_0x38057b(0x163),_0x36c178=>{var _0x65891d=_0x38057b;_0x36c178[_0x65891d(0x168)](),_0x36c178[_0x65891d(0x15c)](),this['_activeTopLevel']=_0x36c178[_0x65891d(0x177)];});}['updated'](_0x270a70){var _0x4262a4=a0_0x23ac95;(_0x270a70['has']('menus')||_0x270a70['has'](_0x4262a4(0x165))||_0x270a70[_0x4262a4(0x150)]('resourceId'))&&this['_findActivePage'](),_0x270a70['has'](_0x4262a4(0x178))&&(_0x4262a4(0x174)==this[_0x4262a4(0x178)]?this[_0x4262a4(0x14d)](_0x4262a4(0x16a)):this[_0x4262a4(0x154)]('landscape',!0x0)),_0x270a70[_0x4262a4(0x150)]('slotTemplate')&&this[_0x4262a4(0x156)](this[_0x4262a4(0x162)]);}[a0_0x23ac95(0x161)](_0x5ba8ff){var _0x21ae80=a0_0x23ac95;this['page']=_0x5ba8ff[_0x21ae80(0x160)][_0x21ae80(0x165)],this['resourceId']=_0x5ba8ff[_0x21ae80(0x160)][_0x21ae80(0x151)],this[_0x21ae80(0x157)]=_0x5ba8ff[_0x21ae80(0x155)]['menus']||[],this['slotTemplate']=_0x5ba8ff[_0x21ae80(0x155)][_0x21ae80(0x162)];}[a0_0x23ac95(0x16e)](){var _0x3ebce3=a0_0x23ac95,_0x52afc2,_0x4e3f0a=this['resourceId']?this[_0x3ebce3(0x165)]+'/'+this[_0x3ebce3(0x151)]:this[_0x3ebce3(0x165)],_0x1c2996=this[_0x3ebce3(0x157)]||[];this['_activeTopLevel']=_0x1c2996[_0x3ebce3(0x15f)](_0x47e7e0=>isActiveMenu(_0x47e7e0,_0x4e3f0a)?(_0x52afc2=_0x47e7e0,!0x0):_0x47e7e0[_0x3ebce3(0x157)]?!!(_0x52afc2=_0x47e7e0['menus'][_0x3ebce3(0x15f)](_0xe83823=>isActiveMenu(_0xe83823,_0x4e3f0a))):void 0x0),this[_0x3ebce3(0x166)]=_0x4e3f0a,this['_activeMenu']=_0x52afc2||this['_activeTopLevel'];}}function a0_0x577c(){var _0x336374=['slotTemplate','active-toplevel','path','page','_path','styles','stopPropagation','active','landscape','split','35mXfhRz','3584331ngPhpF','_findActivePage','_activeTopLevel','properties','firstUpdated','render','137358geXXHI','portrait','3856UXlZNY','call','detail','orientation','addEventListener','723880mlmczK','removeAttribute','28924ENrmTN','1070424IStMkm','has','resourceId','dynamic-menu-part','renderRoot','setAttribute','metaUI','replaceChild','menus','7WOBfcA','678jbkgal','11lggEpM','define','preventDefault','9367420NkdWbA','_activeMenu','find','route','stateChanged'];a0_0x577c=function(){return _0x336374;};return a0_0x577c();}customElements[a0_0x23ac95(0x15b)](a0_0x23ac95(0x152),DynamicMenuPart);
@@ -1,4 +1,4 @@
1
- (function(_0x5871d7,_0x1b8ee2){const _0x124af9=a0_0x1335,_0x211bcf=_0x5871d7();while(!![]){try{const _0x3729fc=parseInt(_0x124af9(0x12f))/0x1*(-parseInt(_0x124af9(0x129))/0x2)+parseInt(_0x124af9(0x131))/0x3*(-parseInt(_0x124af9(0x12e))/0x4)+parseInt(_0x124af9(0x12b))/0x5*(-parseInt(_0x124af9(0x12a))/0x6)+-parseInt(_0x124af9(0x12c))/0x7+parseInt(_0x124af9(0x12d))/0x8+parseInt(_0x124af9(0x130))/0x9*(-parseInt(_0x124af9(0x128))/0xa)+-parseInt(_0x124af9(0x132))/0xb*(-parseInt(_0x124af9(0x133))/0xc);if(_0x3729fc===_0x1b8ee2)break;else _0x211bcf['push'](_0x211bcf['shift']());}catch(_0x417f7d){_0x211bcf['push'](_0x211bcf['shift']());}}}(a0_0x31d1,0x504dc));function a0_0x31d1(){const _0xd4c4b8=['28554uuseWi','130SrHWmk','2979669iatdmv','2721072MyKAkc','348YkWZSw','1eKEjIZ','2904813DrWSAw','20223cHbQrE','24599674HVAoox','12YACTIE','20eTfUJE','932324ElUChw'];a0_0x31d1=function(){return _0xd4c4b8;};return a0_0x31d1();}function a0_0x1335(_0x5a9b94,_0x1ffdce){const _0x31d1f8=a0_0x31d1();return a0_0x1335=function(_0x1335c2,_0x5804c6){_0x1335c2=_0x1335c2-0x128;let _0x465663=_0x31d1f8[_0x1335c2];return _0x465663;},a0_0x1335(_0x5a9b94,_0x1ffdce);}import{css}from'lit';export const DynamicMenuPortraitStyles=css`
1
+ function a0_0x171e(_0x18fa92,_0x23c4f4){const _0x589ed6=a0_0x589e();return a0_0x171e=function(_0x171e5d,_0x192f32){_0x171e5d=_0x171e5d-0x1c4;let _0x59904e=_0x589ed6[_0x171e5d];return _0x59904e;},a0_0x171e(_0x18fa92,_0x23c4f4);}(function(_0x16214e,_0x47b8c9){const _0x39062c=a0_0x171e,_0x1beb34=_0x16214e();while(!![]){try{const _0x24ad3b=-parseInt(_0x39062c(0x1c4))/0x1*(parseInt(_0x39062c(0x1c9))/0x2)+-parseInt(_0x39062c(0x1c5))/0x3*(-parseInt(_0x39062c(0x1ca))/0x4)+parseInt(_0x39062c(0x1cd))/0x5+-parseInt(_0x39062c(0x1c6))/0x6+-parseInt(_0x39062c(0x1cc))/0x7+parseInt(_0x39062c(0x1cb))/0x8*(parseInt(_0x39062c(0x1c7))/0x9)+-parseInt(_0x39062c(0x1c8))/0xa;if(_0x24ad3b===_0x47b8c9)break;else _0x1beb34['push'](_0x1beb34['shift']());}catch(_0x348088){_0x1beb34['push'](_0x1beb34['shift']());}}}(a0_0x589e,0x1d0c6));function a0_0x589e(){const _0x583577=['1864KVvrbj','292187BvJLtO','1143770vMBltS','65501wMDWTS','39267waeuhE','207666YxgSlp','333GrXHsc','1990530TMUwjB','2MVwqpg','68LCNPUc'];a0_0x589e=function(){return _0x583577;};return a0_0x589e();}import{css}from'lit';export const DynamicMenuPortraitStyles=css`
2
2
  :host {
3
3
  display: flex;
4
4
  overflow-y: auto;
@@ -1,14 +1,14 @@
1
- const a0_0x3da48f=a0_0x1f12;(function(_0x403dd4,_0x4c0c79){const _0x273db1=a0_0x1f12,_0x2639c4=_0x403dd4();while(!![]){try{const _0x264736=-parseInt(_0x273db1(0x212))/0x1*(-parseInt(_0x273db1(0x205))/0x2)+parseInt(_0x273db1(0x1ef))/0x3+-parseInt(_0x273db1(0x1f8))/0x4*(-parseInt(_0x273db1(0x1fd))/0x5)+-parseInt(_0x273db1(0x200))/0x6+parseInt(_0x273db1(0x1ff))/0x7*(-parseInt(_0x273db1(0x1fa))/0x8)+parseInt(_0x273db1(0x1f6))/0x9+-parseInt(_0x273db1(0x1fc))/0xa*(parseInt(_0x273db1(0x202))/0xb);if(_0x264736===_0x4c0c79)break;else _0x2639c4['push'](_0x2639c4['shift']());}catch(_0x10fb88){_0x2639c4['push'](_0x2639c4['shift']());}}}(a0_0x5159,0xe65b7));import'@material/mwc-icon';import{html,LitElement}from'lit';function a0_0x1f12(_0x18c07a,_0x439f13){const _0x515959=a0_0x5159();return a0_0x1f12=function(_0x1f12b0,_0x379d79){_0x1f12b0=_0x1f12b0-0x1ef;let _0x5c86aa=_0x515959[_0x1f12b0];return _0x5c86aa;},a0_0x1f12(_0x18c07a,_0x439f13);}import{navigate}from'@operato/shell';import{ScrollbarStyles}from'@operato/styles';import{DynamicMenuPortraitStyles}from'./dynamic-menu-portrait-styles';export class DynamicMenuPortrait extends LitElement{static get[a0_0x3da48f(0x210)](){return[ScrollbarStyles,DynamicMenuPortraitStyles];}static get[a0_0x3da48f(0x1fb)](){return{'menus':Array,'activeTopLevel':Object,'activeMenu':Object,'path':String};}[a0_0x3da48f(0x20e)](_0x1d0007,_0x51cf48,_0x7dd2f4){const _0x1f4ab0=a0_0x3da48f;return html`
1
+ const a0_0x3047c8=a0_0x3afa;function a0_0x4f84(){const _0xf20526=['14748TnTsrX','length','renderMenus','transitionend','click','addEventListener','function','define','active-toplevel','href','map','transitionstart','stopPropagation','3408AVMeTM','activeTopLevel','381447Suxuex','group','path','288927RXyHgo','#force','setAttribute','removeAttribute','settled','render','call','5173fDDlNW','target','firstUpdated','11525110hBpCUC','11SQiaFS','1837125HmWsFx','renderRoot','closest','dynamic-menu-portrait','menu','574614LCYSnN','preventDefault','123XLtaoz','72Ukdjei'];a0_0x4f84=function(){return _0xf20526;};return a0_0x4f84();}(function(_0x4948f0,_0x179b01){const _0x482c98=a0_0x3afa,_0x329ced=_0x4948f0();while(!![]){try{const _0x1a3913=-parseInt(_0x482c98(0x1d0))/0x1+-parseInt(_0x482c98(0x1bd))/0x2+-parseInt(_0x482c98(0x1bf))/0x3*(-parseInt(_0x482c98(0x1c1))/0x4)+parseInt(_0x482c98(0x1b8))/0x5+-parseInt(_0x482c98(0x1ce))/0x6*(parseInt(_0x482c98(0x1da))/0x7)+parseInt(_0x482c98(0x1c0))/0x8*(-parseInt(_0x482c98(0x1d3))/0x9)+-parseInt(_0x482c98(0x1dd))/0xa*(-parseInt(_0x482c98(0x1de))/0xb);if(_0x1a3913===_0x179b01)break;else _0x329ced['push'](_0x329ced['shift']());}catch(_0x3f5665){_0x329ced['push'](_0x329ced['shift']());}}}(a0_0x4f84,0x47b26));import'@material/mwc-icon';function a0_0x3afa(_0xdc39c8,_0x13c4c5){const _0x4f8402=a0_0x4f84();return a0_0x3afa=function(_0x3afacf,_0x9c9e4d){_0x3afacf=_0x3afacf-0x1b8;let _0x8fdbd9=_0x4f8402[_0x3afacf];return _0x8fdbd9;},a0_0x3afa(_0xdc39c8,_0x13c4c5);}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_0x3047c8(0x1c3)](_0x5e848a,_0x228ec9,_0x26ed0d){const _0x13b7b8=a0_0x3047c8;return html`
2
2
  <ul>
3
- ${_0x1d0007[_0x1f4ab0(0x214)](_0x3174a4=>{const _0x5f12ac=_0x1f4ab0;var {type:_0x5e92bc,active:_0x342222,path:_0x4493fc,name:_0x3a5026,badge:_0x17006f,icon:_0x37095e,menus:_0x1ddc4c}=_0x3174a4;return _0x342222=!(!_0x342222||'function'!=typeof _0x342222)&&_0x342222[_0x5f12ac(0x209)](_0x3174a4,{'path':this[_0x5f12ac(0x1f0)]}),_0x17006f=_0x5f12ac(0x201)==typeof _0x17006f?_0x17006f[_0x5f12ac(0x209)](_0x3174a4):_0x17006f??!0x1,_0x5f12ac(0x203)==_0x5e92bc?html`<li group-label>${_0x3a5026}</li>`:html`
4
- <li ?active=${_0x51cf48?_0x3174a4===_0x51cf48:_0x342222} .menu=${_0x3174a4} menu>
5
- <a href=${_0x4493fc||'#'}>
6
- ${_0x1ddc4c?.['length']>0x0?html` <mwc-icon submenu-button></mwc-icon> `:html``}
7
- <mwc-icon>${_0x37095e}</mwc-icon>
8
- ${_0x3a5026} ${!0x1!==_0x17006f?html`<div badge>${_0x17006f}</div>`:html``}
3
+ ${_0x5e848a[_0x13b7b8(0x1cb)](_0x241451=>{const _0x42df8b=_0x13b7b8;var {type:_0x2f2de7,active:_0x4bca95,path:_0x1353c0,name:_0x44d917,badge:_0x433b98,icon:_0x2645b2,menus:_0x286120}=_0x241451;return _0x4bca95=!(!_0x4bca95||_0x42df8b(0x1c7)!=typeof _0x4bca95)&&_0x4bca95['call'](_0x241451,{'path':this[_0x42df8b(0x1d2)]}),_0x433b98=_0x42df8b(0x1c7)==typeof _0x433b98?_0x433b98[_0x42df8b(0x1d9)](_0x241451):_0x433b98??!0x1,_0x42df8b(0x1d1)==_0x2f2de7?html`<li group-label>${_0x44d917}</li>`:html`
4
+ <li ?active=${_0x228ec9?_0x241451===_0x228ec9:_0x4bca95} .menu=${_0x241451} menu>
5
+ <a href=${_0x1353c0||'#'}>
6
+ ${_0x286120?.[_0x42df8b(0x1c2)]>0x0?html` <mwc-icon submenu-button></mwc-icon> `:html``}
7
+ <mwc-icon>${_0x2645b2}</mwc-icon>
8
+ ${_0x44d917} ${!0x1!==_0x433b98?html`<div badge>${_0x433b98}</div>`:html``}
9
9
  </a>
10
- ${_0x1ddc4c&&this['renderMenus'](_0x1ddc4c,_0x7dd2f4)}
10
+ ${_0x286120&&this[_0x42df8b(0x1c3)](_0x286120,_0x26ed0d)}
11
11
  </li>
12
12
  `;})}
13
13
  </ul>
14
- `;}[a0_0x3da48f(0x211)](){const _0x549103=a0_0x3da48f,{menus:_0x2ae7d0,activeTopLevel:_0x2f6eea,activeMenu:_0x5a6194}=this;return this[_0x549103(0x20e)](_0x2ae7d0,_0x2f6eea,_0x5a6194);}['firstUpdated'](){const _0x14c34e=a0_0x3da48f;this[_0x14c34e(0x1f1)]['addEventListener'](_0x14c34e(0x1f9),_0x476e55=>{const _0x203874=_0x14c34e,_0x19674f=_0x476e55[_0x203874(0x20b)][_0x203874(0x207)](_0x203874(0x1fe));if(_0x19674f?.['menu']){let _0x53bb63=_0x19674f[_0x203874(0x20c)];_0x53bb63[_0x203874(0x1f0)]||(_0x476e55[_0x203874(0x204)](),_0x476e55[_0x203874(0x20a)]()),this[_0x203874(0x1f5)](new CustomEvent('active-toplevel',{'bubbles':!0x0,'detail':this[_0x203874(0x1f7)]===_0x53bb63?void 0x0:_0x53bb63}));}let _0x5e0d25=_0x476e55[_0x203874(0x20b)][_0x203874(0x1f3)];_0x5e0d25&&location[_0x203874(0x1f3)]===_0x5e0d25&&navigate(_0x5e0d25+'#force',!0x0);}),this['renderRoot'][_0x14c34e(0x20f)](_0x14c34e(0x206),_0x2c2a9e=>{const _0x17af50=_0x14c34e;_0x2c2a9e[_0x17af50(0x20b)][_0x17af50(0x213)](_0x17af50(0x1f4));}),this['renderRoot'][_0x14c34e(0x20f)](_0x14c34e(0x1f2),_0x43427e=>{const _0x21feb0=_0x14c34e;_0x43427e[_0x21feb0(0x20b)][_0x21feb0(0x208)](_0x21feb0(0x1f4),'');});}}function a0_0x5159(){const _0x22d9ee=['render','73hgRIAA','removeAttribute','map','4107129zSLlLK','path','renderRoot','transitionend','href','settled','dispatchEvent','7125849pscdSn','activeTopLevel','28jqlygE','click','16cPdFuV','properties','266410FwspJe','880475iaafnv','[menu]','6551125beVXkw','1502742wINoBh','function','341aJnKwi','group','stopPropagation','13648TMGjMD','transitionstart','closest','setAttribute','call','preventDefault','target','menu','define','renderMenus','addEventListener','styles'];a0_0x5159=function(){return _0x22d9ee;};return a0_0x5159();}customElements[a0_0x3da48f(0x20d)]('dynamic-menu-portrait',DynamicMenuPortrait);
14
+ `;}[a0_0x3047c8(0x1d8)](){const _0x97b99b=a0_0x3047c8,{menus:_0x104e1a,activeTopLevel:_0x28341f,activeMenu:_0x2348d1}=this;return this[_0x97b99b(0x1c3)](_0x104e1a,_0x28341f,_0x2348d1);}[a0_0x3047c8(0x1dc)](){const _0x1ab979=a0_0x3047c8;this[_0x1ab979(0x1b9)][_0x1ab979(0x1c6)](_0x1ab979(0x1c5),_0x3225a9=>{const _0x2d57c9=_0x1ab979,_0x213388=_0x3225a9['target'][_0x2d57c9(0x1ba)]('[menu]');if(_0x213388?.[_0x2d57c9(0x1bc)]){let _0x2371ee=_0x213388['menu'];_0x2371ee[_0x2d57c9(0x1d2)]||(_0x3225a9[_0x2d57c9(0x1cd)](),_0x3225a9[_0x2d57c9(0x1be)]()),this['dispatchEvent'](new CustomEvent(_0x2d57c9(0x1c9),{'bubbles':!0x0,'detail':this[_0x2d57c9(0x1cf)]===_0x2371ee?void 0x0:_0x2371ee}));}let _0x2bfe2d=_0x3225a9[_0x2d57c9(0x1db)][_0x2d57c9(0x1ca)];_0x2bfe2d&&location['href']===_0x2bfe2d&&navigate(_0x2bfe2d+_0x2d57c9(0x1d4),!0x0);}),this[_0x1ab979(0x1b9)][_0x1ab979(0x1c6)](_0x1ab979(0x1cc),_0x39859b=>{const _0x47f76b=_0x1ab979;_0x39859b['target'][_0x47f76b(0x1d6)](_0x47f76b(0x1d7));}),this[_0x1ab979(0x1b9)][_0x1ab979(0x1c6)](_0x1ab979(0x1c4),_0x2eff6a=>{const _0x2c2d35=_0x1ab979;_0x2eff6a['target'][_0x2c2d35(0x1d5)](_0x2c2d35(0x1d7),'');});}}customElements[a0_0x3047c8(0x1c8)](a0_0x3047c8(0x1bb),DynamicMenuPortrait);