@things-factory/meta-ui 6.0.97 → 6.0.99

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 (62) hide show
  1. package/client/actions/main.js +4 -4
  2. package/client/mixin/meta-base-mixin.js +1 -1
  3. package/client/mixin/meta-basic-grist-mixin.js +4 -4
  4. package/client/mixin/meta-button-mixin.js +1 -1
  5. package/client/mixin/meta-form-mixin.js +1 -1
  6. package/client/mixin/meta-grist-tab-mixin.js +1 -1
  7. package/client/mixin/meta-master-detail-mixin.js +1 -1
  8. package/client/mixin/meta-service-mixin.js +1 -1
  9. package/client/mixin/meta-tab-mixin.js +1 -1
  10. package/client/pages/activity/meta-activity-list-page.js +6 -6
  11. package/client/pages/activity/meta-activity-viewer-element.js +2 -2
  12. package/client/pages/activity/meta-activity-writer-element.js +3 -3
  13. package/client/pages/activity/meta-activiy-mixin.js +3 -3
  14. package/client/pages/entity/config-entity.js +29 -29
  15. package/client/pages/entity/main-menu-selector.js +8 -8
  16. package/client/pages/history/history-copy-list-popup.js +6 -6
  17. package/client/pages/history/history-json-list-popup.js +6 -6
  18. package/client/pages/loading-page.js +5 -5
  19. package/client/pages/menu/dynamic-menu-template.js +7 -7
  20. package/client/pages/menu/dynamic-menu.js +15 -15
  21. package/client/pages/meta-form-element.js +1 -1
  22. package/client/pages/meta-grist-element.js +1 -1
  23. package/client/pages/meta-grist-page.js +1 -1
  24. package/client/pages/meta-grist-tab-element.js +1 -1
  25. package/client/pages/meta-grist-tab-page.js +1 -1
  26. package/client/pages/meta-master-detail-element.js +1 -1
  27. package/client/pages/meta-master-detail-page.js +1 -1
  28. package/client/pages/meta-tab-element.js +1 -1
  29. package/client/pages/personalize/personal-column-selector.js +11 -11
  30. package/client/pages/terms/config-terminology.js +6 -6
  31. package/client/reducers/main.js +1 -1
  32. package/client/utils/meta-api.js +1 -1
  33. package/client/utils/meta-crypto.js +1 -1
  34. package/client/utils/meta-ui-util.js +84 -84
  35. package/client/utils/service-util.js +12 -12
  36. package/client/utils/terms-util.js +2 -2
  37. package/client/utils/ui-util.js +1 -1
  38. package/client/utils/value-util.js +1 -1
  39. package/client/viewparts/dynamic-menu-landscape-styles.js +1 -1
  40. package/client/viewparts/dynamic-menu-landscape.js +10 -10
  41. package/client/viewparts/dynamic-menu-part.js +12 -12
  42. package/client/viewparts/dynamic-menu-portrait-styles.js +1 -1
  43. package/client/viewparts/dynamic-menu-portrait.js +9 -9
  44. package/client/viewparts/dynamic-top-menu-bar.js +7 -7
  45. package/package.json +5 -5
  46. package/server/activity/CommonActivity.js +2 -2
  47. package/server/constants/error-code.js +1 -1
  48. package/server/errors/license-error.js +1 -1
  49. package/server/routes.js +1 -1
  50. package/server/service/grid-personalize/grid-personalize-mutation.js +1 -1
  51. package/server/service/grid-personalize/grid-personalize-query.js +1 -1
  52. package/server/service/grid-personalize/grid-personalize-type.js +1 -1
  53. package/server/service/grid-personalize/grid-personalize.js +1 -1
  54. package/server/service/meta-activity/meta-activity-mutation.js +1 -1
  55. package/server/service/meta-activity/meta-activity-query.js +1 -1
  56. package/server/service/meta-activity/meta-activity-type.js +1 -1
  57. package/server/service/meta-secret/meta-resolver.js +1 -1
  58. package/server/service/set-translations/set-translation-resolver.js +1 -1
  59. package/translations/en.json +21 -20
  60. package/translations/ko.json +2 -1
  61. package/translations/ms.json +33 -32
  62. package/translations/zh.json +2 -1
