@things-factory/meta-ui 6.1.26 → 6.1.29

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (88) hide show
  1. package/client/actions/main.js +4 -4
  2. package/client/bootstrap.js +1 -3
  3. package/client/component/filter/filter-form-meta-code-select.js +10 -10
  4. package/client/component/filter/filter-form-meta-object-select.js +10 -10
  5. package/client/component/filter/filter-grist-meta-code-select.js +9 -9
  6. package/client/component/filter/filter-grist-meta-object-select.js +9 -9
  7. package/client/component/grist/editor/grist-editor-code-input.js +6 -6
  8. package/client/component/grist/editor/grist-editor-meta-code-selector.js +7 -7
  9. package/client/component/grist/editor/grist-editor-meta-object-selector.js +7 -7
  10. package/client/component/grist/renderer/grist-renderer-code-input.js +1 -1
  11. package/client/component/grist/renderer/grist-renderer-meta-code-selector.js +1 -1
  12. package/client/component/grist/renderer/grist-renderer-meta-object-selector.js +1 -1
  13. package/client/component/popup/code-input-editor-popup.js +10 -10
  14. package/client/component/popup/meta-object-selector-popup.js +11 -11
  15. package/client/mixin/meta-base-mixin.js +1 -1
  16. package/client/mixin/meta-basic-grist-mixin.js +4 -4
  17. package/client/mixin/meta-button-mixin.js +1 -1
  18. package/client/mixin/meta-form-mixin.js +1 -1
  19. package/client/mixin/meta-grist-tab-mixin.js +1 -1
  20. package/client/mixin/meta-main-tab-mixin.js +1 -1
  21. package/client/mixin/meta-master-detail-mixin.js +1 -1
  22. package/client/mixin/meta-service-mixin.js +1 -1
  23. package/client/mixin/meta-tab-detail-mixin.js +1 -1
  24. package/client/mixin/meta-tab-mixin.js +1 -1
  25. package/client/pages/activity/meta-activity-list-page.js +6 -6
  26. package/client/pages/activity/meta-activity-viewer-element.js +3 -3
  27. package/client/pages/activity/meta-activity-writer-element.js +3 -3
  28. package/client/pages/activity/meta-activiy-mixin.js +3 -3
  29. package/client/pages/entity/config-entity.js +29 -29
  30. package/client/pages/entity/main-menu-selector.js +8 -8
  31. package/client/pages/history/history-copy-list-popup.js +6 -6
  32. package/client/pages/history/history-json-list-popup.js +6 -6
  33. package/client/pages/loading-page.js +5 -5
  34. package/client/pages/menu/dynamic-menu-template.js +7 -7
  35. package/client/pages/menu/dynamic-menu.js +15 -15
  36. package/client/pages/meta-form-element.js +1 -1
  37. package/client/pages/meta-grist-element.js +1 -1
  38. package/client/pages/meta-grist-page.js +1 -1
  39. package/client/pages/meta-grist-tab-element.js +1 -1
  40. package/client/pages/meta-grist-tab-page.js +1 -1
  41. package/client/pages/meta-main-tab-element.js +1 -1
  42. package/client/pages/meta-main-tab-page.js +1 -1
  43. package/client/pages/meta-master-detail-element.js +1 -1
  44. package/client/pages/meta-master-detail-page.js +1 -1
  45. package/client/pages/meta-tab-detail-element.js +1 -1
  46. package/client/pages/meta-tab-detail-page.js +1 -1
  47. package/client/pages/meta-tab-element.js +1 -1
  48. package/client/pages/personalize/personal-column-selector.js +11 -11
  49. package/client/pages/terms/config-terminology.js +6 -6
  50. package/client/pages/work-code/work-code-detail-popup.js +1 -1
  51. package/client/pages/work-code/work-code-page.js +1 -1
  52. package/client/reducers/main.js +1 -1
  53. package/client/utils/meta-api.js +1 -1
  54. package/client/utils/meta-crypto.js +1 -1
  55. package/client/utils/meta-ui-util.js +102 -102
  56. package/client/utils/service-util.js +13 -13
  57. package/client/utils/terms-util.js +2 -2
  58. package/client/utils/ui-util.js +1 -1
  59. package/client/utils/value-util.js +1 -1
  60. package/client/viewparts/dynamic-menu-landscape-styles.js +2 -2
  61. package/client/viewparts/dynamic-menu-landscape.js +10 -10
  62. package/client/viewparts/dynamic-menu-part.js +11 -11
  63. package/client/viewparts/dynamic-menu-portrait-styles.js +1 -1
  64. package/client/viewparts/dynamic-menu-portrait.js +9 -9
  65. package/client/viewparts/dynamic-top-menu-bar.js +7 -7
  66. package/package.json +5 -5
  67. package/server/activity/CommonActivity.js +2 -2
  68. package/server/constants/error-code.js +1 -1
  69. package/server/errors/license-error.js +1 -1
  70. package/server/routes.js +1 -1
  71. package/server/service/entity-event-subscriber/entity-event-subscriber.js +1 -1
  72. package/server/service/grid-personalize/grid-personalize-mutation.js +1 -1
  73. package/server/service/grid-personalize/grid-personalize-query.js +1 -1
  74. package/server/service/grid-personalize/grid-personalize-type.js +1 -1
  75. package/server/service/grid-personalize/grid-personalize.js +1 -1
  76. package/server/service/meta-activity/meta-activity-mutation.js +1 -1
  77. package/server/service/meta-activity/meta-activity-query.js +1 -1
  78. package/server/service/meta-activity/meta-activity-type.js +1 -1
  79. package/server/service/meta-secret/meta-resolver.js +1 -1
  80. package/server/service/set-translations/set-translation-resolver.js +1 -1
  81. package/server/service/work-code/work-code-mutation.js +1 -1
  82. package/server/service/work-code/work-code-query.js +1 -1
  83. package/server/service/work-code/work-code-type.js +1 -1
  84. package/server/service/work-code/work-code.js +1 -1
  85. package/server/service/work-code-detail/work-code-detail-mutation.js +1 -1
  86. package/server/service/work-code-detail/work-code-detail-query.js +1 -1
  87. package/server/service/work-code-detail/work-code-detail-type.js +1 -1
  88. package/server/service/work-code-detail/work-code-detail.js +1 -1
