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AAEzB,GAAG,CAACyB,WAAW;wBAC5BC,cAAc,EAAE;sBACpB,CAAC,CAAC;oBAAA;sBAAA,OAAAJ,QAAA,CAAAK,MAAA,WAAAL,QAAA,CAAAC,IAAA;oBAAA;oBAAA;sBAAA,OAAAD,QAAA,CAAAM,IAAA;kBAAA;gBAAA;cAAA,GAAAV,OAAA;YAAA,CAEL;YAEDT,MAAM,CAACoB,gCAAgC,GAAG5B,aAAa;YAEvDD,GAAG,CAAC8B,6BAA6B,CAAC7B,aAAa,CAAC;UAAC;UAAA;YAAA,OAAAK,SAAA,CAAAsB,IAAA;QAAA;MAAA;IAAA,GAAA7B,QAAA;EAAA,CAIpD;EAAA,gBA7BYL,mBAAmBA,CAAA;IAAA,OAAAC,IAAA,CAAAoC,KAAA,OAAAC,SAAA;EAAA;AAAA,GA6B/B","sources":["webpack://smetio/./developement/js/functions/apps/businesses/businessesIsClicked.js"],"sourcesContent":["\r\n\r\nexport const businessesIsClicked = async () => {\r\n\r\n const app = window.smetioApp;\r\n const sideMenuToUse = \"businesses\";\r\n const apiEndPoint = app.apiEndPoint;\r\n const language = app.language;\r\n\r\n app.smetioAppUi.actionBar.showAll();\r\n app.smetioAppUi.actionBar.hide(\"listView\");\r\n app.smetioAppUi.actionBar.buttons.createNew.events[\"mousedown\"] = async () => {\r\n\r\n const {createNewBusiness} = (await import(/* webpackPrefetch: true */ \"./createNewBusiness\"));\r\n \r\n return await createNewBusiness({\r\n apiEndPoint,\r\n language,\r\n title: \"txt1730\",\r\n accountType: app.accountType,\r\n urlDestination: \"create\"\r\n });\r\n\r\n };\r\n\r\n window.currentlyVisibleSideMenuItemName = sideMenuToUse;\r\n\r\n app.getTotalNumberOfAvailableData(sideMenuToUse);\r\n\r\n\r\n\r\n};\r\n"],"names":["businessesIsClicked","_ref","_asyncToGenerator","regeneratorRuntime","mark","_callee2","app","sideMenuToUse","apiEndPoint","language","wrap","_callee2$","_context2","prev","next","window","smetioApp","smetioAppUi","actionBar","showAll","hide","buttons","createNew","events","_callee","_yield$import","createNewBusiness","_callee$","_context","sent","title","accountType","urlDestination","abrupt","stop","currentlyVisibleSideMenuItemName","getTotalNumberOfAvailableData","apply","arguments"],"sourceRoot":""}