@@ -1,29 +1,29 @@
1
- const a0_0x747d17=a0_0x5626;function a0_0x5626(_0x381da9,_0x52405c){const _0x364969=a0_0x3649();return a0_0x5626=function(_0x5626cc,_0x828022){_0x5626cc=_0x5626cc-0x177;let _0x30c862=_0x364969[_0x5626cc];return _0x30c862;},a0_0x5626(_0x381da9,_0x52405c);}(function(_0x53b54c,_0x380b51){const _0x54441b=a0_0x5626,_0x18cd5c=_0x53b54c();while(!![]){try{const _0x22de05=parseInt(_0x54441b(0x1f0))/0x1+parseInt(_0x54441b(0x1f2))/0x2+-parseInt(_0x54441b(0x1ec))/0x3*(-parseInt(_0x54441b(0x17e))/0x4)+-parseInt(_0x54441b(0x1b4))/0x5+-parseInt(_0x54441b(0x181))/0x6+-parseInt(_0x54441b(0x1aa))/0x7+parseInt(_0x54441b(0x1c8))/0x8;if(_0x22de05===_0x380b51)break;else _0x18cd5c['push'](_0x18cd5c['shift']());}catch(_0x3d1d75){_0x18cd5c['push'](_0x18cd5c['shift']());}}}(a0_0x3649,0x7c258));import{store}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';function a0_0x3649(){const _0x41a25a=['button.','gridPersonalizeTemplates','template','HIDDEN-PAGE','result','success\x20to\x20process','menu.id','message','active','resourceUrl','push','HOME','cancel','parent','deleteListByIds','gutter','button.delete','__dirty__','showToast','numberOfToDos','total','showGraphqlErrorResponse','success\x20to\x20save','todo-list','query','question','searchByPagination','test','routing','searchMenuGridPersnalTemplate','dirtyRecords','searchMyDynamicMenus','getSelectedIdList','find','1024464clWjqH','imex','group','text.there_is_nothing_to_delete','callScenario','path','text.nothing_changed','draft-list','xlsx','items','950445skfCXw','\x0a\x20\x20\x20\x20\x20\x20','record','showAlertPopup','menus','updateMultipleData','error','updater','forEach','filter','getCodeByEntity','runScenario','hidden','children','reduce','key','patchesForUpdateMultiple','name','text.nothing_selected','badge','3417048rtwGFN','hiddenFlag','fetch','data','menuType','_config','networkError','noteq','numberOfDrafts','confirm','arrangeMenuRoutes','selected','findOne','object','__selected__','creator','findIndex','includes','splice','code','description','exportableData','undefined','codeItems','sort','info','columns','text.are_you_sure','unshift','map','title','tText','routingType','records','value','errors','958767cxvIOe','getCodeByScenario','extensions','\x0a\x20\x20\x20\x20','127250YEeDhw','tMenu','1896434PPpgLX','type','checkClientError','showGraphqlException','iconPath','MENU','length','__seq__','split','GROUP','getCodeSelectorData','text.NOTHING_CHANGED','4RmGwUl','updateMultiple','dispatch','5863452vQeuIQ','buildArgs','numberOfApprovalPendings','SCREEN','rank','success\x20to\x20delete','category'];a0_0x3649=function(){return _0x41a25a;};return a0_0x3649();}import{UiUtil}from'./ui-util';import a0_0x53dac8 from'graphql-tag';import{ValueUtil}from'./value-util';import{asyncReplace}from'lit/directives/async-replace.js';import a0_0x47d192 from'i18next';import{generateActivitySummary,startSubscribeActivitySummary}from'@things-factory/worklist';export class ServiceUtil{static async[a0_0x747d17(0x1df)](_0x46411d){return await getCodeByName(_0x46411d);}static async[a0_0x747d17(0x17c)](_0x2e5f4f){const _0x4a1cd9=a0_0x747d17;let _0x41b19a=(await ServiceUtil['codeItems'](_0x2e5f4f))['map'](_0x1f3756=>({'value':_0x1f3756['name'],'display':_0x1f3756[_0x4a1cd9(0x1dc)]}));return _0x41b19a[_0x4a1cd9(0x1e4)]({'value':'','display':''}),_0x41b19a;}static async[a0_0x747d17(0x1ed)](_0x31a8f2,_0x8ed29b){const _0x54b9cb=a0_0x747d17;let _0x6f357f=await ServiceUtil[_0x54b9cb(0x1ae)](null,_0x31a8f2,_0x8ed29b);return _0x6f357f['unshift']({'name':'','description':''}),_0x6f357f[_0x54b9cb(0x1e5)](_0x10a98a=>({'value':_0x10a98a[_0x54b9cb(0x1c5)],'display':_0x10a98a[_0x54b9cb(0x1dc)]}));}static async[a0_0x747d17(0x1be)]({queryName:_0x3f3426,codeField:_0x12b19e='name',dispField:_0x326558=a0_0x747d17(0x1dc),filters:_0x271083=[],sorters:_0x5c2464=[]}){const _0x12d5f0=a0_0x747d17;let _0x421b2d=_0x12d5f0(0x1b5)+_0x12b19e+_0x12d5f0(0x1b5)+_0x326558+_0x12d5f0(0x1ef),_0x17fcde=await ServiceUtil['searchByPagination'](_0x3f3426,_0x271083,_0x5c2464,0x0,0x0,_0x421b2d),_0x4d000f=[{'name':'','description':''}];return _0x17fcde[_0x12d5f0(0x1e9)]['forEach'](_0x3df8c1=>{const _0x2b373a=_0x12d5f0;_0x4d000f[_0x2b373a(0x192)]({'value':_0x3df8c1[_0x12b19e],'display':_0x3df8c1[_0x326558]});}),_0x4d000f;}static async['myDynamicMenus'](){const _0x38cd0c=a0_0x747d17;let _0x4433a0=await ServiceUtil[_0x38cd0c(0x1a7)]();return null!=_0x4433a0?ServiceUtil[_0x38cd0c(0x1d2)](_0x4433a0):null;}static async[a0_0x747d17(0x1a5)](_0x19d4ba){const _0x596a94=a0_0x747d17;let _0x197d4b=[{'name':_0x596a94(0x18e),'operator':'eq','value':_0x19d4ba}],_0x44186b=await ServiceUtil[_0x596a94(0x1a2)](_0x596a94(0x189),_0x197d4b,[],0x0,0x0,'id,template');return 0x0==_0x44186b['total']?{}:{'id':_0x44186b[_0x596a94(0x1e9)][0x0]['id'],'template':JSON['parse'](_0x44186b[_0x596a94(0x1e9)][0x0][_0x596a94(0x18a)])};}static['arrangeMenuRoutes'](_0x43aa36){const _0x112021=a0_0x747d17;let _0x5d02f1=[];_0x43aa36[_0x112021(0x1bc)](_0x35ecea=>{const _0x2c81b1=_0x112021;_0x5d02f1[_0x2c81b1(0x192)](_0x35ecea),_0x35ecea['children']&&(_0x35ecea[_0x2c81b1(0x1c1)][_0x2c81b1(0x1e0)](function(_0x1f566f,_0x5c3957){const _0xe09301=_0x2c81b1;return _0x1f566f[_0xe09301(0x185)]-_0x5c3957[_0xe09301(0x185)];}),_0x35ecea['children'][_0x2c81b1(0x1bc)](_0x4637ec=>{const _0x4baeda=_0x2c81b1;0x1!=_0x4637ec[_0x4baeda(0x1c9)]&&(_0x4637ec[_0x4baeda(0x195)]=_0x35ecea,_0x5d02f1[_0x4baeda(0x192)](_0x4637ec));}));});let _0x1a1078=_0x5d02f1['map'](_0x296674=>{const _0x417ff9=_0x112021;if(_0x417ff9(0x17b)==_0x296674['menuType']||'MENU'==_0x296674[_0x417ff9(0x1cc)]){let _0x3f92d9={'id':_0x296674['id'],'parent':!0x0,'name':TermsUtil[_0x417ff9(0x1f1)](_0x296674[_0x417ff9(0x1c5)]),'icon':_0x296674['iconPath'],'type':'GROUP'==_0x296674[_0x417ff9(0x1cc)]?'group':'','menus':[]};return _0x296674[_0x417ff9(0x1a4)]&&(_0x3f92d9[_0x417ff9(0x1af)]=_0x296674[_0x417ff9(0x1a4)]),_0x3f92d9;}return{'id':'0'};})[_0x112021(0x1bd)](_0x4e3bf9=>'0'!=_0x4e3bf9['id']),_0x23ebed=_0x5d02f1[_0x112021(0x1e5)](_0x188577=>{const _0x4db991=_0x112021;if(_0x4db991(0x184)==_0x188577[_0x4db991(0x1cc)]||_0x4db991(0x18b)==_0x188577[_0x4db991(0x1cc)]){let _0x53af9f=_0x1a1078[_0x4db991(0x1a9)](_0x4482eb=>_0x4482eb['id']==_0x188577['parent']['id']);if(_0x53af9f){let _0x41b938=TermsUtil['tMenu'](_0x188577[_0x4db991(0x1c5)]);return'SCREEN'==_0x188577['menuType']&&_0x53af9f['menus']['push']({'id':_0x188577['id'],'name':_0x41b938,'path':_0x188577[_0x4db991(0x1a4)],'icon':_0x188577[_0x4db991(0x1f6)]}),{'id':_0x188577['id'],'parent':!0x1,'parent_id':_0x53af9f['id'],'title':_0x41b938,'tagname':_0x188577['category'],'page':_0x188577[_0x4db991(0x1a4)],'template':_0x188577[_0x4db991(0x191)],'routing_type':_0x188577['routingType']};}return{'id':'0'};}return _0x4db991(0x193)==_0x188577[_0x4db991(0x1cc)]?{'id':_0x188577['id'],'parent':!0x0,'parent_id':null,'title':TermsUtil[_0x4db991(0x1f1)](_0x188577[_0x4db991(0x1c5)]),'tagname':_0x188577[_0x4db991(0x187)],'page':_0x188577['routing'],'template':_0x188577[_0x4db991(0x191)],'routing_type':_0x188577[_0x4db991(0x1e8)]}:{'id':'0'};})[_0x112021(0x1bd)](_0x5ab4d0=>null!=_0x5ab4d0&&'0'!=_0x5ab4d0['id']);_0x1a1078[_0x112021(0x1bd)](_0x1fce6b=>_0x112021(0x1ac)==_0x1fce6b[_0x112021(0x1f3)]&&_0x1fce6b['menus']&&_0x1fce6b[_0x112021(0x1b8)][_0x112021(0x178)]>0x0)[_0x112021(0x1bc)](_0x4c35c2=>{const _0x46ec66=_0x112021;let _0x640cab=_0x1a1078[_0x46ec66(0x1d8)](_0x3a8e8d=>_0x3a8e8d['id']==_0x4c35c2['id'])+0x1;_0x1a1078[_0x46ec66(0x1da)](_0x640cab,0x0,..._0x4c35c2[_0x46ec66(0x1b8)]);});let _0x25ee00=0x0;return _0x1a1078[_0x112021(0x1bc)](_0x1bb235=>{const _0x64d7f=_0x112021;_0x64d7f(0x19f)==_0x1bb235['path']?(_0x25ee00++,_0x1bb235[_0x64d7f(0x1c7)]=()=>asyncReplace(generateActivitySummary(_0x64d7f(0x19b))),_0x1bb235['active']=({path:_0x548beb})=>/^activity\//[_0x64d7f(0x1a3)](_0x548beb)):'approval-pending-list'==_0x1bb235[_0x64d7f(0x1af)]?(_0x25ee00++,_0x1bb235[_0x64d7f(0x1c7)]=()=>asyncReplace(generateActivitySummary(_0x64d7f(0x183))),_0x1bb235[_0x64d7f(0x190)]=({path:_0x4a0577})=>/^activity\//['test'](_0x4a0577)):_0x64d7f(0x1b1)==_0x1bb235[_0x64d7f(0x1af)]&&(_0x25ee00++,_0x1bb235['badge']=()=>asyncReplace(generateActivitySummary(_0x64d7f(0x1d0))));}),_0x25ee00>0x0&&startSubscribeActivitySummary(),{'menus':_0x1a1078,'routes':_0x23ebed};}static async['searchMyDynamicMenus'](){const _0x12cf2d=a0_0x747d17;let _0x23398b=await ServiceUtil['searchByPagination'](_0x12cf2d(0x1b8),[{'name':_0x12cf2d(0x1c9),'operator':_0x12cf2d(0x1cf),'value':!0x0},{'name':'menuType','operator':'in','value':[_0x12cf2d(0x193),_0x12cf2d(0x177),'GROUP']}],[{'name':'rank'}],0x0,0x0,'\x0a\x20\x20\x20\x20\x20\x20id\x0a\x20\x20\x20\x20\x20\x20parent\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20id\x0a\x20\x20\x20\x20\x20\x20\x20\x20name\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20children{\x0a\x20\x20\x20\x20\x20\x20\x20\x20id\x0a\x20\x20\x20\x20\x20\x20\x20\x20name\x0a\x20\x20\x20\x20\x20\x20\x20\x20description\x0a\x20\x20\x20\x20\x20\x20\x20\x20menuType\x0a\x20\x20\x20\x20\x20\x20\x20\x20category\x0a\x20\x20\x20\x20\x20\x20\x20\x20routingType\x0a\x20\x20\x20\x20\x20\x20\x20\x20routing\x0a\x20\x20\x20\x20\x20\x20\x20\x20resourceUrl\x0a\x20\x20\x20\x20\x20\x20\x20\x20iconPath\x0a\x20\x20\x20\x20\x20\x20\x20\x20hiddenFlag\x0a\x20\x20\x20\x20\x20\x20\x20\x20rank\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20name\x0a\x20\x20\x20\x20\x20\x20description\x0a\x20\x20\x20\x20\x20\x20menuType\x0a\x20\x20\x20\x20\x20\x20category\x0a\x20\x20\x20\x20\x20\x20routingType\x0a\x20\x20\x20\x20\x20\x20routing\x0a\x20\x20\x20\x20\x20\x20resourceUrl\x0a\x20\x20\x20\x20\x20\x20iconPath\x0a\x20\x20\x20\x20');return _0x23398b?_0x23398b[_0x12cf2d(0x1e9)]:[];}static async[a0_0x747d17(0x19d)](_0x1a8a9f){const _0x38972e=a0_0x747d17;if(_0x1a8a9f[_0x38972e(0x1eb)]&&_0x1a8a9f['errors'][_0x38972e(0x178)]>0x0){let _0x18f52e=_0x1a8a9f[_0x38972e(0x1eb)][0x0],_0x42db9a=_0x18f52e['message'],_0x33a82d=_0x18f52e['message'];_0x18f52e[_0x38972e(0x1ee)]&&(_0x33a82d=_0x18f52e[_0x38972e(0x1ee)][_0x38972e(0x1db)]),await UiUtil[_0x38972e(0x1b7)](_0x33a82d,_0x42db9a,_0x38972e(0x1ba),_0x38972e(0x1d1));}}static async[a0_0x747d17(0x1f5)](_0x4e3d42){const _0x2b3658=a0_0x747d17;_0x4e3d42&&(_0x4e3d42[_0x2b3658(0x1ce)]&&_0x4e3d42[_0x2b3658(0x1ce)][_0x2b3658(0x18c)]?await ServiceUtil[_0x2b3658(0x19d)](_0x4e3d42[_0x2b3658(0x1ce)][_0x2b3658(0x18c)]):await UiUtil[_0x2b3658(0x1b7)]('Graphql\x20Error',_0x4e3d42[_0x2b3658(0x18f)],'error',_0x2b3658(0x1d1)));}static async[a0_0x747d17(0x1dd)](_0x26834e,_0x17d81d,_0x594bf3){const _0x28a745=a0_0x747d17;var _0x2b05c4=_0x594bf3[_0x28a745(0x1cd)][_0x28a745(0x1e2)][_0x28a745(0x1bd)](_0x3bd026=>'gutter'!==_0x3bd026[_0x28a745(0x1f3)]&&void 0x0!==_0x3bd026[_0x28a745(0x1b6)]&&void 0x0!==_0x3bd026[_0x28a745(0x1ab)]&&!0x0!==_0x3bd026[_0x28a745(0x1c0)])['map'](_0x162c2a=>_0x162c2a[_0x28a745(0x1ab)]),_0x2624bd=_0x594bf3['data'][_0x28a745(0x1e9)][_0x28a745(0x1e5)](_0xed8856=>({..._0x594bf3['_config'][_0x28a745(0x1e2)][_0x28a745(0x1bd)](_0x54c9e4=>_0x28a745(0x197)!==_0x54c9e4['type']&&void 0x0!==_0x54c9e4[_0x28a745(0x1b6)]&&void 0x0!==_0x54c9e4[_0x28a745(0x1ab)]&&!0x0!==_0x54c9e4[_0x28a745(0x1c0)])[_0x28a745(0x1c2)]((_0xbc3d4c,_0x350c79)=>(_0xbc3d4c[_0x350c79[_0x28a745(0x1ab)][_0x28a745(0x1c3)]]=_0x350c79[_0x28a745(0x1ab)][_0x28a745(0x1c3)][_0x28a745(0x17a)]('.')[_0x28a745(0x1c2)]((_0x29363b,_0x14c84f)=>_0x29363b&&_0x28a745(0x1de)!==_0x29363b[_0x14c84f]?_0x29363b[_0x14c84f]:void 0x0,_0xed8856),_0xbc3d4c),{})}));if(!_0x26834e)return{'header':_0x2b05c4,'data':_0x2624bd};store[_0x28a745(0x180)]({'type':EXPORT,'exportable':{'extension':_0x28a745(0x1b2),'name':_0x17d81d,'data':{'header':_0x2b05c4,'data':_0x2624bd}}});}static async[a0_0x747d17(0x1a2)](_0x33a77f,_0x442a73,_0x50a3a4,_0x4f9cc0,_0x5eb812,_0x335c4d){const _0x3ff9be=a0_0x747d17;try{const _0x400a75=await client[_0x3ff9be(0x1a0)]({'query':a0_0x53dac8`
1
+ const a0_0x55f378=a0_0x5354;(function(_0x3f2201,_0x23919d){const _0x5b7f3e=a0_0x5354,_0x3e0864=_0x3f2201();while(!![]){try{const _0xfd0ca2=parseInt(_0x5b7f3e(0x14e))/0x1*(-parseInt(_0x5b7f3e(0x151))/0x2)+parseInt(_0x5b7f3e(0x15e))/0x3+parseInt(_0x5b7f3e(0x1a9))/0x4*(parseInt(_0x5b7f3e(0x18a))/0x5)+parseInt(_0x5b7f3e(0x17d))/0x6+parseInt(_0x5b7f3e(0x171))/0x7+-parseInt(_0x5b7f3e(0x194))/0x8+-parseInt(_0x5b7f3e(0x189))/0x9;if(_0xfd0ca2===_0x23919d)break;else _0x3e0864['push'](_0x3e0864['shift']());}catch(_0x75a35c){_0x3e0864['push'](_0x3e0864['shift']());}}}(a0_0x4c05,0xd8e61));import{store}from'@things-factory/shell';import{getCodeByName}from'@things-factory/code-base';import{EXPORT}from'@things-factory/export-base';import{gqlBuilder}from'@things-factory/utils';function a0_0x4c05(){const _0x2121e8=['gridPersonalizeTemplates','iconPath','text.NOTHING_CHANGED','text.there_is_nothing_to_delete','hidden','parent','rank','reduce','confirm','query','\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','text.nothing_changed','10405dBpzJa','GROUP','success\x20to\x20delete','102nUFZYh','text.nothing_selected','__dirty__','buildArgs','children','myDynamicMenus','deleteListByGristSelected','getCodeByEntity','imex','key','\x0a\x20\x20\x20\x20','menus','updateMultiple','3900807McPEIK','HIDDEN-PAGE','success\x20to\x20save','getCodeSelectorData','records','resourceUrl','length','xlsx','HOME','description','hiddenFlag','extensions','record','unshift','searchByPagination','numberOfApprovalPendings','runScenario','__dirtyfields__','MENU','12262180OJNVWg','callScenario','category','push','networkError','\x0a\x20\x20\x20\x20\x20\x20','message','fetch','creator','routingType','SCREEN','noteq','6102630EZMBnD','menuType','numberOfToDos','errors','__selected__','badge','updateMultipleData','forEach','data','searchMenuGridPersnalTemplate','showAlertPopup','isNotEmpty','37107972ZIFiFA','35mIHtKF','question','columns','info','tMenu','result','arrangeMenuRoutes','total','tText','undefined','967456SoWNtu','dirtyRecords','gutter','group','title','sort','approval-pending-list','updatedAt','active','codeItems','delete','name','filter','split','exportableData','path','success\x20to\x20process','getSelectedIdList','_config','patchesForUpdateMultiple','type','910856ekcfaF','deleteListByIds','findOne','todo-list','includes','cuFlag','showGraphqlException','text.are_you_sure','selected','routing','test','getCodeByScenario','splice','showToast','map','showGraphqlErrorResponse','checkClientError','error'];a0_0x4c05=function(){return _0x2121e8;};return a0_0x4c05();}import{client}from'@operato/graphql';import{TermsUtil}from'./terms-util';import{UiUtil}from'./ui-util';function a0_0x5354(_0x3f9ff5,_0x452703){const _0x4c0509=a0_0x4c05();return a0_0x5354=function(_0x535470,_0x24ee48){_0x535470=_0x535470-0x14c;let _0x10a913=_0x4c0509[_0x535470];return _0x10a913;},a0_0x5354(_0x3f9ff5,_0x452703);}import a0_0x1d1f4e from'graphql-tag';import{ValueUtil}from'./value-util';import{asyncReplace}from'lit/directives/async-replace.js';import a0_0x2293c2 from'i18next';import{generateActivitySummary,startSubscribeActivitySummary}from'@things-factory/worklist';export class ServiceUtil{static async['codeItems'](_0x23dbc4){return await getCodeByName(_0x23dbc4);}static async[a0_0x55f378(0x161)](_0x5b0df){const _0x2931a3=a0_0x55f378;let _0x5380b5=(await ServiceUtil[_0x2931a3(0x19d)](_0x5b0df))[_0x2931a3(0x1b7)](_0x1ffec5=>({'value':_0x1ffec5[_0x2931a3(0x19f)],'display':_0x1ffec5[_0x2931a3(0x167)]}));return _0x5380b5[_0x2931a3(0x16b)]({'value':'','display':''}),_0x5380b5;}static async[a0_0x55f378(0x1b4)](_0x45da14,_0x51d5e4){const _0x33c85c=a0_0x55f378;let _0x265f58=await ServiceUtil[_0x33c85c(0x172)](null,_0x45da14,_0x51d5e4);return _0x265f58[_0x33c85c(0x16b)]({'name':'','description':''}),_0x265f58['map'](_0xca132f=>({'value':_0xca132f[_0x33c85c(0x19f)],'display':_0xca132f[_0x33c85c(0x167)]}));}static async[a0_0x55f378(0x158)]({queryName:_0x3aa9e3,codeField:_0x3f89e0='name',dispField:_0x433b09='description',filters:_0xf4692b=[],sorters:_0x10550d=[]}){const _0x12fe82=a0_0x55f378;let _0x5ebe70='\x0a\x20\x20\x20\x20\x20\x20'+_0x3f89e0+_0x12fe82(0x176)+_0x433b09+_0x12fe82(0x15b),_0x3ae556=await ServiceUtil[_0x12fe82(0x16c)](_0x3aa9e3,_0xf4692b,_0x10550d,0x0,0x0,_0x5ebe70),_0x46a3b8=[{'name':'','description':''}];return _0x3ae556['records']['forEach'](_0x40a6ba=>{const _0x19adb7=_0x12fe82;_0x46a3b8[_0x19adb7(0x174)]({'value':_0x40a6ba[_0x3f89e0],'display':_0x40a6ba[_0x433b09]});}),_0x46a3b8;}static async[a0_0x55f378(0x156)](){const _0x53fd48=a0_0x55f378;let _0x207658=await ServiceUtil['searchMyDynamicMenus']();return null!=_0x207658?ServiceUtil[_0x53fd48(0x190)](_0x207658):null;}static async[a0_0x55f378(0x186)](_0x4c9bfb){const _0x378e7f=a0_0x55f378;let _0x50fc9b=[{'name':'menu.id','operator':'eq','value':_0x4c9bfb}],_0x3ded5f=await ServiceUtil[_0x378e7f(0x16c)](_0x378e7f(0x1bb),_0x50fc9b,[],0x0,0x0,'id,template');return 0x0==_0x3ded5f[_0x378e7f(0x191)]?{}:{'id':_0x3ded5f[_0x378e7f(0x162)][0x0]['id'],'template':JSON['parse'](_0x3ded5f['records'][0x0]['template'])};}static[a0_0x55f378(0x190)](_0x2c0eb1){const _0xe73ca2=a0_0x55f378;let _0x49847d=[];_0x2c0eb1[_0xe73ca2(0x184)](_0x333b23=>{const _0x322abb=_0xe73ca2;_0x49847d['push'](_0x333b23),_0x333b23['children']&&(_0x333b23[_0x322abb(0x155)][_0x322abb(0x199)](function(_0x1275a7,_0x4d931b){const _0x150ba9=_0x322abb;return _0x1275a7[_0x150ba9(0x1c1)]-_0x4d931b[_0x150ba9(0x1c1)];}),_0x333b23['children']['forEach'](_0x4bca33=>{0x1!=_0x4bca33['hiddenFlag']&&(_0x4bca33['parent']=_0x333b23,_0x49847d['push'](_0x4bca33));}));});let _0x544c1c=_0x49847d['map'](_0x4ebe96=>{const _0x220683=_0xe73ca2;if(_0x220683(0x14f)==_0x4ebe96[_0x220683(0x17e)]||_0x220683(0x170)==_0x4ebe96[_0x220683(0x17e)]){let _0xe52b3d={'id':_0x4ebe96['id'],'parent':!0x0,'name':TermsUtil[_0x220683(0x18e)](_0x4ebe96[_0x220683(0x19f)]),'icon':_0x4ebe96[_0x220683(0x1bc)],'type':_0x220683(0x14f)==_0x4ebe96[_0x220683(0x17e)]?'group':'','menus':[]};return _0x4ebe96[_0x220683(0x1b2)]&&(_0xe52b3d[_0x220683(0x1a3)]=_0x4ebe96['routing']),_0xe52b3d;}return{'id':'0'};})['filter'](_0x54beca=>'0'!=_0x54beca['id']),_0x3e4aa7=_0x49847d[_0xe73ca2(0x1b7)](_0x4191d4=>{const _0x5f9768=_0xe73ca2;if('SCREEN'==_0x4191d4['menuType']||_0x5f9768(0x15f)==_0x4191d4[_0x5f9768(0x17e)]){let _0xcf121=_0x544c1c['find'](_0x381e6c=>_0x381e6c['id']==_0x4191d4[_0x5f9768(0x1c0)]['id']);if(_0xcf121){let _0x580cc2=TermsUtil[_0x5f9768(0x18e)](_0x4191d4['name']);return _0x5f9768(0x17b)==_0x4191d4[_0x5f9768(0x17e)]&&_0xcf121[_0x5f9768(0x15c)][_0x5f9768(0x174)]({'id':_0x4191d4['id'],'name':_0x580cc2,'path':_0x4191d4['routing'],'icon':_0x4191d4[_0x5f9768(0x1bc)]}),{'id':_0x4191d4['id'],'parent':!0x1,'parent_id':_0xcf121['id'],'title':_0x580cc2,'tagname':_0x4191d4[_0x5f9768(0x173)],'page':_0x4191d4[_0x5f9768(0x1b2)],'template':_0x4191d4['resourceUrl'],'routing_type':_0x4191d4['routingType']};}return{'id':'0'};}return _0x5f9768(0x166)==_0x4191d4['menuType']?{'id':_0x4191d4['id'],'parent':!0x0,'parent_id':null,'title':TermsUtil['tMenu'](_0x4191d4[_0x5f9768(0x19f)]),'tagname':_0x4191d4[_0x5f9768(0x173)],'page':_0x4191d4[_0x5f9768(0x1b2)],'template':_0x4191d4[_0x5f9768(0x163)],'routing_type':_0x4191d4[_0x5f9768(0x17a)]}:{'id':'0'};})[_0xe73ca2(0x1a0)](_0x53f62c=>null!=_0x53f62c&&'0'!=_0x53f62c['id']);_0x544c1c[_0xe73ca2(0x1a0)](_0x329a10=>_0xe73ca2(0x197)==_0x329a10[_0xe73ca2(0x1a8)]&&_0x329a10[_0xe73ca2(0x15c)]&&_0x329a10[_0xe73ca2(0x15c)][_0xe73ca2(0x164)]>0x0)[_0xe73ca2(0x184)](_0xd13fe8=>{const _0x194c5e=_0xe73ca2;let _0x31893b=_0x544c1c['findIndex'](_0x4f0a62=>_0x4f0a62['id']==_0xd13fe8['id'])+0x1;_0x544c1c[_0x194c5e(0x1b5)](_0x31893b,0x0,..._0xd13fe8[_0x194c5e(0x15c)]);});let _0x186826=0x0;return _0x544c1c[_0xe73ca2(0x184)](_0x3371c1=>{const _0x26d975=_0xe73ca2;_0x26d975(0x1ac)==_0x3371c1[_0x26d975(0x1a3)]?(_0x186826++,_0x3371c1['badge']=()=>asyncReplace(generateActivitySummary(_0x26d975(0x17f))),_0x3371c1['active']=({path:_0x4d8557})=>/^activity\//['test'](_0x4d8557)):_0x26d975(0x19a)==_0x3371c1[_0x26d975(0x1a3)]?(_0x186826++,_0x3371c1[_0x26d975(0x182)]=()=>asyncReplace(generateActivitySummary(_0x26d975(0x16d))),_0x3371c1[_0x26d975(0x19c)]=({path:_0x266421})=>/^activity\//[_0x26d975(0x1b3)](_0x266421)):'draft-list'==_0x3371c1[_0x26d975(0x1a3)]&&(_0x186826++,_0x3371c1[_0x26d975(0x182)]=()=>asyncReplace(generateActivitySummary('numberOfDrafts')));}),_0x186826>0x0&&startSubscribeActivitySummary(),{'menus':_0x544c1c,'routes':_0x3e4aa7};}static async['searchMyDynamicMenus'](){const _0x595419=a0_0x55f378;let _0x3eb2bf=await ServiceUtil[_0x595419(0x16c)](_0x595419(0x15c),[{'name':_0x595419(0x168),'operator':_0x595419(0x17c),'value':!0x0},{'name':_0x595419(0x17e),'operator':'in','value':[_0x595419(0x166),_0x595419(0x170),_0x595419(0x14f)]}],[{'name':_0x595419(0x1c1)}],0x0,0x0,_0x595419(0x14c));return _0x3eb2bf?_0x3eb2bf['records']:[];}static async[a0_0x55f378(0x1b8)](_0xb9595){const _0x3f0162=a0_0x55f378;if(_0xb9595[_0x3f0162(0x180)]&&_0xb9595['errors'][_0x3f0162(0x164)]>0x0){let _0x54b869=_0xb9595['errors'][0x0],_0x35b83d=_0x54b869[_0x3f0162(0x177)],_0x5875e7=_0x54b869[_0x3f0162(0x177)];_0x54b869[_0x3f0162(0x169)]&&(_0x5875e7=_0x54b869[_0x3f0162(0x169)]['code']),await UiUtil[_0x3f0162(0x187)](_0x5875e7,_0x35b83d,_0x3f0162(0x1ba),_0x3f0162(0x1c3));}}static async[a0_0x55f378(0x1af)](_0x3867e3){const _0x13ed70=a0_0x55f378;_0x3867e3&&(_0x3867e3[_0x13ed70(0x175)]&&_0x3867e3[_0x13ed70(0x175)][_0x13ed70(0x18f)]?await ServiceUtil['showGraphqlErrorResponse'](_0x3867e3[_0x13ed70(0x175)][_0x13ed70(0x18f)]):await UiUtil[_0x13ed70(0x187)]('Graphql\x20Error',_0x3867e3['message'],_0x13ed70(0x1ba),_0x13ed70(0x1c3)));}static async[a0_0x55f378(0x1a2)](_0xb96718,_0x36103b,_0x25aa87){const _0x3d3e0d=a0_0x55f378;var _0x2bd371=_0x25aa87['_config'][_0x3d3e0d(0x18c)][_0x3d3e0d(0x1a0)](_0x3a4923=>'gutter'!==_0x3a4923['type']&&void 0x0!==_0x3a4923[_0x3d3e0d(0x16a)]&&void 0x0!==_0x3a4923['imex']&&!0x0!==_0x3a4923[_0x3d3e0d(0x1bf)])[_0x3d3e0d(0x1b7)](_0x3cae90=>_0x3cae90[_0x3d3e0d(0x159)]),_0x51f23e=_0x25aa87[_0x3d3e0d(0x185)][_0x3d3e0d(0x162)]['map'](_0x215604=>({..._0x25aa87[_0x3d3e0d(0x1a6)]['columns']['filter'](_0x134f47=>_0x3d3e0d(0x196)!==_0x134f47[_0x3d3e0d(0x1a8)]&&void 0x0!==_0x134f47[_0x3d3e0d(0x16a)]&&void 0x0!==_0x134f47[_0x3d3e0d(0x159)]&&!0x0!==_0x134f47[_0x3d3e0d(0x1bf)])[_0x3d3e0d(0x1c2)]((_0x1068c8,_0x248743)=>(_0x1068c8[_0x248743[_0x3d3e0d(0x159)][_0x3d3e0d(0x15a)]]=_0x248743[_0x3d3e0d(0x159)]['key'][_0x3d3e0d(0x1a1)]('.')['reduce']((_0x15bee2,_0x2cadf1)=>_0x15bee2&&_0x3d3e0d(0x193)!==_0x15bee2[_0x2cadf1]?_0x15bee2[_0x2cadf1]:void 0x0,_0x215604),_0x1068c8),{})}));if(!_0xb96718)return{'header':_0x2bd371,'data':_0x51f23e};store['dispatch']({'type':EXPORT,'exportable':{'extension':_0x3d3e0d(0x165),'name':_0x36103b,'data':{'header':_0x2bd371,'data':_0x51f23e}}});}static async[a0_0x55f378(0x16c)](_0x1aa226,_0x25effa,_0x229e70,_0x4dc7be,_0x3bb910,_0x1bcb2b){const _0x558d9d=a0_0x55f378;try{const _0x5c2222=await client[_0x558d9d(0x1c4)]({'query':a0_0x1d1f4e`
2
2
  query ($filters: [Filter!], $pagination: Pagination, $sortings: [Sorting!]) {
3
- ${_0x33a77f}(filters: $filters, pagination: $pagination, sortings: $sortings) {
3
+ ${_0x1aa226}(filters: $filters, pagination: $pagination, sortings: $sortings) {
4
4
  items {
5
- ${_0x335c4d}
5
+ ${_0x1bcb2b}
6
6
  }
7
7
  total
8
8
  }
9
9
  }
10
- `,'variables':{'filters':_0x442a73,'sortings':_0x50a3a4,'pagination':{'page':_0x4f9cc0,'limit':_0x5eb812}}});if(!_0x400a75[_0x3ff9be(0x1eb)])return{'records':_0x400a75[_0x3ff9be(0x1cb)][_0x33a77f][_0x3ff9be(0x1b3)],'total':_0x400a75[_0x3ff9be(0x1cb)][_0x33a77f][_0x3ff9be(0x19c)]};ServiceUtil['showGraphqlErrorResponse'](_0x400a75);}catch(_0x47c6db){ServiceUtil[_0x3ff9be(0x1f5)](_0x47c6db);}return null;}static async[a0_0x747d17(0x1d4)](_0x6bfa35,_0x4f9d4f,_0x253ccc){const _0x1674aa=a0_0x747d17;try{let _0x2a216=await client[_0x1674aa(0x1a0)]({'query':a0_0x53dac8`
10
+ `,'variables':{'filters':_0x25effa,'sortings':_0x229e70,'pagination':{'page':_0x4dc7be,'limit':_0x3bb910}}});if(!_0x5c2222[_0x558d9d(0x180)])return{'records':_0x5c2222['data'][_0x1aa226]['items'],'total':_0x5c2222[_0x558d9d(0x185)][_0x1aa226][_0x558d9d(0x191)]};ServiceUtil['showGraphqlErrorResponse'](_0x5c2222);}catch(_0x4ffc76){ServiceUtil['showGraphqlException'](_0x4ffc76);}return null;}static async[a0_0x55f378(0x1ab)](_0x543d50,_0x31758c,_0x15797a){const _0x1df160=a0_0x55f378;try{let _0x2e6050=await client[_0x1df160(0x1c4)]({'query':a0_0x1d1f4e`
11
11
  query ($id: String!) {
12
- ${_0x6bfa35}(id: $id) {
13
- ${_0x253ccc}
12
+ ${_0x543d50}(id: $id) {
13
+ ${_0x15797a}
14
14
  }
15
15
  }
16
- `,'variables':{'id':_0x4f9d4f}});if(!_0x2a216[_0x1674aa(0x1eb)])return _0x2a216[_0x1674aa(0x1cb)][_0x6bfa35]||{};ServiceUtil[_0x1674aa(0x19d)](_0x2a216);}catch(_0x29fd67){ServiceUtil['showGraphqlException'](_0x29fd67);}return null;}static['getSelectedIdList'](_0x5e73b2,_0x1bcdd4){const _0x1faa2c=a0_0x747d17,_0x24bda5=_0x5e73b2[_0x1faa2c(0x1d3)][_0x1faa2c(0x1e5)](_0x3f32fe=>_0x3f32fe['id']);return ValueUtil['isEmpty'](_0x24bda5)&&0x1==_0x1bcdd4&&UiUtil[_0x1faa2c(0x1b7)](_0x1faa2c(0x1c6),_0x1faa2c(0x1ad),_0x1faa2c(0x1e1),_0x1faa2c(0x1d1)),_0x24bda5;}static async['deleteListByGristSelected'](_0x301259,_0x4495cb){const _0x11d323=a0_0x747d17;let _0x3eb08c=ServiceUtil[_0x11d323(0x1a8)](_0x301259,!0x0);ValueUtil['isNotEmpty'](_0x3eb08c)&&(await ServiceUtil[_0x11d323(0x196)](_0x3eb08c,_0x4495cb)&&_0x301259[_0x11d323(0x1ca)]());}static async[a0_0x747d17(0x196)](_0x383d41,_0x21c009){const _0x672ae=a0_0x747d17;if(!(await UiUtil[_0x672ae(0x1b7)](_0x672ae(0x198),_0x672ae(0x1e3),_0x672ae(0x1a1),'delete',_0x672ae(0x194)))[_0x672ae(0x1ea)])return!0x1;try{const _0x4defd9=await client['query']({'query':a0_0x53dac8`
16
+ `,'variables':{'id':_0x31758c}});if(!_0x2e6050[_0x1df160(0x180)])return _0x2e6050['data'][_0x543d50]||{};ServiceUtil[_0x1df160(0x1b8)](_0x2e6050);}catch(_0x30133f){ServiceUtil[_0x1df160(0x1af)](_0x30133f);}return null;}static[a0_0x55f378(0x1a5)](_0x48598b,_0x5c8e03){const _0x91798a=a0_0x55f378,_0x31b63b=_0x48598b[_0x91798a(0x1b1)][_0x91798a(0x1b7)](_0x5b3915=>_0x5b3915['id']);return ValueUtil['isEmpty'](_0x31b63b)&&0x1==_0x5c8e03&&UiUtil['showAlertPopup'](_0x91798a(0x152),_0x91798a(0x1be),_0x91798a(0x18d),_0x91798a(0x1c3)),_0x31b63b;}static async[a0_0x55f378(0x157)](_0x335444,_0x3c852e){const _0x3e0bf6=a0_0x55f378;let _0x5b5e9c=ServiceUtil[_0x3e0bf6(0x1a5)](_0x335444,!0x0);ValueUtil[_0x3e0bf6(0x188)](_0x5b5e9c)&&(await ServiceUtil[_0x3e0bf6(0x1aa)](_0x5b5e9c,_0x3c852e)&&_0x335444['fetch']());}static async['deleteListByIds'](_0x3b00b0,_0x41193a){const _0xf28e2d=a0_0x55f378;if(!(await UiUtil[_0xf28e2d(0x187)]('button.delete','text.are_you_sure',_0xf28e2d(0x18b),_0xf28e2d(0x19e),'cancel'))['value'])return!0x1;try{const _0x5d9f35=await client[_0xf28e2d(0x1c4)]({'query':a0_0x1d1f4e`
17
17
  mutation {
18
- ${_0x21c009}(${gqlBuilder[_0x672ae(0x182)]({'ids':_0x383d41})})
18
+ ${_0x41193a}(${gqlBuilder[_0xf28e2d(0x154)]({'ids':_0x3b00b0})})
19
19
  }
20
- `});if(!_0x4defd9['errors'])return UiUtil[_0x672ae(0x19a)](_0x672ae(0x1e1),TermsUtil[_0x672ae(0x1e7)](_0x672ae(0x186))),!0x0;ServiceUtil[_0x672ae(0x19d)](_0x4defd9);}catch(_0x49f487){ServiceUtil[_0x672ae(0x1f5)](_0x49f487);}return!0x1;}static async[a0_0x747d17(0x1b9)](_0x1cf31b,_0x1ec1a1){const _0x22b066=a0_0x747d17;let _0x157e59=ServiceUtil[_0x22b066(0x1c4)](_0x1cf31b);if(ValueUtil['isNotEmpty'](_0x157e59)){let _0x5ae004=await ServiceUtil['updateMultiple'](_0x1ec1a1,_0x157e59);if(_0x5ae004)return _0x1cf31b[_0x22b066(0x1ca)](),_0x5ae004;}return!0x1;}static async[a0_0x747d17(0x17f)](_0x115e30,_0x5433a1){const _0x27fc95=a0_0x747d17;try{const _0x3622c2=await client[_0x27fc95(0x1a0)]({'query':a0_0x53dac8`
20
+ `});if(!_0x5d9f35[_0xf28e2d(0x180)])return UiUtil[_0xf28e2d(0x1b6)]('info',TermsUtil[_0xf28e2d(0x192)](_0xf28e2d(0x150))),!0x0;ServiceUtil['showGraphqlErrorResponse'](_0x5d9f35);}catch(_0x2fdd05){ServiceUtil['showGraphqlException'](_0x2fdd05);}return!0x1;}static async[a0_0x55f378(0x183)](_0x340732,_0x25cf84){const _0xbcc685=a0_0x55f378;let _0x426634=ServiceUtil[_0xbcc685(0x1a7)](_0x340732);if(ValueUtil[_0xbcc685(0x188)](_0x426634)){let _0x22d7d1=await ServiceUtil[_0xbcc685(0x15d)](_0x25cf84,_0x426634);if(_0x22d7d1)return _0x340732[_0xbcc685(0x178)](),_0x22d7d1;}return!0x1;}static async[a0_0x55f378(0x15d)](_0x13b4d8,_0x4b7e55){const _0x98ef50=a0_0x55f378;try{const _0x43dbe4=await client[_0x98ef50(0x1c4)]({'query':a0_0x1d1f4e`
21
21
  mutation {
22
- ${_0x115e30}(${gqlBuilder[_0x27fc95(0x182)]({'patches':_0x5433a1})}) {
22
+ ${_0x13b4d8}(${gqlBuilder['buildArgs']({'patches':_0x4b7e55})}) {
23
23
  id
24
24
  }
25
25
  }
26
- `,'context':{'hasUpload':!0x0}});if(!_0x3622c2['errors'])return UiUtil[_0x27fc95(0x19a)]('info',TermsUtil[_0x27fc95(0x1e7)](_0x27fc95(0x19e))),!0x0;ServiceUtil[_0x27fc95(0x19d)](_0x3622c2);}catch(_0x3001de){ServiceUtil['showGraphqlException'](_0x3001de);}return!0x1;}static[a0_0x747d17(0x1c4)](_0x1ce428,_0x6e7624=!0x1){const _0x5ff02a=a0_0x747d17;let _0x465608=_0x1ce428[_0x5ff02a(0x1a6)];if(_0x465608&&0x0!=_0x465608[_0x5ff02a(0x178)])return _0x465608[_0x5ff02a(0x1e5)](_0x394018=>{const _0x24df4f=_0x5ff02a;let _0x2eb22b=_0x394018['id']?{'id':_0x394018['id']}:{};for(let _0x300e45 in _0x394018)[_0x24df4f(0x1d7),_0x24df4f(0x1bb),'createdAt','updatedAt',_0x24df4f(0x199),'__dirtyfields__','__origin__',_0x24df4f(0x179),_0x24df4f(0x1d6)][_0x24df4f(0x1d9)](_0x300e45)||(_0x394018[_0x300e45]&&_0x24df4f(0x1d5)==typeof _0x394018[_0x300e45]&&0x0==_0x6e7624?_0x2eb22b[_0x300e45]={'id':_0x394018[_0x300e45]['id']}:_0x2eb22b[_0x300e45]=_0x394018[_0x300e45]);return _0x2eb22b['cuFlag']=_0x394018['__dirty__'],_0x2eb22b;});UiUtil['showAlertPopup'](_0x5ff02a(0x1b0),_0x5ff02a(0x17d),_0x5ff02a(0x1e1),_0x5ff02a(0x1d1));}static async['callScenario'](_0x1ea8ae,_0x1cbd55,_0xf57ca5){const _0x28bb9c=a0_0x747d17;let _0x2aaee2=!0x0;_0x1ea8ae&&(_0x2aaee2=(await UiUtil[_0x28bb9c(0x1b7)](_0x28bb9c(0x188)+_0x1ea8ae,'text.are_you_sure',_0x28bb9c(0x1a1),_0x28bb9c(0x1d1),_0x28bb9c(0x194)))[_0x28bb9c(0x1ea)]);if(_0x2aaee2)try{const _0x1e995d=await client[_0x28bb9c(0x1a0)]({'query':a0_0x53dac8`
26
+ `,'context':{'hasUpload':!0x0}});if(!_0x43dbe4[_0x98ef50(0x180)])return UiUtil[_0x98ef50(0x1b6)](_0x98ef50(0x18d),TermsUtil[_0x98ef50(0x192)](_0x98ef50(0x160))),!0x0;ServiceUtil['showGraphqlErrorResponse'](_0x43dbe4);}catch(_0x3cc5e3){ServiceUtil[_0x98ef50(0x1af)](_0x3cc5e3);}return!0x1;}static[a0_0x55f378(0x1a7)](_0x1f8f60,_0x3be504=!0x1){const _0x5ec269=a0_0x55f378;let _0x16e6bb=_0x1f8f60[_0x5ec269(0x195)];if(_0x16e6bb&&0x0!=_0x16e6bb[_0x5ec269(0x164)])return _0x16e6bb[_0x5ec269(0x1b7)](_0x4426f0=>{const _0x52b7f2=_0x5ec269;let _0x3a973b=_0x4426f0['id']?{'id':_0x4426f0['id']}:{};for(let _0x5ebd07 in _0x4426f0)[_0x52b7f2(0x179),'updater','createdAt',_0x52b7f2(0x19b),_0x52b7f2(0x153),_0x52b7f2(0x16f),'__origin__','__seq__',_0x52b7f2(0x181)][_0x52b7f2(0x1ad)](_0x5ebd07)||(_0x4426f0[_0x5ebd07]&&'object'==typeof _0x4426f0[_0x5ebd07]&&0x0==_0x3be504?_0x3a973b[_0x5ebd07]={'id':_0x4426f0[_0x5ebd07]['id']}:_0x3a973b[_0x5ebd07]=_0x4426f0[_0x5ebd07]);return _0x3a973b[_0x52b7f2(0x1ae)]=_0x4426f0['__dirty__'],_0x3a973b;});UiUtil[_0x5ec269(0x187)](_0x5ec269(0x14d),_0x5ec269(0x1bd),_0x5ec269(0x18d),_0x5ec269(0x1c3));}static async[a0_0x55f378(0x172)](_0x254609,_0x52412f,_0x3b1e66){const _0xc7e2d5=a0_0x55f378;let _0x5efd84=!0x0;_0x254609&&(_0x5efd84=(await UiUtil[_0xc7e2d5(0x187)]('button.'+_0x254609,_0xc7e2d5(0x1b0),_0xc7e2d5(0x18b),'confirm','cancel'))['value']);if(_0x5efd84)try{const _0x56006c=await client['query']({'query':a0_0x1d1f4e`
27
27
  mutation ($scenarioName: String!, $variables: Object) {
28
28
  runScenario(scenarioName: $scenarioName, variables: $variables) {
29
29
  state
@@ -32,4 +32,4 @@ const a0_0x747d17=a0_0x5626;function a0_0x5626(_0x381da9,_0x52405c){const _0x364
32
32
  __typename
33
33
  }
34
34
  }
35
- `,'variables':{'scenarioName':_0x1cbd55,'variables':_0xf57ca5}});if(_0x1e995d['errors'])ServiceUtil[_0x28bb9c(0x19d)](_0x1e995d);else{if(this[_0x28bb9c(0x1f4)](_0x1e995d))return UiUtil[_0x28bb9c(0x19a)](_0x28bb9c(0x1e1),TermsUtil[_0x28bb9c(0x1e7)](_0x28bb9c(0x18d))),_0x1e995d;}}catch(_0x3f2af9){ServiceUtil[_0x28bb9c(0x1f5)](_0x3f2af9);}return!0x1;}static[a0_0x747d17(0x1f4)](_0x1543f2){const _0x36baf7=a0_0x747d17;if(_0x1543f2&&_0x1543f2['data']&&_0x1543f2['data'][_0x36baf7(0x1bf)]&&_0x1543f2[_0x36baf7(0x1cb)][_0x36baf7(0x1bf)][_0x36baf7(0x1cb)]&&_0x1543f2[_0x36baf7(0x1cb)][_0x36baf7(0x1bf)][_0x36baf7(0x1cb)][_0x36baf7(0x1ba)]){let _0x2eec5d=_0x1543f2[_0x36baf7(0x1cb)][_0x36baf7(0x1bf)][_0x36baf7(0x1cb)][_0x36baf7(0x1ba)];return UiUtil['showAlertPopup'](_0x2eec5d[_0x36baf7(0x1e6)],_0x2eec5d[_0x36baf7(0x18f)],_0x36baf7(0x1ba),_0x36baf7(0x1d1)),!0x1;}return!0x0;}}
35
+ `,'variables':{'scenarioName':_0x52412f,'variables':_0x3b1e66}});if(_0x56006c[_0xc7e2d5(0x180)])ServiceUtil[_0xc7e2d5(0x1b8)](_0x56006c);else{if(this[_0xc7e2d5(0x1b9)](_0x56006c))return UiUtil['showToast'](_0xc7e2d5(0x18d),TermsUtil[_0xc7e2d5(0x192)](_0xc7e2d5(0x1a4))),_0x56006c;}}catch(_0xf325e8){ServiceUtil[_0xc7e2d5(0x1af)](_0xf325e8);}return!0x1;}static[a0_0x55f378(0x1b9)](_0x4b4d7e){const _0x171211=a0_0x55f378;if(_0x4b4d7e&&_0x4b4d7e[_0x171211(0x185)]&&_0x4b4d7e[_0x171211(0x185)][_0x171211(0x16e)]&&_0x4b4d7e[_0x171211(0x185)][_0x171211(0x16e)]['data']&&_0x4b4d7e[_0x171211(0x185)]['runScenario'][_0x171211(0x185)][_0x171211(0x1ba)]){let _0x1c9fef=_0x4b4d7e['data']['runScenario'][_0x171211(0x185)][_0x171211(0x1ba)];return UiUtil[_0x171211(0x187)](_0x1c9fef[_0x171211(0x198)],_0x1c9fef['message'],_0x171211(0x1ba),_0x171211(0x1c3)),!0x1;}return!0x0;}}
@@ -1,4 +1,4 @@
1
- const a0_0x21c6bf=a0_0x48b1;(function(_0x5b6a63,_0x495601){const _0x4d12cd=a0_0x48b1,_0x402869=_0x5b6a63();while(!![]){try{const _0x346e63=-parseInt(_0x4d12cd(0xe3))/0x1+-parseInt(_0x4d12cd(0xdd))/0x2*(parseInt(_0x4d12cd(0xe9))/0x3)+-parseInt(_0x4d12cd(0xfe))/0x4+-parseInt(_0x4d12cd(0xe2))/0x5+-parseInt(_0x4d12cd(0xe1))/0x6*(parseInt(_0x4d12cd(0xf6))/0x7)+-parseInt(_0x4d12cd(0xe4))/0x8*(parseInt(_0x4d12cd(0xec))/0x9)+-parseInt(_0x4d12cd(0xf5))/0xa*(-parseInt(_0x4d12cd(0xfa))/0xb);if(_0x346e63===_0x495601)break;else _0x402869['push'](_0x402869['shift']());}catch(_0x1cddf5){_0x402869['push'](_0x402869['shift']());}}}(a0_0x3bbc,0xf1412));function a0_0x3bbc(){const _0x461779=['33sFkqRp','tField','text','350586PEmibn','forEach','translate','display','category','fetchTerminologies','button','tText','data','55313410uLjWgi','11177159sdkxtk','records','total','locale','11evyxqh','field','replace','title','2402400VnXpje','length','300788OxrlRP','META_TERMS','tLabel','downloadTerminologies','6hmNXXl','1334485MIUgBj','307733eXkafH','24BlYNwR','terminologies','tTitle','label','errors'];a0_0x3bbc=function(){return _0x461779;};return a0_0x3bbc();}import a0_0x8b3052 from'graphql-tag';import{client}from'@operato/graphql';function a0_0x48b1(_0x272ec4,_0x5818a2){const _0x3bbc35=a0_0x3bbc();return a0_0x48b1=function(_0x48b18a,_0x49823b){_0x48b18a=_0x48b18a-0xdd;let _0x2d08cd=_0x3bbc35[_0x48b18a];return _0x2d08cd;},a0_0x48b1(_0x272ec4,_0x5818a2);}import{i18next}from'@operato/i18n';export class TermsUtil{['META_TERMS']=null;static async[a0_0x21c6bf(0xe0)](_0x6e0d51){const _0x51ea74=a0_0x21c6bf;let _0x2d3897=(await TermsUtil['fetchTerminologies'](_0x6e0d51))[_0x51ea74(0xf7)];_0x2d3897&&_0x2d3897[_0x51ea74(0xff)]>0x0&&(this[_0x51ea74(0xde)]={},_0x2d3897[_0x51ea74(0xed)](_0x1cbbd6=>{const _0x121001=_0x51ea74;let _0x1b4667=_0x1cbbd6['category']+'.'+_0x1cbbd6['name'];this[_0x121001(0xde)][_0x1b4667]=_0x1cbbd6[_0x121001(0xef)];}));}static async[a0_0x21c6bf(0xf1)](_0x1ec435){const _0x4835ba=a0_0x21c6bf;let _0x510801=[{'name':_0x4835ba(0xf9),'operator':'eq','value':_0x1ec435}];const _0x2729ed=await client['query']({'query':a0_0x8b3052`
1
+ const a0_0x5b5e93=a0_0x37de;(function(_0x15121b,_0x2f8089){const _0x46954b=a0_0x37de,_0x4e6eee=_0x15121b();while(!![]){try{const _0x4c6b22=-parseInt(_0x46954b(0x147))/0x1+parseInt(_0x46954b(0x15c))/0x2*(-parseInt(_0x46954b(0x15b))/0x3)+parseInt(_0x46954b(0x149))/0x4*(parseInt(_0x46954b(0x145))/0x5)+parseInt(_0x46954b(0x139))/0x6*(parseInt(_0x46954b(0x135))/0x7)+parseInt(_0x46954b(0x151))/0x8+-parseInt(_0x46954b(0x159))/0x9*(-parseInt(_0x46954b(0x13b))/0xa)+-parseInt(_0x46954b(0x144))/0xb*(parseInt(_0x46954b(0x13d))/0xc);if(_0x4c6b22===_0x2f8089)break;else _0x4e6eee['push'](_0x4e6eee['shift']());}catch(_0x3f8983){_0x4e6eee['push'](_0x4e6eee['shift']());}}}(a0_0x4e87,0x56606));import a0_0x248034 from'graphql-tag';import{client}from'@operato/graphql';function a0_0x37de(_0x22b9d0,_0x370211){const _0x4e8738=a0_0x4e87();return a0_0x37de=function(_0x37de8a,_0x1b38b5){_0x37de8a=_0x37de8a-0x135;let _0xd619ed=_0x4e8738[_0x37de8a];return _0xd619ed;},a0_0x37de(_0x22b9d0,_0x370211);}function a0_0x4e87(){const _0x207bc8=['24147dTriyP','category','69852yXZwqO','30qFkVhw','menu','72415tCweLk','META_TERMS','name','forEach','210SAuiBu','locale','310jNIqWy','tMenu','34332NHiDQp','tButton','text','tError','total','label','replace','121WpPMOZ','45nFFPkv','items','158899ZROHPU','length','91228UVqNav','button','tTitle','display','translate','fetchTerminologies','data','keys','1943336zsbTji','records','tLabel','error','tText','tField','terminologies','title'];a0_0x4e87=function(){return _0x207bc8;};return a0_0x4e87();}import{i18next}from'@operato/i18n';export class TermsUtil{['META_TERMS']=null;static async['downloadTerminologies'](_0x100f4c){const _0x28e016=a0_0x37de;let _0x525748=(await TermsUtil['fetchTerminologies'](_0x100f4c))[_0x28e016(0x152)];_0x525748&&_0x525748[_0x28e016(0x148)]>0x0&&(this[_0x28e016(0x136)]={},_0x525748['forEach'](_0x17a9bb=>{const _0x225167=_0x28e016;let _0x55060a=_0x17a9bb[_0x225167(0x15a)]+'.'+_0x17a9bb[_0x225167(0x137)];this['META_TERMS'][_0x55060a]=_0x17a9bb[_0x225167(0x14c)];}));}static async[a0_0x5b5e93(0x14e)](_0x5c3259){const _0x1c21c5=a0_0x5b5e93;let _0xa57b03=[{'name':_0x1c21c5(0x13a),'operator':'eq','value':_0x5c3259}];const _0x2fb5ce=await client['query']({'query':a0_0x248034`
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_0x21c6bf=a0_0x48b1;(function(_0x5b6a63,_0x495601){const _0x4d12cd=a0_0x
11
11
  total
12
12
  }
13
13
  }
14
- `,'variables':{'filters':_0x510801,'sortings':[{'name':_0x4835ba(0xf0)},{'name':'name'}],'pagination':{'page':0x0,'limit':0x0}}});if(!_0x2729ed[_0x4835ba(0xe8)])return{'records':_0x2729ed['data'][_0x4835ba(0xe5)]['items']||[],'total':_0x2729ed[_0x4835ba(0xf4)][_0x4835ba(0xe5)][_0x4835ba(0xf8)]||0x0};}static[a0_0x21c6bf(0xdf)](_0xf51562,_0x45c9c3){const _0x1bb8e9=a0_0x21c6bf;let _0x166e29=TermsUtil[_0x1bb8e9(0xee)](_0x1bb8e9(0xe7),_0xf51562,_0x45c9c3,null);return _0x166e29||TermsUtil[_0x1bb8e9(0xee)](_0x1bb8e9(0xfb),_0xf51562,_0x45c9c3,_0xf51562);}static[a0_0x21c6bf(0xea)](_0x5145a8,_0x754c38){const _0x50b548=a0_0x21c6bf;let _0x1794a5=TermsUtil['translate']('field',_0x5145a8,_0x754c38,null);return _0x1794a5||TermsUtil[_0x50b548(0xee)](_0x50b548(0xfb),_0x5145a8,_0x754c38,_0x5145a8);}static['tButton'](_0x11879b){const _0x4de655=a0_0x21c6bf;return TermsUtil[_0x4de655(0xee)](_0x4de655(0xf2),_0x11879b,null,_0x11879b);}static[a0_0x21c6bf(0xe6)](_0x12bc22,_0x2b4fe5){const _0x19faef=a0_0x21c6bf;let _0x2131fa=TermsUtil[_0x19faef(0xee)](_0x19faef(0xfd),_0x12bc22,_0x2b4fe5,null);return _0x2131fa||TermsUtil['translate']('menu',_0x12bc22,_0x2b4fe5,_0x12bc22);}static['tMenu'](_0x287ac3){const _0x3babd0=a0_0x21c6bf;let _0x34c158=TermsUtil[_0x3babd0(0xee)]('menu',_0x287ac3,null,_0x287ac3);return _0x34c158||TermsUtil[_0x3babd0(0xee)](_0x3babd0(0xfd),_0x287ac3,null,_0x287ac3);}static[a0_0x21c6bf(0xf3)](_0x4956e3,_0x387b63){const _0x15c1fe=a0_0x21c6bf;return TermsUtil[_0x15c1fe(0xee)](_0x15c1fe(0xeb),_0x4956e3,_0x387b63,_0x4956e3);}static['tError'](_0x15699a,_0x2ab25d){return TermsUtil['translate']('error',_0x15699a,_0x2ab25d,_0x15699a);}static[a0_0x21c6bf(0xee)](_0x3854f1,_0x56ce37,_0xbbd069,_0x62ebe3){let _0x3e14be=_0x3854f1+'.'+_0x56ce37;return TermsUtil['t'](_0x3e14be,_0xbbd069,_0x62ebe3);}static['t'](_0x793694,_0x8bf942,_0x376486){const _0x4edf59=a0_0x21c6bf;let _0x35ed9c=this[_0x4edf59(0xde)]?this[_0x4edf59(0xde)][_0x793694]:null;return _0x35ed9c=_0x35ed9c||i18next['t'](_0x793694),_0x35ed9c&&_0x793694!=_0x35ed9c?(_0x8bf942&&Object['keys'](_0x8bf942)[_0x4edf59(0xed)](function(_0x536f4d){const _0x4308c3=_0x4edf59;var _0xe80d90='\x5c{'+_0x536f4d['replace'](/\$/,'\x5c$')+'\x5c}',_0x13c917=new RegExp(_0xe80d90,'gi');_0x35ed9c=_0x35ed9c[_0x4308c3(0xfc)](_0x13c917,_0x8bf942[_0x536f4d]);}),_0x35ed9c):_0x376486;}}
14
+ `,'variables':{'filters':_0xa57b03,'sortings':[{'name':'category'},{'name':_0x1c21c5(0x137)}],'pagination':{'page':0x0,'limit':0x0}}});if(!_0x2fb5ce['errors'])return{'records':_0x2fb5ce[_0x1c21c5(0x14f)][_0x1c21c5(0x157)][_0x1c21c5(0x146)]||[],'total':_0x2fb5ce[_0x1c21c5(0x14f)]['terminologies'][_0x1c21c5(0x141)]||0x0};}static[a0_0x5b5e93(0x153)](_0x4a0a6b,_0xe93f94){const _0x42c055=a0_0x5b5e93;let _0x31c3d2=TermsUtil[_0x42c055(0x14d)](_0x42c055(0x142),_0x4a0a6b,_0xe93f94,null);return _0x31c3d2||TermsUtil[_0x42c055(0x14d)]('field',_0x4a0a6b,_0xe93f94,_0x4a0a6b);}static[a0_0x5b5e93(0x156)](_0x1875ee,_0x5aaf5f){const _0x4c31f1=a0_0x5b5e93;let _0x4cfba5=TermsUtil['translate']('field',_0x1875ee,_0x5aaf5f,null);return _0x4cfba5||TermsUtil[_0x4c31f1(0x14d)]('field',_0x1875ee,_0x5aaf5f,_0x1875ee);}static[a0_0x5b5e93(0x13e)](_0x460095){const _0x1138c5=a0_0x5b5e93;return TermsUtil['translate'](_0x1138c5(0x14a),_0x460095,null,_0x460095);}static[a0_0x5b5e93(0x14b)](_0x178018,_0x31541c){const _0x2fb463=a0_0x5b5e93;let _0x5a1297=TermsUtil[_0x2fb463(0x14d)](_0x2fb463(0x158),_0x178018,_0x31541c,null);return _0x5a1297||TermsUtil[_0x2fb463(0x14d)](_0x2fb463(0x15d),_0x178018,_0x31541c,_0x178018);}static[a0_0x5b5e93(0x13c)](_0x464f45){const _0x48687f=a0_0x5b5e93;let _0xccb340=TermsUtil['translate'](_0x48687f(0x15d),_0x464f45,null,_0x464f45);return _0xccb340||TermsUtil[_0x48687f(0x14d)](_0x48687f(0x158),_0x464f45,null,_0x464f45);}static[a0_0x5b5e93(0x155)](_0x5f19c9,_0xe045a8){const _0x6e10e1=a0_0x5b5e93;return TermsUtil['translate'](_0x6e10e1(0x13f),_0x5f19c9,_0xe045a8,_0x5f19c9);}static[a0_0x5b5e93(0x140)](_0x7c0846,_0x1fa28c){const _0x52a42e=a0_0x5b5e93;return TermsUtil[_0x52a42e(0x14d)](_0x52a42e(0x154),_0x7c0846,_0x1fa28c,_0x7c0846);}static[a0_0x5b5e93(0x14d)](_0x428b2e,_0x2a43d4,_0x42320f,_0x1c8289){let _0x2c0ea5=_0x428b2e+'.'+_0x2a43d4;return TermsUtil['t'](_0x2c0ea5,_0x42320f,_0x1c8289);}static['t'](_0x45e65d,_0x302651,_0x5d59d7){const _0x4cb7bc=a0_0x5b5e93;let _0x118120=this[_0x4cb7bc(0x136)]?this[_0x4cb7bc(0x136)][_0x45e65d]:null;return _0x118120=_0x118120||i18next['t'](_0x45e65d),_0x118120&&_0x45e65d!=_0x118120?(_0x302651&&Object[_0x4cb7bc(0x150)](_0x302651)[_0x4cb7bc(0x138)](function(_0x2d18d6){const _0x48851c=_0x4cb7bc;var _0x4e7c93='\x5c{'+_0x2d18d6[_0x48851c(0x143)](/\$/,'\x5c$')+'\x5c}',_0xdab18c=new RegExp(_0x4e7c93,'gi');_0x118120=_0x118120[_0x48851c(0x143)](_0xdab18c,_0x302651[_0x2d18d6]);}),_0x118120):_0x5d59d7;}}
@@ -1 +1 @@
1
- const a0_0x3e394a=a0_0x4f75;(function(_0x1efe7c,_0xdc7632){const _0x2d2918=a0_0x4f75,_0x51fb1f=_0x1efe7c();while(!![]){try{const _0x15e19b=-parseInt(_0x2d2918(0xc2))/0x1*(-parseInt(_0x2d2918(0xb6))/0x2)+-parseInt(_0x2d2918(0xb8))/0x3*(parseInt(_0x2d2918(0xcf))/0x4)+-parseInt(_0x2d2918(0x9d))/0x5*(parseInt(_0x2d2918(0xa9))/0x6)+parseInt(_0x2d2918(0x95))/0x7*(-parseInt(_0x2d2918(0x94))/0x8)+parseInt(_0x2d2918(0xc8))/0x9+-parseInt(_0x2d2918(0xb3))/0xa+parseInt(_0x2d2918(0xa2))/0xb;if(_0x15e19b===_0xdc7632)break;else _0x51fb1f['push'](_0x51fb1f['shift']());}catch(_0x17852f){_0x51fb1f['push'](_0x51fb1f['shift']());}}}(a0_0x28da,0x9f3eb));import{store,CustomAlert,navigate}from'@things-factory/shell';import{openPopup}from'@things-factory/layout-base';import{isMobileDevice}from'@things-factory/utils';function a0_0x28da(){const _0x2409ca=['parent_field','template','popup_field','route','ox-input-code','getLeafInput','isNotEmpty','2370185gndWVW','name','filters','page','getStore','21538154JYSAbz','content','createEditorHtml','openPopupByElement','fireCustomEvent','createElement','ox-input-barcode','6kGilOf','childNodes','input','textarea','i18next=','getType','\x27\x20\x20parent_id=\x27','value','\x20route_name=\x27','isMobileEnv','11833850FDMwoh','substring','\x27\x20is_popup=true></','88410YMsymT','renderRoot','2418jGweqO','setSearchFormEditorValue','setValueToEditor','stringify','i18next','showAlertPopup','length','onclosed','modules','app','16Dsqfpm','code-editor','select-combo','pageNavigate','dispatchEvent','menu','6258186KnukPM','type','tButton','cancelButton','createCustomElement','getState','cookie','3692ziqWOM','indexOf','querySelector','tagname','getApplicationModuleInfo','[name=\x27','split','currentLocale','htmlToElement','firstElementChild','ko-KR','confirmButton','barcode','ox-select','21736vgtYzi','791hJLpJd'];a0_0x28da=function(){return _0x2409ca;};return a0_0x28da();}function a0_0x4f75(_0x3c7787,_0x35460a){const _0x28dae5=a0_0x28da();return a0_0x4f75=function(_0x4f7565,_0xd06836){_0x4f7565=_0x4f7565-0x93;let _0x211818=_0x28dae5[_0x4f7565];return _0x211818;},a0_0x4f75(_0x3c7787,_0x35460a);}import{getEditor}from'@operato/data-grist';import{TermsUtil}from'./terms-util';import{ValueUtil}from'./value-util';import{MetaUiUtil}from'./meta-ui-util';export class UiUtil{static[a0_0x3e394a(0xb2)](){return isMobileDevice();}static[a0_0x3e394a(0xd6)](){const _0x50aa6a=a0_0x3e394a;let _0x1fbb50=document[_0x50aa6a(0xce)];return _0x1fbb50=_0x1fbb50[_0x50aa6a(0xb4)](_0x1fbb50[_0x50aa6a(0xd0)](_0x50aa6a(0xbc))),_0x1fbb50[_0x50aa6a(0xd0)](';')>-0x1&&(_0x1fbb50=_0x1fbb50[_0x50aa6a(0xb4)](0x0,_0x1fbb50[_0x50aa6a(0xd0)](';'))),_0x1fbb50=_0x1fbb50['replace'](_0x50aa6a(0xad),''),'ko'==_0x1fbb50?_0x50aa6a(0xd9):_0x1fbb50;}static[a0_0x3e394a(0xd3)](){const _0x4b3cf4=a0_0x3e394a;let _0x1b99bf=store[_0x4b3cf4(0xcd)]()[_0x4b3cf4(0xc1)][_0x4b3cf4(0xc0)];return _0x1b99bf[_0x1b99bf[_0x4b3cf4(0xbe)]-0x1];}static['currentRouting'](){const _0x54cd96=a0_0x3e394a;return store[_0x54cd96(0xcd)]()[_0x54cd96(0x99)][_0x54cd96(0xa0)];}static[a0_0x3e394a(0xa5)](_0x515100,_0x2445a6,_0x352c26,_0x3a9fc7){return openPopup(_0x352c26,{'backdrop':!0x0,'size':_0x2445a6,'title':_0x515100,'backdrop':_0x3a9fc7});}static async['openDynamicPopup'](_0x60e76b,_0x25fcc0,_0x58c5f8,_0x3f429a){const _0x5c53fc=a0_0x3e394a;let _0x18dae7=ValueUtil[_0x5c53fc(0x9c)](_0x25fcc0['parent_field'])?ValueUtil['getParams'](_0x58c5f8,..._0x25fcc0[_0x5c53fc(0x96)][_0x5c53fc(0xd5)]('.')):void 0x0,_0x215932='<'+_0x25fcc0[_0x5c53fc(0xd2)]+'\x20route_name=\x27'+_0x25fcc0[_0x5c53fc(0xc7)]+_0x5c53fc(0xaf)+_0x18dae7+_0x5c53fc(0xb5)+_0x25fcc0[_0x5c53fc(0xd2)]+'>',_0x5caa84=UiUtil[_0x5c53fc(0xd7)](_0x215932);_0x5caa84['config']=_0x25fcc0,ValueUtil[_0x5c53fc(0x9c)](_0x25fcc0[_0x5c53fc(0x98)])&&(_0x5caa84[_0x25fcc0['popup_field']]=_0x58c5f8);let _0x49e3c2=UiUtil[_0x5c53fc(0xa5)](_0x60e76b,_0x25fcc0['size'],_0x5caa84,!0x0);_0x3f429a&&(_0x49e3c2[_0x5c53fc(0xbf)]=_0x3f429a);}static[a0_0x3e394a(0xcc)](_0x30873a,_0x3151c9){const _0x183129=a0_0x3e394a;let _0x37b789='<'+_0x30873a+_0x183129(0xb1)+_0x3151c9+'\x27></'+_0x30873a+'>';return UiUtil[_0x183129(0xd7)](_0x37b789);}static['htmlToElement'](_0x87abec){const _0x16d4d9=a0_0x3e394a;var _0x427ad5=document[_0x16d4d9(0xa7)](_0x16d4d9(0x97));_0x427ad5['innerHTML']=_0x87abec;var _0x3f7336=_0x427ad5[_0x16d4d9(0xa3)][_0x16d4d9(0xaa)][0x0];return _0x427ad5[_0x16d4d9(0xa3)]['removeChild'](_0x3f7336),_0x3f7336;}static[a0_0x3e394a(0xc5)](_0x46de42,_0x21047e){const _0x3eaf7e=a0_0x3e394a;let _0x191775=_0x21047e?'?':'';_0x21047e&&(_0x191775+='pass='+JSON[_0x3eaf7e(0xbb)](_0x21047e)),navigate(''+_0x46de42+_0x191775);}static[a0_0x3e394a(0xa1)](_0x4710bc,_0x4cc500,_0x502a71){const _0x5f057a=a0_0x3e394a;let _0x4cbf4c=_0x4cbf4c[_0x5f057a(0xcd)]();return _0x4710bc&&_0x4cc500&&_0x502a71?_0x4cbf4c[_0x4710bc][_0x4cc500][_0x502a71]:_0x4710bc&&_0x4cc500?_0x4cbf4c[_0x4710bc][_0x4cc500]:_0x4710bc?_0x4cbf4c[_0x4710bc]:_0x4cbf4c;}static[a0_0x3e394a(0xa6)](_0x12e28f,_0x590085){const _0x177a5b=a0_0x3e394a;document[_0x177a5b(0xc6)](new CustomEvent(_0x12e28f,{'detail':_0x590085}));}static['showToast'](_0xa993e3,_0xea2797){const _0x37901b=a0_0x3e394a;document[_0x37901b(0xc6)](new CustomEvent('notify',{'detail':{'type':_0xa993e3,'message':_0xea2797}}));}static async[a0_0x3e394a(0xbd)](_0x4de2b3,_0x6ab000,_0x58d8d2,_0x3f740e,_0x19bbfc){const _0x322644=a0_0x3e394a;let _0x2556ce={'title':TermsUtil['t'](_0x4de2b3)||_0x4de2b3,'text':TermsUtil['t'](_0x6ab000)||_0x6ab000};return _0x58d8d2&&(_0x2556ce[_0x322644(0xc9)]=_0x58d8d2),_0x3f740e&&(_0x2556ce[_0x322644(0xda)]=TermsUtil[_0x322644(0xca)](_0x3f740e)),_0x19bbfc&&(_0x2556ce[_0x322644(0xcb)]=TermsUtil[_0x322644(0xca)](_0x19bbfc)),await CustomAlert(_0x2556ce);}static['getFilterFormData'](_0x212662){const _0x46490f=a0_0x3e394a;if(ValueUtil[_0x46490f(0x9c)](_0x212662)){let _0x2603eb=_0x212662[_0x46490f(0x9f)]();ValueUtil[_0x46490f(0x9c)](_0x2603eb)&&_0x2603eb['forEach'](_0x341d77=>{const _0x25b7da=_0x46490f;ValueUtil['isNotEmpty'](_0x341d77[_0x25b7da(0xb0)])&&(item[_0x341d77[_0x25b7da(0x9e)]]=_0x341d77[_0x25b7da(0xb0)]?_0x341d77[_0x25b7da(0xb0)]:null);});}return{};}static[a0_0x3e394a(0xb9)](_0x361b54,_0x190dde,_0x28d8a3){const _0x448d80=a0_0x3e394a;if(ValueUtil[_0x448d80(0x9c)](_0x361b54)){let _0x5d0f38=_0x361b54['renderRoot']?.['querySelector'](_0x448d80(0xd4)+_0x190dde+'\x27]');ValueUtil[_0x448d80(0x9c)](_0x5d0f38)&&(_0x5d0f38['value']=_0x28d8a3);}}static[a0_0x3e394a(0xa4)](_0x502a5f,_0x5d8056,_0x27e754,_0x4bfea5){return getEditor(_0x502a5f)('',_0x5d8056,_0x27e754,_0x4bfea5,{});}static[a0_0x3e394a(0xba)](_0x1ccdb1,_0x483a0d){const _0x54084f=a0_0x3e394a;UiUtil[_0x54084f(0x9b)](_0x1ccdb1)[_0x54084f(0xb0)]=_0x483a0d;}static['getLeafInput'](_0x2f7ea5){const _0x2dbba2=a0_0x3e394a;let _0xd56bf3=_0x2f7ea5[_0x2dbba2(0xae)]();return _0x2dbba2(0xc3)==_0xd56bf3?_0x2f7ea5['renderRoot'][_0x2dbba2(0xd1)](_0x2dbba2(0x9a)):_0x2dbba2(0xac)==_0xd56bf3?_0x2f7ea5['renderRoot'][_0x2dbba2(0xd1)]('textarea'):_0x2dbba2(0xc4)==_0xd56bf3?_0x2f7ea5[_0x2dbba2(0xb7)][_0x2dbba2(0xd1)](_0x2dbba2(0x93))['firstElementChild']:_0x2dbba2(0xdb)==_0xd56bf3?_0x2f7ea5[_0x2dbba2(0xb7)][_0x2dbba2(0xd1)](_0x2dbba2(0xa8))[_0x2dbba2(0xb7)]['querySelector'](_0x2dbba2(0xab)):_0x2f7ea5[_0x2dbba2(0xb7)][_0x2dbba2(0xd8)]['editor'];}}
1
+ const a0_0x32a30a=a0_0x1cc5;function a0_0x1cc5(_0x9618ed,_0x5e22bf){const _0x4fd629=a0_0x4fd6();return a0_0x1cc5=function(_0x1cc5af,_0x891a41){_0x1cc5af=_0x1cc5af-0x1ab;let _0x58edf8=_0x4fd629[_0x1cc5af];return _0x58edf8;},a0_0x1cc5(_0x9618ed,_0x5e22bf);}function a0_0x4fd6(){const _0x563921=['openDynamicPopup','3raalhq','pageNavigate','cookie','code-editor','firstElementChild','app','innerHTML','5872315gDgfqV','onclosed','getStore','filters','7848kILcdn','notify','isNotEmpty','createElement','currentRouting','6qLlXeu','getState','1560349VtgxJj','indexOf','parent_field','getApplicationModuleInfo','showToast','1jDxHVT','showAlertPopup','openPopupByElement','textarea','40781vvQzWZ','tagname','select-combo','createEditorHtml','substring','setSearchFormEditorValue','editor','menu','page','currentLocale','input','16XcWSzr','i18next','\x27></','split','10BWvpWf','template','childNodes','pass=','ox-select','cancelButton','querySelector','removeChild','\x20route_name=\x27','renderRoot','type','confirmButton','getFilterFormData','ko-KR','2280136bDzTDx','i18next=','modules','\x27\x20is_popup=true></','barcode','ox-input-barcode','319896QuqRno','14174644hFODHe','\x27\x20\x20parent_id=\x27','4374532FIaaqP','getLeafInput','popup_field','dispatchEvent','tButton','setValueToEditor','stringify','htmlToElement','value'];a0_0x4fd6=function(){return _0x563921;};return a0_0x4fd6();}(function(_0x960522,_0x52afca){const _0x18237f=a0_0x1cc5,_0x3c1b7f=_0x960522();while(!![]){try{const _0x4b64ad=parseInt(_0x18237f(0x1e5))/0x1*(parseInt(_0x18237f(0x1bb))/0x2)+-parseInt(_0x18237f(0x1ce))/0x3*(parseInt(_0x18237f(0x1c4))/0x4)+-parseInt(_0x18237f(0x1d5))/0x5*(-parseInt(_0x18237f(0x1de))/0x6)+parseInt(_0x18237f(0x1e0))/0x7*(parseInt(_0x18237f(0x1f4))/0x8)+parseInt(_0x18237f(0x1c1))/0x9+-parseInt(_0x18237f(0x1ad))/0xa*(-parseInt(_0x18237f(0x1c2))/0xb)+-parseInt(_0x18237f(0x1d9))/0xc*(parseInt(_0x18237f(0x1e9))/0xd);if(_0x4b64ad===_0x52afca)break;else _0x3c1b7f['push'](_0x3c1b7f['shift']());}catch(_0x326a8){_0x3c1b7f['push'](_0x3c1b7f['shift']());}}}(a0_0x4fd6,0xe54fe));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_0x32a30a(0x1f2)](){const _0x33962e=a0_0x32a30a;let _0x547b5a=document[_0x33962e(0x1d0)];return _0x547b5a=_0x547b5a['substring'](_0x547b5a[_0x33962e(0x1e1)](_0x33962e(0x1f5))),_0x547b5a['indexOf'](';')>-0x1&&(_0x547b5a=_0x547b5a[_0x33962e(0x1ed)](0x0,_0x547b5a[_0x33962e(0x1e1)](';'))),_0x547b5a=_0x547b5a['replace'](_0x33962e(0x1bc),''),'ko'==_0x547b5a?_0x33962e(0x1ba):_0x547b5a;}static[a0_0x32a30a(0x1e3)](){const _0x29941c=a0_0x32a30a;let _0x2b8348=store[_0x29941c(0x1df)]()[_0x29941c(0x1d3)][_0x29941c(0x1bd)];return _0x2b8348[_0x2b8348['length']-0x1];}static[a0_0x32a30a(0x1dd)](){const _0x14a3ac=a0_0x32a30a;return store['getState']()['route'][_0x14a3ac(0x1f1)];}static[a0_0x32a30a(0x1e7)](_0x22c891,_0x57bb02,_0x33bd2f,_0x18cef0){return openPopup(_0x33bd2f,{'backdrop':!0x0,'size':_0x57bb02,'title':_0x22c891,'backdrop':_0x18cef0});}static async[a0_0x32a30a(0x1cd)](_0x2f89da,_0x517011,_0x242343,_0x5d9460){const _0x3f8469=a0_0x32a30a;let _0x110907=ValueUtil[_0x3f8469(0x1db)](_0x517011[_0x3f8469(0x1e2)])?ValueUtil['getParams'](_0x242343,..._0x517011[_0x3f8469(0x1e2)][_0x3f8469(0x1ac)]('.')):void 0x0,_0xde813e='<'+_0x517011['tagname']+_0x3f8469(0x1b5)+_0x517011[_0x3f8469(0x1f0)]+_0x3f8469(0x1c3)+_0x110907+_0x3f8469(0x1be)+_0x517011[_0x3f8469(0x1ea)]+'>',_0x318cc9=UiUtil['htmlToElement'](_0xde813e);_0x318cc9['config']=_0x517011,ValueUtil[_0x3f8469(0x1db)](_0x517011[_0x3f8469(0x1c6)])&&(_0x318cc9[_0x517011[_0x3f8469(0x1c6)]]=_0x242343);let _0x508909=UiUtil['openPopupByElement'](_0x2f89da,_0x517011['size'],_0x318cc9,!0x0);_0x5d9460&&(_0x508909[_0x3f8469(0x1d6)]=_0x5d9460);}static['createCustomElement'](_0x15906a,_0x5e993d){const _0x49e0aa=a0_0x32a30a;let _0x4e7551='<'+_0x15906a+_0x49e0aa(0x1b5)+_0x5e993d+_0x49e0aa(0x1ab)+_0x15906a+'>';return UiUtil['htmlToElement'](_0x4e7551);}static[a0_0x32a30a(0x1cb)](_0x1a27bd){const _0x5446be=a0_0x32a30a;var _0x20e065=document[_0x5446be(0x1dc)](_0x5446be(0x1ae));_0x20e065[_0x5446be(0x1d4)]=_0x1a27bd;var _0x1ff502=_0x20e065['content'][_0x5446be(0x1af)][0x0];return _0x20e065['content'][_0x5446be(0x1b4)](_0x1ff502),_0x1ff502;}static[a0_0x32a30a(0x1cf)](_0x242b2b,_0x39a9b1){const _0x20d143=a0_0x32a30a;let _0x15290b=_0x39a9b1?'?':'';_0x39a9b1&&(_0x15290b+=_0x20d143(0x1b0)+JSON[_0x20d143(0x1ca)](_0x39a9b1)),navigate(''+_0x242b2b+_0x15290b);}static[a0_0x32a30a(0x1d7)](_0x37a9e,_0x48b607,_0x397ac6){const _0x5a7aae=a0_0x32a30a;let _0x18f25e=_0x18f25e[_0x5a7aae(0x1df)]();return _0x37a9e&&_0x48b607&&_0x397ac6?_0x18f25e[_0x37a9e][_0x48b607][_0x397ac6]:_0x37a9e&&_0x48b607?_0x18f25e[_0x37a9e][_0x48b607]:_0x37a9e?_0x18f25e[_0x37a9e]:_0x18f25e;}static['fireCustomEvent'](_0x2900b5,_0x21c3c1){const _0x53ed66=a0_0x32a30a;document[_0x53ed66(0x1c7)](new CustomEvent(_0x2900b5,{'detail':_0x21c3c1}));}static[a0_0x32a30a(0x1e4)](_0xdefdca,_0x3d4b2b){const _0x2bfc36=a0_0x32a30a;document[_0x2bfc36(0x1c7)](new CustomEvent(_0x2bfc36(0x1da),{'detail':{'type':_0xdefdca,'message':_0x3d4b2b}}));}static async[a0_0x32a30a(0x1e6)](_0x59bfc0,_0x225e9f,_0x656b68,_0x5e186e,_0x3eacec){const _0x372ff0=a0_0x32a30a;let _0x41e0e4={'title':TermsUtil['t'](_0x59bfc0)||_0x59bfc0,'text':TermsUtil['t'](_0x225e9f)||_0x225e9f};return _0x656b68&&(_0x41e0e4[_0x372ff0(0x1b7)]=_0x656b68),_0x5e186e&&(_0x41e0e4[_0x372ff0(0x1b8)]=TermsUtil[_0x372ff0(0x1c8)](_0x5e186e)),_0x3eacec&&(_0x41e0e4[_0x372ff0(0x1b2)]=TermsUtil['tButton'](_0x3eacec)),await CustomAlert(_0x41e0e4);}static[a0_0x32a30a(0x1b9)](_0x469995){const _0x147ecf=a0_0x32a30a;if(ValueUtil[_0x147ecf(0x1db)](_0x469995)){let _0x4186ac=_0x469995[_0x147ecf(0x1d8)]();ValueUtil[_0x147ecf(0x1db)](_0x4186ac)&&_0x4186ac['forEach'](_0x5992ba=>{const _0x4e4e53=_0x147ecf;ValueUtil['isNotEmpty'](_0x5992ba[_0x4e4e53(0x1cc)])&&(item[_0x5992ba['name']]=_0x5992ba[_0x4e4e53(0x1cc)]?_0x5992ba[_0x4e4e53(0x1cc)]:null);});}return{};}static[a0_0x32a30a(0x1ee)](_0x430d76,_0x37aee,_0x3e2fe6){const _0x595b18=a0_0x32a30a;if(ValueUtil['isNotEmpty'](_0x430d76)){let _0x3555ec=_0x430d76[_0x595b18(0x1b6)]?.['querySelector']('[name=\x27'+_0x37aee+'\x27]');ValueUtil[_0x595b18(0x1db)](_0x3555ec)&&(_0x3555ec[_0x595b18(0x1cc)]=_0x3e2fe6);}}static[a0_0x32a30a(0x1ec)](_0x2b6de4,_0x379a06,_0x1fbbd1,_0x1082ef){return getEditor(_0x2b6de4)('',_0x379a06,_0x1fbbd1,_0x1082ef,{});}static[a0_0x32a30a(0x1c9)](_0x4cbb75,_0x97e131){const _0x317b9e=a0_0x32a30a;UiUtil['getLeafInput'](_0x4cbb75)[_0x317b9e(0x1cc)]=_0x97e131;}static[a0_0x32a30a(0x1c5)](_0x2209bc){const _0x2d2b00=a0_0x32a30a;let _0x48a27d=_0x2209bc['getType']();return _0x2d2b00(0x1d1)==_0x48a27d?_0x2209bc[_0x2d2b00(0x1b6)]['querySelector']('ox-input-code'):_0x2d2b00(0x1e8)==_0x48a27d?_0x2209bc[_0x2d2b00(0x1b6)][_0x2d2b00(0x1b3)](_0x2d2b00(0x1e8)):_0x2d2b00(0x1eb)==_0x48a27d?_0x2209bc[_0x2d2b00(0x1b6)][_0x2d2b00(0x1b3)](_0x2d2b00(0x1b1))[_0x2d2b00(0x1d2)]:_0x2d2b00(0x1bf)==_0x48a27d?_0x2209bc[_0x2d2b00(0x1b6)]['querySelector'](_0x2d2b00(0x1c0))[_0x2d2b00(0x1b6)][_0x2d2b00(0x1b3)](_0x2d2b00(0x1f3)):_0x2209bc[_0x2d2b00(0x1b6)]['firstElementChild'][_0x2d2b00(0x1ef)];}}
@@ -1 +1 @@
1
- function a0_0x5146(){const _0x36355d=['104cpJdcA','334663wwpYcV','forEach','isArray','populateObject','3566265gIFkTk','keys','161454QOoppo','887031jEvdEi','number','object','21626350TSrXND','2148820nAHdbJ','slice','populateArray','isEquals','8FsLnLR','90236UQBAvi','length','compareObjectValues','true','isEmpty','isNotEmpty','TRUE','toInteger','boolean','48okOFWf','getParams','string'];a0_0x5146=function(){return _0x36355d;};return a0_0x5146();}const a0_0x3751c7=a0_0x3c72;(function(_0xe82472,_0x3fbbb4){const _0x406639=a0_0x3c72,_0x12f477=_0xe82472();while(!![]){try{const _0x5b5c2f=-parseInt(_0x406639(0xc2))/0x1+parseInt(_0x406639(0xaf))/0x2+parseInt(_0x406639(0xc0))/0x3+parseInt(_0x406639(0xae))/0x4*(parseInt(_0x406639(0xc7))/0x5)+parseInt(_0x406639(0xb8))/0x6*(-parseInt(_0x406639(0xbc))/0x7)+parseInt(_0x406639(0xbb))/0x8*(parseInt(_0x406639(0xc3))/0x9)+-parseInt(_0x406639(0xc6))/0xa;if(_0x5b5c2f===_0x3fbbb4)break;else _0x12f477['push'](_0x12f477['shift']());}catch(_0x4527b8){_0x12f477['push'](_0x12f477['shift']());}}}(a0_0x5146,0xa31cb));function a0_0x3c72(_0x3dbbc7,_0x39f1c3){const _0x51462c=a0_0x5146();return a0_0x3c72=function(_0x3c7201,_0xc6db51){_0x3c7201=_0x3c7201-0xad;let _0xabd97c=_0x51462c[_0x3c7201];return _0xabd97c;},a0_0x3c72(_0x3dbbc7,_0x39f1c3);}import a0_0x5b453c from'lodash-es/isEqual';import{TermsUtil}from'./terms-util';export class ValueUtil{static[a0_0x3751c7(0xb3)](_0x1ffc75){const _0xdc8efb=a0_0x3751c7;if(void 0x0===_0x1ffc75)return!0x0;if(null===_0x1ffc75)return!0x0;if(_0xdc8efb(0xb7)==typeof _0x1ffc75)return!0x1;if(_0xdc8efb(0xba)==typeof _0x1ffc75||_0xdc8efb(0xc4)==typeof _0x1ffc75){if(''==_0x1ffc75)return!0x0;}else{if(Array[_0xdc8efb(0xbe)](_0x1ffc75)){if(0x0==_0x1ffc75[_0xdc8efb(0xb0)])return!0x0;}else{if(_0xdc8efb(0xc5)==typeof _0x1ffc75&&0x0==Object[_0xdc8efb(0xc1)](_0x1ffc75)[_0xdc8efb(0xb0)])return!0x0;}}return!0x1;}static[a0_0x3751c7(0xb4)](_0x1f68fa){const _0x6656f7=a0_0x3751c7;return!ValueUtil[_0x6656f7(0xb3)](_0x1f68fa);}static[a0_0x3751c7(0xad)](_0x3d270b,_0x38288d){return a0_0x5b453c(_0x3d270b,_0x38288d);}static[a0_0x3751c7(0xb6)](_0x1f66c4,_0x455404){const _0x238794=a0_0x3751c7;return ValueUtil[_0x238794(0xb3)](_0x1f66c4)?_0x455404||0x0:parseInt(_0x1f66c4);}static['toBoolean'](_0x5abcae){const _0x550da8=a0_0x3751c7;return!ValueUtil[_0x550da8(0xb3)](_0x5abcae)&&(_0x550da8(0xb2)==_0x5abcae||'t'==_0x5abcae||_0x550da8(0xb5)==_0x5abcae||'T'==_0x5abcae||'on'==_0x5abcae||'ON'==_0x5abcae);}static[a0_0x3751c7(0xb1)](_0x4eea7f,_0x4aa62b,_0x5d1834){const _0x488836=a0_0x3751c7;let _0x69009c=!0x0;return _0x5d1834[_0x488836(0xbd)](_0x23bb34=>{const _0x40f447=_0x488836;let _0x12bb80=_0x4eea7f[_0x23bb34];if('*'===_0x12bb80)return;let _0x7a4b08=_0x4aa62b[_0x23bb34]||'';ValueUtil['isEmpty'](_0x12bb80)?ValueUtil[_0x40f447(0xb4)](_0x7a4b08)&&(_0x69009c=!0x1):_0x12bb80!=_0x7a4b08&&(_0x69009c=!0x1);}),_0x69009c;}static['setParams'](_0xf5ba9f,_0x25c753,_0x1966ad,_0x45c433){const _0x3f839e=a0_0x3751c7;let _0x2e1945=ValueUtil[_0x3f839e(0xb9)](_0x25c753,_0x1966ad);return ValueUtil[_0x3f839e(0xb4)](_0x2e1945)&&(_0xf5ba9f[_0x1966ad]=!0x0===_0x45c433?TermsUtil['t'](_0x2e1945):_0x2e1945),_0xf5ba9f;}static[a0_0x3751c7(0xb9)](_0x46fed6,..._0x15c667){const _0x55b949=a0_0x3751c7;if(arguments[_0x55b949(0xb0)]<=0x1)return;let _0x539f6e=_0x15c667[0x0];if(ValueUtil['isEmpty'](_0x46fed6[_0x539f6e]))return;let _0x5b09d9=_0x46fed6[_0x539f6e];return _0x15c667['length']>0x1?ValueUtil['getParams'](_0x5b09d9,..._0x15c667[_0x55b949(0xc8)](0x1)):_0x5b09d9;}static[a0_0x3751c7(0xc9)](_0x1a2f3d,_0x2d261c,..._0x4ae609){const _0x4ced00=a0_0x3751c7;return _0x2d261c=_0x2d261c||[],_0x4ae609=_0x4ae609||Object['keys'](_0x1a2f3d),ValueUtil[_0x4ced00(0xb4)](_0x4ae609)&&(_0x2d261c=_0x1a2f3d['map']((_0x3729af,_0x45184f)=>{const _0x52aeb7=_0x4ced00;let _0x34b3f5=_0x2d261c[_0x52aeb7(0xb0)]>_0x45184f?_0x2d261c[_0x45184f]:{};return ValueUtil[_0x52aeb7(0xbf)](_0x3729af,_0x34b3f5,_0x4ae609);})),_0x2d261c;}static[a0_0x3751c7(0xbf)](_0x4c6739,_0x3dc2cd,..._0x52a68f){const _0x1b51f1=a0_0x3751c7;return _0x3dc2cd=_0x3dc2cd||{},_0x52a68f=_0x52a68f||Object['keys'](_0x4c6739),ValueUtil[_0x1b51f1(0xb4)](_0x52a68f)&&_0x52a68f[_0x1b51f1(0xbd)](_0x5c8635=>{_0x3dc2cd[_0x5c8635]=_0x4c6739[_0x5c8635];}),_0x3dc2cd;}}
1
+ const a0_0x6d4e4=a0_0x1f09;function a0_0x1f09(_0xbfb596,_0x217512){const _0x25d582=a0_0x25d5();return a0_0x1f09=function(_0x1f09b6,_0x4b39b4){_0x1f09b6=_0x1f09b6-0x1c8;let _0x3845c4=_0x25d582[_0x1f09b6];return _0x3845c4;},a0_0x1f09(_0xbfb596,_0x217512);}(function(_0xb5f804,_0x480ca6){const _0x5398fb=a0_0x1f09,_0x24dec4=_0xb5f804();while(!![]){try{const _0x3c4dd1=parseInt(_0x5398fb(0x1d9))/0x1*(-parseInt(_0x5398fb(0x1d1))/0x2)+parseInt(_0x5398fb(0x1d4))/0x3*(parseInt(_0x5398fb(0x1e3))/0x4)+parseInt(_0x5398fb(0x1d2))/0x5*(parseInt(_0x5398fb(0x1da))/0x6)+parseInt(_0x5398fb(0x1e4))/0x7*(parseInt(_0x5398fb(0x1e1))/0x8)+parseInt(_0x5398fb(0x1cb))/0x9*(parseInt(_0x5398fb(0x1d7))/0xa)+-parseInt(_0x5398fb(0x1dc))/0xb+parseInt(_0x5398fb(0x1cc))/0xc;if(_0x3c4dd1===_0x480ca6)break;else _0x24dec4['push'](_0x24dec4['shift']());}catch(_0x5bbe1c){_0x24dec4['push'](_0x24dec4['shift']());}}}(a0_0x25d5,0x42e39));import a0_0x42d830 from'lodash-es/isEqual';function a0_0x25d5(){const _0x34daaf=['12oEVvoi','542696vteEjC','number','string','populateArray','156375YCUqyr','1165932dTnuhO','length','getParams','toBoolean','isArray','4jDsOAu','4155wyuJEE','boolean','61857zwIgrC','slice','keys','210IUHSwI','object','233974pSRVRg','2208WQCDNu','populateObject','3523960mAiWEl','isEmpty','forEach','isNotEmpty','compareObjectValues','24qRbEwE','TRUE'];a0_0x25d5=function(){return _0x34daaf;};return a0_0x25d5();}import{TermsUtil}from'./terms-util';export class ValueUtil{static[a0_0x6d4e4(0x1dd)](_0x19b987){const _0x49f59f=a0_0x6d4e4;if(void 0x0===_0x19b987)return!0x0;if(null===_0x19b987)return!0x0;if(_0x49f59f(0x1d3)==typeof _0x19b987)return!0x1;if(_0x49f59f(0x1c9)==typeof _0x19b987||_0x49f59f(0x1c8)==typeof _0x19b987){if(''==_0x19b987)return!0x0;}else{if(Array[_0x49f59f(0x1d0)](_0x19b987)){if(0x0==_0x19b987['length'])return!0x0;}else{if(_0x49f59f(0x1d8)==typeof _0x19b987&&0x0==Object[_0x49f59f(0x1d6)](_0x19b987)[_0x49f59f(0x1cd)])return!0x0;}}return!0x1;}static[a0_0x6d4e4(0x1df)](_0x2136d8){const _0x3fb084=a0_0x6d4e4;return!ValueUtil[_0x3fb084(0x1dd)](_0x2136d8);}static['isEquals'](_0x2ff608,_0x51b966){return a0_0x42d830(_0x2ff608,_0x51b966);}static['toInteger'](_0x2eece8,_0x52aaf6){return ValueUtil['isEmpty'](_0x2eece8)?_0x52aaf6||0x0:parseInt(_0x2eece8);}static[a0_0x6d4e4(0x1cf)](_0x38e5de){const _0x4dc8e4=a0_0x6d4e4;return!ValueUtil[_0x4dc8e4(0x1dd)](_0x38e5de)&&('true'==_0x38e5de||'t'==_0x38e5de||_0x4dc8e4(0x1e2)==_0x38e5de||'T'==_0x38e5de||'on'==_0x38e5de||'ON'==_0x38e5de);}static[a0_0x6d4e4(0x1e0)](_0x1ef822,_0x5163db,_0x26de65){const _0x123230=a0_0x6d4e4;let _0xef3cf4=!0x0;return _0x26de65[_0x123230(0x1de)](_0x3d5de2=>{const _0x2d283a=_0x123230;let _0x277874=_0x1ef822[_0x3d5de2];if('*'===_0x277874)return;let _0xb7d8f9=_0x5163db[_0x3d5de2]||'';ValueUtil[_0x2d283a(0x1dd)](_0x277874)?ValueUtil['isNotEmpty'](_0xb7d8f9)&&(_0xef3cf4=!0x1):_0x277874!=_0xb7d8f9&&(_0xef3cf4=!0x1);}),_0xef3cf4;}static['setParams'](_0x5c16fe,_0x28ec33,_0x1046bb,_0x5c81a5){const _0xed8221=a0_0x6d4e4;let _0x537673=ValueUtil[_0xed8221(0x1ce)](_0x28ec33,_0x1046bb);return ValueUtil['isNotEmpty'](_0x537673)&&(_0x5c16fe[_0x1046bb]=!0x0===_0x5c81a5?TermsUtil['t'](_0x537673):_0x537673),_0x5c16fe;}static[a0_0x6d4e4(0x1ce)](_0x5d1da9,..._0x16b7ed){const _0x26b7fa=a0_0x6d4e4;if(arguments[_0x26b7fa(0x1cd)]<=0x1)return;let _0x1104ce=_0x16b7ed[0x0];if(ValueUtil[_0x26b7fa(0x1dd)](_0x5d1da9[_0x1104ce]))return;let _0x278972=_0x5d1da9[_0x1104ce];return _0x16b7ed[_0x26b7fa(0x1cd)]>0x1?ValueUtil[_0x26b7fa(0x1ce)](_0x278972,..._0x16b7ed[_0x26b7fa(0x1d5)](0x1)):_0x278972;}static[a0_0x6d4e4(0x1ca)](_0x381252,_0x25e489,..._0x58042a){const _0xb7a5f0=a0_0x6d4e4;return _0x25e489=_0x25e489||[],_0x58042a=_0x58042a||Object[_0xb7a5f0(0x1d6)](_0x381252),ValueUtil[_0xb7a5f0(0x1df)](_0x58042a)&&(_0x25e489=_0x381252['map']((_0x3264bc,_0x34e4be)=>{const _0x897a58=_0xb7a5f0;let _0x226081=_0x25e489['length']>_0x34e4be?_0x25e489[_0x34e4be]:{};return ValueUtil[_0x897a58(0x1db)](_0x3264bc,_0x226081,_0x58042a);})),_0x25e489;}static[a0_0x6d4e4(0x1db)](_0x43b462,_0x1f2083,..._0x5887d0){const _0x46b938=a0_0x6d4e4;return _0x1f2083=_0x1f2083||{},_0x5887d0=_0x5887d0||Object['keys'](_0x43b462),ValueUtil[_0x46b938(0x1df)](_0x5887d0)&&_0x5887d0['forEach'](_0x3afd9d=>{_0x1f2083[_0x3afd9d]=_0x43b462[_0x3afd9d];}),_0x1f2083;}}
@@ -1,4 +1,4 @@
1
- (function(_0x3c4106,_0xe24f51){const _0x35200e=a0_0x25a1,_0x4a8054=_0x3c4106();while(!![]){try{const _0x4a357e=parseInt(_0x35200e(0x77))/0x1+-parseInt(_0x35200e(0x76))/0x2*(-parseInt(_0x35200e(0x78))/0x3)+parseInt(_0x35200e(0x74))/0x4+parseInt(_0x35200e(0x75))/0x5+parseInt(_0x35200e(0x73))/0x6+parseInt(_0x35200e(0x7a))/0x7+-parseInt(_0x35200e(0x79))/0x8;if(_0x4a357e===_0xe24f51)break;else _0x4a8054['push'](_0x4a8054['shift']());}catch(_0x3249ca){_0x4a8054['push'](_0x4a8054['shift']());}}}(a0_0x2855,0xdbbe7));function a0_0x25a1(_0x6109c3,_0xe4b40e){const _0x28551b=a0_0x2855();return a0_0x25a1=function(_0x25a187,_0x330314){_0x25a187=_0x25a187-0x73;let _0x35fe7a=_0x28551b[_0x25a187];return _0x35fe7a;},a0_0x25a1(_0x6109c3,_0xe4b40e);}function a0_0x2855(){const _0x13f248=['41484736WlQVfR','9602278xGZehk','150936rLYUYK','4976688fDrOmN','3275545ZeLmDJ','40xAmHlw','1404252AWnzZd','207783XredYF'];a0_0x2855=function(){return _0x13f248;};return a0_0x2855();}import{css}from'lit';export const DynamicMenuLandscapeStyles=css`
1
+ function a0_0x5442(_0x37d5d2,_0x10f20c){const _0x472aac=a0_0x472a();return a0_0x5442=function(_0x54429a,_0x321393){_0x54429a=_0x54429a-0x99;let _0x32279c=_0x472aac[_0x54429a];return _0x32279c;},a0_0x5442(_0x37d5d2,_0x10f20c);}function a0_0x472a(){const _0xdbee9=['854198ePGRit','9RTfdGA','32228dgYcik','12XVQDTS','648205viIhrn','42XWOPaZ','498789FdzPJV','3905770LydFtl','3577343IvHsNN','6qIJXGQ','575976ScwTvH'];a0_0x472a=function(){return _0xdbee9;};return a0_0x472a();}(function(_0x56b0c4,_0x4d4ee7){const _0x235f74=a0_0x5442,_0x2573a5=_0x56b0c4();while(!![]){try{const _0x393700=parseInt(_0x235f74(0x9a))/0x1+parseInt(_0x235f74(0x9f))/0x2+parseInt(_0x235f74(0x9d))/0x3*(parseInt(_0x235f74(0xa1))/0x4)+-parseInt(_0x235f74(0xa3))/0x5*(parseInt(_0x235f74(0xa2))/0x6)+parseInt(_0x235f74(0x99))/0x7*(parseInt(_0x235f74(0x9e))/0x8)+parseInt(_0x235f74(0xa0))/0x9*(-parseInt(_0x235f74(0x9b))/0xa)+-parseInt(_0x235f74(0x9c))/0xb;if(_0x393700===_0x4d4ee7)break;else _0x2573a5['push'](_0x2573a5['shift']());}catch(_0x4e9036){_0x2573a5['push'](_0x2573a5['shift']());}}}(a0_0x472a,0x61640));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_0x8d6d50=a0_0x38b0;(function(_0x12b186,_0x4dc105){const _0x49fc13=a0_0x38b0,_0x44be81=_0x12b186();while(!![]){try{const _0x69e262=parseInt(_0x49fc13(0x89))/0x1+parseInt(_0x49fc13(0x92))/0x2+parseInt(_0x49fc13(0x99))/0x3+parseInt(_0x49fc13(0xad))/0x4*(-parseInt(_0x49fc13(0x90))/0x5)+parseInt(_0x49fc13(0xa1))/0x6*(parseInt(_0x49fc13(0xa5))/0x7)+-parseInt(_0x49fc13(0x9a))/0x8*(-parseInt(_0x49fc13(0xa8))/0x9)+-parseInt(_0x49fc13(0xac))/0xa;if(_0x69e262===_0x4dc105)break;else _0x44be81['push'](_0x44be81['shift']());}catch(_0x190c0c){_0x44be81['push'](_0x44be81['shift']());}}}(a0_0x4416,0x59084));import'@material/mwc-icon';import{html,LitElement}from'lit';function a0_0x38b0(_0x287c09,_0x4fa29d){const _0x441689=a0_0x4416();return a0_0x38b0=function(_0x38b024,_0x58e3d0){_0x38b024=_0x38b024-0x82;let _0xbd5885=_0x441689[_0x38b024];return _0xbd5885;},a0_0x38b0(_0x287c09,_0x4fa29d);}import{connect}from'pwa-helpers';import{navigate,store}from'@operato/shell';import{ScrollbarStyles}from'@operato/styles';import{DynamicMenuLandscapeStyles}from'./dynamic-menu-landscape-styles';export class DynamicMenuLandscape extends connect(store)(LitElement){static get['styles'](){return[ScrollbarStyles,DynamicMenuLandscapeStyles];}static get['properties'](){return{'menus':Array,'activeTopLevel':Object,'activeMenu':Object,'path':String};}[a0_0x8d6d50(0x85)](){const _0x470772=a0_0x8d6d50,{menus:_0x47f05a=[],activeTopLevel:_0x525e4c,activeMenu:_0x5a7c7e}=this;return html`
1
+ const a0_0x37fbfa=a0_0x1621;(function(_0x1cfc0a,_0x2a9e0d){const _0x5a418b=a0_0x1621,_0x33ee79=_0x1cfc0a();while(!![]){try{const _0x42d869=-parseInt(_0x5a418b(0x1cc))/0x1*(parseInt(_0x5a418b(0x1d3))/0x2)+parseInt(_0x5a418b(0x1c8))/0x3*(-parseInt(_0x5a418b(0x1a7))/0x4)+-parseInt(_0x5a418b(0x1a9))/0x5*(parseInt(_0x5a418b(0x1a6))/0x6)+-parseInt(_0x5a418b(0x1b9))/0x7*(-parseInt(_0x5a418b(0x1d2))/0x8)+-parseInt(_0x5a418b(0x1d7))/0x9*(-parseInt(_0x5a418b(0x1ce))/0xa)+-parseInt(_0x5a418b(0x1d0))/0xb*(parseInt(_0x5a418b(0x1c3))/0xc)+-parseInt(_0x5a418b(0x1c2))/0xd*(-parseInt(_0x5a418b(0x1b6))/0xe);if(_0x42d869===_0x2a9e0d)break;else _0x33ee79['push'](_0x33ee79['shift']());}catch(_0x4c5354){_0x33ee79['push'](_0x33ee79['shift']());}}}(a0_0x57f5,0x9caf7));import'@material/mwc-icon';import{html,LitElement}from'lit';import{connect}from'pwa-helpers';import{navigate,store}from'@operato/shell';import{ScrollbarStyles}from'@operato/styles';import{DynamicMenuLandscapeStyles}from'./dynamic-menu-landscape-styles';function a0_0x1621(_0x50157f,_0x1dc27b){const _0x57f531=a0_0x57f5();return a0_0x1621=function(_0x1621aa,_0x37f5a0){_0x1621aa=_0x1621aa-0x1a6;let _0x402075=_0x57f531[_0x1621aa];return _0x402075;},a0_0x1621(_0x50157f,_0x1dc27b);}export class DynamicMenuLandscape extends connect(store)(LitElement){static get['styles'](){return[ScrollbarStyles,DynamicMenuLandscapeStyles];}static get[a0_0x37fbfa(0x1d5)](){return{'menus':Array,'activeTopLevel':Object,'activeMenu':Object,'path':String};}[a0_0x37fbfa(0x1ba)](){const _0x7062b3=a0_0x37fbfa,{menus:_0xd10208=[],activeTopLevel:_0x4aaf33,activeMenu:_0x57a74a}=this;return html`
2
2
  <div id="wrap">
3
3
  <ul>
4
- ${_0x47f05a[_0x470772(0x9d)](_0x4c0ae0=>_0x470772(0x94)==_0x4c0ae0[_0x470772(0x8d)]?html``:html`
5
- <li ?active=${_0x4c0ae0===_0x525e4c}>
6
- <a href=${_0x4c0ae0['path']||'#'}>
7
- ${_0x4c0ae0[_0x470772(0x91)]?html`<mwc-icon>${_0x4c0ae0['icon']}</mwc-icon>`:html``} ${_0x4c0ae0[_0x470772(0x8b)]}
4
+ ${_0xd10208['map'](_0x18c282=>_0x7062b3(0x1c1)==_0x18c282[_0x7062b3(0x1d1)]?html``:html`
5
+ <li ?active=${_0x18c282===_0x4aaf33}>
6
+ <a href=${_0x18c282[_0x7062b3(0x1ac)]||'#'}>
7
+ ${_0x18c282[_0x7062b3(0x1d6)]?html`<mwc-icon>${_0x18c282[_0x7062b3(0x1d6)]}</mwc-icon>`:html``} ${_0x18c282['name']}
8
8
  </a>
9
9
 
10
10
  <ul submenus>
11
- ${_0x4c0ae0[_0x470772(0xa2)]?.[_0x470772(0x9d)](_0x134bf4=>html`
12
- <li ?active=${_0x134bf4===_0x5a7c7e}>
13
- <a href=${_0x134bf4['path']||'#'}> ${_0x134bf4['name']} </a>
11
+ ${_0x18c282[_0x7062b3(0x1cb)]?.[_0x7062b3(0x1b3)](_0x9e59de=>html`
12
+ <li ?active=${_0x9e59de===_0x57a74a}>
13
+ <a href=${_0x9e59de[_0x7062b3(0x1ac)]||'#'}> ${_0x9e59de[_0x7062b3(0x1bf)]} </a>
14
14
  </li>
15
15
  `)}
16
16
  </ul>
17
17
 
18
18
  <div description>
19
- ${_0x4c0ae0[_0x470772(0x91)]?html`<mwc-icon>${_0x4c0ae0[_0x470772(0x91)]}</mwc-icon>`:html``} ${_0x4c0ae0[_0x470772(0x9e)]||''}
19
+ ${_0x18c282[_0x7062b3(0x1d6)]?html`<mwc-icon>${_0x18c282[_0x7062b3(0x1d6)]}</mwc-icon>`:html``} ${_0x18c282[_0x7062b3(0x1bd)]||''}
20
20
  </div>
21
21
  </li>
22
22
  `)}
23
23
  </ul>
24
24
  </div>
25
- `;}[a0_0x8d6d50(0x98)](){const _0xbc1c61=a0_0x8d6d50;this[_0xbc1c61(0x9b)][_0xbc1c61(0xaa)](_0xbc1c61(0xa4))[_0xbc1c61(0x86)](_0xbc1c61(0x93),this['onWheelEvent'][_0xbc1c61(0x95)](this),!0x1),this[_0xbc1c61(0x9b)][_0xbc1c61(0x86)](_0xbc1c61(0xa6),_0x19f443=>{const _0xb7c0af=_0xbc1c61;if(_0x19f443[_0xb7c0af(0x87)][_0xb7c0af(0xa0)]){_0x19f443[_0xb7c0af(0x83)](),_0x19f443['preventDefault']();let _0x211eec=_0x19f443['target'][_0xb7c0af(0xa0)];return void this[_0xb7c0af(0x9c)](new CustomEvent(_0xb7c0af(0xa9),{'bubbles':!0x0,'detail':this[_0xb7c0af(0x8f)]===_0x211eec?void 0x0:_0x211eec}));}let _0x538477=_0x19f443[_0xb7c0af(0x87)]['href'];_0x538477&&location[_0xb7c0af(0x96)]===_0x538477&&navigate(_0x538477+'#force',!0x0);}),this[_0xbc1c61(0x9b)][_0xbc1c61(0x86)]('transitionstart',_0x3a3989=>{const _0x412c86=_0xbc1c61;_0x3a3989[_0x412c86(0x87)][_0x412c86(0x9f)](_0x412c86(0xa7));}),this[_0xbc1c61(0x9b)]['addEventListener'](_0xbc1c61(0x97),_0x2649ae=>{const _0xce931b=_0xbc1c61;_0x2649ae[_0xce931b(0x87)][_0xce931b(0xa3)](_0xce931b(0xa7),'');});}[a0_0x8d6d50(0x8a)](_0x25ebbb){const _0x56ad34=a0_0x8d6d50,_0x2ce6f6=_0x25ebbb['currentTarget'];var _0x241997=Math[_0x56ad34(0x8e)](-0x1,Math[_0x56ad34(0x82)](0x1,_0x25ebbb[_0x56ad34(0x88)]||-_0x25ebbb[_0x56ad34(0xab)]));_0x2ce6f6[_0x56ad34(0x8c)]-=0xa*_0x241997,_0x25ebbb['preventDefault']();}}customElements['define'](a0_0x8d6d50(0x84),DynamicMenuLandscape);function a0_0x4416(){const _0x5b906d=['max','activeTopLevel','50StKfcu','icon','1456652XMtPPI','mousewheel','group','bind','href','transitionend','firstUpdated','1343583FTOduE','1069192fErBTV','renderRoot','dispatchEvent','map','description','removeAttribute','submenu','753582wXVJRG','menus','setAttribute','#wrap','7cTibHq','click','settled','18aLMnpx','active-toplevel','querySelector','detail','10063500rlmPJM','125516bkteYl','min','stopPropagation','dynamic-menu-landscape','render','addEventListener','target','wheelDelta','115734MrYbmh','onWheelEvent','name','scrollLeft','type'];a0_0x4416=function(){return _0x5b906d;};return a0_0x4416();}
25
+ `;}['firstUpdated'](){const _0x140263=a0_0x37fbfa;this[_0x140263(0x1bc)][_0x140263(0x1b2)](_0x140263(0x1d8))[_0x140263(0x1d4)](_0x140263(0x1cd),this[_0x140263(0x1c5)][_0x140263(0x1cf)](this),!0x1),this[_0x140263(0x1bc)][_0x140263(0x1d4)](_0x140263(0x1c0),_0x2c7705=>{const _0x228f7e=_0x140263;if(_0x2c7705['target'][_0x228f7e(0x1b7)]){_0x2c7705[_0x228f7e(0x1c6)](),_0x2c7705[_0x228f7e(0x1bb)]();let _0x5381d5=_0x2c7705[_0x228f7e(0x1be)]['submenu'];return void this[_0x228f7e(0x1a8)](new CustomEvent(_0x228f7e(0x1b1),{'bubbles':!0x0,'detail':this[_0x228f7e(0x1aa)]===_0x5381d5?void 0x0:_0x5381d5}));}let _0x164b08=_0x2c7705['target'][_0x228f7e(0x1ab)];_0x164b08&&location['href']===_0x164b08&&navigate(_0x164b08+_0x228f7e(0x1ca),!0x0);}),this[_0x140263(0x1bc)][_0x140263(0x1d4)](_0x140263(0x1ae),_0x1f5688=>{const _0x53d350=_0x140263;_0x1f5688[_0x53d350(0x1be)][_0x53d350(0x1d9)](_0x53d350(0x1b4));}),this['renderRoot'][_0x140263(0x1d4)](_0x140263(0x1b0),_0x126e94=>{const _0x376a6c=_0x140263;_0x126e94[_0x376a6c(0x1be)]['setAttribute'](_0x376a6c(0x1b4),'');});}[a0_0x37fbfa(0x1c5)](_0x5136b5){const _0x556ad2=a0_0x37fbfa,_0x13bae0=_0x5136b5['currentTarget'];var _0x5b7fe9=Math[_0x556ad2(0x1ad)](-0x1,Math[_0x556ad2(0x1c4)](0x1,_0x5136b5[_0x556ad2(0x1b5)]||-_0x5136b5[_0x556ad2(0x1af)]));_0x13bae0[_0x556ad2(0x1b8)]-=0xa*_0x5b7fe9,_0x5136b5[_0x556ad2(0x1bb)]();}}function a0_0x57f5(){const _0x24f592=['stopPropagation','define','1278783JYSEcQ','dynamic-menu-landscape','#force','menus','18PeYrSH','mousewheel','3919070VQjtGw','bind','11wYSzuM','type','8XuNGQT','28588vlsQFo','addEventListener','properties','icon','18WknqbO','#wrap','removeAttribute','1671294OhnZOw','4MyRcOr','dispatchEvent','10NtBHSM','activeTopLevel','href','path','max','transitionstart','detail','transitionend','active-toplevel','querySelector','map','settled','wheelDelta','28OKcjpr','submenu','scrollLeft','4162683ViqvBQ','render','preventDefault','renderRoot','description','target','name','click','group','9929361sBPEnr','12283716EXVWSC','min','onWheelEvent'];a0_0x57f5=function(){return _0x24f592;};return a0_0x57f5();}customElements[a0_0x37fbfa(0x1c7)](a0_0x37fbfa(0x1c9),DynamicMenuLandscape);
@@ -1,4 +1,4 @@
1
- var a0_0x17469e=a0_0x526f;(function(_0x2ebc5e,_0x1253fa){var _0x563205=a0_0x526f,_0x32a51c=_0x2ebc5e();while(!![]){try{var _0x35b434=parseInt(_0x563205(0x14a))/0x1+-parseInt(_0x563205(0x143))/0x2*(parseInt(_0x563205(0x149))/0x3)+-parseInt(_0x563205(0x138))/0x4*(-parseInt(_0x563205(0x159))/0x5)+-parseInt(_0x563205(0x158))/0x6+-parseInt(_0x563205(0x151))/0x7*(-parseInt(_0x563205(0x148))/0x8)+parseInt(_0x563205(0x139))/0x9+-parseInt(_0x563205(0x142))/0xa;if(_0x35b434===_0x1253fa)break;else _0x32a51c['push'](_0x32a51c['shift']());}catch(_0x3854b9){_0x32a51c['push'](_0x32a51c['shift']());}}}(a0_0x4696,0x71875));import'@material/mwc-icon';import'./dynamic-menu-portrait';import'./dynamic-menu-landscape';function a0_0x4696(){var _0x4f6518=['dynamic-menu-part','5215974YKaQyV','5vsCwcn','detail','has','call','_findActivePage','active','3668480aIdcrV','4633632BUqpKn','path','slotTemplate','metaUI','render','stateChanged','_activeMenu','setAttribute','route','3520560GxadFm','1734816IZYYxk','renderRoot','active-toplevel','resourceId','function','6097928uKtxzU','3SoElnC','359597Ejjlys','_path','updated','_activeTopLevel','addEventListener','firstUpdated','orientation','7rZElyJ','styles','menus','landscape','preventDefault','page'];a0_0x4696=function(){return _0x4f6518;};return a0_0x4696();}import{css,html,LitElement}from'lit';import{connect}from'pwa-helpers';import{store}from'@operato/shell';function a0_0x526f(_0x58f3f8,_0x219f2b){var _0x46969e=a0_0x4696();return a0_0x526f=function(_0x526fb0,_0x175c39){_0x526fb0=_0x526fb0-0x137;var _0x2b0ed6=_0x46969e[_0x526fb0];return _0x2b0ed6;},a0_0x526f(_0x58f3f8,_0x219f2b);}import{ScrollbarStyles}from'@operato/styles';function isActiveMenu(_0x143bbd,_0x2f8030){var _0x390f02=a0_0x526f;return _0x143bbd[_0x390f02(0x13a)]?.['split']('?')[0x0]===_0x2f8030||_0x143bbd[_0x390f02(0x137)]&&_0x390f02(0x147)==typeof _0x143bbd[_0x390f02(0x137)]&&_0x143bbd['active'][_0x390f02(0x15c)](_0x143bbd,{'path':_0x2f8030});}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_0x17469e(0x152)](){return[ScrollbarStyles,css`
1
+ var a0_0x138a45=a0_0x5daf;(function(_0x3fbb64,_0x2bbba9){var _0x3fc794=a0_0x5daf,_0x275baf=_0x3fbb64();while(!![]){try{var _0x2471a3=-parseInt(_0x3fc794(0xdb))/0x1*(-parseInt(_0x3fc794(0xcb))/0x2)+-parseInt(_0x3fc794(0xd1))/0x3*(parseInt(_0x3fc794(0xca))/0x4)+parseInt(_0x3fc794(0xc3))/0x5+parseInt(_0x3fc794(0xd5))/0x6*(-parseInt(_0x3fc794(0xd6))/0x7)+-parseInt(_0x3fc794(0xbc))/0x8+parseInt(_0x3fc794(0xb5))/0x9*(-parseInt(_0x3fc794(0xc4))/0xa)+parseInt(_0x3fc794(0xc7))/0xb;if(_0x2471a3===_0x2bbba9)break;else _0x275baf['push'](_0x275baf['shift']());}catch(_0x406c0c){_0x275baf['push'](_0x275baf['shift']());}}}(a0_0x1137,0x89928));import'@material/mwc-icon';function a0_0x1137(){var _0x7a23b5=['orientation','45966XkMZil','175PVfcxR','detail','portrait','route','menus','5165jkpXwY','dynamic-menu-part','9GtcmTc','landscape','stopPropagation','has','path','find','stateChanged','8124776WhyDOF','styles','removeAttribute','_activeTopLevel','_path','properties','render','3987665ZRWunL','5473240KeTDOa','renderRoot','_activeMenu','4580059izpkHz','resourceId','_findActivePage','156FUQRUF','430JhoJec','addEventListener','firstUpdated','active','preventDefault','page','495YzbwJJ','slotTemplate','replaceChild'];a0_0x1137=function(){return _0x7a23b5;};return a0_0x1137();}import'./dynamic-menu-portrait';import'./dynamic-menu-landscape';import{css,html,LitElement}from'lit';import{connect}from'pwa-helpers';import{store}from'@operato/shell';import{ScrollbarStyles}from'@operato/styles';function a0_0x5daf(_0x552f4f,_0x1790ca){var _0x113796=a0_0x1137();return a0_0x5daf=function(_0x5daf39,_0x39889d){_0x5daf39=_0x5daf39-0xb5;var _0x5468bc=_0x113796[_0x5daf39];return _0x5468bc;},a0_0x5daf(_0x552f4f,_0x1790ca);}function isActiveMenu(_0x40dc62,_0x16d017){var _0x45a3b9=a0_0x5daf;return _0x40dc62[_0x45a3b9(0xb9)]?.['split']('?')[0x0]===_0x16d017||_0x40dc62[_0x45a3b9(0xce)]&&'function'==typeof _0x40dc62['active']&&_0x40dc62[_0x45a3b9(0xce)]['call'](_0x40dc62,{'path':_0x16d017});}export class DynamicMenuPart extends connect(store)(LitElement){static get[a0_0x138a45(0xc1)](){return{'page':String,'resourceId':String,'menus':Array,'orientation':String,'_activeTopLevel':Object,'_activeMenu':Object,'_path':String};}static get[a0_0x138a45(0xbd)](){return[ScrollbarStyles,css`
2
2
  :host {
3
3
  display: flex;
4
4
  overflow-y: auto;
@@ -27,18 +27,18 @@ var a0_0x17469e=a0_0x526f;(function(_0x2ebc5e,_0x1253fa){var _0x563205=a0_0x526f
27
27
  dynamic-menu-landscape {
28
28
  flex: 1;
29
29
  }
30
- `];}[a0_0x17469e(0x13d)](){var _0x3e3aff=a0_0x17469e;return html`
30
+ `];}[a0_0x138a45(0xc2)](){var _0x1cac47=a0_0x138a45;return html`
31
31
  <slot name="head"></slot>
32
- ${'landscape'!==this[_0x3e3aff(0x150)]?html`<dynamic-menu-portrait
33
- .menus=${this['menus']}
34
- .activeTopLevel=${this['_activeTopLevel']}
35
- .activeMenu=${this[_0x3e3aff(0x13f)]}
36
- .path=${this[_0x3e3aff(0x14b)]}
32
+ ${_0x1cac47(0xb6)!==this[_0x1cac47(0xd4)]?html`<dynamic-menu-portrait
33
+ .menus=${this[_0x1cac47(0xda)]}
34
+ .activeTopLevel=${this[_0x1cac47(0xbf)]}
35
+ .activeMenu=${this[_0x1cac47(0xc6)]}
36
+ .path=${this['_path']}
37
37
  ></dynamic-menu-portrait>`:html`<dynamic-menu-landscape
38
- .menus=${this[_0x3e3aff(0x153)]}
39
- .activeTopLevel=${this[_0x3e3aff(0x14d)]}
40
- .activeMenu=${this[_0x3e3aff(0x13f)]}
41
- .path=${this[_0x3e3aff(0x14b)]}
38
+ .menus=${this[_0x1cac47(0xda)]}
39
+ .activeTopLevel=${this[_0x1cac47(0xbf)]}
40
+ .activeMenu=${this[_0x1cac47(0xc6)]}
41
+ .path=${this[_0x1cac47(0xc0)]}
42
42
  ></dynamic-menu-landscape>`}
43
43
  <slot name="tail"></slot>
44
- `;}[a0_0x17469e(0x14f)](){var _0x22807c=a0_0x17469e;this[_0x22807c(0x144)][_0x22807c(0x14e)](_0x22807c(0x145),_0x14dae8=>{var _0x4bb614=_0x22807c;_0x14dae8['stopPropagation'](),_0x14dae8[_0x4bb614(0x155)](),this[_0x4bb614(0x14d)]=_0x14dae8[_0x4bb614(0x15a)];});}[a0_0x17469e(0x14c)](_0x5854b3){var _0x1d5e8a=a0_0x17469e;(_0x5854b3[_0x1d5e8a(0x15b)]('menus')||_0x5854b3[_0x1d5e8a(0x15b)](_0x1d5e8a(0x156))||_0x5854b3[_0x1d5e8a(0x15b)](_0x1d5e8a(0x146)))&&this[_0x1d5e8a(0x15d)](),_0x5854b3[_0x1d5e8a(0x15b)](_0x1d5e8a(0x150))&&('portrait'==this[_0x1d5e8a(0x150)]?this['removeAttribute'](_0x1d5e8a(0x154)):this[_0x1d5e8a(0x140)](_0x1d5e8a(0x154),!0x0)),_0x5854b3[_0x1d5e8a(0x15b)]('slotTemplate')&&this['replaceChild'](this[_0x1d5e8a(0x13b)]);}[a0_0x17469e(0x13e)](_0x2ea6e2){var _0x14410d=a0_0x17469e;this[_0x14410d(0x156)]=_0x2ea6e2[_0x14410d(0x141)][_0x14410d(0x156)],this[_0x14410d(0x146)]=_0x2ea6e2[_0x14410d(0x141)][_0x14410d(0x146)],this[_0x14410d(0x153)]=_0x2ea6e2['metaUI'][_0x14410d(0x153)]||[],this[_0x14410d(0x13b)]=_0x2ea6e2[_0x14410d(0x13c)][_0x14410d(0x13b)];}[a0_0x17469e(0x15d)](){var _0x157c3f=a0_0x17469e,_0x35b9aa,_0x52c149=this['resourceId']?this[_0x157c3f(0x156)]+'/'+this[_0x157c3f(0x146)]:this[_0x157c3f(0x156)],_0x2fe440=this[_0x157c3f(0x153)]||[];this['_activeTopLevel']=_0x2fe440['find'](_0x3a16e8=>isActiveMenu(_0x3a16e8,_0x52c149)?(_0x35b9aa=_0x3a16e8,!0x0):_0x3a16e8[_0x157c3f(0x153)]?!!(_0x35b9aa=_0x3a16e8['menus']['find'](_0x350312=>isActiveMenu(_0x350312,_0x52c149))):void 0x0),this[_0x157c3f(0x14b)]=_0x52c149,this[_0x157c3f(0x13f)]=_0x35b9aa||this[_0x157c3f(0x14d)];}}customElements['define'](a0_0x17469e(0x157),DynamicMenuPart);
44
+ `;}[a0_0x138a45(0xcd)](){var _0xf31849=a0_0x138a45;this[_0xf31849(0xc5)][_0xf31849(0xcc)]('active-toplevel',_0x2fe26d=>{var _0x84b884=_0xf31849;_0x2fe26d[_0x84b884(0xb7)](),_0x2fe26d[_0x84b884(0xcf)](),this['_activeTopLevel']=_0x2fe26d[_0x84b884(0xd7)];});}['updated'](_0x59308c){var _0x598f16=a0_0x138a45;(_0x59308c[_0x598f16(0xb8)]('menus')||_0x59308c[_0x598f16(0xb8)]('page')||_0x59308c['has']('resourceId'))&&this[_0x598f16(0xc9)](),_0x59308c[_0x598f16(0xb8)](_0x598f16(0xd4))&&(_0x598f16(0xd8)==this['orientation']?this[_0x598f16(0xbe)](_0x598f16(0xb6)):this['setAttribute'](_0x598f16(0xb6),!0x0)),_0x59308c[_0x598f16(0xb8)](_0x598f16(0xd2))&&this[_0x598f16(0xd3)](this['slotTemplate']);}[a0_0x138a45(0xbb)](_0x26957a){var _0x13ce63=a0_0x138a45;this[_0x13ce63(0xd0)]=_0x26957a[_0x13ce63(0xd9)][_0x13ce63(0xd0)],this[_0x13ce63(0xc8)]=_0x26957a[_0x13ce63(0xd9)]['resourceId'],this[_0x13ce63(0xda)]=_0x26957a['metaUI'][_0x13ce63(0xda)]||[],this[_0x13ce63(0xd2)]=_0x26957a['metaUI'][_0x13ce63(0xd2)];}[a0_0x138a45(0xc9)](){var _0xbd592e=a0_0x138a45,_0xbb58ce,_0x1a696d=this[_0xbd592e(0xc8)]?this[_0xbd592e(0xd0)]+'/'+this[_0xbd592e(0xc8)]:this[_0xbd592e(0xd0)],_0x13fd78=this['menus']||[];this[_0xbd592e(0xbf)]=_0x13fd78[_0xbd592e(0xba)](_0x42bbb1=>isActiveMenu(_0x42bbb1,_0x1a696d)?(_0xbb58ce=_0x42bbb1,!0x0):_0x42bbb1[_0xbd592e(0xda)]?!!(_0xbb58ce=_0x42bbb1['menus'][_0xbd592e(0xba)](_0x47a40d=>isActiveMenu(_0x47a40d,_0x1a696d))):void 0x0),this[_0xbd592e(0xc0)]=_0x1a696d,this[_0xbd592e(0xc6)]=_0xbb58ce||this[_0xbd592e(0xbf)];}}customElements['define'](a0_0x138a45(0xdc),DynamicMenuPart);
@@ -1,4 +1,4 @@
1
- function a0_0xddd1(_0x5ad06c,_0xc39905){const _0x1c26e9=a0_0x1c26();return a0_0xddd1=function(_0xddd1a6,_0x4832a5){_0xddd1a6=_0xddd1a6-0x82;let _0x58cd03=_0x1c26e9[_0xddd1a6];return _0x58cd03;},a0_0xddd1(_0x5ad06c,_0xc39905);}(function(_0x1a4b7d,_0x185793){const _0x1e8d8f=a0_0xddd1,_0x50205b=_0x1a4b7d();while(!![]){try{const _0x14034c=-parseInt(_0x1e8d8f(0x88))/0x1*(-parseInt(_0x1e8d8f(0x83))/0x2)+parseInt(_0x1e8d8f(0x85))/0x3+parseInt(_0x1e8d8f(0x84))/0x4*(-parseInt(_0x1e8d8f(0x8c))/0x5)+parseInt(_0x1e8d8f(0x8a))/0x6*(-parseInt(_0x1e8d8f(0x8d))/0x7)+-parseInt(_0x1e8d8f(0x82))/0x8+-parseInt(_0x1e8d8f(0x89))/0x9*(parseInt(_0x1e8d8f(0x86))/0xa)+-parseInt(_0x1e8d8f(0x8b))/0xb*(-parseInt(_0x1e8d8f(0x87))/0xc);if(_0x14034c===_0x185793)break;else _0x50205b['push'](_0x50205b['shift']());}catch(_0x33a27b){_0x50205b['push'](_0x50205b['shift']());}}}(a0_0x1c26,0x24ba8));function a0_0x1c26(){const _0x2a0294=['124761TKVZgi','911672pewcBD','40UZqWhg','20sZFxqd','312003YCAlEd','626210UAzolw','357624pIuKSI','7309roOYmd','9zyRKpB','36rKRiUs','176lxvbcu','293055AjrADv'];a0_0x1c26=function(){return _0x2a0294;};return a0_0x1c26();}import{css}from'lit';export const DynamicMenuPortraitStyles=css`
1
+ function a0_0x543f(_0x236ece,_0x2bad87){const _0x29c594=a0_0x29c5();return a0_0x543f=function(_0x543fbb,_0x16c510){_0x543fbb=_0x543fbb-0x11b;let _0x54cf98=_0x29c594[_0x543fbb];return _0x54cf98;},a0_0x543f(_0x236ece,_0x2bad87);}(function(_0x186d07,_0x2a89b6){const _0x56b1a8=a0_0x543f,_0x20a413=_0x186d07();while(!![]){try{const _0x83730=parseInt(_0x56b1a8(0x123))/0x1+parseInt(_0x56b1a8(0x121))/0x2+-parseInt(_0x56b1a8(0x11d))/0x3*(-parseInt(_0x56b1a8(0x11c))/0x4)+-parseInt(_0x56b1a8(0x11f))/0x5+parseInt(_0x56b1a8(0x11e))/0x6*(parseInt(_0x56b1a8(0x120))/0x7)+parseInt(_0x56b1a8(0x11b))/0x8+-parseInt(_0x56b1a8(0x122))/0x9;if(_0x83730===_0x2a89b6)break;else _0x20a413['push'](_0x20a413['shift']());}catch(_0x252280){_0x20a413['push'](_0x20a413['shift']());}}}(a0_0x29c5,0x7652d));function a0_0x29c5(){const _0x4a79f4=['354ngcsuV','456216eDrJqL','4833835jYsyrB','77OKtADg','921004chxBGE','1699677GFijDI','12145NXsOUG','1741712WoIJKU','3848bdYvfp'];a0_0x29c5=function(){return _0x4a79f4;};return a0_0x29c5();}import{css}from'lit';export const DynamicMenuPortraitStyles=css`
2
2
  :host {
3
3
  display: flex;
4
4
  overflow-y: auto;
@@ -1,14 +1,14 @@
1
- const a0_0x6294eb=a0_0x1696;(function(_0x910de,_0x4bcb4){const _0x175bcb=a0_0x1696,_0x2ed9f2=_0x910de();while(!![]){try{const _0x831a95=parseInt(_0x175bcb(0xf9))/0x1+parseInt(_0x175bcb(0x106))/0x2+-parseInt(_0x175bcb(0xef))/0x3+-parseInt(_0x175bcb(0xfd))/0x4*(parseInt(_0x175bcb(0x10a))/0x5)+parseInt(_0x175bcb(0xf0))/0x6*(parseInt(_0x175bcb(0xee))/0x7)+-parseInt(_0x175bcb(0xf5))/0x8*(parseInt(_0x175bcb(0xec))/0x9)+-parseInt(_0x175bcb(0xe9))/0xa*(-parseInt(_0x175bcb(0x102))/0xb);if(_0x831a95===_0x4bcb4)break;else _0x2ed9f2['push'](_0x2ed9f2['shift']());}catch(_0x28595f){_0x2ed9f2['push'](_0x2ed9f2['shift']());}}}(a0_0x356f,0x4cdbf));import'@material/mwc-icon';import{html,LitElement}from'lit';import{navigate}from'@operato/shell';import{ScrollbarStyles}from'@operato/styles';function a0_0x356f(){const _0x501685=['295716gHspnW','activeTopLevel','href','transitionend','call','14503742ViNmWW','removeAttribute','path','map','610334csBQVp','menu','firstUpdated','active-toplevel','35qPPbhY','length','settled','function','10cjvoRh','addEventListener','dynamic-menu-portrait','9vruqeH','renderMenus','7cHxZJD','1166238DkpbiP','685350wxOGQX','#force','group','click','renderRoot','4607248WaaiBM','closest','render','styles','59056eYwrHh','preventDefault','dispatchEvent','transitionstart'];a0_0x356f=function(){return _0x501685;};return a0_0x356f();}import{DynamicMenuPortraitStyles}from'./dynamic-menu-portrait-styles';function a0_0x1696(_0x5eb8bb,_0x2c38ce){const _0x356f25=a0_0x356f();return a0_0x1696=function(_0x1696f3,_0x22473c){_0x1696f3=_0x1696f3-0xe9;let _0x59577c=_0x356f25[_0x1696f3];return _0x59577c;},a0_0x1696(_0x5eb8bb,_0x2c38ce);}export class DynamicMenuPortrait extends LitElement{static get[a0_0x6294eb(0xf8)](){return[ScrollbarStyles,DynamicMenuPortraitStyles];}static get['properties'](){return{'menus':Array,'activeTopLevel':Object,'activeMenu':Object,'path':String};}[a0_0x6294eb(0xed)](_0x4d5360,_0x2c1ab5,_0x3adeb8){const _0x2516a7=a0_0x6294eb;return html`
1
+ const a0_0x482460=a0_0x46fd;(function(_0x5cdd76,_0x21e987){const _0x534380=a0_0x46fd,_0x2b24b5=_0x5cdd76();while(!![]){try{const _0x47db7b=parseInt(_0x534380(0x188))/0x1*(-parseInt(_0x534380(0x185))/0x2)+-parseInt(_0x534380(0x174))/0x3+-parseInt(_0x534380(0x181))/0x4*(parseInt(_0x534380(0x182))/0x5)+parseInt(_0x534380(0x17d))/0x6*(-parseInt(_0x534380(0x17e))/0x7)+parseInt(_0x534380(0x16a))/0x8+-parseInt(_0x534380(0x17a))/0x9*(-parseInt(_0x534380(0x183))/0xa)+parseInt(_0x534380(0x18a))/0xb;if(_0x47db7b===_0x21e987)break;else _0x2b24b5['push'](_0x2b24b5['shift']());}catch(_0x55d45c){_0x2b24b5['push'](_0x2b24b5['shift']());}}}(a0_0x4822,0x1d7b4));function a0_0x46fd(_0x22e8b7,_0x1d3ee2){const _0x482216=a0_0x4822();return a0_0x46fd=function(_0x46fde7,_0xe88d2b){_0x46fde7=_0x46fde7-0x16a;let _0x18db4a=_0x482216[_0x46fde7];return _0x18db4a;},a0_0x46fd(_0x22e8b7,_0x1d3ee2);}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_0x482460(0x16c)](){return[ScrollbarStyles,DynamicMenuPortraitStyles];}static get[a0_0x482460(0x18f)](){return{'menus':Array,'activeTopLevel':Object,'activeMenu':Object,'path':String};}[a0_0x482460(0x17f)](_0x1c9ddc,_0x35e2b3,_0x466cdb){const _0x4adba8=a0_0x482460;return html`
2
2
  <ul>
3
- ${_0x4d5360[_0x2516a7(0x105)](_0x4772a2=>{const _0x2dd6ff=_0x2516a7;var {type:_0x399f5b,active:_0x437eb1,path:_0x21c11d,name:_0x3e23e6,badge:_0xeb36b4,icon:_0x745223,menus:_0x1a052d}=_0x4772a2;return _0x437eb1=!(!_0x437eb1||_0x2dd6ff(0x10d)!=typeof _0x437eb1)&&_0x437eb1[_0x2dd6ff(0x101)](_0x4772a2,{'path':this[_0x2dd6ff(0x104)]}),_0xeb36b4='function'==typeof _0xeb36b4?_0xeb36b4[_0x2dd6ff(0x101)](_0x4772a2):_0xeb36b4??!0x1,_0x2dd6ff(0xf2)==_0x399f5b?html`<li group-label>${_0x3e23e6}</li>`:html`
4
- <li ?active=${_0x2c1ab5?_0x4772a2===_0x2c1ab5:_0x437eb1} .menu=${_0x4772a2} menu>
5
- <a href=${_0x21c11d||'#'}>
6
- ${_0x1a052d?.[_0x2dd6ff(0x10b)]>0x0?html` <mwc-icon submenu-button></mwc-icon> `:html``}
7
- <mwc-icon>${_0x745223}</mwc-icon>
8
- ${_0x3e23e6} ${!0x1!==_0xeb36b4?html`<div badge>${_0xeb36b4}</div>`:html``}
3
+ ${_0x1c9ddc[_0x4adba8(0x186)](_0x2fd157=>{const _0x17d7d2=_0x4adba8;var {type:_0x45362b,active:_0x3851fd,path:_0x92bdad,name:_0x253d74,badge:_0xe6b1aa,icon:_0x4539fe,menus:_0x1674a5}=_0x2fd157;return _0x3851fd=!(!_0x3851fd||_0x17d7d2(0x171)!=typeof _0x3851fd)&&_0x3851fd[_0x17d7d2(0x18e)](_0x2fd157,{'path':this[_0x17d7d2(0x178)]}),_0xe6b1aa='function'==typeof _0xe6b1aa?_0xe6b1aa['call'](_0x2fd157):_0xe6b1aa??!0x1,_0x17d7d2(0x184)==_0x45362b?html`<li group-label>${_0x253d74}</li>`:html`
4
+ <li ?active=${_0x35e2b3?_0x2fd157===_0x35e2b3:_0x3851fd} .menu=${_0x2fd157} menu>
5
+ <a href=${_0x92bdad||'#'}>
6
+ ${_0x1674a5?.[_0x17d7d2(0x18c)]>0x0?html` <mwc-icon submenu-button></mwc-icon> `:html``}
7
+ <mwc-icon>${_0x4539fe}</mwc-icon>
8
+ ${_0x253d74} ${!0x1!==_0xe6b1aa?html`<div badge>${_0xe6b1aa}</div>`:html``}
9
9
  </a>
10
- ${_0x1a052d&&this[_0x2dd6ff(0xed)](_0x1a052d,_0x3adeb8)}
10
+ ${_0x1674a5&&this['renderMenus'](_0x1674a5,_0x466cdb)}
11
11
  </li>
12
12
  `;})}
13
13
  </ul>
14
- `;}[a0_0x6294eb(0xf7)](){const _0x12b722=a0_0x6294eb,{menus:_0x2599e6,activeTopLevel:_0x219f1d,activeMenu:_0x2d7c9c}=this;return this[_0x12b722(0xed)](_0x2599e6,_0x219f1d,_0x2d7c9c);}[a0_0x6294eb(0x108)](){const _0x3f3897=a0_0x6294eb;this[_0x3f3897(0xf4)]['addEventListener'](_0x3f3897(0xf3),_0x55a65e=>{const _0x20e2b8=_0x3f3897,_0x47ca2f=_0x55a65e['target'][_0x20e2b8(0xf6)]('[menu]');if(_0x47ca2f?.[_0x20e2b8(0x107)]){let _0x2a9883=_0x47ca2f[_0x20e2b8(0x107)];_0x2a9883[_0x20e2b8(0x104)]||(_0x55a65e['stopPropagation'](),_0x55a65e[_0x20e2b8(0xfa)]()),this[_0x20e2b8(0xfb)](new CustomEvent(_0x20e2b8(0x109),{'bubbles':!0x0,'detail':this[_0x20e2b8(0xfe)]===_0x2a9883?void 0x0:_0x2a9883}));}let _0x4cf285=_0x55a65e['target'][_0x20e2b8(0xff)];_0x4cf285&&location[_0x20e2b8(0xff)]===_0x4cf285&&navigate(_0x4cf285+_0x20e2b8(0xf1),!0x0);}),this[_0x3f3897(0xf4)][_0x3f3897(0xea)](_0x3f3897(0xfc),_0x548112=>{const _0x52cfed=_0x3f3897;_0x548112['target'][_0x52cfed(0x103)](_0x52cfed(0x10c));}),this[_0x3f3897(0xf4)][_0x3f3897(0xea)](_0x3f3897(0x100),_0x315909=>{_0x315909['target']['setAttribute']('settled','');});}}customElements['define'](a0_0x6294eb(0xeb),DynamicMenuPortrait);
14
+ `;}['render'](){const {menus:_0xfbb265,activeTopLevel:_0x1fa3e6,activeMenu:_0x4afbd4}=this;return this['renderMenus'](_0xfbb265,_0x1fa3e6,_0x4afbd4);}['firstUpdated'](){const _0x49a969=a0_0x482460;this[_0x49a969(0x16b)][_0x49a969(0x177)](_0x49a969(0x173),_0x43c823=>{const _0x1c51a7=_0x49a969,_0x1f7670=_0x43c823[_0x1c51a7(0x16f)][_0x1c51a7(0x17c)](_0x1c51a7(0x179));if(_0x1f7670?.[_0x1c51a7(0x16e)]){let _0x1c88a7=_0x1f7670[_0x1c51a7(0x16e)];_0x1c88a7[_0x1c51a7(0x178)]||(_0x43c823['stopPropagation'](),_0x43c823[_0x1c51a7(0x18d)]()),this[_0x1c51a7(0x176)](new CustomEvent('active-toplevel',{'bubbles':!0x0,'detail':this[_0x1c51a7(0x18b)]===_0x1c88a7?void 0x0:_0x1c88a7}));}let _0x546a81=_0x43c823[_0x1c51a7(0x16f)][_0x1c51a7(0x170)];_0x546a81&&location[_0x1c51a7(0x170)]===_0x546a81&&navigate(_0x546a81+_0x1c51a7(0x189),!0x0);}),this[_0x49a969(0x16b)][_0x49a969(0x177)]('transitionstart',_0x217db9=>{const _0x4ae870=_0x49a969;_0x217db9['target'][_0x4ae870(0x180)]('settled');}),this[_0x49a969(0x16b)][_0x49a969(0x177)](_0x49a969(0x172),_0x41e969=>{const _0x55a651=_0x49a969;_0x41e969[_0x55a651(0x16f)][_0x55a651(0x187)](_0x55a651(0x175),'');});}}customElements[a0_0x482460(0x17b)](a0_0x482460(0x16d),DynamicMenuPortrait);function a0_0x4822(){const _0x41e2af=['796264faJAPy','renderRoot','styles','dynamic-menu-portrait','menu','target','href','function','transitionend','click','512259Pmutyc','settled','dispatchEvent','addEventListener','path','[menu]','18WllSRm','define','closest','72858AFbsZD','21PYbtDk','renderMenus','removeAttribute','4sMgXtR','100930qvkgXl','582140QFPBdF','group','8ivHYMN','map','setAttribute','49376zBqIdA','#force','3626337LpPBJt','activeTopLevel','length','preventDefault','call','properties'];a0_0x4822=function(){return _0x41e2af;};return a0_0x4822();}
@@ -1,4 +1,4 @@
1
- const a0_0x488795=a0_0x305f;(function(_0x13fd0f,_0x1ceb72){const _0x27710d=a0_0x305f,_0x4c8e02=_0x13fd0f();while(!![]){try{const _0x224f06=-parseInt(_0x27710d(0x1ff))/0x1*(parseInt(_0x27710d(0x202))/0x2)+-parseInt(_0x27710d(0x1f1))/0x3*(-parseInt(_0x27710d(0x206))/0x4)+-parseInt(_0x27710d(0x1f5))/0x5+-parseInt(_0x27710d(0x203))/0x6+parseInt(_0x27710d(0x1f0))/0x7*(-parseInt(_0x27710d(0x209))/0x8)+-parseInt(_0x27710d(0x208))/0x9+parseInt(_0x27710d(0x1f6))/0xa;if(_0x224f06===_0x1ceb72)break;else _0x4c8e02['push'](_0x4c8e02['shift']());}catch(_0x124ae7){_0x4c8e02['push'](_0x4c8e02['shift']());}}}(a0_0x1866,0xf14f5));import'@material/mwc-icon';import{css,html,LitElement}from'lit';import{connect}from'pwa-helpers';function a0_0x305f(_0x291fcf,_0x207b75){const _0x1866c4=a0_0x1866();return a0_0x305f=function(_0x305fc6,_0x12f324){_0x305fc6=_0x305fc6-0x1ef;let _0x50a992=_0x1866c4[_0x305fc6];return _0x50a992;},a0_0x305f(_0x291fcf,_0x207b75);}import{toggleOverlay}from'@operato/layout';function a0_0x1866(){const _0x18d576=['dynamic-top-menu-bar','find','18508Ibvfxi','2370gUmTHU','updated','styles','properties','1680065fsTooB','32632340oeofPj','_findActivePage','slotTemplate','_activeTopLevel','path','route','define','group','metaUI','2371qRxwof','menus','page','860XYcxqU','100308MiMxLf','resourceId','dyamic-menu-part','7164iVFhzT','split','4509270pTzSGk','5496mWBINU','has','map'];a0_0x1866=function(){return _0x18d576;};return a0_0x1866();}import{store}from'@operato/shell';export class DynamicTopMenuBar extends connect(store)(LitElement){static get[a0_0x488795(0x1f3)](){return css`
1
+ function a0_0x4034(){const _0x300cef=['slotTemplate','743694VqBerI','411ovTpVi','stateChanged','render','122905YyqEip','replaceChild','menus','6AlpVvR','route','30609000HfunPw','split','find','4957929plZTFD','10801JZCeZp','path','page','define','metaUI','styles','4272vnriuJ','resourceId','dynamic-top-menu-bar','has','27476sZRTjr','dyamic-menu-part','updated','41609UmrAZr'];a0_0x4034=function(){return _0x300cef;};return a0_0x4034();}const a0_0xd373b=a0_0x12d8;(function(_0x4a2d73,_0x426385){const _0x4ec8d1=a0_0x12d8,_0x26653f=_0x4a2d73();while(!![]){try{const _0x1c0f3b=-parseInt(_0x4ec8d1(0x1d0))/0x1*(parseInt(_0x4ec8d1(0x1d9))/0x2)+-parseInt(_0x4ec8d1(0x1d3))/0x3*(parseInt(_0x4ec8d1(0x1cd))/0x4)+parseInt(_0x4ec8d1(0x1d6))/0x5+-parseInt(_0x4ec8d1(0x1d2))/0x6+-parseInt(_0x4ec8d1(0x1c3))/0x7*(parseInt(_0x4ec8d1(0x1c9))/0x8)+-parseInt(_0x4ec8d1(0x1c2))/0x9+parseInt(_0x4ec8d1(0x1db))/0xa;if(_0x1c0f3b===_0x426385)break;else _0x26653f['push'](_0x26653f['shift']());}catch(_0x43b12e){_0x26653f['push'](_0x26653f['shift']());}}}(a0_0x4034,0x7f269));import'@material/mwc-icon';import{css,html,LitElement}from'lit';function a0_0x12d8(_0x13bd63,_0x4ba63d){const _0x403402=a0_0x4034();return a0_0x12d8=function(_0x12d8a6,_0x416c25){_0x12d8a6=_0x12d8a6-0x1c0;let _0xcec6bf=_0x403402[_0x12d8a6];return _0xcec6bf;},a0_0x12d8(_0x13bd63,_0x4ba63d);}import{connect}from'pwa-helpers';import{toggleOverlay}from'@operato/layout';import{store}from'@operato/shell';export class DynamicTopMenuBar extends connect(store)(LitElement){static get[a0_0xd373b(0x1c8)](){return css`
2
2
  :host {
3
3
  display: flex;
4
4
  flex-direction: row;
@@ -48,20 +48,20 @@ const a0_0x488795=a0_0x305f;(function(_0x13fd0f,_0x1ceb72){const _0x27710d=a0_0x
48
48
  li[active] a mwc-icon {
49
49
  opacity: 1;
50
50
  }
51
- `;}static get[a0_0x488795(0x1f4)](){return{'page':String,'resourceId':String,'menus':Array,'_activeTopLevel':Object};}['render'](){const _0x514cda=a0_0x488795,{menus:_0x13cb0f=[],_activeTopLevel:_0x20e874}=this;return html`
51
+ `;}static get['properties'](){return{'page':String,'resourceId':String,'menus':Array,'_activeTopLevel':Object};}[a0_0xd373b(0x1d5)](){const {menus:_0x21de38=[],_activeTopLevel:_0x360347}=this;return html`
52
52
  <slot name="head"></slot>
53
53
  <ul>
54
- ${_0x13cb0f[_0x514cda(0x20b)](_0x18bbb6=>_0x514cda(0x1fd)==_0x18bbb6['type']?html``:html`
55
- <li ?active=${_0x18bbb6===_0x20e874}>
54
+ ${_0x21de38['map'](_0x143682=>'group'==_0x143682['type']?html``:html`
55
+ <li ?active=${_0x143682===_0x360347}>
56
56
  <a
57
57
  href="#"
58
- @click=${_0x25267c=>{const _0x9de967=_0x514cda;_0x25267c['preventDefault'](),toggleOverlay(_0x9de967(0x205),{'backdrop':!0x0});}}
58
+ @click=${_0x5afabc=>{const _0x274126=a0_0x12d8;_0x5afabc['preventDefault'](),toggleOverlay(_0x274126(0x1ce),{'backdrop':!0x0});}}
59
59
  >
60
- ${_0x18bbb6['name']}
60
+ ${_0x143682['name']}
61
61
  <mwc-icon>expand_more</mwc-icon>
62
62
  </a>
63
63
  </li>
64
64
  `)}
65
65
  </ul>
66
66
  <slot name="tail"></slot>
67
- `;}['stateChanged'](_0x53e8aa){const _0x42cdc0=a0_0x488795;this[_0x42cdc0(0x201)]=_0x53e8aa['route']['page'],this[_0x42cdc0(0x204)]=_0x53e8aa[_0x42cdc0(0x1fb)][_0x42cdc0(0x204)],this['menus']=_0x53e8aa[_0x42cdc0(0x1fe)][_0x42cdc0(0x200)]||[],this['slotTemplate']=_0x53e8aa['metaUI'][_0x42cdc0(0x1f8)];}[a0_0x488795(0x1f2)](_0x5ce1f2){const _0x2ca3dc=a0_0x488795;(_0x5ce1f2[_0x2ca3dc(0x20a)](_0x2ca3dc(0x200))||_0x5ce1f2[_0x2ca3dc(0x20a)](_0x2ca3dc(0x201))||_0x5ce1f2[_0x2ca3dc(0x20a)](_0x2ca3dc(0x204)))&&this[_0x2ca3dc(0x1f7)](),_0x5ce1f2['has'](_0x2ca3dc(0x1f8))&&this['replaceChild'](this[_0x2ca3dc(0x1f8)]);}[a0_0x488795(0x1f7)](){const _0x117f03=a0_0x488795;var _0x3c8547=this[_0x117f03(0x204)]?this[_0x117f03(0x201)]+'/'+this[_0x117f03(0x204)]:this['page'],_0x19c030=this[_0x117f03(0x200)]||[];this[_0x117f03(0x1f9)]=_0x19c030[_0x117f03(0x1ef)](_0x259a9c=>_0x259a9c[_0x117f03(0x1fa)]?.[_0x117f03(0x207)]('?')[0x0]===_0x3c8547||(_0x259a9c['menus']?!!_0x259a9c[_0x117f03(0x200)][_0x117f03(0x1ef)](_0x14fc2b=>_0x14fc2b[_0x117f03(0x1fa)]?.[_0x117f03(0x207)]('?')[0x0]===_0x3c8547):void 0x0));}}customElements[a0_0x488795(0x1fc)](a0_0x488795(0x20c),DynamicTopMenuBar);
67
+ `;}[a0_0xd373b(0x1d4)](_0x373c93){const _0x38ac2f=a0_0xd373b;this[_0x38ac2f(0x1c5)]=_0x373c93['route']['page'],this['resourceId']=_0x373c93[_0x38ac2f(0x1da)]['resourceId'],this[_0x38ac2f(0x1d8)]=_0x373c93[_0x38ac2f(0x1c7)]['menus']||[],this[_0x38ac2f(0x1d1)]=_0x373c93[_0x38ac2f(0x1c7)][_0x38ac2f(0x1d1)];}[a0_0xd373b(0x1cf)](_0x26216a){const _0x2ea1ce=a0_0xd373b;(_0x26216a['has'](_0x2ea1ce(0x1d8))||_0x26216a['has'](_0x2ea1ce(0x1c5))||_0x26216a['has'](_0x2ea1ce(0x1ca)))&&this['_findActivePage'](),_0x26216a[_0x2ea1ce(0x1cc)](_0x2ea1ce(0x1d1))&&this[_0x2ea1ce(0x1d7)](this[_0x2ea1ce(0x1d1)]);}['_findActivePage'](){const _0x36dc8f=a0_0xd373b;var _0x6b2d15=this[_0x36dc8f(0x1ca)]?this['page']+'/'+this['resourceId']:this['page'],_0x4ecf76=this[_0x36dc8f(0x1d8)]||[];this['_activeTopLevel']=_0x4ecf76[_0x36dc8f(0x1c1)](_0x118c71=>_0x118c71[_0x36dc8f(0x1c4)]?.[_0x36dc8f(0x1c0)]('?')[0x0]===_0x6b2d15||(_0x118c71[_0x36dc8f(0x1d8)]?!!_0x118c71[_0x36dc8f(0x1d8)][_0x36dc8f(0x1c1)](_0xafd2ab=>_0xafd2ab[_0x36dc8f(0x1c4)]?.[_0x36dc8f(0x1c0)]('?')[0x0]===_0x6b2d15):void 0x0));}}customElements[a0_0xd373b(0x1c6)](a0_0xd373b(0x1cb),DynamicTopMenuBar);