@things-factory/meta-ui 6.1.24 → 6.1.26

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 (88) hide show
  1. package/client/actions/main.js +4 -4
  2. package/client/bootstrap.js +3 -1
  3. package/client/component/filter/filter-form-meta-code-select.js +10 -10
  4. package/client/component/filter/filter-form-meta-object-select.js +10 -10
  5. package/client/component/filter/filter-grist-meta-code-select.js +10 -10
  6. package/client/component/filter/filter-grist-meta-object-select.js +9 -9
  7. package/client/component/grist/editor/grist-editor-code-input.js +6 -6
  8. package/client/component/grist/editor/grist-editor-meta-code-selector.js +7 -7
  9. package/client/component/grist/editor/grist-editor-meta-object-selector.js +7 -7
  10. package/client/component/grist/renderer/grist-renderer-code-input.js +1 -1
  11. package/client/component/grist/renderer/grist-renderer-meta-code-selector.js +1 -1
  12. package/client/component/grist/renderer/grist-renderer-meta-object-selector.js +1 -1
  13. package/client/component/popup/code-input-editor-popup.js +10 -10
  14. package/client/component/popup/meta-object-selector-popup.js +11 -11
  15. package/client/mixin/meta-base-mixin.js +1 -1
  16. package/client/mixin/meta-basic-grist-mixin.js +4 -4
  17. package/client/mixin/meta-button-mixin.js +1 -1
  18. package/client/mixin/meta-form-mixin.js +1 -1
  19. package/client/mixin/meta-grist-tab-mixin.js +1 -1
  20. package/client/mixin/meta-main-tab-mixin.js +1 -1
  21. package/client/mixin/meta-master-detail-mixin.js +1 -1
  22. package/client/mixin/meta-service-mixin.js +1 -1
  23. package/client/mixin/meta-tab-detail-mixin.js +1 -1
  24. package/client/mixin/meta-tab-mixin.js +1 -1
  25. package/client/pages/activity/meta-activity-list-page.js +6 -6
  26. package/client/pages/activity/meta-activity-viewer-element.js +3 -3
  27. package/client/pages/activity/meta-activity-writer-element.js +3 -3
  28. package/client/pages/activity/meta-activiy-mixin.js +3 -3
  29. package/client/pages/entity/config-entity.js +29 -29
  30. package/client/pages/entity/main-menu-selector.js +8 -8
  31. package/client/pages/history/history-copy-list-popup.js +5 -5
  32. package/client/pages/history/history-json-list-popup.js +5 -5
  33. package/client/pages/loading-page.js +5 -5
  34. package/client/pages/menu/dynamic-menu-template.js +7 -7
  35. package/client/pages/menu/dynamic-menu.js +15 -15
  36. package/client/pages/meta-form-element.js +1 -1
  37. package/client/pages/meta-grist-element.js +1 -1
  38. package/client/pages/meta-grist-page.js +1 -1
  39. package/client/pages/meta-grist-tab-element.js +1 -1
  40. package/client/pages/meta-grist-tab-page.js +1 -1
  41. package/client/pages/meta-main-tab-element.js +1 -1
  42. package/client/pages/meta-main-tab-page.js +1 -1
  43. package/client/pages/meta-master-detail-element.js +1 -1
  44. package/client/pages/meta-master-detail-page.js +1 -1
  45. package/client/pages/meta-tab-detail-element.js +1 -1
  46. package/client/pages/meta-tab-detail-page.js +1 -1
  47. package/client/pages/meta-tab-element.js +1 -1
  48. package/client/pages/personalize/personal-column-selector.js +11 -11
  49. package/client/pages/terms/config-terminology.js +5 -5
  50. package/client/pages/work-code/work-code-detail-popup.js +1 -1
  51. package/client/pages/work-code/work-code-page.js +1 -1
  52. package/client/reducers/main.js +1 -1
  53. package/client/utils/meta-api.js +1 -1
  54. package/client/utils/meta-crypto.js +1 -1
  55. package/client/utils/meta-ui-util.js +103 -103
  56. package/client/utils/service-util.js +13 -13
  57. package/client/utils/terms-util.js +2 -2
  58. package/client/utils/ui-util.js +1 -1
  59. package/client/utils/value-util.js +1 -1
  60. package/client/viewparts/dynamic-menu-landscape-styles.js +2 -2
  61. package/client/viewparts/dynamic-menu-landscape.js +10 -10
  62. package/client/viewparts/dynamic-menu-part.js +11 -11
  63. package/client/viewparts/dynamic-menu-portrait-styles.js +1 -1
  64. package/client/viewparts/dynamic-menu-portrait.js +9 -9
  65. package/client/viewparts/dynamic-top-menu-bar.js +7 -7
  66. package/package.json +2 -2
  67. package/server/activity/CommonActivity.js +2 -2
  68. package/server/constants/error-code.js +1 -1
  69. package/server/errors/license-error.js +1 -1
  70. package/server/routes.js +1 -1
  71. package/server/service/entity-event-subscriber/entity-event-subscriber.js +1 -1
  72. package/server/service/grid-personalize/grid-personalize-mutation.js +1 -1
  73. package/server/service/grid-personalize/grid-personalize-query.js +1 -1
  74. package/server/service/grid-personalize/grid-personalize-type.js +1 -1
  75. package/server/service/grid-personalize/grid-personalize.js +1 -1
  76. package/server/service/meta-activity/meta-activity-mutation.js +1 -1
  77. package/server/service/meta-activity/meta-activity-query.js +1 -1
  78. package/server/service/meta-activity/meta-activity-type.js +1 -1
  79. package/server/service/meta-secret/meta-resolver.js +1 -1
  80. package/server/service/set-translations/set-translation-resolver.js +1 -1
  81. package/server/service/work-code/work-code-mutation.js +1 -1
  82. package/server/service/work-code/work-code-query.js +1 -1
  83. package/server/service/work-code/work-code-type.js +1 -1
  84. package/server/service/work-code/work-code.js +1 -1
  85. package/server/service/work-code-detail/work-code-detail-mutation.js +1 -1
  86. package/server/service/work-code-detail/work-code-detail-query.js +1 -1
  87. package/server/service/work-code-detail/work-code-detail-type.js +1 -1
  88. package/server/service/work-code-detail/work-code-detail.js +1 -1
