@things-factory/meta-ui 6.0.126 → 6.0.129

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 (76) hide show
  1. package/client/actions/main.js +4 -4
  2. package/client/component/filter/filter-form-resource-code-select.js +9 -9
  3. package/client/component/filter/filter-grist-resource-code-select.js +9 -9
  4. package/client/component/grist/editor/ox-grist-editor-resource-code-selector.js +9 -9
  5. package/client/component/grist/renderer/ox-grist-renderer-resource-code-selector.js +1 -1
  6. package/client/component/grist/selector/ox-resource-code-selector-popup.js +11 -11
  7. package/client/mixin/meta-base-mixin.js +1 -1
  8. package/client/mixin/meta-basic-grist-mixin.js +4 -4
  9. package/client/mixin/meta-button-mixin.js +1 -1
  10. package/client/mixin/meta-form-mixin.js +1 -1
  11. package/client/mixin/meta-grist-tab-mixin.js +1 -1
  12. package/client/mixin/meta-master-detail-mixin.js +1 -1
  13. package/client/mixin/meta-service-mixin.js +1 -1
  14. package/client/mixin/meta-tab-detail-mixin.js +1 -1
  15. package/client/mixin/meta-tab-mixin.js +1 -1
  16. package/client/pages/activity/meta-activity-list-page.js +6 -6
  17. package/client/pages/activity/meta-activity-viewer-element.js +3 -3
  18. package/client/pages/activity/meta-activity-writer-element.js +3 -3
  19. package/client/pages/activity/meta-activiy-mixin.js +3 -3
  20. package/client/pages/entity/config-entity.js +29 -29
  21. package/client/pages/entity/main-menu-selector.js +7 -7
  22. package/client/pages/history/history-copy-list-popup.js +6 -6
  23. package/client/pages/history/history-json-list-popup.js +6 -6
  24. package/client/pages/loading-page.js +5 -5
  25. package/client/pages/menu/dynamic-menu-template.js +7 -7
  26. package/client/pages/menu/dynamic-menu.js +15 -15
  27. package/client/pages/meta-form-element.js +1 -1
  28. package/client/pages/meta-grist-element.js +1 -1
  29. package/client/pages/meta-grist-page.js +1 -1
  30. package/client/pages/meta-grist-tab-element.js +1 -1
  31. package/client/pages/meta-grist-tab-page.js +1 -1
  32. package/client/pages/meta-master-detail-element.js +1 -1
  33. package/client/pages/meta-master-detail-page.js +1 -1
  34. package/client/pages/meta-tab-detail-element.js +1 -1
  35. package/client/pages/meta-tab-detail-page.js +1 -1
  36. package/client/pages/meta-tab-element.js +1 -1
  37. package/client/pages/personalize/personal-column-selector.js +11 -11
  38. package/client/pages/terms/config-terminology.js +6 -6
  39. package/client/pages/work-code/work-code-detail-popup.js +1 -1
  40. package/client/pages/work-code/work-code-page.js +1 -1
  41. package/client/reducers/main.js +1 -1
  42. package/client/utils/meta-api.js +1 -1
  43. package/client/utils/meta-crypto.js +1 -1
  44. package/client/utils/meta-ui-util.js +96 -96
  45. package/client/utils/service-util.js +13 -13
  46. package/client/utils/terms-util.js +2 -2
  47. package/client/utils/ui-util.js +1 -1
  48. package/client/utils/value-util.js +1 -1
  49. package/client/viewparts/dynamic-menu-landscape-styles.js +1 -1
  50. package/client/viewparts/dynamic-menu-landscape.js +10 -10
  51. package/client/viewparts/dynamic-menu-part.js +11 -11
  52. package/client/viewparts/dynamic-menu-portrait-styles.js +1 -1
  53. package/client/viewparts/dynamic-menu-portrait.js +9 -9
  54. package/client/viewparts/dynamic-top-menu-bar.js +7 -7
  55. package/package.json +2 -2
  56. package/server/activity/CommonActivity.js +2 -2
  57. package/server/constants/error-code.js +1 -1
  58. package/server/errors/license-error.js +1 -1
  59. package/server/routes.js +1 -1
  60. package/server/service/grid-personalize/grid-personalize-mutation.js +1 -1
  61. package/server/service/grid-personalize/grid-personalize-query.js +1 -1
  62. package/server/service/grid-personalize/grid-personalize-type.js +1 -1
  63. package/server/service/grid-personalize/grid-personalize.js +1 -1
  64. package/server/service/meta-activity/meta-activity-mutation.js +1 -1
  65. package/server/service/meta-activity/meta-activity-query.js +1 -1
  66. package/server/service/meta-activity/meta-activity-type.js +1 -1
  67. package/server/service/meta-secret/meta-resolver.js +1 -1
  68. package/server/service/set-translations/set-translation-resolver.js +1 -1
  69. package/server/service/work-code/work-code-mutation.js +1 -1
  70. package/server/service/work-code/work-code-query.js +1 -1
  71. package/server/service/work-code/work-code-type.js +1 -1
  72. package/server/service/work-code/work-code.js +1 -1
  73. package/server/service/work-code-detail/work-code-detail-mutation.js +1 -1
  74. package/server/service/work-code-detail/work-code-detail-query.js +1 -1
  75. package/server/service/work-code-detail/work-code-detail-type.js +1 -1
  76. package/server/service/work-code-detail/work-code-detail.js +1 -1
