@things-factory/meta-ui 6.0.133 → 6.0.135

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 (84) hide show
  1. package/client/actions/main.js +4 -4
  2. package/client/component/filter/filter-form-resource-code-select.js +9 -9
  3. package/client/component/filter/filter-grist-resource-code-select.js +9 -9
  4. package/client/component/grist/editor/ox-grist-editor-resource-code-selector.js +9 -9
  5. package/client/component/grist/renderer/ox-grist-renderer-resource-code-selector.js +1 -1
  6. package/client/component/selector/ox-resource-code-selector-popup.js +40 -0
  7. package/client/mixin/meta-base-mixin.js +1 -1
  8. package/client/mixin/meta-basic-grist-mixin.js +4 -4
  9. package/client/mixin/meta-button-mixin.js +1 -1
  10. package/client/mixin/meta-form-mixin.js +1 -1
  11. package/client/mixin/meta-grist-tab-mixin.js +1 -1
  12. package/client/mixin/meta-main-tab-mixin.js +1 -1
  13. package/client/mixin/meta-master-detail-mixin.js +1 -1
  14. package/client/mixin/meta-service-mixin.js +1 -1
  15. package/client/mixin/meta-tab-detail-mixin.js +1 -1
  16. package/client/mixin/meta-tab-mixin.js +1 -1
  17. package/client/pages/activity/meta-activity-list-page.js +6 -6
  18. package/client/pages/activity/meta-activity-viewer-element.js +2 -2
  19. package/client/pages/activity/meta-activity-writer-element.js +3 -3
  20. package/client/pages/activity/meta-activiy-mixin.js +3 -3
  21. package/client/pages/entity/config-entity.js +29 -29
  22. package/client/pages/entity/main-menu-selector.js +8 -8
  23. package/client/pages/history/history-copy-list-popup.js +6 -6
  24. package/client/pages/history/history-json-list-popup.js +6 -6
  25. package/client/pages/loading-page.js +5 -5
  26. package/client/pages/menu/dynamic-menu-template.js +7 -7
  27. package/client/pages/menu/dynamic-menu.js +15 -15
  28. package/client/pages/meta-form-element.js +1 -1
  29. package/client/pages/meta-grist-element.js +1 -1
  30. package/client/pages/meta-grist-page.js +1 -1
  31. package/client/pages/meta-grist-tab-element.js +1 -1
  32. package/client/pages/meta-grist-tab-page.js +1 -1
  33. package/client/pages/meta-main-tab-element.js +1 -1
  34. package/client/pages/meta-main-tab-page.js +1 -1
  35. package/client/pages/meta-master-detail-element.js +1 -1
  36. package/client/pages/meta-master-detail-page.js +1 -1
  37. package/client/pages/meta-tab-detail-element.js +1 -1
  38. package/client/pages/meta-tab-detail-page.js +1 -1
  39. package/client/pages/meta-tab-element.js +1 -1
  40. package/client/pages/personalize/personal-column-selector.js +11 -11
  41. package/client/pages/terms/config-terminology.js +6 -6
  42. package/client/pages/work-code/work-code-detail-popup.js +1 -1
  43. package/client/pages/work-code/work-code-page.js +1 -1
  44. package/client/reducers/main.js +1 -1
  45. package/client/utils/meta-api.js +1 -1
  46. package/client/utils/meta-crypto.js +1 -1
  47. package/client/utils/meta-ui-util.js +102 -102
  48. package/client/utils/service-util.js +13 -13
  49. package/client/utils/terms-util.js +2 -2
  50. package/client/utils/ui-util.js +1 -1
  51. package/client/utils/value-util.js +1 -1
  52. package/client/viewparts/dynamic-menu-landscape-styles.js +1 -1
  53. package/client/viewparts/dynamic-menu-landscape.js +10 -10
  54. package/client/viewparts/dynamic-menu-part.js +10 -10
  55. package/client/viewparts/dynamic-menu-portrait-styles.js +1 -1
  56. package/client/viewparts/dynamic-menu-portrait.js +9 -9
  57. package/client/viewparts/dynamic-top-menu-bar.js +7 -7
  58. package/package.json +2 -2
  59. package/server/activity/CommonActivity.js +2 -2
  60. package/server/constants/error-code.js +1 -1
  61. package/server/errors/license-error.js +1 -1
  62. package/server/routes.js +1 -1
  63. package/server/service/grid-personalize/grid-personalize-mutation.js +1 -1
  64. package/server/service/grid-personalize/grid-personalize-query.js +1 -1
  65. package/server/service/grid-personalize/grid-personalize-type.js +1 -1
  66. package/server/service/grid-personalize/grid-personalize.js +1 -1
  67. package/server/service/meta-activity/meta-activity-mutation.js +1 -1
  68. package/server/service/meta-activity/meta-activity-query.js +1 -1
  69. package/server/service/meta-activity/meta-activity-type.js +1 -1
  70. package/server/service/meta-secret/meta-resolver.js +1 -1
  71. package/server/service/set-translations/set-translation-resolver.js +1 -1
  72. package/server/service/work-code/work-code-mutation.js +1 -1
  73. package/server/service/work-code/work-code-query.js +1 -1
  74. package/server/service/work-code/work-code-type.js +1 -1
  75. package/server/service/work-code/work-code.js +1 -1
  76. package/server/service/work-code-detail/work-code-detail-mutation.js +1 -1
  77. package/server/service/work-code-detail/work-code-detail-query.js +1 -1
  78. package/server/service/work-code-detail/work-code-detail-type.js +1 -1
  79. package/server/service/work-code-detail/work-code-detail.js +1 -1
  80. package/client/component/editor/ox-grist-editor-resource-selector.js +0 -9
  81. package/client/component/grist/selector/ox-resource-code-selector-popup.js +0 -40
  82. package/client/component/renderer/ox-grist-renderer-resource-column.js +0 -1
  83. package/client/component/renderer/ox-grist-renderer-resource-selector.js +0 -1
  84. package/client/component/selector/ox-resource-selector-popup.js +0 -40
