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AA;UAAA;YAAA,OAAAP,QAAA,CAAAS,IAAA;QAAA;MAAA;IAAA,GAAAnB,OAAA;EAAA,CAEjD;EAAA,gBAlBYL,yBAAyBA,CAAA;IAAA,OAAAC,IAAA,CAAAwB,KAAA,OAAAb,SAAA;EAAA;AAAA,GAkBrC","sources":["webpack://smetio/./developement/js/functions/apps/businessLocations/createNewBusinessLocation.js"],"sourcesContent":["export const createNewBusinessLocation = async (functionParameters = {}) => {\r\n\r\n let {smartboxStorageName, modelPath } = functionParameters;\r\n\r\n if(window[\"confirmCreateBusinessLocationSmartbox\"] ) window[\"confirmCreateBusinessLocationSmartbox\"].close();\r\n\r\n smartboxStorageName = smartboxStorageName || \"retrieveModelForBusinessLocationSmartbox\";\r\n\r\n const {retrieveModel} = (await import(/* webpackPrefetch: true */ \"../general/retrieveModel\"));\r\n\r\n functionParameters[\"submissionFuncPath\"] = \"apps/businessLocations/updatePartsOfBusinessLocation\";\r\n functionParameters[\"sideMenuToUse\"] = \"businessLocations\";\r\n functionParameters[\"smartboxStorageName\"] = smartboxStorageName;\r\n functionParameters[\"modelPath\"] = modelPath ?? \"loggedInUser/businessLocations/businessLocationBasicDetailModel\";\r\n // functionParameters[\"doNotSaveFormData\"] = true;\r\n \r\n return await retrieveModel(functionParameters);\r\n\r\n};\r\n"],"names":["createNewBusinessLocation","_ref","_asyncToGenerator","regeneratorRuntime","mark","_callee","functionParameters","smartboxStorageName","modelPath","_yield$import","retrieveModel","_args","arguments","wrap","_callee$","_context","prev","next","length","undefined","window","close","sent","abrupt","stop","apply"],"sourceRoot":""}