@@ -1,4 +1,4 @@
1
- const a0_0x5a4c11=a0_0x1647;(function(_0xc92de2,_0x3b14cb){const _0x147947=a0_0x1647,_0x4f43b9=_0xc92de2();while(!![]){try{const _0x3800e3=parseInt(_0x147947(0x126))/0x1+-parseInt(_0x147947(0x170))/0x2+-parseInt(_0x147947(0x143))/0x3*(-parseInt(_0x147947(0x182))/0x4)+-parseInt(_0x147947(0x141))/0x5+-parseInt(_0x147947(0x18d))/0x6*(-parseInt(_0x147947(0x195))/0x7)+parseInt(_0x147947(0x12b))/0x8+-parseInt(_0x147947(0x150))/0x9;if(_0x3800e3===_0x3b14cb)break;else _0x4f43b9['push'](_0x4f43b9['shift']());}catch(_0x13f7db){_0x4f43b9['push'](_0x4f43b9['shift']());}}}(a0_0x5174,0x4242f));import{store,gqlContext}from'@things-factory/shell';import{getCodeByName}from'@things-factory/code-base';import{EXPORT}from'@things-factory/export-base';import{gqlBuilder}from'@things-factory/utils';import{client}from'@operato/graphql';import{TermsUtil}from'./terms-util';import{UiUtil}from'./ui-util';import a0_0x180aef from'graphql-tag';import{ValueUtil}from'./value-util';import{asyncReplace}from'lit/directives/async-replace.js';function a0_0x5174(){const _0x299948=['data','record','__dirty__','numberOfDrafts','path','test','exportableData','message','active','length','searchMyDynamicMenus','key','HIDDEN-PAGE','parent','button.delete','__dirtyfields__','imex','checkClientError','__selected__','result','filter','noteq','updatedAt','question','updater','rank','344136raOCJt','showAlertPopup','buildArgs','\x0a\x20\x20\x20\x20\x20\x20','findIndex','menus','showGraphqlErrorResponse','codeItems','forEach','reduce','gutter','error','push','records','searchByPagination','category','children','getCodeByEntity','296lQLPgI','getCodeSelectorData','includes','object','group','dispatch','extensions','routingType','todo-list','Graphql\x20Error','hidden','1770OkWPtM','numberOfToDos','text.NOTHING_CHANGED','items','routing','GROUP','menuType','iconPath','2275cMNdMf','name','gridPersonalizeTemplates','button.','parse','myDynamicMenus','fetch','cancel','selected','xlsx','updateMultiple','unshift','HOME','text.nothing_selected','runScenario','networkError','description','dirtyRecords','columns','updateMultipleData','createdAt','70989KSchYH','showGraphqlException','hiddenFlag','success\x20to\x20delete','display','666864zcAupe','findOne','template','patchesForUpdateMultiple','tText','__seq__','confirm','success\x20to\x20save','MENU','total','deleteListByIds','value','type','info','text.are_you_sure','split','map','errors','_config','\x0a\x20\x20\x20\x20','workCodeByName','isArray','644430qbdCJO','resourceUrl','17319dDRxlF','getCodeByScenario','undefined','cuFlag','text.there_is_nothing_to_delete','query','numberOfApprovalPendings','title','arrangeMenuRoutes','callScenario','creator','deleteListByGristSelected','id,template','945567WMtsJa','text.nothing_changed','sort','badge','searchMenuGridPersnalTemplate','approval-pending-list'];a0_0x5174=function(){return _0x299948;};return a0_0x5174();}function a0_0x1647(_0x50c937,_0x47f578){const _0x51748a=a0_0x5174();return a0_0x1647=function(_0x164709,_0x204017){_0x164709=_0x164709-0x11a;let _0x37f84e=_0x51748a[_0x164709];return _0x37f84e;},a0_0x1647(_0x50c937,_0x47f578);}import a0_0x350691 from'i18next';import{generateActivitySummary,startSubscribeActivitySummary}from'@things-factory/worklist';export class ServiceUtil{static async[a0_0x5a4c11(0x177)](_0x555028){const _0x809a48=a0_0x5a4c11;if(Array[_0x809a48(0x140)](_0x555028))return _0x555028[_0x809a48(0x13b)](_0x2c8124=>_0x809a48(0x185)==typeof _0x2c8124?{'name':_0x2c8124[_0x809a48(0x136)],'description':_0x2c8124[_0x809a48(0x12a)]}:{'name':_0x2c8124,'description':_0x2c8124});let _0x2c2d0e=await ServiceUtil['getWorkCodeByName'](_0x555028);return _0x2c2d0e&&_0x2c2d0e[_0x809a48(0x15f)]>0x0?_0x2c2d0e:await getCodeByName(_0x555028);}static async['getWorkCodeByName'](_0x105ec5){const _0x5dc9b0=a0_0x5a4c11,_0x5b3a5f=await client[_0x5dc9b0(0x148)]({'query':a0_0x180aef`
1
+ const a0_0x455fe5=a0_0x2da6;(function(_0x32e744,_0x12c0fa){const _0x5da475=a0_0x2da6,_0x4f30a7=_0x32e744();while(!![]){try{const _0x3c6f45=parseInt(_0x5da475(0xd7))/0x1*(-parseInt(_0x5da475(0x11e))/0x2)+parseInt(_0x5da475(0x128))/0x3*(-parseInt(_0x5da475(0xd6))/0x4)+-parseInt(_0x5da475(0xf9))/0x5*(parseInt(_0x5da475(0xe8))/0x6)+parseInt(_0x5da475(0xce))/0x7+parseInt(_0x5da475(0x109))/0x8+parseInt(_0x5da475(0xe5))/0x9+parseInt(_0x5da475(0x103))/0xa;if(_0x3c6f45===_0x12c0fa)break;else _0x4f30a7['push'](_0x4f30a7['shift']());}catch(_0x22af8d){_0x4f30a7['push'](_0x4f30a7['shift']());}}}(a0_0x463d,0x48c57));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_0x3d6cff from'graphql-tag';import{ValueUtil}from'./value-util';function a0_0x463d(){const _0x2eeb79=['codeItems','parent','searchByPagination','imex','dirtyRecords','details','findIndex','HIDDEN-PAGE','draft-list','records','map','object','1364748GpMoIx','active','findOne','parse','title','buildArgs','confirm','length','92GiuQMR','218843osUfcM','exportableData','unshift','text.nothing_selected','showGraphqlErrorResponse','join','id,template','hiddenFlag','myDynamicMenus','result','menu.id','resourceUrl','delete','\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','3095811rxHbjB','__seq__','split','1256196RlzTpa','searchMyDynamicMenus','SCREEN','splice','cuFlag','getCodeSelectorData','query','path','updatedAt','type','isArray','filter','reduce','HOME','MENU','updater','children','10qtXXRZ','template','cancel','__selected__','badge','showToast','test','display','approval-pending-list','Graphql\x20Error','2275740WjWRlB','find','deleteListByGristSelected','updateMultipleData','_config','showAlertPopup','2370000kxRAqL','__dirtyfields__','runScenario','menuType','patchesForUpdateMultiple','text.nothing_changed','sort','key','tText','routing','getWorkCodeByName','numberOfToDos','iconPath','total','deleteListByIds','fetch','numberOfDrafts','error','extensions','push','getCodeByEntity','2lKCZZa','__dirty__','dispatch','noteq','gutter','undefined','description','\x0a\x20\x20\x20\x20','__origin__','data','16581KfCOfk','isEmpty','columns','rank','record','networkError','success\x20to\x20process','getSelectedIdList','showGraphqlException','forEach','updateMultiple','menus','value','GROUP','errors','\x0a\x20\x20\x20\x20\x20\x20','checkClientError','question','text.NOTHING_CHANGED','name','tMenu','info','selected','group','callScenario','hidden','category','includes'];a0_0x463d=function(){return _0x2eeb79;};return a0_0x463d();}function a0_0x2da6(_0x176f9a,_0x3e95c9){const _0x463d79=a0_0x463d();return a0_0x2da6=function(_0x2da69f,_0x3d0e5b){_0x2da69f=_0x2da69f-0xba;let _0x12e3c3=_0x463d79[_0x2da69f];return _0x12e3c3;},a0_0x2da6(_0x176f9a,_0x3e95c9);}import{asyncReplace}from'lit/directives/async-replace.js';import a0_0x52cdeb from'i18next';import{generateActivitySummary,startSubscribeActivitySummary}from'@things-factory/worklist';export class ServiceUtil{static async[a0_0x455fe5(0xc2)](_0xe6f58){const _0x2e793b=a0_0x455fe5;if(Array[_0x2e793b(0xf2)](_0xe6f58))return _0xe6f58[_0x2e793b(0xcc)](_0x4411eb=>_0x2e793b(0xcd)==typeof _0x4411eb?{'name':_0x4411eb[_0x2e793b(0x134)],'description':_0x4411eb[_0x2e793b(0x100)]}:{'name':_0x4411eb,'description':_0x4411eb});let _0x290a37=await ServiceUtil[_0x2e793b(0x113)](_0xe6f58);return _0x290a37&&_0x290a37[_0x2e793b(0xd5)]>0x0?_0x290a37:await getCodeByName(_0xe6f58);}static async[a0_0x455fe5(0x113)](_0x437a4c){const _0x7f1518=a0_0x455fe5,_0x379726=await client['query']({'query':a0_0x3d6cff`
2
2
  query workCodeByName($name: String!) {
3
3
  workCodeByName(name: $name) {
4
4
  details {
@@ -8,32 +8,32 @@ const a0_0x5a4c11=a0_0x1647;(function(_0xc92de2,_0x3b14cb){const _0x147947=a0_0x
8
8
  }
9
9
  }
10
10
  }
11
- `,'variables':{'name':_0x105ec5},'context':gqlContext()});return!_0x5b3a5f[_0x5dc9b0(0x13c)]&&_0x5b3a5f[_0x5dc9b0(0x156)][_0x5dc9b0(0x13f)]&&_0x5b3a5f['data'][_0x5dc9b0(0x13f)]['details']?_0x5b3a5f[_0x5dc9b0(0x156)]['workCodeByName']['details'][_0x5dc9b0(0x152)]((_0x1d4f47,_0x3c2022)=>_0x1d4f47['rank']-_0x3c2022[_0x5dc9b0(0x16f)]):[];}static async[a0_0x5a4c11(0x183)](_0x140967){const _0x4acf68=a0_0x5a4c11;let _0x386440=(await ServiceUtil[_0x4acf68(0x177)](_0x140967))[_0x4acf68(0x13b)](_0x3f6522=>({'value':_0x3f6522[_0x4acf68(0x196)],'display':_0x3f6522['description']}));return _0x386440[_0x4acf68(0x11c)]({'value':'','display':''}),_0x386440;}static async[a0_0x5a4c11(0x144)](_0x390615,_0x48e8fb){const _0x29c385=a0_0x5a4c11;let _0x268fb0=await ServiceUtil[_0x29c385(0x14c)](null,_0x390615,_0x48e8fb);return _0x268fb0[_0x29c385(0x11c)]({'value':'','display':''}),_0x268fb0['map'](_0x28c244=>({'value':_0x28c244[_0x29c385(0x196)],'display':_0x28c244[_0x29c385(0x121)]}));}static async[a0_0x5a4c11(0x181)]({queryName:_0x534795,codeField:_0x4ab0dc='name',dispField:_0x4a17f4='description',filters:_0x33fecd=[],sorters:_0x174a9b=[]}){const _0x3eed23=a0_0x5a4c11;let _0x2f5a8e=_0x3eed23(0x173)+_0x4ab0dc+_0x3eed23(0x173)+_0x4a17f4+_0x3eed23(0x13e),_0x43619f=await ServiceUtil[_0x3eed23(0x17e)](_0x534795,_0x33fecd,_0x174a9b,0x0,0x0,_0x2f5a8e),_0xc035f3=[{'value':'','display':''}];return _0x43619f['records']['forEach'](_0x30f7ca=>{_0xc035f3['push']({'value':_0x30f7ca[_0x4ab0dc],'display':_0x30f7ca[_0x4a17f4]});}),_0xc035f3;}static async[a0_0x5a4c11(0x19a)](){const _0xb12dfe=a0_0x5a4c11;let _0x11e2d8=await ServiceUtil[_0xb12dfe(0x160)]();return null!=_0x11e2d8?ServiceUtil['arrangeMenuRoutes'](_0x11e2d8):null;}static async[a0_0x5a4c11(0x154)](_0x136b9f){const _0x3b2aa7=a0_0x5a4c11;let _0x4698d6=[{'name':'menu.id','operator':'eq','value':_0x136b9f}],_0x471f49=await ServiceUtil[_0x3b2aa7(0x17e)](_0x3b2aa7(0x197),_0x4698d6,[],0x0,0x0,_0x3b2aa7(0x14f));return 0x0==_0x471f49[_0x3b2aa7(0x134)]?{}:{'id':_0x471f49['records'][0x0]['id'],'template':JSON[_0x3b2aa7(0x199)](_0x471f49[_0x3b2aa7(0x17d)][0x0][_0x3b2aa7(0x12d)])};}static[a0_0x5a4c11(0x14b)](_0x2f2171){const _0x4855f7=a0_0x5a4c11;let _0x4b7469=[];_0x2f2171[_0x4855f7(0x178)](_0x920c6=>{const _0xdafa47=_0x4855f7;_0x4b7469[_0xdafa47(0x17c)](_0x920c6),_0x920c6[_0xdafa47(0x180)]&&(_0x920c6['children'][_0xdafa47(0x152)](function(_0x3f237e,_0x49f249){const _0x426a6c=_0xdafa47;return _0x3f237e[_0x426a6c(0x16f)]-_0x49f249[_0x426a6c(0x16f)];}),_0x920c6[_0xdafa47(0x180)][_0xdafa47(0x178)](_0x179eb3=>{const _0x33e4e8=_0xdafa47;0x1!=_0x179eb3[_0x33e4e8(0x128)]&&(_0x179eb3[_0x33e4e8(0x163)]=_0x920c6,_0x4b7469['push'](_0x179eb3));}));});let _0x42a0bf=_0x4b7469['map'](_0x59affd=>{const _0x2e6707=_0x4855f7;if('GROUP'==_0x59affd['menuType']||_0x2e6707(0x133)==_0x59affd[_0x2e6707(0x193)]){let _0x4fedf5={'id':_0x59affd['id'],'parent':!0x0,'name':TermsUtil['tMenu'](_0x59affd[_0x2e6707(0x196)]),'icon':_0x59affd[_0x2e6707(0x194)],'type':_0x2e6707(0x192)==_0x59affd[_0x2e6707(0x193)]?_0x2e6707(0x186):'','menus':[]};return _0x59affd[_0x2e6707(0x191)]&&(_0x4fedf5['path']=_0x59affd[_0x2e6707(0x191)]),_0x4fedf5;}return{'id':'0'};})[_0x4855f7(0x16a)](_0x394cee=>'0'!=_0x394cee['id']),_0xe2a9b9=_0x4b7469['map'](_0x3e148a=>{const _0x50bf35=_0x4855f7;if('SCREEN'==_0x3e148a[_0x50bf35(0x193)]||_0x50bf35(0x162)==_0x3e148a[_0x50bf35(0x193)]){let _0x855da2=_0x42a0bf['find'](_0x5b217f=>_0x5b217f['id']==_0x3e148a['parent']['id']);if(_0x855da2){let _0x1051fc=TermsUtil['tMenu'](_0x3e148a[_0x50bf35(0x196)]);return'SCREEN'==_0x3e148a['menuType']&&_0x855da2[_0x50bf35(0x175)][_0x50bf35(0x17c)]({'id':_0x3e148a['id'],'name':_0x1051fc,'path':_0x3e148a['routing'],'icon':_0x3e148a[_0x50bf35(0x194)]}),{'id':_0x3e148a['id'],'parent':!0x1,'parent_id':_0x855da2['id'],'title':_0x1051fc,'tagname':_0x3e148a[_0x50bf35(0x17f)],'page':_0x3e148a[_0x50bf35(0x191)],'template':_0x3e148a[_0x50bf35(0x142)],'routing_type':_0x3e148a[_0x50bf35(0x189)]};}return{'id':'0'};}return _0x50bf35(0x11d)==_0x3e148a[_0x50bf35(0x193)]?{'id':_0x3e148a['id'],'parent':!0x0,'parent_id':null,'title':TermsUtil['tMenu'](_0x3e148a['name']),'tagname':_0x3e148a['category'],'page':_0x3e148a[_0x50bf35(0x191)],'template':_0x3e148a[_0x50bf35(0x142)],'routing_type':_0x3e148a[_0x50bf35(0x189)]}:{'id':'0'};})['filter'](_0x5eb74e=>null!=_0x5eb74e&&'0'!=_0x5eb74e['id']);_0x42a0bf[_0x4855f7(0x16a)](_0x1b1a83=>_0x4855f7(0x186)==_0x1b1a83[_0x4855f7(0x137)]&&_0x1b1a83[_0x4855f7(0x175)]&&_0x1b1a83['menus']['length']>0x0)[_0x4855f7(0x178)](_0x33e47d=>{const _0x5b46e8=_0x4855f7;let _0x3ab08f=_0x42a0bf[_0x5b46e8(0x174)](_0x4c62a1=>_0x4c62a1['id']==_0x33e47d['id'])+0x1;_0x42a0bf['splice'](_0x3ab08f,0x0,..._0x33e47d[_0x5b46e8(0x175)]);});let _0x471493=0x0;return _0x42a0bf['forEach'](_0x31834e=>{const _0x58c2eb=_0x4855f7;_0x58c2eb(0x18a)==_0x31834e[_0x58c2eb(0x15a)]?(_0x471493++,_0x31834e[_0x58c2eb(0x153)]=()=>asyncReplace(generateActivitySummary(_0x58c2eb(0x18e))),_0x31834e[_0x58c2eb(0x15e)]=({path:_0xe9edde})=>/^activity\//[_0x58c2eb(0x15b)](_0xe9edde)):_0x58c2eb(0x155)==_0x31834e[_0x58c2eb(0x15a)]?(_0x471493++,_0x31834e[_0x58c2eb(0x153)]=()=>asyncReplace(generateActivitySummary(_0x58c2eb(0x149))),_0x31834e['active']=({path:_0x3968fe})=>/^activity\//[_0x58c2eb(0x15b)](_0x3968fe)):'draft-list'==_0x31834e['path']&&(_0x471493++,_0x31834e['badge']=()=>asyncReplace(generateActivitySummary(_0x58c2eb(0x159))));}),_0x471493>0x0&&startSubscribeActivitySummary(),{'menus':_0x42a0bf,'routes':_0xe2a9b9};}static async['searchMyDynamicMenus'](){const _0x397205=a0_0x5a4c11;let _0x24a360=await ServiceUtil['searchByPagination'](_0x397205(0x175),[{'name':_0x397205(0x128),'operator':_0x397205(0x16b),'value':!0x0},{'name':_0x397205(0x193),'operator':'in','value':[_0x397205(0x11d),_0x397205(0x133),_0x397205(0x192)]}],[{'name':_0x397205(0x16f)}],0x0,0x0,'\x0a\x20\x20\x20\x20\x20\x20id\x0a\x20\x20\x20\x20\x20\x20parent\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20id\x0a\x20\x20\x20\x20\x20\x20\x20\x20name\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20children{\x0a\x20\x20\x20\x20\x20\x20\x20\x20id\x0a\x20\x20\x20\x20\x20\x20\x20\x20name\x0a\x20\x20\x20\x20\x20\x20\x20\x20description\x0a\x20\x20\x20\x20\x20\x20\x20\x20menuType\x0a\x20\x20\x20\x20\x20\x20\x20\x20category\x0a\x20\x20\x20\x20\x20\x20\x20\x20routingType\x0a\x20\x20\x20\x20\x20\x20\x20\x20routing\x0a\x20\x20\x20\x20\x20\x20\x20\x20resourceUrl\x0a\x20\x20\x20\x20\x20\x20\x20\x20iconPath\x0a\x20\x20\x20\x20\x20\x20\x20\x20hiddenFlag\x0a\x20\x20\x20\x20\x20\x20\x20\x20rank\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20name\x0a\x20\x20\x20\x20\x20\x20description\x0a\x20\x20\x20\x20\x20\x20menuType\x0a\x20\x20\x20\x20\x20\x20category\x0a\x20\x20\x20\x20\x20\x20routingType\x0a\x20\x20\x20\x20\x20\x20routing\x0a\x20\x20\x20\x20\x20\x20resourceUrl\x0a\x20\x20\x20\x20\x20\x20iconPath\x0a\x20\x20\x20\x20');return _0x24a360?_0x24a360[_0x397205(0x17d)]:[];}static async[a0_0x5a4c11(0x176)](_0x31d875){const _0x4fff22=a0_0x5a4c11;if(_0x31d875[_0x4fff22(0x13c)]&&_0x31d875[_0x4fff22(0x13c)][_0x4fff22(0x15f)]>0x0){let _0x207a40=_0x31d875['errors'][0x0],_0x2eeac9=_0x207a40['message'],_0x88461b=_0x207a40[_0x4fff22(0x15d)];_0x207a40[_0x4fff22(0x188)]&&(_0x88461b=_0x207a40['extensions']['code']),await UiUtil['showAlertPopup'](_0x88461b,_0x2eeac9,_0x4fff22(0x17b),_0x4fff22(0x131));}}static async[a0_0x5a4c11(0x127)](_0x3b72a4){const _0x5f1600=a0_0x5a4c11;_0x3b72a4&&(_0x3b72a4[_0x5f1600(0x120)]&&_0x3b72a4[_0x5f1600(0x120)][_0x5f1600(0x169)]?await ServiceUtil[_0x5f1600(0x176)](_0x3b72a4[_0x5f1600(0x120)][_0x5f1600(0x169)]):await UiUtil[_0x5f1600(0x171)](_0x5f1600(0x18b),_0x3b72a4[_0x5f1600(0x15d)],'error',_0x5f1600(0x131)));}static async[a0_0x5a4c11(0x15c)](_0x16c890,_0x17abcd,_0x35bc10){const _0x57f63a=a0_0x5a4c11;var _0x80289f=_0x35bc10[_0x57f63a(0x13d)]['columns'][_0x57f63a(0x16a)](_0x2726c3=>_0x57f63a(0x17a)!==_0x2726c3[_0x57f63a(0x137)]&&void 0x0!==_0x2726c3[_0x57f63a(0x157)]&&void 0x0!==_0x2726c3['imex']&&!0x0!==_0x2726c3[_0x57f63a(0x18c)])[_0x57f63a(0x13b)](_0xd36ca3=>_0xd36ca3[_0x57f63a(0x166)]),_0xc89b0e=_0x35bc10[_0x57f63a(0x156)][_0x57f63a(0x17d)][_0x57f63a(0x13b)](_0x2e4118=>({..._0x35bc10[_0x57f63a(0x13d)][_0x57f63a(0x123)]['filter'](_0x364f09=>'gutter'!==_0x364f09['type']&&void 0x0!==_0x364f09[_0x57f63a(0x157)]&&void 0x0!==_0x364f09['imex']&&!0x0!==_0x364f09[_0x57f63a(0x18c)])[_0x57f63a(0x179)]((_0x1047f8,_0x459f83)=>(_0x1047f8[_0x459f83[_0x57f63a(0x166)][_0x57f63a(0x161)]]=_0x459f83[_0x57f63a(0x166)][_0x57f63a(0x161)][_0x57f63a(0x13a)]('.')[_0x57f63a(0x179)]((_0x5658e4,_0x4f83b7)=>_0x5658e4&&_0x57f63a(0x145)!==_0x5658e4[_0x4f83b7]?_0x5658e4[_0x4f83b7]:void 0x0,_0x2e4118),_0x1047f8),{})}));if(!_0x16c890)return{'header':_0x80289f,'data':_0xc89b0e};store[_0x57f63a(0x187)]({'type':EXPORT,'exportable':{'extension':_0x57f63a(0x11a),'name':_0x17abcd,'data':{'header':_0x80289f,'data':_0xc89b0e}}});}static async[a0_0x5a4c11(0x17e)](_0xadf056,_0x30fbef,_0x177c2d,_0x5d5f42,_0x35ea33,_0xdac68d){const _0x64de59=a0_0x5a4c11;try{const _0x5eb9e8=await client[_0x64de59(0x148)]({'query':a0_0x180aef`
11
+ `,'variables':{'name':_0x437a4c},'context':gqlContext()});return!_0x379726[_0x7f1518(0x136)]&&_0x379726[_0x7f1518(0x127)]['workCodeByName']&&_0x379726[_0x7f1518(0x127)]['workCodeByName']['details']?_0x379726['data']['workCodeByName'][_0x7f1518(0xc7)][_0x7f1518(0x10f)]((_0x69d357,_0x40a243)=>_0x69d357['rank']-_0x40a243[_0x7f1518(0x12b)]):[];}static async[a0_0x455fe5(0xed)](_0x1135c2){const _0x35da84=a0_0x455fe5;let _0x1057f2=(await ServiceUtil['codeItems'](_0x1135c2))[_0x35da84(0xcc)](_0x378dad=>({'value':_0x378dad['name'],'display':_0x378dad[_0x35da84(0x124)]}));return _0x1057f2['unshift']({'value':'','display':''}),_0x1057f2;}static async['getCodeByScenario'](_0x19b129,_0x2edc8d){const _0x3eec64=a0_0x455fe5;let _0x444d5a=await ServiceUtil[_0x3eec64(0xbe)](null,_0x19b129,_0x2edc8d);return _0x444d5a[_0x3eec64(0xd9)]({'value':'','display':''}),_0x444d5a['map'](_0xb37576=>({'value':_0xb37576['name'],'display':_0xb37576[_0x3eec64(0x124)]}));}static async[a0_0x455fe5(0x11d)]({queryName:_0x1aed8a,codeField:_0x5f19d2='name',dispField:_0x287ff3='description',filters:_0x2cfb3d=[],sorters:_0x3f02d3=[]}){const _0xde3de9=a0_0x455fe5;let _0x37b9e6=_0x287ff3[_0xde3de9(0xe7)](','),_0x898a7a=_0xde3de9(0x137)+_0x5f19d2+_0xde3de9(0x137)+_0x37b9e6['join']('\x0a')+_0xde3de9(0x125),_0x15e600=await ServiceUtil[_0xde3de9(0xc4)](_0x1aed8a,_0x2cfb3d,_0x3f02d3,0x0,0x0,_0x898a7a),_0x4aa461=[{'value':'','display':''}];return _0x15e600[_0xde3de9(0xcb)]['forEach'](_0x34bb99=>{const _0x9c916e=_0xde3de9;_0x4aa461[_0x9c916e(0x11c)]({'value':_0x34bb99[_0x5f19d2],'display':_0x37b9e6['map'](_0x335602=>_0x34bb99[_0x335602])[_0x9c916e(0xdc)]('-')});}),_0x4aa461;}static async[a0_0x455fe5(0xdf)](){const _0x194e67=a0_0x455fe5;let _0x38550e=await ServiceUtil[_0x194e67(0xe9)]();return null!=_0x38550e?ServiceUtil['arrangeMenuRoutes'](_0x38550e):null;}static async['searchMenuGridPersnalTemplate'](_0x10af91){const _0x535926=a0_0x455fe5;let _0x5ec07f=[{'name':_0x535926(0xe1),'operator':'eq','value':_0x10af91}],_0x89e0f6=await ServiceUtil['searchByPagination']('gridPersonalizeTemplates',_0x5ec07f,[],0x0,0x0,_0x535926(0xdd));return 0x0==_0x89e0f6['total']?{}:{'id':_0x89e0f6[_0x535926(0xcb)][0x0]['id'],'template':JSON[_0x535926(0xd1)](_0x89e0f6[_0x535926(0xcb)][0x0][_0x535926(0xfa)])};}static['arrangeMenuRoutes'](_0x2d27a0){const _0x117538=a0_0x455fe5;let _0x32ea7f=[];_0x2d27a0[_0x117538(0x131)](_0x21dee1=>{const _0x2d74e7=_0x117538;_0x32ea7f[_0x2d74e7(0x11c)](_0x21dee1),_0x21dee1['children']&&(_0x21dee1[_0x2d74e7(0xf8)][_0x2d74e7(0x10f)](function(_0x1d49b9,_0x5cede0){const _0x48b305=_0x2d74e7;return _0x1d49b9[_0x48b305(0x12b)]-_0x5cede0[_0x48b305(0x12b)];}),_0x21dee1[_0x2d74e7(0xf8)][_0x2d74e7(0x131)](_0x198f46=>{const _0x4a86b5=_0x2d74e7;0x1!=_0x198f46[_0x4a86b5(0xde)]&&(_0x198f46['parent']=_0x21dee1,_0x32ea7f[_0x4a86b5(0x11c)](_0x198f46));}));});let _0x439a2c=_0x32ea7f['map'](_0x5ac8ab=>{const _0x1fcf6d=_0x117538;if(_0x1fcf6d(0x135)==_0x5ac8ab[_0x1fcf6d(0x10c)]||_0x1fcf6d(0xf6)==_0x5ac8ab[_0x1fcf6d(0x10c)]){let _0x5b5014={'id':_0x5ac8ab['id'],'parent':!0x0,'name':TermsUtil[_0x1fcf6d(0xba)](_0x5ac8ab['name']),'icon':_0x5ac8ab['iconPath'],'type':'GROUP'==_0x5ac8ab[_0x1fcf6d(0x10c)]?_0x1fcf6d(0xbd):'','menus':[]};return _0x5ac8ab['routing']&&(_0x5b5014['path']=_0x5ac8ab['routing']),_0x5b5014;}return{'id':'0'};})[_0x117538(0xf3)](_0x164609=>'0'!=_0x164609['id']),_0x48063b=_0x32ea7f[_0x117538(0xcc)](_0xe47084=>{const _0x3c6d30=_0x117538;if(_0x3c6d30(0xea)==_0xe47084['menuType']||_0x3c6d30(0xc9)==_0xe47084[_0x3c6d30(0x10c)]){let _0x43ce59=_0x439a2c[_0x3c6d30(0x104)](_0x450d70=>_0x450d70['id']==_0xe47084[_0x3c6d30(0xc3)]['id']);if(_0x43ce59){let _0x27bfb2=TermsUtil[_0x3c6d30(0xba)](_0xe47084[_0x3c6d30(0x13b)]);return _0x3c6d30(0xea)==_0xe47084[_0x3c6d30(0x10c)]&&_0x43ce59[_0x3c6d30(0x133)][_0x3c6d30(0x11c)]({'id':_0xe47084['id'],'name':_0x27bfb2,'path':_0xe47084[_0x3c6d30(0x112)],'icon':_0xe47084[_0x3c6d30(0x115)]}),{'id':_0xe47084['id'],'parent':!0x1,'parent_id':_0x43ce59['id'],'title':_0x27bfb2,'tagname':_0xe47084[_0x3c6d30(0xc0)],'page':_0xe47084[_0x3c6d30(0x112)],'template':_0xe47084[_0x3c6d30(0xe2)],'routing_type':_0xe47084['routingType']};}return{'id':'0'};}return _0x3c6d30(0xf5)==_0xe47084[_0x3c6d30(0x10c)]?{'id':_0xe47084['id'],'parent':!0x0,'parent_id':null,'title':TermsUtil[_0x3c6d30(0xba)](_0xe47084[_0x3c6d30(0x13b)]),'tagname':_0xe47084[_0x3c6d30(0xc0)],'page':_0xe47084[_0x3c6d30(0x112)],'template':_0xe47084[_0x3c6d30(0xe2)],'routing_type':_0xe47084['routingType']}:{'id':'0'};})[_0x117538(0xf3)](_0x3f1082=>null!=_0x3f1082&&'0'!=_0x3f1082['id']);_0x439a2c[_0x117538(0xf3)](_0x371d15=>_0x117538(0xbd)==_0x371d15[_0x117538(0xf1)]&&_0x371d15['menus']&&_0x371d15['menus']['length']>0x0)[_0x117538(0x131)](_0x14e12f=>{const _0x5f9e9b=_0x117538;let _0x4633a4=_0x439a2c[_0x5f9e9b(0xc8)](_0x45653d=>_0x45653d['id']==_0x14e12f['id'])+0x1;_0x439a2c[_0x5f9e9b(0xeb)](_0x4633a4,0x0,..._0x14e12f[_0x5f9e9b(0x133)]);});let _0x24e59c=0x0;return _0x439a2c['forEach'](_0x1da9c9=>{const _0x31fd80=_0x117538;'todo-list'==_0x1da9c9[_0x31fd80(0xef)]?(_0x24e59c++,_0x1da9c9[_0x31fd80(0xfd)]=()=>asyncReplace(generateActivitySummary(_0x31fd80(0x114))),_0x1da9c9[_0x31fd80(0xcf)]=({path:_0x536575})=>/^activity\//[_0x31fd80(0xff)](_0x536575)):_0x31fd80(0x101)==_0x1da9c9[_0x31fd80(0xef)]?(_0x24e59c++,_0x1da9c9[_0x31fd80(0xfd)]=()=>asyncReplace(generateActivitySummary('numberOfApprovalPendings')),_0x1da9c9[_0x31fd80(0xcf)]=({path:_0x5ba905})=>/^activity\//[_0x31fd80(0xff)](_0x5ba905)):_0x31fd80(0xca)==_0x1da9c9['path']&&(_0x24e59c++,_0x1da9c9[_0x31fd80(0xfd)]=()=>asyncReplace(generateActivitySummary(_0x31fd80(0x119))));}),_0x24e59c>0x0&&startSubscribeActivitySummary(),{'menus':_0x439a2c,'routes':_0x48063b};}static async[a0_0x455fe5(0xe9)](){const _0x4cd528=a0_0x455fe5;let _0x3afb9a=await ServiceUtil[_0x4cd528(0xc4)](_0x4cd528(0x133),[{'name':_0x4cd528(0xde),'operator':_0x4cd528(0x121),'value':!0x0},{'name':_0x4cd528(0x10c),'operator':'in','value':[_0x4cd528(0xf5),'MENU','GROUP']}],[{'name':_0x4cd528(0x12b)}],0x0,0x0,_0x4cd528(0xe4));return _0x3afb9a?_0x3afb9a[_0x4cd528(0xcb)]:[];}static async[a0_0x455fe5(0xdb)](_0x312199){const _0x31a912=a0_0x455fe5;if(_0x312199['errors']&&_0x312199[_0x31a912(0x136)][_0x31a912(0xd5)]>0x0){let _0x525cd6=_0x312199['errors'][0x0],_0x1ec8c2=_0x525cd6['message'],_0x4f0bbc=_0x525cd6['message'];_0x525cd6['extensions']&&(_0x4f0bbc=_0x525cd6[_0x31a912(0x11b)]['code']),await UiUtil[_0x31a912(0x108)](_0x4f0bbc,_0x1ec8c2,_0x31a912(0x11a),_0x31a912(0xd4));}}static async[a0_0x455fe5(0x130)](_0x19492b){const _0x269618=a0_0x455fe5;_0x19492b&&(_0x19492b['networkError']&&_0x19492b['networkError'][_0x269618(0xe0)]?await ServiceUtil[_0x269618(0xdb)](_0x19492b[_0x269618(0x12d)]['result']):await UiUtil[_0x269618(0x108)](_0x269618(0x102),_0x19492b['message'],_0x269618(0x11a),_0x269618(0xd4)));}static async[a0_0x455fe5(0xd8)](_0x113d8d,_0x52167b,_0x35d3b3){const _0x2aeece=a0_0x455fe5;var _0x17118e=_0x35d3b3[_0x2aeece(0x107)][_0x2aeece(0x12a)]['filter'](_0x327834=>_0x2aeece(0x122)!==_0x327834[_0x2aeece(0xf1)]&&void 0x0!==_0x327834[_0x2aeece(0x12c)]&&void 0x0!==_0x327834[_0x2aeece(0xc5)]&&!0x0!==_0x327834[_0x2aeece(0xbf)])[_0x2aeece(0xcc)](_0x47f12f=>_0x47f12f['imex']),_0x3d9e16=_0x35d3b3[_0x2aeece(0x127)][_0x2aeece(0xcb)][_0x2aeece(0xcc)](_0x39b33b=>({..._0x35d3b3[_0x2aeece(0x107)][_0x2aeece(0x12a)][_0x2aeece(0xf3)](_0x2288a3=>'gutter'!==_0x2288a3[_0x2aeece(0xf1)]&&void 0x0!==_0x2288a3[_0x2aeece(0x12c)]&&void 0x0!==_0x2288a3[_0x2aeece(0xc5)]&&!0x0!==_0x2288a3[_0x2aeece(0xbf)])[_0x2aeece(0xf4)]((_0x52e50a,_0x18bb0d)=>(_0x52e50a[_0x18bb0d['imex'][_0x2aeece(0x110)]]=_0x18bb0d[_0x2aeece(0xc5)][_0x2aeece(0x110)]['split']('.')[_0x2aeece(0xf4)]((_0xb95d99,_0x191d9f)=>_0xb95d99&&_0x2aeece(0x123)!==_0xb95d99[_0x191d9f]?_0xb95d99[_0x191d9f]:void 0x0,_0x39b33b),_0x52e50a),{})}));if(!_0x113d8d)return{'header':_0x17118e,'data':_0x3d9e16};store[_0x2aeece(0x120)]({'type':EXPORT,'exportable':{'extension':'xlsx','name':_0x52167b,'data':{'header':_0x17118e,'data':_0x3d9e16}}});}static async[a0_0x455fe5(0xc4)](_0x3ea4b2,_0x35728d,_0x15173b,_0x149dc4,_0x4f0939,_0x535171){const _0x1e9e9e=a0_0x455fe5;try{const _0x161184=await client[_0x1e9e9e(0xee)]({'query':a0_0x3d6cff`
12
12
  query ($filters: [Filter!], $pagination: Pagination, $sortings: [Sorting!]) {
13
- ${_0xadf056}(filters: $filters, pagination: $pagination, sortings: $sortings) {
13
+ ${_0x3ea4b2}(filters: $filters, pagination: $pagination, sortings: $sortings) {
14
14
  items {
15
- ${_0xdac68d}
15
+ ${_0x535171}
16
16
  }
17
17
  total
18
18
  }
19
19
  }
20
- `,'variables':{'filters':_0x30fbef,'sortings':_0x177c2d,'pagination':{'page':_0x5d5f42,'limit':_0x35ea33}}});if(!_0x5eb9e8['errors'])return{'records':_0x5eb9e8['data'][_0xadf056][_0x64de59(0x190)],'total':_0x5eb9e8[_0x64de59(0x156)][_0xadf056]['total']};ServiceUtil[_0x64de59(0x176)](_0x5eb9e8);}catch(_0x3cdf99){ServiceUtil[_0x64de59(0x127)](_0x3cdf99);}return null;}static async[a0_0x5a4c11(0x12c)](_0x4234bc,_0x985737,_0x2f2327){const _0x7d579b=a0_0x5a4c11;try{let _0x4b0a9c=await client[_0x7d579b(0x148)]({'query':a0_0x180aef`
20
+ `,'variables':{'filters':_0x35728d,'sortings':_0x15173b,'pagination':{'page':_0x149dc4,'limit':_0x4f0939}}});if(!_0x161184[_0x1e9e9e(0x136)])return{'records':_0x161184[_0x1e9e9e(0x127)][_0x3ea4b2]['items'],'total':_0x161184[_0x1e9e9e(0x127)][_0x3ea4b2][_0x1e9e9e(0x116)]};ServiceUtil[_0x1e9e9e(0xdb)](_0x161184);}catch(_0x20b39e){ServiceUtil['showGraphqlException'](_0x20b39e);}return null;}static async[a0_0x455fe5(0xd0)](_0x25c772,_0x48b04d,_0xcbeff8){const _0x179a96=a0_0x455fe5;try{let _0x62924=await client['query']({'query':a0_0x3d6cff`
21
21
  query ($id: String!) {
22
- ${_0x4234bc}(id: $id) {
23
- ${_0x2f2327}
22
+ ${_0x25c772}(id: $id) {
23
+ ${_0xcbeff8}
24
24
  }
25
25
  }
26
- `,'variables':{'id':_0x985737}});if(!_0x4b0a9c[_0x7d579b(0x13c)])return _0x4b0a9c[_0x7d579b(0x156)][_0x4234bc]||{};ServiceUtil[_0x7d579b(0x176)](_0x4b0a9c);}catch(_0x34bd7c){ServiceUtil[_0x7d579b(0x127)](_0x34bd7c);}return null;}static['getSelectedIdList'](_0x57e224,_0x14720f){const _0x3bbeeb=a0_0x5a4c11,_0x28126c=_0x57e224[_0x3bbeeb(0x19d)][_0x3bbeeb(0x13b)](_0x319f14=>_0x319f14['id']);return ValueUtil['isEmpty'](_0x28126c)&&0x1==_0x14720f&&UiUtil[_0x3bbeeb(0x171)](_0x3bbeeb(0x11e),_0x3bbeeb(0x147),_0x3bbeeb(0x138),'confirm'),_0x28126c;}static async[a0_0x5a4c11(0x14e)](_0x2467e9,_0x515efc){const _0x4bdcc7=a0_0x5a4c11;let _0x39c34e=ServiceUtil['getSelectedIdList'](_0x2467e9,!0x0);ValueUtil['isNotEmpty'](_0x39c34e)&&(await ServiceUtil[_0x4bdcc7(0x135)](_0x39c34e,_0x515efc)&&_0x2467e9[_0x4bdcc7(0x19b)]());}static async[a0_0x5a4c11(0x135)](_0x1b0a6d,_0x3d015f){const _0x54bea5=a0_0x5a4c11;if(!(await UiUtil[_0x54bea5(0x171)](_0x54bea5(0x164),_0x54bea5(0x139),'question','delete','cancel'))['value'])return!0x1;try{const _0x3dc641=await client['query']({'query':a0_0x180aef`
26
+ `,'variables':{'id':_0x48b04d}});if(!_0x62924[_0x179a96(0x136)])return _0x62924[_0x179a96(0x127)][_0x25c772]||{};ServiceUtil[_0x179a96(0xdb)](_0x62924);}catch(_0xb90667){ServiceUtil[_0x179a96(0x130)](_0xb90667);}return null;}static['getSelectedIdList'](_0x95405a,_0x5d8fe2){const _0x409ef1=a0_0x455fe5,_0x41cf82=_0x95405a[_0x409ef1(0xbc)][_0x409ef1(0xcc)](_0xdf2135=>_0xdf2135['id']);return ValueUtil[_0x409ef1(0x129)](_0x41cf82)&&0x1==_0x5d8fe2&&UiUtil[_0x409ef1(0x108)](_0x409ef1(0xda),'text.there_is_nothing_to_delete',_0x409ef1(0xbb),'confirm'),_0x41cf82;}static async[a0_0x455fe5(0x105)](_0xe93cd9,_0x35b84f){const _0xcc9215=a0_0x455fe5;let _0x2c03ee=ServiceUtil[_0xcc9215(0x12f)](_0xe93cd9,!0x0);ValueUtil['isNotEmpty'](_0x2c03ee)&&(await ServiceUtil['deleteListByIds'](_0x2c03ee,_0x35b84f)&&_0xe93cd9[_0xcc9215(0x118)]());}static async[a0_0x455fe5(0x117)](_0x5d0b76,_0x2015c2){const _0x264819=a0_0x455fe5;if(!(await UiUtil[_0x264819(0x108)]('button.delete','text.are_you_sure',_0x264819(0x139),_0x264819(0xe3),_0x264819(0xfb)))['value'])return!0x1;try{const _0x2d51fc=await client[_0x264819(0xee)]({'query':a0_0x3d6cff`
27
27
  mutation {
28
- ${_0x3d015f}(${gqlBuilder['buildArgs']({'ids':_0x1b0a6d})})
28
+ ${_0x2015c2}(${gqlBuilder['buildArgs']({'ids':_0x5d0b76})})
29
29
  }
30
- `});if(!_0x3dc641[_0x54bea5(0x13c)])return UiUtil['showToast']('info',TermsUtil['tText'](_0x54bea5(0x129))),!0x0;ServiceUtil[_0x54bea5(0x176)](_0x3dc641);}catch(_0x9f1637){ServiceUtil['showGraphqlException'](_0x9f1637);}return!0x1;}static async[a0_0x5a4c11(0x124)](_0x20b507,_0x2430c3){const _0x1e0b66=a0_0x5a4c11;let _0xfd18f1=ServiceUtil[_0x1e0b66(0x12e)](_0x20b507);if(ValueUtil['isNotEmpty'](_0xfd18f1)){let _0x5c329e=await ServiceUtil[_0x1e0b66(0x11b)](_0x2430c3,_0xfd18f1);if(_0x5c329e)return _0x20b507[_0x1e0b66(0x19b)](),_0x5c329e;}return!0x1;}static async[a0_0x5a4c11(0x11b)](_0x379508,_0x649f00){const _0x428bc3=a0_0x5a4c11;try{const _0x23e955=await client[_0x428bc3(0x148)]({'query':a0_0x180aef`
30
+ `});if(!_0x2d51fc['errors'])return UiUtil[_0x264819(0xfe)]('info',TermsUtil[_0x264819(0x111)]('success\x20to\x20delete')),!0x0;ServiceUtil[_0x264819(0xdb)](_0x2d51fc);}catch(_0x38a6e2){ServiceUtil[_0x264819(0x130)](_0x38a6e2);}return!0x1;}static async[a0_0x455fe5(0x106)](_0x20ecd7,_0x52a86f){const _0x18b66f=a0_0x455fe5;let _0x21e6cb=ServiceUtil[_0x18b66f(0x10d)](_0x20ecd7);if(ValueUtil['isNotEmpty'](_0x21e6cb)){let _0x21ba8e=await ServiceUtil[_0x18b66f(0x132)](_0x52a86f,_0x21e6cb);if(_0x21ba8e)return _0x20ecd7['fetch'](),_0x21ba8e;}return!0x1;}static async[a0_0x455fe5(0x132)](_0x5a0b2b,_0x5f55a4){const _0x2c528b=a0_0x455fe5;try{const _0x3c5c37=await client['query']({'query':a0_0x3d6cff`
31
31
  mutation {
32
- ${_0x379508}(${gqlBuilder[_0x428bc3(0x172)]({'patches':_0x649f00})}) {
32
+ ${_0x5a0b2b}(${gqlBuilder[_0x2c528b(0xd3)]({'patches':_0x5f55a4})}) {
33
33
  id
34
34
  }
35
35
  }
36
- `,'context':{'hasUpload':!0x0}});if(!_0x23e955[_0x428bc3(0x13c)])return UiUtil['showToast'](_0x428bc3(0x138),TermsUtil[_0x428bc3(0x12f)](_0x428bc3(0x132))),!0x0;ServiceUtil[_0x428bc3(0x176)](_0x23e955);}catch(_0xc38c52){ServiceUtil[_0x428bc3(0x127)](_0xc38c52);}return!0x1;}static['patchesForUpdateMultiple'](_0x2d5fa4,_0x544f88=!0x1){const _0x217d12=a0_0x5a4c11;let _0x155c2e=_0x2d5fa4[_0x217d12(0x122)];if(_0x155c2e&&0x0!=_0x155c2e[_0x217d12(0x15f)])return _0x155c2e[_0x217d12(0x13b)](_0x50d3ad=>{const _0x3b480d=_0x217d12;let _0x383451=_0x50d3ad['id']?{'id':_0x50d3ad['id']}:{};for(let _0x403aae in _0x50d3ad)[_0x3b480d(0x14d),_0x3b480d(0x16e),_0x3b480d(0x125),_0x3b480d(0x16c),_0x3b480d(0x158),_0x3b480d(0x165),'__origin__',_0x3b480d(0x130),_0x3b480d(0x168)][_0x3b480d(0x184)](_0x403aae)||(_0x50d3ad[_0x403aae]&&_0x3b480d(0x185)==typeof _0x50d3ad[_0x403aae]&&0x0==_0x544f88?_0x383451[_0x403aae]={'id':_0x50d3ad[_0x403aae]['id']}:_0x383451[_0x403aae]=_0x50d3ad[_0x403aae]);return _0x383451[_0x3b480d(0x146)]=_0x50d3ad[_0x3b480d(0x158)],_0x383451;});UiUtil['showAlertPopup'](_0x217d12(0x151),_0x217d12(0x18f),_0x217d12(0x138),'confirm');}static async['callScenario'](_0x1c297e,_0x4679b6,_0x20b2c,_0x3c5b5a=!0x0){const _0x5f0a68=a0_0x5a4c11;let _0x324d5a=!0x0;_0x1c297e&&!0x0===_0x3c5b5a&&(_0x324d5a=(await UiUtil[_0x5f0a68(0x171)](_0x5f0a68(0x198)+_0x1c297e,_0x5f0a68(0x139),_0x5f0a68(0x16d),_0x5f0a68(0x131),_0x5f0a68(0x19c)))[_0x5f0a68(0x136)]);if(_0x324d5a)try{const _0x22cdc2=await client[_0x5f0a68(0x148)]({'query':a0_0x180aef`
36
+ `,'context':{'hasUpload':!0x0}});if(!_0x3c5c37[_0x2c528b(0x136)])return UiUtil[_0x2c528b(0xfe)](_0x2c528b(0xbb),TermsUtil['tText']('success\x20to\x20save')),!0x0;ServiceUtil[_0x2c528b(0xdb)](_0x3c5c37);}catch(_0x2bc3d5){ServiceUtil[_0x2c528b(0x130)](_0x2bc3d5);}return!0x1;}static[a0_0x455fe5(0x10d)](_0x511ccf,_0x199209=!0x1){const _0x54e833=a0_0x455fe5;let _0x358c06=_0x511ccf[_0x54e833(0xc6)];if(_0x358c06&&0x0!=_0x358c06[_0x54e833(0xd5)])return _0x358c06[_0x54e833(0xcc)](_0xe55dab=>{const _0x24288f=_0x54e833;let _0x339283=_0xe55dab['id']?{'id':_0xe55dab['id']}:{};for(let _0x5d2674 in _0xe55dab)['creator',_0x24288f(0xf7),'createdAt',_0x24288f(0xf0),_0x24288f(0x11f),_0x24288f(0x10a),_0x24288f(0x126),_0x24288f(0xe6),_0x24288f(0xfc)][_0x24288f(0xc1)](_0x5d2674)||(_0xe55dab[_0x5d2674]&&_0x24288f(0xcd)==typeof _0xe55dab[_0x5d2674]&&0x0==_0x199209?_0x339283[_0x5d2674]={'id':_0xe55dab[_0x5d2674]['id']}:_0x339283[_0x5d2674]=_0xe55dab[_0x5d2674]);return _0x339283[_0x24288f(0xec)]=_0xe55dab[_0x24288f(0x11f)],_0x339283;});UiUtil[_0x54e833(0x108)](_0x54e833(0x10e),_0x54e833(0x13a),_0x54e833(0xbb),_0x54e833(0xd4));}static async['callScenario'](_0x1762d5,_0x35281e,_0x2a8767,_0x3d8903=!0x0){const _0x1896a9=a0_0x455fe5;let _0x168c9e=!0x0;_0x1762d5&&!0x0===_0x3d8903&&(_0x168c9e=(await UiUtil['showAlertPopup']('button.'+_0x1762d5,'text.are_you_sure','question',_0x1896a9(0xd4),_0x1896a9(0xfb)))[_0x1896a9(0x134)]);if(_0x168c9e)try{const _0x1f9cca=await client[_0x1896a9(0xee)]({'query':a0_0x3d6cff`
37
37
  mutation ($scenarioName: String!, $variables: Object) {
38
38
  runScenario(scenarioName: $scenarioName, variables: $variables) {
39
39
  state
@@ -42,4 +42,4 @@ const a0_0x5a4c11=a0_0x1647;(function(_0xc92de2,_0x3b14cb){const _0x147947=a0_0x
42
42
  __typename
43
43
  }
44
44
  }
45
- `,'variables':{'scenarioName':_0x4679b6,'variables':_0x20b2c}});if(_0x22cdc2[_0x5f0a68(0x13c)])ServiceUtil['showGraphqlErrorResponse'](_0x22cdc2);else{if(this[_0x5f0a68(0x167)](_0x22cdc2))return!0x0===_0x3c5b5a&&UiUtil['showToast'](_0x5f0a68(0x138),TermsUtil[_0x5f0a68(0x12f)]('success\x20to\x20process')),_0x22cdc2;}}catch(_0xdce19c){ServiceUtil['showGraphqlException'](_0xdce19c);}return!0x1;}static['checkClientError'](_0x5d92fd){const _0x49cccb=a0_0x5a4c11;if(_0x5d92fd&&_0x5d92fd['data']&&_0x5d92fd[_0x49cccb(0x156)][_0x49cccb(0x11f)]&&_0x5d92fd[_0x49cccb(0x156)][_0x49cccb(0x11f)][_0x49cccb(0x156)]&&_0x5d92fd[_0x49cccb(0x156)][_0x49cccb(0x11f)]['data'][_0x49cccb(0x17b)]){let _0xc0bb7b=_0x5d92fd[_0x49cccb(0x156)][_0x49cccb(0x11f)][_0x49cccb(0x156)][_0x49cccb(0x17b)];return UiUtil[_0x49cccb(0x171)](_0xc0bb7b[_0x49cccb(0x14a)],_0xc0bb7b[_0x49cccb(0x15d)],_0x49cccb(0x17b),_0x49cccb(0x131)),!0x1;}return!0x0;}}
45
+ `,'variables':{'scenarioName':_0x35281e,'variables':_0x2a8767}});if(_0x1f9cca[_0x1896a9(0x136)])ServiceUtil[_0x1896a9(0xdb)](_0x1f9cca);else{if(this[_0x1896a9(0x138)](_0x1f9cca))return!0x0===_0x3d8903&&UiUtil[_0x1896a9(0xfe)](_0x1896a9(0xbb),TermsUtil[_0x1896a9(0x111)](_0x1896a9(0x12e))),_0x1f9cca;}}catch(_0x4d92ac){ServiceUtil['showGraphqlException'](_0x4d92ac);}return!0x1;}static[a0_0x455fe5(0x138)](_0x2d5345){const _0xc6e651=a0_0x455fe5;if(_0x2d5345&&_0x2d5345[_0xc6e651(0x127)]&&_0x2d5345[_0xc6e651(0x127)][_0xc6e651(0x10b)]&&_0x2d5345[_0xc6e651(0x127)][_0xc6e651(0x10b)][_0xc6e651(0x127)]&&_0x2d5345[_0xc6e651(0x127)][_0xc6e651(0x10b)][_0xc6e651(0x127)][_0xc6e651(0x11a)]){let _0x19216e=_0x2d5345['data'][_0xc6e651(0x10b)][_0xc6e651(0x127)]['error'];return UiUtil[_0xc6e651(0x108)](_0x19216e[_0xc6e651(0xd2)],_0x19216e['message'],'error',_0xc6e651(0xd4)),!0x1;}return!0x0;}}
@@ -1,4 +1,4 @@
1
- const a0_0x267d29=a0_0x3ad6;(function(_0x4c529a,_0x55ef69){const _0x34820d=a0_0x3ad6,_0x1e17dc=_0x4c529a();while(!![]){try{const _0x4519f4=-parseInt(_0x34820d(0xdf))/0x1+-parseInt(_0x34820d(0xda))/0x2+parseInt(_0x34820d(0xeb))/0x3+parseInt(_0x34820d(0xdb))/0x4+parseInt(_0x34820d(0xe1))/0x5+-parseInt(_0x34820d(0xe3))/0x6*(parseInt(_0x34820d(0xf2))/0x7)+-parseInt(_0x34820d(0xf0))/0x8*(-parseInt(_0x34820d(0xea))/0x9);if(_0x4519f4===_0x55ef69)break;else _0x1e17dc['push'](_0x1e17dc['shift']());}catch(_0x1fb83e){_0x1e17dc['push'](_0x1e17dc['shift']());}}}(a0_0xd847,0x979bf));import a0_0x219e34 from'graphql-tag';function a0_0x3ad6(_0x2fac0b,_0x5405fd){const _0xd84742=a0_0xd847();return a0_0x3ad6=function(_0x3ad6ce,_0x5e7f2e){_0x3ad6ce=_0x3ad6ce-0xd1;let _0x14b285=_0xd84742[_0x3ad6ce];return _0x14b285;},a0_0x3ad6(_0x2fac0b,_0x5405fd);}function a0_0xd847(){const _0x5da5e2=['menu','data','button','translate','query','records','36cJOQNN','769689RMwpEk','keys','name','tButton','error','3364592AoCZUP','forEach','42245xAyqtR','locale','category','items','fetchTerminologies','title','label','tField','text','tLabel','total','field','tText','830304zDjavw','2216340YWiBkc','terminologies','META_TERMS','downloadTerminologies','1196065RlOcEE','display','3705370FLHRSQ','replace','996OthtiK'];a0_0xd847=function(){return _0x5da5e2;};return a0_0xd847();}import{client}from'@operato/graphql';import{i18next}from'@operato/i18n';export class TermsUtil{[a0_0x267d29(0xdd)]=null;static async[a0_0x267d29(0xde)](_0x526e82){const _0x56956d=a0_0x267d29;let _0x111461=(await TermsUtil[_0x56956d(0xd1)](_0x526e82))[_0x56956d(0xe9)];_0x111461&&_0x111461['length']>0x0&&(this[_0x56956d(0xdd)]={},_0x111461['forEach'](_0x1ef2eb=>{const _0x459da7=_0x56956d;let _0x2616ad=_0x1ef2eb[_0x459da7(0xf4)]+'.'+_0x1ef2eb[_0x459da7(0xed)];this[_0x459da7(0xdd)][_0x2616ad]=_0x1ef2eb[_0x459da7(0xe0)];}));}static async[a0_0x267d29(0xd1)](_0x5b9447){const _0x21e7dd=a0_0x267d29;let _0x2218bb=[{'name':_0x21e7dd(0xf3),'operator':'eq','value':_0x5b9447}];const _0x46134d=await client[_0x21e7dd(0xe8)]({'query':a0_0x219e34`
1
+ function a0_0x1733(){const _0x5f4d01=['downloadTerminologies','errors','tField','records','text','category','750213rEaFVJ','1018827gOnYvL','label','1483836RqFBuw','49ZKLkrr','tTitle','fetchTerminologies','164884IDhaFg','data','269736BfMNUa','keys','294685LXpQAP','forEach','tMenu','menu','terminologies','replace','translate','META_TERMS','field','button','28bcyctW','768098rEcxyb','total','query','items','name','title'];a0_0x1733=function(){return _0x5f4d01;};return a0_0x1733();}const a0_0x4f5196=a0_0x10db;(function(_0x2381f6,_0x15abe5){const _0x37438f=a0_0x10db,_0x5c9845=_0x2381f6();while(!![]){try{const _0x2b2bb8=-parseInt(_0x37438f(0x183))/0x1+-parseInt(_0x37438f(0x170))/0x2+parseInt(_0x37438f(0x17d))/0x3+parseInt(_0x37438f(0x16f))/0x4*(parseInt(_0x37438f(0x187))/0x5)+parseInt(_0x37438f(0x17f))/0x6+-parseInt(_0x37438f(0x180))/0x7*(parseInt(_0x37438f(0x185))/0x8)+parseInt(_0x37438f(0x17c))/0x9;if(_0x2b2bb8===_0x15abe5)break;else _0x5c9845['push'](_0x5c9845['shift']());}catch(_0x518fb2){_0x5c9845['push'](_0x5c9845['shift']());}}}(a0_0x1733,0x48b97));import a0_0x1a2830 from'graphql-tag';import{client}from'@operato/graphql';function a0_0x10db(_0x239d38,_0x285668){const _0x173389=a0_0x1733();return a0_0x10db=function(_0x10db49,_0x1f1696){_0x10db49=_0x10db49-0x16d;let _0x508bb2=_0x173389[_0x10db49];return _0x508bb2;},a0_0x10db(_0x239d38,_0x285668);}import{i18next}from'@operato/i18n';export class TermsUtil{['META_TERMS']=null;static async[a0_0x4f5196(0x176)](_0x8955c4){const _0x1f15e0=a0_0x4f5196;let _0x18d929=(await TermsUtil[_0x1f15e0(0x182)](_0x8955c4))[_0x1f15e0(0x179)];_0x18d929&&_0x18d929['length']>0x0&&(this[_0x1f15e0(0x18e)]={},_0x18d929[_0x1f15e0(0x188)](_0x4f81df=>{const _0x2f8768=_0x1f15e0;let _0x15a8d5=_0x4f81df['category']+'.'+_0x4f81df['name'];this[_0x2f8768(0x18e)][_0x15a8d5]=_0x4f81df['display'];}));}static async[a0_0x4f5196(0x182)](_0x53dcf5){const _0x1ad18d=a0_0x4f5196;let _0x113689=[{'name':'locale','operator':'eq','value':_0x53dcf5}];const _0x3f892b=await client[_0x1ad18d(0x172)]({'query':a0_0x1a2830`
2
2
  query ($filters: [Filter!], $pagination: Pagination, $sortings: [Sorting!]) {
3
3
  terminologies(filters: $filters, pagination: $pagination, sortings: $sortings) {
4
4
  items {
@@ -11,4 +11,4 @@ const a0_0x267d29=a0_0x3ad6;(function(_0x4c529a,_0x55ef69){const _0x34820d=a0_0x
11
11
  total
12
12
  }
13
13
  }
14
- `,'variables':{'filters':_0x2218bb,'sortings':[{'name':_0x21e7dd(0xf4)},{'name':_0x21e7dd(0xed)}],'pagination':{'page':0x0,'limit':0x0}}});if(!_0x46134d['errors'])return{'records':_0x46134d[_0x21e7dd(0xe5)][_0x21e7dd(0xdc)][_0x21e7dd(0xf5)]||[],'total':_0x46134d['data'][_0x21e7dd(0xdc)][_0x21e7dd(0xd7)]||0x0};}static[a0_0x267d29(0xd6)](_0x20515e,_0x2e711d){const _0x2eab54=a0_0x267d29;let _0x25c708=TermsUtil['translate'](_0x2eab54(0xd3),_0x20515e,_0x2e711d,null);return _0x25c708||TermsUtil[_0x2eab54(0xe7)](_0x2eab54(0xd8),_0x20515e,_0x2e711d,_0x20515e);}static[a0_0x267d29(0xd4)](_0x39fac8,_0x428509){const _0x441aa2=a0_0x267d29;let _0x3a5f2d=TermsUtil['translate']('field',_0x39fac8,_0x428509,null);return _0x3a5f2d||TermsUtil['translate'](_0x441aa2(0xd8),_0x39fac8,_0x428509,_0x39fac8);}static[a0_0x267d29(0xee)](_0x46ae03){const _0x1bdba7=a0_0x267d29;return TermsUtil['translate'](_0x1bdba7(0xe6),_0x46ae03,null,_0x46ae03);}static['tTitle'](_0x4b061a,_0x4b526c){const _0x230516=a0_0x267d29;let _0x18ba88=TermsUtil[_0x230516(0xe7)](_0x230516(0xd2),_0x4b061a,_0x4b526c,null);return _0x18ba88||TermsUtil[_0x230516(0xe7)](_0x230516(0xe4),_0x4b061a,_0x4b526c,_0x4b061a);}static['tMenu'](_0x3897a2){const _0x401c2f=a0_0x267d29;let _0x1bda15=TermsUtil['translate'](_0x401c2f(0xe4),_0x3897a2,null,_0x3897a2);return _0x1bda15||TermsUtil[_0x401c2f(0xe7)](_0x401c2f(0xd2),_0x3897a2,null,_0x3897a2);}static[a0_0x267d29(0xd9)](_0x25145e,_0x34d95d){const _0x94979=a0_0x267d29;return TermsUtil['translate'](_0x94979(0xd5),_0x25145e,_0x34d95d,_0x25145e);}static['tError'](_0x4f593c,_0x6d86e1){const _0x44dc49=a0_0x267d29;return TermsUtil[_0x44dc49(0xe7)](_0x44dc49(0xef),_0x4f593c,_0x6d86e1,_0x4f593c);}static[a0_0x267d29(0xe7)](_0x281e7e,_0x4053ea,_0x1274ca,_0xae2d01){let _0x4fa836=_0x281e7e+'.'+_0x4053ea;return TermsUtil['t'](_0x4fa836,_0x1274ca,_0xae2d01);}static['t'](_0x46e7f2,_0x58ed2e,_0x52e0f7){const _0x20d31c=a0_0x267d29;let _0x3045c=this['META_TERMS']?this[_0x20d31c(0xdd)][_0x46e7f2]:null;return _0x3045c=_0x3045c||i18next['t'](_0x46e7f2),_0x3045c&&_0x46e7f2!=_0x3045c?(_0x58ed2e&&Object[_0x20d31c(0xec)](_0x58ed2e)[_0x20d31c(0xf1)](function(_0x1571e1){const _0xf25ab0=_0x20d31c;var _0x581f6b='\x5c{'+_0x1571e1[_0xf25ab0(0xe2)](/\$/,'\x5c$')+'\x5c}',_0x23032e=new RegExp(_0x581f6b,'gi');_0x3045c=_0x3045c[_0xf25ab0(0xe2)](_0x23032e,_0x58ed2e[_0x1571e1]);}),_0x3045c):_0x52e0f7;}}
14
+ `,'variables':{'filters':_0x113689,'sortings':[{'name':_0x1ad18d(0x17b)},{'name':_0x1ad18d(0x174)}],'pagination':{'page':0x0,'limit':0x0}}});if(!_0x3f892b[_0x1ad18d(0x177)])return{'records':_0x3f892b['data'][_0x1ad18d(0x18b)][_0x1ad18d(0x173)]||[],'total':_0x3f892b[_0x1ad18d(0x184)][_0x1ad18d(0x18b)][_0x1ad18d(0x171)]||0x0};}static['tLabel'](_0x259df9,_0x2d6d5d){const _0x329535=a0_0x4f5196;let _0x3d6c3e=TermsUtil[_0x329535(0x18d)](_0x329535(0x17e),_0x259df9,_0x2d6d5d,null);return _0x3d6c3e||TermsUtil[_0x329535(0x18d)](_0x329535(0x16d),_0x259df9,_0x2d6d5d,_0x259df9);}static[a0_0x4f5196(0x178)](_0xaff95c,_0x3fc070){const _0x44069e=a0_0x4f5196;let _0x213aae=TermsUtil[_0x44069e(0x18d)](_0x44069e(0x16d),_0xaff95c,_0x3fc070,null);return _0x213aae||TermsUtil[_0x44069e(0x18d)]('field',_0xaff95c,_0x3fc070,_0xaff95c);}static['tButton'](_0x21cfd8){const _0x3e3492=a0_0x4f5196;return TermsUtil[_0x3e3492(0x18d)](_0x3e3492(0x16e),_0x21cfd8,null,_0x21cfd8);}static[a0_0x4f5196(0x181)](_0x366215,_0x58a557){const _0x20c43b=a0_0x4f5196;let _0x4dc881=TermsUtil['translate']('title',_0x366215,_0x58a557,null);return _0x4dc881||TermsUtil['translate'](_0x20c43b(0x18a),_0x366215,_0x58a557,_0x366215);}static[a0_0x4f5196(0x189)](_0x51a6c7){const _0x164897=a0_0x4f5196;let _0x2c3a09=TermsUtil[_0x164897(0x18d)](_0x164897(0x18a),_0x51a6c7,null,_0x51a6c7);return _0x2c3a09||TermsUtil[_0x164897(0x18d)](_0x164897(0x175),_0x51a6c7,null,_0x51a6c7);}static['tText'](_0x289037,_0x434aca){const _0x36832c=a0_0x4f5196;return TermsUtil[_0x36832c(0x18d)](_0x36832c(0x17a),_0x289037,_0x434aca,_0x289037);}static['tError'](_0x476b97,_0x21fe7c){const _0x4a92a3=a0_0x4f5196;return TermsUtil[_0x4a92a3(0x18d)]('error',_0x476b97,_0x21fe7c,_0x476b97);}static[a0_0x4f5196(0x18d)](_0x2b78f4,_0x3465d2,_0x4f84c1,_0x514587){let _0x3228f1=_0x2b78f4+'.'+_0x3465d2;return TermsUtil['t'](_0x3228f1,_0x4f84c1,_0x514587);}static['t'](_0x41f264,_0x548b55,_0x576597){const _0x2ff71d=a0_0x4f5196;let _0x23cdb4=this['META_TERMS']?this[_0x2ff71d(0x18e)][_0x41f264]:null;return _0x23cdb4=_0x23cdb4||i18next['t'](_0x41f264),_0x23cdb4&&_0x41f264!=_0x23cdb4?(_0x548b55&&Object[_0x2ff71d(0x186)](_0x548b55)['forEach'](function(_0x862a07){const _0x1037f3=_0x2ff71d;var _0x16d6c7='\x5c{'+_0x862a07[_0x1037f3(0x18c)](/\$/,'\x5c$')+'\x5c}',_0xc0d59b=new RegExp(_0x16d6c7,'gi');_0x23cdb4=_0x23cdb4[_0x1037f3(0x18c)](_0xc0d59b,_0x548b55[_0x862a07]);}),_0x23cdb4):_0x576597;}}
@@ -1 +1 @@
1
- const a0_0x731cf2=a0_0x69a4;(function(_0x401f36,_0x3abb88){const _0x1ae7f0=a0_0x69a4,_0xfd472d=_0x401f36();while(!![]){try{const _0x3fa48c=-parseInt(_0x1ae7f0(0x15c))/0x1*(parseInt(_0x1ae7f0(0x14d))/0x2)+parseInt(_0x1ae7f0(0x155))/0x3*(-parseInt(_0x1ae7f0(0x173))/0x4)+-parseInt(_0x1ae7f0(0x16f))/0x5*(parseInt(_0x1ae7f0(0x167))/0x6)+-parseInt(_0x1ae7f0(0x131))/0x7+parseInt(_0x1ae7f0(0x13e))/0x8+-parseInt(_0x1ae7f0(0x139))/0x9+parseInt(_0x1ae7f0(0x14e))/0xa*(parseInt(_0x1ae7f0(0x140))/0xb);if(_0x3fa48c===_0x3abb88)break;else _0xfd472d['push'](_0xfd472d['shift']());}catch(_0x2d499d){_0xfd472d['push'](_0xfd472d['shift']());}}}(a0_0x3b04,0x4d8f2));import{store,CustomAlert,navigate}from'@things-factory/shell';import{openPopup}from'@things-factory/layout-base';import{isMobileDevice}from'@things-factory/utils';function a0_0x3b04(){const _0x5534ca=['page','i18next=','[name=\x27','6038jVHgue','10MkfyVu','removeChild','firstElementChild','isMobileEnv','input','indexOf','notify','622113FLOyaa','ox-input-code','name','getFilterFormData','tButton','setValueToEditor','substring','163HjHXTG','value','ko-KR','parent_field','code-editor','cookie','app','dispatchEvent','split','childNodes','length','6SCNnRC','getType','size','template','ox-select','currentLocale','cancelButton','\x27\x20\x20parent_id=\x27','1146515xDHodX','popup_field','innerHTML','getState','4prGfRs','forEach','type','getApplicationModuleInfo','onclosed','pass=','tagname','\x20route_name=\x27','getParams','fireCustomEvent','setSearchFormEditorValue','4395622TWzeOx','replace','filters','isNotEmpty','pageNavigate','menu','renderRoot','route','1262637LGBHCJ','createCustomElement','stringify','openDynamicPopup','openPopupByElement','1719240vnzdsm','htmlToElement','19797657CcslHH','ox-input-barcode','content','barcode','querySelector','showAlertPopup','textarea','i18next','getLeafInput','confirmButton'];a0_0x3b04=function(){return _0x5534ca;};return a0_0x3b04();}import{getEditor}from'@operato/data-grist';import{TermsUtil}from'./terms-util';import{ValueUtil}from'./value-util';function a0_0x69a4(_0x4541e2,_0x2f41a1){const _0x3b0408=a0_0x3b04();return a0_0x69a4=function(_0x69a474,_0x17c945){_0x69a474=_0x69a474-0x12b;let _0x335e64=_0x3b0408[_0x69a474];return _0x335e64;},a0_0x69a4(_0x4541e2,_0x2f41a1);}import{MetaUiUtil}from'./meta-ui-util';export class UiUtil{static[a0_0x731cf2(0x151)](){return isMobileDevice();}static[a0_0x731cf2(0x16c)](){const _0x42949a=a0_0x731cf2;let _0x28fe9e=document[_0x42949a(0x161)];return _0x28fe9e=_0x28fe9e[_0x42949a(0x15b)](_0x28fe9e[_0x42949a(0x153)](_0x42949a(0x147))),_0x28fe9e[_0x42949a(0x153)](';')>-0x1&&(_0x28fe9e=_0x28fe9e[_0x42949a(0x15b)](0x0,_0x28fe9e[_0x42949a(0x153)](';'))),_0x28fe9e=_0x28fe9e[_0x42949a(0x132)](_0x42949a(0x14b),''),'ko'==_0x28fe9e?_0x42949a(0x15e):_0x28fe9e;}static[a0_0x731cf2(0x176)](){const _0x96ac2f=a0_0x731cf2;let _0x37a0d1=store['getState']()[_0x96ac2f(0x162)]['modules'];return _0x37a0d1[_0x37a0d1[_0x96ac2f(0x166)]-0x1];}static['currentRouting'](){const _0x19da1f=a0_0x731cf2;return store['getState']()[_0x19da1f(0x138)][_0x19da1f(0x14a)];}static[a0_0x731cf2(0x13d)](_0x48ec44,_0x2ab0aa,_0x448221,_0x2cc82d){return openPopup(_0x448221,{'backdrop':!0x0,'size':_0x2ab0aa,'title':_0x48ec44,'backdrop':_0x2cc82d});}static async[a0_0x731cf2(0x13c)](_0x22c849,_0x2607be,_0x5507c2,_0xd94bce){const _0x4bc016=a0_0x731cf2;let _0xcba920=ValueUtil[_0x4bc016(0x134)](_0x2607be['parent_field'])?ValueUtil[_0x4bc016(0x12e)](_0x5507c2,..._0x2607be[_0x4bc016(0x15f)][_0x4bc016(0x164)]('.')):void 0x0,_0x56895e='<'+_0x2607be[_0x4bc016(0x12c)]+_0x4bc016(0x12d)+_0x2607be[_0x4bc016(0x136)]+_0x4bc016(0x16e)+_0xcba920+'\x27\x20is_popup=true></'+_0x2607be[_0x4bc016(0x12c)]+'>',_0x1edac3=UiUtil[_0x4bc016(0x13f)](_0x56895e);_0x1edac3['config']=_0x2607be,ValueUtil[_0x4bc016(0x134)](_0x2607be[_0x4bc016(0x170)])&&(_0x1edac3[_0x2607be[_0x4bc016(0x170)]]=_0x5507c2);let _0x4ab26b=UiUtil[_0x4bc016(0x13d)](_0x22c849,_0x2607be[_0x4bc016(0x169)],_0x1edac3,!0x0);_0xd94bce&&(_0x4ab26b[_0x4bc016(0x177)]=_0xd94bce);}static[a0_0x731cf2(0x13a)](_0x3ce67f,_0x38ef43){const _0xa1018b=a0_0x731cf2;let _0x476213='<'+_0x3ce67f+_0xa1018b(0x12d)+_0x38ef43+'\x27></'+_0x3ce67f+'>';return UiUtil[_0xa1018b(0x13f)](_0x476213);}static[a0_0x731cf2(0x13f)](_0x54bf06){const _0x3a3705=a0_0x731cf2;var _0x5647d9=document['createElement'](_0x3a3705(0x16a));_0x5647d9[_0x3a3705(0x171)]=_0x54bf06;var _0x517e96=_0x5647d9[_0x3a3705(0x142)][_0x3a3705(0x165)][0x0];return _0x5647d9[_0x3a3705(0x142)][_0x3a3705(0x14f)](_0x517e96),_0x517e96;}static[a0_0x731cf2(0x135)](_0x142523,_0x22bd48){const _0x569522=a0_0x731cf2;let _0xaa22cf=_0x22bd48?'?':'';_0x22bd48&&(_0xaa22cf+=_0x569522(0x12b)+JSON[_0x569522(0x13b)](_0x22bd48)),navigate(''+_0x142523+_0xaa22cf);}static['getStore'](_0xe1abc9,_0x106093,_0x5e2215){const _0x472453=a0_0x731cf2;let _0x356bae=_0x356bae[_0x472453(0x172)]();return _0xe1abc9&&_0x106093&&_0x5e2215?_0x356bae[_0xe1abc9][_0x106093][_0x5e2215]:_0xe1abc9&&_0x106093?_0x356bae[_0xe1abc9][_0x106093]:_0xe1abc9?_0x356bae[_0xe1abc9]:_0x356bae;}static[a0_0x731cf2(0x12f)](_0x490964,_0x22cb11){const _0x472685=a0_0x731cf2;document[_0x472685(0x163)](new CustomEvent(_0x490964,{'detail':_0x22cb11}));}static['showToast'](_0x3d1fbe,_0x9b0cd8){const _0xacf31=a0_0x731cf2;document['dispatchEvent'](new CustomEvent(_0xacf31(0x154),{'detail':{'type':_0x3d1fbe,'message':_0x9b0cd8}}));}static async[a0_0x731cf2(0x145)](_0x23b255,_0x1fb76c,_0x144875,_0x388b1b,_0x2ab060){const _0x23f307=a0_0x731cf2;let _0x317ec9={'title':TermsUtil['t'](_0x23b255)||_0x23b255,'text':TermsUtil['t'](_0x1fb76c)||_0x1fb76c};return _0x144875&&(_0x317ec9[_0x23f307(0x175)]=_0x144875),_0x388b1b&&(_0x317ec9[_0x23f307(0x149)]=TermsUtil[_0x23f307(0x159)](_0x388b1b)),_0x2ab060&&(_0x317ec9[_0x23f307(0x16d)]=TermsUtil[_0x23f307(0x159)](_0x2ab060)),await CustomAlert(_0x317ec9);}static[a0_0x731cf2(0x158)](_0x21a7ce){const _0xf26e43=a0_0x731cf2;if(ValueUtil['isNotEmpty'](_0x21a7ce)){let _0xcfd914=_0x21a7ce[_0xf26e43(0x133)]();ValueUtil[_0xf26e43(0x134)](_0xcfd914)&&_0xcfd914[_0xf26e43(0x174)](_0x219e60=>{const _0x3b5f1f=_0xf26e43;ValueUtil[_0x3b5f1f(0x134)](_0x219e60['value'])&&(item[_0x219e60[_0x3b5f1f(0x157)]]=_0x219e60[_0x3b5f1f(0x15d)]?_0x219e60[_0x3b5f1f(0x15d)]:null);});}return{};}static[a0_0x731cf2(0x130)](_0x20253f,_0x1e7eb9,_0x50db53){const _0x58c3c8=a0_0x731cf2;if(ValueUtil[_0x58c3c8(0x134)](_0x20253f)){let _0x1aa5a9=_0x20253f[_0x58c3c8(0x137)]?.[_0x58c3c8(0x144)](_0x58c3c8(0x14c)+_0x1e7eb9+'\x27]');ValueUtil[_0x58c3c8(0x134)](_0x1aa5a9)&&(_0x1aa5a9[_0x58c3c8(0x15d)]=_0x50db53);}}static['createEditorHtml'](_0x2e82a3,_0x4d6dbe,_0x3026b4,_0x53dc71){return getEditor(_0x2e82a3)('',_0x4d6dbe,_0x3026b4,_0x53dc71,{});}static[a0_0x731cf2(0x15a)](_0x3b7805,_0x885cb6){const _0x7a1bb=a0_0x731cf2;UiUtil[_0x7a1bb(0x148)](_0x3b7805)[_0x7a1bb(0x15d)]=_0x885cb6;}static[a0_0x731cf2(0x148)](_0x5c16b8){const _0xee10a2=a0_0x731cf2;let _0x23f844=_0x5c16b8[_0xee10a2(0x168)]();return _0xee10a2(0x160)==_0x23f844?_0x5c16b8[_0xee10a2(0x137)]['querySelector'](_0xee10a2(0x156)):_0xee10a2(0x146)==_0x23f844?_0x5c16b8[_0xee10a2(0x137)][_0xee10a2(0x144)](_0xee10a2(0x146)):'select-combo'==_0x23f844?_0x5c16b8[_0xee10a2(0x137)][_0xee10a2(0x144)](_0xee10a2(0x16b))[_0xee10a2(0x150)]:_0xee10a2(0x143)==_0x23f844?_0x5c16b8[_0xee10a2(0x137)]['querySelector'](_0xee10a2(0x141))[_0xee10a2(0x137)][_0xee10a2(0x144)](_0xee10a2(0x152)):_0x5c16b8[_0xee10a2(0x137)][_0xee10a2(0x150)]['editor'];}}
1
+ const a0_0x40142e=a0_0x3089;(function(_0x510253,_0x16c8c0){const _0xe7a12a=a0_0x3089,_0x511c4c=_0x510253();while(!![]){try{const _0x53b018=-parseInt(_0xe7a12a(0x1fb))/0x1*(parseInt(_0xe7a12a(0x217))/0x2)+parseInt(_0xe7a12a(0x213))/0x3+parseInt(_0xe7a12a(0x1eb))/0x4+-parseInt(_0xe7a12a(0x200))/0x5+parseInt(_0xe7a12a(0x221))/0x6+parseInt(_0xe7a12a(0x1f3))/0x7*(-parseInt(_0xe7a12a(0x1e9))/0x8)+-parseInt(_0xe7a12a(0x1fd))/0x9;if(_0x53b018===_0x16c8c0)break;else _0x511c4c['push'](_0x511c4c['shift']());}catch(_0x35266b){_0x511c4c['push'](_0x511c4c['shift']());}}}(a0_0x50b1,0xdfbbc));import{store,CustomAlert,navigate}from'@things-factory/shell';import{openPopup}from'@things-factory/layout-base';import{isMobileDevice}from'@things-factory/utils';function a0_0x50b1(){const _0x4adf29=['type','\x20route_name=\x27','removeChild','content','getApplicationModuleInfo','getFilterFormData','template','11050179sryzMz','pass=','isNotEmpty','textarea','editor','[name=\x27','showAlertPopup','getLeafInput','23MhTrwR','ko-KR','12787425WUEwJd','tButton','createCustomElement','2210180TmEGGN','ox-input-code','getType','onclosed','\x27\x20\x20parent_id=\x27','dispatchEvent','openDynamicPopup','stringify','showToast','forEach','getState','innerHTML','split','setSearchFormEditorValue','parent_field','isMobileEnv','menu','setValueToEditor','currentRouting','4006218iyDKxp','page','notify','createEditorHtml','7288zLSsEW','size','firstElementChild','config','renderRoot','querySelector','openPopupByElement','htmlToElement','length','popup_field','8994696QhOlUO','value','childNodes','substring','modules','indexOf','ox-select','route','8pPicAd','select-combo','6428640KcuKks'];a0_0x50b1=function(){return _0x4adf29;};return a0_0x50b1();}import{getEditor}from'@operato/data-grist';import{TermsUtil}from'./terms-util';import{ValueUtil}from'./value-util';import{MetaUiUtil}from'./meta-ui-util';function a0_0x3089(_0x1581a4,_0x2537d7){const _0x50b12f=a0_0x50b1();return a0_0x3089=function(_0x308944,_0x4dc29b){_0x308944=_0x308944-0x1e4;let _0x1e5b18=_0x50b12f[_0x308944];return _0x1e5b18;},a0_0x3089(_0x1581a4,_0x2537d7);}export class UiUtil{static[a0_0x40142e(0x20f)](){return isMobileDevice();}static['currentLocale'](){const _0x2a4e7d=a0_0x40142e;let _0x3d2a55=document['cookie'];return _0x3d2a55=_0x3d2a55[_0x2a4e7d(0x1e4)](_0x3d2a55[_0x2a4e7d(0x1e6)]('i18next')),_0x3d2a55['indexOf'](';')>-0x1&&(_0x3d2a55=_0x3d2a55[_0x2a4e7d(0x1e4)](0x0,_0x3d2a55[_0x2a4e7d(0x1e6)](';'))),_0x3d2a55=_0x3d2a55['replace']('i18next=',''),'ko'==_0x3d2a55?_0x2a4e7d(0x1fc):_0x3d2a55;}static[a0_0x40142e(0x1f0)](){const _0x313253=a0_0x40142e;let _0x4a81a5=store[_0x313253(0x20a)]()['app'][_0x313253(0x1e5)];return _0x4a81a5[_0x4a81a5[_0x313253(0x21f)]-0x1];}static[a0_0x40142e(0x212)](){const _0x1dbc18=a0_0x40142e;return store[_0x1dbc18(0x20a)]()[_0x1dbc18(0x1e8)][_0x1dbc18(0x214)];}static[a0_0x40142e(0x21d)](_0xa2bc5,_0x59730f,_0x260dab,_0x503643){return openPopup(_0x260dab,{'backdrop':!0x0,'size':_0x59730f,'title':_0xa2bc5,'backdrop':_0x503643});}static async[a0_0x40142e(0x206)](_0x55fe37,_0x1223b2,_0x1c4bf5,_0x53f204){const _0x19f759=a0_0x40142e;let _0x175ad8=ValueUtil[_0x19f759(0x1f5)](_0x1223b2['parent_field'])?ValueUtil['getParams'](_0x1c4bf5,..._0x1223b2[_0x19f759(0x20e)][_0x19f759(0x20c)]('.')):void 0x0,_0x304ae8='<'+_0x1223b2['tagname']+_0x19f759(0x1ed)+_0x1223b2[_0x19f759(0x210)]+_0x19f759(0x204)+_0x175ad8+'\x27\x20is_popup=true></'+_0x1223b2['tagname']+'>',_0x4ace1f=UiUtil[_0x19f759(0x21e)](_0x304ae8);_0x4ace1f[_0x19f759(0x21a)]=_0x1223b2,ValueUtil[_0x19f759(0x1f5)](_0x1223b2[_0x19f759(0x220)])&&(_0x4ace1f[_0x1223b2['popup_field']]=_0x1c4bf5);let _0x21f913=UiUtil[_0x19f759(0x21d)](_0x55fe37,_0x1223b2[_0x19f759(0x218)],_0x4ace1f,!0x0);_0x53f204&&(_0x21f913[_0x19f759(0x203)]=_0x53f204);}static[a0_0x40142e(0x1ff)](_0x31ec6b,_0x568d84){const _0x15d05d=a0_0x40142e;let _0x362cdb='<'+_0x31ec6b+_0x15d05d(0x1ed)+_0x568d84+'\x27></'+_0x31ec6b+'>';return UiUtil[_0x15d05d(0x21e)](_0x362cdb);}static[a0_0x40142e(0x21e)](_0x4c94f2){const _0x1c29a5=a0_0x40142e;var _0x1317a5=document['createElement'](_0x1c29a5(0x1f2));_0x1317a5[_0x1c29a5(0x20b)]=_0x4c94f2;var _0x44c045=_0x1317a5[_0x1c29a5(0x1ef)][_0x1c29a5(0x223)][0x0];return _0x1317a5[_0x1c29a5(0x1ef)][_0x1c29a5(0x1ee)](_0x44c045),_0x44c045;}static['pageNavigate'](_0x415d8a,_0x4338fe){const _0x265adf=a0_0x40142e;let _0x11b49c=_0x4338fe?'?':'';_0x4338fe&&(_0x11b49c+=_0x265adf(0x1f4)+JSON[_0x265adf(0x207)](_0x4338fe)),navigate(''+_0x415d8a+_0x11b49c);}static['getStore'](_0x489f5e,_0x1593a3,_0x35d910){const _0x219905=a0_0x40142e;let _0x5cc157=_0x5cc157[_0x219905(0x20a)]();return _0x489f5e&&_0x1593a3&&_0x35d910?_0x5cc157[_0x489f5e][_0x1593a3][_0x35d910]:_0x489f5e&&_0x1593a3?_0x5cc157[_0x489f5e][_0x1593a3]:_0x489f5e?_0x5cc157[_0x489f5e]:_0x5cc157;}static['fireCustomEvent'](_0x232580,_0x994d6c){document['dispatchEvent'](new CustomEvent(_0x232580,{'detail':_0x994d6c}));}static[a0_0x40142e(0x208)](_0x369f0f,_0x5ed3c5){const _0x416a41=a0_0x40142e;document[_0x416a41(0x205)](new CustomEvent(_0x416a41(0x215),{'detail':{'type':_0x369f0f,'message':_0x5ed3c5}}));}static async[a0_0x40142e(0x1f9)](_0x2686d7,_0x3efd53,_0x2cb751,_0x11b01c,_0x17c208){const _0x14aba0=a0_0x40142e;let _0x1e33da={'title':TermsUtil['t'](_0x2686d7)||_0x2686d7,'text':TermsUtil['t'](_0x3efd53)||_0x3efd53};return _0x2cb751&&(_0x1e33da[_0x14aba0(0x1ec)]=_0x2cb751),_0x11b01c&&(_0x1e33da['confirmButton']=TermsUtil[_0x14aba0(0x1fe)](_0x11b01c)),_0x17c208&&(_0x1e33da['cancelButton']=TermsUtil['tButton'](_0x17c208)),await CustomAlert(_0x1e33da);}static[a0_0x40142e(0x1f1)](_0x56ac97){const _0x2819ae=a0_0x40142e;if(ValueUtil['isNotEmpty'](_0x56ac97)){let _0x1e057e=_0x56ac97['filters']();ValueUtil[_0x2819ae(0x1f5)](_0x1e057e)&&_0x1e057e[_0x2819ae(0x209)](_0x43ac03=>{const _0x444b0f=_0x2819ae;ValueUtil[_0x444b0f(0x1f5)](_0x43ac03[_0x444b0f(0x222)])&&(item[_0x43ac03['name']]=_0x43ac03[_0x444b0f(0x222)]?_0x43ac03['value']:null);});}return{};}static[a0_0x40142e(0x20d)](_0x43fd2a,_0x5a8184,_0x522e25){const _0x491460=a0_0x40142e;if(ValueUtil[_0x491460(0x1f5)](_0x43fd2a)){let _0xdffc02=_0x43fd2a[_0x491460(0x21b)]?.[_0x491460(0x21c)](_0x491460(0x1f8)+_0x5a8184+'\x27]');ValueUtil[_0x491460(0x1f5)](_0xdffc02)&&(_0xdffc02[_0x491460(0x222)]=_0x522e25);}}static[a0_0x40142e(0x216)](_0x5b4666,_0x2882f9,_0x10c6af,_0x124638){return getEditor(_0x5b4666)('',_0x2882f9,_0x10c6af,_0x124638,{});}static[a0_0x40142e(0x211)](_0x5f0d78,_0x7a8b61){const _0x217aa9=a0_0x40142e;UiUtil[_0x217aa9(0x1fa)](_0x5f0d78)[_0x217aa9(0x222)]=_0x7a8b61;}static['getLeafInput'](_0xeac406){const _0x338df6=a0_0x40142e;let _0x16b539=_0xeac406[_0x338df6(0x202)]();return'code-editor'==_0x16b539?_0xeac406[_0x338df6(0x21b)][_0x338df6(0x21c)](_0x338df6(0x201)):_0x338df6(0x1f6)==_0x16b539?_0xeac406['renderRoot'][_0x338df6(0x21c)](_0x338df6(0x1f6)):_0x338df6(0x1ea)==_0x16b539?_0xeac406[_0x338df6(0x21b)][_0x338df6(0x21c)](_0x338df6(0x1e7))[_0x338df6(0x219)]:'barcode'==_0x16b539?_0xeac406[_0x338df6(0x21b)]['querySelector']('ox-input-barcode')[_0x338df6(0x21b)]['querySelector']('input'):_0xeac406[_0x338df6(0x21b)]['firstElementChild'][_0x338df6(0x1f7)];}}
@@ -1 +1 @@
1
- const a0_0x5f5753=a0_0x699a;(function(_0x3e1d1c,_0x2b2e56){const _0x29b7f4=a0_0x699a,_0x18e31c=_0x3e1d1c();while(!![]){try{const _0x484822=parseInt(_0x29b7f4(0x1d8))/0x1*(parseInt(_0x29b7f4(0x1dd))/0x2)+-parseInt(_0x29b7f4(0x1e4))/0x3*(parseInt(_0x29b7f4(0x1e9))/0x4)+parseInt(_0x29b7f4(0x1e6))/0x5*(-parseInt(_0x29b7f4(0x1ea))/0x6)+parseInt(_0x29b7f4(0x1e1))/0x7+-parseInt(_0x29b7f4(0x1e3))/0x8+parseInt(_0x29b7f4(0x1d9))/0x9*(-parseInt(_0x29b7f4(0x1ec))/0xa)+parseInt(_0x29b7f4(0x1d4))/0xb*(parseInt(_0x29b7f4(0x1e7))/0xc);if(_0x484822===_0x2b2e56)break;else _0x18e31c['push'](_0x18e31c['shift']());}catch(_0x7fd4f){_0x18e31c['push'](_0x18e31c['shift']());}}}(a0_0x59d7,0xbce95));function a0_0x59d7(){const _0x9fc689=['968250JyCzqD','boolean','13670DJoSky','slice','isEquals','toInteger','object','109703svgUAV','TRUE','keys','isEmpty','511018iKdZHF','2259IyTmzB','isNotEmpty','toBoolean','isArray','6TSAagV','length','map','getParams','935151TQLFvb','populateObject','10504128ggBHGY','3FlQGWG','setParams','25RfXvCi','1956ZzdMmE','populateArray','221828MjSTok'];a0_0x59d7=function(){return _0x9fc689;};return a0_0x59d7();}import a0_0xcf88a2 from'lodash-es/isEqual';import{TermsUtil}from'./terms-util';function a0_0x699a(_0x1fc528,_0x5d0f36){const _0x59d7e2=a0_0x59d7();return a0_0x699a=function(_0x699a79,_0xc75486){_0x699a79=_0x699a79-0x1d1;let _0x281f9e=_0x59d7e2[_0x699a79];return _0x281f9e;},a0_0x699a(_0x1fc528,_0x5d0f36);}export class ValueUtil{static[a0_0x5f5753(0x1d7)](_0x3b51e5){const _0x3ae844=a0_0x5f5753;if(void 0x0===_0x3b51e5)return!0x0;if(null===_0x3b51e5)return!0x0;if(_0x3ae844(0x1eb)==typeof _0x3b51e5)return!0x1;if('string'==typeof _0x3b51e5||'number'==typeof _0x3b51e5){if(''==_0x3b51e5)return!0x0;}else{if(Array[_0x3ae844(0x1dc)](_0x3b51e5)){if(0x0==_0x3b51e5[_0x3ae844(0x1de)])return!0x0;}else{if(_0x3ae844(0x1d3)==typeof _0x3b51e5&&0x0==Object[_0x3ae844(0x1d6)](_0x3b51e5)[_0x3ae844(0x1de)])return!0x0;}}return!0x1;}static[a0_0x5f5753(0x1da)](_0x549aba){const _0x2fddc1=a0_0x5f5753;return!ValueUtil[_0x2fddc1(0x1d7)](_0x549aba);}static[a0_0x5f5753(0x1d1)](_0x35b533,_0x8d7723){return a0_0xcf88a2(_0x35b533,_0x8d7723);}static[a0_0x5f5753(0x1d2)](_0x22ecf0,_0x375290){const _0x114a9f=a0_0x5f5753;return ValueUtil[_0x114a9f(0x1d7)](_0x22ecf0)?_0x375290||0x0:parseInt(_0x22ecf0);}static[a0_0x5f5753(0x1db)](_0x2c92d5){const _0x4873e1=a0_0x5f5753;return!ValueUtil['isEmpty'](_0x2c92d5)&&('true'==_0x2c92d5||'t'==_0x2c92d5||_0x4873e1(0x1d5)==_0x2c92d5||'T'==_0x2c92d5||'on'==_0x2c92d5||'ON'==_0x2c92d5);}static['compareObjectValues'](_0x1d92f2,_0x288946,_0x2e63f4){let _0x2c1f13=!0x0;return _0x2e63f4['forEach'](_0x32da90=>{const _0x3037d7=a0_0x699a;let _0x5e1130=_0x1d92f2[_0x32da90];if('*'===_0x5e1130)return;let _0x191b5b=_0x288946[_0x32da90]||'';ValueUtil[_0x3037d7(0x1d7)](_0x5e1130)?ValueUtil['isNotEmpty'](_0x191b5b)&&(_0x2c1f13=!0x1):_0x5e1130!=_0x191b5b&&(_0x2c1f13=!0x1);}),_0x2c1f13;}static[a0_0x5f5753(0x1e5)](_0x4a1a78,_0xd26b33,_0x1ba58a,_0x322b18){const _0x37a4b5=a0_0x5f5753;let _0x3f2afe=ValueUtil[_0x37a4b5(0x1e0)](_0xd26b33,_0x1ba58a);return ValueUtil[_0x37a4b5(0x1da)](_0x3f2afe)&&(_0x4a1a78[_0x1ba58a]=!0x0===_0x322b18?TermsUtil['t'](_0x3f2afe):_0x3f2afe),_0x4a1a78;}static[a0_0x5f5753(0x1e0)](_0x2b0d5c,..._0x18f8a4){const _0x3a17cb=a0_0x5f5753;if(arguments[_0x3a17cb(0x1de)]<=0x1)return;let _0x3a560a=_0x18f8a4[0x0];if(ValueUtil[_0x3a17cb(0x1d7)](_0x2b0d5c[_0x3a560a]))return;let _0x337264=_0x2b0d5c[_0x3a560a];return _0x18f8a4[_0x3a17cb(0x1de)]>0x1?ValueUtil[_0x3a17cb(0x1e0)](_0x337264,..._0x18f8a4[_0x3a17cb(0x1ed)](0x1)):_0x337264;}static[a0_0x5f5753(0x1e8)](_0x4bff82,_0x5f4dd9,..._0x2e040b){const _0x316564=a0_0x5f5753;return _0x5f4dd9=_0x5f4dd9||[],_0x2e040b=_0x2e040b||Object[_0x316564(0x1d6)](_0x4bff82),ValueUtil[_0x316564(0x1da)](_0x2e040b)&&(_0x5f4dd9=_0x4bff82[_0x316564(0x1df)]((_0x977d4a,_0x34c210)=>{const _0x40fb50=_0x316564;let _0x40576a=_0x5f4dd9[_0x40fb50(0x1de)]>_0x34c210?_0x5f4dd9[_0x34c210]:{};return ValueUtil[_0x40fb50(0x1e2)](_0x977d4a,_0x40576a,_0x2e040b);})),_0x5f4dd9;}static[a0_0x5f5753(0x1e2)](_0x96d732,_0x31cf6f,..._0x1027fc){const _0x553c64=a0_0x5f5753;return _0x31cf6f=_0x31cf6f||{},_0x1027fc=_0x1027fc||Object[_0x553c64(0x1d6)](_0x96d732),ValueUtil['isNotEmpty'](_0x1027fc)&&_0x1027fc['forEach'](_0x25e696=>{_0x31cf6f[_0x25e696]=_0x96d732[_0x25e696];}),_0x31cf6f;}}
1
+ const a0_0x47dd65=a0_0x500f;(function(_0x45b3e1,_0x2f693e){const _0x338552=a0_0x500f,_0x527891=_0x45b3e1();while(!![]){try{const _0x2f28a5=-parseInt(_0x338552(0x19d))/0x1+-parseInt(_0x338552(0x19e))/0x2+-parseInt(_0x338552(0x1a8))/0x3*(parseInt(_0x338552(0x1ab))/0x4)+-parseInt(_0x338552(0x1a0))/0x5+-parseInt(_0x338552(0x192))/0x6+-parseInt(_0x338552(0x194))/0x7*(parseInt(_0x338552(0x197))/0x8)+-parseInt(_0x338552(0x1a2))/0x9*(-parseInt(_0x338552(0x199))/0xa);if(_0x2f28a5===_0x2f693e)break;else _0x527891['push'](_0x527891['shift']());}catch(_0x2df56){_0x527891['push'](_0x527891['shift']());}}}(a0_0x12fc,0xbdb77));function a0_0x12fc(){const _0x256e0f=['isEquals','length','1403303coyMZq','2403936TQonYv','isEmpty','3573835YoPjeJ','string','20455425ngLgIr','forEach','true','map','object','isNotEmpty','520305xvkVBf','keys','getParams','8IAGSOj','6658524oCjgyP','number','109298ddUeZS','boolean','populateObject','648MitbUV','populateArray','30TsLLWY','setParams'];a0_0x12fc=function(){return _0x256e0f;};return a0_0x12fc();}import a0_0x2978ea from'lodash-es/isEqual';function a0_0x500f(_0x113394,_0x241dd6){const _0x12fc38=a0_0x12fc();return a0_0x500f=function(_0x500f9c,_0x2146b9){_0x500f9c=_0x500f9c-0x192;let _0x4a1e4a=_0x12fc38[_0x500f9c];return _0x4a1e4a;},a0_0x500f(_0x113394,_0x241dd6);}import{TermsUtil}from'./terms-util';export class ValueUtil{static[a0_0x47dd65(0x19f)](_0x5e2b79){const _0x2dc93f=a0_0x47dd65;if(void 0x0===_0x5e2b79)return!0x0;if(null===_0x5e2b79)return!0x0;if(_0x2dc93f(0x195)==typeof _0x5e2b79)return!0x1;if(_0x2dc93f(0x1a1)==typeof _0x5e2b79||_0x2dc93f(0x193)==typeof _0x5e2b79){if(''==_0x5e2b79)return!0x0;}else{if(Array['isArray'](_0x5e2b79)){if(0x0==_0x5e2b79[_0x2dc93f(0x19c)])return!0x0;}else{if(_0x2dc93f(0x1a6)==typeof _0x5e2b79&&0x0==Object[_0x2dc93f(0x1a9)](_0x5e2b79)[_0x2dc93f(0x19c)])return!0x0;}}return!0x1;}static[a0_0x47dd65(0x1a7)](_0x3bfec9){const _0x2f9b79=a0_0x47dd65;return!ValueUtil[_0x2f9b79(0x19f)](_0x3bfec9);}static[a0_0x47dd65(0x19b)](_0x5bf0c9,_0x5dc86d){return a0_0x2978ea(_0x5bf0c9,_0x5dc86d);}static['toInteger'](_0x4acbcb,_0x3e99a2){const _0xcaf57d=a0_0x47dd65;return ValueUtil[_0xcaf57d(0x19f)](_0x4acbcb)?_0x3e99a2||0x0:parseInt(_0x4acbcb);}static['toBoolean'](_0xad9538){const _0x6f83ed=a0_0x47dd65;return!ValueUtil[_0x6f83ed(0x19f)](_0xad9538)&&(_0x6f83ed(0x1a4)==_0xad9538||'t'==_0xad9538||'TRUE'==_0xad9538||'T'==_0xad9538||'on'==_0xad9538||'ON'==_0xad9538);}static['compareObjectValues'](_0x1b4b80,_0x21f72b,_0x1b6082){const _0x2ad629=a0_0x47dd65;let _0x214581=!0x0;return _0x1b6082[_0x2ad629(0x1a3)](_0x5cbdf8=>{const _0x16b740=_0x2ad629;let _0x1f6b80=_0x1b4b80[_0x5cbdf8];if('*'===_0x1f6b80)return;let _0x5b1f7c=_0x21f72b[_0x5cbdf8]||'';ValueUtil[_0x16b740(0x19f)](_0x1f6b80)?ValueUtil[_0x16b740(0x1a7)](_0x5b1f7c)&&(_0x214581=!0x1):_0x1f6b80!=_0x5b1f7c&&(_0x214581=!0x1);}),_0x214581;}static[a0_0x47dd65(0x19a)](_0x364f46,_0x2dab5c,_0x4c69db,_0x13b4e3){const _0x3b9fd9=a0_0x47dd65;let _0xe53c5b=ValueUtil[_0x3b9fd9(0x1aa)](_0x2dab5c,_0x4c69db);return ValueUtil['isNotEmpty'](_0xe53c5b)&&(_0x364f46[_0x4c69db]=!0x0===_0x13b4e3?TermsUtil['t'](_0xe53c5b):_0xe53c5b),_0x364f46;}static[a0_0x47dd65(0x1aa)](_0x2b8c15,..._0x41d490){const _0x406fd0=a0_0x47dd65;if(arguments[_0x406fd0(0x19c)]<=0x1)return;let _0x5909c1=_0x41d490[0x0];if(ValueUtil[_0x406fd0(0x19f)](_0x2b8c15[_0x5909c1]))return;let _0x497ab4=_0x2b8c15[_0x5909c1];return _0x41d490[_0x406fd0(0x19c)]>0x1?ValueUtil[_0x406fd0(0x1aa)](_0x497ab4,..._0x41d490['slice'](0x1)):_0x497ab4;}static[a0_0x47dd65(0x198)](_0x36ec13,_0x370e25,..._0x58fd69){const _0x404ddd=a0_0x47dd65;return _0x370e25=_0x370e25||[],_0x58fd69=_0x58fd69||Object[_0x404ddd(0x1a9)](_0x36ec13),ValueUtil[_0x404ddd(0x1a7)](_0x58fd69)&&(_0x370e25=_0x36ec13[_0x404ddd(0x1a5)]((_0x648820,_0x13ed66)=>{const _0x4bb559=_0x404ddd;let _0x28e2dd=_0x370e25[_0x4bb559(0x19c)]>_0x13ed66?_0x370e25[_0x13ed66]:{};return ValueUtil[_0x4bb559(0x196)](_0x648820,_0x28e2dd,_0x58fd69);})),_0x370e25;}static[a0_0x47dd65(0x196)](_0xd0a9d,_0x2926a9,..._0x59f5c7){const _0x59cee6=a0_0x47dd65;return _0x2926a9=_0x2926a9||{},_0x59f5c7=_0x59f5c7||Object[_0x59cee6(0x1a9)](_0xd0a9d),ValueUtil['isNotEmpty'](_0x59f5c7)&&_0x59f5c7[_0x59cee6(0x1a3)](_0x5c8946=>{_0x2926a9[_0x5c8946]=_0xd0a9d[_0x5c8946];}),_0x2926a9;}}
@@ -1,4 +1,4 @@
1
- (function(_0x5476dd,_0x9e1a5d){const _0x174203=a0_0x12d0,_0xc51513=_0x5476dd();while(!![]){try{const _0x2fc44c=-parseInt(_0x174203(0x91))/0x1*(-parseInt(_0x174203(0x88))/0x2)+-parseInt(_0x174203(0x8b))/0x3+-parseInt(_0x174203(0x8a))/0x4*(parseInt(_0x174203(0x8e))/0x5)+parseInt(_0x174203(0x8d))/0x6+parseInt(_0x174203(0x89))/0x7*(parseInt(_0x174203(0x87))/0x8)+-parseInt(_0x174203(0x90))/0x9+parseInt(_0x174203(0x8c))/0xa*(parseInt(_0x174203(0x8f))/0xb);if(_0x2fc44c===_0x9e1a5d)break;else _0xc51513['push'](_0xc51513['shift']());}catch(_0x2d45f4){_0xc51513['push'](_0xc51513['shift']());}}}(a0_0x41de,0xd9f8e));function a0_0x12d0(_0x54f268,_0xbb6765){const _0x41deb2=a0_0x41de();return a0_0x12d0=function(_0x12d050,_0x150b9e){_0x12d050=_0x12d050-0x87;let _0x2fdbbc=_0x41deb2[_0x12d050];return _0x2fdbbc;},a0_0x12d0(_0x54f268,_0xbb6765);}import{css}from'lit';export const DynamicMenuLandscapeStyles=css`
1
+ (function(_0x37099f,_0x46b688){const _0x60fc24=a0_0x35e0,_0x4f7de5=_0x37099f();while(!![]){try{const _0x2b22e1=-parseInt(_0x60fc24(0x169))/0x1*(parseInt(_0x60fc24(0x16a))/0x2)+parseInt(_0x60fc24(0x16e))/0x3*(-parseInt(_0x60fc24(0x16d))/0x4)+parseInt(_0x60fc24(0x170))/0x5+-parseInt(_0x60fc24(0x171))/0x6+-parseInt(_0x60fc24(0x16b))/0x7+-parseInt(_0x60fc24(0x16f))/0x8*(parseInt(_0x60fc24(0x172))/0x9)+parseInt(_0x60fc24(0x173))/0xa*(parseInt(_0x60fc24(0x16c))/0xb);if(_0x2b22e1===_0x46b688)break;else _0x4f7de5['push'](_0x4f7de5['shift']());}catch(_0x1bda42){_0x4f7de5['push'](_0x4f7de5['shift']());}}}(a0_0x44b2,0x8bc21));function a0_0x35e0(_0x2ebd46,_0x420136){const _0x44b242=a0_0x44b2();return a0_0x35e0=function(_0x35e079,_0x277fc9){_0x35e079=_0x35e079-0x169;let _0xdcb794=_0x44b242[_0x35e079];return _0xdcb794;},a0_0x35e0(_0x2ebd46,_0x420136);}import{css}from'lit';export const DynamicMenuLandscapeStyles=css`
2
2
  :host {
3
3
  overflow-x: auto;
4
4
  background-color: var(--secondary-text-color);
@@ -144,4 +144,4 @@
144
144
  background-color: rgba(var(--secondary-color-rgb), 0.3);
145
145
  }
146
146
  }
147
- `;function a0_0x41de(){const _0x477b22=['2eByCyX','21bGjVzi','4batawl','3834504kmqlhL','970AGQyZy','1764294wUmDUW','4237940MfbMea','170665PuXOke','5192892TviDKa','1303228YSWEEu','1315536nStUZF'];a0_0x41de=function(){return _0x477b22;};return a0_0x41de();}
147
+ `;function a0_0x44b2(){const _0x17a723=['180aeSUPu','1EtigHK','1586562HeYZSh','2862860nfsSnu','1449327GXrhGE','112PCFzhr','1002eaOyoP','4504xrspZg','2662860obevJj','6001302UTfwui','1917iJofIS'];a0_0x44b2=function(){return _0x17a723;};return a0_0x44b2();}
@@ -1,25 +1,25 @@
1
- function a0_0x218d(){const _0x3ca43f=['417665bxopsU','renderRoot','target','scrollLeft','properties','href','97404fdWfOP','activeTopLevel','max','click','2718rbrUjQ','styles','6zqFEdx','664204sZwpvA','settled','icon','currentTarget','addEventListener','dynamic-menu-landscape','submenu','map','bind','wheelDelta','path','11770QtBnWU','description','mousewheel','dispatchEvent','querySelector','detail','161bQPaHV','preventDefault','7935147qllJBn','min','4853568NFixei','group','menus','transitionstart','#force','stopPropagation','firstUpdated','7575wSmlfL','onWheelEvent','define','688CsNNAA'];a0_0x218d=function(){return _0x3ca43f;};return a0_0x218d();}const a0_0x4bb5e3=a0_0x3392;(function(_0x2f6fee,_0x908cc2){const _0x58c2c8=a0_0x3392,_0x495006=_0x2f6fee();while(!![]){try{const _0x1e1690=parseInt(_0x58c2c8(0x1cb))/0x1+-parseInt(_0x58c2c8(0x1d8))/0x2*(parseInt(_0x58c2c8(0x1d7))/0x3)+parseInt(_0x58c2c8(0x1ca))/0x4*(-parseInt(_0x58c2c8(0x1c7))/0x5)+-parseInt(_0x58c2c8(0x1d1))/0x6*(-parseInt(_0x58c2c8(0x1bc))/0x7)+-parseInt(_0x58c2c8(0x1c0))/0x8+parseInt(_0x58c2c8(0x1d5))/0x9*(parseInt(_0x58c2c8(0x1b6))/0xa)+parseInt(_0x58c2c8(0x1be))/0xb;if(_0x1e1690===_0x908cc2)break;else _0x495006['push'](_0x495006['shift']());}catch(_0x2bb4c3){_0x495006['push'](_0x495006['shift']());}}}(a0_0x218d,0x5220e));import'@material/mwc-icon';function a0_0x3392(_0x4aff3d,_0x2633be){const _0x218dc5=a0_0x218d();return a0_0x3392=function(_0x33928c,_0x5a647c){_0x33928c=_0x33928c-0x1b4;let _0x166ccd=_0x218dc5[_0x33928c];return _0x166ccd;},a0_0x3392(_0x4aff3d,_0x2633be);}import{html,LitElement}from'lit';import{connect}from'pwa-helpers';import{navigate,store}from'@operato/shell';import{ScrollbarStyles}from'@operato/styles';import{DynamicMenuLandscapeStyles}from'./dynamic-menu-landscape-styles';export class DynamicMenuLandscape extends connect(store)(LitElement){static get[a0_0x4bb5e3(0x1d6)](){return[ScrollbarStyles,DynamicMenuLandscapeStyles];}static get[a0_0x4bb5e3(0x1cf)](){return{'menus':Array,'activeTopLevel':Object,'activeMenu':Object,'path':String};}['render'](){const _0x17baf4=a0_0x4bb5e3,{menus:_0x3af97a=[],activeTopLevel:_0x361741,activeMenu:_0x53ab61}=this;return html`
1
+ const a0_0x33e50f=a0_0x6651;(function(_0x4672c8,_0x9863ed){const _0x4e6a78=a0_0x6651,_0x1701fb=_0x4672c8();while(!![]){try{const _0x4b3a88=parseInt(_0x4e6a78(0x9a))/0x1*(-parseInt(_0x4e6a78(0xa7))/0x2)+parseInt(_0x4e6a78(0x91))/0x3+parseInt(_0x4e6a78(0x8f))/0x4+-parseInt(_0x4e6a78(0x8d))/0x5*(parseInt(_0x4e6a78(0xa5))/0x6)+-parseInt(_0x4e6a78(0x90))/0x7+-parseInt(_0x4e6a78(0xab))/0x8+-parseInt(_0x4e6a78(0x88))/0x9*(-parseInt(_0x4e6a78(0x9e))/0xa);if(_0x4b3a88===_0x9863ed)break;else _0x1701fb['push'](_0x1701fb['shift']());}catch(_0x162d9b){_0x1701fb['push'](_0x1701fb['shift']());}}}(a0_0x50eb,0xe5c69));function a0_0x6651(_0xacde8b,_0x34a36a){const _0x50eb9d=a0_0x50eb();return a0_0x6651=function(_0x665145,_0x182db2){_0x665145=_0x665145-0x86;let _0x516233=_0x50eb9d[_0x665145];return _0x516233;},a0_0x6651(_0xacde8b,_0x34a36a);}import'@material/mwc-icon';import{html,LitElement}from'lit';function a0_0x50eb(){const _0x165437=['renderRoot','currentTarget','dynamic-menu-landscape','properties','5IiAqPR','mousewheel','6339808OadLku','4154003rBAeqE','2062614VIPAQN','render','querySelector','stopPropagation','menus','transitionend','onWheelEvent','icon','path','1FXvPFz','submenu','group','map','37346090IfNymK','#wrap','click','name','target','detail','max','9289986nUgXUj','#force','3346978KQAgAC','addEventListener','dispatchEvent','define','10005512wFihjY','href','preventDefault','firstUpdated','min','scrollLeft','9BvMoJn'];a0_0x50eb=function(){return _0x165437;};return a0_0x50eb();}import{connect}from'pwa-helpers';import{navigate,store}from'@operato/shell';import{ScrollbarStyles}from'@operato/styles';import{DynamicMenuLandscapeStyles}from'./dynamic-menu-landscape-styles';export class DynamicMenuLandscape extends connect(store)(LitElement){static get['styles'](){return[ScrollbarStyles,DynamicMenuLandscapeStyles];}static get[a0_0x33e50f(0x8c)](){return{'menus':Array,'activeTopLevel':Object,'activeMenu':Object,'path':String};}[a0_0x33e50f(0x92)](){const _0x8f9515=a0_0x33e50f,{menus:_0x2c827b=[],activeTopLevel:_0x207bed,activeMenu:_0x3cff10}=this;return html`
2
2
  <div id="wrap">
3
3
  <ul>
4
- ${_0x3af97a[_0x17baf4(0x1df)](_0x583d19=>_0x17baf4(0x1c1)==_0x583d19['type']?html``:html`
5
- <li ?active=${_0x583d19===_0x361741}>
6
- <a href=${_0x583d19[_0x17baf4(0x1b5)]||'#'}>
7
- ${_0x583d19['icon']?html`<mwc-icon>${_0x583d19[_0x17baf4(0x1da)]}</mwc-icon>`:html``} ${_0x583d19['name']}
4
+ ${_0x2c827b[_0x8f9515(0x9d)](_0x2e5fd9=>_0x8f9515(0x9c)==_0x2e5fd9['type']?html``:html`
5
+ <li ?active=${_0x2e5fd9===_0x207bed}>
6
+ <a href=${_0x2e5fd9[_0x8f9515(0x99)]||'#'}>
7
+ ${_0x2e5fd9[_0x8f9515(0x98)]?html`<mwc-icon>${_0x2e5fd9[_0x8f9515(0x98)]}</mwc-icon>`:html``} ${_0x2e5fd9[_0x8f9515(0xa1)]}
8
8
  </a>
9
9
 
10
10
  <ul submenus>
11
- ${_0x583d19[_0x17baf4(0x1c2)]?.['map'](_0x5cef7a=>html`
12
- <li ?active=${_0x5cef7a===_0x53ab61}>
13
- <a href=${_0x5cef7a[_0x17baf4(0x1b5)]||'#'}> ${_0x5cef7a['name']} </a>
11
+ ${_0x2e5fd9[_0x8f9515(0x95)]?.['map'](_0x2559b5=>html`
12
+ <li ?active=${_0x2559b5===_0x3cff10}>
13
+ <a href=${_0x2559b5['path']||'#'}> ${_0x2559b5['name']} </a>
14
14
  </li>
15
15
  `)}
16
16
  </ul>
17
17
 
18
18
  <div description>
19
- ${_0x583d19[_0x17baf4(0x1da)]?html`<mwc-icon>${_0x583d19['icon']}</mwc-icon>`:html``} ${_0x583d19[_0x17baf4(0x1b7)]||''}
19
+ ${_0x2e5fd9['icon']?html`<mwc-icon>${_0x2e5fd9[_0x8f9515(0x98)]}</mwc-icon>`:html``} ${_0x2e5fd9['description']||''}
20
20
  </div>
21
21
  </li>
22
22
  `)}
23
23
  </ul>
24
24
  </div>
25
- `;}[a0_0x4bb5e3(0x1c6)](){const _0x8e0563=a0_0x4bb5e3;this['renderRoot'][_0x8e0563(0x1ba)]('#wrap')[_0x8e0563(0x1dc)](_0x8e0563(0x1b8),this[_0x8e0563(0x1c8)][_0x8e0563(0x1e0)](this),!0x1),this[_0x8e0563(0x1cc)][_0x8e0563(0x1dc)](_0x8e0563(0x1d4),_0xdbd69d=>{const _0x37b760=_0x8e0563;if(_0xdbd69d[_0x37b760(0x1cd)][_0x37b760(0x1de)]){_0xdbd69d[_0x37b760(0x1c5)](),_0xdbd69d[_0x37b760(0x1bd)]();let _0x333675=_0xdbd69d[_0x37b760(0x1cd)][_0x37b760(0x1de)];return void this[_0x37b760(0x1b9)](new CustomEvent('active-toplevel',{'bubbles':!0x0,'detail':this[_0x37b760(0x1d2)]===_0x333675?void 0x0:_0x333675}));}let _0x259362=_0xdbd69d['target']['href'];_0x259362&&location[_0x37b760(0x1d0)]===_0x259362&&navigate(_0x259362+_0x37b760(0x1c4),!0x0);}),this[_0x8e0563(0x1cc)][_0x8e0563(0x1dc)](_0x8e0563(0x1c3),_0x4a162a=>{const _0x42d1ca=_0x8e0563;_0x4a162a[_0x42d1ca(0x1cd)]['removeAttribute']('settled');}),this['renderRoot'][_0x8e0563(0x1dc)]('transitionend',_0xd49439=>{const _0x2be4b9=_0x8e0563;_0xd49439[_0x2be4b9(0x1cd)]['setAttribute'](_0x2be4b9(0x1d9),'');});}[a0_0x4bb5e3(0x1c8)](_0x5bbd00){const _0x59d21e=a0_0x4bb5e3,_0x1a6cb0=_0x5bbd00[_0x59d21e(0x1db)];var _0x3df755=Math[_0x59d21e(0x1d3)](-0x1,Math[_0x59d21e(0x1bf)](0x1,_0x5bbd00[_0x59d21e(0x1b4)]||-_0x5bbd00[_0x59d21e(0x1bb)]));_0x1a6cb0[_0x59d21e(0x1ce)]-=0xa*_0x3df755,_0x5bbd00['preventDefault']();}}customElements[a0_0x4bb5e3(0x1c9)](a0_0x4bb5e3(0x1dd),DynamicMenuLandscape);
25
+ `;}[a0_0x33e50f(0xae)](){const _0x134924=a0_0x33e50f;this[_0x134924(0x89)][_0x134924(0x93)](_0x134924(0x9f))[_0x134924(0xa8)](_0x134924(0x8e),this[_0x134924(0x97)]['bind'](this),!0x1),this[_0x134924(0x89)][_0x134924(0xa8)](_0x134924(0xa0),_0x4592c3=>{const _0x56b0fc=_0x134924;if(_0x4592c3['target']['submenu']){_0x4592c3[_0x56b0fc(0x94)](),_0x4592c3[_0x56b0fc(0xad)]();let _0x34bc2c=_0x4592c3['target'][_0x56b0fc(0x9b)];return void this[_0x56b0fc(0xa9)](new CustomEvent('active-toplevel',{'bubbles':!0x0,'detail':this['activeTopLevel']===_0x34bc2c?void 0x0:_0x34bc2c}));}let _0x4ca5b3=_0x4592c3[_0x56b0fc(0xa2)]['href'];_0x4ca5b3&&location[_0x56b0fc(0xac)]===_0x4ca5b3&&navigate(_0x4ca5b3+_0x56b0fc(0xa6),!0x0);}),this[_0x134924(0x89)][_0x134924(0xa8)]('transitionstart',_0x51bdb1=>{const _0x3e971d=_0x134924;_0x51bdb1[_0x3e971d(0xa2)]['removeAttribute']('settled');}),this[_0x134924(0x89)]['addEventListener'](_0x134924(0x96),_0x5c96e5=>{const _0x3eea75=_0x134924;_0x5c96e5[_0x3eea75(0xa2)]['setAttribute']('settled','');});}['onWheelEvent'](_0x1e9ff6){const _0x57cc52=a0_0x33e50f,_0x7d7c6a=_0x1e9ff6[_0x57cc52(0x8a)];var _0x365091=Math[_0x57cc52(0xa4)](-0x1,Math[_0x57cc52(0x86)](0x1,_0x1e9ff6['wheelDelta']||-_0x1e9ff6[_0x57cc52(0xa3)]));_0x7d7c6a[_0x57cc52(0x87)]-=0xa*_0x365091,_0x1e9ff6[_0x57cc52(0xad)]();}}customElements[a0_0x33e50f(0xaa)](a0_0x33e50f(0x8b),DynamicMenuLandscape);
@@ -1,4 +1,4 @@
1
- function a0_0x6b2a(){var _0x15c2bc=['replaceChild','orientation','active','call','2404792EdlWSJ','menus','26144110ChWFAG','define','has','_findActivePage','portrait','renderRoot','setAttribute','landscape','find','14eMUtsH','568925KeFBVr','updated','metaUI','_activeTopLevel','52izvyet','slotTemplate','page','27QDverC','detail','227672XKzqHo','split','preventDefault','528779CXUjMm','removeAttribute','_path','firstUpdated','properties','route','2577048KRYwHy','function','dynamic-menu-part','active-toplevel','path','stateChanged','1738563QHRvWs','resourceId','stopPropagation'];a0_0x6b2a=function(){return _0x15c2bc;};return a0_0x6b2a();}var a0_0x9f359c=a0_0x2a1e;(function(_0x13de7c,_0x1e4a1c){var _0x2b28ef=a0_0x2a1e,_0x246a2e=_0x13de7c();while(!![]){try{var _0x345a96=parseInt(_0x2b28ef(0x209))/0x1+parseInt(_0x2b28ef(0x1f1))/0x2+-parseInt(_0x2b28ef(0x1ea))/0x3+-parseInt(_0x2b28ef(0x201))/0x4*(-parseInt(_0x2b28ef(0x1fd))/0x5)+parseInt(_0x2b28ef(0x20f))/0x6*(parseInt(_0x2b28ef(0x1fc))/0x7)+parseInt(_0x2b28ef(0x206))/0x8*(-parseInt(_0x2b28ef(0x204))/0x9)+-parseInt(_0x2b28ef(0x1f3))/0xa;if(_0x345a96===_0x1e4a1c)break;else _0x246a2e['push'](_0x246a2e['shift']());}catch(_0x4ef7c2){_0x246a2e['push'](_0x246a2e['shift']());}}}(a0_0x6b2a,0xc0e47));import'@material/mwc-icon';import'./dynamic-menu-portrait';function a0_0x2a1e(_0x37bfd2,_0x2382ab){var _0x6b2a61=a0_0x6b2a();return a0_0x2a1e=function(_0x2a1e1d,_0x21cb34){_0x2a1e1d=_0x2a1e1d-0x1e7;var _0x407799=_0x6b2a61[_0x2a1e1d];return _0x407799;},a0_0x2a1e(_0x37bfd2,_0x2382ab);}import'./dynamic-menu-landscape';import{css,html,LitElement}from'lit';import{connect}from'pwa-helpers';import{store}from'@operato/shell';import{ScrollbarStyles}from'@operato/styles';function isActiveMenu(_0x4069a1,_0x4d59c4){var _0x24e145=a0_0x2a1e;return _0x4069a1[_0x24e145(0x1e8)]?.[_0x24e145(0x207)]('?')[0x0]===_0x4d59c4||_0x4069a1[_0x24e145(0x1ef)]&&_0x24e145(0x210)==typeof _0x4069a1['active']&&_0x4069a1[_0x24e145(0x1ef)][_0x24e145(0x1f0)](_0x4069a1,{'path':_0x4d59c4});}export class DynamicMenuPart extends connect(store)(LitElement){static get[a0_0x9f359c(0x20d)](){return{'page':String,'resourceId':String,'menus':Array,'orientation':String,'_activeTopLevel':Object,'_activeMenu':Object,'_path':String};}static get['styles'](){return[ScrollbarStyles,css`
1
+ var a0_0x34a81d=a0_0x1c20;(function(_0x208eaf,_0x3a82c7){var _0xee3a50=a0_0x1c20,_0x3dc102=_0x208eaf();while(!![]){try{var _0x2e696d=parseInt(_0xee3a50(0x1d9))/0x1*(parseInt(_0xee3a50(0x1dc))/0x2)+parseInt(_0xee3a50(0x1c0))/0x3*(-parseInt(_0xee3a50(0x1c7))/0x4)+-parseInt(_0xee3a50(0x1b9))/0x5*(parseInt(_0xee3a50(0x1c5))/0x6)+-parseInt(_0xee3a50(0x1d0))/0x7*(parseInt(_0xee3a50(0x1d6))/0x8)+-parseInt(_0xee3a50(0x1bc))/0x9*(-parseInt(_0xee3a50(0x1da))/0xa)+parseInt(_0xee3a50(0x1d7))/0xb*(-parseInt(_0xee3a50(0x1d4))/0xc)+parseInt(_0xee3a50(0x1d1))/0xd;if(_0x2e696d===_0x3a82c7)break;else _0x3dc102['push'](_0x3dc102['shift']());}catch(_0x1cabb){_0x3dc102['push'](_0x3dc102['shift']());}}}(a0_0x4491,0x98294));import'@material/mwc-icon';import'./dynamic-menu-portrait';function a0_0x4491(){var _0x4ddcb8=['properties','updated','stopPropagation','7PyeomI','24818677aUptnn','menus','dynamic-menu-part','444JMhpIY','addEventListener','4240312ZqXkhp','253627OwMPhE','define','163474HKLnSl','990TQvFFL','landscape','2ZRvkvZ','_path','detail','route','slotTemplate','path','setAttribute','has','styles','portrait','preventDefault','15VCugsg','stateChanged','firstUpdated','97659lvccXW','page','orientation','function','3MeDjJj','active','_activeTopLevel','renderRoot','render','2174286VAszou','_findActivePage','213236mQaBnk','find','resourceId','call','active-toplevel','_activeMenu'];a0_0x4491=function(){return _0x4ddcb8;};return a0_0x4491();}import'./dynamic-menu-landscape';import{css,html,LitElement}from'lit';import{connect}from'pwa-helpers';import{store}from'@operato/shell';function a0_0x1c20(_0x5a5d68,_0x4e86fe){var _0x44919e=a0_0x4491();return a0_0x1c20=function(_0x1c2056,_0x386b25){_0x1c2056=_0x1c2056-0x1b5;var _0x40f147=_0x44919e[_0x1c2056];return _0x40f147;},a0_0x1c20(_0x5a5d68,_0x4e86fe);}import{ScrollbarStyles}from'@operato/styles';function isActiveMenu(_0x412268,_0x32c700){var _0x459962=a0_0x1c20;return _0x412268[_0x459962(0x1e1)]?.['split']('?')[0x0]===_0x32c700||_0x412268[_0x459962(0x1c1)]&&_0x459962(0x1bf)==typeof _0x412268[_0x459962(0x1c1)]&&_0x412268[_0x459962(0x1c1)][_0x459962(0x1ca)](_0x412268,{'path':_0x32c700});}export class DynamicMenuPart extends connect(store)(LitElement){static get[a0_0x34a81d(0x1cd)](){return{'page':String,'resourceId':String,'menus':Array,'orientation':String,'_activeTopLevel':Object,'_activeMenu':Object,'_path':String};}static get[a0_0x34a81d(0x1b6)](){return[ScrollbarStyles,css`
2
2
  :host {
3
3
  display: flex;
4
4
  overflow-y: auto;
@@ -27,18 +27,18 @@ function a0_0x6b2a(){var _0x15c2bc=['replaceChild','orientation','active','call'
27
27
  dynamic-menu-landscape {
28
28
  flex: 1;
29
29
  }
30
- `];}['render'](){var _0x42088d=a0_0x9f359c;return html`
30
+ `];}[a0_0x34a81d(0x1c4)](){var _0x57ad07=a0_0x34a81d;return html`
31
31
  <slot name="head"></slot>
32
- ${_0x42088d(0x1fa)!==this[_0x42088d(0x1ee)]?html`<dynamic-menu-portrait
33
- .menus=${this[_0x42088d(0x1f2)]}
34
- .activeTopLevel=${this[_0x42088d(0x200)]}
35
- .activeMenu=${this['_activeMenu']}
36
- .path=${this[_0x42088d(0x20b)]}
32
+ ${_0x57ad07(0x1db)!==this[_0x57ad07(0x1be)]?html`<dynamic-menu-portrait
33
+ .menus=${this[_0x57ad07(0x1d2)]}
34
+ .activeTopLevel=${this['_activeTopLevel']}
35
+ .activeMenu=${this[_0x57ad07(0x1cc)]}
36
+ .path=${this[_0x57ad07(0x1dd)]}
37
37
  ></dynamic-menu-portrait>`:html`<dynamic-menu-landscape
38
38
  .menus=${this['menus']}
39
- .activeTopLevel=${this[_0x42088d(0x200)]}
40
- .activeMenu=${this['_activeMenu']}
41
- .path=${this['_path']}
39
+ .activeTopLevel=${this[_0x57ad07(0x1c2)]}
40
+ .activeMenu=${this[_0x57ad07(0x1cc)]}
41
+ .path=${this[_0x57ad07(0x1dd)]}
42
42
  ></dynamic-menu-landscape>`}
43
43
  <slot name="tail"></slot>
44
- `;}[a0_0x9f359c(0x20c)](){var _0x5c3a40=a0_0x9f359c;this[_0x5c3a40(0x1f8)]['addEventListener'](_0x5c3a40(0x1e7),_0x62efba=>{var _0x30966=_0x5c3a40;_0x62efba[_0x30966(0x1ec)](),_0x62efba[_0x30966(0x208)](),this[_0x30966(0x200)]=_0x62efba[_0x30966(0x205)];});}[a0_0x9f359c(0x1fe)](_0x55aaa0){var _0x24af54=a0_0x9f359c;(_0x55aaa0['has']('menus')||_0x55aaa0['has'](_0x24af54(0x203))||_0x55aaa0[_0x24af54(0x1f5)]('resourceId'))&&this['_findActivePage'](),_0x55aaa0['has'](_0x24af54(0x1ee))&&(_0x24af54(0x1f7)==this[_0x24af54(0x1ee)]?this[_0x24af54(0x20a)]('landscape'):this[_0x24af54(0x1f9)](_0x24af54(0x1fa),!0x0)),_0x55aaa0[_0x24af54(0x1f5)](_0x24af54(0x202))&&this[_0x24af54(0x1ed)](this[_0x24af54(0x202)]);}[a0_0x9f359c(0x1e9)](_0x550574){var _0x43c284=a0_0x9f359c;this[_0x43c284(0x203)]=_0x550574[_0x43c284(0x20e)]['page'],this[_0x43c284(0x1eb)]=_0x550574[_0x43c284(0x20e)][_0x43c284(0x1eb)],this[_0x43c284(0x1f2)]=_0x550574[_0x43c284(0x1ff)][_0x43c284(0x1f2)]||[],this[_0x43c284(0x202)]=_0x550574[_0x43c284(0x1ff)][_0x43c284(0x202)];}[a0_0x9f359c(0x1f6)](){var _0x385396=a0_0x9f359c,_0x1a1b11,_0x1a0996=this[_0x385396(0x1eb)]?this[_0x385396(0x203)]+'/'+this['resourceId']:this[_0x385396(0x203)],_0x351c1e=this[_0x385396(0x1f2)]||[];this[_0x385396(0x200)]=_0x351c1e[_0x385396(0x1fb)](_0x47795d=>isActiveMenu(_0x47795d,_0x1a0996)?(_0x1a1b11=_0x47795d,!0x0):_0x47795d['menus']?!!(_0x1a1b11=_0x47795d[_0x385396(0x1f2)][_0x385396(0x1fb)](_0x4cf12e=>isActiveMenu(_0x4cf12e,_0x1a0996))):void 0x0),this['_path']=_0x1a0996,this['_activeMenu']=_0x1a1b11||this[_0x385396(0x200)];}}customElements[a0_0x9f359c(0x1f4)](a0_0x9f359c(0x211),DynamicMenuPart);
44
+ `;}[a0_0x34a81d(0x1bb)](){var _0x29cdf6=a0_0x34a81d;this[_0x29cdf6(0x1c3)][_0x29cdf6(0x1d5)](_0x29cdf6(0x1cb),_0x48f592=>{var _0x12971b=_0x29cdf6;_0x48f592[_0x12971b(0x1cf)](),_0x48f592[_0x12971b(0x1b8)](),this['_activeTopLevel']=_0x48f592[_0x12971b(0x1de)];});}[a0_0x34a81d(0x1ce)](_0x1d978c){var _0x211a94=a0_0x34a81d;(_0x1d978c[_0x211a94(0x1b5)]('menus')||_0x1d978c[_0x211a94(0x1b5)](_0x211a94(0x1bd))||_0x1d978c['has']('resourceId'))&&this[_0x211a94(0x1c6)](),_0x1d978c[_0x211a94(0x1b5)]('orientation')&&(_0x211a94(0x1b7)==this['orientation']?this['removeAttribute']('landscape'):this[_0x211a94(0x1e2)]('landscape',!0x0)),_0x1d978c[_0x211a94(0x1b5)]('slotTemplate')&&this['replaceChild'](this[_0x211a94(0x1e0)]);}[a0_0x34a81d(0x1ba)](_0x5b0f1e){var _0x1bf955=a0_0x34a81d;this[_0x1bf955(0x1bd)]=_0x5b0f1e[_0x1bf955(0x1df)][_0x1bf955(0x1bd)],this[_0x1bf955(0x1c9)]=_0x5b0f1e['route']['resourceId'],this[_0x1bf955(0x1d2)]=_0x5b0f1e['metaUI']['menus']||[],this[_0x1bf955(0x1e0)]=_0x5b0f1e['metaUI']['slotTemplate'];}[a0_0x34a81d(0x1c6)](){var _0x42f4e7=a0_0x34a81d,_0x516c5a,_0x44d8f6=this[_0x42f4e7(0x1c9)]?this[_0x42f4e7(0x1bd)]+'/'+this[_0x42f4e7(0x1c9)]:this['page'],_0x59653a=this[_0x42f4e7(0x1d2)]||[];this['_activeTopLevel']=_0x59653a[_0x42f4e7(0x1c8)](_0x5fd800=>isActiveMenu(_0x5fd800,_0x44d8f6)?(_0x516c5a=_0x5fd800,!0x0):_0x5fd800['menus']?!!(_0x516c5a=_0x5fd800[_0x42f4e7(0x1d2)][_0x42f4e7(0x1c8)](_0x24509f=>isActiveMenu(_0x24509f,_0x44d8f6))):void 0x0),this['_path']=_0x44d8f6,this[_0x42f4e7(0x1cc)]=_0x516c5a||this['_activeTopLevel'];}}customElements[a0_0x34a81d(0x1d8)](a0_0x34a81d(0x1d3),DynamicMenuPart);
@@ -1,4 +1,4 @@
1
- (function(_0x213a08,_0x334b0c){const _0x52fa73=a0_0x5851,_0x1ea0e5=_0x213a08();while(!![]){try{const _0x36299e=parseInt(_0x52fa73(0x1de))/0x1+-parseInt(_0x52fa73(0x1e0))/0x2*(parseInt(_0x52fa73(0x1e7))/0x3)+-parseInt(_0x52fa73(0x1dd))/0x4+-parseInt(_0x52fa73(0x1dc))/0x5*(parseInt(_0x52fa73(0x1df))/0x6)+parseInt(_0x52fa73(0x1e6))/0x7*(-parseInt(_0x52fa73(0x1e5))/0x8)+-parseInt(_0x52fa73(0x1e3))/0x9*(parseInt(_0x52fa73(0x1e1))/0xa)+-parseInt(_0x52fa73(0x1e4))/0xb*(-parseInt(_0x52fa73(0x1e2))/0xc);if(_0x36299e===_0x334b0c)break;else _0x1ea0e5['push'](_0x1ea0e5['shift']());}catch(_0x1554dc){_0x1ea0e5['push'](_0x1ea0e5['shift']());}}}(a0_0x3ce3,0x77cf4));function a0_0x3ce3(){const _0xef4fb5=['2XdnFFZ','135510fnyybK','3189672uSWIvp','495liQTHH','88hfuQuT','8MdfQPq','368767avPqAY','952728AveaGQ','55VIaWNJ','2068608MDafSt','609893Sywipw','334302nNJkCh'];a0_0x3ce3=function(){return _0xef4fb5;};return a0_0x3ce3();}import{css}from'lit';function a0_0x5851(_0x3fa6e8,_0x58ea73){const _0x3ce363=a0_0x3ce3();return a0_0x5851=function(_0x58519c,_0x73c78c){_0x58519c=_0x58519c-0x1dc;let _0x13ae37=_0x3ce363[_0x58519c];return _0x13ae37;},a0_0x5851(_0x3fa6e8,_0x58ea73);}export const DynamicMenuPortraitStyles=css`
1
+ function a0_0x406e(){const _0x55afbb=['3722208zQJuXE','460TsVieR','1590hsqCIF','3058279tQxhNx','916228oAkXkq','42xfSmag','2626570hFPyut','468435vJeLsO','126738hslVNJ','6nFMuVq'];a0_0x406e=function(){return _0x55afbb;};return a0_0x406e();}(function(_0x1f39ad,_0x508a8b){const _0x5cd1bc=a0_0x3e16,_0x3752a8=_0x1f39ad();while(!![]){try{const _0x1803e5=-parseInt(_0x5cd1bc(0xe4))/0x1+-parseInt(_0x5cd1bc(0xe8))/0x2*(parseInt(_0x5cd1bc(0xe2))/0x3)+parseInt(_0x5cd1bc(0xe1))/0x4+-parseInt(_0x5cd1bc(0xe3))/0x5+-parseInt(_0x5cd1bc(0xe6))/0x6*(parseInt(_0x5cd1bc(0xe0))/0x7)+-parseInt(_0x5cd1bc(0xe7))/0x8+parseInt(_0x5cd1bc(0xe5))/0x9*(parseInt(_0x5cd1bc(0xdf))/0xa);if(_0x1803e5===_0x508a8b)break;else _0x3752a8['push'](_0x3752a8['shift']());}catch(_0x2e6679){_0x3752a8['push'](_0x3752a8['shift']());}}}(a0_0x406e,0x8ae79));function a0_0x3e16(_0x2bd82e,_0x418ced){const _0x406e06=a0_0x406e();return a0_0x3e16=function(_0x3e168c,_0xd6644e){_0x3e168c=_0x3e168c-0xdf;let _0x4bc79a=_0x406e06[_0x3e168c];return _0x4bc79a;},a0_0x3e16(_0x2bd82e,_0x418ced);}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_0x180f41=a0_0x29a0;(function(_0xc93a52,_0x4d1518){const _0x4d9416=a0_0x29a0,_0x479567=_0xc93a52();while(!![]){try{const _0x40b409=parseInt(_0x4d9416(0x131))/0x1+parseInt(_0x4d9416(0x12f))/0x2+parseInt(_0x4d9416(0x141))/0x3*(parseInt(_0x4d9416(0x138))/0x4)+parseInt(_0x4d9416(0x12d))/0x5*(-parseInt(_0x4d9416(0x137))/0x6)+parseInt(_0x4d9416(0x130))/0x7+-parseInt(_0x4d9416(0x135))/0x8+parseInt(_0x4d9416(0x12b))/0x9;if(_0x40b409===_0x4d1518)break;else _0x479567['push'](_0x479567['shift']());}catch(_0x18da69){_0x479567['push'](_0x479567['shift']());}}}(a0_0x3a16,0x816a6));import'@material/mwc-icon';import{html,LitElement}from'lit';function a0_0x29a0(_0x437d26,_0xc943d2){const _0x3a16b0=a0_0x3a16();return a0_0x29a0=function(_0x29a0d1,_0x4c8102){_0x29a0d1=_0x29a0d1-0x127;let _0x4a0ab5=_0x3a16b0[_0x29a0d1];return _0x4a0ab5;},a0_0x29a0(_0x437d26,_0xc943d2);}import{navigate}from'@operato/shell';function a0_0x3a16(){const _0x16e3df=['54535FLcGsz','menu','1190264aroFYf','1941912iXyZAv','448662uwAWYI','styles','removeAttribute','transitionend','2214016dSiJxv','transitionstart','456ZOLmir','4nmkorD','preventDefault','activeTopLevel','[menu]','addEventListener','target','function','click','closest','158127rvrIsn','firstUpdated','map','dynamic-menu-portrait','settled','define','renderMenus','call','href','active-toplevel','renderRoot','properties','path','2356659rpDoaA','render'];a0_0x3a16=function(){return _0x16e3df;};return a0_0x3a16();}import{ScrollbarStyles}from'@operato/styles';import{DynamicMenuPortraitStyles}from'./dynamic-menu-portrait-styles';export class DynamicMenuPortrait extends LitElement{static get[a0_0x180f41(0x132)](){return[ScrollbarStyles,DynamicMenuPortraitStyles];}static get[a0_0x180f41(0x129)](){return{'menus':Array,'activeTopLevel':Object,'activeMenu':Object,'path':String};}['renderMenus'](_0x4b1500,_0x45cfc5,_0x39bb5f){const _0x1e0288=a0_0x180f41;return html`
1
+ const a0_0x46e4c8=a0_0x1ac6;(function(_0xff1c8e,_0x146657){const _0x199e48=a0_0x1ac6,_0x5ad25c=_0xff1c8e();while(!![]){try{const _0x2d99a8=parseInt(_0x199e48(0x19c))/0x1*(parseInt(_0x199e48(0x1a1))/0x2)+parseInt(_0x199e48(0x19d))/0x3*(parseInt(_0x199e48(0x19f))/0x4)+-parseInt(_0x199e48(0x1a0))/0x5*(-parseInt(_0x199e48(0x19e))/0x6)+parseInt(_0x199e48(0x194))/0x7+parseInt(_0x199e48(0x197))/0x8*(parseInt(_0x199e48(0x1b0))/0x9)+parseInt(_0x199e48(0x195))/0xa+parseInt(_0x199e48(0x1a9))/0xb*(-parseInt(_0x199e48(0x199))/0xc);if(_0x2d99a8===_0x146657)break;else _0x5ad25c['push'](_0x5ad25c['shift']());}catch(_0x2ff268){_0x5ad25c['push'](_0x5ad25c['shift']());}}}(a0_0x21e4,0xad814));import'@material/mwc-icon';import{html,LitElement}from'lit';import{navigate}from'@operato/shell';import{ScrollbarStyles}from'@operato/styles';import{DynamicMenuPortraitStyles}from'./dynamic-menu-portrait-styles';export class DynamicMenuPortrait extends LitElement{static get[a0_0x46e4c8(0x193)](){return[ScrollbarStyles,DynamicMenuPortraitStyles];}static get[a0_0x46e4c8(0x19a)](){return{'menus':Array,'activeTopLevel':Object,'activeMenu':Object,'path':String};}[a0_0x46e4c8(0x1ae)](_0x51c707,_0x22c2bc,_0x262f37){const _0x35bcb5=a0_0x46e4c8;return html`
2
2
  <ul>
3
- ${_0x4b1500[_0x1e0288(0x143)](_0xcb7297=>{const _0x930a61=_0x1e0288;var {type:_0x2ca4ab,active:_0x481684,path:_0x3dfbe7,name:_0xce5312,badge:_0x51698f,icon:_0x4d4ee0,menus:_0x463779}=_0xcb7297;return _0x481684=!(!_0x481684||_0x930a61(0x13e)!=typeof _0x481684)&&_0x481684[_0x930a61(0x148)](_0xcb7297,{'path':this[_0x930a61(0x12a)]}),_0x51698f=_0x930a61(0x13e)==typeof _0x51698f?_0x51698f['call'](_0xcb7297):_0x51698f??!0x1,'group'==_0x2ca4ab?html`<li group-label>${_0xce5312}</li>`:html`
4
- <li ?active=${_0x45cfc5?_0xcb7297===_0x45cfc5:_0x481684} .menu=${_0xcb7297} menu>
5
- <a href=${_0x3dfbe7||'#'}>
6
- ${_0x463779?.['length']>0x0?html` <mwc-icon submenu-button></mwc-icon> `:html``}
7
- <mwc-icon>${_0x4d4ee0}</mwc-icon>
8
- ${_0xce5312} ${!0x1!==_0x51698f?html`<div badge>${_0x51698f}</div>`:html``}
3
+ ${_0x51c707[_0x35bcb5(0x1ab)](_0x42dde5=>{const _0x48836b=_0x35bcb5;var {type:_0x179c91,active:_0x24d221,path:_0x5a1846,name:_0x1302f2,badge:_0x27df26,icon:_0x509a63,menus:_0x33a965}=_0x42dde5;return _0x24d221=!(!_0x24d221||_0x48836b(0x18c)!=typeof _0x24d221)&&_0x24d221['call'](_0x42dde5,{'path':this['path']}),_0x27df26=_0x48836b(0x18c)==typeof _0x27df26?_0x27df26[_0x48836b(0x190)](_0x42dde5):_0x27df26??!0x1,'group'==_0x179c91?html`<li group-label>${_0x1302f2}</li>`:html`
4
+ <li ?active=${_0x22c2bc?_0x42dde5===_0x22c2bc:_0x24d221} .menu=${_0x42dde5} menu>
5
+ <a href=${_0x5a1846||'#'}>
6
+ ${_0x33a965?.[_0x48836b(0x1a8)]>0x0?html` <mwc-icon submenu-button></mwc-icon> `:html``}
7
+ <mwc-icon>${_0x509a63}</mwc-icon>
8
+ ${_0x1302f2} ${!0x1!==_0x27df26?html`<div badge>${_0x27df26}</div>`:html``}
9
9
  </a>
10
- ${_0x463779&&this[_0x930a61(0x147)](_0x463779,_0x39bb5f)}
10
+ ${_0x33a965&&this['renderMenus'](_0x33a965,_0x262f37)}
11
11
  </li>
12
12
  `;})}
13
13
  </ul>
14
- `;}[a0_0x180f41(0x12c)](){const _0x874b04=a0_0x180f41,{menus:_0x2242c8,activeTopLevel:_0x3e4a6d,activeMenu:_0x4b2b15}=this;return this[_0x874b04(0x147)](_0x2242c8,_0x3e4a6d,_0x4b2b15);}[a0_0x180f41(0x142)](){const _0x4ed496=a0_0x180f41;this[_0x4ed496(0x128)][_0x4ed496(0x13c)](_0x4ed496(0x13f),_0x2e097b=>{const _0x44b298=_0x4ed496,_0x217a6d=_0x2e097b[_0x44b298(0x13d)][_0x44b298(0x140)](_0x44b298(0x13b));if(_0x217a6d?.[_0x44b298(0x12e)]){let _0x5d6bd2=_0x217a6d['menu'];_0x5d6bd2[_0x44b298(0x12a)]||(_0x2e097b['stopPropagation'](),_0x2e097b[_0x44b298(0x139)]()),this['dispatchEvent'](new CustomEvent(_0x44b298(0x127),{'bubbles':!0x0,'detail':this[_0x44b298(0x13a)]===_0x5d6bd2?void 0x0:_0x5d6bd2}));}let _0x527733=_0x2e097b['target'][_0x44b298(0x149)];_0x527733&&location['href']===_0x527733&&navigate(_0x527733+'#force',!0x0);}),this[_0x4ed496(0x128)][_0x4ed496(0x13c)](_0x4ed496(0x136),_0x51edec=>{const _0x16cb14=_0x4ed496;_0x51edec[_0x16cb14(0x13d)][_0x16cb14(0x133)](_0x16cb14(0x145));}),this[_0x4ed496(0x128)][_0x4ed496(0x13c)](_0x4ed496(0x134),_0x25862b=>{const _0x62ae9b=_0x4ed496;_0x25862b[_0x62ae9b(0x13d)]['setAttribute'](_0x62ae9b(0x145),'');});}}customElements[a0_0x180f41(0x146)](a0_0x180f41(0x144),DynamicMenuPortrait);
14
+ `;}[a0_0x46e4c8(0x1a7)](){const _0x517352=a0_0x46e4c8,{menus:_0x38ab6f,activeTopLevel:_0x32fa46,activeMenu:_0x57de35}=this;return this[_0x517352(0x1ae)](_0x38ab6f,_0x32fa46,_0x57de35);}[a0_0x46e4c8(0x1a6)](){const _0x1a1f66=a0_0x46e4c8;this[_0x1a1f66(0x1a4)][_0x1a1f66(0x1aa)]('click',_0x34853d=>{const _0x25c507=_0x1a1f66,_0x1bc712=_0x34853d['target'][_0x25c507(0x1b1)](_0x25c507(0x198));if(_0x1bc712?.['menu']){let _0x7abaf8=_0x1bc712[_0x25c507(0x1a2)];_0x7abaf8['path']||(_0x34853d[_0x25c507(0x18d)](),_0x34853d[_0x25c507(0x1a3)]()),this[_0x25c507(0x18f)](new CustomEvent(_0x25c507(0x1ad),{'bubbles':!0x0,'detail':this[_0x25c507(0x19b)]===_0x7abaf8?void 0x0:_0x7abaf8}));}let _0x2810df=_0x34853d[_0x25c507(0x1a5)]['href'];_0x2810df&&location['href']===_0x2810df&&navigate(_0x2810df+_0x25c507(0x18e),!0x0);}),this['renderRoot'][_0x1a1f66(0x1aa)]('transitionstart',_0xd25104=>{const _0x38fb27=_0x1a1f66;_0xd25104['target'][_0x38fb27(0x191)](_0x38fb27(0x192));}),this[_0x1a1f66(0x1a4)][_0x1a1f66(0x1aa)]('transitionend',_0x53640d=>{const _0x263134=_0x1a1f66;_0x53640d[_0x263134(0x1a5)][_0x263134(0x1ac)]('settled','');});}}function a0_0x1ac6(_0x4e0fee,_0x160415){const _0x21e4b5=a0_0x21e4();return a0_0x1ac6=function(_0x1ac652,_0xac499a){_0x1ac652=_0x1ac652-0x18c;let _0x29d668=_0x21e4b5[_0x1ac652];return _0x29d668;},a0_0x1ac6(_0x4e0fee,_0x160415);}function a0_0x21e4(){const _0x5a9ad6=['2633288SUqfAY','2211760ZWRrge','dynamic-menu-portrait','24siCsEv','[menu]','84iVaSbE','properties','activeTopLevel','74PmpRaC','24elxSmg','372wYAfsp','97052kFAYZF','28720MhMYpd','19284glzFoL','menu','preventDefault','renderRoot','target','firstUpdated','render','length','3877423IkAsEp','addEventListener','map','setAttribute','active-toplevel','renderMenus','define','3951081GRtlGE','closest','function','stopPropagation','#force','dispatchEvent','call','removeAttribute','settled','styles'];a0_0x21e4=function(){return _0x5a9ad6;};return a0_0x21e4();}customElements[a0_0x46e4c8(0x1af)](a0_0x46e4c8(0x196),DynamicMenuPortrait);