@@ -1,4 +1,4 @@
1
- const a0_0x20ba37=a0_0x3b35;(function(_0x4c7ba4,_0x2c89a3){const _0x2766a4=a0_0x3b35,_0xe69758=_0x4c7ba4();while(!![]){try{const _0x53cc53=parseInt(_0x2766a4(0x1a5))/0x1*(-parseInt(_0x2766a4(0x1cb))/0x2)+-parseInt(_0x2766a4(0x1b6))/0x3*(parseInt(_0x2766a4(0x206))/0x4)+-parseInt(_0x2766a4(0x1eb))/0x5*(-parseInt(_0x2766a4(0x1ed))/0x6)+parseInt(_0x2766a4(0x21c))/0x7*(parseInt(_0x2766a4(0x1d9))/0x8)+-parseInt(_0x2766a4(0x219))/0x9+-parseInt(_0x2766a4(0x1d8))/0xa*(parseInt(_0x2766a4(0x1e5))/0xb)+-parseInt(_0x2766a4(0x1ae))/0xc*(-parseInt(_0x2766a4(0x1ab))/0xd);if(_0x53cc53===_0x2c89a3)break;else _0xe69758['push'](_0xe69758['shift']());}catch(_0x4b6201){_0xe69758['push'](_0xe69758['shift']());}}}(a0_0x4427,0x98839));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_0x240a15 from'graphql-tag';function a0_0x4427(){const _0x2053f1=['details','columns','records','info','selected','createdAt','arrangeMenuRoutes','deleteListByIds','SCREEN','runScenario','5279472cJhvGK','cuFlag','menus','1224139PbHNeu','callScenario','searchMenuGridPersnalTemplate','hiddenFlag','category','confirm','dirtyRecords','split','group','noteq','searchMyDynamicMenus','myDynamicMenus','name','searchByPagination','HOME','rank','6962HuvKni','object','error','badge','errors','todo-list','26JjUsQj','exportableData','routing','2815392ubkCPq','question','getCodeSelectorData','includes','__dirtyfields__','gridPersonalizeTemplates','test','gutter','675RyUgVx','parent','showAlertPopup','type','length','HIDDEN-PAGE','tMenu','fetch','total','numberOfApprovalPendings','reduce','text.are_you_sure','patchesForUpdateMultiple','\x0a\x20\x20\x20\x20\x20\x20','map','\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','imex','sort','extensions','children','code','88zyILko','showGraphqlException','checkClientError','message','button.','delete','data','showToast','description','getSelectedIdList','text.there_is_nothing_to_delete','deleteListByGristSelected','resourceUrl','345150hxbPoG','8iqGzEA','getWorkCodeByName','forEach','filter','findIndex','find','undefined','__dirty__','tText','updatedAt','draft-list','path','33SXAmCF','isArray','isEmpty','record','buildArgs','numberOfToDos','35kWZvOP','unshift','954552Memksi','isNotEmpty','__origin__','__selected__','push','hidden','_config','parse','cancel','query','key','success\x20to\x20process','updater','approval-pending-list','menuType','dispatch','networkError','items','active','GROUP','showGraphqlErrorResponse','text.NOTHING_CHANGED','success\x20to\x20save','result','workCodeByName','2428vMQGQk','routingType','updateMultiple','iconPath','__seq__','value','MENU','display','splice'];a0_0x4427=function(){return _0x2053f1;};return a0_0x4427();}import{ValueUtil}from'./value-util';import{asyncReplace}from'lit/directives/async-replace.js';import a0_0xfe369d from'i18next';function a0_0x3b35(_0x54f1cf,_0x2a32a2){const _0x442774=a0_0x4427();return a0_0x3b35=function(_0x3b35e8,_0x17cf5c){_0x3b35e8=_0x3b35e8-0x19f;let _0x5c9244=_0x442774[_0x3b35e8];return _0x5c9244;},a0_0x3b35(_0x54f1cf,_0x2a32a2);}import{generateActivitySummary,startSubscribeActivitySummary}from'@things-factory/worklist';export class ServiceUtil{static async['codeItems'](_0x478453){const _0x204ba9=a0_0x3b35;if(Array[_0x204ba9(0x1e6)](_0x478453))return _0x478453[_0x204ba9(0x1c4)](_0x1f3547=>_0x204ba9(0x1a6)==typeof _0x1f3547?{'name':_0x1f3547[_0x204ba9(0x20b)],'description':_0x1f3547[_0x204ba9(0x20d)]}:{'name':_0x1f3547,'description':_0x1f3547});let _0xd1bb27=await ServiceUtil[_0x204ba9(0x1da)](_0x478453);return _0xd1bb27&&_0xd1bb27['length']>0x0?_0xd1bb27:await getCodeByName(_0x478453);}static async[a0_0x20ba37(0x1da)](_0x1a3d34){const _0x341291=a0_0x20ba37,_0x2bd033=await client[_0x341291(0x1f6)]({'query':a0_0x240a15`
1
+ const a0_0x60cb11=a0_0x1dc8;(function(_0x14d620,_0xcb0afd){const _0x59290f=a0_0x1dc8,_0x4cb037=_0x14d620();while(!![]){try{const _0xe7d85f=-parseInt(_0x59290f(0x218))/0x1+-parseInt(_0x59290f(0x1d6))/0x2*(-parseInt(_0x59290f(0x200))/0x3)+parseInt(_0x59290f(0x1cb))/0x4*(parseInt(_0x59290f(0x22f))/0x5)+parseInt(_0x59290f(0x222))/0x6+-parseInt(_0x59290f(0x232))/0x7+parseInt(_0x59290f(0x205))/0x8*(parseInt(_0x59290f(0x1e6))/0x9)+parseInt(_0x59290f(0x230))/0xa*(-parseInt(_0x59290f(0x23e))/0xb);if(_0xe7d85f===_0xcb0afd)break;else _0x4cb037['push'](_0x4cb037['shift']());}catch(_0x4c294f){_0x4cb037['push'](_0x4cb037['shift']());}}}(a0_0x1d47,0x773f6));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';function a0_0x1dc8(_0x109bf4,_0x573863){const _0x1d47e8=a0_0x1d47();return a0_0x1dc8=function(_0x1dc80d,_0x5f5c6e){_0x1dc80d=_0x1dc80d-0x1be;let _0x2f0804=_0x1d47e8[_0x1dc80d];return _0x2f0804;},a0_0x1dc8(_0x109bf4,_0x573863);}import{client}from'@operato/graphql';import{TermsUtil}from'./terms-util';import{UiUtil}from'./ui-util';import a0_0x29c0ad from'graphql-tag';import{ValueUtil}from'./value-util';import{asyncReplace}from'lit/directives/async-replace.js';function a0_0x1d47(){const _0x8b1853=['getSelectedIdList','387onxinp','resourceUrl','findOne','showGraphqlException','MENU','Graphql\x20Error','showGraphqlErrorResponse','dispatch','id,template','buildArgs','findIndex','deleteListByIds','message','isEmpty','result','record','isNotEmpty','fetch','name','active','_config','code','__dirtyfields__','myDynamicMenus','searchByPagination','HIDDEN-PAGE','985671GnaSmg','numberOfApprovalPendings','getCodeSelectorData','arrangeMenuRoutes','showAlertPopup','108176VmhOUO','xlsx','tText','push','data','records','template','__origin__','showToast','badge','errors','tMenu','getCodeByEntity','unshift','category','description','checkClientError','imex','searchMyDynamicMenus','822687UiiYZl','success\x20to\x20process','menuType','__seq__','numberOfDrafts','title','filter','forEach','networkError','sort','1405200pWYsPX','runScenario','\x0a\x20\x20\x20\x20\x20\x20','updateMultiple','total','HOME','success\x20to\x20save','iconPath','hidden','text.NOTHING_CHANGED','object','error','length','25FWlqfe','7910bgBFYo','info','585620nzUsmC','noteq','type','searchMenuGridPersnalTemplate','reduce','updater','parse','text.nothing_selected','display','updatedAt','GROUP','question','9163dtweQp','cancel','draft-list','approval-pending-list','patchesForUpdateMultiple','text.are_you_sure','todo-list','routingType','success\x20to\x20delete','__dirty__','includes','codeItems','find','gutter','extensions','key','hiddenFlag','dirtyRecords','727588KstcYf','path','group','numberOfToDos','menus','routing','\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','confirm','test','text.there_is_nothing_to_delete','getCodeByScenario','2Ggkdlx','map','rank','button.delete','value','parent','callScenario','isArray','items','details','query','SCREEN','getWorkCodeByName','deleteListByGristSelected','workCodeByName'];a0_0x1d47=function(){return _0x8b1853;};return a0_0x1d47();}import a0_0x2cf114 from'i18next';import{generateActivitySummary,startSubscribeActivitySummary}from'@things-factory/worklist';export class ServiceUtil{static async[a0_0x60cb11(0x1c4)](_0x2baba0){const _0xf4d605=a0_0x60cb11;if(Array[_0xf4d605(0x1dd)](_0x2baba0))return _0x2baba0[_0xf4d605(0x1d7)](_0x5707fc=>_0xf4d605(0x22c)==typeof _0x5707fc?{'name':_0x5707fc['value'],'description':_0x5707fc[_0xf4d605(0x23a)]}:{'name':_0x5707fc,'description':_0x5707fc});let _0x4d24d6=await ServiceUtil[_0xf4d605(0x1e2)](_0x2baba0);return _0x4d24d6&&_0x4d24d6[_0xf4d605(0x22e)]>0x0?_0x4d24d6:await getCodeByName(_0x2baba0);}static async[a0_0x60cb11(0x1e2)](_0xb650d7){const _0x18e881=a0_0x60cb11,_0x571987=await client[_0x18e881(0x1e0)]({'query':a0_0x29c0ad`
2
2
  query workCodeByName($name: String!) {
3
3
  workCodeByName(name: $name) {
4
4
  details {
@@ -8,32 +8,32 @@ const a0_0x20ba37=a0_0x3b35;(function(_0x4c7ba4,_0x2c89a3){const _0x2766a4=a0_0x
8
8
  }
9
9
  }
10
10
  }
11
- `,'variables':{'name':_0x1a3d34},'context':gqlContext()});return!_0x2bd033['errors']&&_0x2bd033['data'][_0x341291(0x205)]&&_0x2bd033['data'][_0x341291(0x205)][_0x341291(0x20f)]?_0x2bd033[_0x341291(0x1d1)][_0x341291(0x205)]['details'][_0x341291(0x1c7)]((_0x26baad,_0x37a7a1)=>_0x26baad['rank']-_0x37a7a1[_0x341291(0x1a4)]):[];}static async[a0_0x20ba37(0x1b0)](_0x2dc28f){const _0x1eda5b=a0_0x20ba37;let _0x44c9ff=(await ServiceUtil['codeItems'](_0x2dc28f))[_0x1eda5b(0x1c4)](_0x145789=>({'value':_0x145789[_0x1eda5b(0x1a1)],'display':_0x145789[_0x1eda5b(0x1d3)]}));return _0x44c9ff[_0x1eda5b(0x1ec)]({'value':'','display':''}),_0x44c9ff;}static async['getCodeByScenario'](_0x25bede,_0x4402d5){const _0x420bd0=a0_0x20ba37;let _0x596a4d=await ServiceUtil['callScenario'](null,_0x25bede,_0x4402d5);return _0x596a4d[_0x420bd0(0x1ec)]({'value':'','display':''}),_0x596a4d[_0x420bd0(0x1c4)](_0x469e3c=>({'value':_0x469e3c['name'],'display':_0x469e3c[_0x420bd0(0x1d3)]}));}static async['getCodeByEntity']({queryName:_0xb7ac4,codeField:_0x5e8ce6='name',dispField:_0x27ee4a=a0_0x20ba37(0x1d3),filters:_0x290dd4=[],sorters:_0x137a74=[]}){const _0x3f19e3=a0_0x20ba37;let _0x4df6f7=_0x3f19e3(0x1c3)+_0x5e8ce6+'\x0a\x20\x20\x20\x20\x20\x20'+_0x27ee4a+'\x0a\x20\x20\x20\x20',_0x15a109=await ServiceUtil[_0x3f19e3(0x1a2)](_0xb7ac4,_0x290dd4,_0x137a74,0x0,0x0,_0x4df6f7),_0x1c74fd=[{'value':'','display':''}];return _0x15a109[_0x3f19e3(0x211)][_0x3f19e3(0x1db)](_0x23557a=>{const _0xecfb1c=_0x3f19e3;_0x1c74fd[_0xecfb1c(0x1f1)]({'value':_0x23557a[_0x5e8ce6],'display':_0x23557a[_0x27ee4a]});}),_0x1c74fd;}static async[a0_0x20ba37(0x1a0)](){const _0x2d3240=a0_0x20ba37;let _0x638b4b=await ServiceUtil[_0x2d3240(0x19f)]();return null!=_0x638b4b?ServiceUtil[_0x2d3240(0x215)](_0x638b4b):null;}static async[a0_0x20ba37(0x21e)](_0x4dcd25){const _0x3a63f5=a0_0x20ba37;let _0x339a0d=[{'name':'menu.id','operator':'eq','value':_0x4dcd25}],_0x1ff753=await ServiceUtil['searchByPagination'](_0x3a63f5(0x1b3),_0x339a0d,[],0x0,0x0,'id,template');return 0x0==_0x1ff753[_0x3a63f5(0x1be)]?{}:{'id':_0x1ff753['records'][0x0]['id'],'template':JSON[_0x3a63f5(0x1f4)](_0x1ff753[_0x3a63f5(0x211)][0x0]['template'])};}static[a0_0x20ba37(0x215)](_0x560daa){const _0x44ab5c=a0_0x20ba37;let _0x1893e1=[];_0x560daa[_0x44ab5c(0x1db)](_0x20c4b4=>{const _0x4c3a4e=_0x44ab5c;_0x1893e1[_0x4c3a4e(0x1f1)](_0x20c4b4),_0x20c4b4[_0x4c3a4e(0x1c9)]&&(_0x20c4b4[_0x4c3a4e(0x1c9)][_0x4c3a4e(0x1c7)](function(_0x2a76cf,_0x484022){const _0x31f6ba=_0x4c3a4e;return _0x2a76cf['rank']-_0x484022[_0x31f6ba(0x1a4)];}),_0x20c4b4[_0x4c3a4e(0x1c9)][_0x4c3a4e(0x1db)](_0x1e7851=>{const _0x262492=_0x4c3a4e;0x1!=_0x1e7851[_0x262492(0x21f)]&&(_0x1e7851[_0x262492(0x1b7)]=_0x20c4b4,_0x1893e1[_0x262492(0x1f1)](_0x1e7851));}));});let _0x122a75=_0x1893e1[_0x44ab5c(0x1c4)](_0x4cebc3=>{const _0xadffe3=_0x44ab5c;if(_0xadffe3(0x200)==_0x4cebc3[_0xadffe3(0x1fb)]||_0xadffe3(0x20c)==_0x4cebc3[_0xadffe3(0x1fb)]){let _0x468cb6={'id':_0x4cebc3['id'],'parent':!0x0,'name':TermsUtil['tMenu'](_0x4cebc3[_0xadffe3(0x1a1)]),'icon':_0x4cebc3[_0xadffe3(0x209)],'type':'GROUP'==_0x4cebc3[_0xadffe3(0x1fb)]?_0xadffe3(0x224):'','menus':[]};return _0x4cebc3[_0xadffe3(0x1ad)]&&(_0x468cb6[_0xadffe3(0x1e4)]=_0x4cebc3[_0xadffe3(0x1ad)]),_0x468cb6;}return{'id':'0'};})[_0x44ab5c(0x1dc)](_0x1cc3fe=>'0'!=_0x1cc3fe['id']),_0x4eea59=_0x1893e1['map'](_0x32c2ca=>{const _0x540d5d=_0x44ab5c;if(_0x540d5d(0x217)==_0x32c2ca['menuType']||_0x540d5d(0x1bb)==_0x32c2ca[_0x540d5d(0x1fb)]){let _0x13e51a=_0x122a75[_0x540d5d(0x1de)](_0x465fe5=>_0x465fe5['id']==_0x32c2ca['parent']['id']);if(_0x13e51a){let _0x29a8df=TermsUtil[_0x540d5d(0x1bc)](_0x32c2ca[_0x540d5d(0x1a1)]);return'SCREEN'==_0x32c2ca['menuType']&&_0x13e51a['menus']['push']({'id':_0x32c2ca['id'],'name':_0x29a8df,'path':_0x32c2ca[_0x540d5d(0x1ad)],'icon':_0x32c2ca['iconPath']}),{'id':_0x32c2ca['id'],'parent':!0x1,'parent_id':_0x13e51a['id'],'title':_0x29a8df,'tagname':_0x32c2ca['category'],'page':_0x32c2ca[_0x540d5d(0x1ad)],'template':_0x32c2ca['resourceUrl'],'routing_type':_0x32c2ca[_0x540d5d(0x207)]};}return{'id':'0'};}return _0x540d5d(0x1a3)==_0x32c2ca[_0x540d5d(0x1fb)]?{'id':_0x32c2ca['id'],'parent':!0x0,'parent_id':null,'title':TermsUtil[_0x540d5d(0x1bc)](_0x32c2ca[_0x540d5d(0x1a1)]),'tagname':_0x32c2ca[_0x540d5d(0x220)],'page':_0x32c2ca[_0x540d5d(0x1ad)],'template':_0x32c2ca[_0x540d5d(0x1d7)],'routing_type':_0x32c2ca['routingType']}:{'id':'0'};})[_0x44ab5c(0x1dc)](_0x35f788=>null!=_0x35f788&&'0'!=_0x35f788['id']);_0x122a75[_0x44ab5c(0x1dc)](_0x50f05e=>_0x44ab5c(0x224)==_0x50f05e['type']&&_0x50f05e['menus']&&_0x50f05e[_0x44ab5c(0x21b)]['length']>0x0)['forEach'](_0xc8d278=>{const _0x14e0e6=_0x44ab5c;let _0x10375e=_0x122a75[_0x14e0e6(0x1dd)](_0x21d4c0=>_0x21d4c0['id']==_0xc8d278['id'])+0x1;_0x122a75[_0x14e0e6(0x20e)](_0x10375e,0x0,..._0xc8d278['menus']);});let _0x3c427f=0x0;return _0x122a75[_0x44ab5c(0x1db)](_0x254e1e=>{const _0x555cb1=_0x44ab5c;_0x555cb1(0x1aa)==_0x254e1e[_0x555cb1(0x1e4)]?(_0x3c427f++,_0x254e1e['badge']=()=>asyncReplace(generateActivitySummary(_0x555cb1(0x1ea))),_0x254e1e['active']=({path:_0x345257})=>/^activity\//[_0x555cb1(0x1b4)](_0x345257)):_0x555cb1(0x1fa)==_0x254e1e['path']?(_0x3c427f++,_0x254e1e[_0x555cb1(0x1a8)]=()=>asyncReplace(generateActivitySummary(_0x555cb1(0x1bf))),_0x254e1e[_0x555cb1(0x1ff)]=({path:_0x556080})=>/^activity\//[_0x555cb1(0x1b4)](_0x556080)):_0x555cb1(0x1e3)==_0x254e1e[_0x555cb1(0x1e4)]&&(_0x3c427f++,_0x254e1e['badge']=()=>asyncReplace(generateActivitySummary('numberOfDrafts')));}),_0x3c427f>0x0&&startSubscribeActivitySummary(),{'menus':_0x122a75,'routes':_0x4eea59};}static async[a0_0x20ba37(0x19f)](){const _0x3ba17a=a0_0x20ba37;let _0xfea964=await ServiceUtil[_0x3ba17a(0x1a2)](_0x3ba17a(0x21b),[{'name':'hiddenFlag','operator':_0x3ba17a(0x225),'value':!0x0},{'name':_0x3ba17a(0x1fb),'operator':'in','value':['HOME',_0x3ba17a(0x20c),_0x3ba17a(0x200)]}],[{'name':'rank'}],0x0,0x0,_0x3ba17a(0x1c5));return _0xfea964?_0xfea964[_0x3ba17a(0x211)]:[];}static async[a0_0x20ba37(0x201)](_0x10f6f3){const _0x51180d=a0_0x20ba37;if(_0x10f6f3[_0x51180d(0x1a9)]&&_0x10f6f3[_0x51180d(0x1a9)][_0x51180d(0x1ba)]>0x0){let _0x594cde=_0x10f6f3[_0x51180d(0x1a9)][0x0],_0x5f4388=_0x594cde[_0x51180d(0x1ce)],_0x281639=_0x594cde[_0x51180d(0x1ce)];_0x594cde['extensions']&&(_0x281639=_0x594cde[_0x51180d(0x1c8)][_0x51180d(0x1ca)]),await UiUtil[_0x51180d(0x1b8)](_0x281639,_0x5f4388,_0x51180d(0x1a7),_0x51180d(0x221));}}static async[a0_0x20ba37(0x1cc)](_0x4e36a1){const _0x2d247e=a0_0x20ba37;_0x4e36a1&&(_0x4e36a1[_0x2d247e(0x1fd)]&&_0x4e36a1[_0x2d247e(0x1fd)]['result']?await ServiceUtil[_0x2d247e(0x201)](_0x4e36a1[_0x2d247e(0x1fd)][_0x2d247e(0x204)]):await UiUtil[_0x2d247e(0x1b8)]('Graphql\x20Error',_0x4e36a1['message'],_0x2d247e(0x1a7),_0x2d247e(0x221)));}static async[a0_0x20ba37(0x1ac)](_0x212182,_0x49d418,_0x176f78){const _0x173e31=a0_0x20ba37;var _0x5ee2c5=_0x176f78[_0x173e31(0x1f3)]['columns']['filter'](_0x73362a=>_0x173e31(0x1b5)!==_0x73362a['type']&&void 0x0!==_0x73362a['record']&&void 0x0!==_0x73362a['imex']&&!0x0!==_0x73362a[_0x173e31(0x1f2)])['map'](_0x47d0cf=>_0x47d0cf[_0x173e31(0x1c6)]),_0x47f3f9=_0x176f78[_0x173e31(0x1d1)]['records'][_0x173e31(0x1c4)](_0x6ee720=>({..._0x176f78[_0x173e31(0x1f3)][_0x173e31(0x210)][_0x173e31(0x1dc)](_0x8a072e=>_0x173e31(0x1b5)!==_0x8a072e[_0x173e31(0x1b9)]&&void 0x0!==_0x8a072e[_0x173e31(0x1e8)]&&void 0x0!==_0x8a072e[_0x173e31(0x1c6)]&&!0x0!==_0x8a072e[_0x173e31(0x1f2)])[_0x173e31(0x1c0)]((_0x2d251e,_0x22502c)=>(_0x2d251e[_0x22502c[_0x173e31(0x1c6)][_0x173e31(0x1f7)]]=_0x22502c[_0x173e31(0x1c6)][_0x173e31(0x1f7)][_0x173e31(0x223)]('.')['reduce']((_0x3c52f1,_0x1bf155)=>_0x3c52f1&&_0x173e31(0x1df)!==_0x3c52f1[_0x1bf155]?_0x3c52f1[_0x1bf155]:void 0x0,_0x6ee720),_0x2d251e),{})}));if(!_0x212182)return{'header':_0x5ee2c5,'data':_0x47f3f9};store[_0x173e31(0x1fc)]({'type':EXPORT,'exportable':{'extension':'xlsx','name':_0x49d418,'data':{'header':_0x5ee2c5,'data':_0x47f3f9}}});}static async[a0_0x20ba37(0x1a2)](_0x43c612,_0x1a6e7a,_0x4e7fc1,_0x41dc87,_0x3d7ade,_0x2fe2db){const _0x26a3d7=a0_0x20ba37;try{const _0x4b5abf=await client[_0x26a3d7(0x1f6)]({'query':a0_0x240a15`
11
+ `,'variables':{'name':_0xb650d7},'context':gqlContext()});return!_0x571987[_0x18e881(0x20f)]&&_0x571987[_0x18e881(0x209)][_0x18e881(0x1e4)]&&_0x571987[_0x18e881(0x209)][_0x18e881(0x1e4)][_0x18e881(0x1df)]?_0x571987['data']['workCodeByName'][_0x18e881(0x1df)]['sort']((_0x4367c4,_0xee3760)=>_0x4367c4[_0x18e881(0x1d8)]-_0xee3760[_0x18e881(0x1d8)]):[];}static async[a0_0x60cb11(0x202)](_0x1dea1b){const _0x263ddd=a0_0x60cb11;let _0x397d28=(await ServiceUtil[_0x263ddd(0x1c4)](_0x1dea1b))[_0x263ddd(0x1d7)](_0x3c67ed=>({'value':_0x3c67ed[_0x263ddd(0x1f8)],'display':_0x3c67ed[_0x263ddd(0x214)]}));return _0x397d28[_0x263ddd(0x212)]({'value':'','display':''}),_0x397d28;}static async[a0_0x60cb11(0x1d5)](_0xc6d60a,_0x2bc3b5){const _0x4cf6ef=a0_0x60cb11;let _0x357a55=await ServiceUtil[_0x4cf6ef(0x1dc)](null,_0xc6d60a,_0x2bc3b5);return _0x357a55['unshift']({'value':'','display':''}),_0x357a55[_0x4cf6ef(0x1d7)](_0x5c9bab=>({'value':_0x5c9bab[_0x4cf6ef(0x1f8)],'display':_0x5c9bab[_0x4cf6ef(0x214)]}));}static async[a0_0x60cb11(0x211)]({queryName:_0x339012,codeField:_0x2bb74f=a0_0x60cb11(0x1f8),dispField:_0x396c63=a0_0x60cb11(0x214),filters:_0x38dd46=[],sorters:_0x2553c5=[]}){const _0x597131=a0_0x60cb11;let _0x38103d='\x0a\x20\x20\x20\x20\x20\x20'+_0x2bb74f+_0x597131(0x224)+_0x396c63+'\x0a\x20\x20\x20\x20',_0x379040=await ServiceUtil[_0x597131(0x1fe)](_0x339012,_0x38dd46,_0x2553c5,0x0,0x0,_0x38103d),_0x4544ef=[{'value':'','display':''}];return _0x379040[_0x597131(0x20a)][_0x597131(0x21f)](_0xcc3e2=>{const _0x490d8d=_0x597131;_0x4544ef[_0x490d8d(0x208)]({'value':_0xcc3e2[_0x2bb74f],'display':_0xcc3e2[_0x396c63]});}),_0x4544ef;}static async[a0_0x60cb11(0x1fd)](){const _0x5d29b3=a0_0x60cb11;let _0xcf2939=await ServiceUtil[_0x5d29b3(0x217)]();return null!=_0xcf2939?ServiceUtil[_0x5d29b3(0x203)](_0xcf2939):null;}static async[a0_0x60cb11(0x235)](_0x53812e){const _0x417147=a0_0x60cb11;let _0x48cb6e=[{'name':'menu.id','operator':'eq','value':_0x53812e}],_0xdd71bf=await ServiceUtil[_0x417147(0x1fe)]('gridPersonalizeTemplates',_0x48cb6e,[],0x0,0x0,_0x417147(0x1ee));return 0x0==_0xdd71bf[_0x417147(0x226)]?{}:{'id':_0xdd71bf['records'][0x0]['id'],'template':JSON[_0x417147(0x238)](_0xdd71bf[_0x417147(0x20a)][0x0][_0x417147(0x20b)])};}static[a0_0x60cb11(0x203)](_0x55e8a5){const _0x15c1d0=a0_0x60cb11;let _0x9a7e28=[];_0x55e8a5['forEach'](_0x120b74=>{const _0x516b0a=a0_0x1dc8;_0x9a7e28[_0x516b0a(0x208)](_0x120b74),_0x120b74['children']&&(_0x120b74['children'][_0x516b0a(0x221)](function(_0x125d53,_0x112b96){const _0x4cbc21=_0x516b0a;return _0x125d53[_0x4cbc21(0x1d8)]-_0x112b96[_0x4cbc21(0x1d8)];}),_0x120b74['children'][_0x516b0a(0x21f)](_0x28d5aa=>{const _0x3224c8=_0x516b0a;0x1!=_0x28d5aa[_0x3224c8(0x1c9)]&&(_0x28d5aa[_0x3224c8(0x1db)]=_0x120b74,_0x9a7e28[_0x3224c8(0x208)](_0x28d5aa));}));});let _0x11dbeb=_0x9a7e28['map'](_0x5b8654=>{const _0x2df9b1=a0_0x1dc8;if(_0x2df9b1(0x23c)==_0x5b8654['menuType']||_0x2df9b1(0x1ea)==_0x5b8654[_0x2df9b1(0x21a)]){let _0x901f37={'id':_0x5b8654['id'],'parent':!0x0,'name':TermsUtil['tMenu'](_0x5b8654[_0x2df9b1(0x1f8)]),'icon':_0x5b8654[_0x2df9b1(0x229)],'type':_0x2df9b1(0x23c)==_0x5b8654[_0x2df9b1(0x21a)]?_0x2df9b1(0x1cd):'','menus':[]};return _0x5b8654[_0x2df9b1(0x1d0)]&&(_0x901f37[_0x2df9b1(0x1cc)]=_0x5b8654[_0x2df9b1(0x1d0)]),_0x901f37;}return{'id':'0'};})[_0x15c1d0(0x21e)](_0x158d49=>'0'!=_0x158d49['id']),_0x4162bd=_0x9a7e28[_0x15c1d0(0x1d7)](_0x17a22f=>{const _0x4196de=_0x15c1d0;if(_0x4196de(0x1e1)==_0x17a22f[_0x4196de(0x21a)]||_0x4196de(0x1ff)==_0x17a22f[_0x4196de(0x21a)]){let _0x1b9c42=_0x11dbeb[_0x4196de(0x1c5)](_0x26d441=>_0x26d441['id']==_0x17a22f['parent']['id']);if(_0x1b9c42){let _0x35067d=TermsUtil[_0x4196de(0x210)](_0x17a22f[_0x4196de(0x1f8)]);return _0x4196de(0x1e1)==_0x17a22f[_0x4196de(0x21a)]&&_0x1b9c42['menus'][_0x4196de(0x208)]({'id':_0x17a22f['id'],'name':_0x35067d,'path':_0x17a22f[_0x4196de(0x1d0)],'icon':_0x17a22f[_0x4196de(0x229)]}),{'id':_0x17a22f['id'],'parent':!0x1,'parent_id':_0x1b9c42['id'],'title':_0x35067d,'tagname':_0x17a22f[_0x4196de(0x213)],'page':_0x17a22f[_0x4196de(0x1d0)],'template':_0x17a22f[_0x4196de(0x1e7)],'routing_type':_0x17a22f['routingType']};}return{'id':'0'};}return'HOME'==_0x17a22f['menuType']?{'id':_0x17a22f['id'],'parent':!0x0,'parent_id':null,'title':TermsUtil[_0x4196de(0x210)](_0x17a22f[_0x4196de(0x1f8)]),'tagname':_0x17a22f[_0x4196de(0x213)],'page':_0x17a22f[_0x4196de(0x1d0)],'template':_0x17a22f['resourceUrl'],'routing_type':_0x17a22f[_0x4196de(0x1c0)]}:{'id':'0'};})[_0x15c1d0(0x21e)](_0x53ee34=>null!=_0x53ee34&&'0'!=_0x53ee34['id']);_0x11dbeb['filter'](_0x250bde=>_0x15c1d0(0x1cd)==_0x250bde[_0x15c1d0(0x234)]&&_0x250bde[_0x15c1d0(0x1cf)]&&_0x250bde[_0x15c1d0(0x1cf)][_0x15c1d0(0x22e)]>0x0)['forEach'](_0x45b0ec=>{const _0x4cc36c=_0x15c1d0;let _0x214ce4=_0x11dbeb[_0x4cc36c(0x1f0)](_0x1f42b6=>_0x1f42b6['id']==_0x45b0ec['id'])+0x1;_0x11dbeb['splice'](_0x214ce4,0x0,..._0x45b0ec[_0x4cc36c(0x1cf)]);});let _0x17ff34=0x0;return _0x11dbeb['forEach'](_0x4ca8b5=>{const _0xebfa62=_0x15c1d0;_0xebfa62(0x1bf)==_0x4ca8b5[_0xebfa62(0x1cc)]?(_0x17ff34++,_0x4ca8b5[_0xebfa62(0x20e)]=()=>asyncReplace(generateActivitySummary(_0xebfa62(0x1ce))),_0x4ca8b5['active']=({path:_0x354439})=>/^activity\//[_0xebfa62(0x1d3)](_0x354439)):_0xebfa62(0x241)==_0x4ca8b5['path']?(_0x17ff34++,_0x4ca8b5['badge']=()=>asyncReplace(generateActivitySummary(_0xebfa62(0x201))),_0x4ca8b5[_0xebfa62(0x1f9)]=({path:_0x5c79a7})=>/^activity\//[_0xebfa62(0x1d3)](_0x5c79a7)):_0xebfa62(0x240)==_0x4ca8b5[_0xebfa62(0x1cc)]&&(_0x17ff34++,_0x4ca8b5[_0xebfa62(0x20e)]=()=>asyncReplace(generateActivitySummary(_0xebfa62(0x21c))));}),_0x17ff34>0x0&&startSubscribeActivitySummary(),{'menus':_0x11dbeb,'routes':_0x4162bd};}static async[a0_0x60cb11(0x217)](){const _0xa47ec4=a0_0x60cb11;let _0x20f6ca=await ServiceUtil[_0xa47ec4(0x1fe)](_0xa47ec4(0x1cf),[{'name':'hiddenFlag','operator':_0xa47ec4(0x233),'value':!0x0},{'name':_0xa47ec4(0x21a),'operator':'in','value':[_0xa47ec4(0x227),'MENU',_0xa47ec4(0x23c)]}],[{'name':_0xa47ec4(0x1d8)}],0x0,0x0,_0xa47ec4(0x1d1));return _0x20f6ca?_0x20f6ca['records']:[];}static async[a0_0x60cb11(0x1ec)](_0x1c5389){const _0x40b27d=a0_0x60cb11;if(_0x1c5389[_0x40b27d(0x20f)]&&_0x1c5389[_0x40b27d(0x20f)][_0x40b27d(0x22e)]>0x0){let _0x2d5ba5=_0x1c5389['errors'][0x0],_0x4e99b9=_0x2d5ba5[_0x40b27d(0x1f2)],_0x150ddb=_0x2d5ba5[_0x40b27d(0x1f2)];_0x2d5ba5[_0x40b27d(0x1c7)]&&(_0x150ddb=_0x2d5ba5[_0x40b27d(0x1c7)][_0x40b27d(0x1fb)]),await UiUtil['showAlertPopup'](_0x150ddb,_0x4e99b9,'error',_0x40b27d(0x1d2));}}static async[a0_0x60cb11(0x1e9)](_0x5a5991){const _0x379b9f=a0_0x60cb11;_0x5a5991&&(_0x5a5991[_0x379b9f(0x220)]&&_0x5a5991[_0x379b9f(0x220)][_0x379b9f(0x1f4)]?await ServiceUtil[_0x379b9f(0x1ec)](_0x5a5991[_0x379b9f(0x220)][_0x379b9f(0x1f4)]):await UiUtil['showAlertPopup'](_0x379b9f(0x1eb),_0x5a5991[_0x379b9f(0x1f2)],_0x379b9f(0x22d),_0x379b9f(0x1d2)));}static async['exportableData'](_0x3e231c,_0x1db286,_0x560160){const _0xd20172=a0_0x60cb11;var _0x114924=_0x560160[_0xd20172(0x1fa)]['columns'][_0xd20172(0x21e)](_0x3a6915=>_0xd20172(0x1c6)!==_0x3a6915[_0xd20172(0x234)]&&void 0x0!==_0x3a6915[_0xd20172(0x1f5)]&&void 0x0!==_0x3a6915[_0xd20172(0x216)]&&!0x0!==_0x3a6915[_0xd20172(0x22a)])[_0xd20172(0x1d7)](_0x76f06c=>_0x76f06c[_0xd20172(0x216)]),_0x4bb38a=_0x560160['data'][_0xd20172(0x20a)][_0xd20172(0x1d7)](_0x49daad=>({..._0x560160[_0xd20172(0x1fa)]['columns']['filter'](_0x49753f=>_0xd20172(0x1c6)!==_0x49753f[_0xd20172(0x234)]&&void 0x0!==_0x49753f[_0xd20172(0x1f5)]&&void 0x0!==_0x49753f[_0xd20172(0x216)]&&!0x0!==_0x49753f[_0xd20172(0x22a)])[_0xd20172(0x236)]((_0x325cee,_0x3ebaa0)=>(_0x325cee[_0x3ebaa0[_0xd20172(0x216)][_0xd20172(0x1c8)]]=_0x3ebaa0[_0xd20172(0x216)][_0xd20172(0x1c8)]['split']('.')['reduce']((_0x324acc,_0x5e7bfb)=>_0x324acc&&'undefined'!==_0x324acc[_0x5e7bfb]?_0x324acc[_0x5e7bfb]:void 0x0,_0x49daad),_0x325cee),{})}));if(!_0x3e231c)return{'header':_0x114924,'data':_0x4bb38a};store[_0xd20172(0x1ed)]({'type':EXPORT,'exportable':{'extension':_0xd20172(0x206),'name':_0x1db286,'data':{'header':_0x114924,'data':_0x4bb38a}}});}static async[a0_0x60cb11(0x1fe)](_0x42a639,_0x5e3111,_0x2e48b0,_0x46aba9,_0x2d0de0,_0x3b082e){const _0x4b90d2=a0_0x60cb11;try{const _0x254ec6=await client[_0x4b90d2(0x1e0)]({'query':a0_0x29c0ad`
12
12
  query ($filters: [Filter!], $pagination: Pagination, $sortings: [Sorting!]) {
13
- ${_0x43c612}(filters: $filters, pagination: $pagination, sortings: $sortings) {
13
+ ${_0x42a639}(filters: $filters, pagination: $pagination, sortings: $sortings) {
14
14
  items {
15
- ${_0x2fe2db}
15
+ ${_0x3b082e}
16
16
  }
17
17
  total
18
18
  }
19
19
  }
20
- `,'variables':{'filters':_0x1a6e7a,'sortings':_0x4e7fc1,'pagination':{'page':_0x41dc87,'limit':_0x3d7ade}}});if(!_0x4b5abf[_0x26a3d7(0x1a9)])return{'records':_0x4b5abf[_0x26a3d7(0x1d1)][_0x43c612][_0x26a3d7(0x1fe)],'total':_0x4b5abf[_0x26a3d7(0x1d1)][_0x43c612][_0x26a3d7(0x1be)]};ServiceUtil[_0x26a3d7(0x201)](_0x4b5abf);}catch(_0x1a5cec){ServiceUtil[_0x26a3d7(0x1cc)](_0x1a5cec);}return null;}static async['findOne'](_0x24aa82,_0x158900,_0x2c589b){const _0x47589f=a0_0x20ba37;try{let _0x318617=await client[_0x47589f(0x1f6)]({'query':a0_0x240a15`
20
+ `,'variables':{'filters':_0x5e3111,'sortings':_0x2e48b0,'pagination':{'page':_0x46aba9,'limit':_0x2d0de0}}});if(!_0x254ec6[_0x4b90d2(0x20f)])return{'records':_0x254ec6[_0x4b90d2(0x209)][_0x42a639][_0x4b90d2(0x1de)],'total':_0x254ec6[_0x4b90d2(0x209)][_0x42a639]['total']};ServiceUtil[_0x4b90d2(0x1ec)](_0x254ec6);}catch(_0x5c3ba9){ServiceUtil[_0x4b90d2(0x1e9)](_0x5c3ba9);}return null;}static async[a0_0x60cb11(0x1e8)](_0xe1dc2f,_0x28ca0e,_0x4d04bc){const _0x26e7c9=a0_0x60cb11;try{let _0x140abc=await client[_0x26e7c9(0x1e0)]({'query':a0_0x29c0ad`
21
21
  query ($id: String!) {
22
- ${_0x24aa82}(id: $id) {
23
- ${_0x2c589b}
22
+ ${_0xe1dc2f}(id: $id) {
23
+ ${_0x4d04bc}
24
24
  }
25
25
  }
26
- `,'variables':{'id':_0x158900}});if(!_0x318617[_0x47589f(0x1a9)])return _0x318617['data'][_0x24aa82]||{};ServiceUtil['showGraphqlErrorResponse'](_0x318617);}catch(_0x199f01){ServiceUtil[_0x47589f(0x1cc)](_0x199f01);}return null;}static[a0_0x20ba37(0x1d4)](_0x4dd03c,_0x2cb820){const _0x152523=a0_0x20ba37,_0x4a7c0a=_0x4dd03c[_0x152523(0x213)]['map'](_0x35cd4b=>_0x35cd4b['id']);return ValueUtil[_0x152523(0x1e7)](_0x4a7c0a)&&0x1==_0x2cb820&&UiUtil['showAlertPopup']('text.nothing_selected',_0x152523(0x1d5),'info',_0x152523(0x221)),_0x4a7c0a;}static async[a0_0x20ba37(0x1d6)](_0x2b2b67,_0x50a48b){const _0x22e638=a0_0x20ba37;let _0x16b5c8=ServiceUtil['getSelectedIdList'](_0x2b2b67,!0x0);ValueUtil[_0x22e638(0x1ee)](_0x16b5c8)&&(await ServiceUtil[_0x22e638(0x216)](_0x16b5c8,_0x50a48b)&&_0x2b2b67[_0x22e638(0x1bd)]());}static async[a0_0x20ba37(0x216)](_0x4d1043,_0x12d962){const _0x2aabcc=a0_0x20ba37;if(!(await UiUtil[_0x2aabcc(0x1b8)]('button.delete',_0x2aabcc(0x1c1),_0x2aabcc(0x1af),_0x2aabcc(0x1d0),_0x2aabcc(0x1f5)))[_0x2aabcc(0x20b)])return!0x1;try{const _0x34b009=await client[_0x2aabcc(0x1f6)]({'query':a0_0x240a15`
26
+ `,'variables':{'id':_0x28ca0e}});if(!_0x140abc['errors'])return _0x140abc[_0x26e7c9(0x209)][_0xe1dc2f]||{};ServiceUtil[_0x26e7c9(0x1ec)](_0x140abc);}catch(_0x4a42ba){ServiceUtil[_0x26e7c9(0x1e9)](_0x4a42ba);}return null;}static[a0_0x60cb11(0x1e5)](_0x14df9c,_0x505b9c){const _0x43e8d7=a0_0x60cb11,_0xc1e296=_0x14df9c['selected'][_0x43e8d7(0x1d7)](_0x597d74=>_0x597d74['id']);return ValueUtil[_0x43e8d7(0x1f3)](_0xc1e296)&&0x1==_0x505b9c&&UiUtil[_0x43e8d7(0x204)](_0x43e8d7(0x239),_0x43e8d7(0x1d4),_0x43e8d7(0x231),_0x43e8d7(0x1d2)),_0xc1e296;}static async[a0_0x60cb11(0x1e3)](_0x12ab36,_0x5bfa04){const _0xfd9afa=a0_0x60cb11;let _0x25d344=ServiceUtil[_0xfd9afa(0x1e5)](_0x12ab36,!0x0);ValueUtil['isNotEmpty'](_0x25d344)&&(await ServiceUtil[_0xfd9afa(0x1f1)](_0x25d344,_0x5bfa04)&&_0x12ab36[_0xfd9afa(0x1f7)]());}static async[a0_0x60cb11(0x1f1)](_0x5bd97f,_0x1938d8){const _0x573993=a0_0x60cb11;if(!(await UiUtil['showAlertPopup'](_0x573993(0x1d9),_0x573993(0x1be),_0x573993(0x23d),'delete',_0x573993(0x23f)))['value'])return!0x1;try{const _0x13fce6=await client[_0x573993(0x1e0)]({'query':a0_0x29c0ad`
27
27
  mutation {
28
- ${_0x12d962}(${gqlBuilder['buildArgs']({'ids':_0x4d1043})})
28
+ ${_0x1938d8}(${gqlBuilder[_0x573993(0x1ef)]({'ids':_0x5bd97f})})
29
29
  }
30
- `});if(!_0x34b009[_0x2aabcc(0x1a9)])return UiUtil[_0x2aabcc(0x1d2)](_0x2aabcc(0x212),TermsUtil[_0x2aabcc(0x1e1)]('success\x20to\x20delete')),!0x0;ServiceUtil['showGraphqlErrorResponse'](_0x34b009);}catch(_0x27940d){ServiceUtil[_0x2aabcc(0x1cc)](_0x27940d);}return!0x1;}static async['updateMultipleData'](_0x219b66,_0x4666f9){const _0x1ab96f=a0_0x20ba37;let _0x15a1b1=ServiceUtil[_0x1ab96f(0x1c2)](_0x219b66);if(ValueUtil[_0x1ab96f(0x1ee)](_0x15a1b1)){let _0x32d841=await ServiceUtil['updateMultiple'](_0x4666f9,_0x15a1b1);if(_0x32d841)return _0x219b66[_0x1ab96f(0x1bd)](),_0x32d841;}return!0x1;}static async[a0_0x20ba37(0x208)](_0x4c650b,_0x324009){const _0x438504=a0_0x20ba37;try{const _0x491b61=await client['query']({'query':a0_0x240a15`
30
+ `});if(!_0x13fce6[_0x573993(0x20f)])return UiUtil['showToast'](_0x573993(0x231),TermsUtil['tText'](_0x573993(0x1c1))),!0x0;ServiceUtil[_0x573993(0x1ec)](_0x13fce6);}catch(_0x148085){ServiceUtil[_0x573993(0x1e9)](_0x148085);}return!0x1;}static async['updateMultipleData'](_0x276291,_0x47decd){const _0x430f6f=a0_0x60cb11;let _0x5444d4=ServiceUtil[_0x430f6f(0x242)](_0x276291);if(ValueUtil[_0x430f6f(0x1f6)](_0x5444d4)){let _0x21df59=await ServiceUtil[_0x430f6f(0x225)](_0x47decd,_0x5444d4);if(_0x21df59)return _0x276291[_0x430f6f(0x1f7)](),_0x21df59;}return!0x1;}static async[a0_0x60cb11(0x225)](_0x65c17,_0x4aa131){const _0xf241a=a0_0x60cb11;try{const _0x534c22=await client['query']({'query':a0_0x29c0ad`
31
31
  mutation {
32
- ${_0x4c650b}(${gqlBuilder[_0x438504(0x1e9)]({'patches':_0x324009})}) {
32
+ ${_0x65c17}(${gqlBuilder['buildArgs']({'patches':_0x4aa131})}) {
33
33
  id
34
34
  }
35
35
  }
36
- `,'context':{'hasUpload':!0x0}});if(!_0x491b61[_0x438504(0x1a9)])return UiUtil['showToast'](_0x438504(0x212),TermsUtil[_0x438504(0x1e1)](_0x438504(0x203))),!0x0;ServiceUtil[_0x438504(0x201)](_0x491b61);}catch(_0x2ad73f){ServiceUtil[_0x438504(0x1cc)](_0x2ad73f);}return!0x1;}static['patchesForUpdateMultiple'](_0x27e289,_0x24559a=!0x1){const _0x638a98=a0_0x20ba37;let _0x2e57c=_0x27e289[_0x638a98(0x222)];if(_0x2e57c&&0x0!=_0x2e57c[_0x638a98(0x1ba)])return _0x2e57c['map'](_0x58cc2a=>{const _0x198197=_0x638a98;let _0x5472b5=_0x58cc2a['id']?{'id':_0x58cc2a['id']}:{};for(let _0x289220 in _0x58cc2a)['creator',_0x198197(0x1f9),_0x198197(0x214),_0x198197(0x1e2),_0x198197(0x1e0),_0x198197(0x1b2),_0x198197(0x1ef),_0x198197(0x20a),_0x198197(0x1f0)][_0x198197(0x1b1)](_0x289220)||(_0x58cc2a[_0x289220]&&_0x198197(0x1a6)==typeof _0x58cc2a[_0x289220]&&0x0==_0x24559a?_0x5472b5[_0x289220]={'id':_0x58cc2a[_0x289220]['id']}:_0x5472b5[_0x289220]=_0x58cc2a[_0x289220]);return _0x5472b5[_0x198197(0x21a)]=_0x58cc2a[_0x198197(0x1e0)],_0x5472b5;});UiUtil[_0x638a98(0x1b8)]('text.nothing_changed',_0x638a98(0x202),_0x638a98(0x212),'confirm');}static async[a0_0x20ba37(0x21d)](_0xee0e17,_0x24cf72,_0x8d0065){const _0x5f425d=a0_0x20ba37;let _0x866b5c=!0x0;_0xee0e17&&(_0x866b5c=(await UiUtil[_0x5f425d(0x1b8)](_0x5f425d(0x1cf)+_0xee0e17,_0x5f425d(0x1c1),'question',_0x5f425d(0x221),_0x5f425d(0x1f5)))[_0x5f425d(0x20b)]);if(_0x866b5c)try{const _0x4225e9=await client[_0x5f425d(0x1f6)]({'query':a0_0x240a15`
36
+ `,'context':{'hasUpload':!0x0}});if(!_0x534c22['errors'])return UiUtil[_0xf241a(0x20d)](_0xf241a(0x231),TermsUtil[_0xf241a(0x207)](_0xf241a(0x228))),!0x0;ServiceUtil[_0xf241a(0x1ec)](_0x534c22);}catch(_0x2f60a0){ServiceUtil['showGraphqlException'](_0x2f60a0);}return!0x1;}static[a0_0x60cb11(0x242)](_0x20104c,_0x148bcc=!0x1){const _0x195563=a0_0x60cb11;let _0x26d767=_0x20104c[_0x195563(0x1ca)];if(_0x26d767&&0x0!=_0x26d767[_0x195563(0x22e)])return _0x26d767[_0x195563(0x1d7)](_0x31f7ce=>{const _0x25d028=_0x195563;let _0x549b0e=_0x31f7ce['id']?{'id':_0x31f7ce['id']}:{};for(let _0x270ebc in _0x31f7ce)['creator',_0x25d028(0x237),'createdAt',_0x25d028(0x23b),_0x25d028(0x1c2),_0x25d028(0x1fc),_0x25d028(0x20c),_0x25d028(0x21b),'__selected__'][_0x25d028(0x1c3)](_0x270ebc)||(_0x31f7ce[_0x270ebc]&&_0x25d028(0x22c)==typeof _0x31f7ce[_0x270ebc]&&0x0==_0x148bcc?_0x549b0e[_0x270ebc]={'id':_0x31f7ce[_0x270ebc]['id']}:_0x549b0e[_0x270ebc]=_0x31f7ce[_0x270ebc]);return _0x549b0e['cuFlag']=_0x31f7ce['__dirty__'],_0x549b0e;});UiUtil[_0x195563(0x204)]('text.nothing_changed',_0x195563(0x22b),_0x195563(0x231),'confirm');}static async[a0_0x60cb11(0x1dc)](_0x4c3f1c,_0x283bd9,_0x595594){const _0x1a2059=a0_0x60cb11;let _0x12e9cf=!0x0;_0x4c3f1c&&(_0x12e9cf=(await UiUtil['showAlertPopup']('button.'+_0x4c3f1c,'text.are_you_sure',_0x1a2059(0x23d),_0x1a2059(0x1d2),_0x1a2059(0x23f)))[_0x1a2059(0x1da)]);if(_0x12e9cf)try{const _0x55d6ae=await client[_0x1a2059(0x1e0)]({'query':a0_0x29c0ad`
37
37
  mutation ($scenarioName: String!, $variables: Object) {
38
38
  runScenario(scenarioName: $scenarioName, variables: $variables) {
39
39
  state
@@ -42,4 +42,4 @@ const a0_0x20ba37=a0_0x3b35;(function(_0x4c7ba4,_0x2c89a3){const _0x2766a4=a0_0x
42
42
  __typename
43
43
  }
44
44
  }
45
- `,'variables':{'scenarioName':_0x24cf72,'variables':_0x8d0065}});if(_0x4225e9[_0x5f425d(0x1a9)])ServiceUtil[_0x5f425d(0x201)](_0x4225e9);else{if(this['checkClientError'](_0x4225e9))return UiUtil[_0x5f425d(0x1d2)](_0x5f425d(0x212),TermsUtil[_0x5f425d(0x1e1)](_0x5f425d(0x1f8))),_0x4225e9;}}catch(_0x129132){ServiceUtil[_0x5f425d(0x1cc)](_0x129132);}return!0x1;}static[a0_0x20ba37(0x1cd)](_0x4b2a54){const _0x54e858=a0_0x20ba37;if(_0x4b2a54&&_0x4b2a54[_0x54e858(0x1d1)]&&_0x4b2a54[_0x54e858(0x1d1)][_0x54e858(0x218)]&&_0x4b2a54[_0x54e858(0x1d1)]['runScenario'][_0x54e858(0x1d1)]&&_0x4b2a54[_0x54e858(0x1d1)]['runScenario'][_0x54e858(0x1d1)][_0x54e858(0x1a7)]){let _0x32926f=_0x4b2a54[_0x54e858(0x1d1)][_0x54e858(0x218)][_0x54e858(0x1d1)][_0x54e858(0x1a7)];return UiUtil[_0x54e858(0x1b8)](_0x32926f['title'],_0x32926f[_0x54e858(0x1ce)],_0x54e858(0x1a7),'confirm'),!0x1;}return!0x0;}}
45
+ `,'variables':{'scenarioName':_0x283bd9,'variables':_0x595594}});if(_0x55d6ae['errors'])ServiceUtil[_0x1a2059(0x1ec)](_0x55d6ae);else{if(this[_0x1a2059(0x215)](_0x55d6ae))return UiUtil[_0x1a2059(0x20d)](_0x1a2059(0x231),TermsUtil[_0x1a2059(0x207)](_0x1a2059(0x219))),_0x55d6ae;}}catch(_0x3072f6){ServiceUtil['showGraphqlException'](_0x3072f6);}return!0x1;}static[a0_0x60cb11(0x215)](_0x570963){const _0x1b690e=a0_0x60cb11;if(_0x570963&&_0x570963[_0x1b690e(0x209)]&&_0x570963['data'][_0x1b690e(0x223)]&&_0x570963[_0x1b690e(0x209)]['runScenario'][_0x1b690e(0x209)]&&_0x570963[_0x1b690e(0x209)][_0x1b690e(0x223)][_0x1b690e(0x209)][_0x1b690e(0x22d)]){let _0xffbd75=_0x570963['data'][_0x1b690e(0x223)]['data'][_0x1b690e(0x22d)];return UiUtil['showAlertPopup'](_0xffbd75[_0x1b690e(0x21d)],_0xffbd75[_0x1b690e(0x1f2)],_0x1b690e(0x22d),_0x1b690e(0x1d2)),!0x1;}return!0x0;}}
@@ -1,4 +1,4 @@
1
- function a0_0x2d62(_0x399424,_0x39f26f){const _0x41f022=a0_0x41f0();return a0_0x2d62=function(_0x2d6283,_0x3a94b1){_0x2d6283=_0x2d6283-0xa9;let _0x2e5378=_0x41f022[_0x2d6283];return _0x2e5378;},a0_0x2d62(_0x399424,_0x39f26f);}function a0_0x41f0(){const _0x2b14f0=['label','793179MLfHvh','1841408PhCGrV','menu','tError','tText','132DFtifM','fetchTerminologies','title','2162352kMkEcF','1259909QUEXTO','error','1900590Hlnljw','keys','META_TERMS','records','category','button','tButton','field','translate','6riykdE','tField','forEach','136398DPlGkh','total','name','replace','terminologies','display','query','tLabel','2613kdQIDU','text'];a0_0x41f0=function(){return _0x2b14f0;};return a0_0x41f0();}const a0_0x2e849c=a0_0x2d62;(function(_0x399f21,_0x1e6517){const _0x59efa4=a0_0x2d62,_0x59da80=_0x399f21();while(!![]){try{const _0x284f4e=-parseInt(_0x59efa4(0xc3))/0x1*(-parseInt(_0x59efa4(0xc0))/0x2)+-parseInt(_0x59efa4(0xa9))/0x3*(parseInt(_0x59efa4(0xb1))/0x4)+-parseInt(_0x59efa4(0xb7))/0x5+parseInt(_0x59efa4(0xb4))/0x6+parseInt(_0x59efa4(0xb5))/0x7+-parseInt(_0x59efa4(0xad))/0x8+-parseInt(_0x59efa4(0xac))/0x9;if(_0x284f4e===_0x1e6517)break;else _0x59da80['push'](_0x59da80['shift']());}catch(_0x31009b){_0x59da80['push'](_0x59da80['shift']());}}}(a0_0x41f0,0x364c5));import a0_0x681826 from'graphql-tag';import{client}from'@operato/graphql';import{i18next}from'@operato/i18n';export class TermsUtil{[a0_0x2e849c(0xb9)]=null;static async['downloadTerminologies'](_0x563680){const _0x25de2d=a0_0x2e849c;let _0x15ce9b=(await TermsUtil[_0x25de2d(0xb2)](_0x563680))[_0x25de2d(0xba)];_0x15ce9b&&_0x15ce9b['length']>0x0&&(this[_0x25de2d(0xb9)]={},_0x15ce9b[_0x25de2d(0xc2)](_0x380c12=>{const _0x149370=_0x25de2d;let _0x40b412=_0x380c12['category']+'.'+_0x380c12[_0x149370(0xc5)];this[_0x149370(0xb9)][_0x40b412]=_0x380c12[_0x149370(0xc8)];}));}static async[a0_0x2e849c(0xb2)](_0x17e665){const _0x410785=a0_0x2e849c;let _0x3069ad=[{'name':'locale','operator':'eq','value':_0x17e665}];const _0x4b0f01=await client[_0x410785(0xc9)]({'query':a0_0x681826`
1
+ const a0_0x174903=a0_0x3a7e;function a0_0x3a7e(_0x1eefec,_0x49e689){const _0x5f0b3d=a0_0x5f0b();return a0_0x3a7e=function(_0x3a7e82,_0x1aca31){_0x3a7e82=_0x3a7e82-0x121;let _0x3f328b=_0x5f0b3d[_0x3a7e82];return _0x3f328b;},a0_0x3a7e(_0x1eefec,_0x49e689);}(function(_0x31ddca,_0x22a283){const _0x5d5aba=a0_0x3a7e,_0x523057=_0x31ddca();while(!![]){try{const _0x5e0b45=-parseInt(_0x5d5aba(0x136))/0x1+parseInt(_0x5d5aba(0x13e))/0x2*(-parseInt(_0x5d5aba(0x135))/0x3)+parseInt(_0x5d5aba(0x122))/0x4*(-parseInt(_0x5d5aba(0x144))/0x5)+parseInt(_0x5d5aba(0x127))/0x6+parseInt(_0x5d5aba(0x13a))/0x7+parseInt(_0x5d5aba(0x123))/0x8+parseInt(_0x5d5aba(0x138))/0x9*(parseInt(_0x5d5aba(0x12e))/0xa);if(_0x5e0b45===_0x22a283)break;else _0x523057['push'](_0x523057['shift']());}catch(_0x5ebc18){_0x523057['push'](_0x523057['shift']());}}}(a0_0x5f0b,0x8b0f0));import a0_0x3b22c5 from'graphql-tag';function a0_0x5f0b(){const _0x832cf1=['text','data','107802ksEpCq','keys','query','button','tField','terminologies','tText','47220HszdIs','records','locale','tTitle','forEach','title','translate','563793BDeoNC','1046093ugAWmP','display','2187kouQFO','replace','6516069IxFQyQ','tButton','items','menu','8jCNBwe','errors','field','length','tMenu','META_TERMS','23060axYRya','name','label','fetchTerminologies','downloadTerminologies','total','664oCuEie','8293704zDVgbO','category'];a0_0x5f0b=function(){return _0x832cf1;};return a0_0x5f0b();}import{client}from'@operato/graphql';import{i18next}from'@operato/i18n';export class TermsUtil{[a0_0x174903(0x143)]=null;static async[a0_0x174903(0x148)](_0x510087){const _0x15a4ee=a0_0x174903;let _0x37a3ec=(await TermsUtil[_0x15a4ee(0x147)](_0x510087))[_0x15a4ee(0x12f)];_0x37a3ec&&_0x37a3ec[_0x15a4ee(0x141)]>0x0&&(this['META_TERMS']={},_0x37a3ec[_0x15a4ee(0x132)](_0x35b06b=>{const _0x5cfc45=_0x15a4ee;let _0x4431c9=_0x35b06b[_0x5cfc45(0x124)]+'.'+_0x35b06b[_0x5cfc45(0x145)];this[_0x5cfc45(0x143)][_0x4431c9]=_0x35b06b[_0x5cfc45(0x137)];}));}static async['fetchTerminologies'](_0x52f294){const _0x2a2cce=a0_0x174903;let _0x325c9a=[{'name':_0x2a2cce(0x130),'operator':'eq','value':_0x52f294}];const _0x2d7a73=await client[_0x2a2cce(0x129)]({'query':a0_0x3b22c5`
2
2
  query ($filters: [Filter!], $pagination: Pagination, $sortings: [Sorting!]) {
3
3
  terminologies(filters: $filters, pagination: $pagination, sortings: $sortings) {
4
4
  items {
@@ -11,4 +11,4 @@ function a0_0x2d62(_0x399424,_0x39f26f){const _0x41f022=a0_0x41f0();return a0_0x
11
11
  total
12
12
  }
13
13
  }
14
- `,'variables':{'filters':_0x3069ad,'sortings':[{'name':_0x410785(0xbb)},{'name':_0x410785(0xc5)}],'pagination':{'page':0x0,'limit':0x0}}});if(!_0x4b0f01['errors'])return{'records':_0x4b0f01['data'][_0x410785(0xc7)]['items']||[],'total':_0x4b0f01['data'][_0x410785(0xc7)][_0x410785(0xc4)]||0x0};}static[a0_0x2e849c(0xca)](_0x29c18c,_0x12dbdc){const _0x8adec3=a0_0x2e849c;let _0x540ae3=TermsUtil[_0x8adec3(0xbf)](_0x8adec3(0xab),_0x29c18c,_0x12dbdc,null);return _0x540ae3||TermsUtil[_0x8adec3(0xbf)](_0x8adec3(0xbe),_0x29c18c,_0x12dbdc,_0x29c18c);}static[a0_0x2e849c(0xc1)](_0x2de0fc,_0x30ae57){const _0x268056=a0_0x2e849c;let _0x188c6a=TermsUtil[_0x268056(0xbf)]('field',_0x2de0fc,_0x30ae57,null);return _0x188c6a||TermsUtil[_0x268056(0xbf)](_0x268056(0xbe),_0x2de0fc,_0x30ae57,_0x2de0fc);}static[a0_0x2e849c(0xbd)](_0x1c8629){const _0x2ac28d=a0_0x2e849c;return TermsUtil[_0x2ac28d(0xbf)](_0x2ac28d(0xbc),_0x1c8629,null,_0x1c8629);}static['tTitle'](_0x597417,_0x469277){const _0xb30ea7=a0_0x2e849c;let _0x1947e4=TermsUtil[_0xb30ea7(0xbf)](_0xb30ea7(0xb3),_0x597417,_0x469277,null);return _0x1947e4||TermsUtil[_0xb30ea7(0xbf)](_0xb30ea7(0xae),_0x597417,_0x469277,_0x597417);}static['tMenu'](_0x1cba4d){const _0x4f0e8c=a0_0x2e849c;let _0x5d2e2d=TermsUtil[_0x4f0e8c(0xbf)]('menu',_0x1cba4d,null,_0x1cba4d);return _0x5d2e2d||TermsUtil[_0x4f0e8c(0xbf)]('title',_0x1cba4d,null,_0x1cba4d);}static[a0_0x2e849c(0xb0)](_0xa49346,_0x5bce1e){const _0x10e26e=a0_0x2e849c;return TermsUtil[_0x10e26e(0xbf)](_0x10e26e(0xaa),_0xa49346,_0x5bce1e,_0xa49346);}static[a0_0x2e849c(0xaf)](_0x13f2ca,_0x2c30d2){const _0x2d3450=a0_0x2e849c;return TermsUtil[_0x2d3450(0xbf)](_0x2d3450(0xb6),_0x13f2ca,_0x2c30d2,_0x13f2ca);}static[a0_0x2e849c(0xbf)](_0x506911,_0x17d3dc,_0x480da5,_0x1461cf){let _0x12cb1c=_0x506911+'.'+_0x17d3dc;return TermsUtil['t'](_0x12cb1c,_0x480da5,_0x1461cf);}static['t'](_0x528a32,_0x465738,_0x4f8f1d){const _0x4cf49f=a0_0x2e849c;let _0xcb1b5b=this[_0x4cf49f(0xb9)]?this[_0x4cf49f(0xb9)][_0x528a32]:null;return _0xcb1b5b=_0xcb1b5b||i18next['t'](_0x528a32),_0xcb1b5b&&_0x528a32!=_0xcb1b5b?(_0x465738&&Object[_0x4cf49f(0xb8)](_0x465738)[_0x4cf49f(0xc2)](function(_0x5d68d3){const _0x2f9e55=_0x4cf49f;var _0x23e792='\x5c{'+_0x5d68d3[_0x2f9e55(0xc6)](/\$/,'\x5c$')+'\x5c}',_0x376e23=new RegExp(_0x23e792,'gi');_0xcb1b5b=_0xcb1b5b[_0x2f9e55(0xc6)](_0x376e23,_0x465738[_0x5d68d3]);}),_0xcb1b5b):_0x4f8f1d;}}
14
+ `,'variables':{'filters':_0x325c9a,'sortings':[{'name':_0x2a2cce(0x124)},{'name':'name'}],'pagination':{'page':0x0,'limit':0x0}}});if(!_0x2d7a73[_0x2a2cce(0x13f)])return{'records':_0x2d7a73[_0x2a2cce(0x126)]['terminologies'][_0x2a2cce(0x13c)]||[],'total':_0x2d7a73[_0x2a2cce(0x126)][_0x2a2cce(0x12c)][_0x2a2cce(0x121)]||0x0};}static['tLabel'](_0x165251,_0x21c6ac){const _0x3242dc=a0_0x174903;let _0x5a3757=TermsUtil[_0x3242dc(0x134)](_0x3242dc(0x146),_0x165251,_0x21c6ac,null);return _0x5a3757||TermsUtil[_0x3242dc(0x134)](_0x3242dc(0x140),_0x165251,_0x21c6ac,_0x165251);}static[a0_0x174903(0x12b)](_0xec8344,_0x55eb04){let _0x491df8=TermsUtil['translate']('field',_0xec8344,_0x55eb04,null);return _0x491df8||TermsUtil['translate']('field',_0xec8344,_0x55eb04,_0xec8344);}static[a0_0x174903(0x13b)](_0x354aae){const _0x38b598=a0_0x174903;return TermsUtil['translate'](_0x38b598(0x12a),_0x354aae,null,_0x354aae);}static[a0_0x174903(0x131)](_0x3c7b36,_0x3edd34){const _0x2c253c=a0_0x174903;let _0x1a77f9=TermsUtil['translate']('title',_0x3c7b36,_0x3edd34,null);return _0x1a77f9||TermsUtil[_0x2c253c(0x134)](_0x2c253c(0x13d),_0x3c7b36,_0x3edd34,_0x3c7b36);}static[a0_0x174903(0x142)](_0x318ff2){const _0x211500=a0_0x174903;let _0x5e51ca=TermsUtil[_0x211500(0x134)](_0x211500(0x13d),_0x318ff2,null,_0x318ff2);return _0x5e51ca||TermsUtil[_0x211500(0x134)](_0x211500(0x133),_0x318ff2,null,_0x318ff2);}static[a0_0x174903(0x12d)](_0x18e3f9,_0x13052a){const _0x541066=a0_0x174903;return TermsUtil[_0x541066(0x134)](_0x541066(0x125),_0x18e3f9,_0x13052a,_0x18e3f9);}static['tError'](_0xa3166c,_0x575037){const _0x1b9ac5=a0_0x174903;return TermsUtil[_0x1b9ac5(0x134)]('error',_0xa3166c,_0x575037,_0xa3166c);}static[a0_0x174903(0x134)](_0x1edee4,_0x5a79cf,_0x26473e,_0x2f5988){let _0x143cad=_0x1edee4+'.'+_0x5a79cf;return TermsUtil['t'](_0x143cad,_0x26473e,_0x2f5988);}static['t'](_0x4446a3,_0x2be3e1,_0x4429ba){const _0x1f014b=a0_0x174903;let _0x565c56=this[_0x1f014b(0x143)]?this[_0x1f014b(0x143)][_0x4446a3]:null;return _0x565c56=_0x565c56||i18next['t'](_0x4446a3),_0x565c56&&_0x4446a3!=_0x565c56?(_0x2be3e1&&Object[_0x1f014b(0x128)](_0x2be3e1)['forEach'](function(_0x31738f){const _0x1b1610=_0x1f014b;var _0x27a849='\x5c{'+_0x31738f[_0x1b1610(0x139)](/\$/,'\x5c$')+'\x5c}',_0x3d7de1=new RegExp(_0x27a849,'gi');_0x565c56=_0x565c56[_0x1b1610(0x139)](_0x3d7de1,_0x2be3e1[_0x31738f]);}),_0x565c56):_0x4429ba;}}
@@ -1 +1 @@
1
- const a0_0x541cef=a0_0x1f36;function a0_0x1f36(_0x46ca8d,_0x3e5e26){const _0xce1a3e=a0_0xce1a();return a0_0x1f36=function(_0x1f36cf,_0x3df150){_0x1f36cf=_0x1f36cf-0xce;let _0xf2e0fe=_0xce1a3e[_0x1f36cf];return _0xf2e0fe;},a0_0x1f36(_0x46ca8d,_0x3e5e26);}(function(_0x2cf445,_0x4e30a8){const _0x12230e=a0_0x1f36,_0x15c12a=_0x2cf445();while(!![]){try{const _0x2b0a41=-parseInt(_0x12230e(0xe2))/0x1*(parseInt(_0x12230e(0xfc))/0x2)+parseInt(_0x12230e(0x107))/0x3+-parseInt(_0x12230e(0xd4))/0x4+-parseInt(_0x12230e(0x102))/0x5*(-parseInt(_0x12230e(0xea))/0x6)+parseInt(_0x12230e(0xf4))/0x7+parseInt(_0x12230e(0x103))/0x8+-parseInt(_0x12230e(0xde))/0x9*(parseInt(_0x12230e(0xff))/0xa);if(_0x2b0a41===_0x4e30a8)break;else _0x15c12a['push'](_0x15c12a['shift']());}catch(_0x3c3799){_0x15c12a['push'](_0x15c12a['shift']());}}}(a0_0xce1a,0x3990f));import{store,CustomAlert,navigate}from'@things-factory/shell';import{openPopup}from'@things-factory/layout-base';import{isMobileDevice}from'@things-factory/utils';function a0_0xce1a(){const _0x535184=['openDynamicPopup','menu','\x27></','openPopupByElement','i18next','2482935xKTXkD','ox-input-barcode','[name=\x27','currentLocale','page','dispatchEvent','cancelButton','editor','2QHVdvV','createCustomElement','route','3260sfdVBV','isNotEmpty','popup_field','886340PpKqpO','2715168aTNOwi','childNodes','modules','parent_field','916176ZFuXjo','showToast','querySelector','select-combo','config','i18next=','getParams','isMobileEnv','textarea','value','barcode','replace','template','firstElementChild','input','tButton','content','getApplicationModuleInfo','forEach','length','split','setValueToEditor','getStore','filters','567680LDXRcg','\x27\x20\x20parent_id=\x27','\x27\x20is_popup=true></','ox-input-code','substring','currentRouting','getFilterFormData','stringify','createEditorHtml','indexOf','19953xKFqUl','code-editor','\x20route_name=\x27','ko-KR','76308KubViU','createElement','getState','htmlToElement','getType','ox-select','setSearchFormEditorValue','tagname','6UezPJd','renderRoot','getLeafInput','removeChild','pass='];a0_0xce1a=function(){return _0x535184;};return a0_0xce1a();}import{getEditor}from'@operato/data-grist';import{TermsUtil}from'./terms-util';import{ValueUtil}from'./value-util';import{MetaUiUtil}from'./meta-ui-util';export class UiUtil{static[a0_0x541cef(0x10e)](){return isMobileDevice();}static[a0_0x541cef(0xf7)](){const _0x2716f4=a0_0x541cef;let _0x1ab60e=document['cookie'];return _0x1ab60e=_0x1ab60e[_0x2716f4(0xd8)](_0x1ab60e[_0x2716f4(0xdd)](_0x2716f4(0xf3))),_0x1ab60e[_0x2716f4(0xdd)](';')>-0x1&&(_0x1ab60e=_0x1ab60e[_0x2716f4(0xd8)](0x0,_0x1ab60e[_0x2716f4(0xdd)](';'))),_0x1ab60e=_0x1ab60e[_0x2716f4(0x112)](_0x2716f4(0x10c),''),'ko'==_0x1ab60e?_0x2716f4(0xe1):_0x1ab60e;}static[a0_0x541cef(0x118)](){const _0xf5b09f=a0_0x541cef;let _0x273dc1=store['getState']()['app'][_0xf5b09f(0x105)];return _0x273dc1[_0x273dc1[_0xf5b09f(0xcf)]-0x1];}static[a0_0x541cef(0xd9)](){const _0x1ecdc0=a0_0x541cef;return store[_0x1ecdc0(0xe4)]()[_0x1ecdc0(0xfe)][_0x1ecdc0(0xf8)];}static['openPopupByElement'](_0x16c580,_0x1e8e8c,_0x52ad1b,_0x5ad108){return openPopup(_0x52ad1b,{'backdrop':!0x0,'size':_0x1e8e8c,'title':_0x16c580,'backdrop':_0x5ad108});}static async[a0_0x541cef(0xef)](_0x12a55d,_0x461314,_0x19f93e,_0x3bd844){const _0x59a2c8=a0_0x541cef;let _0x25c547=ValueUtil[_0x59a2c8(0x100)](_0x461314['parent_field'])?ValueUtil[_0x59a2c8(0x10d)](_0x19f93e,..._0x461314[_0x59a2c8(0x106)][_0x59a2c8(0xd0)]('.')):void 0x0,_0x53a902='<'+_0x461314[_0x59a2c8(0xe9)]+_0x59a2c8(0xe0)+_0x461314[_0x59a2c8(0xf0)]+_0x59a2c8(0xd5)+_0x25c547+_0x59a2c8(0xd6)+_0x461314[_0x59a2c8(0xe9)]+'>',_0x2001ff=UiUtil[_0x59a2c8(0xe5)](_0x53a902);_0x2001ff[_0x59a2c8(0x10b)]=_0x461314,ValueUtil[_0x59a2c8(0x100)](_0x461314[_0x59a2c8(0x101)])&&(_0x2001ff[_0x461314['popup_field']]=_0x19f93e);let _0x25182b=UiUtil[_0x59a2c8(0xf2)](_0x12a55d,_0x461314['size'],_0x2001ff,!0x0);_0x3bd844&&(_0x25182b['onclosed']=_0x3bd844);}static[a0_0x541cef(0xfd)](_0x1a2005,_0x2bb336){const _0x3a7a33=a0_0x541cef;let _0x49316e='<'+_0x1a2005+_0x3a7a33(0xe0)+_0x2bb336+_0x3a7a33(0xf1)+_0x1a2005+'>';return UiUtil[_0x3a7a33(0xe5)](_0x49316e);}static[a0_0x541cef(0xe5)](_0x1dd2ff){const _0x592fcb=a0_0x541cef;var _0x591515=document[_0x592fcb(0xe3)](_0x592fcb(0x113));_0x591515['innerHTML']=_0x1dd2ff;var _0x4288eb=_0x591515[_0x592fcb(0x117)][_0x592fcb(0x104)][0x0];return _0x591515[_0x592fcb(0x117)][_0x592fcb(0xed)](_0x4288eb),_0x4288eb;}static['pageNavigate'](_0x122f23,_0x37d41f){const _0x2a88c2=a0_0x541cef;let _0x199bfd=_0x37d41f?'?':'';_0x37d41f&&(_0x199bfd+=_0x2a88c2(0xee)+JSON[_0x2a88c2(0xdb)](_0x37d41f)),navigate(''+_0x122f23+_0x199bfd);}static[a0_0x541cef(0xd2)](_0x5d4588,_0x357014,_0x3710ba){let _0x118f40=_0x118f40['getState']();return _0x5d4588&&_0x357014&&_0x3710ba?_0x118f40[_0x5d4588][_0x357014][_0x3710ba]:_0x5d4588&&_0x357014?_0x118f40[_0x5d4588][_0x357014]:_0x5d4588?_0x118f40[_0x5d4588]:_0x118f40;}static['fireCustomEvent'](_0x146749,_0x5a29d9){const _0x32970e=a0_0x541cef;document[_0x32970e(0xf9)](new CustomEvent(_0x146749,{'detail':_0x5a29d9}));}static[a0_0x541cef(0x108)](_0x29959b,_0x386748){document['dispatchEvent'](new CustomEvent('notify',{'detail':{'type':_0x29959b,'message':_0x386748}}));}static async['showAlertPopup'](_0x262c6b,_0x308119,_0x111270,_0x460505,_0x5692c8){const _0x2bc6a3=a0_0x541cef;let _0x10be82={'title':TermsUtil['t'](_0x262c6b)||_0x262c6b,'text':TermsUtil['t'](_0x308119)||_0x308119};return _0x111270&&(_0x10be82['type']=_0x111270),_0x460505&&(_0x10be82['confirmButton']=TermsUtil[_0x2bc6a3(0x116)](_0x460505)),_0x5692c8&&(_0x10be82[_0x2bc6a3(0xfa)]=TermsUtil[_0x2bc6a3(0x116)](_0x5692c8)),await CustomAlert(_0x10be82);}static[a0_0x541cef(0xda)](_0x594c3a){const _0x3b20cb=a0_0x541cef;if(ValueUtil[_0x3b20cb(0x100)](_0x594c3a)){let _0x16826b=_0x594c3a[_0x3b20cb(0xd3)]();ValueUtil[_0x3b20cb(0x100)](_0x16826b)&&_0x16826b[_0x3b20cb(0xce)](_0x240582=>{const _0x2846e5=_0x3b20cb;ValueUtil['isNotEmpty'](_0x240582[_0x2846e5(0x110)])&&(item[_0x240582['name']]=_0x240582[_0x2846e5(0x110)]?_0x240582[_0x2846e5(0x110)]:null);});}return{};}static[a0_0x541cef(0xe8)](_0x43b574,_0x1c86f7,_0x3925bc){const _0xbc2c77=a0_0x541cef;if(ValueUtil[_0xbc2c77(0x100)](_0x43b574)){let _0x2390f0=_0x43b574['renderRoot']?.[_0xbc2c77(0x109)](_0xbc2c77(0xf6)+_0x1c86f7+'\x27]');ValueUtil[_0xbc2c77(0x100)](_0x2390f0)&&(_0x2390f0[_0xbc2c77(0x110)]=_0x3925bc);}}static[a0_0x541cef(0xdc)](_0x473123,_0x433f2c,_0x549ffb,_0x1421e8){return getEditor(_0x473123)('',_0x433f2c,_0x549ffb,_0x1421e8,{});}static[a0_0x541cef(0xd1)](_0x32ff5a,_0x4a19b5){const _0x28d724=a0_0x541cef;UiUtil['getLeafInput'](_0x32ff5a)[_0x28d724(0x110)]=_0x4a19b5;}static[a0_0x541cef(0xec)](_0x3b087e){const _0x4a7b1d=a0_0x541cef;let _0x4d8e32=_0x3b087e[_0x4a7b1d(0xe6)]();return _0x4a7b1d(0xdf)==_0x4d8e32?_0x3b087e[_0x4a7b1d(0xeb)][_0x4a7b1d(0x109)](_0x4a7b1d(0xd7)):_0x4a7b1d(0x10f)==_0x4d8e32?_0x3b087e['renderRoot']['querySelector'](_0x4a7b1d(0x10f)):_0x4a7b1d(0x10a)==_0x4d8e32?_0x3b087e['renderRoot'][_0x4a7b1d(0x109)](_0x4a7b1d(0xe7))[_0x4a7b1d(0x114)]:_0x4a7b1d(0x111)==_0x4d8e32?_0x3b087e[_0x4a7b1d(0xeb)][_0x4a7b1d(0x109)](_0x4a7b1d(0xf5))[_0x4a7b1d(0xeb)][_0x4a7b1d(0x109)](_0x4a7b1d(0x115)):_0x3b087e[_0x4a7b1d(0xeb)][_0x4a7b1d(0x114)][_0x4a7b1d(0xfb)];}}
1
+ function a0_0x10a4(_0x14c007,_0x32f708){const _0x19b53b=a0_0x19b5();return a0_0x10a4=function(_0x10a49e,_0x33ea66){_0x10a49e=_0x10a49e-0xa1;let _0x122b48=_0x19b53b[_0x10a49e];return _0x122b48;},a0_0x10a4(_0x14c007,_0x32f708);}const a0_0x4d431a=a0_0x10a4;(function(_0x4cd1e2,_0x51311a){const _0x20b2e6=a0_0x10a4,_0x8cd132=_0x4cd1e2();while(!![]){try{const _0x2f3b50=parseInt(_0x20b2e6(0xbf))/0x1*(parseInt(_0x20b2e6(0xeb))/0x2)+parseInt(_0x20b2e6(0xe1))/0x3+parseInt(_0x20b2e6(0xc9))/0x4*(parseInt(_0x20b2e6(0xd3))/0x5)+-parseInt(_0x20b2e6(0xdb))/0x6+parseInt(_0x20b2e6(0xb8))/0x7+parseInt(_0x20b2e6(0xe7))/0x8+-parseInt(_0x20b2e6(0xbc))/0x9*(parseInt(_0x20b2e6(0xde))/0xa);if(_0x2f3b50===_0x51311a)break;else _0x8cd132['push'](_0x8cd132['shift']());}catch(_0x1d2138){_0x8cd132['push'](_0x8cd132['shift']());}}}(a0_0x19b5,0xafc1f));import{store,CustomAlert,navigate}from'@things-factory/shell';import{openPopup}from'@things-factory/layout-base';import{isMobileDevice}from'@things-factory/utils';import{getEditor}from'@operato/data-grist';function a0_0x19b5(){const _0x202818=['replace','config','getState','dispatchEvent','type','getType','confirmButton','cookie','modules','openPopupByElement','route','value','\x27\x20\x20parent_id=\x27','page','createCustomElement','7760298XPvrSR','filters','indexOf','popup_field','27vxmfnY','renderRoot','size','1xSiAvT','htmlToElement','ox-input-code','[name=\x27','select-combo','i18next=','\x27></','forEach','ko-KR','editor','148CfCiHJ','setValueToEditor','removeChild','showToast','innerHTML','showAlertPopup','name','fireCustomEvent','currentLocale','ox-input-barcode','9480brOCgE','stringify','isNotEmpty','childNodes','setSearchFormEditorValue','getApplicationModuleInfo','menu','substring','3395610zGSVir','input','querySelector','7370670RotNaG','content','template','4314450KoHWap','createElement','onclosed','tButton','parent_field','pass=','4235344KfXQNB','split','getStore','length','701410JCCjVB','pageNavigate','i18next','\x20route_name=\x27','barcode','firstElementChild','getFilterFormData','getLeafInput','textarea','tagname'];a0_0x19b5=function(){return _0x202818;};return a0_0x19b5();}import{TermsUtil}from'./terms-util';import{ValueUtil}from'./value-util';import{MetaUiUtil}from'./meta-ui-util';export class UiUtil{static['isMobileEnv'](){return isMobileDevice();}static[a0_0x4d431a(0xd1)](){const _0xa2affa=a0_0x4d431a;let _0x1e9a13=document[_0xa2affa(0xb0)];return _0x1e9a13=_0x1e9a13[_0xa2affa(0xda)](_0x1e9a13[_0xa2affa(0xba)](_0xa2affa(0xa1))),_0x1e9a13[_0xa2affa(0xba)](';')>-0x1&&(_0x1e9a13=_0x1e9a13['substring'](0x0,_0x1e9a13[_0xa2affa(0xba)](';'))),_0x1e9a13=_0x1e9a13[_0xa2affa(0xa9)](_0xa2affa(0xc4),''),'ko'==_0x1e9a13?_0xa2affa(0xc7):_0x1e9a13;}static[a0_0x4d431a(0xd8)](){const _0x2013ba=a0_0x4d431a;let _0xcaad0=store['getState']()['app'][_0x2013ba(0xb1)];return _0xcaad0[_0xcaad0[_0x2013ba(0xea)]-0x1];}static['currentRouting'](){const _0x401ea7=a0_0x4d431a;return store[_0x401ea7(0xab)]()[_0x401ea7(0xb3)][_0x401ea7(0xb6)];}static['openPopupByElement'](_0x4e810e,_0x20579,_0x6b6da8,_0x1e3d3c){return openPopup(_0x6b6da8,{'backdrop':!0x0,'size':_0x20579,'title':_0x4e810e,'backdrop':_0x1e3d3c});}static async['openDynamicPopup'](_0x3acfa6,_0x26df09,_0x5d677f,_0x1fd9b6){const _0xf0cd27=a0_0x4d431a;let _0x443c81=ValueUtil[_0xf0cd27(0xd5)](_0x26df09[_0xf0cd27(0xe5)])?ValueUtil['getParams'](_0x5d677f,..._0x26df09[_0xf0cd27(0xe5)][_0xf0cd27(0xe8)]('.')):void 0x0,_0x346927='<'+_0x26df09[_0xf0cd27(0xa8)]+_0xf0cd27(0xa2)+_0x26df09[_0xf0cd27(0xd9)]+_0xf0cd27(0xb5)+_0x443c81+'\x27\x20is_popup=true></'+_0x26df09['tagname']+'>',_0x4c8214=UiUtil[_0xf0cd27(0xc0)](_0x346927);_0x4c8214[_0xf0cd27(0xaa)]=_0x26df09,ValueUtil[_0xf0cd27(0xd5)](_0x26df09[_0xf0cd27(0xbb)])&&(_0x4c8214[_0x26df09[_0xf0cd27(0xbb)]]=_0x5d677f);let _0xb044e=UiUtil[_0xf0cd27(0xb2)](_0x3acfa6,_0x26df09[_0xf0cd27(0xbe)],_0x4c8214,!0x0);_0x1fd9b6&&(_0xb044e[_0xf0cd27(0xe3)]=_0x1fd9b6);}static[a0_0x4d431a(0xb7)](_0x4995ed,_0x56a9c3){const _0x19e2df=a0_0x4d431a;let _0x210794='<'+_0x4995ed+'\x20route_name=\x27'+_0x56a9c3+_0x19e2df(0xc5)+_0x4995ed+'>';return UiUtil[_0x19e2df(0xc0)](_0x210794);}static[a0_0x4d431a(0xc0)](_0xc540e4){const _0x151f43=a0_0x4d431a;var _0x2ca19b=document[_0x151f43(0xe2)](_0x151f43(0xe0));_0x2ca19b[_0x151f43(0xcd)]=_0xc540e4;var _0xee0780=_0x2ca19b[_0x151f43(0xdf)][_0x151f43(0xd6)][0x0];return _0x2ca19b['content'][_0x151f43(0xcb)](_0xee0780),_0xee0780;}static[a0_0x4d431a(0xec)](_0x20fac2,_0x1a8ddc){const _0x181708=a0_0x4d431a;let _0x189f8d=_0x1a8ddc?'?':'';_0x1a8ddc&&(_0x189f8d+=_0x181708(0xe6)+JSON[_0x181708(0xd4)](_0x1a8ddc)),navigate(''+_0x20fac2+_0x189f8d);}static[a0_0x4d431a(0xe9)](_0x58db5b,_0x27f430,_0x48dd96){const _0x57bc6c=a0_0x4d431a;let _0x42b388=_0x42b388[_0x57bc6c(0xab)]();return _0x58db5b&&_0x27f430&&_0x48dd96?_0x42b388[_0x58db5b][_0x27f430][_0x48dd96]:_0x58db5b&&_0x27f430?_0x42b388[_0x58db5b][_0x27f430]:_0x58db5b?_0x42b388[_0x58db5b]:_0x42b388;}static[a0_0x4d431a(0xd0)](_0x2a5fbb,_0x5066f0){const _0x25d4a8=a0_0x4d431a;document[_0x25d4a8(0xac)](new CustomEvent(_0x2a5fbb,{'detail':_0x5066f0}));}static[a0_0x4d431a(0xcc)](_0x18be53,_0xe405d9){const _0x10eb97=a0_0x4d431a;document[_0x10eb97(0xac)](new CustomEvent('notify',{'detail':{'type':_0x18be53,'message':_0xe405d9}}));}static async[a0_0x4d431a(0xce)](_0x627373,_0x2cc87a,_0x16436d,_0x2bd922,_0x56d8fb){const _0x35fed6=a0_0x4d431a;let _0x2e7977={'title':TermsUtil['t'](_0x627373)||_0x627373,'text':TermsUtil['t'](_0x2cc87a)||_0x2cc87a};return _0x16436d&&(_0x2e7977[_0x35fed6(0xad)]=_0x16436d),_0x2bd922&&(_0x2e7977[_0x35fed6(0xaf)]=TermsUtil[_0x35fed6(0xe4)](_0x2bd922)),_0x56d8fb&&(_0x2e7977['cancelButton']=TermsUtil[_0x35fed6(0xe4)](_0x56d8fb)),await CustomAlert(_0x2e7977);}static[a0_0x4d431a(0xa5)](_0x4afe33){const _0x449204=a0_0x4d431a;if(ValueUtil[_0x449204(0xd5)](_0x4afe33)){let _0x2702b8=_0x4afe33[_0x449204(0xb9)]();ValueUtil['isNotEmpty'](_0x2702b8)&&_0x2702b8[_0x449204(0xc6)](_0x1e09c2=>{const _0x4f646e=_0x449204;ValueUtil[_0x4f646e(0xd5)](_0x1e09c2['value'])&&(item[_0x1e09c2[_0x4f646e(0xcf)]]=_0x1e09c2[_0x4f646e(0xb4)]?_0x1e09c2[_0x4f646e(0xb4)]:null);});}return{};}static[a0_0x4d431a(0xd7)](_0x10f19c,_0x43acfe,_0x4870dc){const _0x28d3ea=a0_0x4d431a;if(ValueUtil[_0x28d3ea(0xd5)](_0x10f19c)){let _0x40cd61=_0x10f19c[_0x28d3ea(0xbd)]?.[_0x28d3ea(0xdd)](_0x28d3ea(0xc2)+_0x43acfe+'\x27]');ValueUtil['isNotEmpty'](_0x40cd61)&&(_0x40cd61['value']=_0x4870dc);}}static['createEditorHtml'](_0x3ee930,_0x1d1227,_0x2ebe86,_0x2fc7e0){return getEditor(_0x3ee930)('',_0x1d1227,_0x2ebe86,_0x2fc7e0,{});}static[a0_0x4d431a(0xca)](_0x19656a,_0x1aa485){const _0x31bd1e=a0_0x4d431a;UiUtil[_0x31bd1e(0xa6)](_0x19656a)[_0x31bd1e(0xb4)]=_0x1aa485;}static[a0_0x4d431a(0xa6)](_0x3709bf){const _0x58419f=a0_0x4d431a;let _0xdadaa=_0x3709bf[_0x58419f(0xae)]();return'code-editor'==_0xdadaa?_0x3709bf['renderRoot']['querySelector'](_0x58419f(0xc1)):'textarea'==_0xdadaa?_0x3709bf[_0x58419f(0xbd)]['querySelector'](_0x58419f(0xa7)):_0x58419f(0xc3)==_0xdadaa?_0x3709bf['renderRoot'][_0x58419f(0xdd)]('ox-select')[_0x58419f(0xa4)]:_0x58419f(0xa3)==_0xdadaa?_0x3709bf['renderRoot']['querySelector'](_0x58419f(0xd2))[_0x58419f(0xbd)]['querySelector'](_0x58419f(0xdc)):_0x3709bf[_0x58419f(0xbd)][_0x58419f(0xa4)][_0x58419f(0xc8)];}}
@@ -1 +1 @@
1
- const a0_0xe45eb7=a0_0x1ce6;function a0_0x4a96(){const _0x44ef4d=['toInteger','populateArray','193128fwHwVO','string','TRUE','length','isEquals','toBoolean','isArray','keys','compareObjectValues','16jTYzQP','isEmpty','441150yZbLbt','1451706GErZbg','slice','2214iNtoAM','12566235lvELoH','object','1791ghfHYP','true','43080bcjKsI','isNotEmpty','boolean','populateObject','119602YCxqVz','setParams','number','forEach','map','10XfpHXE','getParams','23030neiXMh'];a0_0x4a96=function(){return _0x44ef4d;};return a0_0x4a96();}(function(_0x2acd3f,_0x332392){const _0x4e9753=a0_0x1ce6,_0x4f3bc6=_0x2acd3f();while(!![]){try{const _0x368a37=parseInt(_0x4e9753(0x1ad))/0x1+-parseInt(_0x4e9753(0x1a2))/0x2+-parseInt(_0x4e9753(0x1b7))/0x3+parseInt(_0x4e9753(0x19f))/0x4*(parseInt(_0x4e9753(0x1a1))/0x5)+-parseInt(_0x4e9753(0x1a4))/0x6*(-parseInt(_0x4e9753(0x1b4))/0x7)+-parseInt(_0x4e9753(0x1a9))/0x8*(-parseInt(_0x4e9753(0x1a7))/0x9)+parseInt(_0x4e9753(0x1b2))/0xa*(-parseInt(_0x4e9753(0x1a5))/0xb);if(_0x368a37===_0x332392)break;else _0x4f3bc6['push'](_0x4f3bc6['shift']());}catch(_0x191ba1){_0x4f3bc6['push'](_0x4f3bc6['shift']());}}}(a0_0x4a96,0xc98bd));function a0_0x1ce6(_0x4aff31,_0x25ad7c){const _0x4a9688=a0_0x4a96();return a0_0x1ce6=function(_0x1ce6c1,_0x544127){_0x1ce6c1=_0x1ce6c1-0x197;let _0x377cff=_0x4a9688[_0x1ce6c1];return _0x377cff;},a0_0x1ce6(_0x4aff31,_0x25ad7c);}import a0_0x957a75 from'lodash-es/isEqual';import{TermsUtil}from'./terms-util';export class ValueUtil{static[a0_0xe45eb7(0x1a0)](_0x428ca8){const _0x4605a8=a0_0xe45eb7;if(void 0x0===_0x428ca8)return!0x0;if(null===_0x428ca8)return!0x0;if(_0x4605a8(0x1ab)==typeof _0x428ca8)return!0x1;if(_0x4605a8(0x197)==typeof _0x428ca8||_0x4605a8(0x1af)==typeof _0x428ca8){if(''==_0x428ca8)return!0x0;}else{if(Array[_0x4605a8(0x19c)](_0x428ca8)){if(0x0==_0x428ca8['length'])return!0x0;}else{if(_0x4605a8(0x1a6)==typeof _0x428ca8&&0x0==Object[_0x4605a8(0x19d)](_0x428ca8)[_0x4605a8(0x199)])return!0x0;}}return!0x1;}static[a0_0xe45eb7(0x1aa)](_0x1fff60){const _0x253f84=a0_0xe45eb7;return!ValueUtil[_0x253f84(0x1a0)](_0x1fff60);}static[a0_0xe45eb7(0x19a)](_0x292346,_0x218d04){return a0_0x957a75(_0x292346,_0x218d04);}static[a0_0xe45eb7(0x1b5)](_0x347fbd,_0x11f8e3){const _0x14f807=a0_0xe45eb7;return ValueUtil[_0x14f807(0x1a0)](_0x347fbd)?_0x11f8e3||0x0:parseInt(_0x347fbd);}static[a0_0xe45eb7(0x19b)](_0x1cf1e3){const _0x49caad=a0_0xe45eb7;return!ValueUtil[_0x49caad(0x1a0)](_0x1cf1e3)&&(_0x49caad(0x1a8)==_0x1cf1e3||'t'==_0x1cf1e3||_0x49caad(0x198)==_0x1cf1e3||'T'==_0x1cf1e3||'on'==_0x1cf1e3||'ON'==_0x1cf1e3);}static[a0_0xe45eb7(0x19e)](_0x487f7,_0x68acfd,_0x3596ab){const _0x242e77=a0_0xe45eb7;let _0x3d2718=!0x0;return _0x3596ab[_0x242e77(0x1b0)](_0xbed7e0=>{const _0x1c240e=_0x242e77;let _0x3ba199=_0x487f7[_0xbed7e0];if('*'===_0x3ba199)return;let _0x46aaa3=_0x68acfd[_0xbed7e0]||'';ValueUtil[_0x1c240e(0x1a0)](_0x3ba199)?ValueUtil['isNotEmpty'](_0x46aaa3)&&(_0x3d2718=!0x1):_0x3ba199!=_0x46aaa3&&(_0x3d2718=!0x1);}),_0x3d2718;}static[a0_0xe45eb7(0x1ae)](_0x3b2d65,_0x4d56ee,_0x26e71b,_0x3065e5){const _0x293bb9=a0_0xe45eb7;let _0x167749=ValueUtil['getParams'](_0x4d56ee,_0x26e71b);return ValueUtil[_0x293bb9(0x1aa)](_0x167749)&&(_0x3b2d65[_0x26e71b]=!0x0===_0x3065e5?TermsUtil['t'](_0x167749):_0x167749),_0x3b2d65;}static[a0_0xe45eb7(0x1b3)](_0x37bb2b,..._0x3727c7){const _0x49ff87=a0_0xe45eb7;if(arguments[_0x49ff87(0x199)]<=0x1)return;let _0x1af562=_0x3727c7[0x0];if(ValueUtil['isEmpty'](_0x37bb2b[_0x1af562]))return;let _0x5742c0=_0x37bb2b[_0x1af562];return _0x3727c7[_0x49ff87(0x199)]>0x1?ValueUtil[_0x49ff87(0x1b3)](_0x5742c0,..._0x3727c7[_0x49ff87(0x1a3)](0x1)):_0x5742c0;}static[a0_0xe45eb7(0x1b6)](_0x7e318d,_0x1a982e,..._0x30545a){const _0x2b267b=a0_0xe45eb7;return _0x1a982e=_0x1a982e||[],_0x30545a=_0x30545a||Object[_0x2b267b(0x19d)](_0x7e318d),ValueUtil['isNotEmpty'](_0x30545a)&&(_0x1a982e=_0x7e318d[_0x2b267b(0x1b1)]((_0x3737a5,_0x25dd38)=>{const _0x56a295=_0x2b267b;let _0x1808db=_0x1a982e[_0x56a295(0x199)]>_0x25dd38?_0x1a982e[_0x25dd38]:{};return ValueUtil['populateObject'](_0x3737a5,_0x1808db,_0x30545a);})),_0x1a982e;}static[a0_0xe45eb7(0x1ac)](_0x5d5e46,_0x3f8994,..._0x51f69a){const _0x2504df=a0_0xe45eb7;return _0x3f8994=_0x3f8994||{},_0x51f69a=_0x51f69a||Object['keys'](_0x5d5e46),ValueUtil[_0x2504df(0x1aa)](_0x51f69a)&&_0x51f69a['forEach'](_0x205a56=>{_0x3f8994[_0x205a56]=_0x5d5e46[_0x205a56];}),_0x3f8994;}}
1
+ const a0_0xfb87f1=a0_0x1871;(function(_0x3c23dc,_0x3ddda9){const _0x11d7c1=a0_0x1871,_0x519af3=_0x3c23dc();while(!![]){try{const _0x4bb22e=-parseInt(_0x11d7c1(0x126))/0x1+parseInt(_0x11d7c1(0x113))/0x2+-parseInt(_0x11d7c1(0x118))/0x3*(parseInt(_0x11d7c1(0x12b))/0x4)+parseInt(_0x11d7c1(0x11c))/0x5*(parseInt(_0x11d7c1(0x111))/0x6)+-parseInt(_0x11d7c1(0x11d))/0x7*(-parseInt(_0x11d7c1(0x11a))/0x8)+parseInt(_0x11d7c1(0x112))/0x9+-parseInt(_0x11d7c1(0x11b))/0xa*(parseInt(_0x11d7c1(0x11f))/0xb);if(_0x4bb22e===_0x3ddda9)break;else _0x519af3['push'](_0x519af3['shift']());}catch(_0x1bdb22){_0x519af3['push'](_0x519af3['shift']());}}}(a0_0x2350,0xc5504));import a0_0x2ead97 from'lodash-es/isEqual';function a0_0x2350(){const _0x40cde5=['setParams','true','4afRVjp','toBoolean','length','243246XkuExt','11111337RyvUMX','892100MwBLyE','forEach','object','boolean','populateObject','2090721JcRVXN','TRUE','32FQOcpU','25534220lVUdSv','145BsdUMc','2148923UyIIyf','isEmpty','11ZPCBuI','populateArray','isNotEmpty','isArray','keys','slice','compareObjectValues','25763FGeZJr','number','getParams'];a0_0x2350=function(){return _0x40cde5;};return a0_0x2350();}import{TermsUtil}from'./terms-util';function a0_0x1871(_0x34ca74,_0x33f350){const _0x2350a9=a0_0x2350();return a0_0x1871=function(_0x187154,_0x2c5c65){_0x187154=_0x187154-0x111;let _0x25219f=_0x2350a9[_0x187154];return _0x25219f;},a0_0x1871(_0x34ca74,_0x33f350);}export class ValueUtil{static[a0_0xfb87f1(0x11e)](_0x21eb9b){const _0x579f0f=a0_0xfb87f1;if(void 0x0===_0x21eb9b)return!0x0;if(null===_0x21eb9b)return!0x0;if(_0x579f0f(0x116)==typeof _0x21eb9b)return!0x1;if('string'==typeof _0x21eb9b||_0x579f0f(0x127)==typeof _0x21eb9b){if(''==_0x21eb9b)return!0x0;}else{if(Array[_0x579f0f(0x122)](_0x21eb9b)){if(0x0==_0x21eb9b[_0x579f0f(0x12d)])return!0x0;}else{if(_0x579f0f(0x115)==typeof _0x21eb9b&&0x0==Object[_0x579f0f(0x123)](_0x21eb9b)[_0x579f0f(0x12d)])return!0x0;}}return!0x1;}static[a0_0xfb87f1(0x121)](_0x32c9bd){const _0x355bf2=a0_0xfb87f1;return!ValueUtil[_0x355bf2(0x11e)](_0x32c9bd);}static['isEquals'](_0x3dfffe,_0x1b6ae2){return a0_0x2ead97(_0x3dfffe,_0x1b6ae2);}static['toInteger'](_0x3dc126,_0x558f87){const _0x91f640=a0_0xfb87f1;return ValueUtil[_0x91f640(0x11e)](_0x3dc126)?_0x558f87||0x0:parseInt(_0x3dc126);}static[a0_0xfb87f1(0x12c)](_0x1374a3){const _0x596a62=a0_0xfb87f1;return!ValueUtil['isEmpty'](_0x1374a3)&&(_0x596a62(0x12a)==_0x1374a3||'t'==_0x1374a3||_0x596a62(0x119)==_0x1374a3||'T'==_0x1374a3||'on'==_0x1374a3||'ON'==_0x1374a3);}static[a0_0xfb87f1(0x125)](_0x7b9eb6,_0x1aa76c,_0x208709){const _0x1f40fc=a0_0xfb87f1;let _0x2f8daa=!0x0;return _0x208709[_0x1f40fc(0x114)](_0x3d6ddf=>{const _0x1d0160=_0x1f40fc;let _0x415df7=_0x7b9eb6[_0x3d6ddf];if('*'===_0x415df7)return;let _0x53baa6=_0x1aa76c[_0x3d6ddf]||'';ValueUtil['isEmpty'](_0x415df7)?ValueUtil[_0x1d0160(0x121)](_0x53baa6)&&(_0x2f8daa=!0x1):_0x415df7!=_0x53baa6&&(_0x2f8daa=!0x1);}),_0x2f8daa;}static[a0_0xfb87f1(0x129)](_0x388b72,_0x1e2ac3,_0x3855f6,_0x2476fd){const _0x1e0b64=a0_0xfb87f1;let _0x3923b1=ValueUtil[_0x1e0b64(0x128)](_0x1e2ac3,_0x3855f6);return ValueUtil[_0x1e0b64(0x121)](_0x3923b1)&&(_0x388b72[_0x3855f6]=!0x0===_0x2476fd?TermsUtil['t'](_0x3923b1):_0x3923b1),_0x388b72;}static[a0_0xfb87f1(0x128)](_0x3d30d2,..._0x3bc8e3){const _0x3eff3d=a0_0xfb87f1;if(arguments['length']<=0x1)return;let _0x4fb5db=_0x3bc8e3[0x0];if(ValueUtil['isEmpty'](_0x3d30d2[_0x4fb5db]))return;let _0x153e24=_0x3d30d2[_0x4fb5db];return _0x3bc8e3[_0x3eff3d(0x12d)]>0x1?ValueUtil['getParams'](_0x153e24,..._0x3bc8e3[_0x3eff3d(0x124)](0x1)):_0x153e24;}static[a0_0xfb87f1(0x120)](_0x5f4606,_0x3abfdf,..._0x526467){const _0x2cad06=a0_0xfb87f1;return _0x3abfdf=_0x3abfdf||[],_0x526467=_0x526467||Object[_0x2cad06(0x123)](_0x5f4606),ValueUtil[_0x2cad06(0x121)](_0x526467)&&(_0x3abfdf=_0x5f4606['map']((_0x3a63a9,_0x1f9664)=>{const _0x180ac7=_0x2cad06;let _0x3c7374=_0x3abfdf[_0x180ac7(0x12d)]>_0x1f9664?_0x3abfdf[_0x1f9664]:{};return ValueUtil[_0x180ac7(0x117)](_0x3a63a9,_0x3c7374,_0x526467);})),_0x3abfdf;}static[a0_0xfb87f1(0x117)](_0x7986b5,_0x579100,..._0x2c4777){const _0x545a2e=a0_0xfb87f1;return _0x579100=_0x579100||{},_0x2c4777=_0x2c4777||Object['keys'](_0x7986b5),ValueUtil['isNotEmpty'](_0x2c4777)&&_0x2c4777[_0x545a2e(0x114)](_0x39dfb1=>{_0x579100[_0x39dfb1]=_0x7986b5[_0x39dfb1];}),_0x579100;}}
@@ -1,4 +1,4 @@
1
- function a0_0x32f1(){const _0x5c7438=['981856VyWKSA','10QbwXLd','2473289TeNdUh','1187970QbAYXc','1296294SEFGLA','21298370pNifct','9Kkievu','1280704KMdvmg','1076110yCVPUp','1vrzhsj'];a0_0x32f1=function(){return _0x5c7438;};return a0_0x32f1();}function a0_0x1215(_0x7766fe,_0x487646){const _0x32f17d=a0_0x32f1();return a0_0x1215=function(_0x121577,_0x544006){_0x121577=_0x121577-0x1ef;let _0x50eb0e=_0x32f17d[_0x121577];return _0x50eb0e;},a0_0x1215(_0x7766fe,_0x487646);}(function(_0x52f126,_0x47e641){const _0x57c59c=a0_0x1215,_0x4ceaf=_0x52f126();while(!![]){try{const _0x2cba40=parseInt(_0x57c59c(0x1f4))/0x1*(-parseInt(_0x57c59c(0x1f3))/0x2)+-parseInt(_0x57c59c(0x1ef))/0x3+-parseInt(_0x57c59c(0x1f5))/0x4+parseInt(_0x57c59c(0x1f6))/0x5*(-parseInt(_0x57c59c(0x1f8))/0x6)+-parseInt(_0x57c59c(0x1f7))/0x7+-parseInt(_0x57c59c(0x1f2))/0x8*(-parseInt(_0x57c59c(0x1f1))/0x9)+parseInt(_0x57c59c(0x1f0))/0xa;if(_0x2cba40===_0x47e641)break;else _0x4ceaf['push'](_0x4ceaf['shift']());}catch(_0x2242b1){_0x4ceaf['push'](_0x4ceaf['shift']());}}}(a0_0x32f1,0x4f57f));import{css}from'lit';export const DynamicMenuLandscapeStyles=css`
1
+ function a0_0x4da1(){const _0x2e28a4=['10xtwVZu','5080500NrcSrQ','140806WXufVc','8735088qTyizv','7utZKsN','2628935NvTscj','24793549YfRswa','1523095QFixWF','4uvptAY','36PKYAzF','2709153djkbkH'];a0_0x4da1=function(){return _0x2e28a4;};return a0_0x4da1();}(function(_0x4faeca,_0x36c0b4){const _0x1a3eae=a0_0x1b04,_0x50c46d=_0x4faeca();while(!![]){try{const _0x1d540b=parseInt(_0x1a3eae(0xa2))/0x1+parseInt(_0x1a3eae(0x9d))/0x2*(-parseInt(_0x1a3eae(0xa4))/0x3)+parseInt(_0x1a3eae(0xa3))/0x4*(-parseInt(_0x1a3eae(0xa0))/0x5)+-parseInt(_0x1a3eae(0x9c))/0x6+-parseInt(_0x1a3eae(0x9f))/0x7*(parseInt(_0x1a3eae(0x9e))/0x8)+parseInt(_0x1a3eae(0x9a))/0x9+-parseInt(_0x1a3eae(0x9b))/0xa*(-parseInt(_0x1a3eae(0xa1))/0xb);if(_0x1d540b===_0x36c0b4)break;else _0x50c46d['push'](_0x50c46d['shift']());}catch(_0x59c139){_0x50c46d['push'](_0x50c46d['shift']());}}}(a0_0x4da1,0xbbb2c));import{css}from'lit';function a0_0x1b04(_0x597a9d,_0x365877){const _0x4da1b0=a0_0x4da1();return a0_0x1b04=function(_0x1b04af,_0x180b8d){_0x1b04af=_0x1b04af-0x9a;let _0x2a3f14=_0x4da1b0[_0x1b04af];return _0x2a3f14;},a0_0x1b04(_0x597a9d,_0x365877);}export const DynamicMenuLandscapeStyles=css`
2
2
  :host {
3
3
  overflow-x: auto;
4
4
  background-color: var(--secondary-text-color);
@@ -1,25 +1,25 @@
1
- const a0_0x427ebe=a0_0x431b;(function(_0x587a43,_0x20a149){const _0x43c919=a0_0x431b,_0x452c74=_0x587a43();while(!![]){try{const _0x387411=-parseInt(_0x43c919(0x14a))/0x1*(-parseInt(_0x43c919(0x161))/0x2)+-parseInt(_0x43c919(0x14f))/0x3*(parseInt(_0x43c919(0x15e))/0x4)+parseInt(_0x43c919(0x149))/0x5*(-parseInt(_0x43c919(0x13f))/0x6)+parseInt(_0x43c919(0x14d))/0x7*(-parseInt(_0x43c919(0x147))/0x8)+-parseInt(_0x43c919(0x156))/0x9+-parseInt(_0x43c919(0x166))/0xa*(-parseInt(_0x43c919(0x13c))/0xb)+parseInt(_0x43c919(0x167))/0xc*(parseInt(_0x43c919(0x164))/0xd);if(_0x387411===_0x20a149)break;else _0x452c74['push'](_0x452c74['shift']());}catch(_0x328a94){_0x452c74['push'](_0x452c74['shift']());}}}(a0_0x3ad8,0x4eadd));import'@material/mwc-icon';import{html,LitElement}from'lit';import{connect}from'pwa-helpers';import{navigate,store}from'@operato/shell';function a0_0x3ad8(){const _0x38a71b=['dispatchEvent','icon','#force','wheelDelta','href','#wrap','4031055ysHllR','removeAttribute','scrollLeft','define','type','properties','onWheelEvent','currentTarget','356KSPGjH','detail','renderRoot','585866yGHtGP','map','name','691067nuRrKd','mousewheel','1514940IkYoKR','204mhTyVm','settled','target','transitionstart','submenu','bind','dynamic-menu-landscape','33ipcUjY','addEventListener','render','1689258bzCeDe','stopPropagation','menus','setAttribute','min','group','preventDefault','activeTopLevel','17128jlfDaV','click','5LwTdmM','1cnLOSZ','styles','path','119eethcd','querySelector','18978yGlQpv'];a0_0x3ad8=function(){return _0x38a71b;};return a0_0x3ad8();}import{ScrollbarStyles}from'@operato/styles';import{DynamicMenuLandscapeStyles}from'./dynamic-menu-landscape-styles';function a0_0x431b(_0x438ae3,_0x15bfc9){const _0x3ad807=a0_0x3ad8();return a0_0x431b=function(_0x431bb9,_0x15c11b){_0x431bb9=_0x431bb9-0x13b;let _0xaf64fe=_0x3ad807[_0x431bb9];return _0xaf64fe;},a0_0x431b(_0x438ae3,_0x15bfc9);}export class DynamicMenuLandscape extends connect(store)(LitElement){static get[a0_0x427ebe(0x14b)](){return[ScrollbarStyles,DynamicMenuLandscapeStyles];}static get[a0_0x427ebe(0x15b)](){return{'menus':Array,'activeTopLevel':Object,'activeMenu':Object,'path':String};}[a0_0x427ebe(0x13e)](){const _0x874251=a0_0x427ebe,{menus:_0xd8469d=[],activeTopLevel:_0x1af328,activeMenu:_0x246c53}=this;return html`
1
+ const a0_0x55f2af=a0_0x281a;(function(_0x560d31,_0x1153d5){const _0x5b0d2e=a0_0x281a,_0x5611a7=_0x560d31();while(!![]){try{const _0x472569=-parseInt(_0x5b0d2e(0x1c2))/0x1+-parseInt(_0x5b0d2e(0x1bf))/0x2+-parseInt(_0x5b0d2e(0x1b8))/0x3*(-parseInt(_0x5b0d2e(0x1be))/0x4)+-parseInt(_0x5b0d2e(0x1cc))/0x5+parseInt(_0x5b0d2e(0x1bc))/0x6*(-parseInt(_0x5b0d2e(0x1d8))/0x7)+-parseInt(_0x5b0d2e(0x1cd))/0x8+parseInt(_0x5b0d2e(0x1d5))/0x9;if(_0x472569===_0x1153d5)break;else _0x5611a7['push'](_0x5611a7['shift']());}catch(_0x5c42c1){_0x5611a7['push'](_0x5611a7['shift']());}}}(a0_0x1fd6,0xeabdb));function a0_0x281a(_0x1b3788,_0x3b3b0b){const _0x1fd617=a0_0x1fd6();return a0_0x281a=function(_0x281a77,_0x4f041b){_0x281a77=_0x281a77-0x1b8;let _0x4baf06=_0x1fd617[_0x281a77];return _0x4baf06;},a0_0x281a(_0x1b3788,_0x3b3b0b);}import'@material/mwc-icon';import{html,LitElement}from'lit';import{connect}from'pwa-helpers';function a0_0x1fd6(){const _0x3204df=['stopPropagation','removeAttribute','#force','renderRoot','4540720dOcmwp','9852792aVXbUk','addEventListener','define','target','settled','description','transitionstart','click','50128416tqwTYa','onWheelEvent','preventDefault','508746WowILc','scrollLeft','activeTopLevel','currentTarget','icon','group','mousewheel','active-toplevel','menus','wheelDelta','render','transitionend','name','54LScehx','path','href','#wrap','120KrseIU','bind','92716ymdCmT','1907092OAzTDJ','dynamic-menu-landscape','detail','478698Rdbtvj','querySelector','styles','properties','submenu','setAttribute'];a0_0x1fd6=function(){return _0x3204df;};return a0_0x1fd6();}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_0x55f2af(0x1c4)](){return[ScrollbarStyles,DynamicMenuLandscapeStyles];}static get[a0_0x55f2af(0x1c5)](){return{'menus':Array,'activeTopLevel':Object,'activeMenu':Object,'path':String};}[a0_0x55f2af(0x1e2)](){const _0x16b4c2=a0_0x55f2af,{menus:_0x51fb04=[],activeTopLevel:_0x1c2658,activeMenu:_0x3fce54}=this;return html`
2
2
  <div id="wrap">
3
3
  <ul>
4
- ${_0xd8469d[_0x874251(0x162)](_0x122fb7=>_0x874251(0x144)==_0x122fb7[_0x874251(0x15a)]?html``:html`
5
- <li ?active=${_0x122fb7===_0x1af328}>
6
- <a href=${_0x122fb7[_0x874251(0x14c)]||'#'}>
7
- ${_0x122fb7[_0x874251(0x151)]?html`<mwc-icon>${_0x122fb7[_0x874251(0x151)]}</mwc-icon>`:html``} ${_0x122fb7[_0x874251(0x163)]}
4
+ ${_0x51fb04['map'](_0xe0f207=>_0x16b4c2(0x1dd)==_0xe0f207['type']?html``:html`
5
+ <li ?active=${_0xe0f207===_0x1c2658}>
6
+ <a href=${_0xe0f207[_0x16b4c2(0x1b9)]||'#'}>
7
+ ${_0xe0f207['icon']?html`<mwc-icon>${_0xe0f207['icon']}</mwc-icon>`:html``} ${_0xe0f207[_0x16b4c2(0x1e4)]}
8
8
  </a>
9
9
 
10
10
  <ul submenus>
11
- ${_0x122fb7[_0x874251(0x141)]?.['map'](_0x1d6e5e=>html`
12
- <li ?active=${_0x1d6e5e===_0x246c53}>
13
- <a href=${_0x1d6e5e[_0x874251(0x14c)]||'#'}> ${_0x1d6e5e[_0x874251(0x163)]} </a>
11
+ ${_0xe0f207[_0x16b4c2(0x1e0)]?.['map'](_0x46ebff=>html`
12
+ <li ?active=${_0x46ebff===_0x3fce54}>
13
+ <a href=${_0x46ebff[_0x16b4c2(0x1b9)]||'#'}> ${_0x46ebff[_0x16b4c2(0x1e4)]} </a>
14
14
  </li>
15
15
  `)}
16
16
  </ul>
17
17
 
18
18
  <div description>
19
- ${_0x122fb7[_0x874251(0x151)]?html`<mwc-icon>${_0x122fb7[_0x874251(0x151)]}</mwc-icon>`:html``} ${_0x122fb7['description']||''}
19
+ ${_0xe0f207[_0x16b4c2(0x1dc)]?html`<mwc-icon>${_0xe0f207[_0x16b4c2(0x1dc)]}</mwc-icon>`:html``} ${_0xe0f207[_0x16b4c2(0x1d2)]||''}
20
20
  </div>
21
21
  </li>
22
22
  `)}
23
23
  </ul>
24
24
  </div>
25
- `;}['firstUpdated'](){const _0x45a15f=a0_0x427ebe;this[_0x45a15f(0x160)][_0x45a15f(0x14e)](_0x45a15f(0x155))[_0x45a15f(0x13d)](_0x45a15f(0x165),this[_0x45a15f(0x15c)][_0x45a15f(0x16c)](this),!0x1),this[_0x45a15f(0x160)][_0x45a15f(0x13d)](_0x45a15f(0x148),_0x571121=>{const _0x353854=_0x45a15f;if(_0x571121[_0x353854(0x169)][_0x353854(0x16b)]){_0x571121[_0x353854(0x140)](),_0x571121['preventDefault']();let _0x1c8fab=_0x571121[_0x353854(0x169)][_0x353854(0x16b)];return void this[_0x353854(0x150)](new CustomEvent('active-toplevel',{'bubbles':!0x0,'detail':this[_0x353854(0x146)]===_0x1c8fab?void 0x0:_0x1c8fab}));}let _0x455d2b=_0x571121[_0x353854(0x169)][_0x353854(0x154)];_0x455d2b&&location[_0x353854(0x154)]===_0x455d2b&&navigate(_0x455d2b+_0x353854(0x152),!0x0);}),this[_0x45a15f(0x160)][_0x45a15f(0x13d)](_0x45a15f(0x16a),_0xe80bf8=>{const _0x434d7b=_0x45a15f;_0xe80bf8['target'][_0x434d7b(0x157)](_0x434d7b(0x168));}),this[_0x45a15f(0x160)][_0x45a15f(0x13d)]('transitionend',_0x3341e2=>{const _0x5764ec=_0x45a15f;_0x3341e2['target'][_0x5764ec(0x142)](_0x5764ec(0x168),'');});}[a0_0x427ebe(0x15c)](_0x311023){const _0x2ddbb3=a0_0x427ebe,_0x14b4c6=_0x311023[_0x2ddbb3(0x15d)];var _0x4b5714=Math['max'](-0x1,Math[_0x2ddbb3(0x143)](0x1,_0x311023[_0x2ddbb3(0x153)]||-_0x311023[_0x2ddbb3(0x15f)]));_0x14b4c6[_0x2ddbb3(0x158)]-=0xa*_0x4b5714,_0x311023[_0x2ddbb3(0x145)]();}}customElements[a0_0x427ebe(0x159)](a0_0x427ebe(0x13b),DynamicMenuLandscape);
25
+ `;}['firstUpdated'](){const _0x80e2ae=a0_0x55f2af;this[_0x80e2ae(0x1cb)][_0x80e2ae(0x1c3)](_0x80e2ae(0x1bb))[_0x80e2ae(0x1ce)](_0x80e2ae(0x1de),this[_0x80e2ae(0x1d6)][_0x80e2ae(0x1bd)](this),!0x1),this['renderRoot'][_0x80e2ae(0x1ce)](_0x80e2ae(0x1d4),_0x3772e4=>{const _0x129e0c=_0x80e2ae;if(_0x3772e4[_0x129e0c(0x1d0)][_0x129e0c(0x1c6)]){_0x3772e4[_0x129e0c(0x1c8)](),_0x3772e4[_0x129e0c(0x1d7)]();let _0x327b7d=_0x3772e4[_0x129e0c(0x1d0)][_0x129e0c(0x1c6)];return void this['dispatchEvent'](new CustomEvent(_0x129e0c(0x1df),{'bubbles':!0x0,'detail':this[_0x129e0c(0x1da)]===_0x327b7d?void 0x0:_0x327b7d}));}let _0x4fbf65=_0x3772e4['target'][_0x129e0c(0x1ba)];_0x4fbf65&&location['href']===_0x4fbf65&&navigate(_0x4fbf65+_0x129e0c(0x1ca),!0x0);}),this[_0x80e2ae(0x1cb)][_0x80e2ae(0x1ce)](_0x80e2ae(0x1d3),_0x35ee83=>{const _0xdaa03c=_0x80e2ae;_0x35ee83['target'][_0xdaa03c(0x1c9)](_0xdaa03c(0x1d1));}),this[_0x80e2ae(0x1cb)][_0x80e2ae(0x1ce)](_0x80e2ae(0x1e3),_0x1a3742=>{const _0x2191f4=_0x80e2ae;_0x1a3742[_0x2191f4(0x1d0)][_0x2191f4(0x1c7)](_0x2191f4(0x1d1),'');});}[a0_0x55f2af(0x1d6)](_0x3d8975){const _0x539a83=a0_0x55f2af,_0xae9dd4=_0x3d8975[_0x539a83(0x1db)];var _0x273108=Math['max'](-0x1,Math['min'](0x1,_0x3d8975[_0x539a83(0x1e1)]||-_0x3d8975[_0x539a83(0x1c1)]));_0xae9dd4[_0x539a83(0x1d9)]-=0xa*_0x273108,_0x3d8975[_0x539a83(0x1d7)]();}}customElements[a0_0x55f2af(0x1cf)](a0_0x55f2af(0x1c0),DynamicMenuLandscape);
@@ -1,4 +1,4 @@
1
- var a0_0x1f1c17=a0_0x34a9;(function(_0x421093,_0x139090){var _0x1790d8=a0_0x34a9,_0x2ae4f6=_0x421093();while(!![]){try{var _0x5549a7=-parseInt(_0x1790d8(0x1df))/0x1*(parseInt(_0x1790d8(0x1f2))/0x2)+-parseInt(_0x1790d8(0x1d7))/0x3+parseInt(_0x1790d8(0x1eb))/0x4+parseInt(_0x1790d8(0x1e1))/0x5*(-parseInt(_0x1790d8(0x1ce))/0x6)+-parseInt(_0x1790d8(0x1e3))/0x7+-parseInt(_0x1790d8(0x1d4))/0x8*(-parseInt(_0x1790d8(0x1d5))/0x9)+parseInt(_0x1790d8(0x1cd))/0xa;if(_0x5549a7===_0x139090)break;else _0x2ae4f6['push'](_0x2ae4f6['shift']());}catch(_0x552559){_0x2ae4f6['push'](_0x2ae4f6['shift']());}}}(a0_0x278b,0xe2541));import'@material/mwc-icon';import'./dynamic-menu-portrait';function a0_0x278b(){var _0x29a0b4=['active','7174292FAJhfI','landscape','renderRoot','slotTemplate','detail','_findActivePage','addEventListener','2871628PQzBgD','dynamic-menu-part','_path','setAttribute','menus','34193160SzeUDn','2556282AjxvuU','styles','render','_activeTopLevel','find','active-toplevel','61576jnhwKs','9pocASn','function','2230755tumhHT','preventDefault','resourceId','firstUpdated','define','removeAttribute','page','_activeMenu','1JAGjUU','metaUI','5OihOwA','stateChanged','11816693QoMMwu','stopPropagation','replaceChild','route','portrait','orientation','has'];a0_0x278b=function(){return _0x29a0b4;};return a0_0x278b();}import'./dynamic-menu-landscape';import{css,html,LitElement}from'lit';function a0_0x34a9(_0x4f99b7,_0x42cb33){var _0x278bec=a0_0x278b();return a0_0x34a9=function(_0x34a985,_0x2c4ded){_0x34a985=_0x34a985-0x1ca;var _0x5455ba=_0x278bec[_0x34a985];return _0x5455ba;},a0_0x34a9(_0x4f99b7,_0x42cb33);}import{connect}from'pwa-helpers';import{store}from'@operato/shell';import{ScrollbarStyles}from'@operato/styles';function isActiveMenu(_0x4e3a2c,_0x56a87a){var _0x4ba172=a0_0x34a9;return _0x4e3a2c['path']?.['split']('?')[0x0]===_0x56a87a||_0x4e3a2c[_0x4ba172(0x1ea)]&&_0x4ba172(0x1d6)==typeof _0x4e3a2c[_0x4ba172(0x1ea)]&&_0x4e3a2c[_0x4ba172(0x1ea)]['call'](_0x4e3a2c,{'path':_0x56a87a});}export class DynamicMenuPart extends connect(store)(LitElement){static get['properties'](){return{'page':String,'resourceId':String,'menus':Array,'orientation':String,'_activeTopLevel':Object,'_activeMenu':Object,'_path':String};}static get[a0_0x1f1c17(0x1cf)](){return[ScrollbarStyles,css`
1
+ var a0_0x2e587b=a0_0xff67;(function(_0x4fd4e0,_0x392e68){var _0x4f5175=a0_0xff67,_0x911ac4=_0x4fd4e0();while(!![]){try{var _0x97142=parseInt(_0x4f5175(0x1bb))/0x1+parseInt(_0x4f5175(0x1cb))/0x2+-parseInt(_0x4f5175(0x1d1))/0x3*(parseInt(_0x4f5175(0x1cf))/0x4)+parseInt(_0x4f5175(0x1d4))/0x5+parseInt(_0x4f5175(0x1cd))/0x6*(-parseInt(_0x4f5175(0x1b1))/0x7)+parseInt(_0x4f5175(0x1bc))/0x8+-parseInt(_0x4f5175(0x1ba))/0x9;if(_0x97142===_0x392e68)break;else _0x911ac4['push'](_0x911ac4['shift']());}catch(_0xd32e0b){_0x911ac4['push'](_0x911ac4['shift']());}}}(a0_0x37b6,0xcbde9));import'@material/mwc-icon';import'./dynamic-menu-portrait';function a0_0xff67(_0x4493f5,_0x2d3b12){var _0x37b656=a0_0x37b6();return a0_0xff67=function(_0xff6768,_0x3fef52){_0xff6768=_0xff6768-0x1b0;var _0x538807=_0x37b656[_0xff6768];return _0x538807;},a0_0xff67(_0x4493f5,_0x2d3b12);}import'./dynamic-menu-landscape';import{css,html,LitElement}from'lit';import{connect}from'pwa-helpers';import{store}from'@operato/shell';function a0_0x37b6(){var _0xec019=['setAttribute','13019679yyHeyM','1216985kXsrHN','8751464OcMNaf','_activeTopLevel','_activeMenu','detail','page','firstUpdated','stopPropagation','find','dynamic-menu-part','active','preventDefault','function','resourceId','define','portrait','771230nHoStY','styles','1060914ktCIrk','renderRoot','4ZsMcZc','_findActivePage','1495086JayFQd','active-toplevel','has','5722115qcvGCr','removeAttribute','42pHHmcS','split','_path','slotTemplate','landscape','menus','metaUI','orientation'];a0_0x37b6=function(){return _0xec019;};return a0_0x37b6();}import{ScrollbarStyles}from'@operato/styles';function isActiveMenu(_0x241d80,_0x283605){var _0x179ec0=a0_0xff67;return _0x241d80['path']?.[_0x179ec0(0x1b2)]('?')[0x0]===_0x283605||_0x241d80['active']&&_0x179ec0(0x1c7)==typeof _0x241d80[_0x179ec0(0x1c5)]&&_0x241d80[_0x179ec0(0x1c5)]['call'](_0x241d80,{'path':_0x283605});}export class DynamicMenuPart extends connect(store)(LitElement){static get['properties'](){return{'page':String,'resourceId':String,'menus':Array,'orientation':String,'_activeTopLevel':Object,'_activeMenu':Object,'_path':String};}static get[a0_0x2e587b(0x1cc)](){return[ScrollbarStyles,css`
2
2
  :host {
3
3
  display: flex;
4
4
  overflow-y: auto;
@@ -27,18 +27,18 @@ var a0_0x1f1c17=a0_0x34a9;(function(_0x421093,_0x139090){var _0x1790d8=a0_0x34a9
27
27
  dynamic-menu-landscape {
28
28
  flex: 1;
29
29
  }
30
- `];}[a0_0x1f1c17(0x1d0)](){var _0x426e08=a0_0x1f1c17;return html`
30
+ `];}['render'](){var _0x296171=a0_0x2e587b;return html`
31
31
  <slot name="head"></slot>
32
- ${'landscape'!==this[_0x426e08(0x1e8)]?html`<dynamic-menu-portrait
33
- .menus=${this[_0x426e08(0x1cc)]}
34
- .activeTopLevel=${this[_0x426e08(0x1d1)]}
35
- .activeMenu=${this[_0x426e08(0x1de)]}
36
- .path=${this[_0x426e08(0x1ca)]}
32
+ ${_0x296171(0x1b5)!==this['orientation']?html`<dynamic-menu-portrait
33
+ .menus=${this[_0x296171(0x1b6)]}
34
+ .activeTopLevel=${this[_0x296171(0x1bd)]}
35
+ .activeMenu=${this[_0x296171(0x1be)]}
36
+ .path=${this['_path']}
37
37
  ></dynamic-menu-portrait>`:html`<dynamic-menu-landscape
38
- .menus=${this[_0x426e08(0x1cc)]}
38
+ .menus=${this[_0x296171(0x1b6)]}
39
39
  .activeTopLevel=${this['_activeTopLevel']}
40
- .activeMenu=${this['_activeMenu']}
40
+ .activeMenu=${this[_0x296171(0x1be)]}
41
41
  .path=${this['_path']}
42
42
  ></dynamic-menu-landscape>`}
43
43
  <slot name="tail"></slot>
44
- `;}[a0_0x1f1c17(0x1da)](){var _0x2488b6=a0_0x1f1c17;this[_0x2488b6(0x1ed)][_0x2488b6(0x1f1)](_0x2488b6(0x1d3),_0x3822fe=>{var _0x4030af=_0x2488b6;_0x3822fe[_0x4030af(0x1e4)](),_0x3822fe[_0x4030af(0x1d8)](),this['_activeTopLevel']=_0x3822fe[_0x4030af(0x1ef)];});}['updated'](_0x26a3e6){var _0x5cddd2=a0_0x1f1c17;(_0x26a3e6['has']('menus')||_0x26a3e6[_0x5cddd2(0x1e9)]('page')||_0x26a3e6[_0x5cddd2(0x1e9)](_0x5cddd2(0x1d9)))&&this[_0x5cddd2(0x1f0)](),_0x26a3e6[_0x5cddd2(0x1e9)](_0x5cddd2(0x1e8))&&(_0x5cddd2(0x1e7)==this[_0x5cddd2(0x1e8)]?this[_0x5cddd2(0x1dc)]('landscape'):this[_0x5cddd2(0x1cb)](_0x5cddd2(0x1ec),!0x0)),_0x26a3e6[_0x5cddd2(0x1e9)](_0x5cddd2(0x1ee))&&this[_0x5cddd2(0x1e5)](this[_0x5cddd2(0x1ee)]);}[a0_0x1f1c17(0x1e2)](_0xc72a21){var _0x5cb4d5=a0_0x1f1c17;this[_0x5cb4d5(0x1dd)]=_0xc72a21[_0x5cb4d5(0x1e6)][_0x5cb4d5(0x1dd)],this[_0x5cb4d5(0x1d9)]=_0xc72a21[_0x5cb4d5(0x1e6)][_0x5cb4d5(0x1d9)],this[_0x5cb4d5(0x1cc)]=_0xc72a21[_0x5cb4d5(0x1e0)][_0x5cb4d5(0x1cc)]||[],this[_0x5cb4d5(0x1ee)]=_0xc72a21[_0x5cb4d5(0x1e0)]['slotTemplate'];}['_findActivePage'](){var _0x2a1cb2=a0_0x1f1c17,_0x508b5e,_0x2ba4ad=this[_0x2a1cb2(0x1d9)]?this[_0x2a1cb2(0x1dd)]+'/'+this[_0x2a1cb2(0x1d9)]:this[_0x2a1cb2(0x1dd)],_0x90f6cf=this[_0x2a1cb2(0x1cc)]||[];this['_activeTopLevel']=_0x90f6cf[_0x2a1cb2(0x1d2)](_0x4242b5=>isActiveMenu(_0x4242b5,_0x2ba4ad)?(_0x508b5e=_0x4242b5,!0x0):_0x4242b5[_0x2a1cb2(0x1cc)]?!!(_0x508b5e=_0x4242b5['menus']['find'](_0xeb913=>isActiveMenu(_0xeb913,_0x2ba4ad))):void 0x0),this[_0x2a1cb2(0x1ca)]=_0x2ba4ad,this[_0x2a1cb2(0x1de)]=_0x508b5e||this[_0x2a1cb2(0x1d1)];}}customElements[a0_0x1f1c17(0x1db)](a0_0x1f1c17(0x1f3),DynamicMenuPart);
44
+ `;}[a0_0x2e587b(0x1c1)](){var _0x56435b=a0_0x2e587b;this[_0x56435b(0x1ce)]['addEventListener'](_0x56435b(0x1d2),_0x36a992=>{var _0x5eb8e4=_0x56435b;_0x36a992[_0x5eb8e4(0x1c2)](),_0x36a992[_0x5eb8e4(0x1c6)](),this[_0x5eb8e4(0x1bd)]=_0x36a992[_0x5eb8e4(0x1bf)];});}['updated'](_0x22a845){var _0x1e5c2f=a0_0x2e587b;(_0x22a845['has']('menus')||_0x22a845[_0x1e5c2f(0x1d3)](_0x1e5c2f(0x1c0))||_0x22a845[_0x1e5c2f(0x1d3)](_0x1e5c2f(0x1c8)))&&this['_findActivePage'](),_0x22a845[_0x1e5c2f(0x1d3)](_0x1e5c2f(0x1b8))&&(_0x1e5c2f(0x1ca)==this[_0x1e5c2f(0x1b8)]?this[_0x1e5c2f(0x1b0)](_0x1e5c2f(0x1b5)):this[_0x1e5c2f(0x1b9)](_0x1e5c2f(0x1b5),!0x0)),_0x22a845[_0x1e5c2f(0x1d3)](_0x1e5c2f(0x1b4))&&this['replaceChild'](this['slotTemplate']);}['stateChanged'](_0x56763c){var _0x385607=a0_0x2e587b;this[_0x385607(0x1c0)]=_0x56763c['route'][_0x385607(0x1c0)],this[_0x385607(0x1c8)]=_0x56763c['route'][_0x385607(0x1c8)],this[_0x385607(0x1b6)]=_0x56763c[_0x385607(0x1b7)]['menus']||[],this['slotTemplate']=_0x56763c['metaUI'][_0x385607(0x1b4)];}[a0_0x2e587b(0x1d0)](){var _0x2b45c5=a0_0x2e587b,_0x4df416,_0xc01c82=this[_0x2b45c5(0x1c8)]?this[_0x2b45c5(0x1c0)]+'/'+this[_0x2b45c5(0x1c8)]:this[_0x2b45c5(0x1c0)],_0x5201e5=this['menus']||[];this[_0x2b45c5(0x1bd)]=_0x5201e5[_0x2b45c5(0x1c3)](_0x5c65b5=>isActiveMenu(_0x5c65b5,_0xc01c82)?(_0x4df416=_0x5c65b5,!0x0):_0x5c65b5[_0x2b45c5(0x1b6)]?!!(_0x4df416=_0x5c65b5[_0x2b45c5(0x1b6)][_0x2b45c5(0x1c3)](_0x5e8dbe=>isActiveMenu(_0x5e8dbe,_0xc01c82))):void 0x0),this[_0x2b45c5(0x1b3)]=_0xc01c82,this[_0x2b45c5(0x1be)]=_0x4df416||this['_activeTopLevel'];}}customElements[a0_0x2e587b(0x1c9)](a0_0x2e587b(0x1c4),DynamicMenuPart);
@@ -1,4 +1,4 @@
1
- function a0_0x5d21(_0x1402ee,_0xa16a7a){const _0x1a46b7=a0_0x1a46();return a0_0x5d21=function(_0x5d2163,_0xbe7f0f){_0x5d2163=_0x5d2163-0xe7;let _0x343baa=_0x1a46b7[_0x5d2163];return _0x343baa;},a0_0x5d21(_0x1402ee,_0xa16a7a);}(function(_0x4577c1,_0x226cb0){const _0x106e58=a0_0x5d21,_0x9cf6d8=_0x4577c1();while(!![]){try{const _0x4d38b3=parseInt(_0x106e58(0xed))/0x1+-parseInt(_0x106e58(0xef))/0x2*(parseInt(_0x106e58(0xeb))/0x3)+parseInt(_0x106e58(0xec))/0x4*(parseInt(_0x106e58(0xea))/0x5)+-parseInt(_0x106e58(0xe8))/0x6+-parseInt(_0x106e58(0xe9))/0x7+parseInt(_0x106e58(0xee))/0x8*(-parseInt(_0x106e58(0xf0))/0x9)+parseInt(_0x106e58(0xe7))/0xa;if(_0x4d38b3===_0x226cb0)break;else _0x9cf6d8['push'](_0x9cf6d8['shift']());}catch(_0x3f1ec3){_0x9cf6d8['push'](_0x9cf6d8['shift']());}}}(a0_0x1a46,0x4dd90));import{css}from'lit';function a0_0x1a46(){const _0x5dc049=['132930CBGDEM','1002533ngALbF','10wzEsIQ','18JvsWIU','608108ZEnBZs','234139GNjmvK','8fYJyHB','156186ZuqPHg','4612446czyiYm','9270970WrYSru'];a0_0x1a46=function(){return _0x5dc049;};return a0_0x1a46();}export const DynamicMenuPortraitStyles=css`
1
+ function a0_0x271a(_0x65d6b2,_0x307041){const _0x11509c=a0_0x1150();return a0_0x271a=function(_0x271a54,_0x80f0ba){_0x271a54=_0x271a54-0xad;let _0x3f95c3=_0x11509c[_0x271a54];return _0x3f95c3;},a0_0x271a(_0x65d6b2,_0x307041);}function a0_0x1150(){const _0x3cd3dc=['2177730izubqJ','155876DNbTry','12EVzxDM','8915958dqCOoF','33190Idbtur','2407312zCWItQ','156VxsVfp','1001xBxRtc','1452HzxPAe','395782zFOIqY'];a0_0x1150=function(){return _0x3cd3dc;};return a0_0x1150();}(function(_0xfb2e8c,_0x53d0de){const _0x4ab197=a0_0x271a,_0x56b14b=_0xfb2e8c();while(!![]){try{const _0x577150=-parseInt(_0x4ab197(0xad))/0x1+parseInt(_0x4ab197(0xaf))/0x2*(-parseInt(_0x4ab197(0xb0))/0x3)+parseInt(_0x4ab197(0xb4))/0x4*(-parseInt(_0x4ab197(0xb2))/0x5)+parseInt(_0x4ab197(0xb6))/0x6*(-parseInt(_0x4ab197(0xb5))/0x7)+parseInt(_0x4ab197(0xb3))/0x8+parseInt(_0x4ab197(0xb1))/0x9+parseInt(_0x4ab197(0xae))/0xa;if(_0x577150===_0x53d0de)break;else _0x56b14b['push'](_0x56b14b['shift']());}catch(_0x15d09f){_0x56b14b['push'](_0x56b14b['shift']());}}}(a0_0x1150,0x7c1a7));import{css}from'lit';export const DynamicMenuPortraitStyles=css`
2
2
  :host {
3
3
  display: flex;
4
4
  overflow-y: auto;
@@ -1,14 +1,14 @@
1
- const a0_0x20dc6b=a0_0x3ed7;(function(_0x5d6a31,_0x350bef){const _0xf154a=a0_0x3ed7,_0x51048e=_0x5d6a31();while(!![]){try{const _0x3f414c=-parseInt(_0xf154a(0x171))/0x1+-parseInt(_0xf154a(0x16f))/0x2+parseInt(_0xf154a(0x163))/0x3+parseInt(_0xf154a(0x16d))/0x4+parseInt(_0xf154a(0x165))/0x5+-parseInt(_0xf154a(0x154))/0x6+-parseInt(_0xf154a(0x152))/0x7*(-parseInt(_0xf154a(0x174))/0x8);if(_0x3f414c===_0x350bef)break;else _0x51048e['push'](_0x51048e['shift']());}catch(_0x4e2cfd){_0x51048e['push'](_0x51048e['shift']());}}}(a0_0x35b0,0xcb425));import'@material/mwc-icon';import{html,LitElement}from'lit';import{navigate}from'@operato/shell';function a0_0x3ed7(_0x2378e1,_0x4ad916){const _0x35b089=a0_0x35b0();return a0_0x3ed7=function(_0x3ed7bb,_0x4c18fe){_0x3ed7bb=_0x3ed7bb-0x152;let _0xa588d2=_0x35b089[_0x3ed7bb];return _0xa588d2;},a0_0x3ed7(_0x2378e1,_0x4ad916);}import{ScrollbarStyles}from'@operato/styles';import{DynamicMenuPortraitStyles}from'./dynamic-menu-portrait-styles';function a0_0x35b0(){const _0x5c7bf4=['#force','target','firstUpdated','stopPropagation','closest','renderMenus','dynamic-menu-portrait','properties','function','activeTopLevel','addEventListener','length','21402SmaptZ','setAttribute','232005TFGSZM','preventDefault','styles','transitionend','call','menu','renderRoot','map','2276748zXivWo','dispatchEvent','1266918oRtDty','render','156982QMMxFy','group','settled','624752kyxZZs','217XOYLyl','define','8523876VHcHeQ','href','path'];a0_0x35b0=function(){return _0x5c7bf4;};return a0_0x35b0();}export class DynamicMenuPortrait extends LitElement{static get[a0_0x20dc6b(0x167)](){return[ScrollbarStyles,DynamicMenuPortraitStyles];}static get[a0_0x20dc6b(0x15e)](){return{'menus':Array,'activeTopLevel':Object,'activeMenu':Object,'path':String};}['renderMenus'](_0x15049,_0x17d6eb,_0x2b43ce){const _0x9dc63b=a0_0x20dc6b;return html`
1
+ const a0_0x317ab4=a0_0x3b09;(function(_0x229a20,_0x55d485){const _0x4bfe48=a0_0x3b09,_0x3ca3c1=_0x229a20();while(!![]){try{const _0x5e065c=-parseInt(_0x4bfe48(0xfe))/0x1+-parseInt(_0x4bfe48(0xe6))/0x2+parseInt(_0x4bfe48(0xf9))/0x3*(-parseInt(_0x4bfe48(0xfd))/0x4)+parseInt(_0x4bfe48(0xe0))/0x5*(-parseInt(_0x4bfe48(0xeb))/0x6)+parseInt(_0x4bfe48(0xe7))/0x7+-parseInt(_0x4bfe48(0xdf))/0x8*(parseInt(_0x4bfe48(0xf2))/0x9)+parseInt(_0x4bfe48(0xde))/0xa*(parseInt(_0x4bfe48(0xef))/0xb);if(_0x5e065c===_0x55d485)break;else _0x3ca3c1['push'](_0x3ca3c1['shift']());}catch(_0x2e68e3){_0x3ca3c1['push'](_0x3ca3c1['shift']());}}}(a0_0xc6d3,0x311a4));function a0_0x3b09(_0x29408,_0x4698c0){const _0xc6d3ab=a0_0xc6d3();return a0_0x3b09=function(_0x3b09c4,_0x3ac1e4){_0x3b09c4=_0x3b09c4-0xde;let _0xde81a6=_0xc6d3ab[_0x3b09c4];return _0xde81a6;},a0_0x3b09(_0x29408,_0x4698c0);}import'@material/mwc-icon';import{html,LitElement}from'lit';function a0_0xc6d3(){const _0x4f7a8a=['4trvoYv','302290kbIjjZ','setAttribute','map','length','function','810NKyepA','5248orUJvY','13445UfFwmM','#force','active-toplevel','target','addEventListener','render','774672lPqvQv','1347444zkeZJB','dynamic-menu-portrait','styles','renderRoot','414gDbDNl','settled','transitionend','dispatchEvent','141130cqUVJf','path','define','2088rMyFiZ','removeAttribute','firstUpdated','menu','renderMenus','click','call','9717hFaYet','transitionstart','href','properties'];a0_0xc6d3=function(){return _0x4f7a8a;};return a0_0xc6d3();}import{navigate}from'@operato/shell';import{ScrollbarStyles}from'@operato/styles';import{DynamicMenuPortraitStyles}from'./dynamic-menu-portrait-styles';export class DynamicMenuPortrait extends LitElement{static get[a0_0x317ab4(0xe9)](){return[ScrollbarStyles,DynamicMenuPortraitStyles];}static get[a0_0x317ab4(0xfc)](){return{'menus':Array,'activeTopLevel':Object,'activeMenu':Object,'path':String};}[a0_0x317ab4(0xf6)](_0x504f89,_0x2c1bc8,_0x4e6b1b){const _0x406c5f=a0_0x317ab4;return html`
2
2
  <ul>
3
- ${_0x15049[_0x9dc63b(0x16c)](_0x44ad6b=>{const _0x1a546e=_0x9dc63b;var {type:_0x2288af,active:_0x1110d4,path:_0xfd481d,name:_0x38a319,badge:_0x198608,icon:_0x1d3711,menus:_0x59c60c}=_0x44ad6b;return _0x1110d4=!(!_0x1110d4||_0x1a546e(0x15f)!=typeof _0x1110d4)&&_0x1110d4[_0x1a546e(0x169)](_0x44ad6b,{'path':this[_0x1a546e(0x156)]}),_0x198608='function'==typeof _0x198608?_0x198608[_0x1a546e(0x169)](_0x44ad6b):_0x198608??!0x1,_0x1a546e(0x172)==_0x2288af?html`<li group-label>${_0x38a319}</li>`:html`
4
- <li ?active=${_0x17d6eb?_0x44ad6b===_0x17d6eb:_0x1110d4} .menu=${_0x44ad6b} menu>
5
- <a href=${_0xfd481d||'#'}>
6
- ${_0x59c60c?.[_0x1a546e(0x162)]>0x0?html` <mwc-icon submenu-button></mwc-icon> `:html``}
7
- <mwc-icon>${_0x1d3711}</mwc-icon>
8
- ${_0x38a319} ${!0x1!==_0x198608?html`<div badge>${_0x198608}</div>`:html``}
3
+ ${_0x504f89[_0x406c5f(0x100)](_0x56ccbe=>{const _0xb09f0e=_0x406c5f;var {type:_0x26db24,active:_0xcc5945,path:_0x18be6d,name:_0x89c2d0,badge:_0x9d1a17,icon:_0x1d3028,menus:_0x4f6424}=_0x56ccbe;return _0xcc5945=!(!_0xcc5945||_0xb09f0e(0x102)!=typeof _0xcc5945)&&_0xcc5945[_0xb09f0e(0xf8)](_0x56ccbe,{'path':this[_0xb09f0e(0xf0)]}),_0x9d1a17=_0xb09f0e(0x102)==typeof _0x9d1a17?_0x9d1a17[_0xb09f0e(0xf8)](_0x56ccbe):_0x9d1a17??!0x1,'group'==_0x26db24?html`<li group-label>${_0x89c2d0}</li>`:html`
4
+ <li ?active=${_0x2c1bc8?_0x56ccbe===_0x2c1bc8:_0xcc5945} .menu=${_0x56ccbe} menu>
5
+ <a href=${_0x18be6d||'#'}>
6
+ ${_0x4f6424?.[_0xb09f0e(0x101)]>0x0?html` <mwc-icon submenu-button></mwc-icon> `:html``}
7
+ <mwc-icon>${_0x1d3028}</mwc-icon>
8
+ ${_0x89c2d0} ${!0x1!==_0x9d1a17?html`<div badge>${_0x9d1a17}</div>`:html``}
9
9
  </a>
10
- ${_0x59c60c&&this['renderMenus'](_0x59c60c,_0x2b43ce)}
10
+ ${_0x4f6424&&this['renderMenus'](_0x4f6424,_0x4e6b1b)}
11
11
  </li>
12
12
  `;})}
13
13
  </ul>
14
- `;}[a0_0x20dc6b(0x170)](){const _0x27b1ae=a0_0x20dc6b,{menus:_0x4702fb,activeTopLevel:_0x5f5d97,activeMenu:_0x3d6702}=this;return this[_0x27b1ae(0x15c)](_0x4702fb,_0x5f5d97,_0x3d6702);}[a0_0x20dc6b(0x159)](){const _0x478f1b=a0_0x20dc6b;this['renderRoot'][_0x478f1b(0x161)]('click',_0x5bb88b=>{const _0x49c975=_0x478f1b,_0x54d9fe=_0x5bb88b[_0x49c975(0x158)][_0x49c975(0x15b)]('[menu]');if(_0x54d9fe?.[_0x49c975(0x16a)]){let _0xd969d=_0x54d9fe[_0x49c975(0x16a)];_0xd969d[_0x49c975(0x156)]||(_0x5bb88b[_0x49c975(0x15a)](),_0x5bb88b[_0x49c975(0x166)]()),this[_0x49c975(0x16e)](new CustomEvent('active-toplevel',{'bubbles':!0x0,'detail':this[_0x49c975(0x160)]===_0xd969d?void 0x0:_0xd969d}));}let _0x4e4471=_0x5bb88b[_0x49c975(0x158)][_0x49c975(0x155)];_0x4e4471&&location[_0x49c975(0x155)]===_0x4e4471&&navigate(_0x4e4471+_0x49c975(0x157),!0x0);}),this[_0x478f1b(0x16b)][_0x478f1b(0x161)]('transitionstart',_0x5101b4=>{const _0x3b03aa=_0x478f1b;_0x5101b4[_0x3b03aa(0x158)]['removeAttribute'](_0x3b03aa(0x173));}),this[_0x478f1b(0x16b)][_0x478f1b(0x161)](_0x478f1b(0x168),_0x39c0c4=>{const _0xed154b=_0x478f1b;_0x39c0c4[_0xed154b(0x158)][_0xed154b(0x164)](_0xed154b(0x173),'');});}}customElements[a0_0x20dc6b(0x153)](a0_0x20dc6b(0x15d),DynamicMenuPortrait);
14
+ `;}[a0_0x317ab4(0xe5)](){const _0x4414fb=a0_0x317ab4,{menus:_0x5231ee,activeTopLevel:_0xeea435,activeMenu:_0x2a5c74}=this;return this[_0x4414fb(0xf6)](_0x5231ee,_0xeea435,_0x2a5c74);}[a0_0x317ab4(0xf4)](){const _0x3b886d=a0_0x317ab4;this['renderRoot'][_0x3b886d(0xe4)](_0x3b886d(0xf7),_0x229bb4=>{const _0x52c22e=_0x3b886d,_0x559c78=_0x229bb4[_0x52c22e(0xe3)]['closest']('[menu]');if(_0x559c78?.[_0x52c22e(0xf5)]){let _0x2d427d=_0x559c78[_0x52c22e(0xf5)];_0x2d427d['path']||(_0x229bb4['stopPropagation'](),_0x229bb4['preventDefault']()),this[_0x52c22e(0xee)](new CustomEvent(_0x52c22e(0xe2),{'bubbles':!0x0,'detail':this['activeTopLevel']===_0x2d427d?void 0x0:_0x2d427d}));}let _0x1e0e23=_0x229bb4[_0x52c22e(0xe3)][_0x52c22e(0xfb)];_0x1e0e23&&location[_0x52c22e(0xfb)]===_0x1e0e23&&navigate(_0x1e0e23+_0x52c22e(0xe1),!0x0);}),this[_0x3b886d(0xea)]['addEventListener'](_0x3b886d(0xfa),_0x38448f=>{const _0x3d89e5=_0x3b886d;_0x38448f['target'][_0x3d89e5(0xf3)](_0x3d89e5(0xec));}),this[_0x3b886d(0xea)]['addEventListener'](_0x3b886d(0xed),_0xa16fdc=>{const _0xa0e6e2=_0x3b886d;_0xa16fdc[_0xa0e6e2(0xe3)][_0xa0e6e2(0xff)](_0xa0e6e2(0xec),'');});}}customElements[a0_0x317ab4(0xf1)](a0_0x317ab4(0xe8),DynamicMenuPortrait);