@@ -1,4 +1,4 @@
1
- const a0_0x50de27=a0_0x3dc2;(function(_0x122878,_0x2e949c){const _0x38a1fc=a0_0x3dc2,_0xd15102=_0x122878();while(!![]){try{const _0x4f69f7=parseInt(_0x38a1fc(0x112))/0x1*(parseInt(_0x38a1fc(0x13b))/0x2)+-parseInt(_0x38a1fc(0x127))/0x3+parseInt(_0x38a1fc(0x17c))/0x4*(-parseInt(_0x38a1fc(0x115))/0x5)+parseInt(_0x38a1fc(0x16a))/0x6+parseInt(_0x38a1fc(0x145))/0x7+-parseInt(_0x38a1fc(0x162))/0x8*(-parseInt(_0x38a1fc(0x16b))/0x9)+-parseInt(_0x38a1fc(0x155))/0xa;if(_0x4f69f7===_0x2e949c)break;else _0xd15102['push'](_0xd15102['shift']());}catch(_0x483d5e){_0xd15102['push'](_0xd15102['shift']());}}}(a0_0x5d36,0xb153f));import{store,gqlContext}from'@things-factory/shell';import{getCodeByName}from'@things-factory/code-base';function a0_0x3dc2(_0xbe8d91,_0x3a4f66){const _0x5d361d=a0_0x5d36();return a0_0x3dc2=function(_0x3dc2b9,_0x2d2bbd){_0x3dc2b9=_0x3dc2b9-0xfe;let _0x428a8e=_0x5d361d[_0x3dc2b9];return _0x428a8e;},a0_0x3dc2(_0xbe8d91,_0x3a4f66);}import{EXPORT}from'@things-factory/export-base';import{gqlBuilder}from'@things-factory/utils';import{client}from'@operato/graphql';import{TermsUtil}from'./terms-util';function a0_0x5d36(){const _0x1ceabd=['\x0a\x20\x20\x20\x20\x20\x20','updatedAt','query','test','getSelectedIdList','530428uvfKIs','findIndex','deleteListByGristSelected','searchByPagination','MENU','updateMultiple','find','group','undefined','getCodeSelectorData','dispatch','checkClientError','unshift','draft-list','codeItems','buildArgs','button.','showAlertPopup','badge','path','workCodeByName','rank','map','__dirty__','gutter','401627UffVMj','type','SCREEN','5pVFVsC','splice','records','active','routingType','HOME','result','isNotEmpty','length','imex','gridPersonalizeTemplates','info','numberOfApprovalPendings','runScenario','name','selected','filter','question','1416432KEKqIu','tText','data','createdAt','category','success\x20to\x20delete','Graphql\x20Error','showToast','confirm','key','creator','__seq__','__selected__','extensions','reduce','GROUP','iconPath','text.nothing_changed','todo-list','myDynamicMenus','2nyLpLK','getWorkCodeByName','numberOfToDos','cuFlag','children','showGraphqlException','button.delete','hidden','searchMyDynamicMenus','approval-pending-list','7053627qOeoif','menus','routing','value','callScenario','menuType','display','split','record','id,template','success\x20to\x20process','\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','xlsx','parse','details','__dirtyfields__','8694170jNRpyV','showGraphqlErrorResponse','columns','menu.id','object','sort','error','forEach','networkError','message','updater','total','resourceUrl','88VnIUlL','exportableData','findOne','deleteListByIds','getCodeByEntity','patchesForUpdateMultiple','_config','text.nothing_selected','1783428ieIgug','404163JNCWFE','success\x20to\x20save','cancel','hiddenFlag','push','errors','dirtyRecords','description','title','tMenu','fetch','items'];a0_0x5d36=function(){return _0x1ceabd;};return a0_0x5d36();}import{UiUtil}from'./ui-util';import a0_0x2d4f9e from'graphql-tag';import{ValueUtil}from'./value-util';import{asyncReplace}from'lit/directives/async-replace.js';import a0_0xee0cbb from'i18next';import{generateActivitySummary,startSubscribeActivitySummary}from'@things-factory/worklist';export class ServiceUtil{static async[a0_0x50de27(0x107)](_0x4045d8){const _0x3231d8=a0_0x50de27;if(Array['isArray'](_0x4045d8))return _0x4045d8[_0x3231d8(0x10f)](_0x1341f6=>'object'==typeof _0x1341f6?{'name':_0x1341f6[_0x3231d8(0x148)],'description':_0x1341f6[_0x3231d8(0x14b)]}:{'name':_0x1341f6,'description':_0x1341f6});let _0x5b7d9d=await ServiceUtil[_0x3231d8(0x13c)](_0x4045d8);return _0x5b7d9d&&_0x5b7d9d[_0x3231d8(0x11d)]>0x0?_0x5b7d9d:await getCodeByName(_0x4045d8);}static async['getWorkCodeByName'](_0x428daf){const _0x412aea=a0_0x50de27,_0x40c9c3=await client[_0x412aea(0x179)]({'query':a0_0x2d4f9e`
1
+ function a0_0x30d5(){const _0x27a62f=['iconPath','SCREEN','cuFlag','3sTkCWl','patchesForUpdateMultiple','dirtyRecords','text.nothing_selected','group','codeItems','code','numberOfToDos','_config','showAlertPopup','MENU','24RmyyDF','columns','map','showGraphqlErrorResponse','delete','resourceUrl','hidden','deleteListByGristSelected','21860QnBBVS','getSelectedIdList','HOME','error','tText','active','307432TUfham','showToast','details','571739xPGIwJ','\x0a\x20\x20\x20\x20\x20\x20','query','unshift','push','gutter','test','Graphql\x20Error','button.delete','5MxEyYt','display','4044360kfnARH','getCodeByEntity','success\x20to\x20save','undefined','splice','noteq','dispatch','569284CSvUjz','path','records','callScenario','name','object','confirm','__selected__','buildArgs','success\x20to\x20process','checkClientError','info','getCodeSelectorData','menuType','9ctROpT','message','key','searchMenuGridPersnalTemplate','success\x20to\x20delete','record','GROUP','imex','searchByPagination','items','workCodeByName','find','badge','2222wBREVq','isNotEmpty','menus','updateMultiple','getCodeByScenario','tMenu','includes','\x0a\x20\x20\x20\x20','hiddenFlag','type','2077612acHsMp','isArray','description','networkError','cancel','xlsx','question','template','text.are_you_sure','parent','__seq__','children','title','deleteListByIds','creator','gridPersonalizeTemplates','button.','updateMultipleData','routingType','errors','\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','category','text.there_is_nothing_to_delete','getWorkCodeByName','findOne','extensions','routing','searchMyDynamicMenus','rank','data','draft-list','__dirty__','__origin__','filter','sort','HIDDEN-PAGE','myDynamicMenus','runScenario','result','fetch','total','selected','reduce','forEach','numberOfApprovalPendings','showGraphqlException','length','710858lRzhOG','findIndex'];a0_0x30d5=function(){return _0x27a62f;};return a0_0x30d5();}const a0_0x3702cd=a0_0x2230;(function(_0x360502,_0x14ae2b){const _0x123011=a0_0x2230,_0x10157c=_0x360502();while(!![]){try{const _0x397963=parseInt(_0x123011(0x22a))/0x1+parseInt(_0x123011(0x1f7))/0x2*(-parseInt(_0x123011(0x1fc))/0x3)+parseInt(_0x123011(0x1c8))/0x4*(parseInt(_0x123011(0x221))/0x5)+-parseInt(_0x123011(0x207))/0x6*(-parseInt(_0x123011(0x218))/0x7)+-parseInt(_0x123011(0x215))/0x8*(-parseInt(_0x123011(0x238))/0x9)+parseInt(_0x123011(0x20f))/0xa*(-parseInt(_0x123011(0x1be))/0xb)+-parseInt(_0x123011(0x223))/0xc;if(_0x397963===_0x14ae2b)break;else _0x10157c['push'](_0x10157c['shift']());}catch(_0x47378f){_0x10157c['push'](_0x10157c['shift']());}}}(a0_0x30d5,0x4e131));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_0x22a799 from'graphql-tag';import{ValueUtil}from'./value-util';function a0_0x2230(_0x8992a0,_0x5e72fa){const _0x30d589=a0_0x30d5();return a0_0x2230=function(_0x22302e,_0x4b7cb7){_0x22302e=_0x22302e-0x1b8;let _0x4f42a1=_0x30d589[_0x22302e];return _0x4f42a1;},a0_0x2230(_0x8992a0,_0x5e72fa);}import{asyncReplace}from'lit/directives/async-replace.js';import a0_0x488834 from'i18next';import{generateActivitySummary,startSubscribeActivitySummary}from'@things-factory/worklist';export class ServiceUtil{static async[a0_0x3702cd(0x201)](_0x4b8b55){const _0x222f62=a0_0x3702cd;if(Array[_0x222f62(0x1c9)](_0x4b8b55))return _0x4b8b55[_0x222f62(0x209)](_0x119775=>'object'==typeof _0x119775?{'name':_0x119775['value'],'description':_0x119775[_0x222f62(0x222)]}:{'name':_0x119775,'description':_0x119775});let _0x3b5081=await ServiceUtil[_0x222f62(0x1df)](_0x4b8b55);return _0x3b5081&&_0x3b5081[_0x222f62(0x1f6)]>0x0?_0x3b5081:await getCodeByName(_0x4b8b55);}static async[a0_0x3702cd(0x1df)](_0x15258a){const _0xa433cf=a0_0x3702cd,_0x3ef5df=await client[_0xa433cf(0x21a)]({'query':a0_0x22a799`
2
2
  query workCodeByName($name: String!) {
3
3
  workCodeByName(name: $name) {
4
4
  details {
@@ -8,32 +8,32 @@ const a0_0x50de27=a0_0x3dc2;(function(_0x122878,_0x2e949c){const _0x38a1fc=a0_0x
8
8
  }
9
9
  }
10
10
  }
11
- `,'variables':{'name':_0x428daf},'context':gqlContext()});return!_0x40c9c3[_0x412aea(0x170)]&&_0x40c9c3['data']['workCodeByName']&&_0x40c9c3[_0x412aea(0x129)]['workCodeByName'][_0x412aea(0x153)]?_0x40c9c3['data'][_0x412aea(0x10d)]['details']['sort']((_0x318ede,_0x113d4c)=>_0x318ede['rank']-_0x113d4c[_0x412aea(0x10e)]):[];}static async[a0_0x50de27(0x102)](_0x5a875b){const _0x2c45b4=a0_0x50de27;let _0x23b43d=(await ServiceUtil[_0x2c45b4(0x107)](_0x5a875b))[_0x2c45b4(0x10f)](_0xb0a36d=>({'value':_0xb0a36d['name'],'display':_0xb0a36d[_0x2c45b4(0x172)]}));return _0x23b43d[_0x2c45b4(0x105)]({'value':'','display':''}),_0x23b43d;}static async['getCodeByScenario'](_0x29a8ae,_0x440bac){const _0x5cc1b9=a0_0x50de27;let _0xd1e8f9=await ServiceUtil[_0x5cc1b9(0x149)](null,_0x29a8ae,_0x440bac);return _0xd1e8f9[_0x5cc1b9(0x105)]({'value':'','display':''}),_0xd1e8f9['map'](_0x5a7854=>({'value':_0x5a7854[_0x5cc1b9(0x123)],'display':_0x5a7854['description']}));}static async[a0_0x50de27(0x166)]({queryName:_0x1be0d3,codeField:_0x2b58f6=a0_0x50de27(0x123),dispField:_0x1f6428=a0_0x50de27(0x172),filters:_0x11e92e=[],sorters:_0x4dbe42=[]}){const _0x44c0c6=a0_0x50de27;let _0x10a4ec=_0x44c0c6(0x177)+_0x2b58f6+_0x44c0c6(0x177)+_0x1f6428+'\x0a\x20\x20\x20\x20',_0x41c6fd=await ServiceUtil[_0x44c0c6(0x17f)](_0x1be0d3,_0x11e92e,_0x4dbe42,0x0,0x0,_0x10a4ec),_0x4c30e7=[{'value':'','display':''}];return _0x41c6fd[_0x44c0c6(0x117)][_0x44c0c6(0x15c)](_0x4885b4=>{_0x4c30e7['push']({'value':_0x4885b4[_0x2b58f6],'display':_0x4885b4[_0x1f6428]});}),_0x4c30e7;}static async[a0_0x50de27(0x13a)](){const _0x342df1=a0_0x50de27;let _0x1fa7ca=await ServiceUtil[_0x342df1(0x143)]();return null!=_0x1fa7ca?ServiceUtil['arrangeMenuRoutes'](_0x1fa7ca):null;}static async['searchMenuGridPersnalTemplate'](_0x130052){const _0x1e7ccb=a0_0x50de27;let _0x2183f7=[{'name':_0x1e7ccb(0x158),'operator':'eq','value':_0x130052}],_0xc920e4=await ServiceUtil['searchByPagination'](_0x1e7ccb(0x11f),_0x2183f7,[],0x0,0x0,_0x1e7ccb(0x14e));return 0x0==_0xc920e4[_0x1e7ccb(0x160)]?{}:{'id':_0xc920e4['records'][0x0]['id'],'template':JSON[_0x1e7ccb(0x152)](_0xc920e4[_0x1e7ccb(0x117)][0x0]['template'])};}static['arrangeMenuRoutes'](_0x5f30a1){const _0x20a017=a0_0x50de27;let _0xfc84fd=[];_0x5f30a1[_0x20a017(0x15c)](_0x231eaa=>{const _0x2bc475=_0x20a017;_0xfc84fd['push'](_0x231eaa),_0x231eaa['children']&&(_0x231eaa[_0x2bc475(0x13f)][_0x2bc475(0x15a)](function(_0x45e768,_0x41ceee){return _0x45e768['rank']-_0x41ceee['rank'];}),_0x231eaa[_0x2bc475(0x13f)][_0x2bc475(0x15c)](_0x1c4683=>{const _0x66c8a5=_0x2bc475;0x1!=_0x1c4683[_0x66c8a5(0x16e)]&&(_0x1c4683['parent']=_0x231eaa,_0xfc84fd[_0x66c8a5(0x16f)](_0x1c4683));}));});let _0x172670=_0xfc84fd['map'](_0x25ba29=>{const _0x519bbc=_0x20a017;if(_0x519bbc(0x136)==_0x25ba29[_0x519bbc(0x14a)]||_0x519bbc(0x180)==_0x25ba29[_0x519bbc(0x14a)]){let _0x3a5544={'id':_0x25ba29['id'],'parent':!0x0,'name':TermsUtil[_0x519bbc(0x174)](_0x25ba29[_0x519bbc(0x123)]),'icon':_0x25ba29[_0x519bbc(0x137)],'type':_0x519bbc(0x136)==_0x25ba29[_0x519bbc(0x14a)]?_0x519bbc(0x100):'','menus':[]};return _0x25ba29[_0x519bbc(0x147)]&&(_0x3a5544['path']=_0x25ba29[_0x519bbc(0x147)]),_0x3a5544;}return{'id':'0'};})['filter'](_0x2e5fef=>'0'!=_0x2e5fef['id']),_0x146d42=_0xfc84fd[_0x20a017(0x10f)](_0x2d233d=>{const _0x3de5df=_0x20a017;if(_0x3de5df(0x114)==_0x2d233d[_0x3de5df(0x14a)]||'HIDDEN-PAGE'==_0x2d233d[_0x3de5df(0x14a)]){let _0x1d822e=_0x172670[_0x3de5df(0xff)](_0x276461=>_0x276461['id']==_0x2d233d['parent']['id']);if(_0x1d822e){let _0x547ef5=TermsUtil[_0x3de5df(0x174)](_0x2d233d[_0x3de5df(0x123)]);return _0x3de5df(0x114)==_0x2d233d['menuType']&&_0x1d822e['menus']['push']({'id':_0x2d233d['id'],'name':_0x547ef5,'path':_0x2d233d[_0x3de5df(0x147)],'icon':_0x2d233d[_0x3de5df(0x137)]}),{'id':_0x2d233d['id'],'parent':!0x1,'parent_id':_0x1d822e['id'],'title':_0x547ef5,'tagname':_0x2d233d[_0x3de5df(0x12b)],'page':_0x2d233d[_0x3de5df(0x147)],'template':_0x2d233d[_0x3de5df(0x161)],'routing_type':_0x2d233d[_0x3de5df(0x119)]};}return{'id':'0'};}return _0x3de5df(0x11a)==_0x2d233d[_0x3de5df(0x14a)]?{'id':_0x2d233d['id'],'parent':!0x0,'parent_id':null,'title':TermsUtil[_0x3de5df(0x174)](_0x2d233d[_0x3de5df(0x123)]),'tagname':_0x2d233d['category'],'page':_0x2d233d[_0x3de5df(0x147)],'template':_0x2d233d[_0x3de5df(0x161)],'routing_type':_0x2d233d['routingType']}:{'id':'0'};})[_0x20a017(0x125)](_0x2abebc=>null!=_0x2abebc&&'0'!=_0x2abebc['id']);_0x172670[_0x20a017(0x125)](_0x5d93cb=>'group'==_0x5d93cb[_0x20a017(0x113)]&&_0x5d93cb[_0x20a017(0x146)]&&_0x5d93cb['menus']['length']>0x0)[_0x20a017(0x15c)](_0xb118a2=>{const _0x532005=_0x20a017;let _0x599bea=_0x172670[_0x532005(0x17d)](_0x93672b=>_0x93672b['id']==_0xb118a2['id'])+0x1;_0x172670[_0x532005(0x116)](_0x599bea,0x0,..._0xb118a2[_0x532005(0x146)]);});let _0x545617=0x0;return _0x172670[_0x20a017(0x15c)](_0x28f59a=>{const _0x40036c=_0x20a017;_0x40036c(0x139)==_0x28f59a[_0x40036c(0x10c)]?(_0x545617++,_0x28f59a['badge']=()=>asyncReplace(generateActivitySummary(_0x40036c(0x13d))),_0x28f59a[_0x40036c(0x118)]=({path:_0x523c6a})=>/^activity\//[_0x40036c(0x17a)](_0x523c6a)):_0x40036c(0x144)==_0x28f59a[_0x40036c(0x10c)]?(_0x545617++,_0x28f59a[_0x40036c(0x10b)]=()=>asyncReplace(generateActivitySummary(_0x40036c(0x121))),_0x28f59a['active']=({path:_0x4d0f52})=>/^activity\//[_0x40036c(0x17a)](_0x4d0f52)):_0x40036c(0x106)==_0x28f59a[_0x40036c(0x10c)]&&(_0x545617++,_0x28f59a[_0x40036c(0x10b)]=()=>asyncReplace(generateActivitySummary('numberOfDrafts')));}),_0x545617>0x0&&startSubscribeActivitySummary(),{'menus':_0x172670,'routes':_0x146d42};}static async[a0_0x50de27(0x143)](){const _0x148b24=a0_0x50de27;let _0x2ad41b=await ServiceUtil[_0x148b24(0x17f)]('menus',[{'name':'hiddenFlag','operator':'noteq','value':!0x0},{'name':_0x148b24(0x14a),'operator':'in','value':['HOME','MENU','GROUP']}],[{'name':'rank'}],0x0,0x0,_0x148b24(0x150));return _0x2ad41b?_0x2ad41b[_0x148b24(0x117)]:[];}static async[a0_0x50de27(0x156)](_0x36153a){const _0x41d942=a0_0x50de27;if(_0x36153a['errors']&&_0x36153a[_0x41d942(0x170)][_0x41d942(0x11d)]>0x0){let _0x116ab7=_0x36153a['errors'][0x0],_0x472f03=_0x116ab7[_0x41d942(0x15e)],_0x2302b3=_0x116ab7[_0x41d942(0x15e)];_0x116ab7[_0x41d942(0x134)]&&(_0x2302b3=_0x116ab7[_0x41d942(0x134)]['code']),await UiUtil[_0x41d942(0x10a)](_0x2302b3,_0x472f03,'error',_0x41d942(0x12f));}}static async['showGraphqlException'](_0x3739f4){const _0xc9c6c6=a0_0x50de27;_0x3739f4&&(_0x3739f4['networkError']&&_0x3739f4[_0xc9c6c6(0x15d)][_0xc9c6c6(0x11b)]?await ServiceUtil['showGraphqlErrorResponse'](_0x3739f4[_0xc9c6c6(0x15d)]['result']):await UiUtil[_0xc9c6c6(0x10a)](_0xc9c6c6(0x12d),_0x3739f4[_0xc9c6c6(0x15e)],_0xc9c6c6(0x15b),'confirm'));}static async[a0_0x50de27(0x163)](_0x8b3a95,_0x986a50,_0x1a3f6a){const _0x34fba0=a0_0x50de27;var _0x3b8a8f=_0x1a3f6a[_0x34fba0(0x168)][_0x34fba0(0x157)]['filter'](_0x847b40=>_0x34fba0(0x111)!==_0x847b40[_0x34fba0(0x113)]&&void 0x0!==_0x847b40[_0x34fba0(0x14d)]&&void 0x0!==_0x847b40['imex']&&!0x0!==_0x847b40[_0x34fba0(0x142)])[_0x34fba0(0x10f)](_0x488ce6=>_0x488ce6[_0x34fba0(0x11e)]),_0x471d0e=_0x1a3f6a[_0x34fba0(0x129)][_0x34fba0(0x117)]['map'](_0x5b1a3b=>({..._0x1a3f6a[_0x34fba0(0x168)][_0x34fba0(0x157)][_0x34fba0(0x125)](_0x4a56d7=>_0x34fba0(0x111)!==_0x4a56d7['type']&&void 0x0!==_0x4a56d7['record']&&void 0x0!==_0x4a56d7[_0x34fba0(0x11e)]&&!0x0!==_0x4a56d7[_0x34fba0(0x142)])[_0x34fba0(0x135)]((_0x2fe349,_0x37ad66)=>(_0x2fe349[_0x37ad66[_0x34fba0(0x11e)][_0x34fba0(0x130)]]=_0x37ad66['imex'][_0x34fba0(0x130)][_0x34fba0(0x14c)]('.')[_0x34fba0(0x135)]((_0xc3b367,_0x2de718)=>_0xc3b367&&_0x34fba0(0x101)!==_0xc3b367[_0x2de718]?_0xc3b367[_0x2de718]:void 0x0,_0x5b1a3b),_0x2fe349),{})}));if(!_0x8b3a95)return{'header':_0x3b8a8f,'data':_0x471d0e};store[_0x34fba0(0x103)]({'type':EXPORT,'exportable':{'extension':_0x34fba0(0x151),'name':_0x986a50,'data':{'header':_0x3b8a8f,'data':_0x471d0e}}});}static async[a0_0x50de27(0x17f)](_0xa8ce49,_0x188dc4,_0x13797d,_0x4d78d7,_0x5d8f89,_0x551e7e){const _0x484968=a0_0x50de27;try{const _0xefc941=await client['query']({'query':a0_0x2d4f9e`
11
+ `,'variables':{'name':_0x15258a},'context':gqlContext()});return!_0x3ef5df['errors']&&_0x3ef5df[_0xa433cf(0x1e5)][_0xa433cf(0x1bb)]&&_0x3ef5df['data'][_0xa433cf(0x1bb)][_0xa433cf(0x217)]?_0x3ef5df['data']['workCodeByName'][_0xa433cf(0x217)]['sort']((_0xfa26f0,_0x521beb)=>_0xfa26f0[_0xa433cf(0x1e4)]-_0x521beb[_0xa433cf(0x1e4)]):[];}static async[a0_0x3702cd(0x236)](_0x33d2df){const _0x85a7ac=a0_0x3702cd;let _0x42e8ea=(await ServiceUtil[_0x85a7ac(0x201)](_0x33d2df))[_0x85a7ac(0x209)](_0x33605e=>({'value':_0x33605e[_0x85a7ac(0x22e)],'display':_0x33605e[_0x85a7ac(0x1ca)]}));return _0x42e8ea[_0x85a7ac(0x21b)]({'value':'','display':''}),_0x42e8ea;}static async[a0_0x3702cd(0x1c2)](_0x46b7ff,_0x13d86d){const _0x5cf022=a0_0x3702cd;let _0x14e5f1=await ServiceUtil['callScenario'](null,_0x46b7ff,_0x13d86d);return _0x14e5f1[_0x5cf022(0x21b)]({'value':'','display':''}),_0x14e5f1[_0x5cf022(0x209)](_0x28dc0d=>({'value':_0x28dc0d[_0x5cf022(0x22e)],'display':_0x28dc0d['description']}));}static async[a0_0x3702cd(0x224)]({queryName:_0x46f8fa,codeField:_0x574985=a0_0x3702cd(0x22e),dispField:_0x4d705f=a0_0x3702cd(0x1ca),filters:_0x1ffa47=[],sorters:_0x1baff7=[]}){const _0x645e44=a0_0x3702cd;let _0x4170a5=_0x645e44(0x219)+_0x574985+_0x645e44(0x219)+_0x4d705f+_0x645e44(0x1c5),_0x1d5248=await ServiceUtil[_0x645e44(0x1b9)](_0x46f8fa,_0x1ffa47,_0x1baff7,0x0,0x0,_0x4170a5),_0x30d9c6=[{'value':'','display':''}];return _0x1d5248[_0x645e44(0x22c)]['forEach'](_0x4b48b8=>{const _0x172c88=_0x645e44;_0x30d9c6[_0x172c88(0x21c)]({'value':_0x4b48b8[_0x574985],'display':_0x4b48b8[_0x4d705f]});}),_0x30d9c6;}static async[a0_0x3702cd(0x1ec)](){const _0x51d219=a0_0x3702cd;let _0x1d511e=await ServiceUtil[_0x51d219(0x1e3)]();return null!=_0x1d511e?ServiceUtil['arrangeMenuRoutes'](_0x1d511e):null;}static async[a0_0x3702cd(0x23b)](_0x151dda){const _0x578353=a0_0x3702cd;let _0x2c6d34=[{'name':'menu.id','operator':'eq','value':_0x151dda}],_0x4f8bb1=await ServiceUtil[_0x578353(0x1b9)](_0x578353(0x1d7),_0x2c6d34,[],0x0,0x0,'id,template');return 0x0==_0x4f8bb1['total']?{}:{'id':_0x4f8bb1[_0x578353(0x22c)][0x0]['id'],'template':JSON['parse'](_0x4f8bb1[_0x578353(0x22c)][0x0][_0x578353(0x1cf)])};}static['arrangeMenuRoutes'](_0x353a70){const _0xaedd99=a0_0x3702cd;let _0x35baee=[];_0x353a70['forEach'](_0x2fe478=>{const _0x25aea6=a0_0x2230;_0x35baee['push'](_0x2fe478),_0x2fe478[_0x25aea6(0x1d3)]&&(_0x2fe478['children'][_0x25aea6(0x1ea)](function(_0x80d08e,_0x363d25){const _0xcb3334=_0x25aea6;return _0x80d08e[_0xcb3334(0x1e4)]-_0x363d25['rank'];}),_0x2fe478[_0x25aea6(0x1d3)][_0x25aea6(0x1f3)](_0x3a5cf5=>{const _0x343d76=_0x25aea6;0x1!=_0x3a5cf5[_0x343d76(0x1c6)]&&(_0x3a5cf5[_0x343d76(0x1d1)]=_0x2fe478,_0x35baee[_0x343d76(0x21c)](_0x3a5cf5));}));});let _0x3c2600=_0x35baee[_0xaedd99(0x209)](_0x17731f=>{const _0x30aee1=_0xaedd99;if(_0x30aee1(0x23e)==_0x17731f[_0x30aee1(0x237)]||_0x30aee1(0x206)==_0x17731f[_0x30aee1(0x237)]){let _0x5219ff={'id':_0x17731f['id'],'parent':!0x0,'name':TermsUtil[_0x30aee1(0x1c3)](_0x17731f['name']),'icon':_0x17731f[_0x30aee1(0x1f9)],'type':_0x30aee1(0x23e)==_0x17731f['menuType']?_0x30aee1(0x200):'','menus':[]};return _0x17731f[_0x30aee1(0x1e2)]&&(_0x5219ff[_0x30aee1(0x22b)]=_0x17731f[_0x30aee1(0x1e2)]),_0x5219ff;}return{'id':'0'};})[_0xaedd99(0x1e9)](_0x22c5bb=>'0'!=_0x22c5bb['id']),_0x43003d=_0x35baee[_0xaedd99(0x209)](_0x20bdc6=>{const _0x4b31bc=_0xaedd99;if(_0x4b31bc(0x1fa)==_0x20bdc6[_0x4b31bc(0x237)]||_0x4b31bc(0x1eb)==_0x20bdc6['menuType']){let _0x2037ec=_0x3c2600[_0x4b31bc(0x1bc)](_0x889e8b=>_0x889e8b['id']==_0x20bdc6[_0x4b31bc(0x1d1)]['id']);if(_0x2037ec){let _0x17c98c=TermsUtil['tMenu'](_0x20bdc6[_0x4b31bc(0x22e)]);return _0x4b31bc(0x1fa)==_0x20bdc6['menuType']&&_0x2037ec[_0x4b31bc(0x1c0)][_0x4b31bc(0x21c)]({'id':_0x20bdc6['id'],'name':_0x17c98c,'path':_0x20bdc6[_0x4b31bc(0x1e2)],'icon':_0x20bdc6['iconPath']}),{'id':_0x20bdc6['id'],'parent':!0x1,'parent_id':_0x2037ec['id'],'title':_0x17c98c,'tagname':_0x20bdc6[_0x4b31bc(0x1dd)],'page':_0x20bdc6['routing'],'template':_0x20bdc6[_0x4b31bc(0x20c)],'routing_type':_0x20bdc6['routingType']};}return{'id':'0'};}return'HOME'==_0x20bdc6['menuType']?{'id':_0x20bdc6['id'],'parent':!0x0,'parent_id':null,'title':TermsUtil[_0x4b31bc(0x1c3)](_0x20bdc6[_0x4b31bc(0x22e)]),'tagname':_0x20bdc6[_0x4b31bc(0x1dd)],'page':_0x20bdc6['routing'],'template':_0x20bdc6[_0x4b31bc(0x20c)],'routing_type':_0x20bdc6[_0x4b31bc(0x1da)]}:{'id':'0'};})[_0xaedd99(0x1e9)](_0x498e8c=>null!=_0x498e8c&&'0'!=_0x498e8c['id']);_0x3c2600[_0xaedd99(0x1e9)](_0x203055=>'group'==_0x203055[_0xaedd99(0x1c7)]&&_0x203055[_0xaedd99(0x1c0)]&&_0x203055[_0xaedd99(0x1c0)]['length']>0x0)[_0xaedd99(0x1f3)](_0x3e3a6b=>{const _0x26311c=_0xaedd99;let _0x1f1369=_0x3c2600[_0x26311c(0x1f8)](_0x59c3af=>_0x59c3af['id']==_0x3e3a6b['id'])+0x1;_0x3c2600[_0x26311c(0x227)](_0x1f1369,0x0,..._0x3e3a6b[_0x26311c(0x1c0)]);});let _0x55d254=0x0;return _0x3c2600[_0xaedd99(0x1f3)](_0x279a5b=>{const _0x555f9d=_0xaedd99;'todo-list'==_0x279a5b[_0x555f9d(0x22b)]?(_0x55d254++,_0x279a5b[_0x555f9d(0x1bd)]=()=>asyncReplace(generateActivitySummary(_0x555f9d(0x203))),_0x279a5b[_0x555f9d(0x214)]=({path:_0x4fd1f1})=>/^activity\//[_0x555f9d(0x21e)](_0x4fd1f1)):'approval-pending-list'==_0x279a5b['path']?(_0x55d254++,_0x279a5b[_0x555f9d(0x1bd)]=()=>asyncReplace(generateActivitySummary(_0x555f9d(0x1f4))),_0x279a5b['active']=({path:_0x108172})=>/^activity\//[_0x555f9d(0x21e)](_0x108172)):_0x555f9d(0x1e6)==_0x279a5b['path']&&(_0x55d254++,_0x279a5b[_0x555f9d(0x1bd)]=()=>asyncReplace(generateActivitySummary('numberOfDrafts')));}),_0x55d254>0x0&&startSubscribeActivitySummary(),{'menus':_0x3c2600,'routes':_0x43003d};}static async[a0_0x3702cd(0x1e3)](){const _0x2532bd=a0_0x3702cd;let _0x2d87a8=await ServiceUtil[_0x2532bd(0x1b9)](_0x2532bd(0x1c0),[{'name':_0x2532bd(0x1c6),'operator':_0x2532bd(0x228),'value':!0x0},{'name':_0x2532bd(0x237),'operator':'in','value':[_0x2532bd(0x211),_0x2532bd(0x206),_0x2532bd(0x23e)]}],[{'name':'rank'}],0x0,0x0,_0x2532bd(0x1dc));return _0x2d87a8?_0x2d87a8[_0x2532bd(0x22c)]:[];}static async[a0_0x3702cd(0x20a)](_0x59f992){const _0x3feaf9=a0_0x3702cd;if(_0x59f992[_0x3feaf9(0x1db)]&&_0x59f992[_0x3feaf9(0x1db)][_0x3feaf9(0x1f6)]>0x0){let _0x46abaf=_0x59f992[_0x3feaf9(0x1db)][0x0],_0x1df6d4=_0x46abaf[_0x3feaf9(0x239)],_0x158cf3=_0x46abaf[_0x3feaf9(0x239)];_0x46abaf[_0x3feaf9(0x1e1)]&&(_0x158cf3=_0x46abaf[_0x3feaf9(0x1e1)][_0x3feaf9(0x202)]),await UiUtil[_0x3feaf9(0x205)](_0x158cf3,_0x1df6d4,_0x3feaf9(0x212),_0x3feaf9(0x230));}}static async[a0_0x3702cd(0x1f5)](_0x22290f){const _0x49e149=a0_0x3702cd;_0x22290f&&(_0x22290f[_0x49e149(0x1cb)]&&_0x22290f['networkError'][_0x49e149(0x1ee)]?await ServiceUtil['showGraphqlErrorResponse'](_0x22290f[_0x49e149(0x1cb)][_0x49e149(0x1ee)]):await UiUtil[_0x49e149(0x205)](_0x49e149(0x21f),_0x22290f[_0x49e149(0x239)],'error',_0x49e149(0x230)));}static async['exportableData'](_0x51beb7,_0x54536c,_0x144173){const _0x343dee=a0_0x3702cd;var _0xb0ab32=_0x144173[_0x343dee(0x204)][_0x343dee(0x208)][_0x343dee(0x1e9)](_0x1db7bd=>_0x343dee(0x21d)!==_0x1db7bd['type']&&void 0x0!==_0x1db7bd['record']&&void 0x0!==_0x1db7bd['imex']&&!0x0!==_0x1db7bd[_0x343dee(0x20d)])['map'](_0x3f1dee=>_0x3f1dee[_0x343dee(0x1b8)]),_0x540d23=_0x144173['data']['records'][_0x343dee(0x209)](_0x576c37=>({..._0x144173[_0x343dee(0x204)][_0x343dee(0x208)][_0x343dee(0x1e9)](_0x2fdfa8=>_0x343dee(0x21d)!==_0x2fdfa8['type']&&void 0x0!==_0x2fdfa8[_0x343dee(0x23d)]&&void 0x0!==_0x2fdfa8[_0x343dee(0x1b8)]&&!0x0!==_0x2fdfa8[_0x343dee(0x20d)])[_0x343dee(0x1f2)]((_0x2e0f6f,_0x47afb5)=>(_0x2e0f6f[_0x47afb5[_0x343dee(0x1b8)]['key']]=_0x47afb5[_0x343dee(0x1b8)][_0x343dee(0x23a)]['split']('.')[_0x343dee(0x1f2)]((_0x485b08,_0x780d3a)=>_0x485b08&&_0x343dee(0x226)!==_0x485b08[_0x780d3a]?_0x485b08[_0x780d3a]:void 0x0,_0x576c37),_0x2e0f6f),{})}));if(!_0x51beb7)return{'header':_0xb0ab32,'data':_0x540d23};store[_0x343dee(0x229)]({'type':EXPORT,'exportable':{'extension':_0x343dee(0x1cd),'name':_0x54536c,'data':{'header':_0xb0ab32,'data':_0x540d23}}});}static async[a0_0x3702cd(0x1b9)](_0x2e7bca,_0x412f10,_0x2ce562,_0x45bd6f,_0x384de7,_0x27a848){const _0x388813=a0_0x3702cd;try{const _0x1ae8b7=await client['query']({'query':a0_0x22a799`
12
12
  query ($filters: [Filter!], $pagination: Pagination, $sortings: [Sorting!]) {
13
- ${_0xa8ce49}(filters: $filters, pagination: $pagination, sortings: $sortings) {
13
+ ${_0x2e7bca}(filters: $filters, pagination: $pagination, sortings: $sortings) {
14
14
  items {
15
- ${_0x551e7e}
15
+ ${_0x27a848}
16
16
  }
17
17
  total
18
18
  }
19
19
  }
20
- `,'variables':{'filters':_0x188dc4,'sortings':_0x13797d,'pagination':{'page':_0x4d78d7,'limit':_0x5d8f89}}});if(!_0xefc941[_0x484968(0x170)])return{'records':_0xefc941[_0x484968(0x129)][_0xa8ce49][_0x484968(0x176)],'total':_0xefc941[_0x484968(0x129)][_0xa8ce49][_0x484968(0x160)]};ServiceUtil[_0x484968(0x156)](_0xefc941);}catch(_0x5aef48){ServiceUtil[_0x484968(0x140)](_0x5aef48);}return null;}static async[a0_0x50de27(0x164)](_0x4eebce,_0xd0cf54,_0x262a95){const _0x399faf=a0_0x50de27;try{let _0x57a491=await client['query']({'query':a0_0x2d4f9e`
20
+ `,'variables':{'filters':_0x412f10,'sortings':_0x2ce562,'pagination':{'page':_0x45bd6f,'limit':_0x384de7}}});if(!_0x1ae8b7[_0x388813(0x1db)])return{'records':_0x1ae8b7['data'][_0x2e7bca][_0x388813(0x1ba)],'total':_0x1ae8b7[_0x388813(0x1e5)][_0x2e7bca][_0x388813(0x1f0)]};ServiceUtil[_0x388813(0x20a)](_0x1ae8b7);}catch(_0x55d585){ServiceUtil['showGraphqlException'](_0x55d585);}return null;}static async[a0_0x3702cd(0x1e0)](_0x586baf,_0x53944b,_0x3ddddb){const _0x3fb45d=a0_0x3702cd;try{let _0x5be0e4=await client[_0x3fb45d(0x21a)]({'query':a0_0x22a799`
21
21
  query ($id: String!) {
22
- ${_0x4eebce}(id: $id) {
23
- ${_0x262a95}
22
+ ${_0x586baf}(id: $id) {
23
+ ${_0x3ddddb}
24
24
  }
25
25
  }
26
- `,'variables':{'id':_0xd0cf54}});if(!_0x57a491[_0x399faf(0x170)])return _0x57a491[_0x399faf(0x129)][_0x4eebce]||{};ServiceUtil[_0x399faf(0x156)](_0x57a491);}catch(_0x37f278){ServiceUtil[_0x399faf(0x140)](_0x37f278);}return null;}static[a0_0x50de27(0x17b)](_0x1445b8,_0x203e88){const _0xd31ee9=a0_0x50de27,_0x5c7472=_0x1445b8[_0xd31ee9(0x124)][_0xd31ee9(0x10f)](_0x71837c=>_0x71837c['id']);return ValueUtil['isEmpty'](_0x5c7472)&&0x1==_0x203e88&&UiUtil['showAlertPopup'](_0xd31ee9(0x169),'text.there_is_nothing_to_delete',_0xd31ee9(0x120),_0xd31ee9(0x12f)),_0x5c7472;}static async[a0_0x50de27(0x17e)](_0x42319d,_0x1ff7ab){const _0x9dd37a=a0_0x50de27;let _0x4b25be=ServiceUtil[_0x9dd37a(0x17b)](_0x42319d,!0x0);ValueUtil[_0x9dd37a(0x11c)](_0x4b25be)&&(await ServiceUtil[_0x9dd37a(0x165)](_0x4b25be,_0x1ff7ab)&&_0x42319d[_0x9dd37a(0x175)]());}static async[a0_0x50de27(0x165)](_0x2bc431,_0x2e2170){const _0x46c81e=a0_0x50de27;if(!(await UiUtil[_0x46c81e(0x10a)](_0x46c81e(0x141),'text.are_you_sure',_0x46c81e(0x126),'delete',_0x46c81e(0x16d)))[_0x46c81e(0x148)])return!0x1;try{const _0x5954b2=await client['query']({'query':a0_0x2d4f9e`
26
+ `,'variables':{'id':_0x53944b}});if(!_0x5be0e4['errors'])return _0x5be0e4['data'][_0x586baf]||{};ServiceUtil[_0x3fb45d(0x20a)](_0x5be0e4);}catch(_0x1496ea){ServiceUtil['showGraphqlException'](_0x1496ea);}return null;}static[a0_0x3702cd(0x210)](_0xf6c1d0,_0x1410d6){const _0x2a08d4=a0_0x3702cd,_0x227256=_0xf6c1d0[_0x2a08d4(0x1f1)][_0x2a08d4(0x209)](_0x203367=>_0x203367['id']);return ValueUtil['isEmpty'](_0x227256)&&0x1==_0x1410d6&&UiUtil[_0x2a08d4(0x205)](_0x2a08d4(0x1ff),_0x2a08d4(0x1de),_0x2a08d4(0x235),'confirm'),_0x227256;}static async[a0_0x3702cd(0x20e)](_0x2648cd,_0xc2658e){const _0x4159d9=a0_0x3702cd;let _0x4269d8=ServiceUtil[_0x4159d9(0x210)](_0x2648cd,!0x0);ValueUtil[_0x4159d9(0x1bf)](_0x4269d8)&&(await ServiceUtil['deleteListByIds'](_0x4269d8,_0xc2658e)&&_0x2648cd['fetch']());}static async[a0_0x3702cd(0x1d5)](_0x5ef092,_0x52b480){const _0x51df81=a0_0x3702cd;if(!(await UiUtil[_0x51df81(0x205)](_0x51df81(0x220),_0x51df81(0x1d0),'question',_0x51df81(0x20b),_0x51df81(0x1cc)))['value'])return!0x1;try{const _0x3a7e94=await client[_0x51df81(0x21a)]({'query':a0_0x22a799`
27
27
  mutation {
28
- ${_0x2e2170}(${gqlBuilder[_0x46c81e(0x108)]({'ids':_0x2bc431})})
28
+ ${_0x52b480}(${gqlBuilder[_0x51df81(0x232)]({'ids':_0x5ef092})})
29
29
  }
30
- `});if(!_0x5954b2['errors'])return UiUtil['showToast'](_0x46c81e(0x120),TermsUtil['tText'](_0x46c81e(0x12c))),!0x0;ServiceUtil['showGraphqlErrorResponse'](_0x5954b2);}catch(_0x404b87){ServiceUtil['showGraphqlException'](_0x404b87);}return!0x1;}static async['updateMultipleData'](_0x369db7,_0x181d77){const _0x320650=a0_0x50de27;let _0x26e4a0=ServiceUtil[_0x320650(0x167)](_0x369db7);if(ValueUtil[_0x320650(0x11c)](_0x26e4a0)){let _0xebb77f=await ServiceUtil[_0x320650(0xfe)](_0x181d77,_0x26e4a0);if(_0xebb77f)return _0x369db7[_0x320650(0x175)](),_0xebb77f;}return!0x1;}static async[a0_0x50de27(0xfe)](_0x27a7fd,_0x3779b0){const _0x13769a=a0_0x50de27;try{const _0x3b7f00=await client[_0x13769a(0x179)]({'query':a0_0x2d4f9e`
30
+ `});if(!_0x3a7e94[_0x51df81(0x1db)])return UiUtil[_0x51df81(0x216)]('info',TermsUtil[_0x51df81(0x213)](_0x51df81(0x23c))),!0x0;ServiceUtil[_0x51df81(0x20a)](_0x3a7e94);}catch(_0x29472d){ServiceUtil[_0x51df81(0x1f5)](_0x29472d);}return!0x1;}static async[a0_0x3702cd(0x1d9)](_0x18e1bc,_0x2860cc){const _0x412e25=a0_0x3702cd;let _0xc22e84=ServiceUtil['patchesForUpdateMultiple'](_0x18e1bc);if(ValueUtil[_0x412e25(0x1bf)](_0xc22e84)){let _0x5def16=await ServiceUtil[_0x412e25(0x1c1)](_0x2860cc,_0xc22e84);if(_0x5def16)return _0x18e1bc[_0x412e25(0x1ef)](),_0x5def16;}return!0x1;}static async[a0_0x3702cd(0x1c1)](_0x411bae,_0x1bf5b1){const _0x4dbf37=a0_0x3702cd;try{const _0xd5f804=await client[_0x4dbf37(0x21a)]({'query':a0_0x22a799`
31
31
  mutation {
32
- ${_0x27a7fd}(${gqlBuilder[_0x13769a(0x108)]({'patches':_0x3779b0})}) {
32
+ ${_0x411bae}(${gqlBuilder[_0x4dbf37(0x232)]({'patches':_0x1bf5b1})}) {
33
33
  id
34
34
  }
35
35
  }
36
- `,'context':{'hasUpload':!0x0}});if(!_0x3b7f00[_0x13769a(0x170)])return UiUtil['showToast'](_0x13769a(0x120),TermsUtil['tText'](_0x13769a(0x16c))),!0x0;ServiceUtil['showGraphqlErrorResponse'](_0x3b7f00);}catch(_0xba6911){ServiceUtil['showGraphqlException'](_0xba6911);}return!0x1;}static[a0_0x50de27(0x167)](_0x48a61a,_0x351bd0=!0x1){const _0x26c89a=a0_0x50de27;let _0x5845bb=_0x48a61a[_0x26c89a(0x171)];if(_0x5845bb&&0x0!=_0x5845bb[_0x26c89a(0x11d)])return _0x5845bb[_0x26c89a(0x10f)](_0x1e0270=>{const _0x566d24=_0x26c89a;let _0x33dc91=_0x1e0270['id']?{'id':_0x1e0270['id']}:{};for(let _0x2bf226 in _0x1e0270)[_0x566d24(0x131),_0x566d24(0x15f),_0x566d24(0x12a),_0x566d24(0x178),_0x566d24(0x110),_0x566d24(0x154),'__origin__',_0x566d24(0x132),_0x566d24(0x133)]['includes'](_0x2bf226)||(_0x1e0270[_0x2bf226]&&_0x566d24(0x159)==typeof _0x1e0270[_0x2bf226]&&0x0==_0x351bd0?_0x33dc91[_0x2bf226]={'id':_0x1e0270[_0x2bf226]['id']}:_0x33dc91[_0x2bf226]=_0x1e0270[_0x2bf226]);return _0x33dc91[_0x566d24(0x13e)]=_0x1e0270[_0x566d24(0x110)],_0x33dc91;});UiUtil['showAlertPopup'](_0x26c89a(0x138),'text.NOTHING_CHANGED',_0x26c89a(0x120),_0x26c89a(0x12f));}static async[a0_0x50de27(0x149)](_0x4d19f7,_0x49b507,_0x5710a0){const _0xa32934=a0_0x50de27;let _0xbf3155=!0x0;_0x4d19f7&&(_0xbf3155=(await UiUtil['showAlertPopup'](_0xa32934(0x109)+_0x4d19f7,'text.are_you_sure',_0xa32934(0x126),_0xa32934(0x12f),_0xa32934(0x16d)))[_0xa32934(0x148)]);if(_0xbf3155)try{const _0x4405ee=await client[_0xa32934(0x179)]({'query':a0_0x2d4f9e`
36
+ `,'context':{'hasUpload':!0x0}});if(!_0xd5f804['errors'])return UiUtil[_0x4dbf37(0x216)](_0x4dbf37(0x235),TermsUtil[_0x4dbf37(0x213)](_0x4dbf37(0x225))),!0x0;ServiceUtil[_0x4dbf37(0x20a)](_0xd5f804);}catch(_0x14b34b){ServiceUtil[_0x4dbf37(0x1f5)](_0x14b34b);}return!0x1;}static[a0_0x3702cd(0x1fd)](_0x3eee00,_0x379d50=!0x1){const _0x1f6896=a0_0x3702cd;let _0x22f01a=_0x3eee00[_0x1f6896(0x1fe)];if(_0x22f01a&&0x0!=_0x22f01a[_0x1f6896(0x1f6)])return _0x22f01a[_0x1f6896(0x209)](_0x17d059=>{const _0x390bbb=_0x1f6896;let _0x1031bc=_0x17d059['id']?{'id':_0x17d059['id']}:{};for(let _0x1132d2 in _0x17d059)[_0x390bbb(0x1d6),'updater','createdAt','updatedAt',_0x390bbb(0x1e7),'__dirtyfields__',_0x390bbb(0x1e8),_0x390bbb(0x1d2),_0x390bbb(0x231)][_0x390bbb(0x1c4)](_0x1132d2)||(_0x17d059[_0x1132d2]&&_0x390bbb(0x22f)==typeof _0x17d059[_0x1132d2]&&0x0==_0x379d50?_0x1031bc[_0x1132d2]={'id':_0x17d059[_0x1132d2]['id']}:_0x1031bc[_0x1132d2]=_0x17d059[_0x1132d2]);return _0x1031bc[_0x390bbb(0x1fb)]=_0x17d059[_0x390bbb(0x1e7)],_0x1031bc;});UiUtil[_0x1f6896(0x205)]('text.nothing_changed','text.NOTHING_CHANGED','info',_0x1f6896(0x230));}static async[a0_0x3702cd(0x22d)](_0x569c2c,_0x17421a,_0x5640db){const _0x9ff5c6=a0_0x3702cd;let _0x59994d=!0x0;_0x569c2c&&(_0x59994d=(await UiUtil[_0x9ff5c6(0x205)](_0x9ff5c6(0x1d8)+_0x569c2c,_0x9ff5c6(0x1d0),_0x9ff5c6(0x1ce),_0x9ff5c6(0x230),'cancel'))['value']);if(_0x59994d)try{const _0x4f328a=await client['query']({'query':a0_0x22a799`
37
37
  mutation ($scenarioName: String!, $variables: Object) {
38
38
  runScenario(scenarioName: $scenarioName, variables: $variables) {
39
39
  state
@@ -42,4 +42,4 @@ const a0_0x50de27=a0_0x3dc2;(function(_0x122878,_0x2e949c){const _0x38a1fc=a0_0x
42
42
  __typename
43
43
  }
44
44
  }
45
- `,'variables':{'scenarioName':_0x49b507,'variables':_0x5710a0}});if(_0x4405ee[_0xa32934(0x170)])ServiceUtil[_0xa32934(0x156)](_0x4405ee);else{if(this[_0xa32934(0x104)](_0x4405ee))return UiUtil[_0xa32934(0x12e)]('info',TermsUtil[_0xa32934(0x128)](_0xa32934(0x14f))),_0x4405ee;}}catch(_0x10400d){ServiceUtil[_0xa32934(0x140)](_0x10400d);}return!0x1;}static[a0_0x50de27(0x104)](_0x91d11a){const _0x3251f1=a0_0x50de27;if(_0x91d11a&&_0x91d11a[_0x3251f1(0x129)]&&_0x91d11a[_0x3251f1(0x129)][_0x3251f1(0x122)]&&_0x91d11a[_0x3251f1(0x129)][_0x3251f1(0x122)][_0x3251f1(0x129)]&&_0x91d11a[_0x3251f1(0x129)]['runScenario'][_0x3251f1(0x129)][_0x3251f1(0x15b)]){let _0x10009b=_0x91d11a[_0x3251f1(0x129)][_0x3251f1(0x122)][_0x3251f1(0x129)]['error'];return UiUtil['showAlertPopup'](_0x10009b[_0x3251f1(0x173)],_0x10009b[_0x3251f1(0x15e)],'error',_0x3251f1(0x12f)),!0x1;}return!0x0;}}
45
+ `,'variables':{'scenarioName':_0x17421a,'variables':_0x5640db}});if(_0x4f328a[_0x9ff5c6(0x1db)])ServiceUtil[_0x9ff5c6(0x20a)](_0x4f328a);else{if(this[_0x9ff5c6(0x234)](_0x4f328a))return UiUtil['showToast'](_0x9ff5c6(0x235),TermsUtil[_0x9ff5c6(0x213)](_0x9ff5c6(0x233))),_0x4f328a;}}catch(_0x12f327){ServiceUtil[_0x9ff5c6(0x1f5)](_0x12f327);}return!0x1;}static[a0_0x3702cd(0x234)](_0x36bb46){const _0x4bab3f=a0_0x3702cd;if(_0x36bb46&&_0x36bb46[_0x4bab3f(0x1e5)]&&_0x36bb46[_0x4bab3f(0x1e5)][_0x4bab3f(0x1ed)]&&_0x36bb46[_0x4bab3f(0x1e5)]['runScenario'][_0x4bab3f(0x1e5)]&&_0x36bb46[_0x4bab3f(0x1e5)][_0x4bab3f(0x1ed)][_0x4bab3f(0x1e5)][_0x4bab3f(0x212)]){let _0x1864fd=_0x36bb46['data'][_0x4bab3f(0x1ed)][_0x4bab3f(0x1e5)][_0x4bab3f(0x212)];return UiUtil[_0x4bab3f(0x205)](_0x1864fd[_0x4bab3f(0x1d4)],_0x1864fd[_0x4bab3f(0x239)],'error','confirm'),!0x1;}return!0x0;}}
@@ -1,4 +1,4 @@
1
- const a0_0x1f1020=a0_0xc485;(function(_0x581d5a,_0x4b48e8){const _0x352394=a0_0xc485,_0x23e8d1=_0x581d5a();while(!![]){try{const _0x4c5660=parseInt(_0x352394(0xef))/0x1+parseInt(_0x352394(0xea))/0x2+parseInt(_0x352394(0x10f))/0x3*(-parseInt(_0x352394(0x101))/0x4)+-parseInt(_0x352394(0x105))/0x5*(parseInt(_0x352394(0xf3))/0x6)+parseInt(_0x352394(0xed))/0x7*(-parseInt(_0x352394(0x10b))/0x8)+parseInt(_0x352394(0x103))/0x9+-parseInt(_0x352394(0xf4))/0xa*(-parseInt(_0x352394(0x100))/0xb);if(_0x4c5660===_0x4b48e8)break;else _0x23e8d1['push'](_0x23e8d1['shift']());}catch(_0xce70be){_0x23e8d1['push'](_0x23e8d1['shift']());}}}(a0_0x53a6,0x988ca));import a0_0x22dbd6 from'graphql-tag';function a0_0x53a6(){const _0xeb9106=['total','65639Iiecoc','META_TERMS','321145GZMpqE','data','errors','query','7086FHMxWF','4573160rxYaam','translate','text','terminologies','error','field','items','keys','records','tMenu','title','forEach','22DrGCnN','1553972gPjOel','tError','3483018zBbCxE','menu','1585boeBsH','tField','tTitle','category','replace','locale','328ymlVBT','tButton','fetchTerminologies','display','6cRiSCu','button','1075766SSrBxw','tLabel'];a0_0x53a6=function(){return _0xeb9106;};return a0_0x53a6();}function a0_0xc485(_0x3cd7bf,_0x1248b5){const _0x53a668=a0_0x53a6();return a0_0xc485=function(_0xc4850c,_0x20e477){_0xc4850c=_0xc4850c-0xe9;let _0x981064=_0x53a668[_0xc4850c];return _0x981064;},a0_0xc485(_0x3cd7bf,_0x1248b5);}import{client}from'@operato/graphql';import{i18next}from'@operato/i18n';export class TermsUtil{[a0_0x1f1020(0xee)]=null;static async['downloadTerminologies'](_0x1afee1){const _0xbf46b9=a0_0x1f1020;let _0x2d1487=(await TermsUtil['fetchTerminologies'](_0x1afee1))[_0xbf46b9(0xfc)];_0x2d1487&&_0x2d1487['length']>0x0&&(this['META_TERMS']={},_0x2d1487[_0xbf46b9(0xff)](_0x173b93=>{const _0x230dc5=_0xbf46b9;let _0x5b98a7=_0x173b93[_0x230dc5(0x108)]+'.'+_0x173b93['name'];this[_0x230dc5(0xee)][_0x5b98a7]=_0x173b93[_0x230dc5(0x10e)];}));}static async[a0_0x1f1020(0x10d)](_0x441a3e){const _0x165896=a0_0x1f1020;let _0x825881=[{'name':_0x165896(0x10a),'operator':'eq','value':_0x441a3e}];const _0x3a1cac=await client[_0x165896(0xf2)]({'query':a0_0x22dbd6`
1
+ const a0_0x284e9b=a0_0x39fc;(function(_0xddf2bc,_0x3dc527){const _0x3dc147=a0_0x39fc,_0x2587e1=_0xddf2bc();while(!![]){try{const _0x9dfe4d=-parseInt(_0x3dc147(0xe0))/0x1+parseInt(_0x3dc147(0xde))/0x2+parseInt(_0x3dc147(0xdc))/0x3+-parseInt(_0x3dc147(0xe7))/0x4+-parseInt(_0x3dc147(0xf2))/0x5*(-parseInt(_0x3dc147(0xdf))/0x6)+-parseInt(_0x3dc147(0xf6))/0x7+-parseInt(_0x3dc147(0xf3))/0x8*(-parseInt(_0x3dc147(0xf7))/0x9);if(_0x9dfe4d===_0x3dc527)break;else _0x2587e1['push'](_0x2587e1['shift']());}catch(_0x4f6133){_0x2587e1['push'](_0x2587e1['shift']());}}}(a0_0x2ad0,0x93cac));function a0_0x2ad0(){const _0x3509e5=['tText','tError','data','tLabel','records','length','query','text','button','title','3465039yZSOuR','META_TERMS','577398rVlrlV','60234XCCAKH','539985QJPchS','total','field','error','translate','downloadTerminologies','category','2213184xXiPgy','terminologies','label','display','forEach','errors','menu','name','tTitle','tButton','replace','415esdUoF','42888jmFLKq','locale','fetchTerminologies','4348400yTtbYv','72eKIVxl','keys','tMenu'];a0_0x2ad0=function(){return _0x3509e5;};return a0_0x2ad0();}import a0_0x2c5f1b from'graphql-tag';function a0_0x39fc(_0x28664b,_0x59dfc7){const _0x2ad070=a0_0x2ad0();return a0_0x39fc=function(_0x39fcd2,_0x30e69){_0x39fcd2=_0x39fcd2-0xdc;let _0x55967e=_0x2ad070[_0x39fcd2];return _0x55967e;},a0_0x39fc(_0x28664b,_0x59dfc7);}import{client}from'@operato/graphql';import{i18next}from'@operato/i18n';export class TermsUtil{['META_TERMS']=null;static async[a0_0x284e9b(0xe5)](_0x1a9659){const _0x2e0314=a0_0x284e9b;let _0xd173f0=(await TermsUtil[_0x2e0314(0xf5)](_0x1a9659))[_0x2e0314(0xfe)];_0xd173f0&&_0xd173f0[_0x2e0314(0xff)]>0x0&&(this[_0x2e0314(0xdd)]={},_0xd173f0[_0x2e0314(0xeb)](_0x537ae9=>{const _0xb36ccf=_0x2e0314;let _0x4bc5ea=_0x537ae9[_0xb36ccf(0xe6)]+'.'+_0x537ae9[_0xb36ccf(0xee)];this[_0xb36ccf(0xdd)][_0x4bc5ea]=_0x537ae9[_0xb36ccf(0xea)];}));}static async[a0_0x284e9b(0xf5)](_0x4b29de){const _0x2e3f12=a0_0x284e9b;let _0x5274be=[{'name':_0x2e3f12(0xf4),'operator':'eq','value':_0x4b29de}];const _0xbb0a75=await client[_0x2e3f12(0x100)]({'query':a0_0x2c5f1b`
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_0x1f1020=a0_0xc485;(function(_0x581d5a,_0x4b48e8){const _0x352394=a0_0x
11
11
  total
12
12
  }
13
13
  }
14
- `,'variables':{'filters':_0x825881,'sortings':[{'name':_0x165896(0x108)},{'name':'name'}],'pagination':{'page':0x0,'limit':0x0}}});if(!_0x3a1cac[_0x165896(0xf1)])return{'records':_0x3a1cac[_0x165896(0xf0)][_0x165896(0xf7)][_0x165896(0xfa)]||[],'total':_0x3a1cac['data'][_0x165896(0xf7)][_0x165896(0xec)]||0x0};}static[a0_0x1f1020(0xeb)](_0x9efca4,_0xf6aedf){const _0x1528b3=a0_0x1f1020;let _0x178501=TermsUtil[_0x1528b3(0xf5)]('label',_0x9efca4,_0xf6aedf,null);return _0x178501||TermsUtil[_0x1528b3(0xf5)](_0x1528b3(0xf9),_0x9efca4,_0xf6aedf,_0x9efca4);}static[a0_0x1f1020(0x106)](_0x17eb94,_0x2e30c2){const _0x567fa8=a0_0x1f1020;let _0x1d5b8e=TermsUtil[_0x567fa8(0xf5)](_0x567fa8(0xf9),_0x17eb94,_0x2e30c2,null);return _0x1d5b8e||TermsUtil[_0x567fa8(0xf5)](_0x567fa8(0xf9),_0x17eb94,_0x2e30c2,_0x17eb94);}static[a0_0x1f1020(0x10c)](_0x118060){const _0x4b1030=a0_0x1f1020;return TermsUtil[_0x4b1030(0xf5)](_0x4b1030(0xe9),_0x118060,null,_0x118060);}static[a0_0x1f1020(0x107)](_0x1ab4ca,_0x3f2de9){const _0x4399f8=a0_0x1f1020;let _0x434594=TermsUtil[_0x4399f8(0xf5)](_0x4399f8(0xfe),_0x1ab4ca,_0x3f2de9,null);return _0x434594||TermsUtil[_0x4399f8(0xf5)](_0x4399f8(0x104),_0x1ab4ca,_0x3f2de9,_0x1ab4ca);}static[a0_0x1f1020(0xfd)](_0x15222b){const _0x3ad77e=a0_0x1f1020;let _0x135f66=TermsUtil[_0x3ad77e(0xf5)](_0x3ad77e(0x104),_0x15222b,null,_0x15222b);return _0x135f66||TermsUtil[_0x3ad77e(0xf5)](_0x3ad77e(0xfe),_0x15222b,null,_0x15222b);}static['tText'](_0x20ed23,_0x4ca930){const _0x26f057=a0_0x1f1020;return TermsUtil['translate'](_0x26f057(0xf6),_0x20ed23,_0x4ca930,_0x20ed23);}static[a0_0x1f1020(0x102)](_0x8427c2,_0x5330e9){const _0x4b9a4e=a0_0x1f1020;return TermsUtil[_0x4b9a4e(0xf5)](_0x4b9a4e(0xf8),_0x8427c2,_0x5330e9,_0x8427c2);}static[a0_0x1f1020(0xf5)](_0xb8f461,_0x1844da,_0x5a77ad,_0x25d1ce){let _0x390f7c=_0xb8f461+'.'+_0x1844da;return TermsUtil['t'](_0x390f7c,_0x5a77ad,_0x25d1ce);}static['t'](_0x345b05,_0x1db985,_0x2b397e){const _0x10e1ac=a0_0x1f1020;let _0x9c81d3=this[_0x10e1ac(0xee)]?this[_0x10e1ac(0xee)][_0x345b05]:null;return _0x9c81d3=_0x9c81d3||i18next['t'](_0x345b05),_0x9c81d3&&_0x345b05!=_0x9c81d3?(_0x1db985&&Object[_0x10e1ac(0xfb)](_0x1db985)[_0x10e1ac(0xff)](function(_0x385d77){const _0x4e184c=_0x10e1ac;var _0x47ad18='\x5c{'+_0x385d77[_0x4e184c(0x109)](/\$/,'\x5c$')+'\x5c}',_0x3a0944=new RegExp(_0x47ad18,'gi');_0x9c81d3=_0x9c81d3[_0x4e184c(0x109)](_0x3a0944,_0x1db985[_0x385d77]);}),_0x9c81d3):_0x2b397e;}}
14
+ `,'variables':{'filters':_0x5274be,'sortings':[{'name':_0x2e3f12(0xe6)},{'name':_0x2e3f12(0xee)}],'pagination':{'page':0x0,'limit':0x0}}});if(!_0xbb0a75[_0x2e3f12(0xec)])return{'records':_0xbb0a75[_0x2e3f12(0xfc)][_0x2e3f12(0xe8)]['items']||[],'total':_0xbb0a75['data'][_0x2e3f12(0xe8)][_0x2e3f12(0xe1)]||0x0};}static[a0_0x284e9b(0xfd)](_0x44925f,_0x3e8225){const _0x3f1231=a0_0x284e9b;let _0x42c1ca=TermsUtil[_0x3f1231(0xe4)](_0x3f1231(0xe9),_0x44925f,_0x3e8225,null);return _0x42c1ca||TermsUtil[_0x3f1231(0xe4)]('field',_0x44925f,_0x3e8225,_0x44925f);}static['tField'](_0x303a1e,_0x56bf06){const _0x484486=a0_0x284e9b;let _0x2d83d6=TermsUtil['translate']('field',_0x303a1e,_0x56bf06,null);return _0x2d83d6||TermsUtil[_0x484486(0xe4)](_0x484486(0xe2),_0x303a1e,_0x56bf06,_0x303a1e);}static[a0_0x284e9b(0xf0)](_0xd368a5){const _0x523e4f=a0_0x284e9b;return TermsUtil[_0x523e4f(0xe4)](_0x523e4f(0x102),_0xd368a5,null,_0xd368a5);}static[a0_0x284e9b(0xef)](_0x2ce787,_0x19a9c6){const _0xecb97b=a0_0x284e9b;let _0x5df39c=TermsUtil[_0xecb97b(0xe4)](_0xecb97b(0x103),_0x2ce787,_0x19a9c6,null);return _0x5df39c||TermsUtil[_0xecb97b(0xe4)](_0xecb97b(0xed),_0x2ce787,_0x19a9c6,_0x2ce787);}static[a0_0x284e9b(0xf9)](_0x554dd1){const _0x3542cd=a0_0x284e9b;let _0x38b16a=TermsUtil[_0x3542cd(0xe4)]('menu',_0x554dd1,null,_0x554dd1);return _0x38b16a||TermsUtil[_0x3542cd(0xe4)](_0x3542cd(0x103),_0x554dd1,null,_0x554dd1);}static[a0_0x284e9b(0xfa)](_0x45e2d1,_0x232aed){const _0x5a64cb=a0_0x284e9b;return TermsUtil['translate'](_0x5a64cb(0x101),_0x45e2d1,_0x232aed,_0x45e2d1);}static[a0_0x284e9b(0xfb)](_0x9cf21d,_0x31c190){const _0x4f7a80=a0_0x284e9b;return TermsUtil['translate'](_0x4f7a80(0xe3),_0x9cf21d,_0x31c190,_0x9cf21d);}static['translate'](_0x45680f,_0x442e98,_0x3091b3,_0x1045d9){let _0x140599=_0x45680f+'.'+_0x442e98;return TermsUtil['t'](_0x140599,_0x3091b3,_0x1045d9);}static['t'](_0x54b08b,_0x231fab,_0x57d6de){const _0x1c077c=a0_0x284e9b;let _0x3dcafe=this['META_TERMS']?this['META_TERMS'][_0x54b08b]:null;return _0x3dcafe=_0x3dcafe||i18next['t'](_0x54b08b),_0x3dcafe&&_0x54b08b!=_0x3dcafe?(_0x231fab&&Object[_0x1c077c(0xf8)](_0x231fab)['forEach'](function(_0x116520){const _0x27804a=_0x1c077c;var _0x3bc49d='\x5c{'+_0x116520[_0x27804a(0xf1)](/\$/,'\x5c$')+'\x5c}',_0x247ed3=new RegExp(_0x3bc49d,'gi');_0x3dcafe=_0x3dcafe[_0x27804a(0xf1)](_0x247ed3,_0x231fab[_0x116520]);}),_0x3dcafe):_0x57d6de;}}
@@ -1 +1 @@
1
- function a0_0x24b2(_0x2648fd,_0x1e67fe){const _0x44fa35=a0_0x44fa();return a0_0x24b2=function(_0x24b2c8,_0x4f5d90){_0x24b2c8=_0x24b2c8-0x94;let _0x316f21=_0x44fa35[_0x24b2c8];return _0x316f21;},a0_0x24b2(_0x2648fd,_0x1e67fe);}const a0_0x1205f5=a0_0x24b2;(function(_0x398e24,_0x443402){const _0x139e59=a0_0x24b2,_0x52802f=_0x398e24();while(!![]){try{const _0x4801eb=parseInt(_0x139e59(0xa0))/0x1*(-parseInt(_0x139e59(0xc6))/0x2)+parseInt(_0x139e59(0xd5))/0x3+parseInt(_0x139e59(0xc9))/0x4+-parseInt(_0x139e59(0xd0))/0x5+parseInt(_0x139e59(0xa1))/0x6+parseInt(_0x139e59(0xd2))/0x7+-parseInt(_0x139e59(0xc0))/0x8;if(_0x4801eb===_0x443402)break;else _0x52802f['push'](_0x52802f['shift']());}catch(_0x1d5486){_0x52802f['push'](_0x52802f['shift']());}}}(a0_0x44fa,0x6ec19));import{store,CustomAlert,navigate}from'@things-factory/shell';import{openPopup}from'@things-factory/layout-base';import{isMobileDevice}from'@things-factory/utils';import{getEditor}from'@operato/data-grist';import{TermsUtil}from'./terms-util';import{ValueUtil}from'./value-util';function a0_0x44fa(){const _0x6e87c=['2181280sRLMBj','config','6258966xsYstE','renderRoot','ox-input-code','162921BciVMo','popup_field','dispatchEvent','tButton','ko-KR','ox-input-barcode','stringify','substring','[name=\x27','forEach','barcode','getState','name','109017zNpqCs','2909958QYrcnD','notify','currentLocale','template','tagname','pageNavigate','currentRouting','onclosed','route','getStore','select-combo','firstElementChild','showAlertPopup','confirmButton','createElement','getType','parent_field','openPopupByElement','getFilterFormData','showToast','content','createEditorHtml','openDynamicPopup','code-editor','cancelButton','querySelector','replace','split','\x20route_name=\x27','getLeafInput','createCustomElement','3935736trEOIB','input','i18next','isNotEmpty','cookie','textarea','6gEQGQe','indexOf','\x27></','1101972OvWBez','htmlToElement','value','pass=','type','isMobileEnv','length'];a0_0x44fa=function(){return _0x6e87c;};return a0_0x44fa();}import{MetaUiUtil}from'./meta-ui-util';export class UiUtil{static[a0_0x1205f5(0xce)](){return isMobileDevice();}static[a0_0x1205f5(0xa3)](){const _0x4832be=a0_0x1205f5;let _0x358671=document[_0x4832be(0xc4)];return _0x358671=_0x358671[_0x4832be(0x9a)](_0x358671[_0x4832be(0xc7)](_0x4832be(0xc2))),_0x358671[_0x4832be(0xc7)](';')>-0x1&&(_0x358671=_0x358671[_0x4832be(0x9a)](0x0,_0x358671[_0x4832be(0xc7)](';'))),_0x358671=_0x358671[_0x4832be(0xbb)]('i18next=',''),'ko'==_0x358671?_0x4832be(0x97):_0x358671;}static['getApplicationModuleInfo'](){const _0x4eaa7b=a0_0x1205f5;let _0x19ffc4=store['getState']()['app']['modules'];return _0x19ffc4[_0x19ffc4[_0x4eaa7b(0xcf)]-0x1];}static[a0_0x1205f5(0xa7)](){const _0xa84240=a0_0x1205f5;return store['getState']()[_0xa84240(0xa9)]['page'];}static[a0_0x1205f5(0xb2)](_0x58805c,_0x3615cc,_0x361d4d,_0x49b1ec){return openPopup(_0x361d4d,{'backdrop':!0x0,'size':_0x3615cc,'title':_0x58805c,'backdrop':_0x49b1ec});}static async[a0_0x1205f5(0xb7)](_0x424f4c,_0x176a63,_0x1c998f,_0x27eeca){const _0x43a1e0=a0_0x1205f5;let _0x4288da=ValueUtil['isNotEmpty'](_0x176a63[_0x43a1e0(0xb1)])?ValueUtil['getParams'](_0x1c998f,..._0x176a63[_0x43a1e0(0xb1)][_0x43a1e0(0xbc)]('.')):void 0x0,_0x19d9d='<'+_0x176a63['tagname']+'\x20route_name=\x27'+_0x176a63['menu']+'\x27\x20\x20parent_id=\x27'+_0x4288da+'\x27\x20is_popup=true></'+_0x176a63[_0x43a1e0(0xa5)]+'>',_0x112c3a=UiUtil[_0x43a1e0(0xca)](_0x19d9d);_0x112c3a[_0x43a1e0(0xd1)]=_0x176a63,ValueUtil[_0x43a1e0(0xc3)](_0x176a63[_0x43a1e0(0x94)])&&(_0x112c3a[_0x176a63[_0x43a1e0(0x94)]]=_0x1c998f);let _0x50df01=UiUtil[_0x43a1e0(0xb2)](_0x424f4c,_0x176a63['size'],_0x112c3a,!0x0);_0x27eeca&&(_0x50df01[_0x43a1e0(0xa8)]=_0x27eeca);}static[a0_0x1205f5(0xbf)](_0x1ac12b,_0x512f55){const _0x14a9d7=a0_0x1205f5;let _0xc3c3bc='<'+_0x1ac12b+_0x14a9d7(0xbd)+_0x512f55+_0x14a9d7(0xc8)+_0x1ac12b+'>';return UiUtil[_0x14a9d7(0xca)](_0xc3c3bc);}static[a0_0x1205f5(0xca)](_0x227bd9){const _0x11a7c2=a0_0x1205f5;var _0x56604f=document[_0x11a7c2(0xaf)](_0x11a7c2(0xa4));_0x56604f['innerHTML']=_0x227bd9;var _0x3d4fed=_0x56604f[_0x11a7c2(0xb5)]['childNodes'][0x0];return _0x56604f[_0x11a7c2(0xb5)]['removeChild'](_0x3d4fed),_0x3d4fed;}static[a0_0x1205f5(0xa6)](_0x21a0b4,_0x255fe5){const _0x1778f6=a0_0x1205f5;let _0x1e6b3c=_0x255fe5?'?':'';_0x255fe5&&(_0x1e6b3c+=_0x1778f6(0xcc)+JSON[_0x1778f6(0x99)](_0x255fe5)),navigate(''+_0x21a0b4+_0x1e6b3c);}static[a0_0x1205f5(0xaa)](_0x143958,_0x563475,_0x241711){const _0x53dd06=a0_0x1205f5;let _0x336f62=_0x336f62[_0x53dd06(0x9e)]();return _0x143958&&_0x563475&&_0x241711?_0x336f62[_0x143958][_0x563475][_0x241711]:_0x143958&&_0x563475?_0x336f62[_0x143958][_0x563475]:_0x143958?_0x336f62[_0x143958]:_0x336f62;}static['fireCustomEvent'](_0x326d6c,_0x4cb66b){const _0x8de865=a0_0x1205f5;document[_0x8de865(0x95)](new CustomEvent(_0x326d6c,{'detail':_0x4cb66b}));}static[a0_0x1205f5(0xb4)](_0x5b3388,_0x2aa20c){const _0x52202e=a0_0x1205f5;document[_0x52202e(0x95)](new CustomEvent(_0x52202e(0xa2),{'detail':{'type':_0x5b3388,'message':_0x2aa20c}}));}static async[a0_0x1205f5(0xad)](_0x44d53c,_0x3d5e8e,_0x4d4c75,_0x3441cb,_0x3cf2ff){const _0x1bd342=a0_0x1205f5;let _0x3eabdb={'title':TermsUtil['t'](_0x44d53c)||_0x44d53c,'text':TermsUtil['t'](_0x3d5e8e)||_0x3d5e8e};return _0x4d4c75&&(_0x3eabdb[_0x1bd342(0xcd)]=_0x4d4c75),_0x3441cb&&(_0x3eabdb[_0x1bd342(0xae)]=TermsUtil['tButton'](_0x3441cb)),_0x3cf2ff&&(_0x3eabdb[_0x1bd342(0xb9)]=TermsUtil[_0x1bd342(0x96)](_0x3cf2ff)),await CustomAlert(_0x3eabdb);}static[a0_0x1205f5(0xb3)](_0x1a575f){const _0x5a78eb=a0_0x1205f5;if(ValueUtil[_0x5a78eb(0xc3)](_0x1a575f)){let _0x2842e7=_0x1a575f['filters']();ValueUtil[_0x5a78eb(0xc3)](_0x2842e7)&&_0x2842e7[_0x5a78eb(0x9c)](_0x3d60d1=>{const _0x3ba81b=_0x5a78eb;ValueUtil[_0x3ba81b(0xc3)](_0x3d60d1[_0x3ba81b(0xcb)])&&(item[_0x3d60d1[_0x3ba81b(0x9f)]]=_0x3d60d1['value']?_0x3d60d1['value']:null);});}return{};}static['setSearchFormEditorValue'](_0xeee293,_0x604fb9,_0x4bc430){const _0x558493=a0_0x1205f5;if(ValueUtil[_0x558493(0xc3)](_0xeee293)){let _0x5c165a=_0xeee293[_0x558493(0xd3)]?.[_0x558493(0xba)](_0x558493(0x9b)+_0x604fb9+'\x27]');ValueUtil['isNotEmpty'](_0x5c165a)&&(_0x5c165a[_0x558493(0xcb)]=_0x4bc430);}}static[a0_0x1205f5(0xb6)](_0x2b7ab2,_0x219b6c,_0x5672e6,_0x42e23f){return getEditor(_0x2b7ab2)('',_0x219b6c,_0x5672e6,_0x42e23f,{});}static['setValueToEditor'](_0x523d46,_0x34b4cc){const _0x3b928d=a0_0x1205f5;UiUtil[_0x3b928d(0xbe)](_0x523d46)['value']=_0x34b4cc;}static['getLeafInput'](_0x341853){const _0x1d6a97=a0_0x1205f5;let _0x3089dd=_0x341853[_0x1d6a97(0xb0)]();return _0x1d6a97(0xb8)==_0x3089dd?_0x341853[_0x1d6a97(0xd3)][_0x1d6a97(0xba)](_0x1d6a97(0xd4)):_0x1d6a97(0xc5)==_0x3089dd?_0x341853[_0x1d6a97(0xd3)][_0x1d6a97(0xba)](_0x1d6a97(0xc5)):_0x1d6a97(0xab)==_0x3089dd?_0x341853[_0x1d6a97(0xd3)][_0x1d6a97(0xba)]('ox-select')[_0x1d6a97(0xac)]:_0x1d6a97(0x9d)==_0x3089dd?_0x341853[_0x1d6a97(0xd3)][_0x1d6a97(0xba)](_0x1d6a97(0x98))[_0x1d6a97(0xd3)]['querySelector'](_0x1d6a97(0xc1)):_0x341853['renderRoot'][_0x1d6a97(0xac)]['editor'];}}
1
+ const a0_0x3347ec=a0_0x3d12;(function(_0xde3682,_0x12141c){const _0x5a5d97=a0_0x3d12,_0x10826d=_0xde3682();while(!![]){try{const _0x34b8bf=parseInt(_0x5a5d97(0x15b))/0x1*(-parseInt(_0x5a5d97(0x157))/0x2)+parseInt(_0x5a5d97(0x138))/0x3+parseInt(_0x5a5d97(0x168))/0x4*(parseInt(_0x5a5d97(0x158))/0x5)+parseInt(_0x5a5d97(0x136))/0x6+parseInt(_0x5a5d97(0x152))/0x7+-parseInt(_0x5a5d97(0x16b))/0x8+parseInt(_0x5a5d97(0x14a))/0x9;if(_0x34b8bf===_0x12141c)break;else _0x10826d['push'](_0x10826d['shift']());}catch(_0x5be8df){_0x10826d['push'](_0x10826d['shift']());}}}(a0_0xbd19,0xa55d5));import{store,CustomAlert,navigate}from'@things-factory/shell';import{openPopup}from'@things-factory/layout-base';import{isMobileDevice}from'@things-factory/utils';import{getEditor}from'@operato/data-grist';import{TermsUtil}from'./terms-util';import{ValueUtil}from'./value-util';import{MetaUiUtil}from'./meta-ui-util';export class UiUtil{static['isMobileEnv'](){return isMobileDevice();}static[a0_0x3347ec(0x15c)](){const _0x5341e9=a0_0x3347ec;let _0x1f72ae=document[_0x5341e9(0x16a)];return _0x1f72ae=_0x1f72ae['substring'](_0x1f72ae[_0x5341e9(0x131)](_0x5341e9(0x166))),_0x1f72ae[_0x5341e9(0x131)](';')>-0x1&&(_0x1f72ae=_0x1f72ae[_0x5341e9(0x12f)](0x0,_0x1f72ae[_0x5341e9(0x131)](';'))),_0x1f72ae=_0x1f72ae[_0x5341e9(0x142)](_0x5341e9(0x13a),''),'ko'==_0x1f72ae?_0x5341e9(0x170):_0x1f72ae;}static[a0_0x3347ec(0x143)](){const _0x48be6c=a0_0x3347ec;let _0x44d5e5=store[_0x48be6c(0x151)]()[_0x48be6c(0x163)]['modules'];return _0x44d5e5[_0x44d5e5['length']-0x1];}static['currentRouting'](){const _0xe2d7b9=a0_0x3347ec;return store['getState']()[_0xe2d7b9(0x15d)][_0xe2d7b9(0x135)];}static[a0_0x3347ec(0x167)](_0x23c6c9,_0x25b248,_0x7179cc,_0x3d7b94){return openPopup(_0x7179cc,{'backdrop':!0x0,'size':_0x25b248,'title':_0x23c6c9,'backdrop':_0x3d7b94});}static async[a0_0x3347ec(0x140)](_0x5c9a02,_0x53a757,_0x3fefd5,_0x3da63b){const _0x492c5f=a0_0x3347ec;let _0x638996=ValueUtil[_0x492c5f(0x130)](_0x53a757[_0x492c5f(0x134)])?ValueUtil['getParams'](_0x3fefd5,..._0x53a757[_0x492c5f(0x134)][_0x492c5f(0x13b)]('.')):void 0x0,_0x52c4f7='<'+_0x53a757[_0x492c5f(0x144)]+'\x20route_name=\x27'+_0x53a757['menu']+_0x492c5f(0x16c)+_0x638996+_0x492c5f(0x14e)+_0x53a757[_0x492c5f(0x144)]+'>',_0x12861d=UiUtil[_0x492c5f(0x15e)](_0x52c4f7);_0x12861d[_0x492c5f(0x15f)]=_0x53a757,ValueUtil[_0x492c5f(0x130)](_0x53a757[_0x492c5f(0x133)])&&(_0x12861d[_0x53a757[_0x492c5f(0x133)]]=_0x3fefd5);let _0x381cfd=UiUtil['openPopupByElement'](_0x5c9a02,_0x53a757[_0x492c5f(0x13e)],_0x12861d,!0x0);_0x3da63b&&(_0x381cfd[_0x492c5f(0x165)]=_0x3da63b);}static[a0_0x3347ec(0x162)](_0x44d382,_0x2ad051){const _0x77fb63=a0_0x3347ec;let _0x44d2e7='<'+_0x44d382+_0x77fb63(0x139)+_0x2ad051+'\x27></'+_0x44d382+'>';return UiUtil[_0x77fb63(0x15e)](_0x44d2e7);}static[a0_0x3347ec(0x15e)](_0x279389){const _0x1f6582=a0_0x3347ec;var _0x5afe02=document[_0x1f6582(0x15a)]('template');_0x5afe02[_0x1f6582(0x13d)]=_0x279389;var _0x55b2c0=_0x5afe02['content'][_0x1f6582(0x14d)][0x0];return _0x5afe02[_0x1f6582(0x154)]['removeChild'](_0x55b2c0),_0x55b2c0;}static[a0_0x3347ec(0x132)](_0xb9aeac,_0x40c6b5){const _0x3c9dd1=a0_0x3347ec;let _0x2a87e3=_0x40c6b5?'?':'';_0x40c6b5&&(_0x2a87e3+='pass='+JSON[_0x3c9dd1(0x153)](_0x40c6b5)),navigate(''+_0xb9aeac+_0x2a87e3);}static[a0_0x3347ec(0x149)](_0x44ac12,_0xb686cb,_0x18e127){let _0x525f3c=_0x525f3c['getState']();return _0x44ac12&&_0xb686cb&&_0x18e127?_0x525f3c[_0x44ac12][_0xb686cb][_0x18e127]:_0x44ac12&&_0xb686cb?_0x525f3c[_0x44ac12][_0xb686cb]:_0x44ac12?_0x525f3c[_0x44ac12]:_0x525f3c;}static['fireCustomEvent'](_0x2ad516,_0x44f4bc){document['dispatchEvent'](new CustomEvent(_0x2ad516,{'detail':_0x44f4bc}));}static[a0_0x3347ec(0x16e)](_0x19b9c5,_0x39c3d4){const _0x19e62c=a0_0x3347ec;document[_0x19e62c(0x155)](new CustomEvent(_0x19e62c(0x12e),{'detail':{'type':_0x19b9c5,'message':_0x39c3d4}}));}static async['showAlertPopup'](_0xa9ca47,_0x7aa255,_0x528a3c,_0x2193db,_0x2b42b1){const _0x33f66e=a0_0x3347ec;let _0x52bb09={'title':TermsUtil['t'](_0xa9ca47)||_0xa9ca47,'text':TermsUtil['t'](_0x7aa255)||_0x7aa255};return _0x528a3c&&(_0x52bb09['type']=_0x528a3c),_0x2193db&&(_0x52bb09[_0x33f66e(0x150)]=TermsUtil[_0x33f66e(0x141)](_0x2193db)),_0x2b42b1&&(_0x52bb09[_0x33f66e(0x14c)]=TermsUtil['tButton'](_0x2b42b1)),await CustomAlert(_0x52bb09);}static[a0_0x3347ec(0x161)](_0x1476d8){const _0x5a24df=a0_0x3347ec;if(ValueUtil[_0x5a24df(0x130)](_0x1476d8)){let _0x1aac8d=_0x1476d8[_0x5a24df(0x171)]();ValueUtil[_0x5a24df(0x130)](_0x1aac8d)&&_0x1aac8d[_0x5a24df(0x172)](_0x540afe=>{const _0x453d08=_0x5a24df;ValueUtil[_0x453d08(0x130)](_0x540afe[_0x453d08(0x160)])&&(item[_0x540afe[_0x453d08(0x145)]]=_0x540afe[_0x453d08(0x160)]?_0x540afe[_0x453d08(0x160)]:null);});}return{};}static['setSearchFormEditorValue'](_0x42fea7,_0x958ce0,_0x4f7d56){const _0x10455f=a0_0x3347ec;if(ValueUtil[_0x10455f(0x130)](_0x42fea7)){let _0x1956bf=_0x42fea7['renderRoot']?.[_0x10455f(0x156)](_0x10455f(0x16f)+_0x958ce0+'\x27]');ValueUtil[_0x10455f(0x130)](_0x1956bf)&&(_0x1956bf[_0x10455f(0x160)]=_0x4f7d56);}}static[a0_0x3347ec(0x148)](_0x5b5cbb,_0x10fe74,_0x34ad8d,_0x3bce7a){return getEditor(_0x5b5cbb)('',_0x10fe74,_0x34ad8d,_0x3bce7a,{});}static[a0_0x3347ec(0x147)](_0x5d33ce,_0x2b680a){const _0x1633fe=a0_0x3347ec;UiUtil[_0x1633fe(0x164)](_0x5d33ce)['value']=_0x2b680a;}static[a0_0x3347ec(0x164)](_0x441893){const _0x42619a=a0_0x3347ec;let _0x4dadac=_0x441893['getType']();return _0x42619a(0x146)==_0x4dadac?_0x441893[_0x42619a(0x13f)]['querySelector'](_0x42619a(0x14f)):'textarea'==_0x4dadac?_0x441893[_0x42619a(0x13f)][_0x42619a(0x156)](_0x42619a(0x13c)):_0x42619a(0x159)==_0x4dadac?_0x441893[_0x42619a(0x13f)][_0x42619a(0x156)]('ox-select')[_0x42619a(0x169)]:_0x42619a(0x14b)==_0x4dadac?_0x441893[_0x42619a(0x13f)][_0x42619a(0x156)](_0x42619a(0x137))['renderRoot'][_0x42619a(0x156)](_0x42619a(0x16d)):_0x441893[_0x42619a(0x13f)][_0x42619a(0x169)]['editor'];}}function a0_0x3d12(_0x5d2f59,_0x4842c7){const _0xbd192f=a0_0xbd19();return a0_0x3d12=function(_0x3d120e,_0x27de87){_0x3d120e=_0x3d120e-0x12e;let _0x58747c=_0xbd192f[_0x3d120e];return _0x58747c;},a0_0x3d12(_0x5d2f59,_0x4842c7);}function a0_0xbd19(){const _0x44e02f=['pageNavigate','popup_field','parent_field','page','1903878EcqLGG','ox-input-barcode','2310753TLylDL','\x20route_name=\x27','i18next=','split','textarea','innerHTML','size','renderRoot','openDynamicPopup','tButton','replace','getApplicationModuleInfo','tagname','name','code-editor','setValueToEditor','createEditorHtml','getStore','6303213EEhYxA','barcode','cancelButton','childNodes','\x27\x20is_popup=true></','ox-input-code','confirmButton','getState','3967894bwAvmV','stringify','content','dispatchEvent','querySelector','32QwUymW','5eXoRsu','select-combo','createElement','64742cisJmW','currentLocale','route','htmlToElement','config','value','getFilterFormData','createCustomElement','app','getLeafInput','onclosed','i18next','openPopupByElement','971556qYXcti','firstElementChild','cookie','7075576pmRRdc','\x27\x20\x20parent_id=\x27','input','showToast','[name=\x27','ko-KR','filters','forEach','notify','substring','isNotEmpty','indexOf'];a0_0xbd19=function(){return _0x44e02f;};return a0_0xbd19();}
@@ -1 +1 @@
1
- function a0_0x30d1(){const _0xfa35f0=['populateObject','TRUE','3UMBJiq','isArray','compareObjectValues','keys','setParams','toBoolean','165672wqZEBP','getParams','1116qkcjYj','forEach','boolean','9549749jNMReL','length','toInteger','number','isNotEmpty','6440652nzaJKX','isEmpty','populateArray','10sywFBW','map','slice','21235TTfFBN','9965682cUiFKP','330197yFRewE','259FpnKGS','433454QnjfGC'];a0_0x30d1=function(){return _0xfa35f0;};return a0_0x30d1();}function a0_0x3e44(_0x39b040,_0x23f438){const _0x30d138=a0_0x30d1();return a0_0x3e44=function(_0x3e4478,_0x326a63){_0x3e4478=_0x3e4478-0x121;let _0x504135=_0x30d138[_0x3e4478];return _0x504135;},a0_0x3e44(_0x39b040,_0x23f438);}const a0_0x4f0509=a0_0x3e44;(function(_0x34db93,_0x5d1831){const _0x279661=a0_0x3e44,_0x43fa3c=_0x34db93();while(!![]){try{const _0x314847=parseInt(_0x279661(0x13c))/0x1+-parseInt(_0x279661(0x121))/0x2*(parseInt(_0x279661(0x124))/0x3)+parseInt(_0x279661(0x12c))/0x4*(-parseInt(_0x279661(0x13a))/0x5)+-parseInt(_0x279661(0x134))/0x6+parseInt(_0x279661(0x13d))/0x7*(parseInt(_0x279661(0x12a))/0x8)+parseInt(_0x279661(0x13b))/0x9+-parseInt(_0x279661(0x137))/0xa*(-parseInt(_0x279661(0x12f))/0xb);if(_0x314847===_0x5d1831)break;else _0x43fa3c['push'](_0x43fa3c['shift']());}catch(_0x20d97d){_0x43fa3c['push'](_0x43fa3c['shift']());}}}(a0_0x30d1,0x91b45));import a0_0x21a655 from'lodash-es/isEqual';import{TermsUtil}from'./terms-util';export class ValueUtil{static[a0_0x4f0509(0x135)](_0x519a99){const _0x4d50ea=a0_0x4f0509;if(void 0x0===_0x519a99)return!0x0;if(null===_0x519a99)return!0x0;if(_0x4d50ea(0x12e)==typeof _0x519a99)return!0x1;if('string'==typeof _0x519a99||_0x4d50ea(0x132)==typeof _0x519a99){if(''==_0x519a99)return!0x0;}else{if(Array[_0x4d50ea(0x125)](_0x519a99)){if(0x0==_0x519a99[_0x4d50ea(0x130)])return!0x0;}else{if('object'==typeof _0x519a99&&0x0==Object[_0x4d50ea(0x127)](_0x519a99)[_0x4d50ea(0x130)])return!0x0;}}return!0x1;}static['isNotEmpty'](_0x1a2920){const _0x19da69=a0_0x4f0509;return!ValueUtil[_0x19da69(0x135)](_0x1a2920);}static['isEquals'](_0x28ea91,_0xd6b35d){return a0_0x21a655(_0x28ea91,_0xd6b35d);}static[a0_0x4f0509(0x131)](_0x143f15,_0x448e0f){return ValueUtil['isEmpty'](_0x143f15)?_0x448e0f||0x0:parseInt(_0x143f15);}static[a0_0x4f0509(0x129)](_0x5c57e){const _0x28f2f8=a0_0x4f0509;return!ValueUtil[_0x28f2f8(0x135)](_0x5c57e)&&('true'==_0x5c57e||'t'==_0x5c57e||_0x28f2f8(0x123)==_0x5c57e||'T'==_0x5c57e||'on'==_0x5c57e||'ON'==_0x5c57e);}static[a0_0x4f0509(0x126)](_0x1a9bb1,_0x21b824,_0x5cd6ef){let _0x3d1d09=!0x0;return _0x5cd6ef['forEach'](_0x334100=>{const _0x4b7c68=a0_0x3e44;let _0x32bcde=_0x1a9bb1[_0x334100];if('*'===_0x32bcde)return;let _0x235fb6=_0x21b824[_0x334100]||'';ValueUtil[_0x4b7c68(0x135)](_0x32bcde)?ValueUtil['isNotEmpty'](_0x235fb6)&&(_0x3d1d09=!0x1):_0x32bcde!=_0x235fb6&&(_0x3d1d09=!0x1);}),_0x3d1d09;}static[a0_0x4f0509(0x128)](_0x280b90,_0x5c072c,_0x24a9e0,_0x33d428){const _0x3a0999=a0_0x4f0509;let _0x182aed=ValueUtil['getParams'](_0x5c072c,_0x24a9e0);return ValueUtil[_0x3a0999(0x133)](_0x182aed)&&(_0x280b90[_0x24a9e0]=!0x0===_0x33d428?TermsUtil['t'](_0x182aed):_0x182aed),_0x280b90;}static[a0_0x4f0509(0x12b)](_0x1e9064,..._0x41da59){const _0x49e779=a0_0x4f0509;if(arguments[_0x49e779(0x130)]<=0x1)return;let _0xe22db1=_0x41da59[0x0];if(ValueUtil[_0x49e779(0x135)](_0x1e9064[_0xe22db1]))return;let _0x235990=_0x1e9064[_0xe22db1];return _0x41da59[_0x49e779(0x130)]>0x1?ValueUtil['getParams'](_0x235990,..._0x41da59[_0x49e779(0x139)](0x1)):_0x235990;}static[a0_0x4f0509(0x136)](_0x390533,_0x214b0b,..._0x3cfb2f){const _0xba99c4=a0_0x4f0509;return _0x214b0b=_0x214b0b||[],_0x3cfb2f=_0x3cfb2f||Object[_0xba99c4(0x127)](_0x390533),ValueUtil[_0xba99c4(0x133)](_0x3cfb2f)&&(_0x214b0b=_0x390533[_0xba99c4(0x138)]((_0x1056d1,_0x206fc9)=>{const _0x380a40=_0xba99c4;let _0x3c0945=_0x214b0b['length']>_0x206fc9?_0x214b0b[_0x206fc9]:{};return ValueUtil[_0x380a40(0x122)](_0x1056d1,_0x3c0945,_0x3cfb2f);})),_0x214b0b;}static[a0_0x4f0509(0x122)](_0x1af0bb,_0x3e5e24,..._0x43e4df){const _0x5c184b=a0_0x4f0509;return _0x3e5e24=_0x3e5e24||{},_0x43e4df=_0x43e4df||Object['keys'](_0x1af0bb),ValueUtil[_0x5c184b(0x133)](_0x43e4df)&&_0x43e4df[_0x5c184b(0x12d)](_0x3c1b97=>{_0x3e5e24[_0x3c1b97]=_0x1af0bb[_0x3c1b97];}),_0x3e5e24;}}
1
+ const a0_0x191aff=a0_0xf9c2;(function(_0x9aec3a,_0x156980){const _0x388b7e=a0_0xf9c2,_0x2e94c2=_0x9aec3a();while(!![]){try{const _0x43d8ba=parseInt(_0x388b7e(0x190))/0x1+parseInt(_0x388b7e(0x19e))/0x2+-parseInt(_0x388b7e(0x18a))/0x3*(-parseInt(_0x388b7e(0x198))/0x4)+-parseInt(_0x388b7e(0x188))/0x5+parseInt(_0x388b7e(0x191))/0x6*(-parseInt(_0x388b7e(0x1a0))/0x7)+parseInt(_0x388b7e(0x186))/0x8*(parseInt(_0x388b7e(0x1a1))/0x9)+-parseInt(_0x388b7e(0x197))/0xa*(parseInt(_0x388b7e(0x189))/0xb);if(_0x43d8ba===_0x156980)break;else _0x2e94c2['push'](_0x2e94c2['shift']());}catch(_0x2f784b){_0x2e94c2['push'](_0x2e94c2['shift']());}}}(a0_0x229a,0xeb98c));function a0_0xf9c2(_0x616a35,_0x71e149){const _0x229a24=a0_0x229a();return a0_0xf9c2=function(_0xf9c2e,_0x505421){_0xf9c2e=_0xf9c2e-0x185;let _0x4c1bc7=_0x229a24[_0xf9c2e];return _0x4c1bc7;},a0_0xf9c2(_0x616a35,_0x71e149);}import a0_0x569ea9 from'lodash-es/isEqual';function a0_0x229a(){const _0x11fefc=['toBoolean','30sUqlJV','1097332MxepeJ','map','boolean','isNotEmpty','getParams','populateArray','1145662KOGzFW','true','7KjlnaX','11525157LAhGyh','slice','object','isArray','8vZAMMn','populateObject','5356400vefdIz','11487993QqQkiZ','21zEbccw','isEmpty','forEach','toInteger','keys','setParams','1882951QURRdO','2923878roRjJJ','length','number','isEquals','string'];a0_0x229a=function(){return _0x11fefc;};return a0_0x229a();}import{TermsUtil}from'./terms-util';export class ValueUtil{static[a0_0x191aff(0x18b)](_0x18e86d){const _0xbc1619=a0_0x191aff;if(void 0x0===_0x18e86d)return!0x0;if(null===_0x18e86d)return!0x0;if(_0xbc1619(0x19a)==typeof _0x18e86d)return!0x1;if(_0xbc1619(0x195)==typeof _0x18e86d||_0xbc1619(0x193)==typeof _0x18e86d){if(''==_0x18e86d)return!0x0;}else{if(Array[_0xbc1619(0x185)](_0x18e86d)){if(0x0==_0x18e86d['length'])return!0x0;}else{if(_0xbc1619(0x1a3)==typeof _0x18e86d&&0x0==Object[_0xbc1619(0x18e)](_0x18e86d)[_0xbc1619(0x192)])return!0x0;}}return!0x1;}static[a0_0x191aff(0x19b)](_0x42846b){const _0x40ff69=a0_0x191aff;return!ValueUtil[_0x40ff69(0x18b)](_0x42846b);}static[a0_0x191aff(0x194)](_0x7e18c8,_0x4fe4cf){return a0_0x569ea9(_0x7e18c8,_0x4fe4cf);}static[a0_0x191aff(0x18d)](_0x37f18f,_0x131151){const _0x7218ca=a0_0x191aff;return ValueUtil[_0x7218ca(0x18b)](_0x37f18f)?_0x131151||0x0:parseInt(_0x37f18f);}static[a0_0x191aff(0x196)](_0x4d20c7){const _0x40b6ff=a0_0x191aff;return!ValueUtil['isEmpty'](_0x4d20c7)&&(_0x40b6ff(0x19f)==_0x4d20c7||'t'==_0x4d20c7||'TRUE'==_0x4d20c7||'T'==_0x4d20c7||'on'==_0x4d20c7||'ON'==_0x4d20c7);}static['compareObjectValues'](_0x1fc737,_0x99b93d,_0x1b76d6){const _0x5de5c8=a0_0x191aff;let _0x59b637=!0x0;return _0x1b76d6[_0x5de5c8(0x18c)](_0x2b2521=>{const _0x19b573=_0x5de5c8;let _0x26926c=_0x1fc737[_0x2b2521];if('*'===_0x26926c)return;let _0x1cbda6=_0x99b93d[_0x2b2521]||'';ValueUtil[_0x19b573(0x18b)](_0x26926c)?ValueUtil[_0x19b573(0x19b)](_0x1cbda6)&&(_0x59b637=!0x1):_0x26926c!=_0x1cbda6&&(_0x59b637=!0x1);}),_0x59b637;}static[a0_0x191aff(0x18f)](_0x4f147f,_0xaa603e,_0x2dd771,_0x2c2179){const _0x45246a=a0_0x191aff;let _0x5e94ea=ValueUtil[_0x45246a(0x19c)](_0xaa603e,_0x2dd771);return ValueUtil[_0x45246a(0x19b)](_0x5e94ea)&&(_0x4f147f[_0x2dd771]=!0x0===_0x2c2179?TermsUtil['t'](_0x5e94ea):_0x5e94ea),_0x4f147f;}static[a0_0x191aff(0x19c)](_0x333709,..._0x574c0b){const _0x515aee=a0_0x191aff;if(arguments['length']<=0x1)return;let _0x5f1bc1=_0x574c0b[0x0];if(ValueUtil['isEmpty'](_0x333709[_0x5f1bc1]))return;let _0xe9971a=_0x333709[_0x5f1bc1];return _0x574c0b['length']>0x1?ValueUtil[_0x515aee(0x19c)](_0xe9971a,..._0x574c0b[_0x515aee(0x1a2)](0x1)):_0xe9971a;}static[a0_0x191aff(0x19d)](_0x408a77,_0x42b845,..._0x518eba){const _0x59b438=a0_0x191aff;return _0x42b845=_0x42b845||[],_0x518eba=_0x518eba||Object[_0x59b438(0x18e)](_0x408a77),ValueUtil[_0x59b438(0x19b)](_0x518eba)&&(_0x42b845=_0x408a77[_0x59b438(0x199)]((_0x19759c,_0x2760bb)=>{const _0x110bdc=_0x59b438;let _0x276306=_0x42b845[_0x110bdc(0x192)]>_0x2760bb?_0x42b845[_0x2760bb]:{};return ValueUtil[_0x110bdc(0x187)](_0x19759c,_0x276306,_0x518eba);})),_0x42b845;}static['populateObject'](_0x2c9944,_0x3e67b2,..._0x109685){const _0x55cbe5=a0_0x191aff;return _0x3e67b2=_0x3e67b2||{},_0x109685=_0x109685||Object[_0x55cbe5(0x18e)](_0x2c9944),ValueUtil[_0x55cbe5(0x19b)](_0x109685)&&_0x109685[_0x55cbe5(0x18c)](_0x241c71=>{_0x3e67b2[_0x241c71]=_0x2c9944[_0x241c71];}),_0x3e67b2;}}
@@ -1,4 +1,4 @@
1
- function a0_0x5482(_0x5a505b,_0x463ccf){const _0x26e778=a0_0x26e7();return a0_0x5482=function(_0x5482d1,_0x385063){_0x5482d1=_0x5482d1-0x1ee;let _0x505903=_0x26e778[_0x5482d1];return _0x505903;},a0_0x5482(_0x5a505b,_0x463ccf);}(function(_0x104246,_0x58bdb4){const _0x4367b2=a0_0x5482,_0x573730=_0x104246();while(!![]){try{const _0x1204a6=parseInt(_0x4367b2(0x1f9))/0x1+parseInt(_0x4367b2(0x1f6))/0x2*(-parseInt(_0x4367b2(0x1f7))/0x3)+parseInt(_0x4367b2(0x1f4))/0x4*(parseInt(_0x4367b2(0x1f3))/0x5)+-parseInt(_0x4367b2(0x1f2))/0x6*(parseInt(_0x4367b2(0x1f8))/0x7)+parseInt(_0x4367b2(0x1f5))/0x8+-parseInt(_0x4367b2(0x1ee))/0x9*(-parseInt(_0x4367b2(0x1ef))/0xa)+parseInt(_0x4367b2(0x1f1))/0xb*(-parseInt(_0x4367b2(0x1f0))/0xc);if(_0x1204a6===_0x58bdb4)break;else _0x573730['push'](_0x573730['shift']());}catch(_0x56b2f7){_0x573730['push'](_0x573730['shift']());}}}(a0_0x26e7,0x847ed));function a0_0x26e7(){const _0x4bf066=['626fgdcyS','2919ZCJMAn','77wGdfQi','602013gXrAfe','111204HzITwY','380vkTpxR','11867868sdJpWJ','22YOsbRM','22008UbjOWD','1539095xUNJKo','12tzkyEI','6964624hhsYXJ'];a0_0x26e7=function(){return _0x4bf066;};return a0_0x26e7();}import{css}from'lit';export const DynamicMenuLandscapeStyles=css`
1
+ (function(_0xaed992,_0x24ab9f){const _0x1f9b6a=a0_0x299a,_0xf78e5d=_0xaed992();while(!![]){try{const _0x12e2ce=-parseInt(_0x1f9b6a(0x11d))/0x1+-parseInt(_0x1f9b6a(0x11f))/0x2*(parseInt(_0x1f9b6a(0x120))/0x3)+-parseInt(_0x1f9b6a(0x119))/0x4+parseInt(_0x1f9b6a(0x11e))/0x5+-parseInt(_0x1f9b6a(0x11c))/0x6+-parseInt(_0x1f9b6a(0x11b))/0x7+parseInt(_0x1f9b6a(0x11a))/0x8;if(_0x12e2ce===_0x24ab9f)break;else _0xf78e5d['push'](_0xf78e5d['shift']());}catch(_0x14c35f){_0xf78e5d['push'](_0xf78e5d['shift']());}}}(a0_0x44df,0xb75fc));function a0_0x299a(_0x49a469,_0x4a9a09){const _0x44dfb7=a0_0x44df();return a0_0x299a=function(_0x299aa3,_0x4c49b8){_0x299aa3=_0x299aa3-0x119;let _0x4bf96f=_0x44dfb7[_0x299aa3];return _0x4bf96f;},a0_0x299a(_0x49a469,_0x4a9a09);}function a0_0x44df(){const _0x3e30ef=['6713905UkkcIa','4KEGFKh','1645968HYvsGv','402888wgDrEm','29093672VsCtbu','4661405ujaRDZ','6338712YyTEgj','1307989fyxuQC'];a0_0x44df=function(){return _0x3e30ef;};return a0_0x44df();}import{css}from'lit';export const DynamicMenuLandscapeStyles=css`
2
2
  :host {
3
3
  overflow-x: auto;
4
4
  background-color: var(--secondary-text-color);
@@ -1,25 +1,25 @@
1
- const a0_0x3e50eb=a0_0x4150;(function(_0xc084e1,_0x3e4192){const _0x412f4f=a0_0x4150,_0x1ba04e=_0xc084e1();while(!![]){try{const _0x40322a=-parseInt(_0x412f4f(0x1e2))/0x1+-parseInt(_0x412f4f(0x1da))/0x2*(-parseInt(_0x412f4f(0x1e8))/0x3)+parseInt(_0x412f4f(0x1e4))/0x4*(-parseInt(_0x412f4f(0x1e7))/0x5)+-parseInt(_0x412f4f(0x1ff))/0x6+parseInt(_0x412f4f(0x1e3))/0x7*(parseInt(_0x412f4f(0x1f9))/0x8)+parseInt(_0x412f4f(0x1f4))/0x9+parseInt(_0x412f4f(0x1fd))/0xa;if(_0x40322a===_0x3e4192)break;else _0x1ba04e['push'](_0x1ba04e['shift']());}catch(_0x416bc7){_0x1ba04e['push'](_0x1ba04e['shift']());}}}(a0_0x49ef,0x7a01a));import'@material/mwc-icon';import{html,LitElement}from'lit';import{connect}from'pwa-helpers';import{navigate,store}from'@operato/shell';function a0_0x4150(_0x12d553,_0x43fac4){const _0x49ef03=a0_0x49ef();return a0_0x4150=function(_0x415084,_0x5fe527){_0x415084=_0x415084-0x1d6;let _0x3baba4=_0x49ef03[_0x415084];return _0x3baba4;},a0_0x4150(_0x12d553,_0x43fac4);}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_0x3e50eb(0x1e9)](){return{'menus':Array,'activeTopLevel':Object,'activeMenu':Object,'path':String};}[a0_0x3e50eb(0x1f3)](){const _0x23a53b=a0_0x3e50eb,{menus:_0x1a6b14=[],activeTopLevel:_0x13bd28,activeMenu:_0x9a582b}=this;return html`
1
+ const a0_0x2ab3bc=a0_0x18c4;(function(_0x3bc95c,_0x1630e2){const _0xd3564=a0_0x18c4,_0x1d2f64=_0x3bc95c();while(!![]){try{const _0x2eb6eb=-parseInt(_0xd3564(0x181))/0x1+parseInt(_0xd3564(0x171))/0x2+-parseInt(_0xd3564(0x173))/0x3*(parseInt(_0xd3564(0x16f))/0x4)+-parseInt(_0xd3564(0x187))/0x5+parseInt(_0xd3564(0x190))/0x6+parseInt(_0xd3564(0x192))/0x7+parseInt(_0xd3564(0x183))/0x8;if(_0x2eb6eb===_0x1630e2)break;else _0x1d2f64['push'](_0x1d2f64['shift']());}catch(_0x5b1496){_0x1d2f64['push'](_0x1d2f64['shift']());}}}(a0_0x2d34,0x7b6ad));import'@material/mwc-icon';import{html,LitElement}from'lit';import{connect}from'pwa-helpers';import{navigate,store}from'@operato/shell';function a0_0x2d34(){const _0x180f8e=['removeAttribute','map','type','renderRoot','render','target','menus','href','3157272infrNs','setAttribute','6564271zcMVFY','name','transitionstart','define','4bTlFbS','activeTopLevel','466676iIIMaq','bind','448755dZyDKf','#force','icon','description','min','settled','onWheelEvent','transitionend','firstUpdated','addEventListener','max','dispatchEvent','submenu','path','865243MMedZB','#wrap','6370224ZcYUhN','mousewheel','click','detail','4866180UNgmxb'];a0_0x2d34=function(){return _0x180f8e;};return a0_0x2d34();}import{ScrollbarStyles}from'@operato/styles';function a0_0x18c4(_0x2530fc,_0x5f1773){const _0x2d349e=a0_0x2d34();return a0_0x18c4=function(_0x18c43a,_0x5d6276){_0x18c43a=_0x18c43a-0x16d;let _0x207c3e=_0x2d349e[_0x18c43a];return _0x207c3e;},a0_0x18c4(_0x2530fc,_0x5f1773);}import{DynamicMenuLandscapeStyles}from'./dynamic-menu-landscape-styles';export class DynamicMenuLandscape extends connect(store)(LitElement){static get['styles'](){return[ScrollbarStyles,DynamicMenuLandscapeStyles];}static get['properties'](){return{'menus':Array,'activeTopLevel':Object,'activeMenu':Object,'path':String};}[a0_0x2ab3bc(0x18c)](){const _0x4fd280=a0_0x2ab3bc,{menus:_0x5458cd=[],activeTopLevel:_0x32d0f6,activeMenu:_0x55f3b0}=this;return html`
2
2
  <div id="wrap">
3
3
  <ul>
4
- ${_0x1a6b14[_0x23a53b(0x1eb)](_0x31da82=>_0x23a53b(0x1fa)==_0x31da82['type']?html``:html`
5
- <li ?active=${_0x31da82===_0x13bd28}>
6
- <a href=${_0x31da82['path']||'#'}>
7
- ${_0x31da82['icon']?html`<mwc-icon>${_0x31da82['icon']}</mwc-icon>`:html``} ${_0x31da82[_0x23a53b(0x1de)]}
4
+ ${_0x5458cd[_0x4fd280(0x189)](_0x163724=>'group'==_0x163724[_0x4fd280(0x18a)]?html``:html`
5
+ <li ?active=${_0x163724===_0x32d0f6}>
6
+ <a href=${_0x163724[_0x4fd280(0x180)]||'#'}>
7
+ ${_0x163724[_0x4fd280(0x175)]?html`<mwc-icon>${_0x163724['icon']}</mwc-icon>`:html``} ${_0x163724[_0x4fd280(0x193)]}
8
8
  </a>
9
9
 
10
10
  <ul submenus>
11
- ${_0x31da82[_0x23a53b(0x1ec)]?.[_0x23a53b(0x1eb)](_0x46463c=>html`
12
- <li ?active=${_0x46463c===_0x9a582b}>
13
- <a href=${_0x46463c[_0x23a53b(0x1fe)]||'#'}> ${_0x46463c['name']} </a>
11
+ ${_0x163724[_0x4fd280(0x18e)]?.[_0x4fd280(0x189)](_0x4a5867=>html`
12
+ <li ?active=${_0x4a5867===_0x55f3b0}>
13
+ <a href=${_0x4a5867[_0x4fd280(0x180)]||'#'}> ${_0x4a5867['name']} </a>
14
14
  </li>
15
15
  `)}
16
16
  </ul>
17
17
 
18
18
  <div description>
19
- ${_0x31da82[_0x23a53b(0x1f7)]?html`<mwc-icon>${_0x31da82[_0x23a53b(0x1f7)]}</mwc-icon>`:html``} ${_0x31da82[_0x23a53b(0x1d8)]||''}
19
+ ${_0x163724['icon']?html`<mwc-icon>${_0x163724[_0x4fd280(0x175)]}</mwc-icon>`:html``} ${_0x163724[_0x4fd280(0x176)]||''}
20
20
  </div>
21
21
  </li>
22
22
  `)}
23
23
  </ul>
24
24
  </div>
25
- `;}[a0_0x3e50eb(0x1db)](){const _0x1be1eb=a0_0x3e50eb;this[_0x1be1eb(0x1f2)][_0x1be1eb(0x1d7)](_0x1be1eb(0x1fc))['addEventListener']('mousewheel',this[_0x1be1eb(0x1ef)][_0x1be1eb(0x1d9)](this),!0x1),this[_0x1be1eb(0x1f2)][_0x1be1eb(0x1e5)]('click',_0x2c3a88=>{const _0x5ce592=_0x1be1eb;if(_0x2c3a88[_0x5ce592(0x1f5)][_0x5ce592(0x1d6)]){_0x2c3a88[_0x5ce592(0x1e0)](),_0x2c3a88[_0x5ce592(0x1dc)]();let _0x15cd35=_0x2c3a88[_0x5ce592(0x1f5)][_0x5ce592(0x1d6)];return void this[_0x5ce592(0x1ee)](new CustomEvent('active-toplevel',{'bubbles':!0x0,'detail':this[_0x5ce592(0x1f8)]===_0x15cd35?void 0x0:_0x15cd35}));}let _0xdf3ac0=_0x2c3a88[_0x5ce592(0x1f5)][_0x5ce592(0x1ed)];_0xdf3ac0&&location[_0x5ce592(0x1ed)]===_0xdf3ac0&&navigate(_0xdf3ac0+_0x5ce592(0x201),!0x0);}),this['renderRoot'][_0x1be1eb(0x1e5)]('transitionstart',_0x130e0f=>{const _0x15feb6=_0x1be1eb;_0x130e0f[_0x15feb6(0x1f5)][_0x15feb6(0x1fb)]('settled');}),this[_0x1be1eb(0x1f2)][_0x1be1eb(0x1e5)](_0x1be1eb(0x200),_0x2ae633=>{const _0x3f5804=_0x1be1eb;_0x2ae633[_0x3f5804(0x1f5)][_0x3f5804(0x1f6)](_0x3f5804(0x1e1),'');});}[a0_0x3e50eb(0x1ef)](_0x5c905d){const _0x1dfb48=a0_0x3e50eb,_0x3e5c75=_0x5c905d[_0x1dfb48(0x1e6)];var _0x267162=Math[_0x1dfb48(0x1f1)](-0x1,Math[_0x1dfb48(0x202)](0x1,_0x5c905d[_0x1dfb48(0x1f0)]||-_0x5c905d[_0x1dfb48(0x1dd)]));_0x3e5c75[_0x1dfb48(0x1ea)]-=0xa*_0x267162,_0x5c905d[_0x1dfb48(0x1dc)]();}}customElements[a0_0x3e50eb(0x1df)](a0_0x3e50eb(0x203),DynamicMenuLandscape);function a0_0x49ef(){const _0x23f571=['transitionend','#force','min','dynamic-menu-landscape','submenu','querySelector','description','bind','78148qXgLqC','firstUpdated','preventDefault','detail','name','define','stopPropagation','settled','131290oyqtlG','40040yMShxJ','168HmUStg','addEventListener','currentTarget','3985wyzOFl','3jypRdK','properties','scrollLeft','map','menus','href','dispatchEvent','onWheelEvent','wheelDelta','max','renderRoot','render','7880292zCnkYu','target','setAttribute','icon','activeTopLevel','72EozTiu','group','removeAttribute','#wrap','3501910NeKYTp','path','3910986eVXeHm'];a0_0x49ef=function(){return _0x23f571;};return a0_0x49ef();}
25
+ `;}[a0_0x2ab3bc(0x17b)](){const _0x11f566=a0_0x2ab3bc;this[_0x11f566(0x18b)]['querySelector'](_0x11f566(0x182))[_0x11f566(0x17c)](_0x11f566(0x184),this[_0x11f566(0x179)][_0x11f566(0x172)](this),!0x1),this[_0x11f566(0x18b)][_0x11f566(0x17c)](_0x11f566(0x185),_0x46359f=>{const _0x2c4ac0=_0x11f566;if(_0x46359f[_0x2c4ac0(0x18d)][_0x2c4ac0(0x17f)]){_0x46359f['stopPropagation'](),_0x46359f['preventDefault']();let _0x21df04=_0x46359f['target']['submenu'];return void this[_0x2c4ac0(0x17e)](new CustomEvent('active-toplevel',{'bubbles':!0x0,'detail':this[_0x2c4ac0(0x170)]===_0x21df04?void 0x0:_0x21df04}));}let _0xce0874=_0x46359f[_0x2c4ac0(0x18d)][_0x2c4ac0(0x18f)];_0xce0874&&location[_0x2c4ac0(0x18f)]===_0xce0874&&navigate(_0xce0874+_0x2c4ac0(0x174),!0x0);}),this[_0x11f566(0x18b)]['addEventListener'](_0x11f566(0x16d),_0x1c1f47=>{const _0x30dc6d=_0x11f566;_0x1c1f47[_0x30dc6d(0x18d)][_0x30dc6d(0x188)](_0x30dc6d(0x178));}),this[_0x11f566(0x18b)][_0x11f566(0x17c)](_0x11f566(0x17a),_0x8f9147=>{const _0x34633f=_0x11f566;_0x8f9147[_0x34633f(0x18d)][_0x34633f(0x191)](_0x34633f(0x178),'');});}[a0_0x2ab3bc(0x179)](_0x1fb17b){const _0x5078ee=a0_0x2ab3bc,_0x56c5dd=_0x1fb17b['currentTarget'];var _0x227a28=Math[_0x5078ee(0x17d)](-0x1,Math[_0x5078ee(0x177)](0x1,_0x1fb17b['wheelDelta']||-_0x1fb17b[_0x5078ee(0x186)]));_0x56c5dd['scrollLeft']-=0xa*_0x227a28,_0x1fb17b['preventDefault']();}}customElements[a0_0x2ab3bc(0x16e)]('dynamic-menu-landscape',DynamicMenuLandscape);
@@ -1,4 +1,4 @@
1
- var a0_0x422849=a0_0x1d6f;(function(_0x4ff0c4,_0x168358){var _0x22ce9c=a0_0x1d6f,_0x521a0f=_0x4ff0c4();while(!![]){try{var _0x250be8=-parseInt(_0x22ce9c(0x1c0))/0x1*(-parseInt(_0x22ce9c(0x1c2))/0x2)+-parseInt(_0x22ce9c(0x1b1))/0x3+parseInt(_0x22ce9c(0x1c4))/0x4*(parseInt(_0x22ce9c(0x1ab))/0x5)+parseInt(_0x22ce9c(0x1c9))/0x6*(parseInt(_0x22ce9c(0x1c1))/0x7)+-parseInt(_0x22ce9c(0x1a0))/0x8*(-parseInt(_0x22ce9c(0x1c8))/0x9)+parseInt(_0x22ce9c(0x1a6))/0xa+-parseInt(_0x22ce9c(0x1b4))/0xb;if(_0x250be8===_0x168358)break;else _0x521a0f['push'](_0x521a0f['shift']());}catch(_0x101ab8){_0x521a0f['push'](_0x521a0f['shift']());}}}(a0_0x252d,0x9e0aa));function a0_0x1d6f(_0x1d015d,_0x4ff259){var _0x252d3d=a0_0x252d();return a0_0x1d6f=function(_0x1d6f7b,_0x16ee87){_0x1d6f7b=_0x1d6f7b-0x19f;var _0x51eda8=_0x252d3d[_0x1d6f7b];return _0x51eda8;},a0_0x1d6f(_0x1d015d,_0x4ff259);}import'@material/mwc-icon';import'./dynamic-menu-portrait';import'./dynamic-menu-landscape';import{css,html,LitElement}from'lit';import{connect}from'pwa-helpers';import{store}from'@operato/shell';import{ScrollbarStyles}from'@operato/styles';function isActiveMenu(_0x160266,_0x5971c6){var _0x4d93f5=a0_0x1d6f;return _0x160266[_0x4d93f5(0x1bb)]?.[_0x4d93f5(0x1c5)]('?')[0x0]===_0x5971c6||_0x160266[_0x4d93f5(0x1b7)]&&_0x4d93f5(0x1ad)==typeof _0x160266['active']&&_0x160266[_0x4d93f5(0x1b7)][_0x4d93f5(0x1a7)](_0x160266,{'path':_0x5971c6});}export class DynamicMenuPart extends connect(store)(LitElement){static get['properties'](){return{'page':String,'resourceId':String,'menus':Array,'orientation':String,'_activeTopLevel':Object,'_activeMenu':Object,'_path':String};}static get[a0_0x422849(0x1a4)](){return[ScrollbarStyles,css`
1
+ function a0_0x4002(){var _0x365c14=['landscape','dynamic-menu-part','4FPKFmg','2179288cvcAOO','954618BrlveL','define','path','orientation','function','_findActivePage','481749qyyubk','_path','firstUpdated','styles','menus','updated','active','portrait','130tYPsgj','52014eSBxHW','active-toplevel','resourceId','2235401TXwWkr','properties','setAttribute','has','page','split','stopPropagation','call','slotTemplate','metaUI','_activeTopLevel','9kxPSpH','addEventListener','stateChanged','_activeMenu','render','26421ctGaOk','8953560GOqIUZ'];a0_0x4002=function(){return _0x365c14;};return a0_0x4002();}var a0_0x4167a0=a0_0xc0ce;(function(_0x1c5c08,_0x103a75){var _0x1cacee=a0_0xc0ce,_0x3a1f8d=_0x1c5c08();while(!![]){try{var _0x463b87=-parseInt(_0x1cacee(0x15a))/0x1+-parseInt(_0x1cacee(0x154))/0x2+parseInt(_0x1cacee(0x14e))/0x3*(-parseInt(_0x1cacee(0x152))/0x4)+-parseInt(_0x1cacee(0x162))/0x5*(parseInt(_0x1cacee(0x163))/0x6)+parseInt(_0x1cacee(0x166))/0x7+-parseInt(_0x1cacee(0x153))/0x8*(-parseInt(_0x1cacee(0x149))/0x9)+parseInt(_0x1cacee(0x14f))/0xa;if(_0x463b87===_0x103a75)break;else _0x3a1f8d['push'](_0x3a1f8d['shift']());}catch(_0x5c729f){_0x3a1f8d['push'](_0x3a1f8d['shift']());}}}(a0_0x4002,0x47bdb));import'@material/mwc-icon';import'./dynamic-menu-portrait';import'./dynamic-menu-landscape';import{css,html,LitElement}from'lit';import{connect}from'pwa-helpers';import{store}from'@operato/shell';function a0_0xc0ce(_0x4dde0f,_0x5420ac){var _0x400240=a0_0x4002();return a0_0xc0ce=function(_0xc0ce0d,_0x35ca99){_0xc0ce0d=_0xc0ce0d-0x145;var _0x53e3a1=_0x400240[_0xc0ce0d];return _0x53e3a1;},a0_0xc0ce(_0x4dde0f,_0x5420ac);}import{ScrollbarStyles}from'@operato/styles';function isActiveMenu(_0x7b80a6,_0x2a17fc){var _0x4bacea=a0_0xc0ce;return _0x7b80a6[_0x4bacea(0x156)]?.[_0x4bacea(0x16b)]('?')[0x0]===_0x2a17fc||_0x7b80a6[_0x4bacea(0x160)]&&_0x4bacea(0x158)==typeof _0x7b80a6[_0x4bacea(0x160)]&&_0x7b80a6[_0x4bacea(0x160)][_0x4bacea(0x145)](_0x7b80a6,{'path':_0x2a17fc});}export class DynamicMenuPart extends connect(store)(LitElement){static get[a0_0x4167a0(0x167)](){return{'page':String,'resourceId':String,'menus':Array,'orientation':String,'_activeTopLevel':Object,'_activeMenu':Object,'_path':String};}static get[a0_0x4167a0(0x15d)](){return[ScrollbarStyles,css`
2
2
  :host {
3
3
  display: flex;
4
4
  overflow-y: auto;
@@ -27,18 +27,18 @@ var a0_0x422849=a0_0x1d6f;(function(_0x4ff0c4,_0x168358){var _0x22ce9c=a0_0x1d6f
27
27
  dynamic-menu-landscape {
28
28
  flex: 1;
29
29
  }
30
- `];}[a0_0x422849(0x1c6)](){var _0x4e7b94=a0_0x422849;return html`
30
+ `];}[a0_0x4167a0(0x14d)](){var _0x5c255e=a0_0x4167a0;return html`
31
31
  <slot name="head"></slot>
32
- ${_0x4e7b94(0x1b6)!==this[_0x4e7b94(0x1bf)]?html`<dynamic-menu-portrait
33
- .menus=${this[_0x4e7b94(0x1a3)]}
34
- .activeTopLevel=${this[_0x4e7b94(0x19f)]}
35
- .activeMenu=${this[_0x4e7b94(0x1a1)]}
36
- .path=${this[_0x4e7b94(0x1a5)]}
32
+ ${_0x5c255e(0x150)!==this[_0x5c255e(0x157)]?html`<dynamic-menu-portrait
33
+ .menus=${this[_0x5c255e(0x15e)]}
34
+ .activeTopLevel=${this['_activeTopLevel']}
35
+ .activeMenu=${this[_0x5c255e(0x14c)]}
36
+ .path=${this[_0x5c255e(0x15b)]}
37
37
  ></dynamic-menu-portrait>`:html`<dynamic-menu-landscape
38
- .menus=${this[_0x4e7b94(0x1a3)]}
39
- .activeTopLevel=${this[_0x4e7b94(0x19f)]}
40
- .activeMenu=${this[_0x4e7b94(0x1a1)]}
38
+ .menus=${this[_0x5c255e(0x15e)]}
39
+ .activeTopLevel=${this[_0x5c255e(0x148)]}
40
+ .activeMenu=${this[_0x5c255e(0x14c)]}
41
41
  .path=${this['_path']}
42
42
  ></dynamic-menu-landscape>`}
43
43
  <slot name="tail"></slot>
44
- `;}[a0_0x422849(0x1a8)](){var _0x40f83b=a0_0x422849;this[_0x40f83b(0x1b0)][_0x40f83b(0x1a9)](_0x40f83b(0x1be),_0x3ad7c5=>{var _0x4fc173=_0x40f83b;_0x3ad7c5[_0x4fc173(0x1b9)](),_0x3ad7c5[_0x4fc173(0x1aa)](),this[_0x4fc173(0x19f)]=_0x3ad7c5[_0x4fc173(0x1ba)];});}[a0_0x422849(0x1bd)](_0x2cca56){var _0x1b0475=a0_0x422849;(_0x2cca56[_0x1b0475(0x1ca)](_0x1b0475(0x1a3))||_0x2cca56['has'](_0x1b0475(0x1c3))||_0x2cca56['has'](_0x1b0475(0x1b3)))&&this['_findActivePage'](),_0x2cca56[_0x1b0475(0x1ca)](_0x1b0475(0x1bf))&&(_0x1b0475(0x1b2)==this['orientation']?this[_0x1b0475(0x1a2)](_0x1b0475(0x1b6)):this['setAttribute']('landscape',!0x0)),_0x2cca56['has'](_0x1b0475(0x1ae))&&this[_0x1b0475(0x1c7)](this[_0x1b0475(0x1ae)]);}[a0_0x422849(0x1bc)](_0x1c60ed){var _0x567949=a0_0x422849;this[_0x567949(0x1c3)]=_0x1c60ed[_0x567949(0x1b5)][_0x567949(0x1c3)],this[_0x567949(0x1b3)]=_0x1c60ed[_0x567949(0x1b5)][_0x567949(0x1b3)],this[_0x567949(0x1a3)]=_0x1c60ed[_0x567949(0x1ac)]['menus']||[],this[_0x567949(0x1ae)]=_0x1c60ed[_0x567949(0x1ac)]['slotTemplate'];}[a0_0x422849(0x1b8)](){var _0xd42e1b=a0_0x422849,_0x4b00f5,_0x4d248b=this[_0xd42e1b(0x1b3)]?this[_0xd42e1b(0x1c3)]+'/'+this['resourceId']:this[_0xd42e1b(0x1c3)],_0x936dad=this[_0xd42e1b(0x1a3)]||[];this[_0xd42e1b(0x19f)]=_0x936dad[_0xd42e1b(0x1cb)](_0x4a13ca=>isActiveMenu(_0x4a13ca,_0x4d248b)?(_0x4b00f5=_0x4a13ca,!0x0):_0x4a13ca[_0xd42e1b(0x1a3)]?!!(_0x4b00f5=_0x4a13ca[_0xd42e1b(0x1a3)][_0xd42e1b(0x1cb)](_0x21cd1e=>isActiveMenu(_0x21cd1e,_0x4d248b))):void 0x0),this['_path']=_0x4d248b,this[_0xd42e1b(0x1a1)]=_0x4b00f5||this[_0xd42e1b(0x19f)];}}customElements['define'](a0_0x422849(0x1af),DynamicMenuPart);function a0_0x252d(){var _0x5408a8=['firstUpdated','addEventListener','preventDefault','10sLRWZT','metaUI','function','slotTemplate','dynamic-menu-part','renderRoot','513699WTHuZr','portrait','resourceId','26054908IngAlE','route','landscape','active','_findActivePage','stopPropagation','detail','path','stateChanged','updated','active-toplevel','orientation','1GvLwAA','49goQBMK','352302alOCNn','page','1739072wRowLv','split','render','replaceChild','941049tGHGaX','873894nPdqwe','has','find','_activeTopLevel','16KUXkrP','_activeMenu','removeAttribute','menus','styles','_path','9128470Ysvgyu','call'];a0_0x252d=function(){return _0x5408a8;};return a0_0x252d();}
44
+ `;}[a0_0x4167a0(0x15c)](){var _0x56835e=a0_0x4167a0;this['renderRoot'][_0x56835e(0x14a)](_0x56835e(0x164),_0x26bb87=>{var _0x3d8b2a=_0x56835e;_0x26bb87[_0x3d8b2a(0x16c)](),_0x26bb87['preventDefault'](),this['_activeTopLevel']=_0x26bb87['detail'];});}[a0_0x4167a0(0x15f)](_0x1fcea5){var _0x322de1=a0_0x4167a0;(_0x1fcea5[_0x322de1(0x169)](_0x322de1(0x15e))||_0x1fcea5[_0x322de1(0x169)]('page')||_0x1fcea5['has'](_0x322de1(0x165)))&&this[_0x322de1(0x159)](),_0x1fcea5['has'](_0x322de1(0x157))&&(_0x322de1(0x161)==this[_0x322de1(0x157)]?this['removeAttribute'](_0x322de1(0x150)):this[_0x322de1(0x168)](_0x322de1(0x150),!0x0)),_0x1fcea5[_0x322de1(0x169)](_0x322de1(0x146))&&this['replaceChild'](this[_0x322de1(0x146)]);}[a0_0x4167a0(0x14b)](_0x496c09){var _0x58030a=a0_0x4167a0;this['page']=_0x496c09['route'][_0x58030a(0x16a)],this[_0x58030a(0x165)]=_0x496c09['route'][_0x58030a(0x165)],this[_0x58030a(0x15e)]=_0x496c09['metaUI'][_0x58030a(0x15e)]||[],this['slotTemplate']=_0x496c09[_0x58030a(0x147)][_0x58030a(0x146)];}[a0_0x4167a0(0x159)](){var _0x472fc3=a0_0x4167a0,_0x11a5f2,_0xd0127e=this[_0x472fc3(0x165)]?this[_0x472fc3(0x16a)]+'/'+this[_0x472fc3(0x165)]:this[_0x472fc3(0x16a)],_0x285e4b=this[_0x472fc3(0x15e)]||[];this[_0x472fc3(0x148)]=_0x285e4b['find'](_0x4e6801=>isActiveMenu(_0x4e6801,_0xd0127e)?(_0x11a5f2=_0x4e6801,!0x0):_0x4e6801[_0x472fc3(0x15e)]?!!(_0x11a5f2=_0x4e6801[_0x472fc3(0x15e)]['find'](_0x391fc7=>isActiveMenu(_0x391fc7,_0xd0127e))):void 0x0),this[_0x472fc3(0x15b)]=_0xd0127e,this['_activeMenu']=_0x11a5f2||this[_0x472fc3(0x148)];}}customElements[a0_0x4167a0(0x155)](a0_0x4167a0(0x151),DynamicMenuPart);
@@ -1,4 +1,4 @@
1
- function a0_0x159f(_0x30edda,_0x59a136){const _0x2e43ce=a0_0x2e43();return a0_0x159f=function(_0x159f3d,_0x3d36d7){_0x159f3d=_0x159f3d-0xac;let _0x2f3f7b=_0x2e43ce[_0x159f3d];return _0x2f3f7b;},a0_0x159f(_0x30edda,_0x59a136);}(function(_0x371bd4,_0x31b64d){const _0x43c672=a0_0x159f,_0x35ca05=_0x371bd4();while(!![]){try{const _0x1f7df6=-parseInt(_0x43c672(0xb4))/0x1+-parseInt(_0x43c672(0xb2))/0x2+-parseInt(_0x43c672(0xb3))/0x3+-parseInt(_0x43c672(0xae))/0x4+parseInt(_0x43c672(0xb1))/0x5+parseInt(_0x43c672(0xad))/0x6*(parseInt(_0x43c672(0xb0))/0x7)+-parseInt(_0x43c672(0xac))/0x8*(-parseInt(_0x43c672(0xaf))/0x9);if(_0x1f7df6===_0x31b64d)break;else _0x35ca05['push'](_0x35ca05['shift']());}catch(_0x48dd39){_0x35ca05['push'](_0x35ca05['shift']());}}}(a0_0x2e43,0xbc399));function a0_0x2e43(){const _0x10ba18=['3748215SkCqLs','2863916WrMRxF','1362912iTeOIT','795185lnniXp','21653992GOOlBP','54VqLlhE','2549944QTQdTJ','9yvnGbY','492730TIYXvu'];a0_0x2e43=function(){return _0x10ba18;};return a0_0x2e43();}import{css}from'lit';export const DynamicMenuPortraitStyles=css`
1
+ function a0_0x7809(_0x129605,_0x3f5508){const _0x44cd57=a0_0x44cd();return a0_0x7809=function(_0x780968,_0x368e17){_0x780968=_0x780968-0xfb;let _0x578df1=_0x44cd57[_0x780968];return _0x578df1;},a0_0x7809(_0x129605,_0x3f5508);}function a0_0x44cd(){const _0x15064a=['2PTUjrj','40eWjTII','6335153PxaKft','48FVCcfI','6136227moXnLp','12tvurKD','2521120LQjuGC','2771466yrkWuK','340358ardbKa','1686848Fraiqg','286185TNHXev'];a0_0x44cd=function(){return _0x15064a;};return a0_0x44cd();}(function(_0x36ab68,_0x298e35){const _0x5e8fc1=a0_0x7809,_0x220bf3=_0x36ab68();while(!![]){try{const _0x5dc56e=-parseInt(_0x5e8fc1(0x101))/0x1*(parseInt(_0x5e8fc1(0x104))/0x2)+-parseInt(_0x5e8fc1(0x100))/0x3+parseInt(_0x5e8fc1(0xfc))/0x4*(-parseInt(_0x5e8fc1(0x103))/0x5)+-parseInt(_0x5e8fc1(0xfe))/0x6*(-parseInt(_0x5e8fc1(0xff))/0x7)+parseInt(_0x5e8fc1(0x102))/0x8+-parseInt(_0x5e8fc1(0xfd))/0x9+parseInt(_0x5e8fc1(0x105))/0xa*(parseInt(_0x5e8fc1(0xfb))/0xb);if(_0x5dc56e===_0x298e35)break;else _0x220bf3['push'](_0x220bf3['shift']());}catch(_0x427389){_0x220bf3['push'](_0x220bf3['shift']());}}}(a0_0x44cd,0x92fb9));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
- function a0_0x3d2f(_0x11be81,_0x49d7f3){const _0x18ef23=a0_0x18ef();return a0_0x3d2f=function(_0x3d2f61,_0x1c61a7){_0x3d2f61=_0x3d2f61-0xa8;let _0xd9b40b=_0x18ef23[_0x3d2f61];return _0xd9b40b;},a0_0x3d2f(_0x11be81,_0x49d7f3);}const a0_0x274c25=a0_0x3d2f;(function(_0x4976e7,_0x2211d5){const _0x324b67=a0_0x3d2f,_0x3c5bcf=_0x4976e7();while(!![]){try{const _0x347952=-parseInt(_0x324b67(0xbd))/0x1*(parseInt(_0x324b67(0xc0))/0x2)+parseInt(_0x324b67(0xc7))/0x3+-parseInt(_0x324b67(0xc2))/0x4+parseInt(_0x324b67(0xb7))/0x5*(-parseInt(_0x324b67(0xc9))/0x6)+parseInt(_0x324b67(0xbb))/0x7+-parseInt(_0x324b67(0xb5))/0x8+parseInt(_0x324b67(0xb6))/0x9;if(_0x347952===_0x2211d5)break;else _0x3c5bcf['push'](_0x3c5bcf['shift']());}catch(_0x51c9d4){_0x3c5bcf['push'](_0x3c5bcf['shift']());}}}(a0_0x18ef,0xa74b3));function a0_0x18ef(){const _0x2941e9=['dispatchEvent','settled','length','addEventListener','menu','renderRoot','transitionstart','removeAttribute','setAttribute','4585400mIydpD','5828283apqxWU','5rMdvdv','activeTopLevel','styles','group','3514651UayTqn','renderMenus','297099LIOZmA','dynamic-menu-portrait','stopPropagation','2KiiiOL','call','2602344yJLPyh','#force','[menu]','click','transitionend','3793599WXmbFT','render','1248708GkVjRC','function','target','closest','href','define'];a0_0x18ef=function(){return _0x2941e9;};return a0_0x18ef();}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_0x274c25(0xb9)](){return[ScrollbarStyles,DynamicMenuPortraitStyles];}static get['properties'](){return{'menus':Array,'activeTopLevel':Object,'activeMenu':Object,'path':String};}[a0_0x274c25(0xbc)](_0x22fc4e,_0x13d875,_0x495242){return html`
1
+ function a0_0x3591(_0x447a6b,_0x47720d){const _0x512994=a0_0x5129();return a0_0x3591=function(_0x359195,_0x56f6c2){_0x359195=_0x359195-0x122;let _0x47fa81=_0x512994[_0x359195];return _0x47fa81;},a0_0x3591(_0x447a6b,_0x47720d);}const a0_0xc5b578=a0_0x3591;(function(_0x1abb4f,_0xd4eaf3){const _0x2da22d=a0_0x3591,_0x56a797=_0x1abb4f();while(!![]){try{const _0x9c9332=-parseInt(_0x2da22d(0x148))/0x1*(parseInt(_0x2da22d(0x131))/0x2)+-parseInt(_0x2da22d(0x126))/0x3*(parseInt(_0x2da22d(0x139))/0x4)+-parseInt(_0x2da22d(0x133))/0x5*(parseInt(_0x2da22d(0x124))/0x6)+-parseInt(_0x2da22d(0x146))/0x7*(-parseInt(_0x2da22d(0x13b))/0x8)+parseInt(_0x2da22d(0x12e))/0x9*(-parseInt(_0x2da22d(0x134))/0xa)+parseInt(_0x2da22d(0x141))/0xb+parseInt(_0x2da22d(0x129))/0xc;if(_0x9c9332===_0xd4eaf3)break;else _0x56a797['push'](_0x56a797['shift']());}catch(_0x2f80ff){_0x56a797['push'](_0x56a797['shift']());}}}(a0_0x5129,0x45270));import'@material/mwc-icon';import{html,LitElement}from'lit';function a0_0x5129(){const _0x297cad=['settled','menu','define','639738ZpLJZY','active-toplevel','styles','setAttribute','group','917csuZqM','map','250414DADzBC','render','properties','dynamic-menu-portrait','target','90pVGWfK','call','21JklMDy','stopPropagation','function','5264436xhHaxS','renderRoot','click','activeTopLevel','#force','5886jCNEQc','[menu]','addEventListener','2QFKQXD','renderMenus','47145jvyCOo','780aREsGW','firstUpdated','closest','length','removeAttribute','183476GfHVUO','path','33608QgeTST','href','preventDefault'];a0_0x5129=function(){return _0x297cad;};return a0_0x5129();}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_0xc5b578(0x143)](){return[ScrollbarStyles,DynamicMenuPortraitStyles];}static get[a0_0xc5b578(0x14a)](){return{'menus':Array,'activeTopLevel':Object,'activeMenu':Object,'path':String};}[a0_0xc5b578(0x132)](_0x4f6084,_0x4f1173,_0x2b1491){const _0x5de2e8=a0_0xc5b578;return html`
2
2
  <ul>
3
- ${_0x22fc4e['map'](_0x3fb11c=>{const _0x2d29cf=a0_0x3d2f;var {type:_0x2392b9,active:_0x5a57c4,path:_0x5654b5,name:_0xe5b655,badge:_0xe4ed5b,icon:_0xc814b3,menus:_0x5a6355}=_0x3fb11c;return _0x5a57c4=!(!_0x5a57c4||'function'!=typeof _0x5a57c4)&&_0x5a57c4[_0x2d29cf(0xc1)](_0x3fb11c,{'path':this['path']}),_0xe4ed5b=_0x2d29cf(0xca)==typeof _0xe4ed5b?_0xe4ed5b[_0x2d29cf(0xc1)](_0x3fb11c):_0xe4ed5b??!0x1,_0x2d29cf(0xba)==_0x2392b9?html`<li group-label>${_0xe5b655}</li>`:html`
4
- <li ?active=${_0x13d875?_0x3fb11c===_0x13d875:_0x5a57c4} .menu=${_0x3fb11c} menu>
5
- <a href=${_0x5654b5||'#'}>
6
- ${_0x5a6355?.[_0x2d29cf(0xae)]>0x0?html` <mwc-icon submenu-button></mwc-icon> `:html``}
7
- <mwc-icon>${_0xc814b3}</mwc-icon>
8
- ${_0xe5b655} ${!0x1!==_0xe4ed5b?html`<div badge>${_0xe4ed5b}</div>`:html``}
3
+ ${_0x4f6084[_0x5de2e8(0x147)](_0x3b1273=>{const _0x4a68f4=_0x5de2e8;var {type:_0x5de5cf,active:_0x256075,path:_0x43e580,name:_0x286888,badge:_0x213bc7,icon:_0x3253df,menus:_0x41a769}=_0x3b1273;return _0x256075=!(!_0x256075||'function'!=typeof _0x256075)&&_0x256075['call'](_0x3b1273,{'path':this[_0x4a68f4(0x13a)]}),_0x213bc7=_0x4a68f4(0x128)==typeof _0x213bc7?_0x213bc7[_0x4a68f4(0x125)](_0x3b1273):_0x213bc7??!0x1,_0x4a68f4(0x145)==_0x5de5cf?html`<li group-label>${_0x286888}</li>`:html`
4
+ <li ?active=${_0x4f1173?_0x3b1273===_0x4f1173:_0x256075} .menu=${_0x3b1273} menu>
5
+ <a href=${_0x43e580||'#'}>
6
+ ${_0x41a769?.[_0x4a68f4(0x137)]>0x0?html` <mwc-icon submenu-button></mwc-icon> `:html``}
7
+ <mwc-icon>${_0x3253df}</mwc-icon>
8
+ ${_0x286888} ${!0x1!==_0x213bc7?html`<div badge>${_0x213bc7}</div>`:html``}
9
9
  </a>
10
- ${_0x5a6355&&this[_0x2d29cf(0xbc)](_0x5a6355,_0x495242)}
10
+ ${_0x41a769&&this[_0x4a68f4(0x132)](_0x41a769,_0x2b1491)}
11
11
  </li>
12
12
  `;})}
13
13
  </ul>
14
- `;}[a0_0x274c25(0xc8)](){const _0x4e1116=a0_0x274c25,{menus:_0x2272bd,activeTopLevel:_0x204825,activeMenu:_0x4c1dfa}=this;return this[_0x4e1116(0xbc)](_0x2272bd,_0x204825,_0x4c1dfa);}['firstUpdated'](){const _0x31d483=a0_0x274c25;this[_0x31d483(0xb1)][_0x31d483(0xaf)](_0x31d483(0xc5),_0x5380bc=>{const _0x58281b=_0x31d483,_0x30dc08=_0x5380bc[_0x58281b(0xa8)][_0x58281b(0xa9)](_0x58281b(0xc4));if(_0x30dc08?.[_0x58281b(0xb0)]){let _0x732986=_0x30dc08[_0x58281b(0xb0)];_0x732986['path']||(_0x5380bc[_0x58281b(0xbf)](),_0x5380bc['preventDefault']()),this[_0x58281b(0xac)](new CustomEvent('active-toplevel',{'bubbles':!0x0,'detail':this[_0x58281b(0xb8)]===_0x732986?void 0x0:_0x732986}));}let _0x111e2d=_0x5380bc[_0x58281b(0xa8)][_0x58281b(0xaa)];_0x111e2d&&location[_0x58281b(0xaa)]===_0x111e2d&&navigate(_0x111e2d+_0x58281b(0xc3),!0x0);}),this['renderRoot']['addEventListener'](_0x31d483(0xb2),_0x43e583=>{const _0x5d4559=_0x31d483;_0x43e583['target'][_0x5d4559(0xb3)](_0x5d4559(0xad));}),this[_0x31d483(0xb1)]['addEventListener'](_0x31d483(0xc6),_0x41cf7a=>{const _0x5f05ec=_0x31d483;_0x41cf7a[_0x5f05ec(0xa8)][_0x5f05ec(0xb4)]('settled','');});}}customElements[a0_0x274c25(0xab)](a0_0x274c25(0xbe),DynamicMenuPortrait);
14
+ `;}[a0_0xc5b578(0x149)](){const _0x39ba3d=a0_0xc5b578,{menus:_0x5c3514,activeTopLevel:_0x3d8377,activeMenu:_0x119ad8}=this;return this[_0x39ba3d(0x132)](_0x5c3514,_0x3d8377,_0x119ad8);}[a0_0xc5b578(0x135)](){const _0x328edd=a0_0xc5b578;this['renderRoot'][_0x328edd(0x130)](_0x328edd(0x12b),_0x689861=>{const _0x6d7b80=_0x328edd,_0x1df957=_0x689861[_0x6d7b80(0x123)][_0x6d7b80(0x136)](_0x6d7b80(0x12f));if(_0x1df957?.[_0x6d7b80(0x13f)]){let _0xc87171=_0x1df957[_0x6d7b80(0x13f)];_0xc87171[_0x6d7b80(0x13a)]||(_0x689861[_0x6d7b80(0x127)](),_0x689861[_0x6d7b80(0x13d)]()),this['dispatchEvent'](new CustomEvent(_0x6d7b80(0x142),{'bubbles':!0x0,'detail':this[_0x6d7b80(0x12c)]===_0xc87171?void 0x0:_0xc87171}));}let _0x32177e=_0x689861['target'][_0x6d7b80(0x13c)];_0x32177e&&location[_0x6d7b80(0x13c)]===_0x32177e&&navigate(_0x32177e+_0x6d7b80(0x12d),!0x0);}),this['renderRoot'][_0x328edd(0x130)]('transitionstart',_0x381086=>{const _0x5aa574=_0x328edd;_0x381086['target'][_0x5aa574(0x138)]('settled');}),this[_0x328edd(0x12a)]['addEventListener']('transitionend',_0x147a92=>{const _0x41056=_0x328edd;_0x147a92[_0x41056(0x123)][_0x41056(0x144)](_0x41056(0x13e),'');});}}customElements[a0_0xc5b578(0x140)](a0_0xc5b578(0x122),DynamicMenuPortrait);