@@ -1,4 +1,4 @@
1
- const a0_0x30069e=a0_0x48d4;(function(_0x1107ab,_0x268a19){const _0xbcc92=a0_0x48d4,_0x1fabad=_0x1107ab();while(!![]){try{const _0x3d91d2=parseInt(_0xbcc92(0x160))/0x1*(parseInt(_0xbcc92(0x130))/0x2)+parseInt(_0xbcc92(0x10a))/0x3+parseInt(_0xbcc92(0x129))/0x4*(parseInt(_0xbcc92(0x155))/0x5)+parseInt(_0xbcc92(0x107))/0x6+-parseInt(_0xbcc92(0x138))/0x7*(-parseInt(_0xbcc92(0x167))/0x8)+-parseInt(_0xbcc92(0xef))/0x9*(parseInt(_0xbcc92(0x12a))/0xa)+-parseInt(_0xbcc92(0x125))/0xb*(parseInt(_0xbcc92(0x166))/0xc);if(_0x3d91d2===_0x268a19)break;else _0x1fabad['push'](_0x1fabad['shift']());}catch(_0x2d5c40){_0x1fabad['push'](_0x1fabad['shift']());}}}(a0_0x2585,0x669ca));function a0_0x2585(){const _0x1d70d2=['menus','rank','name','numberOfDrafts','query','text.nothing_changed','id,template','question','confirm','unshift','__seq__','text.are_you_sure','split','type','HOME','extensions','iconPath','category','numberOfToDos','arrangeMenuRoutes','workCodeByName','data','sort','object','items','88ZFviMd','noteq','record','success\x20to\x20delete','16288WPFTWq','1430qsaqyi','showAlertPopup','dispatch','patchesForUpdateMultiple','myDynamicMenus','showGraphqlException','11750tnFXAU','push','showToast','__dirty__','getCodeByEntity','gridPersonalizeTemplates','filter','networkError','7ZaijHt','findIndex','button.','success\x20to\x20save','active','message','__dirtyfields__','display','description','text.NOTHING_CHANGED','tText','code','updateMultipleData','error','text.nothing_selected','updateMultiple','codeItems','todo-list','info','gutter','children','__origin__','getSelectedIdList','getWorkCodeByName','details','routing','_config','HIDDEN-PAGE','total','420gMjwWI','isNotEmpty','draft-list','key','updatedAt','hiddenFlag','button.delete','map','records','checkClientError','deleteListByGristSelected','71XpXkGJ','getCodeSelectorData','GROUP','xlsx','group','createdAt','3175152LpbBDP','3214168BVVvKQ','imex','showGraphqlErrorResponse','SCREEN','includes','parent','tMenu','splice','columns','path','8901SzhDbN','find','runScenario','reduce','resourceUrl','success\x20to\x20process','forEach','__selected__','fetch','searchMyDynamicMenus','findOne','result','isEmpty','badge','errors','\x0a\x20\x20\x20\x20\x20\x20','undefined','dirtyRecords','hidden','approval-pending-list','text.there_is_nothing_to_delete','deleteListByIds','menuType','MENU','4157124TIWVJt','exportableData','test','2474085jnoFxl','length'];a0_0x2585=function(){return _0x1d70d2;};return a0_0x2585();}import{store,gqlContext}from'@things-factory/shell';import{getCodeByName}from'@things-factory/code-base';function a0_0x48d4(_0x41e104,_0x162533){const _0x258514=a0_0x2585();return a0_0x48d4=function(_0x48d48a,_0x47cc85){_0x48d48a=_0x48d48a-0xea;let _0x258d62=_0x258514[_0x48d48a];return _0x258d62;},a0_0x48d4(_0x41e104,_0x162533);}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_0x244411 from'graphql-tag';import{ValueUtil}from'./value-util';import{asyncReplace}from'lit/directives/async-replace.js';import a0_0x4febfb from'i18next';import{generateActivitySummary,startSubscribeActivitySummary}from'@things-factory/worklist';export class ServiceUtil{static async[a0_0x30069e(0x148)](_0x5177a3){const _0x3a1b67=a0_0x30069e;if(Array['isArray'](_0x5177a3))return _0x5177a3[_0x3a1b67(0x15c)](_0x51892a=>'object'==typeof _0x51892a?{'name':_0x51892a['value'],'description':_0x51892a[_0x3a1b67(0x13f)]}:{'name':_0x51892a,'description':_0x51892a});let _0x297adf=await ServiceUtil[_0x3a1b67(0x14f)](_0x5177a3);return _0x297adf&&_0x297adf[_0x3a1b67(0x10b)]>0x0?_0x297adf:await getCodeByName(_0x5177a3);}static async['getWorkCodeByName'](_0x1cd4a3){const _0x3491e2=a0_0x30069e,_0x1d297f=await client['query']({'query':a0_0x244411`
1
+ const a0_0x5a4c11=a0_0x1647;(function(_0xc92de2,_0x3b14cb){const _0x147947=a0_0x1647,_0x4f43b9=_0xc92de2();while(!![]){try{const _0x3800e3=parseInt(_0x147947(0x126))/0x1+-parseInt(_0x147947(0x170))/0x2+-parseInt(_0x147947(0x143))/0x3*(-parseInt(_0x147947(0x182))/0x4)+-parseInt(_0x147947(0x141))/0x5+-parseInt(_0x147947(0x18d))/0x6*(-parseInt(_0x147947(0x195))/0x7)+parseInt(_0x147947(0x12b))/0x8+-parseInt(_0x147947(0x150))/0x9;if(_0x3800e3===_0x3b14cb)break;else _0x4f43b9['push'](_0x4f43b9['shift']());}catch(_0x13f7db){_0x4f43b9['push'](_0x4f43b9['shift']());}}}(a0_0x5174,0x4242f));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_0x180aef from'graphql-tag';import{ValueUtil}from'./value-util';import{asyncReplace}from'lit/directives/async-replace.js';function a0_0x5174(){const _0x299948=['data','record','__dirty__','numberOfDrafts','path','test','exportableData','message','active','length','searchMyDynamicMenus','key','HIDDEN-PAGE','parent','button.delete','__dirtyfields__','imex','checkClientError','__selected__','result','filter','noteq','updatedAt','question','updater','rank','344136raOCJt','showAlertPopup','buildArgs','\x0a\x20\x20\x20\x20\x20\x20','findIndex','menus','showGraphqlErrorResponse','codeItems','forEach','reduce','gutter','error','push','records','searchByPagination','category','children','getCodeByEntity','296lQLPgI','getCodeSelectorData','includes','object','group','dispatch','extensions','routingType','todo-list','Graphql\x20Error','hidden','1770OkWPtM','numberOfToDos','text.NOTHING_CHANGED','items','routing','GROUP','menuType','iconPath','2275cMNdMf','name','gridPersonalizeTemplates','button.','parse','myDynamicMenus','fetch','cancel','selected','xlsx','updateMultiple','unshift','HOME','text.nothing_selected','runScenario','networkError','description','dirtyRecords','columns','updateMultipleData','createdAt','70989KSchYH','showGraphqlException','hiddenFlag','success\x20to\x20delete','display','666864zcAupe','findOne','template','patchesForUpdateMultiple','tText','__seq__','confirm','success\x20to\x20save','MENU','total','deleteListByIds','value','type','info','text.are_you_sure','split','map','errors','_config','\x0a\x20\x20\x20\x20','workCodeByName','isArray','644430qbdCJO','resourceUrl','17319dDRxlF','getCodeByScenario','undefined','cuFlag','text.there_is_nothing_to_delete','query','numberOfApprovalPendings','title','arrangeMenuRoutes','callScenario','creator','deleteListByGristSelected','id,template','945567WMtsJa','text.nothing_changed','sort','badge','searchMenuGridPersnalTemplate','approval-pending-list'];a0_0x5174=function(){return _0x299948;};return a0_0x5174();}function a0_0x1647(_0x50c937,_0x47f578){const _0x51748a=a0_0x5174();return a0_0x1647=function(_0x164709,_0x204017){_0x164709=_0x164709-0x11a;let _0x37f84e=_0x51748a[_0x164709];return _0x37f84e;},a0_0x1647(_0x50c937,_0x47f578);}import a0_0x350691 from'i18next';import{generateActivitySummary,startSubscribeActivitySummary}from'@things-factory/worklist';export class ServiceUtil{static async[a0_0x5a4c11(0x177)](_0x555028){const _0x809a48=a0_0x5a4c11;if(Array[_0x809a48(0x140)](_0x555028))return _0x555028[_0x809a48(0x13b)](_0x2c8124=>_0x809a48(0x185)==typeof _0x2c8124?{'name':_0x2c8124[_0x809a48(0x136)],'description':_0x2c8124[_0x809a48(0x12a)]}:{'name':_0x2c8124,'description':_0x2c8124});let _0x2c2d0e=await ServiceUtil['getWorkCodeByName'](_0x555028);return _0x2c2d0e&&_0x2c2d0e[_0x809a48(0x15f)]>0x0?_0x2c2d0e:await getCodeByName(_0x555028);}static async['getWorkCodeByName'](_0x105ec5){const _0x5dc9b0=a0_0x5a4c11,_0x5b3a5f=await client[_0x5dc9b0(0x148)]({'query':a0_0x180aef`
2
2
  query workCodeByName($name: String!) {
3
3
  workCodeByName(name: $name) {
4
4
  details {
@@ -8,32 +8,32 @@ const a0_0x30069e=a0_0x48d4;(function(_0x1107ab,_0x268a19){const _0xbcc92=a0_0x4
8
8
  }
9
9
  }
10
10
  }
11
- `,'variables':{'name':_0x1cd4a3},'context':gqlContext()});return!_0x1d297f[_0x3491e2(0xfd)]&&_0x1d297f['data'][_0x3491e2(0x120)]&&_0x1d297f[_0x3491e2(0x121)][_0x3491e2(0x120)][_0x3491e2(0x150)]?_0x1d297f[_0x3491e2(0x121)][_0x3491e2(0x120)]['details'][_0x3491e2(0x122)]((_0x3581a4,_0x1fb8e0)=>_0x3581a4[_0x3491e2(0x10d)]-_0x1fb8e0['rank']):[];}static async[a0_0x30069e(0x161)](_0x5f5d8b){const _0x38e259=a0_0x30069e;let _0x36b8eb=(await ServiceUtil[_0x38e259(0x148)](_0x5f5d8b))['map'](_0x57214=>({'value':_0x57214[_0x38e259(0x10e)],'display':_0x57214[_0x38e259(0x140)]}));return _0x36b8eb[_0x38e259(0x115)]({'value':'','display':''}),_0x36b8eb;}static async['getCodeByScenario'](_0x2432c4,_0x29e3e2){const _0x5c72bd=a0_0x30069e;let _0x493cbd=await ServiceUtil['callScenario'](null,_0x2432c4,_0x29e3e2);return _0x493cbd['unshift']({'value':'','display':''}),_0x493cbd[_0x5c72bd(0x15c)](_0x8bde77=>({'value':_0x8bde77[_0x5c72bd(0x10e)],'display':_0x8bde77['description']}));}static async[a0_0x30069e(0x134)]({queryName:_0x1946de,codeField:_0x8f0ae6='name',dispField:_0x325a6a=a0_0x30069e(0x140),filters:_0x9379d3=[],sorters:_0x4b687c=[]}){const _0x4d506a=a0_0x30069e;let _0x25d527=_0x4d506a(0xfe)+_0x8f0ae6+_0x4d506a(0xfe)+_0x325a6a+'\x0a\x20\x20\x20\x20',_0x577100=await ServiceUtil['searchByPagination'](_0x1946de,_0x9379d3,_0x4b687c,0x0,0x0,_0x25d527),_0x57547d=[{'value':'','display':''}];return _0x577100[_0x4d506a(0x15d)][_0x4d506a(0xf5)](_0x6acc49=>{const _0x33fe23=_0x4d506a;_0x57547d[_0x33fe23(0x131)]({'value':_0x6acc49[_0x8f0ae6],'display':_0x6acc49[_0x325a6a]});}),_0x57547d;}static async[a0_0x30069e(0x12e)](){const _0x219417=a0_0x30069e;let _0x3d1c02=await ServiceUtil[_0x219417(0xf8)]();return null!=_0x3d1c02?ServiceUtil[_0x219417(0x11f)](_0x3d1c02):null;}static async['searchMenuGridPersnalTemplate'](_0xb18e01){const _0x365b0a=a0_0x30069e;let _0x3d8860=[{'name':'menu.id','operator':'eq','value':_0xb18e01}],_0x326780=await ServiceUtil['searchByPagination'](_0x365b0a(0x135),_0x3d8860,[],0x0,0x0,_0x365b0a(0x112));return 0x0==_0x326780[_0x365b0a(0x154)]?{}:{'id':_0x326780['records'][0x0]['id'],'template':JSON['parse'](_0x326780[_0x365b0a(0x15d)][0x0]['template'])};}static['arrangeMenuRoutes'](_0x2da664){const _0x57db15=a0_0x30069e;let _0x20b7ce=[];_0x2da664[_0x57db15(0xf5)](_0x56ddd9=>{const _0x3437b5=_0x57db15;_0x20b7ce[_0x3437b5(0x131)](_0x56ddd9),_0x56ddd9[_0x3437b5(0x14c)]&&(_0x56ddd9[_0x3437b5(0x14c)][_0x3437b5(0x122)](function(_0x412774,_0x1c0ec2){const _0x559a2f=_0x3437b5;return _0x412774[_0x559a2f(0x10d)]-_0x1c0ec2[_0x559a2f(0x10d)];}),_0x56ddd9[_0x3437b5(0x14c)][_0x3437b5(0xf5)](_0x5ae449=>{const _0x403405=_0x3437b5;0x1!=_0x5ae449[_0x403405(0x15a)]&&(_0x5ae449['parent']=_0x56ddd9,_0x20b7ce[_0x403405(0x131)](_0x5ae449));}));});let _0x5d3014=_0x20b7ce[_0x57db15(0x15c)](_0x41dfd1=>{const _0x4d8c4d=_0x57db15;if('GROUP'==_0x41dfd1[_0x4d8c4d(0x105)]||_0x4d8c4d(0x106)==_0x41dfd1[_0x4d8c4d(0x105)]){let _0x59a24a={'id':_0x41dfd1['id'],'parent':!0x0,'name':TermsUtil[_0x4d8c4d(0xeb)](_0x41dfd1[_0x4d8c4d(0x10e)]),'icon':_0x41dfd1[_0x4d8c4d(0x11c)],'type':_0x4d8c4d(0x162)==_0x41dfd1['menuType']?_0x4d8c4d(0x164):'','menus':[]};return _0x41dfd1[_0x4d8c4d(0x151)]&&(_0x59a24a['path']=_0x41dfd1['routing']),_0x59a24a;}return{'id':'0'};})[_0x57db15(0x136)](_0x3b281a=>'0'!=_0x3b281a['id']),_0x26330e=_0x20b7ce[_0x57db15(0x15c)](_0x359906=>{const _0x1438b0=_0x57db15;if(_0x1438b0(0x16a)==_0x359906[_0x1438b0(0x105)]||_0x1438b0(0x153)==_0x359906[_0x1438b0(0x105)]){let _0x501c3f=_0x5d3014[_0x1438b0(0xf0)](_0x5c27bb=>_0x5c27bb['id']==_0x359906[_0x1438b0(0xea)]['id']);if(_0x501c3f){let _0x41719b=TermsUtil['tMenu'](_0x359906[_0x1438b0(0x10e)]);return _0x1438b0(0x16a)==_0x359906[_0x1438b0(0x105)]&&_0x501c3f[_0x1438b0(0x10c)][_0x1438b0(0x131)]({'id':_0x359906['id'],'name':_0x41719b,'path':_0x359906[_0x1438b0(0x151)],'icon':_0x359906[_0x1438b0(0x11c)]}),{'id':_0x359906['id'],'parent':!0x1,'parent_id':_0x501c3f['id'],'title':_0x41719b,'tagname':_0x359906['category'],'page':_0x359906[_0x1438b0(0x151)],'template':_0x359906[_0x1438b0(0xf3)],'routing_type':_0x359906['routingType']};}return{'id':'0'};}return _0x1438b0(0x11a)==_0x359906['menuType']?{'id':_0x359906['id'],'parent':!0x0,'parent_id':null,'title':TermsUtil[_0x1438b0(0xeb)](_0x359906['name']),'tagname':_0x359906[_0x1438b0(0x11d)],'page':_0x359906['routing'],'template':_0x359906[_0x1438b0(0xf3)],'routing_type':_0x359906['routingType']}:{'id':'0'};})[_0x57db15(0x136)](_0x28f3a8=>null!=_0x28f3a8&&'0'!=_0x28f3a8['id']);_0x5d3014[_0x57db15(0x136)](_0xa61b80=>_0x57db15(0x164)==_0xa61b80[_0x57db15(0x119)]&&_0xa61b80[_0x57db15(0x10c)]&&_0xa61b80[_0x57db15(0x10c)][_0x57db15(0x10b)]>0x0)['forEach'](_0x12048d=>{const _0x28caff=_0x57db15;let _0x3e0f20=_0x5d3014[_0x28caff(0x139)](_0x59db42=>_0x59db42['id']==_0x12048d['id'])+0x1;_0x5d3014[_0x28caff(0xec)](_0x3e0f20,0x0,..._0x12048d['menus']);});let _0xd08f92=0x0;return _0x5d3014[_0x57db15(0xf5)](_0x4ad914=>{const _0x552fcc=_0x57db15;_0x552fcc(0x149)==_0x4ad914[_0x552fcc(0xee)]?(_0xd08f92++,_0x4ad914[_0x552fcc(0xfc)]=()=>asyncReplace(generateActivitySummary(_0x552fcc(0x11e))),_0x4ad914[_0x552fcc(0x13c)]=({path:_0x37b7f4})=>/^activity\//[_0x552fcc(0x109)](_0x37b7f4)):_0x552fcc(0x102)==_0x4ad914[_0x552fcc(0xee)]?(_0xd08f92++,_0x4ad914['badge']=()=>asyncReplace(generateActivitySummary('numberOfApprovalPendings')),_0x4ad914[_0x552fcc(0x13c)]=({path:_0x51a0b5})=>/^activity\//['test'](_0x51a0b5)):_0x552fcc(0x157)==_0x4ad914[_0x552fcc(0xee)]&&(_0xd08f92++,_0x4ad914[_0x552fcc(0xfc)]=()=>asyncReplace(generateActivitySummary(_0x552fcc(0x10f))));}),_0xd08f92>0x0&&startSubscribeActivitySummary(),{'menus':_0x5d3014,'routes':_0x26330e};}static async[a0_0x30069e(0xf8)](){const _0x4a80f3=a0_0x30069e;let _0x1e3c0b=await ServiceUtil['searchByPagination'](_0x4a80f3(0x10c),[{'name':'hiddenFlag','operator':_0x4a80f3(0x126),'value':!0x0},{'name':_0x4a80f3(0x105),'operator':'in','value':[_0x4a80f3(0x11a),_0x4a80f3(0x106),'GROUP']}],[{'name':_0x4a80f3(0x10d)}],0x0,0x0,'\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');return _0x1e3c0b?_0x1e3c0b[_0x4a80f3(0x15d)]:[];}static async[a0_0x30069e(0x169)](_0x126bd1){const _0x475899=a0_0x30069e;if(_0x126bd1[_0x475899(0xfd)]&&_0x126bd1[_0x475899(0xfd)]['length']>0x0){let _0x3bfae2=_0x126bd1[_0x475899(0xfd)][0x0],_0xb7ee6=_0x3bfae2[_0x475899(0x13d)],_0x251d7f=_0x3bfae2[_0x475899(0x13d)];_0x3bfae2[_0x475899(0x11b)]&&(_0x251d7f=_0x3bfae2[_0x475899(0x11b)][_0x475899(0x143)]),await UiUtil[_0x475899(0x12b)](_0x251d7f,_0xb7ee6,_0x475899(0x145),_0x475899(0x114));}}static async['showGraphqlException'](_0x2ce1f2){const _0x18fb22=a0_0x30069e;_0x2ce1f2&&(_0x2ce1f2['networkError']&&_0x2ce1f2[_0x18fb22(0x137)]['result']?await ServiceUtil[_0x18fb22(0x169)](_0x2ce1f2[_0x18fb22(0x137)][_0x18fb22(0xfa)]):await UiUtil[_0x18fb22(0x12b)]('Graphql\x20Error',_0x2ce1f2[_0x18fb22(0x13d)],_0x18fb22(0x145),_0x18fb22(0x114)));}static async[a0_0x30069e(0x108)](_0x230d6e,_0x4ebde5,_0x5ddc23){const _0x524e87=a0_0x30069e;var _0x33902f=_0x5ddc23[_0x524e87(0x152)][_0x524e87(0xed)][_0x524e87(0x136)](_0x167d0a=>_0x524e87(0x14b)!==_0x167d0a[_0x524e87(0x119)]&&void 0x0!==_0x167d0a[_0x524e87(0x127)]&&void 0x0!==_0x167d0a[_0x524e87(0x168)]&&!0x0!==_0x167d0a[_0x524e87(0x101)])[_0x524e87(0x15c)](_0xa467ad=>_0xa467ad[_0x524e87(0x168)]),_0x135a7d=_0x5ddc23[_0x524e87(0x121)][_0x524e87(0x15d)][_0x524e87(0x15c)](_0x2cdcac=>({..._0x5ddc23[_0x524e87(0x152)][_0x524e87(0xed)]['filter'](_0x12ad6e=>_0x524e87(0x14b)!==_0x12ad6e[_0x524e87(0x119)]&&void 0x0!==_0x12ad6e[_0x524e87(0x127)]&&void 0x0!==_0x12ad6e[_0x524e87(0x168)]&&!0x0!==_0x12ad6e[_0x524e87(0x101)])[_0x524e87(0xf2)]((_0x282b4c,_0xba6234)=>(_0x282b4c[_0xba6234[_0x524e87(0x168)][_0x524e87(0x158)]]=_0xba6234[_0x524e87(0x168)]['key'][_0x524e87(0x118)]('.')[_0x524e87(0xf2)]((_0x9b2662,_0x310d65)=>_0x9b2662&&_0x524e87(0xff)!==_0x9b2662[_0x310d65]?_0x9b2662[_0x310d65]:void 0x0,_0x2cdcac),_0x282b4c),{})}));if(!_0x230d6e)return{'header':_0x33902f,'data':_0x135a7d};store[_0x524e87(0x12c)]({'type':EXPORT,'exportable':{'extension':_0x524e87(0x163),'name':_0x4ebde5,'data':{'header':_0x33902f,'data':_0x135a7d}}});}static async['searchByPagination'](_0x25fd5b,_0x30b04a,_0x2868d1,_0x2afd6d,_0x1bc17c,_0x52cee9){const _0x871a2b=a0_0x30069e;try{const _0x5eed10=await client[_0x871a2b(0x110)]({'query':a0_0x244411`
11
+ `,'variables':{'name':_0x105ec5},'context':gqlContext()});return!_0x5b3a5f[_0x5dc9b0(0x13c)]&&_0x5b3a5f[_0x5dc9b0(0x156)][_0x5dc9b0(0x13f)]&&_0x5b3a5f['data'][_0x5dc9b0(0x13f)]['details']?_0x5b3a5f[_0x5dc9b0(0x156)]['workCodeByName']['details'][_0x5dc9b0(0x152)]((_0x1d4f47,_0x3c2022)=>_0x1d4f47['rank']-_0x3c2022[_0x5dc9b0(0x16f)]):[];}static async[a0_0x5a4c11(0x183)](_0x140967){const _0x4acf68=a0_0x5a4c11;let _0x386440=(await ServiceUtil[_0x4acf68(0x177)](_0x140967))[_0x4acf68(0x13b)](_0x3f6522=>({'value':_0x3f6522[_0x4acf68(0x196)],'display':_0x3f6522['description']}));return _0x386440[_0x4acf68(0x11c)]({'value':'','display':''}),_0x386440;}static async[a0_0x5a4c11(0x144)](_0x390615,_0x48e8fb){const _0x29c385=a0_0x5a4c11;let _0x268fb0=await ServiceUtil[_0x29c385(0x14c)](null,_0x390615,_0x48e8fb);return _0x268fb0[_0x29c385(0x11c)]({'value':'','display':''}),_0x268fb0['map'](_0x28c244=>({'value':_0x28c244[_0x29c385(0x196)],'display':_0x28c244[_0x29c385(0x121)]}));}static async[a0_0x5a4c11(0x181)]({queryName:_0x534795,codeField:_0x4ab0dc='name',dispField:_0x4a17f4='description',filters:_0x33fecd=[],sorters:_0x174a9b=[]}){const _0x3eed23=a0_0x5a4c11;let _0x2f5a8e=_0x3eed23(0x173)+_0x4ab0dc+_0x3eed23(0x173)+_0x4a17f4+_0x3eed23(0x13e),_0x43619f=await ServiceUtil[_0x3eed23(0x17e)](_0x534795,_0x33fecd,_0x174a9b,0x0,0x0,_0x2f5a8e),_0xc035f3=[{'value':'','display':''}];return _0x43619f['records']['forEach'](_0x30f7ca=>{_0xc035f3['push']({'value':_0x30f7ca[_0x4ab0dc],'display':_0x30f7ca[_0x4a17f4]});}),_0xc035f3;}static async[a0_0x5a4c11(0x19a)](){const _0xb12dfe=a0_0x5a4c11;let _0x11e2d8=await ServiceUtil[_0xb12dfe(0x160)]();return null!=_0x11e2d8?ServiceUtil['arrangeMenuRoutes'](_0x11e2d8):null;}static async[a0_0x5a4c11(0x154)](_0x136b9f){const _0x3b2aa7=a0_0x5a4c11;let _0x4698d6=[{'name':'menu.id','operator':'eq','value':_0x136b9f}],_0x471f49=await ServiceUtil[_0x3b2aa7(0x17e)](_0x3b2aa7(0x197),_0x4698d6,[],0x0,0x0,_0x3b2aa7(0x14f));return 0x0==_0x471f49[_0x3b2aa7(0x134)]?{}:{'id':_0x471f49['records'][0x0]['id'],'template':JSON[_0x3b2aa7(0x199)](_0x471f49[_0x3b2aa7(0x17d)][0x0][_0x3b2aa7(0x12d)])};}static[a0_0x5a4c11(0x14b)](_0x2f2171){const _0x4855f7=a0_0x5a4c11;let _0x4b7469=[];_0x2f2171[_0x4855f7(0x178)](_0x920c6=>{const _0xdafa47=_0x4855f7;_0x4b7469[_0xdafa47(0x17c)](_0x920c6),_0x920c6[_0xdafa47(0x180)]&&(_0x920c6['children'][_0xdafa47(0x152)](function(_0x3f237e,_0x49f249){const _0x426a6c=_0xdafa47;return _0x3f237e[_0x426a6c(0x16f)]-_0x49f249[_0x426a6c(0x16f)];}),_0x920c6[_0xdafa47(0x180)][_0xdafa47(0x178)](_0x179eb3=>{const _0x33e4e8=_0xdafa47;0x1!=_0x179eb3[_0x33e4e8(0x128)]&&(_0x179eb3[_0x33e4e8(0x163)]=_0x920c6,_0x4b7469['push'](_0x179eb3));}));});let _0x42a0bf=_0x4b7469['map'](_0x59affd=>{const _0x2e6707=_0x4855f7;if('GROUP'==_0x59affd['menuType']||_0x2e6707(0x133)==_0x59affd[_0x2e6707(0x193)]){let _0x4fedf5={'id':_0x59affd['id'],'parent':!0x0,'name':TermsUtil['tMenu'](_0x59affd[_0x2e6707(0x196)]),'icon':_0x59affd[_0x2e6707(0x194)],'type':_0x2e6707(0x192)==_0x59affd[_0x2e6707(0x193)]?_0x2e6707(0x186):'','menus':[]};return _0x59affd[_0x2e6707(0x191)]&&(_0x4fedf5['path']=_0x59affd[_0x2e6707(0x191)]),_0x4fedf5;}return{'id':'0'};})[_0x4855f7(0x16a)](_0x394cee=>'0'!=_0x394cee['id']),_0xe2a9b9=_0x4b7469['map'](_0x3e148a=>{const _0x50bf35=_0x4855f7;if('SCREEN'==_0x3e148a[_0x50bf35(0x193)]||_0x50bf35(0x162)==_0x3e148a[_0x50bf35(0x193)]){let _0x855da2=_0x42a0bf['find'](_0x5b217f=>_0x5b217f['id']==_0x3e148a['parent']['id']);if(_0x855da2){let _0x1051fc=TermsUtil['tMenu'](_0x3e148a[_0x50bf35(0x196)]);return'SCREEN'==_0x3e148a['menuType']&&_0x855da2[_0x50bf35(0x175)][_0x50bf35(0x17c)]({'id':_0x3e148a['id'],'name':_0x1051fc,'path':_0x3e148a['routing'],'icon':_0x3e148a[_0x50bf35(0x194)]}),{'id':_0x3e148a['id'],'parent':!0x1,'parent_id':_0x855da2['id'],'title':_0x1051fc,'tagname':_0x3e148a[_0x50bf35(0x17f)],'page':_0x3e148a[_0x50bf35(0x191)],'template':_0x3e148a[_0x50bf35(0x142)],'routing_type':_0x3e148a[_0x50bf35(0x189)]};}return{'id':'0'};}return _0x50bf35(0x11d)==_0x3e148a[_0x50bf35(0x193)]?{'id':_0x3e148a['id'],'parent':!0x0,'parent_id':null,'title':TermsUtil['tMenu'](_0x3e148a['name']),'tagname':_0x3e148a['category'],'page':_0x3e148a[_0x50bf35(0x191)],'template':_0x3e148a[_0x50bf35(0x142)],'routing_type':_0x3e148a[_0x50bf35(0x189)]}:{'id':'0'};})['filter'](_0x5eb74e=>null!=_0x5eb74e&&'0'!=_0x5eb74e['id']);_0x42a0bf[_0x4855f7(0x16a)](_0x1b1a83=>_0x4855f7(0x186)==_0x1b1a83[_0x4855f7(0x137)]&&_0x1b1a83[_0x4855f7(0x175)]&&_0x1b1a83['menus']['length']>0x0)[_0x4855f7(0x178)](_0x33e47d=>{const _0x5b46e8=_0x4855f7;let _0x3ab08f=_0x42a0bf[_0x5b46e8(0x174)](_0x4c62a1=>_0x4c62a1['id']==_0x33e47d['id'])+0x1;_0x42a0bf['splice'](_0x3ab08f,0x0,..._0x33e47d[_0x5b46e8(0x175)]);});let _0x471493=0x0;return _0x42a0bf['forEach'](_0x31834e=>{const _0x58c2eb=_0x4855f7;_0x58c2eb(0x18a)==_0x31834e[_0x58c2eb(0x15a)]?(_0x471493++,_0x31834e[_0x58c2eb(0x153)]=()=>asyncReplace(generateActivitySummary(_0x58c2eb(0x18e))),_0x31834e[_0x58c2eb(0x15e)]=({path:_0xe9edde})=>/^activity\//[_0x58c2eb(0x15b)](_0xe9edde)):_0x58c2eb(0x155)==_0x31834e[_0x58c2eb(0x15a)]?(_0x471493++,_0x31834e[_0x58c2eb(0x153)]=()=>asyncReplace(generateActivitySummary(_0x58c2eb(0x149))),_0x31834e['active']=({path:_0x3968fe})=>/^activity\//[_0x58c2eb(0x15b)](_0x3968fe)):'draft-list'==_0x31834e['path']&&(_0x471493++,_0x31834e['badge']=()=>asyncReplace(generateActivitySummary(_0x58c2eb(0x159))));}),_0x471493>0x0&&startSubscribeActivitySummary(),{'menus':_0x42a0bf,'routes':_0xe2a9b9};}static async['searchMyDynamicMenus'](){const _0x397205=a0_0x5a4c11;let _0x24a360=await ServiceUtil['searchByPagination'](_0x397205(0x175),[{'name':_0x397205(0x128),'operator':_0x397205(0x16b),'value':!0x0},{'name':_0x397205(0x193),'operator':'in','value':[_0x397205(0x11d),_0x397205(0x133),_0x397205(0x192)]}],[{'name':_0x397205(0x16f)}],0x0,0x0,'\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');return _0x24a360?_0x24a360[_0x397205(0x17d)]:[];}static async[a0_0x5a4c11(0x176)](_0x31d875){const _0x4fff22=a0_0x5a4c11;if(_0x31d875[_0x4fff22(0x13c)]&&_0x31d875[_0x4fff22(0x13c)][_0x4fff22(0x15f)]>0x0){let _0x207a40=_0x31d875['errors'][0x0],_0x2eeac9=_0x207a40['message'],_0x88461b=_0x207a40[_0x4fff22(0x15d)];_0x207a40[_0x4fff22(0x188)]&&(_0x88461b=_0x207a40['extensions']['code']),await UiUtil['showAlertPopup'](_0x88461b,_0x2eeac9,_0x4fff22(0x17b),_0x4fff22(0x131));}}static async[a0_0x5a4c11(0x127)](_0x3b72a4){const _0x5f1600=a0_0x5a4c11;_0x3b72a4&&(_0x3b72a4[_0x5f1600(0x120)]&&_0x3b72a4[_0x5f1600(0x120)][_0x5f1600(0x169)]?await ServiceUtil[_0x5f1600(0x176)](_0x3b72a4[_0x5f1600(0x120)][_0x5f1600(0x169)]):await UiUtil[_0x5f1600(0x171)](_0x5f1600(0x18b),_0x3b72a4[_0x5f1600(0x15d)],'error',_0x5f1600(0x131)));}static async[a0_0x5a4c11(0x15c)](_0x16c890,_0x17abcd,_0x35bc10){const _0x57f63a=a0_0x5a4c11;var _0x80289f=_0x35bc10[_0x57f63a(0x13d)]['columns'][_0x57f63a(0x16a)](_0x2726c3=>_0x57f63a(0x17a)!==_0x2726c3[_0x57f63a(0x137)]&&void 0x0!==_0x2726c3[_0x57f63a(0x157)]&&void 0x0!==_0x2726c3['imex']&&!0x0!==_0x2726c3[_0x57f63a(0x18c)])[_0x57f63a(0x13b)](_0xd36ca3=>_0xd36ca3[_0x57f63a(0x166)]),_0xc89b0e=_0x35bc10[_0x57f63a(0x156)][_0x57f63a(0x17d)][_0x57f63a(0x13b)](_0x2e4118=>({..._0x35bc10[_0x57f63a(0x13d)][_0x57f63a(0x123)]['filter'](_0x364f09=>'gutter'!==_0x364f09['type']&&void 0x0!==_0x364f09[_0x57f63a(0x157)]&&void 0x0!==_0x364f09['imex']&&!0x0!==_0x364f09[_0x57f63a(0x18c)])[_0x57f63a(0x179)]((_0x1047f8,_0x459f83)=>(_0x1047f8[_0x459f83[_0x57f63a(0x166)][_0x57f63a(0x161)]]=_0x459f83[_0x57f63a(0x166)][_0x57f63a(0x161)][_0x57f63a(0x13a)]('.')[_0x57f63a(0x179)]((_0x5658e4,_0x4f83b7)=>_0x5658e4&&_0x57f63a(0x145)!==_0x5658e4[_0x4f83b7]?_0x5658e4[_0x4f83b7]:void 0x0,_0x2e4118),_0x1047f8),{})}));if(!_0x16c890)return{'header':_0x80289f,'data':_0xc89b0e};store[_0x57f63a(0x187)]({'type':EXPORT,'exportable':{'extension':_0x57f63a(0x11a),'name':_0x17abcd,'data':{'header':_0x80289f,'data':_0xc89b0e}}});}static async[a0_0x5a4c11(0x17e)](_0xadf056,_0x30fbef,_0x177c2d,_0x5d5f42,_0x35ea33,_0xdac68d){const _0x64de59=a0_0x5a4c11;try{const _0x5eb9e8=await client[_0x64de59(0x148)]({'query':a0_0x180aef`
12
12
  query ($filters: [Filter!], $pagination: Pagination, $sortings: [Sorting!]) {
13
- ${_0x25fd5b}(filters: $filters, pagination: $pagination, sortings: $sortings) {
13
+ ${_0xadf056}(filters: $filters, pagination: $pagination, sortings: $sortings) {
14
14
  items {
15
- ${_0x52cee9}
15
+ ${_0xdac68d}
16
16
  }
17
17
  total
18
18
  }
19
19
  }
20
- `,'variables':{'filters':_0x30b04a,'sortings':_0x2868d1,'pagination':{'page':_0x2afd6d,'limit':_0x1bc17c}}});if(!_0x5eed10['errors'])return{'records':_0x5eed10[_0x871a2b(0x121)][_0x25fd5b][_0x871a2b(0x124)],'total':_0x5eed10[_0x871a2b(0x121)][_0x25fd5b][_0x871a2b(0x154)]};ServiceUtil[_0x871a2b(0x169)](_0x5eed10);}catch(_0xea6123){ServiceUtil[_0x871a2b(0x12f)](_0xea6123);}return null;}static async[a0_0x30069e(0xf9)](_0x52c7a5,_0x3034fc,_0x24c3b3){const _0x3d85e3=a0_0x30069e;try{let _0x4577ab=await client['query']({'query':a0_0x244411`
20
+ `,'variables':{'filters':_0x30fbef,'sortings':_0x177c2d,'pagination':{'page':_0x5d5f42,'limit':_0x35ea33}}});if(!_0x5eb9e8['errors'])return{'records':_0x5eb9e8['data'][_0xadf056][_0x64de59(0x190)],'total':_0x5eb9e8[_0x64de59(0x156)][_0xadf056]['total']};ServiceUtil[_0x64de59(0x176)](_0x5eb9e8);}catch(_0x3cdf99){ServiceUtil[_0x64de59(0x127)](_0x3cdf99);}return null;}static async[a0_0x5a4c11(0x12c)](_0x4234bc,_0x985737,_0x2f2327){const _0x7d579b=a0_0x5a4c11;try{let _0x4b0a9c=await client[_0x7d579b(0x148)]({'query':a0_0x180aef`
21
21
  query ($id: String!) {
22
- ${_0x52c7a5}(id: $id) {
23
- ${_0x24c3b3}
22
+ ${_0x4234bc}(id: $id) {
23
+ ${_0x2f2327}
24
24
  }
25
25
  }
26
- `,'variables':{'id':_0x3034fc}});if(!_0x4577ab[_0x3d85e3(0xfd)])return _0x4577ab[_0x3d85e3(0x121)][_0x52c7a5]||{};ServiceUtil[_0x3d85e3(0x169)](_0x4577ab);}catch(_0x317b5b){ServiceUtil[_0x3d85e3(0x12f)](_0x317b5b);}return null;}static[a0_0x30069e(0x14e)](_0x5e214e,_0x5dc34a){const _0x2e29c4=a0_0x30069e,_0x46a79e=_0x5e214e['selected'][_0x2e29c4(0x15c)](_0x52ab7a=>_0x52ab7a['id']);return ValueUtil[_0x2e29c4(0xfb)](_0x46a79e)&&0x1==_0x5dc34a&&UiUtil['showAlertPopup'](_0x2e29c4(0x146),_0x2e29c4(0x103),_0x2e29c4(0x14a),_0x2e29c4(0x114)),_0x46a79e;}static async[a0_0x30069e(0x15f)](_0x596ed6,_0x83ccc9){const _0x3e00b6=a0_0x30069e;let _0x3b2b1f=ServiceUtil[_0x3e00b6(0x14e)](_0x596ed6,!0x0);ValueUtil[_0x3e00b6(0x156)](_0x3b2b1f)&&(await ServiceUtil[_0x3e00b6(0x104)](_0x3b2b1f,_0x83ccc9)&&_0x596ed6[_0x3e00b6(0xf7)]());}static async['deleteListByIds'](_0x781a2d,_0x84380f){const _0x52ad52=a0_0x30069e;if(!(await UiUtil[_0x52ad52(0x12b)](_0x52ad52(0x15b),_0x52ad52(0x117),_0x52ad52(0x113),'delete','cancel'))['value'])return!0x1;try{const _0x5ae19a=await client[_0x52ad52(0x110)]({'query':a0_0x244411`
26
+ `,'variables':{'id':_0x985737}});if(!_0x4b0a9c[_0x7d579b(0x13c)])return _0x4b0a9c[_0x7d579b(0x156)][_0x4234bc]||{};ServiceUtil[_0x7d579b(0x176)](_0x4b0a9c);}catch(_0x34bd7c){ServiceUtil[_0x7d579b(0x127)](_0x34bd7c);}return null;}static['getSelectedIdList'](_0x57e224,_0x14720f){const _0x3bbeeb=a0_0x5a4c11,_0x28126c=_0x57e224[_0x3bbeeb(0x19d)][_0x3bbeeb(0x13b)](_0x319f14=>_0x319f14['id']);return ValueUtil['isEmpty'](_0x28126c)&&0x1==_0x14720f&&UiUtil[_0x3bbeeb(0x171)](_0x3bbeeb(0x11e),_0x3bbeeb(0x147),_0x3bbeeb(0x138),'confirm'),_0x28126c;}static async[a0_0x5a4c11(0x14e)](_0x2467e9,_0x515efc){const _0x4bdcc7=a0_0x5a4c11;let _0x39c34e=ServiceUtil['getSelectedIdList'](_0x2467e9,!0x0);ValueUtil['isNotEmpty'](_0x39c34e)&&(await ServiceUtil[_0x4bdcc7(0x135)](_0x39c34e,_0x515efc)&&_0x2467e9[_0x4bdcc7(0x19b)]());}static async[a0_0x5a4c11(0x135)](_0x1b0a6d,_0x3d015f){const _0x54bea5=a0_0x5a4c11;if(!(await UiUtil[_0x54bea5(0x171)](_0x54bea5(0x164),_0x54bea5(0x139),'question','delete','cancel'))['value'])return!0x1;try{const _0x3dc641=await client['query']({'query':a0_0x180aef`
27
27
  mutation {
28
- ${_0x84380f}(${gqlBuilder['buildArgs']({'ids':_0x781a2d})})
28
+ ${_0x3d015f}(${gqlBuilder['buildArgs']({'ids':_0x1b0a6d})})
29
29
  }
30
- `});if(!_0x5ae19a[_0x52ad52(0xfd)])return UiUtil[_0x52ad52(0x132)]('info',TermsUtil[_0x52ad52(0x142)](_0x52ad52(0x128))),!0x0;ServiceUtil[_0x52ad52(0x169)](_0x5ae19a);}catch(_0x3a4b4c){ServiceUtil[_0x52ad52(0x12f)](_0x3a4b4c);}return!0x1;}static async[a0_0x30069e(0x144)](_0x322154,_0x1a4943){const _0xb67ccf=a0_0x30069e;let _0x58b8f0=ServiceUtil[_0xb67ccf(0x12d)](_0x322154);if(ValueUtil[_0xb67ccf(0x156)](_0x58b8f0)){let _0x3d7140=await ServiceUtil[_0xb67ccf(0x147)](_0x1a4943,_0x58b8f0);if(_0x3d7140)return _0x322154[_0xb67ccf(0xf7)](),_0x3d7140;}return!0x1;}static async[a0_0x30069e(0x147)](_0x60fc1f,_0x54f409){const _0x3e33d7=a0_0x30069e;try{const _0x3b07e8=await client['query']({'query':a0_0x244411`
30
+ `});if(!_0x3dc641[_0x54bea5(0x13c)])return UiUtil['showToast']('info',TermsUtil['tText'](_0x54bea5(0x129))),!0x0;ServiceUtil[_0x54bea5(0x176)](_0x3dc641);}catch(_0x9f1637){ServiceUtil['showGraphqlException'](_0x9f1637);}return!0x1;}static async[a0_0x5a4c11(0x124)](_0x20b507,_0x2430c3){const _0x1e0b66=a0_0x5a4c11;let _0xfd18f1=ServiceUtil[_0x1e0b66(0x12e)](_0x20b507);if(ValueUtil['isNotEmpty'](_0xfd18f1)){let _0x5c329e=await ServiceUtil[_0x1e0b66(0x11b)](_0x2430c3,_0xfd18f1);if(_0x5c329e)return _0x20b507[_0x1e0b66(0x19b)](),_0x5c329e;}return!0x1;}static async[a0_0x5a4c11(0x11b)](_0x379508,_0x649f00){const _0x428bc3=a0_0x5a4c11;try{const _0x23e955=await client[_0x428bc3(0x148)]({'query':a0_0x180aef`
31
31
  mutation {
32
- ${_0x60fc1f}(${gqlBuilder['buildArgs']({'patches':_0x54f409})}) {
32
+ ${_0x379508}(${gqlBuilder[_0x428bc3(0x172)]({'patches':_0x649f00})}) {
33
33
  id
34
34
  }
35
35
  }
36
- `,'context':{'hasUpload':!0x0}});if(!_0x3b07e8['errors'])return UiUtil[_0x3e33d7(0x132)](_0x3e33d7(0x14a),TermsUtil[_0x3e33d7(0x142)](_0x3e33d7(0x13b))),!0x0;ServiceUtil['showGraphqlErrorResponse'](_0x3b07e8);}catch(_0x567de8){ServiceUtil['showGraphqlException'](_0x567de8);}return!0x1;}static['patchesForUpdateMultiple'](_0x51b38f,_0x4a4de4=!0x1){const _0x292e8b=a0_0x30069e;let _0x5c7d19=_0x51b38f[_0x292e8b(0x100)];if(_0x5c7d19&&0x0!=_0x5c7d19[_0x292e8b(0x10b)])return _0x5c7d19[_0x292e8b(0x15c)](_0x3dc750=>{const _0x22d079=_0x292e8b;let _0x43bd5e=_0x3dc750['id']?{'id':_0x3dc750['id']}:{};for(let _0x7740a0 in _0x3dc750)['creator','updater',_0x22d079(0x165),_0x22d079(0x159),_0x22d079(0x133),_0x22d079(0x13e),_0x22d079(0x14d),_0x22d079(0x116),_0x22d079(0xf6)][_0x22d079(0x16b)](_0x7740a0)||(_0x3dc750[_0x7740a0]&&_0x22d079(0x123)==typeof _0x3dc750[_0x7740a0]&&0x0==_0x4a4de4?_0x43bd5e[_0x7740a0]={'id':_0x3dc750[_0x7740a0]['id']}:_0x43bd5e[_0x7740a0]=_0x3dc750[_0x7740a0]);return _0x43bd5e['cuFlag']=_0x3dc750[_0x22d079(0x133)],_0x43bd5e;});UiUtil[_0x292e8b(0x12b)](_0x292e8b(0x111),_0x292e8b(0x141),_0x292e8b(0x14a),_0x292e8b(0x114));}static async['callScenario'](_0x5e69df,_0x1f8191,_0x3ec612,_0x6f2784=!0x0){const _0x55bc6c=a0_0x30069e;let _0x4047c1=!0x0;_0x5e69df&&!0x0===_0x6f2784&&(_0x4047c1=(await UiUtil['showAlertPopup'](_0x55bc6c(0x13a)+_0x5e69df,_0x55bc6c(0x117),_0x55bc6c(0x113),'confirm','cancel'))['value']);if(_0x4047c1)try{const _0x35a650=await client[_0x55bc6c(0x110)]({'query':a0_0x244411`
36
+ `,'context':{'hasUpload':!0x0}});if(!_0x23e955[_0x428bc3(0x13c)])return UiUtil['showToast'](_0x428bc3(0x138),TermsUtil[_0x428bc3(0x12f)](_0x428bc3(0x132))),!0x0;ServiceUtil[_0x428bc3(0x176)](_0x23e955);}catch(_0xc38c52){ServiceUtil[_0x428bc3(0x127)](_0xc38c52);}return!0x1;}static['patchesForUpdateMultiple'](_0x2d5fa4,_0x544f88=!0x1){const _0x217d12=a0_0x5a4c11;let _0x155c2e=_0x2d5fa4[_0x217d12(0x122)];if(_0x155c2e&&0x0!=_0x155c2e[_0x217d12(0x15f)])return _0x155c2e[_0x217d12(0x13b)](_0x50d3ad=>{const _0x3b480d=_0x217d12;let _0x383451=_0x50d3ad['id']?{'id':_0x50d3ad['id']}:{};for(let _0x403aae in _0x50d3ad)[_0x3b480d(0x14d),_0x3b480d(0x16e),_0x3b480d(0x125),_0x3b480d(0x16c),_0x3b480d(0x158),_0x3b480d(0x165),'__origin__',_0x3b480d(0x130),_0x3b480d(0x168)][_0x3b480d(0x184)](_0x403aae)||(_0x50d3ad[_0x403aae]&&_0x3b480d(0x185)==typeof _0x50d3ad[_0x403aae]&&0x0==_0x544f88?_0x383451[_0x403aae]={'id':_0x50d3ad[_0x403aae]['id']}:_0x383451[_0x403aae]=_0x50d3ad[_0x403aae]);return _0x383451[_0x3b480d(0x146)]=_0x50d3ad[_0x3b480d(0x158)],_0x383451;});UiUtil['showAlertPopup'](_0x217d12(0x151),_0x217d12(0x18f),_0x217d12(0x138),'confirm');}static async['callScenario'](_0x1c297e,_0x4679b6,_0x20b2c,_0x3c5b5a=!0x0){const _0x5f0a68=a0_0x5a4c11;let _0x324d5a=!0x0;_0x1c297e&&!0x0===_0x3c5b5a&&(_0x324d5a=(await UiUtil[_0x5f0a68(0x171)](_0x5f0a68(0x198)+_0x1c297e,_0x5f0a68(0x139),_0x5f0a68(0x16d),_0x5f0a68(0x131),_0x5f0a68(0x19c)))[_0x5f0a68(0x136)]);if(_0x324d5a)try{const _0x22cdc2=await client[_0x5f0a68(0x148)]({'query':a0_0x180aef`
37
37
  mutation ($scenarioName: String!, $variables: Object) {
38
38
  runScenario(scenarioName: $scenarioName, variables: $variables) {
39
39
  state
@@ -42,4 +42,4 @@ const a0_0x30069e=a0_0x48d4;(function(_0x1107ab,_0x268a19){const _0xbcc92=a0_0x4
42
42
  __typename
43
43
  }
44
44
  }
45
- `,'variables':{'scenarioName':_0x1f8191,'variables':_0x3ec612}});if(_0x35a650[_0x55bc6c(0xfd)])ServiceUtil[_0x55bc6c(0x169)](_0x35a650);else{if(this[_0x55bc6c(0x15e)](_0x35a650))return!0x0===_0x6f2784&&UiUtil['showToast']('info',TermsUtil['tText'](_0x55bc6c(0xf4))),_0x35a650;}}catch(_0x167daa){ServiceUtil[_0x55bc6c(0x12f)](_0x167daa);}return!0x1;}static['checkClientError'](_0x13289c){const _0x58bc0a=a0_0x30069e;if(_0x13289c&&_0x13289c[_0x58bc0a(0x121)]&&_0x13289c[_0x58bc0a(0x121)]['runScenario']&&_0x13289c[_0x58bc0a(0x121)]['runScenario'][_0x58bc0a(0x121)]&&_0x13289c[_0x58bc0a(0x121)][_0x58bc0a(0xf1)][_0x58bc0a(0x121)][_0x58bc0a(0x145)]){let _0x50853b=_0x13289c[_0x58bc0a(0x121)][_0x58bc0a(0xf1)][_0x58bc0a(0x121)]['error'];return UiUtil[_0x58bc0a(0x12b)](_0x50853b['title'],_0x50853b[_0x58bc0a(0x13d)],'error',_0x58bc0a(0x114)),!0x1;}return!0x0;}}
45
+ `,'variables':{'scenarioName':_0x4679b6,'variables':_0x20b2c}});if(_0x22cdc2[_0x5f0a68(0x13c)])ServiceUtil['showGraphqlErrorResponse'](_0x22cdc2);else{if(this[_0x5f0a68(0x167)](_0x22cdc2))return!0x0===_0x3c5b5a&&UiUtil['showToast'](_0x5f0a68(0x138),TermsUtil[_0x5f0a68(0x12f)]('success\x20to\x20process')),_0x22cdc2;}}catch(_0xdce19c){ServiceUtil['showGraphqlException'](_0xdce19c);}return!0x1;}static['checkClientError'](_0x5d92fd){const _0x49cccb=a0_0x5a4c11;if(_0x5d92fd&&_0x5d92fd['data']&&_0x5d92fd[_0x49cccb(0x156)][_0x49cccb(0x11f)]&&_0x5d92fd[_0x49cccb(0x156)][_0x49cccb(0x11f)][_0x49cccb(0x156)]&&_0x5d92fd[_0x49cccb(0x156)][_0x49cccb(0x11f)]['data'][_0x49cccb(0x17b)]){let _0xc0bb7b=_0x5d92fd[_0x49cccb(0x156)][_0x49cccb(0x11f)][_0x49cccb(0x156)][_0x49cccb(0x17b)];return UiUtil[_0x49cccb(0x171)](_0xc0bb7b[_0x49cccb(0x14a)],_0xc0bb7b[_0x49cccb(0x15d)],_0x49cccb(0x17b),_0x49cccb(0x131)),!0x1;}return!0x0;}}
@@ -1,4 +1,4 @@
1
- const a0_0x25aaaf=a0_0x1751;function a0_0x562d(){const _0x42c0cb=['5305mHiACw','59234gQQCYb','replace','3939176lUqOVD','translate','tLabel','menu','1577826MalMOG','forEach','tTitle','data','480870InFMJK','tField','4YpCDtJ','downloadTerminologies','1370520KWnCuA','413652rsWGxs','label','7zGfDZH','tText','field','fetchTerminologies','META_TERMS','button','name','title','locale','text','7JwZKzl','terminologies','query','keys','errors'];a0_0x562d=function(){return _0x42c0cb;};return a0_0x562d();}function a0_0x1751(_0x4f6f83,_0x4d6d09){const _0x562d5a=a0_0x562d();return a0_0x1751=function(_0x17516c,_0x3b86de){_0x17516c=_0x17516c-0x1e5;let _0x5ec4de=_0x562d5a[_0x17516c];return _0x5ec4de;},a0_0x1751(_0x4f6f83,_0x4d6d09);}(function(_0x1f42ab,_0x589e9f){const _0xcd40f3=a0_0x1751,_0x318f94=_0x1f42ab();while(!![]){try{const _0x608f73=parseInt(_0xcd40f3(0x1f2))/0x1*(-parseInt(_0xcd40f3(0x202))/0x2)+-parseInt(_0xcd40f3(0x1f0))/0x3+parseInt(_0xcd40f3(0x1ed))/0x4*(-parseInt(_0xcd40f3(0x201))/0x5)+-parseInt(_0xcd40f3(0x1eb))/0x6+parseInt(_0xcd40f3(0x1fc))/0x7*(parseInt(_0xcd40f3(0x204))/0x8)+parseInt(_0xcd40f3(0x1e7))/0x9+parseInt(_0xcd40f3(0x1ef))/0xa;if(_0x608f73===_0x589e9f)break;else _0x318f94['push'](_0x318f94['shift']());}catch(_0x1daaec){_0x318f94['push'](_0x318f94['shift']());}}}(a0_0x562d,0x5c5f2));import a0_0x52352d from'graphql-tag';import{client}from'@operato/graphql';import{i18next}from'@operato/i18n';export class TermsUtil{[a0_0x25aaaf(0x1f6)]=null;static async[a0_0x25aaaf(0x1ee)](_0x2f7ba7){const _0x3a147d=a0_0x25aaaf;let _0x1426fd=(await TermsUtil[_0x3a147d(0x1f5)](_0x2f7ba7))['records'];_0x1426fd&&_0x1426fd['length']>0x0&&(this['META_TERMS']={},_0x1426fd[_0x3a147d(0x1e8)](_0x10751c=>{let _0x2b0bf2=_0x10751c['category']+'.'+_0x10751c['name'];this['META_TERMS'][_0x2b0bf2]=_0x10751c['display'];}));}static async[a0_0x25aaaf(0x1f5)](_0x6e7ca2){const _0x18d398=a0_0x25aaaf;let _0x14d370=[{'name':_0x18d398(0x1fa),'operator':'eq','value':_0x6e7ca2}];const _0x38cb28=await client[_0x18d398(0x1fe)]({'query':a0_0x52352d`
1
+ const a0_0x267d29=a0_0x3ad6;(function(_0x4c529a,_0x55ef69){const _0x34820d=a0_0x3ad6,_0x1e17dc=_0x4c529a();while(!![]){try{const _0x4519f4=-parseInt(_0x34820d(0xdf))/0x1+-parseInt(_0x34820d(0xda))/0x2+parseInt(_0x34820d(0xeb))/0x3+parseInt(_0x34820d(0xdb))/0x4+parseInt(_0x34820d(0xe1))/0x5+-parseInt(_0x34820d(0xe3))/0x6*(parseInt(_0x34820d(0xf2))/0x7)+-parseInt(_0x34820d(0xf0))/0x8*(-parseInt(_0x34820d(0xea))/0x9);if(_0x4519f4===_0x55ef69)break;else _0x1e17dc['push'](_0x1e17dc['shift']());}catch(_0x1fb83e){_0x1e17dc['push'](_0x1e17dc['shift']());}}}(a0_0xd847,0x979bf));import a0_0x219e34 from'graphql-tag';function a0_0x3ad6(_0x2fac0b,_0x5405fd){const _0xd84742=a0_0xd847();return a0_0x3ad6=function(_0x3ad6ce,_0x5e7f2e){_0x3ad6ce=_0x3ad6ce-0xd1;let _0x14b285=_0xd84742[_0x3ad6ce];return _0x14b285;},a0_0x3ad6(_0x2fac0b,_0x5405fd);}function a0_0xd847(){const _0x5da5e2=['menu','data','button','translate','query','records','36cJOQNN','769689RMwpEk','keys','name','tButton','error','3364592AoCZUP','forEach','42245xAyqtR','locale','category','items','fetchTerminologies','title','label','tField','text','tLabel','total','field','tText','830304zDjavw','2216340YWiBkc','terminologies','META_TERMS','downloadTerminologies','1196065RlOcEE','display','3705370FLHRSQ','replace','996OthtiK'];a0_0xd847=function(){return _0x5da5e2;};return a0_0xd847();}import{client}from'@operato/graphql';import{i18next}from'@operato/i18n';export class TermsUtil{[a0_0x267d29(0xdd)]=null;static async[a0_0x267d29(0xde)](_0x526e82){const _0x56956d=a0_0x267d29;let _0x111461=(await TermsUtil[_0x56956d(0xd1)](_0x526e82))[_0x56956d(0xe9)];_0x111461&&_0x111461['length']>0x0&&(this[_0x56956d(0xdd)]={},_0x111461['forEach'](_0x1ef2eb=>{const _0x459da7=_0x56956d;let _0x2616ad=_0x1ef2eb[_0x459da7(0xf4)]+'.'+_0x1ef2eb[_0x459da7(0xed)];this[_0x459da7(0xdd)][_0x2616ad]=_0x1ef2eb[_0x459da7(0xe0)];}));}static async[a0_0x267d29(0xd1)](_0x5b9447){const _0x21e7dd=a0_0x267d29;let _0x2218bb=[{'name':_0x21e7dd(0xf3),'operator':'eq','value':_0x5b9447}];const _0x46134d=await client[_0x21e7dd(0xe8)]({'query':a0_0x219e34`
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_0x25aaaf=a0_0x1751;function a0_0x562d(){const _0x42c0cb=['5305mHiACw','
11
11
  total
12
12
  }
13
13
  }
14
- `,'variables':{'filters':_0x14d370,'sortings':[{'name':'category'},{'name':_0x18d398(0x1f8)}],'pagination':{'page':0x0,'limit':0x0}}});if(!_0x38cb28[_0x18d398(0x200)])return{'records':_0x38cb28[_0x18d398(0x1ea)][_0x18d398(0x1fd)]['items']||[],'total':_0x38cb28[_0x18d398(0x1ea)]['terminologies']['total']||0x0};}static[a0_0x25aaaf(0x1e5)](_0x82fde7,_0x2e7331){const _0x6c0aed=a0_0x25aaaf;let _0x4590d5=TermsUtil[_0x6c0aed(0x205)](_0x6c0aed(0x1f1),_0x82fde7,_0x2e7331,null);return _0x4590d5||TermsUtil[_0x6c0aed(0x205)](_0x6c0aed(0x1f4),_0x82fde7,_0x2e7331,_0x82fde7);}static[a0_0x25aaaf(0x1ec)](_0x582c55,_0x5bc6f4){const _0x399577=a0_0x25aaaf;let _0x2b4ee8=TermsUtil[_0x399577(0x205)]('field',_0x582c55,_0x5bc6f4,null);return _0x2b4ee8||TermsUtil[_0x399577(0x205)](_0x399577(0x1f4),_0x582c55,_0x5bc6f4,_0x582c55);}static['tButton'](_0x571f3f){const _0x59181d=a0_0x25aaaf;return TermsUtil[_0x59181d(0x205)](_0x59181d(0x1f7),_0x571f3f,null,_0x571f3f);}static[a0_0x25aaaf(0x1e9)](_0x153a1d,_0x44a1f5){const _0x36ec20=a0_0x25aaaf;let _0x48ede5=TermsUtil[_0x36ec20(0x205)]('title',_0x153a1d,_0x44a1f5,null);return _0x48ede5||TermsUtil['translate'](_0x36ec20(0x1e6),_0x153a1d,_0x44a1f5,_0x153a1d);}static['tMenu'](_0x1dab0c){const _0x10ed62=a0_0x25aaaf;let _0x44d5b0=TermsUtil[_0x10ed62(0x205)]('menu',_0x1dab0c,null,_0x1dab0c);return _0x44d5b0||TermsUtil[_0x10ed62(0x205)](_0x10ed62(0x1f9),_0x1dab0c,null,_0x1dab0c);}static[a0_0x25aaaf(0x1f3)](_0x32a470,_0x3629ee){const _0x5e73b2=a0_0x25aaaf;return TermsUtil['translate'](_0x5e73b2(0x1fb),_0x32a470,_0x3629ee,_0x32a470);}static['tError'](_0x25ceaa,_0x381505){const _0x46f57d=a0_0x25aaaf;return TermsUtil[_0x46f57d(0x205)]('error',_0x25ceaa,_0x381505,_0x25ceaa);}static[a0_0x25aaaf(0x205)](_0x141b19,_0x197746,_0x3a0d8c,_0x4a1fea){let _0x5eb100=_0x141b19+'.'+_0x197746;return TermsUtil['t'](_0x5eb100,_0x3a0d8c,_0x4a1fea);}static['t'](_0x43bcec,_0x5938eb,_0x1c37ab){const _0x2a7ac6=a0_0x25aaaf;let _0x51caaa=this[_0x2a7ac6(0x1f6)]?this[_0x2a7ac6(0x1f6)][_0x43bcec]:null;return _0x51caaa=_0x51caaa||i18next['t'](_0x43bcec),_0x51caaa&&_0x43bcec!=_0x51caaa?(_0x5938eb&&Object[_0x2a7ac6(0x1ff)](_0x5938eb)[_0x2a7ac6(0x1e8)](function(_0x690a8){const _0xd2308b=_0x2a7ac6;var _0x3c4f30='\x5c{'+_0x690a8['replace'](/\$/,'\x5c$')+'\x5c}',_0x6b2049=new RegExp(_0x3c4f30,'gi');_0x51caaa=_0x51caaa[_0xd2308b(0x203)](_0x6b2049,_0x5938eb[_0x690a8]);}),_0x51caaa):_0x1c37ab;}}
14
+ `,'variables':{'filters':_0x2218bb,'sortings':[{'name':_0x21e7dd(0xf4)},{'name':_0x21e7dd(0xed)}],'pagination':{'page':0x0,'limit':0x0}}});if(!_0x46134d['errors'])return{'records':_0x46134d[_0x21e7dd(0xe5)][_0x21e7dd(0xdc)][_0x21e7dd(0xf5)]||[],'total':_0x46134d['data'][_0x21e7dd(0xdc)][_0x21e7dd(0xd7)]||0x0};}static[a0_0x267d29(0xd6)](_0x20515e,_0x2e711d){const _0x2eab54=a0_0x267d29;let _0x25c708=TermsUtil['translate'](_0x2eab54(0xd3),_0x20515e,_0x2e711d,null);return _0x25c708||TermsUtil[_0x2eab54(0xe7)](_0x2eab54(0xd8),_0x20515e,_0x2e711d,_0x20515e);}static[a0_0x267d29(0xd4)](_0x39fac8,_0x428509){const _0x441aa2=a0_0x267d29;let _0x3a5f2d=TermsUtil['translate']('field',_0x39fac8,_0x428509,null);return _0x3a5f2d||TermsUtil['translate'](_0x441aa2(0xd8),_0x39fac8,_0x428509,_0x39fac8);}static[a0_0x267d29(0xee)](_0x46ae03){const _0x1bdba7=a0_0x267d29;return TermsUtil['translate'](_0x1bdba7(0xe6),_0x46ae03,null,_0x46ae03);}static['tTitle'](_0x4b061a,_0x4b526c){const _0x230516=a0_0x267d29;let _0x18ba88=TermsUtil[_0x230516(0xe7)](_0x230516(0xd2),_0x4b061a,_0x4b526c,null);return _0x18ba88||TermsUtil[_0x230516(0xe7)](_0x230516(0xe4),_0x4b061a,_0x4b526c,_0x4b061a);}static['tMenu'](_0x3897a2){const _0x401c2f=a0_0x267d29;let _0x1bda15=TermsUtil['translate'](_0x401c2f(0xe4),_0x3897a2,null,_0x3897a2);return _0x1bda15||TermsUtil[_0x401c2f(0xe7)](_0x401c2f(0xd2),_0x3897a2,null,_0x3897a2);}static[a0_0x267d29(0xd9)](_0x25145e,_0x34d95d){const _0x94979=a0_0x267d29;return TermsUtil['translate'](_0x94979(0xd5),_0x25145e,_0x34d95d,_0x25145e);}static['tError'](_0x4f593c,_0x6d86e1){const _0x44dc49=a0_0x267d29;return TermsUtil[_0x44dc49(0xe7)](_0x44dc49(0xef),_0x4f593c,_0x6d86e1,_0x4f593c);}static[a0_0x267d29(0xe7)](_0x281e7e,_0x4053ea,_0x1274ca,_0xae2d01){let _0x4fa836=_0x281e7e+'.'+_0x4053ea;return TermsUtil['t'](_0x4fa836,_0x1274ca,_0xae2d01);}static['t'](_0x46e7f2,_0x58ed2e,_0x52e0f7){const _0x20d31c=a0_0x267d29;let _0x3045c=this['META_TERMS']?this[_0x20d31c(0xdd)][_0x46e7f2]:null;return _0x3045c=_0x3045c||i18next['t'](_0x46e7f2),_0x3045c&&_0x46e7f2!=_0x3045c?(_0x58ed2e&&Object[_0x20d31c(0xec)](_0x58ed2e)[_0x20d31c(0xf1)](function(_0x1571e1){const _0xf25ab0=_0x20d31c;var _0x581f6b='\x5c{'+_0x1571e1[_0xf25ab0(0xe2)](/\$/,'\x5c$')+'\x5c}',_0x23032e=new RegExp(_0x581f6b,'gi');_0x3045c=_0x3045c[_0xf25ab0(0xe2)](_0x23032e,_0x58ed2e[_0x1571e1]);}),_0x3045c):_0x52e0f7;}}
@@ -1 +1 @@
1
- const a0_0x260242=a0_0x5574;(function(_0x20268d,_0x20e67f){const _0x1c0f7e=a0_0x5574,_0x3dee9f=_0x20268d();while(!![]){try{const _0x26ac74=parseInt(_0x1c0f7e(0x16d))/0x1+parseInt(_0x1c0f7e(0x16e))/0x2*(-parseInt(_0x1c0f7e(0x140))/0x3)+parseInt(_0x1c0f7e(0x14c))/0x4*(-parseInt(_0x1c0f7e(0x157))/0x5)+parseInt(_0x1c0f7e(0x158))/0x6+parseInt(_0x1c0f7e(0x154))/0x7+-parseInt(_0x1c0f7e(0x14f))/0x8+parseInt(_0x1c0f7e(0x160))/0x9;if(_0x26ac74===_0x20e67f)break;else _0x3dee9f['push'](_0x3dee9f['shift']());}catch(_0x3844d4){_0x3dee9f['push'](_0x3dee9f['shift']());}}}(a0_0x36a4,0x66598));import{store,CustomAlert,navigate}from'@things-factory/shell';import{openPopup}from'@things-factory/layout-base';function a0_0x5574(_0x49e065,_0x56ed4a){const _0x36a401=a0_0x36a4();return a0_0x5574=function(_0x557454,_0x352b07){_0x557454=_0x557454-0x13f;let _0x1049ef=_0x36a401[_0x557454];return _0x1049ef;},a0_0x5574(_0x49e065,_0x56ed4a);}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';function a0_0x36a4(){const _0xf8ab32=['i18next=','modules','1481508gRuuDy','indexOf','getStore','5iUPMRg','1188936cuyrJi','currentRouting','innerHTML','setSearchFormEditorValue','template','ox-select','cookie','isNotEmpty','5226147UsKGyQ','confirmButton','app','ox-input-code','value','cancelButton','length','notify','tButton','htmlToElement','setValueToEditor','page','content','181137YKWLPf','22996fgTbyH','filters','getLeafInput','openPopupByElement','popup_field','tagname','editor','\x27\x20\x20parent_id=\x27','replace','openDynamicPopup','split','getParams','input','parent_field','dispatchEvent','renderRoot','\x27></','getState','\x20route_name=\x27','getFilterFormData','createElement','menu','getType','ox-input-barcode','3tVymlV','type','code-editor','name','textarea','isMobileEnv','showToast','querySelector','onclosed','pass=','substring','firstElementChild','1026224zaXNlN','size','getApplicationModuleInfo','3874736bncULs','forEach','\x27\x20is_popup=true></'];a0_0x36a4=function(){return _0xf8ab32;};return a0_0x36a4();}export class UiUtil{static[a0_0x260242(0x145)](){return isMobileDevice();}static['currentLocale'](){const _0x26de6f=a0_0x260242;let _0x11d672=document[_0x26de6f(0x15e)];return _0x11d672=_0x11d672[_0x26de6f(0x14a)](_0x11d672[_0x26de6f(0x155)]('i18next')),_0x11d672[_0x26de6f(0x155)](';')>-0x1&&(_0x11d672=_0x11d672['substring'](0x0,_0x11d672['indexOf'](';'))),_0x11d672=_0x11d672[_0x26de6f(0x176)](_0x26de6f(0x152),''),'ko'==_0x11d672?'ko-KR':_0x11d672;}static[a0_0x260242(0x14e)](){const _0x540ec5=a0_0x260242;let _0x4ba60a=store[_0x540ec5(0x17f)]()[_0x540ec5(0x162)][_0x540ec5(0x153)];return _0x4ba60a[_0x4ba60a[_0x540ec5(0x166)]-0x1];}static[a0_0x260242(0x159)](){const _0x368435=a0_0x260242;return store[_0x368435(0x17f)]()['route'][_0x368435(0x16b)];}static[a0_0x260242(0x171)](_0x27c4d4,_0x77db20,_0x3d67b6,_0x14f005){return openPopup(_0x3d67b6,{'backdrop':!0x0,'size':_0x77db20,'title':_0x27c4d4,'backdrop':_0x14f005});}static async[a0_0x260242(0x177)](_0x38bce8,_0x1838fa,_0x56e73b,_0x163e42){const _0x31dcbb=a0_0x260242;let _0x363e72=ValueUtil[_0x31dcbb(0x15f)](_0x1838fa[_0x31dcbb(0x17b)])?ValueUtil[_0x31dcbb(0x179)](_0x56e73b,..._0x1838fa[_0x31dcbb(0x17b)][_0x31dcbb(0x178)]('.')):void 0x0,_0x586aea='<'+_0x1838fa[_0x31dcbb(0x173)]+_0x31dcbb(0x180)+_0x1838fa[_0x31dcbb(0x183)]+_0x31dcbb(0x175)+_0x363e72+_0x31dcbb(0x151)+_0x1838fa[_0x31dcbb(0x173)]+'>',_0x514f5f=UiUtil[_0x31dcbb(0x169)](_0x586aea);_0x514f5f['config']=_0x1838fa,ValueUtil['isNotEmpty'](_0x1838fa['popup_field'])&&(_0x514f5f[_0x1838fa[_0x31dcbb(0x172)]]=_0x56e73b);let _0x59c21c=UiUtil[_0x31dcbb(0x171)](_0x38bce8,_0x1838fa[_0x31dcbb(0x14d)],_0x514f5f,!0x0);_0x163e42&&(_0x59c21c[_0x31dcbb(0x148)]=_0x163e42);}static['createCustomElement'](_0x374f38,_0x4a9b0a){const _0x2e6e89=a0_0x260242;let _0x25b228='<'+_0x374f38+_0x2e6e89(0x180)+_0x4a9b0a+_0x2e6e89(0x17e)+_0x374f38+'>';return UiUtil[_0x2e6e89(0x169)](_0x25b228);}static[a0_0x260242(0x169)](_0x8c7efc){const _0x4896c8=a0_0x260242;var _0x3f3057=document[_0x4896c8(0x182)](_0x4896c8(0x15c));_0x3f3057[_0x4896c8(0x15a)]=_0x8c7efc;var _0x3a25d2=_0x3f3057['content']['childNodes'][0x0];return _0x3f3057[_0x4896c8(0x16c)]['removeChild'](_0x3a25d2),_0x3a25d2;}static['pageNavigate'](_0x28fc0b,_0x2bb91d){const _0x3d365f=a0_0x260242;let _0x246506=_0x2bb91d?'?':'';_0x2bb91d&&(_0x246506+=_0x3d365f(0x149)+JSON['stringify'](_0x2bb91d)),navigate(''+_0x28fc0b+_0x246506);}static[a0_0x260242(0x156)](_0x254ba8,_0x2099fd,_0x4f240a){let _0x23a583=_0x23a583['getState']();return _0x254ba8&&_0x2099fd&&_0x4f240a?_0x23a583[_0x254ba8][_0x2099fd][_0x4f240a]:_0x254ba8&&_0x2099fd?_0x23a583[_0x254ba8][_0x2099fd]:_0x254ba8?_0x23a583[_0x254ba8]:_0x23a583;}static['fireCustomEvent'](_0x51b627,_0x4c922d){const _0xd9d2a5=a0_0x260242;document[_0xd9d2a5(0x17c)](new CustomEvent(_0x51b627,{'detail':_0x4c922d}));}static[a0_0x260242(0x146)](_0x4748f9,_0x201e6b){const _0x1f07dd=a0_0x260242;document[_0x1f07dd(0x17c)](new CustomEvent(_0x1f07dd(0x167),{'detail':{'type':_0x4748f9,'message':_0x201e6b}}));}static async['showAlertPopup'](_0x1c667c,_0x1c487b,_0x5ac612,_0x43f5b2,_0x24a039){const _0xdf03a9=a0_0x260242;let _0x1cc669={'title':TermsUtil['t'](_0x1c667c)||_0x1c667c,'text':TermsUtil['t'](_0x1c487b)||_0x1c487b};return _0x5ac612&&(_0x1cc669[_0xdf03a9(0x141)]=_0x5ac612),_0x43f5b2&&(_0x1cc669[_0xdf03a9(0x161)]=TermsUtil[_0xdf03a9(0x168)](_0x43f5b2)),_0x24a039&&(_0x1cc669[_0xdf03a9(0x165)]=TermsUtil[_0xdf03a9(0x168)](_0x24a039)),await CustomAlert(_0x1cc669);}static[a0_0x260242(0x181)](_0x39327e){const _0x5915ab=a0_0x260242;if(ValueUtil['isNotEmpty'](_0x39327e)){let _0xbc8d32=_0x39327e[_0x5915ab(0x16f)]();ValueUtil[_0x5915ab(0x15f)](_0xbc8d32)&&_0xbc8d32[_0x5915ab(0x150)](_0x2f48e6=>{const _0x47550d=_0x5915ab;ValueUtil[_0x47550d(0x15f)](_0x2f48e6[_0x47550d(0x164)])&&(item[_0x2f48e6[_0x47550d(0x143)]]=_0x2f48e6[_0x47550d(0x164)]?_0x2f48e6[_0x47550d(0x164)]:null);});}return{};}static[a0_0x260242(0x15b)](_0x255385,_0x2bdbf5,_0x464d6d){const _0x1e4aa0=a0_0x260242;if(ValueUtil[_0x1e4aa0(0x15f)](_0x255385)){let _0x291c51=_0x255385[_0x1e4aa0(0x17d)]?.['querySelector']('[name=\x27'+_0x2bdbf5+'\x27]');ValueUtil[_0x1e4aa0(0x15f)](_0x291c51)&&(_0x291c51[_0x1e4aa0(0x164)]=_0x464d6d);}}static['createEditorHtml'](_0x48c58b,_0x538dff,_0x5a4cd7,_0x1c06bb){return getEditor(_0x48c58b)('',_0x538dff,_0x5a4cd7,_0x1c06bb,{});}static[a0_0x260242(0x16a)](_0x3fdbbb,_0x3f3f4b){const _0x3c25c1=a0_0x260242;UiUtil['getLeafInput'](_0x3fdbbb)[_0x3c25c1(0x164)]=_0x3f3f4b;}static[a0_0x260242(0x170)](_0x180a86){const _0x374990=a0_0x260242;let _0xa6de4b=_0x180a86[_0x374990(0x184)]();return _0x374990(0x142)==_0xa6de4b?_0x180a86['renderRoot'][_0x374990(0x147)](_0x374990(0x163)):_0x374990(0x144)==_0xa6de4b?_0x180a86[_0x374990(0x17d)][_0x374990(0x147)](_0x374990(0x144)):'select-combo'==_0xa6de4b?_0x180a86[_0x374990(0x17d)][_0x374990(0x147)](_0x374990(0x15d))[_0x374990(0x14b)]:'barcode'==_0xa6de4b?_0x180a86[_0x374990(0x17d)][_0x374990(0x147)](_0x374990(0x13f))[_0x374990(0x17d)][_0x374990(0x147)](_0x374990(0x17a)):_0x180a86[_0x374990(0x17d)][_0x374990(0x14b)][_0x374990(0x174)];}}
1
+ const a0_0x731cf2=a0_0x69a4;(function(_0x401f36,_0x3abb88){const _0x1ae7f0=a0_0x69a4,_0xfd472d=_0x401f36();while(!![]){try{const _0x3fa48c=-parseInt(_0x1ae7f0(0x15c))/0x1*(parseInt(_0x1ae7f0(0x14d))/0x2)+parseInt(_0x1ae7f0(0x155))/0x3*(-parseInt(_0x1ae7f0(0x173))/0x4)+-parseInt(_0x1ae7f0(0x16f))/0x5*(parseInt(_0x1ae7f0(0x167))/0x6)+-parseInt(_0x1ae7f0(0x131))/0x7+parseInt(_0x1ae7f0(0x13e))/0x8+-parseInt(_0x1ae7f0(0x139))/0x9+parseInt(_0x1ae7f0(0x14e))/0xa*(parseInt(_0x1ae7f0(0x140))/0xb);if(_0x3fa48c===_0x3abb88)break;else _0xfd472d['push'](_0xfd472d['shift']());}catch(_0x2d499d){_0xfd472d['push'](_0xfd472d['shift']());}}}(a0_0x3b04,0x4d8f2));import{store,CustomAlert,navigate}from'@things-factory/shell';import{openPopup}from'@things-factory/layout-base';import{isMobileDevice}from'@things-factory/utils';function a0_0x3b04(){const _0x5534ca=['page','i18next=','[name=\x27','6038jVHgue','10MkfyVu','removeChild','firstElementChild','isMobileEnv','input','indexOf','notify','622113FLOyaa','ox-input-code','name','getFilterFormData','tButton','setValueToEditor','substring','163HjHXTG','value','ko-KR','parent_field','code-editor','cookie','app','dispatchEvent','split','childNodes','length','6SCNnRC','getType','size','template','ox-select','currentLocale','cancelButton','\x27\x20\x20parent_id=\x27','1146515xDHodX','popup_field','innerHTML','getState','4prGfRs','forEach','type','getApplicationModuleInfo','onclosed','pass=','tagname','\x20route_name=\x27','getParams','fireCustomEvent','setSearchFormEditorValue','4395622TWzeOx','replace','filters','isNotEmpty','pageNavigate','menu','renderRoot','route','1262637LGBHCJ','createCustomElement','stringify','openDynamicPopup','openPopupByElement','1719240vnzdsm','htmlToElement','19797657CcslHH','ox-input-barcode','content','barcode','querySelector','showAlertPopup','textarea','i18next','getLeafInput','confirmButton'];a0_0x3b04=function(){return _0x5534ca;};return a0_0x3b04();}import{getEditor}from'@operato/data-grist';import{TermsUtil}from'./terms-util';import{ValueUtil}from'./value-util';function a0_0x69a4(_0x4541e2,_0x2f41a1){const _0x3b0408=a0_0x3b04();return a0_0x69a4=function(_0x69a474,_0x17c945){_0x69a474=_0x69a474-0x12b;let _0x335e64=_0x3b0408[_0x69a474];return _0x335e64;},a0_0x69a4(_0x4541e2,_0x2f41a1);}import{MetaUiUtil}from'./meta-ui-util';export class UiUtil{static[a0_0x731cf2(0x151)](){return isMobileDevice();}static[a0_0x731cf2(0x16c)](){const _0x42949a=a0_0x731cf2;let _0x28fe9e=document[_0x42949a(0x161)];return _0x28fe9e=_0x28fe9e[_0x42949a(0x15b)](_0x28fe9e[_0x42949a(0x153)](_0x42949a(0x147))),_0x28fe9e[_0x42949a(0x153)](';')>-0x1&&(_0x28fe9e=_0x28fe9e[_0x42949a(0x15b)](0x0,_0x28fe9e[_0x42949a(0x153)](';'))),_0x28fe9e=_0x28fe9e[_0x42949a(0x132)](_0x42949a(0x14b),''),'ko'==_0x28fe9e?_0x42949a(0x15e):_0x28fe9e;}static[a0_0x731cf2(0x176)](){const _0x96ac2f=a0_0x731cf2;let _0x37a0d1=store['getState']()[_0x96ac2f(0x162)]['modules'];return _0x37a0d1[_0x37a0d1[_0x96ac2f(0x166)]-0x1];}static['currentRouting'](){const _0x19da1f=a0_0x731cf2;return store['getState']()[_0x19da1f(0x138)][_0x19da1f(0x14a)];}static[a0_0x731cf2(0x13d)](_0x48ec44,_0x2ab0aa,_0x448221,_0x2cc82d){return openPopup(_0x448221,{'backdrop':!0x0,'size':_0x2ab0aa,'title':_0x48ec44,'backdrop':_0x2cc82d});}static async[a0_0x731cf2(0x13c)](_0x22c849,_0x2607be,_0x5507c2,_0xd94bce){const _0x4bc016=a0_0x731cf2;let _0xcba920=ValueUtil[_0x4bc016(0x134)](_0x2607be['parent_field'])?ValueUtil[_0x4bc016(0x12e)](_0x5507c2,..._0x2607be[_0x4bc016(0x15f)][_0x4bc016(0x164)]('.')):void 0x0,_0x56895e='<'+_0x2607be[_0x4bc016(0x12c)]+_0x4bc016(0x12d)+_0x2607be[_0x4bc016(0x136)]+_0x4bc016(0x16e)+_0xcba920+'\x27\x20is_popup=true></'+_0x2607be[_0x4bc016(0x12c)]+'>',_0x1edac3=UiUtil[_0x4bc016(0x13f)](_0x56895e);_0x1edac3['config']=_0x2607be,ValueUtil[_0x4bc016(0x134)](_0x2607be[_0x4bc016(0x170)])&&(_0x1edac3[_0x2607be[_0x4bc016(0x170)]]=_0x5507c2);let _0x4ab26b=UiUtil[_0x4bc016(0x13d)](_0x22c849,_0x2607be[_0x4bc016(0x169)],_0x1edac3,!0x0);_0xd94bce&&(_0x4ab26b[_0x4bc016(0x177)]=_0xd94bce);}static[a0_0x731cf2(0x13a)](_0x3ce67f,_0x38ef43){const _0xa1018b=a0_0x731cf2;let _0x476213='<'+_0x3ce67f+_0xa1018b(0x12d)+_0x38ef43+'\x27></'+_0x3ce67f+'>';return UiUtil[_0xa1018b(0x13f)](_0x476213);}static[a0_0x731cf2(0x13f)](_0x54bf06){const _0x3a3705=a0_0x731cf2;var _0x5647d9=document['createElement'](_0x3a3705(0x16a));_0x5647d9[_0x3a3705(0x171)]=_0x54bf06;var _0x517e96=_0x5647d9[_0x3a3705(0x142)][_0x3a3705(0x165)][0x0];return _0x5647d9[_0x3a3705(0x142)][_0x3a3705(0x14f)](_0x517e96),_0x517e96;}static[a0_0x731cf2(0x135)](_0x142523,_0x22bd48){const _0x569522=a0_0x731cf2;let _0xaa22cf=_0x22bd48?'?':'';_0x22bd48&&(_0xaa22cf+=_0x569522(0x12b)+JSON[_0x569522(0x13b)](_0x22bd48)),navigate(''+_0x142523+_0xaa22cf);}static['getStore'](_0xe1abc9,_0x106093,_0x5e2215){const _0x472453=a0_0x731cf2;let _0x356bae=_0x356bae[_0x472453(0x172)]();return _0xe1abc9&&_0x106093&&_0x5e2215?_0x356bae[_0xe1abc9][_0x106093][_0x5e2215]:_0xe1abc9&&_0x106093?_0x356bae[_0xe1abc9][_0x106093]:_0xe1abc9?_0x356bae[_0xe1abc9]:_0x356bae;}static[a0_0x731cf2(0x12f)](_0x490964,_0x22cb11){const _0x472685=a0_0x731cf2;document[_0x472685(0x163)](new CustomEvent(_0x490964,{'detail':_0x22cb11}));}static['showToast'](_0x3d1fbe,_0x9b0cd8){const _0xacf31=a0_0x731cf2;document['dispatchEvent'](new CustomEvent(_0xacf31(0x154),{'detail':{'type':_0x3d1fbe,'message':_0x9b0cd8}}));}static async[a0_0x731cf2(0x145)](_0x23b255,_0x1fb76c,_0x144875,_0x388b1b,_0x2ab060){const _0x23f307=a0_0x731cf2;let _0x317ec9={'title':TermsUtil['t'](_0x23b255)||_0x23b255,'text':TermsUtil['t'](_0x1fb76c)||_0x1fb76c};return _0x144875&&(_0x317ec9[_0x23f307(0x175)]=_0x144875),_0x388b1b&&(_0x317ec9[_0x23f307(0x149)]=TermsUtil[_0x23f307(0x159)](_0x388b1b)),_0x2ab060&&(_0x317ec9[_0x23f307(0x16d)]=TermsUtil[_0x23f307(0x159)](_0x2ab060)),await CustomAlert(_0x317ec9);}static[a0_0x731cf2(0x158)](_0x21a7ce){const _0xf26e43=a0_0x731cf2;if(ValueUtil['isNotEmpty'](_0x21a7ce)){let _0xcfd914=_0x21a7ce[_0xf26e43(0x133)]();ValueUtil[_0xf26e43(0x134)](_0xcfd914)&&_0xcfd914[_0xf26e43(0x174)](_0x219e60=>{const _0x3b5f1f=_0xf26e43;ValueUtil[_0x3b5f1f(0x134)](_0x219e60['value'])&&(item[_0x219e60[_0x3b5f1f(0x157)]]=_0x219e60[_0x3b5f1f(0x15d)]?_0x219e60[_0x3b5f1f(0x15d)]:null);});}return{};}static[a0_0x731cf2(0x130)](_0x20253f,_0x1e7eb9,_0x50db53){const _0x58c3c8=a0_0x731cf2;if(ValueUtil[_0x58c3c8(0x134)](_0x20253f)){let _0x1aa5a9=_0x20253f[_0x58c3c8(0x137)]?.[_0x58c3c8(0x144)](_0x58c3c8(0x14c)+_0x1e7eb9+'\x27]');ValueUtil[_0x58c3c8(0x134)](_0x1aa5a9)&&(_0x1aa5a9[_0x58c3c8(0x15d)]=_0x50db53);}}static['createEditorHtml'](_0x2e82a3,_0x4d6dbe,_0x3026b4,_0x53dc71){return getEditor(_0x2e82a3)('',_0x4d6dbe,_0x3026b4,_0x53dc71,{});}static[a0_0x731cf2(0x15a)](_0x3b7805,_0x885cb6){const _0x7a1bb=a0_0x731cf2;UiUtil[_0x7a1bb(0x148)](_0x3b7805)[_0x7a1bb(0x15d)]=_0x885cb6;}static[a0_0x731cf2(0x148)](_0x5c16b8){const _0xee10a2=a0_0x731cf2;let _0x23f844=_0x5c16b8[_0xee10a2(0x168)]();return _0xee10a2(0x160)==_0x23f844?_0x5c16b8[_0xee10a2(0x137)]['querySelector'](_0xee10a2(0x156)):_0xee10a2(0x146)==_0x23f844?_0x5c16b8[_0xee10a2(0x137)][_0xee10a2(0x144)](_0xee10a2(0x146)):'select-combo'==_0x23f844?_0x5c16b8[_0xee10a2(0x137)][_0xee10a2(0x144)](_0xee10a2(0x16b))[_0xee10a2(0x150)]:_0xee10a2(0x143)==_0x23f844?_0x5c16b8[_0xee10a2(0x137)]['querySelector'](_0xee10a2(0x141))[_0xee10a2(0x137)][_0xee10a2(0x144)](_0xee10a2(0x152)):_0x5c16b8[_0xee10a2(0x137)][_0xee10a2(0x150)]['editor'];}}
@@ -1 +1 @@
1
- const a0_0x48f639=a0_0x5c32;function a0_0x5c32(_0x202b9a,_0x9b1d0e){const _0x4d5bd3=a0_0x4d5b();return a0_0x5c32=function(_0x5c32d5,_0x2e4882){_0x5c32d5=_0x5c32d5-0x83;let _0x39da7e=_0x4d5bd3[_0x5c32d5];return _0x39da7e;},a0_0x5c32(_0x202b9a,_0x9b1d0e);}(function(_0x2a8bb5,_0x5080a9){const _0x476be4=a0_0x5c32,_0x14ea40=_0x2a8bb5();while(!![]){try{const _0x539346=-parseInt(_0x476be4(0x96))/0x1+parseInt(_0x476be4(0x8c))/0x2*(-parseInt(_0x476be4(0x8f))/0x3)+parseInt(_0x476be4(0x92))/0x4*(parseInt(_0x476be4(0x93))/0x5)+parseInt(_0x476be4(0x89))/0x6*(parseInt(_0x476be4(0x88))/0x7)+parseInt(_0x476be4(0x8b))/0x8*(parseInt(_0x476be4(0x98))/0x9)+-parseInt(_0x476be4(0x8e))/0xa+parseInt(_0x476be4(0x90))/0xb;if(_0x539346===_0x5080a9)break;else _0x14ea40['push'](_0x14ea40['shift']());}catch(_0x4c2f97){_0x14ea40['push'](_0x14ea40['shift']());}}}(a0_0x4d5b,0xa2db6));import a0_0x1a9cbc from'lodash-es/isEqual';import{TermsUtil}from'./terms-util';export class ValueUtil{static[a0_0x48f639(0x9a)](_0x196d81){const _0x137aa2=a0_0x48f639;if(void 0x0===_0x196d81)return!0x0;if(null===_0x196d81)return!0x0;if(_0x137aa2(0x99)==typeof _0x196d81)return!0x1;if(_0x137aa2(0x85)==typeof _0x196d81||_0x137aa2(0x8a)==typeof _0x196d81){if(''==_0x196d81)return!0x0;}else{if(Array[_0x137aa2(0x95)](_0x196d81)){if(0x0==_0x196d81['length'])return!0x0;}else{if('object'==typeof _0x196d81&&0x0==Object[_0x137aa2(0x94)](_0x196d81)[_0x137aa2(0x91)])return!0x0;}}return!0x1;}static[a0_0x48f639(0x84)](_0x283a28){const _0x5961c3=a0_0x48f639;return!ValueUtil[_0x5961c3(0x9a)](_0x283a28);}static[a0_0x48f639(0x86)](_0x7dff23,_0x354676){return a0_0x1a9cbc(_0x7dff23,_0x354676);}static['toInteger'](_0x31c297,_0x31f8dc){const _0x154789=a0_0x48f639;return ValueUtil[_0x154789(0x9a)](_0x31c297)?_0x31f8dc||0x0:parseInt(_0x31c297);}static[a0_0x48f639(0x87)](_0x543f73){return!ValueUtil['isEmpty'](_0x543f73)&&('true'==_0x543f73||'t'==_0x543f73||'TRUE'==_0x543f73||'T'==_0x543f73||'on'==_0x543f73||'ON'==_0x543f73);}static[a0_0x48f639(0x83)](_0xd019b3,_0x247e6c,_0x339455){const _0x3c9786=a0_0x48f639;let _0x94cdac=!0x0;return _0x339455[_0x3c9786(0x8d)](_0x4a724b=>{const _0x4bf51c=_0x3c9786;let _0x2eb408=_0xd019b3[_0x4a724b];if('*'===_0x2eb408)return;let _0x541f17=_0x247e6c[_0x4a724b]||'';ValueUtil[_0x4bf51c(0x9a)](_0x2eb408)?ValueUtil[_0x4bf51c(0x84)](_0x541f17)&&(_0x94cdac=!0x1):_0x2eb408!=_0x541f17&&(_0x94cdac=!0x1);}),_0x94cdac;}static['setParams'](_0x543c17,_0x4d9349,_0x2ab78b,_0x37653a){let _0x23b370=ValueUtil['getParams'](_0x4d9349,_0x2ab78b);return ValueUtil['isNotEmpty'](_0x23b370)&&(_0x543c17[_0x2ab78b]=!0x0===_0x37653a?TermsUtil['t'](_0x23b370):_0x23b370),_0x543c17;}static['getParams'](_0x1c044d,..._0x10443c){const _0x281733=a0_0x48f639;if(arguments[_0x281733(0x91)]<=0x1)return;let _0x564105=_0x10443c[0x0];if(ValueUtil['isEmpty'](_0x1c044d[_0x564105]))return;let _0xdf9252=_0x1c044d[_0x564105];return _0x10443c[_0x281733(0x91)]>0x1?ValueUtil[_0x281733(0x9b)](_0xdf9252,..._0x10443c['slice'](0x1)):_0xdf9252;}static[a0_0x48f639(0x9c)](_0x517e46,_0xdd6a0d,..._0x1d6f60){const _0x11495e=a0_0x48f639;return _0xdd6a0d=_0xdd6a0d||[],_0x1d6f60=_0x1d6f60||Object[_0x11495e(0x94)](_0x517e46),ValueUtil[_0x11495e(0x84)](_0x1d6f60)&&(_0xdd6a0d=_0x517e46[_0x11495e(0x97)]((_0x284ab8,_0x289bd8)=>{let _0x473c07=_0xdd6a0d['length']>_0x289bd8?_0xdd6a0d[_0x289bd8]:{};return ValueUtil['populateObject'](_0x284ab8,_0x473c07,_0x1d6f60);})),_0xdd6a0d;}static['populateObject'](_0x59b8b4,_0x4d67fc,..._0x125fac){const _0xe0278f=a0_0x48f639;return _0x4d67fc=_0x4d67fc||{},_0x125fac=_0x125fac||Object['keys'](_0x59b8b4),ValueUtil[_0xe0278f(0x84)](_0x125fac)&&_0x125fac[_0xe0278f(0x8d)](_0x2d8b21=>{_0x4d67fc[_0x2d8b21]=_0x59b8b4[_0x2d8b21];}),_0x4d67fc;}}function a0_0x4d5b(){const _0x35326c=['612DWBzAY','2460OpXKOG','keys','isArray','835690pBpBay','map','963iIrzrl','boolean','isEmpty','getParams','populateArray','compareObjectValues','isNotEmpty','string','isEquals','toBoolean','21qfptWg','892374KNWhRo','number','1216BuICqs','2087222uWHyco','forEach','4226280IrILiV','3dLbJqu','26743904FMVkPU','length'];a0_0x4d5b=function(){return _0x35326c;};return a0_0x4d5b();}
1
+ const a0_0x5f5753=a0_0x699a;(function(_0x3e1d1c,_0x2b2e56){const _0x29b7f4=a0_0x699a,_0x18e31c=_0x3e1d1c();while(!![]){try{const _0x484822=parseInt(_0x29b7f4(0x1d8))/0x1*(parseInt(_0x29b7f4(0x1dd))/0x2)+-parseInt(_0x29b7f4(0x1e4))/0x3*(parseInt(_0x29b7f4(0x1e9))/0x4)+parseInt(_0x29b7f4(0x1e6))/0x5*(-parseInt(_0x29b7f4(0x1ea))/0x6)+parseInt(_0x29b7f4(0x1e1))/0x7+-parseInt(_0x29b7f4(0x1e3))/0x8+parseInt(_0x29b7f4(0x1d9))/0x9*(-parseInt(_0x29b7f4(0x1ec))/0xa)+parseInt(_0x29b7f4(0x1d4))/0xb*(parseInt(_0x29b7f4(0x1e7))/0xc);if(_0x484822===_0x2b2e56)break;else _0x18e31c['push'](_0x18e31c['shift']());}catch(_0x7fd4f){_0x18e31c['push'](_0x18e31c['shift']());}}}(a0_0x59d7,0xbce95));function a0_0x59d7(){const _0x9fc689=['968250JyCzqD','boolean','13670DJoSky','slice','isEquals','toInteger','object','109703svgUAV','TRUE','keys','isEmpty','511018iKdZHF','2259IyTmzB','isNotEmpty','toBoolean','isArray','6TSAagV','length','map','getParams','935151TQLFvb','populateObject','10504128ggBHGY','3FlQGWG','setParams','25RfXvCi','1956ZzdMmE','populateArray','221828MjSTok'];a0_0x59d7=function(){return _0x9fc689;};return a0_0x59d7();}import a0_0xcf88a2 from'lodash-es/isEqual';import{TermsUtil}from'./terms-util';function a0_0x699a(_0x1fc528,_0x5d0f36){const _0x59d7e2=a0_0x59d7();return a0_0x699a=function(_0x699a79,_0xc75486){_0x699a79=_0x699a79-0x1d1;let _0x281f9e=_0x59d7e2[_0x699a79];return _0x281f9e;},a0_0x699a(_0x1fc528,_0x5d0f36);}export class ValueUtil{static[a0_0x5f5753(0x1d7)](_0x3b51e5){const _0x3ae844=a0_0x5f5753;if(void 0x0===_0x3b51e5)return!0x0;if(null===_0x3b51e5)return!0x0;if(_0x3ae844(0x1eb)==typeof _0x3b51e5)return!0x1;if('string'==typeof _0x3b51e5||'number'==typeof _0x3b51e5){if(''==_0x3b51e5)return!0x0;}else{if(Array[_0x3ae844(0x1dc)](_0x3b51e5)){if(0x0==_0x3b51e5[_0x3ae844(0x1de)])return!0x0;}else{if(_0x3ae844(0x1d3)==typeof _0x3b51e5&&0x0==Object[_0x3ae844(0x1d6)](_0x3b51e5)[_0x3ae844(0x1de)])return!0x0;}}return!0x1;}static[a0_0x5f5753(0x1da)](_0x549aba){const _0x2fddc1=a0_0x5f5753;return!ValueUtil[_0x2fddc1(0x1d7)](_0x549aba);}static[a0_0x5f5753(0x1d1)](_0x35b533,_0x8d7723){return a0_0xcf88a2(_0x35b533,_0x8d7723);}static[a0_0x5f5753(0x1d2)](_0x22ecf0,_0x375290){const _0x114a9f=a0_0x5f5753;return ValueUtil[_0x114a9f(0x1d7)](_0x22ecf0)?_0x375290||0x0:parseInt(_0x22ecf0);}static[a0_0x5f5753(0x1db)](_0x2c92d5){const _0x4873e1=a0_0x5f5753;return!ValueUtil['isEmpty'](_0x2c92d5)&&('true'==_0x2c92d5||'t'==_0x2c92d5||_0x4873e1(0x1d5)==_0x2c92d5||'T'==_0x2c92d5||'on'==_0x2c92d5||'ON'==_0x2c92d5);}static['compareObjectValues'](_0x1d92f2,_0x288946,_0x2e63f4){let _0x2c1f13=!0x0;return _0x2e63f4['forEach'](_0x32da90=>{const _0x3037d7=a0_0x699a;let _0x5e1130=_0x1d92f2[_0x32da90];if('*'===_0x5e1130)return;let _0x191b5b=_0x288946[_0x32da90]||'';ValueUtil[_0x3037d7(0x1d7)](_0x5e1130)?ValueUtil['isNotEmpty'](_0x191b5b)&&(_0x2c1f13=!0x1):_0x5e1130!=_0x191b5b&&(_0x2c1f13=!0x1);}),_0x2c1f13;}static[a0_0x5f5753(0x1e5)](_0x4a1a78,_0xd26b33,_0x1ba58a,_0x322b18){const _0x37a4b5=a0_0x5f5753;let _0x3f2afe=ValueUtil[_0x37a4b5(0x1e0)](_0xd26b33,_0x1ba58a);return ValueUtil[_0x37a4b5(0x1da)](_0x3f2afe)&&(_0x4a1a78[_0x1ba58a]=!0x0===_0x322b18?TermsUtil['t'](_0x3f2afe):_0x3f2afe),_0x4a1a78;}static[a0_0x5f5753(0x1e0)](_0x2b0d5c,..._0x18f8a4){const _0x3a17cb=a0_0x5f5753;if(arguments[_0x3a17cb(0x1de)]<=0x1)return;let _0x3a560a=_0x18f8a4[0x0];if(ValueUtil[_0x3a17cb(0x1d7)](_0x2b0d5c[_0x3a560a]))return;let _0x337264=_0x2b0d5c[_0x3a560a];return _0x18f8a4[_0x3a17cb(0x1de)]>0x1?ValueUtil[_0x3a17cb(0x1e0)](_0x337264,..._0x18f8a4[_0x3a17cb(0x1ed)](0x1)):_0x337264;}static[a0_0x5f5753(0x1e8)](_0x4bff82,_0x5f4dd9,..._0x2e040b){const _0x316564=a0_0x5f5753;return _0x5f4dd9=_0x5f4dd9||[],_0x2e040b=_0x2e040b||Object[_0x316564(0x1d6)](_0x4bff82),ValueUtil[_0x316564(0x1da)](_0x2e040b)&&(_0x5f4dd9=_0x4bff82[_0x316564(0x1df)]((_0x977d4a,_0x34c210)=>{const _0x40fb50=_0x316564;let _0x40576a=_0x5f4dd9[_0x40fb50(0x1de)]>_0x34c210?_0x5f4dd9[_0x34c210]:{};return ValueUtil[_0x40fb50(0x1e2)](_0x977d4a,_0x40576a,_0x2e040b);})),_0x5f4dd9;}static[a0_0x5f5753(0x1e2)](_0x96d732,_0x31cf6f,..._0x1027fc){const _0x553c64=a0_0x5f5753;return _0x31cf6f=_0x31cf6f||{},_0x1027fc=_0x1027fc||Object[_0x553c64(0x1d6)](_0x96d732),ValueUtil['isNotEmpty'](_0x1027fc)&&_0x1027fc['forEach'](_0x25e696=>{_0x31cf6f[_0x25e696]=_0x96d732[_0x25e696];}),_0x31cf6f;}}
@@ -1,4 +1,4 @@
1
- (function(_0x39af40,_0x189e5c){const _0x22cf0c=a0_0x2c14,_0x322aca=_0x39af40();while(!![]){try{const _0x507d91=parseInt(_0x22cf0c(0xb5))/0x1+parseInt(_0x22cf0c(0xb2))/0x2*(-parseInt(_0x22cf0c(0xb3))/0x3)+parseInt(_0x22cf0c(0xb6))/0x4*(-parseInt(_0x22cf0c(0xb4))/0x5)+-parseInt(_0x22cf0c(0xb9))/0x6*(-parseInt(_0x22cf0c(0xb1))/0x7)+parseInt(_0x22cf0c(0xad))/0x8*(-parseInt(_0x22cf0c(0xb7))/0x9)+-parseInt(_0x22cf0c(0xaf))/0xa*(-parseInt(_0x22cf0c(0xb8))/0xb)+-parseInt(_0x22cf0c(0xae))/0xc*(-parseInt(_0x22cf0c(0xb0))/0xd);if(_0x507d91===_0x189e5c)break;else _0x322aca['push'](_0x322aca['shift']());}catch(_0x41991c){_0x322aca['push'](_0x322aca['shift']());}}}(a0_0x5545,0x94968));function a0_0x2c14(_0x226f8c,_0x358b1d){const _0x5545e2=a0_0x5545();return a0_0x2c14=function(_0x2c1471,_0x5f0675){_0x2c1471=_0x2c1471-0xad;let _0x290b70=_0x5545e2[_0x2c1471];return _0x290b70;},a0_0x2c14(_0x226f8c,_0x358b1d);}import{css}from'lit';function a0_0x5545(){const _0x5bf78d=['13PhCoOq','2594186hNCLMR','468xGeFiq','1266Tltill','26485aifZoi','71647HigrZs','860meIaLB','5157rcyqhC','2044394lzLZnJ','18sMTAKK','1208KUsgbq','6761364TDgCLD','10plcRwA'];a0_0x5545=function(){return _0x5bf78d;};return a0_0x5545();}export const DynamicMenuLandscapeStyles=css`
1
+ (function(_0x5476dd,_0x9e1a5d){const _0x174203=a0_0x12d0,_0xc51513=_0x5476dd();while(!![]){try{const _0x2fc44c=-parseInt(_0x174203(0x91))/0x1*(-parseInt(_0x174203(0x88))/0x2)+-parseInt(_0x174203(0x8b))/0x3+-parseInt(_0x174203(0x8a))/0x4*(parseInt(_0x174203(0x8e))/0x5)+parseInt(_0x174203(0x8d))/0x6+parseInt(_0x174203(0x89))/0x7*(parseInt(_0x174203(0x87))/0x8)+-parseInt(_0x174203(0x90))/0x9+parseInt(_0x174203(0x8c))/0xa*(parseInt(_0x174203(0x8f))/0xb);if(_0x2fc44c===_0x9e1a5d)break;else _0xc51513['push'](_0xc51513['shift']());}catch(_0x2d45f4){_0xc51513['push'](_0xc51513['shift']());}}}(a0_0x41de,0xd9f8e));function a0_0x12d0(_0x54f268,_0xbb6765){const _0x41deb2=a0_0x41de();return a0_0x12d0=function(_0x12d050,_0x150b9e){_0x12d050=_0x12d050-0x87;let _0x2fdbbc=_0x41deb2[_0x12d050];return _0x2fdbbc;},a0_0x12d0(_0x54f268,_0xbb6765);}import{css}from'lit';export const DynamicMenuLandscapeStyles=css`
2
2
  :host {
3
3
  overflow-x: auto;
4
4
  background-color: var(--secondary-text-color);
@@ -144,4 +144,4 @@
144
144
  background-color: rgba(var(--secondary-color-rgb), 0.3);
145
145
  }
146
146
  }
147
- `;
147
+ `;function a0_0x41de(){const _0x477b22=['2eByCyX','21bGjVzi','4batawl','3834504kmqlhL','970AGQyZy','1764294wUmDUW','4237940MfbMea','170665PuXOke','5192892TviDKa','1303228YSWEEu','1315536nStUZF'];a0_0x41de=function(){return _0x477b22;};return a0_0x41de();}
@@ -1,25 +1,25 @@
1
- function a0_0x39d9(){const _0x482800=['icon','4884000AdGqHk','map','target','preventDefault','active-toplevel','2wazmEN','activeTopLevel','currentTarget','bind','1415079gawDIZ','menus','setAttribute','wheelDelta','max','1565800xNgUaf','dispatchEvent','137068tmvDyA','addEventListener','querySelector','click','firstUpdated','description','name','transitionend','href','min','scrollLeft','onWheelEvent','removeAttribute','1337824OushgT','submenu','path','mousewheel','#force','5240130zFjljL','#wrap','renderRoot','4540130JOoTQb','settled','stopPropagation'];a0_0x39d9=function(){return _0x482800;};return a0_0x39d9();}const a0_0x40b6cb=a0_0x50a3;(function(_0x24189d,_0x277cf9){const _0x132819=a0_0x50a3,_0x5be68f=_0x24189d();while(!![]){try{const _0x14ef23=parseInt(_0x132819(0x1d1))/0x1*(-parseInt(_0x132819(0x1dc))/0x2)+-parseInt(_0x132819(0x1d5))/0x3+parseInt(_0x132819(0x1da))/0x4+parseInt(_0x132819(0x1c8))/0x5+-parseInt(_0x132819(0x1cc))/0x6+parseInt(_0x132819(0x1c5))/0x7+-parseInt(_0x132819(0x1c0))/0x8;if(_0x14ef23===_0x277cf9)break;else _0x5be68f['push'](_0x5be68f['shift']());}catch(_0x1a9714){_0x5be68f['push'](_0x5be68f['shift']());}}}(a0_0x39d9,0x6fd5d));import'@material/mwc-icon';import{html,LitElement}from'lit';function a0_0x50a3(_0x492088,_0x39fe8c){const _0x39d9d1=a0_0x39d9();return a0_0x50a3=function(_0x50a38d,_0x213003){_0x50a38d=_0x50a38d-0x1b8;let _0xb2e374=_0x39d9d1[_0x50a38d];return _0xb2e374;},a0_0x50a3(_0x492088,_0x39fe8c);}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['styles'](){return[ScrollbarStyles,DynamicMenuLandscapeStyles];}static get['properties'](){return{'menus':Array,'activeTopLevel':Object,'activeMenu':Object,'path':String};}['render'](){const _0x1343e9=a0_0x50a3,{menus:_0x552434=[],activeTopLevel:_0x5ecfd1,activeMenu:_0x53d9eb}=this;return html`
1
+ function a0_0x218d(){const _0x3ca43f=['417665bxopsU','renderRoot','target','scrollLeft','properties','href','97404fdWfOP','activeTopLevel','max','click','2718rbrUjQ','styles','6zqFEdx','664204sZwpvA','settled','icon','currentTarget','addEventListener','dynamic-menu-landscape','submenu','map','bind','wheelDelta','path','11770QtBnWU','description','mousewheel','dispatchEvent','querySelector','detail','161bQPaHV','preventDefault','7935147qllJBn','min','4853568NFixei','group','menus','transitionstart','#force','stopPropagation','firstUpdated','7575wSmlfL','onWheelEvent','define','688CsNNAA'];a0_0x218d=function(){return _0x3ca43f;};return a0_0x218d();}const a0_0x4bb5e3=a0_0x3392;(function(_0x2f6fee,_0x908cc2){const _0x58c2c8=a0_0x3392,_0x495006=_0x2f6fee();while(!![]){try{const _0x1e1690=parseInt(_0x58c2c8(0x1cb))/0x1+-parseInt(_0x58c2c8(0x1d8))/0x2*(parseInt(_0x58c2c8(0x1d7))/0x3)+parseInt(_0x58c2c8(0x1ca))/0x4*(-parseInt(_0x58c2c8(0x1c7))/0x5)+-parseInt(_0x58c2c8(0x1d1))/0x6*(-parseInt(_0x58c2c8(0x1bc))/0x7)+-parseInt(_0x58c2c8(0x1c0))/0x8+parseInt(_0x58c2c8(0x1d5))/0x9*(parseInt(_0x58c2c8(0x1b6))/0xa)+parseInt(_0x58c2c8(0x1be))/0xb;if(_0x1e1690===_0x908cc2)break;else _0x495006['push'](_0x495006['shift']());}catch(_0x2bb4c3){_0x495006['push'](_0x495006['shift']());}}}(a0_0x218d,0x5220e));import'@material/mwc-icon';function a0_0x3392(_0x4aff3d,_0x2633be){const _0x218dc5=a0_0x218d();return a0_0x3392=function(_0x33928c,_0x5a647c){_0x33928c=_0x33928c-0x1b4;let _0x166ccd=_0x218dc5[_0x33928c];return _0x166ccd;},a0_0x3392(_0x4aff3d,_0x2633be);}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_0x4bb5e3(0x1d6)](){return[ScrollbarStyles,DynamicMenuLandscapeStyles];}static get[a0_0x4bb5e3(0x1cf)](){return{'menus':Array,'activeTopLevel':Object,'activeMenu':Object,'path':String};}['render'](){const _0x17baf4=a0_0x4bb5e3,{menus:_0x3af97a=[],activeTopLevel:_0x361741,activeMenu:_0x53ab61}=this;return html`
2
2
  <div id="wrap">
3
3
  <ul>
4
- ${_0x552434[_0x1343e9(0x1cd)](_0x2341c1=>'group'==_0x2341c1['type']?html``:html`
5
- <li ?active=${_0x2341c1===_0x5ecfd1}>
6
- <a href=${_0x2341c1[_0x1343e9(0x1c2)]||'#'}>
7
- ${_0x2341c1[_0x1343e9(0x1cb)]?html`<mwc-icon>${_0x2341c1[_0x1343e9(0x1cb)]}</mwc-icon>`:html``} ${_0x2341c1[_0x1343e9(0x1b9)]}
4
+ ${_0x3af97a[_0x17baf4(0x1df)](_0x583d19=>_0x17baf4(0x1c1)==_0x583d19['type']?html``:html`
5
+ <li ?active=${_0x583d19===_0x361741}>
6
+ <a href=${_0x583d19[_0x17baf4(0x1b5)]||'#'}>
7
+ ${_0x583d19['icon']?html`<mwc-icon>${_0x583d19[_0x17baf4(0x1da)]}</mwc-icon>`:html``} ${_0x583d19['name']}
8
8
  </a>
9
9
 
10
10
  <ul submenus>
11
- ${_0x2341c1[_0x1343e9(0x1d6)]?.['map'](_0xcc6e40=>html`
12
- <li ?active=${_0xcc6e40===_0x53d9eb}>
13
- <a href=${_0xcc6e40[_0x1343e9(0x1c2)]||'#'}> ${_0xcc6e40[_0x1343e9(0x1b9)]} </a>
11
+ ${_0x583d19[_0x17baf4(0x1c2)]?.['map'](_0x5cef7a=>html`
12
+ <li ?active=${_0x5cef7a===_0x53ab61}>
13
+ <a href=${_0x5cef7a[_0x17baf4(0x1b5)]||'#'}> ${_0x5cef7a['name']} </a>
14
14
  </li>
15
15
  `)}
16
16
  </ul>
17
17
 
18
18
  <div description>
19
- ${_0x2341c1['icon']?html`<mwc-icon>${_0x2341c1[_0x1343e9(0x1cb)]}</mwc-icon>`:html``} ${_0x2341c1[_0x1343e9(0x1b8)]||''}
19
+ ${_0x583d19[_0x17baf4(0x1da)]?html`<mwc-icon>${_0x583d19['icon']}</mwc-icon>`:html``} ${_0x583d19[_0x17baf4(0x1b7)]||''}
20
20
  </div>
21
21
  </li>
22
22
  `)}
23
23
  </ul>
24
24
  </div>
25
- `;}[a0_0x40b6cb(0x1e0)](){const _0x113ed3=a0_0x40b6cb;this[_0x113ed3(0x1c7)][_0x113ed3(0x1de)](_0x113ed3(0x1c6))[_0x113ed3(0x1dd)](_0x113ed3(0x1c3),this['onWheelEvent'][_0x113ed3(0x1d4)](this),!0x1),this['renderRoot'][_0x113ed3(0x1dd)](_0x113ed3(0x1df),_0x533a1a=>{const _0x2c01f4=_0x113ed3;if(_0x533a1a[_0x2c01f4(0x1ce)]['submenu']){_0x533a1a[_0x2c01f4(0x1ca)](),_0x533a1a[_0x2c01f4(0x1cf)]();let _0x5b36c9=_0x533a1a['target'][_0x2c01f4(0x1c1)];return void this[_0x2c01f4(0x1db)](new CustomEvent(_0x2c01f4(0x1d0),{'bubbles':!0x0,'detail':this[_0x2c01f4(0x1d2)]===_0x5b36c9?void 0x0:_0x5b36c9}));}let _0x1d768d=_0x533a1a['target'][_0x2c01f4(0x1bb)];_0x1d768d&&location[_0x2c01f4(0x1bb)]===_0x1d768d&&navigate(_0x1d768d+_0x2c01f4(0x1c4),!0x0);}),this[_0x113ed3(0x1c7)][_0x113ed3(0x1dd)]('transitionstart',_0x3801ed=>{const _0x47cabd=_0x113ed3;_0x3801ed[_0x47cabd(0x1ce)][_0x47cabd(0x1bf)](_0x47cabd(0x1c9));}),this[_0x113ed3(0x1c7)][_0x113ed3(0x1dd)](_0x113ed3(0x1ba),_0x5a3bfe=>{const _0x1db068=_0x113ed3;_0x5a3bfe[_0x1db068(0x1ce)][_0x1db068(0x1d7)](_0x1db068(0x1c9),'');});}[a0_0x40b6cb(0x1be)](_0xf20815){const _0x4b26fd=a0_0x40b6cb,_0x593639=_0xf20815[_0x4b26fd(0x1d3)];var _0x38b74d=Math[_0x4b26fd(0x1d9)](-0x1,Math[_0x4b26fd(0x1bc)](0x1,_0xf20815[_0x4b26fd(0x1d8)]||-_0xf20815['detail']));_0x593639[_0x4b26fd(0x1bd)]-=0xa*_0x38b74d,_0xf20815[_0x4b26fd(0x1cf)]();}}customElements['define']('dynamic-menu-landscape',DynamicMenuLandscape);
25
+ `;}[a0_0x4bb5e3(0x1c6)](){const _0x8e0563=a0_0x4bb5e3;this['renderRoot'][_0x8e0563(0x1ba)]('#wrap')[_0x8e0563(0x1dc)](_0x8e0563(0x1b8),this[_0x8e0563(0x1c8)][_0x8e0563(0x1e0)](this),!0x1),this[_0x8e0563(0x1cc)][_0x8e0563(0x1dc)](_0x8e0563(0x1d4),_0xdbd69d=>{const _0x37b760=_0x8e0563;if(_0xdbd69d[_0x37b760(0x1cd)][_0x37b760(0x1de)]){_0xdbd69d[_0x37b760(0x1c5)](),_0xdbd69d[_0x37b760(0x1bd)]();let _0x333675=_0xdbd69d[_0x37b760(0x1cd)][_0x37b760(0x1de)];return void this[_0x37b760(0x1b9)](new CustomEvent('active-toplevel',{'bubbles':!0x0,'detail':this[_0x37b760(0x1d2)]===_0x333675?void 0x0:_0x333675}));}let _0x259362=_0xdbd69d['target']['href'];_0x259362&&location[_0x37b760(0x1d0)]===_0x259362&&navigate(_0x259362+_0x37b760(0x1c4),!0x0);}),this[_0x8e0563(0x1cc)][_0x8e0563(0x1dc)](_0x8e0563(0x1c3),_0x4a162a=>{const _0x42d1ca=_0x8e0563;_0x4a162a[_0x42d1ca(0x1cd)]['removeAttribute']('settled');}),this['renderRoot'][_0x8e0563(0x1dc)]('transitionend',_0xd49439=>{const _0x2be4b9=_0x8e0563;_0xd49439[_0x2be4b9(0x1cd)]['setAttribute'](_0x2be4b9(0x1d9),'');});}[a0_0x4bb5e3(0x1c8)](_0x5bbd00){const _0x59d21e=a0_0x4bb5e3,_0x1a6cb0=_0x5bbd00[_0x59d21e(0x1db)];var _0x3df755=Math[_0x59d21e(0x1d3)](-0x1,Math[_0x59d21e(0x1bf)](0x1,_0x5bbd00[_0x59d21e(0x1b4)]||-_0x5bbd00[_0x59d21e(0x1bb)]));_0x1a6cb0[_0x59d21e(0x1ce)]-=0xa*_0x3df755,_0x5bbd00['preventDefault']();}}customElements[a0_0x4bb5e3(0x1c9)](a0_0x4bb5e3(0x1dd),DynamicMenuLandscape);
@@ -1,4 +1,4 @@
1
- var a0_0x2528e6=a0_0x628c;(function(_0x1c37a0,_0x1072cd){var _0x200a07=a0_0x628c,_0x3d845a=_0x1c37a0();while(!![]){try{var _0x9b7baa=-parseInt(_0x200a07(0x1a4))/0x1*(parseInt(_0x200a07(0x18e))/0x2)+parseInt(_0x200a07(0x1a3))/0x3+parseInt(_0x200a07(0x1a7))/0x4*(parseInt(_0x200a07(0x19e))/0x5)+parseInt(_0x200a07(0x1ab))/0x6+-parseInt(_0x200a07(0x18f))/0x7*(parseInt(_0x200a07(0x19f))/0x8)+parseInt(_0x200a07(0x1a9))/0x9+parseInt(_0x200a07(0x198))/0xa*(-parseInt(_0x200a07(0x184))/0xb);if(_0x9b7baa===_0x1072cd)break;else _0x3d845a['push'](_0x3d845a['shift']());}catch(_0x347558){_0x3d845a['push'](_0x3d845a['shift']());}}}(a0_0x1f30,0xe4489));import'@material/mwc-icon';import'./dynamic-menu-portrait';import'./dynamic-menu-landscape';import{css,html,LitElement}from'lit';function a0_0x628c(_0x4c9f1f,_0x165ef2){var _0x1f30e5=a0_0x1f30();return a0_0x628c=function(_0x628c39,_0x44d8e1){_0x628c39=_0x628c39-0x183;var _0x5b920f=_0x1f30e5[_0x628c39];return _0x5b920f;},a0_0x628c(_0x4c9f1f,_0x165ef2);}import{connect}from'pwa-helpers';import{store}from'@operato/shell';import{ScrollbarStyles}from'@operato/styles';function isActiveMenu(_0x452728,_0x2700bd){var _0x119b18=a0_0x628c;return _0x452728[_0x119b18(0x1a5)]?.['split']('?')[0x0]===_0x2700bd||_0x452728[_0x119b18(0x193)]&&_0x119b18(0x197)==typeof _0x452728['active']&&_0x452728['active'][_0x119b18(0x19d)](_0x452728,{'path':_0x2700bd});}export class DynamicMenuPart extends connect(store)(LitElement){static get[a0_0x2528e6(0x1aa)](){return{'page':String,'resourceId':String,'menus':Array,'orientation':String,'_activeTopLevel':Object,'_activeMenu':Object,'_path':String};}static get[a0_0x2528e6(0x1a2)](){return[ScrollbarStyles,css`
1
+ function a0_0x6b2a(){var _0x15c2bc=['replaceChild','orientation','active','call','2404792EdlWSJ','menus','26144110ChWFAG','define','has','_findActivePage','portrait','renderRoot','setAttribute','landscape','find','14eMUtsH','568925KeFBVr','updated','metaUI','_activeTopLevel','52izvyet','slotTemplate','page','27QDverC','detail','227672XKzqHo','split','preventDefault','528779CXUjMm','removeAttribute','_path','firstUpdated','properties','route','2577048KRYwHy','function','dynamic-menu-part','active-toplevel','path','stateChanged','1738563QHRvWs','resourceId','stopPropagation'];a0_0x6b2a=function(){return _0x15c2bc;};return a0_0x6b2a();}var a0_0x9f359c=a0_0x2a1e;(function(_0x13de7c,_0x1e4a1c){var _0x2b28ef=a0_0x2a1e,_0x246a2e=_0x13de7c();while(!![]){try{var _0x345a96=parseInt(_0x2b28ef(0x209))/0x1+parseInt(_0x2b28ef(0x1f1))/0x2+-parseInt(_0x2b28ef(0x1ea))/0x3+-parseInt(_0x2b28ef(0x201))/0x4*(-parseInt(_0x2b28ef(0x1fd))/0x5)+parseInt(_0x2b28ef(0x20f))/0x6*(parseInt(_0x2b28ef(0x1fc))/0x7)+parseInt(_0x2b28ef(0x206))/0x8*(-parseInt(_0x2b28ef(0x204))/0x9)+-parseInt(_0x2b28ef(0x1f3))/0xa;if(_0x345a96===_0x1e4a1c)break;else _0x246a2e['push'](_0x246a2e['shift']());}catch(_0x4ef7c2){_0x246a2e['push'](_0x246a2e['shift']());}}}(a0_0x6b2a,0xc0e47));import'@material/mwc-icon';import'./dynamic-menu-portrait';function a0_0x2a1e(_0x37bfd2,_0x2382ab){var _0x6b2a61=a0_0x6b2a();return a0_0x2a1e=function(_0x2a1e1d,_0x21cb34){_0x2a1e1d=_0x2a1e1d-0x1e7;var _0x407799=_0x6b2a61[_0x2a1e1d];return _0x407799;},a0_0x2a1e(_0x37bfd2,_0x2382ab);}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(_0x4069a1,_0x4d59c4){var _0x24e145=a0_0x2a1e;return _0x4069a1[_0x24e145(0x1e8)]?.[_0x24e145(0x207)]('?')[0x0]===_0x4d59c4||_0x4069a1[_0x24e145(0x1ef)]&&_0x24e145(0x210)==typeof _0x4069a1['active']&&_0x4069a1[_0x24e145(0x1ef)][_0x24e145(0x1f0)](_0x4069a1,{'path':_0x4d59c4});}export class DynamicMenuPart extends connect(store)(LitElement){static get[a0_0x9f359c(0x20d)](){return{'page':String,'resourceId':String,'menus':Array,'orientation':String,'_activeTopLevel':Object,'_activeMenu':Object,'_path':String};}static get['styles'](){return[ScrollbarStyles,css`
2
2
  :host {
3
3
  display: flex;
4
4
  overflow-y: auto;
@@ -27,18 +27,18 @@ var a0_0x2528e6=a0_0x628c;(function(_0x1c37a0,_0x1072cd){var _0x200a07=a0_0x628c
27
27
  dynamic-menu-landscape {
28
28
  flex: 1;
29
29
  }
30
- `];}[a0_0x2528e6(0x196)](){var _0x552f47=a0_0x2528e6;return html`
30
+ `];}['render'](){var _0x42088d=a0_0x9f359c;return html`
31
31
  <slot name="head"></slot>
32
- ${_0x552f47(0x188)!==this['orientation']?html`<dynamic-menu-portrait
33
- .menus=${this[_0x552f47(0x195)]}
34
- .activeTopLevel=${this[_0x552f47(0x19a)]}
32
+ ${_0x42088d(0x1fa)!==this[_0x42088d(0x1ee)]?html`<dynamic-menu-portrait
33
+ .menus=${this[_0x42088d(0x1f2)]}
34
+ .activeTopLevel=${this[_0x42088d(0x200)]}
35
35
  .activeMenu=${this['_activeMenu']}
36
- .path=${this['_path']}
36
+ .path=${this[_0x42088d(0x20b)]}
37
37
  ></dynamic-menu-portrait>`:html`<dynamic-menu-landscape
38
- .menus=${this[_0x552f47(0x195)]}
39
- .activeTopLevel=${this[_0x552f47(0x19a)]}
40
- .activeMenu=${this[_0x552f47(0x19b)]}
41
- .path=${this[_0x552f47(0x1ac)]}
38
+ .menus=${this['menus']}
39
+ .activeTopLevel=${this[_0x42088d(0x200)]}
40
+ .activeMenu=${this['_activeMenu']}
41
+ .path=${this['_path']}
42
42
  ></dynamic-menu-landscape>`}
43
43
  <slot name="tail"></slot>
44
- `;}[a0_0x2528e6(0x18b)](){var _0x4c5a18=a0_0x2528e6;this[_0x4c5a18(0x191)]['addEventListener'](_0x4c5a18(0x199),_0x26b766=>{var _0x2b9f64=_0x4c5a18;_0x26b766[_0x2b9f64(0x190)](),_0x26b766[_0x2b9f64(0x18a)](),this[_0x2b9f64(0x19a)]=_0x26b766[_0x2b9f64(0x1a1)];});}['updated'](_0x265b53){var _0x35b323=a0_0x2528e6;(_0x265b53[_0x35b323(0x19c)](_0x35b323(0x195))||_0x265b53[_0x35b323(0x19c)](_0x35b323(0x1a0))||_0x265b53[_0x35b323(0x19c)]('resourceId'))&&this[_0x35b323(0x183)](),_0x265b53['has']('orientation')&&('portrait'==this['orientation']?this[_0x35b323(0x192)]('landscape'):this[_0x35b323(0x1a6)](_0x35b323(0x188),!0x0)),_0x265b53[_0x35b323(0x19c)](_0x35b323(0x187))&&this[_0x35b323(0x185)](this['slotTemplate']);}[a0_0x2528e6(0x189)](_0x1eb68e){var _0x32db65=a0_0x2528e6;this[_0x32db65(0x1a0)]=_0x1eb68e[_0x32db65(0x1ad)][_0x32db65(0x1a0)],this['resourceId']=_0x1eb68e['route']['resourceId'],this[_0x32db65(0x195)]=_0x1eb68e[_0x32db65(0x194)][_0x32db65(0x195)]||[],this['slotTemplate']=_0x1eb68e['metaUI']['slotTemplate'];}[a0_0x2528e6(0x183)](){var _0x4132d3=a0_0x2528e6,_0xac82,_0x578c6f=this['resourceId']?this[_0x4132d3(0x1a0)]+'/'+this[_0x4132d3(0x1a8)]:this[_0x4132d3(0x1a0)],_0x2ec306=this[_0x4132d3(0x195)]||[];this['_activeTopLevel']=_0x2ec306[_0x4132d3(0x18d)](_0x303e4d=>isActiveMenu(_0x303e4d,_0x578c6f)?(_0xac82=_0x303e4d,!0x0):_0x303e4d[_0x4132d3(0x195)]?!!(_0xac82=_0x303e4d['menus']['find'](_0x2b0993=>isActiveMenu(_0x2b0993,_0x578c6f))):void 0x0),this[_0x4132d3(0x1ac)]=_0x578c6f,this[_0x4132d3(0x19b)]=_0xac82||this[_0x4132d3(0x19a)];}}function a0_0x1f30(){var _0x8262c=['landscape','stateChanged','preventDefault','firstUpdated','dynamic-menu-part','find','12472AoQrUf','7wOlqoH','stopPropagation','renderRoot','removeAttribute','active','metaUI','menus','render','function','44830xhDjcZ','active-toplevel','_activeTopLevel','_activeMenu','has','call','59680BLSEKs','1745000ceJYID','page','detail','styles','89142mJPmly','148Plfuih','path','setAttribute','536ALXMpa','resourceId','15508476EEuAnu','properties','11010012AZecWK','_path','route','_findActivePage','7634uWiXXx','replaceChild','define','slotTemplate'];a0_0x1f30=function(){return _0x8262c;};return a0_0x1f30();}customElements[a0_0x2528e6(0x186)](a0_0x2528e6(0x18c),DynamicMenuPart);
44
+ `;}[a0_0x9f359c(0x20c)](){var _0x5c3a40=a0_0x9f359c;this[_0x5c3a40(0x1f8)]['addEventListener'](_0x5c3a40(0x1e7),_0x62efba=>{var _0x30966=_0x5c3a40;_0x62efba[_0x30966(0x1ec)](),_0x62efba[_0x30966(0x208)](),this[_0x30966(0x200)]=_0x62efba[_0x30966(0x205)];});}[a0_0x9f359c(0x1fe)](_0x55aaa0){var _0x24af54=a0_0x9f359c;(_0x55aaa0['has']('menus')||_0x55aaa0['has'](_0x24af54(0x203))||_0x55aaa0[_0x24af54(0x1f5)]('resourceId'))&&this['_findActivePage'](),_0x55aaa0['has'](_0x24af54(0x1ee))&&(_0x24af54(0x1f7)==this[_0x24af54(0x1ee)]?this[_0x24af54(0x20a)]('landscape'):this[_0x24af54(0x1f9)](_0x24af54(0x1fa),!0x0)),_0x55aaa0[_0x24af54(0x1f5)](_0x24af54(0x202))&&this[_0x24af54(0x1ed)](this[_0x24af54(0x202)]);}[a0_0x9f359c(0x1e9)](_0x550574){var _0x43c284=a0_0x9f359c;this[_0x43c284(0x203)]=_0x550574[_0x43c284(0x20e)]['page'],this[_0x43c284(0x1eb)]=_0x550574[_0x43c284(0x20e)][_0x43c284(0x1eb)],this[_0x43c284(0x1f2)]=_0x550574[_0x43c284(0x1ff)][_0x43c284(0x1f2)]||[],this[_0x43c284(0x202)]=_0x550574[_0x43c284(0x1ff)][_0x43c284(0x202)];}[a0_0x9f359c(0x1f6)](){var _0x385396=a0_0x9f359c,_0x1a1b11,_0x1a0996=this[_0x385396(0x1eb)]?this[_0x385396(0x203)]+'/'+this['resourceId']:this[_0x385396(0x203)],_0x351c1e=this[_0x385396(0x1f2)]||[];this[_0x385396(0x200)]=_0x351c1e[_0x385396(0x1fb)](_0x47795d=>isActiveMenu(_0x47795d,_0x1a0996)?(_0x1a1b11=_0x47795d,!0x0):_0x47795d['menus']?!!(_0x1a1b11=_0x47795d[_0x385396(0x1f2)][_0x385396(0x1fb)](_0x4cf12e=>isActiveMenu(_0x4cf12e,_0x1a0996))):void 0x0),this['_path']=_0x1a0996,this['_activeMenu']=_0x1a1b11||this[_0x385396(0x200)];}}customElements[a0_0x9f359c(0x1f4)](a0_0x9f359c(0x211),DynamicMenuPart);
@@ -1,4 +1,4 @@
1
- (function(_0x4b3186,_0x195fc6){const _0x23eda6=a0_0x328d,_0xf8d566=_0x4b3186();while(!![]){try{const _0x451576=parseInt(_0x23eda6(0xcc))/0x1*(-parseInt(_0x23eda6(0xd4))/0x2)+-parseInt(_0x23eda6(0xcf))/0x3*(parseInt(_0x23eda6(0xca))/0x4)+-parseInt(_0x23eda6(0xcd))/0x5+-parseInt(_0x23eda6(0xd2))/0x6+parseInt(_0x23eda6(0xd1))/0x7*(parseInt(_0x23eda6(0xce))/0x8)+parseInt(_0x23eda6(0xd3))/0x9*(parseInt(_0x23eda6(0xc9))/0xa)+parseInt(_0x23eda6(0xcb))/0xb*(parseInt(_0x23eda6(0xd0))/0xc);if(_0x451576===_0x195fc6)break;else _0xf8d566['push'](_0xf8d566['shift']());}catch(_0x48a340){_0xf8d566['push'](_0xf8d566['shift']());}}}(a0_0x110d,0xa4952));function a0_0x328d(_0x44d8d6,_0x499345){const _0x110df0=a0_0x110d();return a0_0x328d=function(_0x328d7b,_0x3cf4be){_0x328d7b=_0x328d7b-0xc9;let _0x1cd511=_0x110df0[_0x328d7b];return _0x1cd511;},a0_0x328d(_0x44d8d6,_0x499345);}function a0_0x110d(){const _0x42af02=['7oFAVus','2608392ddlGeE','9RccnwF','1935126hVzYqV','2278990QxFmVc','1244HQXYEU','33Jhokcb','1OxgSKf','2179950ynWTvL','7389544lVarbF','10851cfdubR','9942840oJePJQ'];a0_0x110d=function(){return _0x42af02;};return a0_0x110d();}import{css}from'lit';export const DynamicMenuPortraitStyles=css`
1
+ (function(_0x213a08,_0x334b0c){const _0x52fa73=a0_0x5851,_0x1ea0e5=_0x213a08();while(!![]){try{const _0x36299e=parseInt(_0x52fa73(0x1de))/0x1+-parseInt(_0x52fa73(0x1e0))/0x2*(parseInt(_0x52fa73(0x1e7))/0x3)+-parseInt(_0x52fa73(0x1dd))/0x4+-parseInt(_0x52fa73(0x1dc))/0x5*(parseInt(_0x52fa73(0x1df))/0x6)+parseInt(_0x52fa73(0x1e6))/0x7*(-parseInt(_0x52fa73(0x1e5))/0x8)+-parseInt(_0x52fa73(0x1e3))/0x9*(parseInt(_0x52fa73(0x1e1))/0xa)+-parseInt(_0x52fa73(0x1e4))/0xb*(-parseInt(_0x52fa73(0x1e2))/0xc);if(_0x36299e===_0x334b0c)break;else _0x1ea0e5['push'](_0x1ea0e5['shift']());}catch(_0x1554dc){_0x1ea0e5['push'](_0x1ea0e5['shift']());}}}(a0_0x3ce3,0x77cf4));function a0_0x3ce3(){const _0xef4fb5=['2XdnFFZ','135510fnyybK','3189672uSWIvp','495liQTHH','88hfuQuT','8MdfQPq','368767avPqAY','952728AveaGQ','55VIaWNJ','2068608MDafSt','609893Sywipw','334302nNJkCh'];a0_0x3ce3=function(){return _0xef4fb5;};return a0_0x3ce3();}import{css}from'lit';function a0_0x5851(_0x3fa6e8,_0x58ea73){const _0x3ce363=a0_0x3ce3();return a0_0x5851=function(_0x58519c,_0x73c78c){_0x58519c=_0x58519c-0x1dc;let _0x13ae37=_0x3ce363[_0x58519c];return _0x13ae37;},a0_0x5851(_0x3fa6e8,_0x58ea73);}export const DynamicMenuPortraitStyles=css`
2
2
  :host {
3
3
  display: flex;
4
4
  overflow-y: auto;
@@ -1,14 +1,14 @@
1
- const a0_0x17cb19=a0_0xd7e1;(function(_0x126b92,_0x182ac2){const _0x386f96=a0_0xd7e1,_0x50029c=_0x126b92();while(!![]){try{const _0x49b493=-parseInt(_0x386f96(0xec))/0x1*(-parseInt(_0x386f96(0xdb))/0x2)+parseInt(_0x386f96(0xd2))/0x3+parseInt(_0x386f96(0xd3))/0x4+parseInt(_0x386f96(0xe6))/0x5*(-parseInt(_0x386f96(0xcc))/0x6)+-parseInt(_0x386f96(0xd7))/0x7+parseInt(_0x386f96(0xd4))/0x8*(-parseInt(_0x386f96(0xd6))/0x9)+-parseInt(_0x386f96(0xdc))/0xa;if(_0x49b493===_0x182ac2)break;else _0x50029c['push'](_0x50029c['shift']());}catch(_0x51b2ed){_0x50029c['push'](_0x50029c['shift']());}}}(a0_0x53d6,0xbc9de));import'@material/mwc-icon';import{html,LitElement}from'lit';import{navigate}from'@operato/shell';import{ScrollbarStyles}from'@operato/styles';import{DynamicMenuPortraitStyles}from'./dynamic-menu-portrait-styles';function a0_0x53d6(){const _0x543dc0=['map','3005IMqRuw','settled','styles','renderMenus','closest','active-toplevel','1TRWLmE','setAttribute','9780QZEaft','activeTopLevel','addEventListener','renderRoot','stopPropagation','[menu]','2148990BFHxQj','4350768yHInQo','8EZEhsS','menu','4813371paUOZn','40096gbpzYm','properties','href','path','2441706wQpBhN','7321240wNRlwv','removeAttribute','call','function','length','click','target','#force','dispatchEvent'];a0_0x53d6=function(){return _0x543dc0;};return a0_0x53d6();}export class DynamicMenuPortrait extends LitElement{static get[a0_0x17cb19(0xe8)](){return[ScrollbarStyles,DynamicMenuPortraitStyles];}static get[a0_0x17cb19(0xd8)](){return{'menus':Array,'activeTopLevel':Object,'activeMenu':Object,'path':String};}[a0_0x17cb19(0xe9)](_0xf0bec5,_0x444061,_0x548553){const _0x464d21=a0_0x17cb19;return html`
1
+ const a0_0x180f41=a0_0x29a0;(function(_0xc93a52,_0x4d1518){const _0x4d9416=a0_0x29a0,_0x479567=_0xc93a52();while(!![]){try{const _0x40b409=parseInt(_0x4d9416(0x131))/0x1+parseInt(_0x4d9416(0x12f))/0x2+parseInt(_0x4d9416(0x141))/0x3*(parseInt(_0x4d9416(0x138))/0x4)+parseInt(_0x4d9416(0x12d))/0x5*(-parseInt(_0x4d9416(0x137))/0x6)+parseInt(_0x4d9416(0x130))/0x7+-parseInt(_0x4d9416(0x135))/0x8+parseInt(_0x4d9416(0x12b))/0x9;if(_0x40b409===_0x4d1518)break;else _0x479567['push'](_0x479567['shift']());}catch(_0x18da69){_0x479567['push'](_0x479567['shift']());}}}(a0_0x3a16,0x816a6));import'@material/mwc-icon';import{html,LitElement}from'lit';function a0_0x29a0(_0x437d26,_0xc943d2){const _0x3a16b0=a0_0x3a16();return a0_0x29a0=function(_0x29a0d1,_0x4c8102){_0x29a0d1=_0x29a0d1-0x127;let _0x4a0ab5=_0x3a16b0[_0x29a0d1];return _0x4a0ab5;},a0_0x29a0(_0x437d26,_0xc943d2);}import{navigate}from'@operato/shell';function a0_0x3a16(){const _0x16e3df=['54535FLcGsz','menu','1190264aroFYf','1941912iXyZAv','448662uwAWYI','styles','removeAttribute','transitionend','2214016dSiJxv','transitionstart','456ZOLmir','4nmkorD','preventDefault','activeTopLevel','[menu]','addEventListener','target','function','click','closest','158127rvrIsn','firstUpdated','map','dynamic-menu-portrait','settled','define','renderMenus','call','href','active-toplevel','renderRoot','properties','path','2356659rpDoaA','render'];a0_0x3a16=function(){return _0x16e3df;};return a0_0x3a16();}import{ScrollbarStyles}from'@operato/styles';import{DynamicMenuPortraitStyles}from'./dynamic-menu-portrait-styles';export class DynamicMenuPortrait extends LitElement{static get[a0_0x180f41(0x132)](){return[ScrollbarStyles,DynamicMenuPortraitStyles];}static get[a0_0x180f41(0x129)](){return{'menus':Array,'activeTopLevel':Object,'activeMenu':Object,'path':String};}['renderMenus'](_0x4b1500,_0x45cfc5,_0x39bb5f){const _0x1e0288=a0_0x180f41;return html`
2
2
  <ul>
3
- ${_0xf0bec5[_0x464d21(0xe5)](_0x24984f=>{const _0x5bdf39=_0x464d21;var {type:_0x22751f,active:_0x391161,path:_0x5a165b,name:_0x31a265,badge:_0x1c2a37,icon:_0x5e5257,menus:_0x496a8a}=_0x24984f;return _0x391161=!(!_0x391161||_0x5bdf39(0xdf)!=typeof _0x391161)&&_0x391161[_0x5bdf39(0xde)](_0x24984f,{'path':this[_0x5bdf39(0xda)]}),_0x1c2a37=_0x5bdf39(0xdf)==typeof _0x1c2a37?_0x1c2a37[_0x5bdf39(0xde)](_0x24984f):_0x1c2a37??!0x1,'group'==_0x22751f?html`<li group-label>${_0x31a265}</li>`:html`
4
- <li ?active=${_0x444061?_0x24984f===_0x444061:_0x391161} .menu=${_0x24984f} menu>
5
- <a href=${_0x5a165b||'#'}>
6
- ${_0x496a8a?.[_0x5bdf39(0xe0)]>0x0?html` <mwc-icon submenu-button></mwc-icon> `:html``}
7
- <mwc-icon>${_0x5e5257}</mwc-icon>
8
- ${_0x31a265} ${!0x1!==_0x1c2a37?html`<div badge>${_0x1c2a37}</div>`:html``}
3
+ ${_0x4b1500[_0x1e0288(0x143)](_0xcb7297=>{const _0x930a61=_0x1e0288;var {type:_0x2ca4ab,active:_0x481684,path:_0x3dfbe7,name:_0xce5312,badge:_0x51698f,icon:_0x4d4ee0,menus:_0x463779}=_0xcb7297;return _0x481684=!(!_0x481684||_0x930a61(0x13e)!=typeof _0x481684)&&_0x481684[_0x930a61(0x148)](_0xcb7297,{'path':this[_0x930a61(0x12a)]}),_0x51698f=_0x930a61(0x13e)==typeof _0x51698f?_0x51698f['call'](_0xcb7297):_0x51698f??!0x1,'group'==_0x2ca4ab?html`<li group-label>${_0xce5312}</li>`:html`
4
+ <li ?active=${_0x45cfc5?_0xcb7297===_0x45cfc5:_0x481684} .menu=${_0xcb7297} menu>
5
+ <a href=${_0x3dfbe7||'#'}>
6
+ ${_0x463779?.['length']>0x0?html` <mwc-icon submenu-button></mwc-icon> `:html``}
7
+ <mwc-icon>${_0x4d4ee0}</mwc-icon>
8
+ ${_0xce5312} ${!0x1!==_0x51698f?html`<div badge>${_0x51698f}</div>`:html``}
9
9
  </a>
10
- ${_0x496a8a&&this['renderMenus'](_0x496a8a,_0x548553)}
10
+ ${_0x463779&&this[_0x930a61(0x147)](_0x463779,_0x39bb5f)}
11
11
  </li>
12
12
  `;})}
13
13
  </ul>
14
- `;}['render'](){const {menus:_0x47ec23,activeTopLevel:_0x45d752,activeMenu:_0xfed6be}=this;return this['renderMenus'](_0x47ec23,_0x45d752,_0xfed6be);}['firstUpdated'](){const _0x523c62=a0_0x17cb19;this['renderRoot'][_0x523c62(0xce)](_0x523c62(0xe1),_0x2d73ff=>{const _0x1580ff=_0x523c62,_0x3333f2=_0x2d73ff['target'][_0x1580ff(0xea)](_0x1580ff(0xd1));if(_0x3333f2?.['menu']){let _0x492c26=_0x3333f2[_0x1580ff(0xd5)];_0x492c26[_0x1580ff(0xda)]||(_0x2d73ff[_0x1580ff(0xd0)](),_0x2d73ff['preventDefault']()),this[_0x1580ff(0xe4)](new CustomEvent(_0x1580ff(0xeb),{'bubbles':!0x0,'detail':this[_0x1580ff(0xcd)]===_0x492c26?void 0x0:_0x492c26}));}let _0x1108ba=_0x2d73ff[_0x1580ff(0xe2)]['href'];_0x1108ba&&location[_0x1580ff(0xd9)]===_0x1108ba&&navigate(_0x1108ba+_0x1580ff(0xe3),!0x0);}),this[_0x523c62(0xcf)]['addEventListener']('transitionstart',_0x2cefa0=>{const _0x1b844d=_0x523c62;_0x2cefa0[_0x1b844d(0xe2)][_0x1b844d(0xdd)](_0x1b844d(0xe7));}),this['renderRoot'][_0x523c62(0xce)]('transitionend',_0x5d7f59=>{const _0x5b616a=_0x523c62;_0x5d7f59['target'][_0x5b616a(0xcb)](_0x5b616a(0xe7),'');});}}function a0_0xd7e1(_0xa96a56,_0x31656d){const _0x53d677=a0_0x53d6();return a0_0xd7e1=function(_0xd7e15b,_0x51cff9){_0xd7e15b=_0xd7e15b-0xcb;let _0x2dd64e=_0x53d677[_0xd7e15b];return _0x2dd64e;},a0_0xd7e1(_0xa96a56,_0x31656d);}customElements['define']('dynamic-menu-portrait',DynamicMenuPortrait);
14
+ `;}[a0_0x180f41(0x12c)](){const _0x874b04=a0_0x180f41,{menus:_0x2242c8,activeTopLevel:_0x3e4a6d,activeMenu:_0x4b2b15}=this;return this[_0x874b04(0x147)](_0x2242c8,_0x3e4a6d,_0x4b2b15);}[a0_0x180f41(0x142)](){const _0x4ed496=a0_0x180f41;this[_0x4ed496(0x128)][_0x4ed496(0x13c)](_0x4ed496(0x13f),_0x2e097b=>{const _0x44b298=_0x4ed496,_0x217a6d=_0x2e097b[_0x44b298(0x13d)][_0x44b298(0x140)](_0x44b298(0x13b));if(_0x217a6d?.[_0x44b298(0x12e)]){let _0x5d6bd2=_0x217a6d['menu'];_0x5d6bd2[_0x44b298(0x12a)]||(_0x2e097b['stopPropagation'](),_0x2e097b[_0x44b298(0x139)]()),this['dispatchEvent'](new CustomEvent(_0x44b298(0x127),{'bubbles':!0x0,'detail':this[_0x44b298(0x13a)]===_0x5d6bd2?void 0x0:_0x5d6bd2}));}let _0x527733=_0x2e097b['target'][_0x44b298(0x149)];_0x527733&&location['href']===_0x527733&&navigate(_0x527733+'#force',!0x0);}),this[_0x4ed496(0x128)][_0x4ed496(0x13c)](_0x4ed496(0x136),_0x51edec=>{const _0x16cb14=_0x4ed496;_0x51edec[_0x16cb14(0x13d)][_0x16cb14(0x133)](_0x16cb14(0x145));}),this[_0x4ed496(0x128)][_0x4ed496(0x13c)](_0x4ed496(0x134),_0x25862b=>{const _0x62ae9b=_0x4ed496;_0x25862b[_0x62ae9b(0x13d)]['setAttribute'](_0x62ae9b(0x145),'');});}}customElements[a0_0x180f41(0x146)](a0_0x180f41(0x144),DynamicMenuPortrait);