{"version":3,"sources":["@core/components/mdzStringNormalizer/index.js","utility/context/ThemeColors.js","@core/components/spinner/Fallback-spinner.js","@core/components/ripple-button/index.js","moderniza/modal/notification/index.js","configs/acl/ability.js","configs/acl/initialAbility.js","serviceWorker.js","index.js","configs/themeConfig.js","services/endpoints.js","services/upload.js","moderniza/modal/notification/store/index.js","moderniza/loading/store/index.js","views/organizations/store/add.js","utility/context/Can.js","@core/layouts/components/navbar/store/index.js","redux/layout.js","redux/user.js","views/organizations/store/list.js","moderniza/mdzSidebar/store/index.js","views/register-client/store/index.js","views/register-partner/store/index.js","views/register/store/register.js","services/api.js","views/register-organization/store/register.js","views/dashboard/store/index.js","assets/images/logo/logo.png","redux/navbar.js","moderniza/toast/store/index.js","services/api_finance.js","services/api_comercial.js","services/api_ecommerce.js","views/activations/store/marketplaces.js","redux/filterFields.js","redux/rootReducer.js","redux/store.js","moderniza/toast/index.js","assets/images/logo/moderniza_novo_logo.png","assets/images/logo/Moderniza_sem_logo.png"],"names":["mdzNormalize","name","toLowerCase","replace","l","toUpperCase","general","string","normalize","cep","phone","number","ThemeColors","createContext","ThemeContext","_ref","children","colors","setColors","useState","useEffect","window","getHex","color","getComputedStyle","document","body","getPropertyValue","trim","obj","primary","light","concat","main","secondary","success","danger","warning","info","dark","_jsx","Provider","value","SpinnerComponent","_jsxs","className","src","logo","alt","Button","Ripple","onClick","rest","mounted","setMounted","isRippling","setIsRippling","coords","setCoords","x","y","setTimeout","classnames","e","rect","target","getBoundingClientRect","clientX","left","clientY","top","style","ModalNotification","dispatch","useDispatch","store","useSelector","state","modalNotification","Modal","modalClassName","isOpen","show","toggle","hiddenModal","ModalHeader","title","ModalBody","message","list","map","item","index","ModalFooter","userData","JSON","parse","localStorage","getItem","Ability","_userData$permissoes","permissoes","permission","action","tipo","subject","rotulo","Boolean","location","hostname","match","LazyApp","lazy","container","getElementById","createRoot","render","BrowserRouter","Suspense","fallback","Spinner","AbilityContext","ability","Toaster","position","themeConfig","layout","toastPosition","toastOptions","navigator","serviceWorker","ready","then","registration","unregister","app","appName","appLogoImage","require","default","appNameImage","isRTL","skin","routerTransition","type","contentWidth","menu","isHidden","isCollapsed","navbar","backgroundColor","footer","customizer","scrollTop","URL_API_CHECKOUT","URL_API_LOGISTICS","URL_API_CONFIG","URL_API_HUB","URL_API_PLATFORM","URL_LOGIN","URL_API_FINANCE","URL_API_COMERCIAL","URL_NOT_AUTHORIZED","URL_ERP","URL_API_PORTAL","indexOf","host","split","shift","async","uploadImageAws","mime","path","image","api","axios","create","bucket","post","modalNotificationSlice","createSlice","initialState","reducers","showModal","payload","actions","loadingSlice","isLoading","showLoading","hideLoading","searchCities","createAsyncThunk","uf","get","data","searchPostalCode","_res$data$ibge","res","ibgeUf","ibge","length","substring","logradouro","bairro","submitOrganizations","_ref2","cnpj","showError","corporate_name","address","postal_code","id_organization","error","console","listParentOrganizationsByType","response","fetchChildren","fetchData","_ref3","parseInt","fetchPlan","id_plan","undefined","cities","organizations_children","listParentOrganizations","plans","plan","plansInOrg","fields","id_parent_organization","fantasy_name","situation","SituacaoOrganizacao","Ativo","TipoOrganizacao","Cliente","state_registration","address_number","address_complement","district","state_ibge","city_ibge","email","cellphone","plan_selected","city_name","state_name","business_structure","EstruturaNegocio","Matriz","is_demo","billing_day","valid_billing_day","disable_billing_day","token","user_responsible","segment","addOrganizagionsSlice","setFieldsValues","field","reset","extraReducers","builder","addCase","fulfilled","_action$payload$ibge","localidade","_action$payload","resetFields","createContextualCan","Consumer","titleSlice","setTitle","layoutSlice","initialSkin","initialDirection","lastLayout","menuCollapsed","initialMenuCollapsed","footerType","navbarType","menuHidden","navbarColor","handleRTL","setItem","stringify","handleSkin","handleLayout","handleFooterType","handleNavbarType","handleMenuHidden","handleLastLayout","handleNavbarColor","handleContentWidth","handleMenuCollapsed","fetchLogin","user","fetchPermissions","fetchMainOrganization","_res$data","organizations","userSlice","initialUser","main_organization","initialMainOrganization","organization","permissions","initialPermissions","initialMenuItems","setOrganization","setUser","setPermissions","setMenuItems","menuItems","logout","removeItem","cookie","serialize","maxAge","domain","login","filterRegex","filter","fetchOrgOptions","getOrganizationsByParent","fetchOrganizationSelected","listOrganizagionsSlice","ParentInClientCenter","organization_selected","organization_options","records","onFocus","cancellation","cancellationSelectedOrganization","cancellationSelectedApp","cancellationOrgs","cancellationApps","reason","setOnFocus","setOrganizationSelected","setCancellationValues","setParentInClientCenter","isVisible","component","open","mdzSidebarSlice","showMdzSidebar","hideMdzSidebar","setMdzSidebar","handleOpenMdzSidebar","verifyCnpj","callback","normalizedCnpj","status","handleRegisterClient","verifyNoExistCnpj","getPublicData","_response$data$codigo","nomeCorporativo","razao_social","nomeFantasia","nome_fantasia","telefone","ddd_telefone_1","celular","ddd_telefone_2","cidade","municipio","endereco","numero","complemento","estado_ibge","codigo_municipio_ibge","toString","cidade_ibge","matrizOuFilial","cnpjMatrizPai","cnpjMatrizIsValid","listApps","cnpjIsValid","termosAceito","nomeUsuario","emailUsuario","senhaUsuario","confirmarSenhaUsuario","matrizOuFilialIsDisabled","DadosDaFilialIsDisabled","CadastroDeUsuarioIsDisabled","SelecaoDeAplicativosIsDisabled","quantityClientsPartnerBase","quantityClientsMigrated","id_organization_created","stepByStepUserRegister","result","handleRegisterPartner","_ref4","isDemo","cnpjParentOrganization","ie","registerPartner","test","signup","callBackRedirect","stringifyData","validateData","catch","confirmRegistration","code","verification_code","statusCode","resendCode","step","password","confirm_password","validation_data","id_head_office_organization","checking","signupSlice","setValidationValues","setStep","resetChecking","_action$payload$respo","baseURL","withCredentials","headers","interceptors","use","href","complement","Promise","reject","register","user_temp","validation","isModerShopActive","activate_modershop","registerOrganizationSlice","activateModershop","initialDate","finalDate","idOrganization","business","segments","handleFilter","Date","directCustomers","dashboardSlice","onHandleFilter","resetFilter","getBookmarks","suggestions","bookmarks","updateBookmarked","id","query","handleSearchQuery","objectToUpdate","find","isBookmarked","bookmarkIndex","findIndex","push","splice","showLoadingModal","apiFinance","apiComercial","ECOMMERCE_URL","Authorization","fetchMarketplace","_response$data","marketplace","fetchPayments","Number","is_moderbank","findModerbank","showSuccess","where","id_bank_account","findModerbankById","findPrivacy","fetchTuoBank","saveTuoBank","createSafeTwoPay","id_safe_two_pay","fetchSafeTwoPay","fetchFrenet","saveFrenet","fetchMelhorEnvio","saveMelhorEnvio","saveLogo","_data$template_value","template_value","resUpload","id_marketplace","template_key","setLogoBase64","checkDNS","slug","sufix","url","controller","AbortController","timeoutId","abort","fetch","signal","method","clearTimeout","content","json","description","CheckDNS","submitActivation","ChangeTheme","_data$fields","submitBanner","url_desktop","url_mobile","dataBanner","uploadDesktop","uploadMobile","upload","findBanners","updateBanner","id_marketplace_banner","findBannersById","toast","deleteBanners","getSocialMedia","updateShowProductWithoutStock","chargeSaleChannel","id_canal_venda","loading","dns_avalaible","modal_state","banners","banner_fields","logo_base64","tuo_bank","id_tuo_bank","frenet","id_frenet","melhor_envio","id_melhor_envio","exibir_produto_sem_estoque","url_xml_integration_shopping","url_domain","Situacao","ids_sales_channels","logo_type_mobile","TipoLogos","Retangular","logo_mobile","logo_square_text_mobile","logo_type_desktop","logo_desktop","logo_square_text_desktop","logo_style_header","StyleTypeLogos","Default","logo_style_footer","color_primary","color_secondary","color_bg_footer","color_text_footer","color_bg_header","color_text_header","color_bg_main","color_text_main","color_normal_price","color_promotion_price","color_bg_primary_button","color_text_primary_button","color_bg_secondary_button","color_text_secondary_button","color_secondary_price","product_page_blocks","home_page_blocks","moderbank_fields","is_pix","is_demand","safe_two_pay","max_installments","active_installments","is_connected","id_installment","payment_options","social_medias","google","url_arquivo","tag_manager_id","analytics_id","facebook","url_loja","meta_pixel_id","instagram","youtube","whatsapp","terms","policy","activationsSlice","Array","isArray","setTerms","setBanners","setSelectedBanner","setPolicy","setModalState","setBannerValues","setLoading","setModerbankValues","setFieldsTuoBankValues","setFieldsSafeTwoPay","setFieldsFrenetValues","setFieldsMelhorEnvioValues","setPrimaryColorFields","setSecondColorFields","setApp","setGoogleUrlLoja","setGoogleTagManagerId","setGoogleAnalyticsId","setFacebookUrlLoja","setFacebookMetaPixelId","setFacebookUrlArquivo","setInstagramUrlLoja","setInstagramUrlArquivo","setYoutubeUrlArquivo","setWhatsappUrlArquivo","resetBannerSelect","_action$payload2","marketplaces_templates","_action$payload$activ","_action$payload$activ2","_action$payload$activ3","_action$payload$activ4","activate","facebook_file","facebook_url","facebook_meta_pixel_id","instagram_file","instagram_url","google_file","google_tag_manager_id","google_analytics_id","whatsapp_number","youtube_url","_action$payload$","id_conta","terms_of_use","privacy_policy","available","filterFieldsSlice","rootReducer","filterFields","loadingModal","addOrganizations","listOrganizations","marketplaces","registerOrganization","RegisterClient","RegisterPartner","mdzSidebar","dashboard","configureStore","reducer","middleware","getDefaultMiddleware","serializableCheck","Custom","setShow","err","CustomConfirmation","text","onClickNo","onClickYes","isTerms","textButtonNo","textButtonYes","isActive","setIsActive","Fragment","outline","custom","showConfirmation","msg"],"mappings":"iIAAA,kCAAO,MAAMA,EAAe,CAC1BC,KAAOA,GACEA,EAAKC,cAAcC,QAAQ,SAAUC,GAAMA,EAAEC,gBAEtDC,QAAUC,GACDA,EACJC,UAAU,OACVL,QAAQ,mBAAoB,IAC5BD,cAELO,IAAMA,GACGA,EAAIN,QAAQ,SAAU,IAE/BO,MAAQC,GACCA,EAAOR,QAAQ,MAAO,I,wOCVjC,MAAMS,EAAcC,0BAEdC,EAAeC,IAAmB,IAAlB,SAAEC,GAAUD,EAEhC,MAAOE,EAAQC,GAAaC,mBAAS,CAAC,GA4CtC,OAzCAC,qBAAU,KACR,GAAe,cAAXC,OAAwB,CAE1B,MAAMC,EAAUC,GAAUF,OAAOG,iBAAiBC,SAASC,MAAMC,iBAAiBJ,GAAOK,OAGnFC,EAAM,CACVC,QAAS,CACPC,MAAOT,EAAO,gBAAgBU,OAAO,MACrCC,KAAMX,EAAO,iBAEfY,UAAW,CACTH,MAAOT,EAAO,kBAAkBU,OAAO,MACvCC,KAAMX,EAAO,mBAEfa,QAAS,CACPJ,MAAOT,EA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B,SACDqpB,GAA8BznB,eAAC6nB,WAAQ,CAAAzpB,SAAA,CAAC,KAAc,IAAZopB,EAAmB,WAAa,gBAGzE,EAkBCrd,EAAaK,IACxB2T,IAAM4J,OAAOnoB,cAACqnB,EAAM,CAACzc,MAAOA,IAAiB,EAKlCwd,EAAmBA,CAACX,EAAMC,EAAWC,EAAYC,EAASE,EAAeD,KACpFtJ,IAAM4J,OACJnoB,cAACwnB,EAAkB,CACjBC,KAAMA,EACNC,UAAWA,EACXC,WAAYA,EACZC,QAASA,EACTC,aAAcA,EACdC,cAAeA,IAElB,EAGU1M,EAAeiN,IAC1B9J,IAAM5e,QAAQ0oB,EAAI,C,kCC7FpB,OAAe,8nQ,kCCAf,OAAe,cAA0B,8C","file":"static/js/main.30017f04.chunk.js","sourcesContent":["export const mdzNormalize = {\n name: (name) => {\n return name.toLowerCase().replace(/\\b\\w/g, (l) => l.toUpperCase())\n },\n general: (string) => {\n return string\n .normalize('NFD')\n .replace(/[\\u0300-\\u036f]/g, '')\n .toLowerCase()\n },\n cep: (cep) => {\n return cep.replace(/[^\\d]/g, '')\n },\n phone: (number) => {\n return number.replace(/\\D/g, '')\n }\n}\n","// ** React Imports\nimport { useEffect, useState, createContext } from \"react\"\n\n// ** Create Context\nconst ThemeColors = createContext()\n\nconst ThemeContext = ({ children }) => {\n // ** State\n const [colors, setColors] = useState({})\n\n //** ComponentDidMount\n useEffect(() => {\n if (window !== \"undefined\") {\n //** Get variable value\n const getHex = (color) => window.getComputedStyle(document.body).getPropertyValue(color).trim()\n\n //** Colors obj\n const obj = {\n primary: {\n light: getHex(\"--bs-primary\").concat(\"1a\"),\n main: getHex(\"--bs-primary\")\n },\n secondary: {\n light: getHex(\"--bs-secondary\").concat(\"1a\"),\n main: getHex(\"--bs-secondary\")\n },\n success: {\n light: getHex(\"--bs-success\").concat(\"1a\"),\n main: getHex(\"--bs-success\")\n },\n danger: {\n light: getHex(\"--bs-danger\").concat(\"1a\"),\n main: getHex(\"--bs-danger\")\n },\n warning: {\n light: getHex(\"--bs-warning\").concat(\"1a\"),\n main: getHex(\"--bs-warning\")\n },\n info: {\n light: getHex(\"--bs-info\").concat(\"1a\"),\n main: getHex(\"--bs-info\")\n },\n dark: {\n light: getHex(\"--bs-dark\").concat(\"1a\"),\n main: getHex(\"--bs-dark\")\n }\n }\n\n setColors({ ...obj })\n }\n }, [])\n\n return (\n {children}\n )\n}\n\nexport { ThemeColors, ThemeContext }\n","// ** Logo\nimport logo from \"@src/assets/images/logo/logo.png\"\n\nconst SpinnerComponent = () => {\n return (\n
\n \"logo\"\n
\n
\n
\n
\n
\n
\n )\n}\n\nexport default SpinnerComponent\n","// ** React Imports\nimport { useState, useEffect } from \"react\"\n\n// ** Third Party Components\nimport classnames from \"classnames\"\n\n// ** Reactstrap Imports\nimport { Button } from \"reactstrap\"\n\n// ** Styles\nimport \"./ripple-button.scss\"\n\nconst RippleButton = ({ className, children, onClick, ...rest }) => {\n // ** States\n const [mounted, setMounted] = useState(false)\n const [isRippling, setIsRippling] = useState(false)\n const [coords, setCoords] = useState({ x: -1, y: -1 })\n\n // ** Toggle mounted on mount & unmount\n useEffect(() => {\n setMounted(true)\n return () => setMounted(false)\n }, [])\n\n // ** Check for coords and set ripple\n useEffect(() => {\n if (mounted) {\n if (coords.x !== -1 && coords.y !== -1) {\n setIsRippling(true)\n setTimeout(() => setIsRippling(false), 500)\n } else {\n setIsRippling(false)\n }\n }\n }, [coords])\n\n // ** Reset Coords on ripple end\n useEffect(() => {\n if (mounted) {\n if (!isRippling) setCoords({ x: -1, y: -1 })\n }\n }, [isRippling])\n\n return (\n {\n const rect = e.target.getBoundingClientRect()\n setCoords({ x: e.clientX - rect.left, y: e.clientY - rect.top })\n if (onClick) {\n onClick(e)\n }\n }}\n {...rest}\n >\n {children}\n {isRippling ? (\n \n ) : null}\n \n )\n}\n\n// ** PropTypes\nRippleButton.propTypes = {\n ...Button.propTypes\n}\n\nButton.Ripple = RippleButton\n","import { useSelector, useDispatch } from 'react-redux'\n\nimport { Modal, ModalHeader, ModalBody, ModalFooter, Button } from 'reactstrap'\n\nimport { hiddenModal } from './store'\n\nconst ModalNotification = () => {\n const dispatch = useDispatch()\n\n const store = useSelector((state) => state.modalNotification)\n\n return (\n dispatch(hiddenModal())}>\n dispatch(hiddenModal())}>{store.title}\n \n {store.message ?
{store.message}
: null}\n {store.list\n ? store.list.map((item, index) => {\n return
  • {item}
  • \n })\n : null}\n
    \n \n \n \n \n )\n}\n\nexport default ModalNotification\n","import { Ability, AbilityBuilder } from '@casl/ability'\nimport { initialAbility } from './initialAbility'\nimport { AbilityContext } from '@src/utility/context/Can'\nimport { useContext } from 'react'\n\nexport const verifyRole = (action, subject) => {\n const ability = useContext(AbilityContext)\n return ability.can(action, subject)\n}\n\nconst userData = JSON.parse(localStorage.getItem('user'))\n\nexport default new Ability(\n userData?.permissoes?.map((permission) => {\n return {\n action: permission.tipo === '1' ? 'read' : 'manage',\n subject: permission.rotulo\n }\n }) || initialAbility\n)\n\nexport const defineRulesFor = (auth) => {\n const permissions = auth.permissoes\n const { can, rules } = new AbilityBuilder()\n if (permissions) {\n permissions.forEach((p) => {\n if (p.permissao.tipo === '1') can('read', p.permissao.rotulo)\n else can('manage', p.permissao.rotulo)\n })\n }\n\n return rules\n}\n\nexport const updateAbility = (ability, permissions) => {\n ability.update(permissions)\n}\n","// ** Initial user ability\nexport const initialAbility = [\n {\n action: 'manage',\n subject: 'all'\n }\n]\n\nexport const _ = undefined\n","/*eslint-disable */\n// This optional code is used to register a service worker.\n// register() is not called by default.\n\n// This lets the app load faster on subsequent visits in production, and gives\n// it offline capabilities. However, it also means that developers (and users)\n// will only see deployed updates on subsequent visits to a page, after all the\n// existing tabs open on the page have been closed, since previously cached\n// resources are updated in the background.\n\n// To learn more about the benefits of this model and instructions on how to\n// opt-in, read https://bit.ly/CRA-PWA\n\nconst isLocalhost = Boolean(\n window.location.hostname === 'localhost' ||\n // [::1] is the IPv6 localhost address.\n window.location.hostname === '[::1]' ||\n // 127.0.0.1/8 is considered localhost for IPv4.\n window.location.hostname.match(/^127(?:\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/)\n)\n\nexport function register(config) {\n if (process.env.NODE_ENV === 'production' && 'serviceWorker' in navigator) {\n // The URL constructor is available in all browsers that support SW.\n const publicUrl = new URL(process.env.PUBLIC_URL, window.location.href)\n if (publicUrl.origin !== window.location.origin) {\n // Our service worker won't work if PUBLIC_URL is on a different origin\n // from what our page is served on. This might happen if a CDN is used to\n // serve assets see https://github.com/facebook/create-react-app/issues/2374\n return\n }\n\n window.addEventListener('load', () => {\n const swUrl = `${process.env.PUBLIC_URL}/service-worker.js`\n\n if (isLocalhost) {\n // This is running on localhost. Let's check if a service worker still exists or not.\n checkValidServiceWorker(swUrl, config)\n\n // Add some additional logging to localhost, pointing developers to the\n // service worker/PWA documentation.\n navigator.serviceWorker.ready.then(() => {\n console.log(\n 'This web app is being served cache-first by a service ' +\n 'worker. To learn more, visit https://bit.ly/CRA-PWA'\n )\n })\n } else {\n // Is not localhost. Just register service worker\n registerValidSW(swUrl, config)\n }\n })\n }\n}\n\nfunction registerValidSW(swUrl, config) {\n navigator.serviceWorker\n .register(swUrl)\n .then((registration) => {\n registration.onupdatefound = () => {\n const installingWorker = registration.installing\n if (installingWorker === null) {\n return\n }\n installingWorker.onstatechange = () => {\n if (installingWorker.state === 'installed') {\n if (navigator.serviceWorker.controller) {\n // At this point, the updated precached content has been fetched,\n // but the previous service worker will still serve the older\n // content until all client tabs are closed.\n console.log(\n 'New content is available and will be used when all ' +\n 'tabs for this page are closed. See https://bit.ly/CRA-PWA.'\n )\n\n // Execute callback\n if (config && config.onUpdate) {\n config.onUpdate(registration)\n }\n } else {\n // At this point, everything has been precached.\n // It's the perfect time to display a\n // \"Content is cached for offline use.\" message.\n console.log('Content is cached for offline use.')\n\n // Execute callback\n if (config && config.onSuccess) {\n config.onSuccess(registration)\n }\n }\n }\n }\n }\n })\n .catch((error) => {\n console.error('Error during service worker registration:', error)\n })\n}\n\nfunction checkValidServiceWorker(swUrl, config) {\n // Check if the service worker can be found. If it can't reload the page.\n fetch(swUrl)\n .then((response) => {\n // Ensure service worker exists, and that we really are getting a JS file.\n const contentType = response.headers.get('content-type')\n if (response.status === 404 || (contentType !== null && contentType.indexOf('javascript') === -1)) {\n // No service worker found. Probably a different app. Reload the page.\n navigator.serviceWorker.ready.then((registration) => {\n registration.unregister().then(() => {\n window.location.reload()\n })\n })\n } else {\n // Service worker found. Proceed as normal.\n registerValidSW(swUrl, config)\n }\n })\n .catch(() => {\n console.log('No internet connection found. App is running in offline mode.')\n })\n}\n\nexport function unregister() {\n if ('serviceWorker' in navigator) {\n navigator.serviceWorker.ready.then((registration) => {\n registration.unregister()\n })\n }\n}\n","import { Suspense, lazy } from 'react'\nimport { createRoot } from 'react-dom/client'\nimport { BrowserRouter } from 'react-router-dom'\nimport { store } from './redux/store'\nimport { Provider } from 'react-redux'\nimport { AbilityContext } from './utility/context/Can'\nimport { ThemeContext } from './utility/context/ThemeColors'\nimport themeConfig from './configs/themeConfig'\nimport { Toaster } from 'react-hot-toast'\nimport Spinner from './@core/components/spinner/Fallback-spinner'\nimport './@core/components/ripple-button'\nimport ModalNotification from '@src/moderniza/modal/notification'\nimport 'prismjs'\nimport 'prismjs/themes/prism-tomorrow.css'\nimport 'prismjs/components/prism-jsx.min'\nimport 'react-perfect-scrollbar/dist/css/styles.css'\nimport '@styles/react/libs/react-hot-toasts/react-hot-toasts.scss'\nimport '@styles/react/libs/tables/react-dataTable-component.scss'\nimport './@core/assets/fonts/feather/iconfont.css'\nimport './@core/scss/core.scss'\nimport './assets/scss/style.scss'\nimport ability from './configs/acl/ability'\nimport * as serviceWorker from './serviceWorker'\nconst LazyApp = lazy(() => import('./App'))\nconst container = document.getElementById('root')\nconst root = createRoot(container)\n\nroot.render(\n \n \n }>\n \n \n \n \n \n \n \n \n \n \n)\n\nserviceWorker.unregister()\n","// You can customize the template with the help of this file\n\n//Template config options\nconst themeConfig = {\n app: {\n appName: 'Moderniza',\n appLogoImage: require('@src/assets/images/logo/moderniza_novo_logo.png').default,\n appNameImage: require('@src/assets/images/logo/Moderniza_sem_logo.png').default\n },\n layout: {\n isRTL: false,\n skin: 'light', // light, dark, bordered, semi-dark\n routerTransition: 'none',\n type: 'vertical', // vertical, horizontal\n contentWidth: 'full', // full, boxed\n menu: {\n isHidden: false,\n isCollapsed: false\n },\n navbar: {\n // ? For horizontal menu, navbar type will work for navMenu type\n type: 'sticky', // static , sticky , floating, hidden\n backgroundColor: 'primary' // BS color options [primary, success, etc]\n },\n footer: {\n type: 'hidden' // static, sticky, hidden\n },\n customizer: false,\n scrollTop: false, // Enable scroll to top button\n toastPosition: 'top-right' // top-left, top-center, top-right, bottom-left, bottom-center, bottom-right\n }\n}\n\nexport default themeConfig\n","let URL_API_CHECKOUT,\n URL_API_LOGISTICS,\n URL_API_CONFIG,\n URL_API_HUB,\n URL_API_PLATFORM,\n URL_LOGIN,\n URL_API_FINANCE,\n URL_API_COMERCIAL,\n URL_NOT_AUTHORIZED,\n URL_ERP,\n URL_API_PORTAL\n\nif (process.env.NODE_ENV === 'development') {\n URL_LOGIN = `http://localhost:3002/login`\n URL_NOT_AUTHORIZED = 'http://localhost:3002/not-authorized'\n URL_API_HUB = `http://${window.location.host.split(':').shift()}:4081`\n URL_API_CHECKOUT = `http://${window.location.host.split(':').shift()}:4100`\n URL_API_PLATFORM = `http://${window.location.host.split(':').shift()}:4110`\n URL_API_CONFIG = `http://${window.location.host.split(':').shift()}:5001`\n URL_API_COMERCIAL = `http://${window.location.host.split(':').shift()}:5004`\n URL_API_LOGISTICS = `http://${window.location.host.split(':').shift()}:5005`\n URL_API_FINANCE = `http://${window.location.host.split(':').shift()}:5001`\n URL_ERP = `http://${window.location.host.split(':').shift()}:3000`\n URL_API_PORTAL = 'http://localhost/PortalModernizaApi'\n} else if (['plataformasandbox.modershop.com.br'].indexOf(window.location.host.split(':').shift()) > -1) {\n URL_LOGIN = `https://plataformasandbox.modershop.com.br/login`\n URL_NOT_AUTHORIZED = 'https://plataformasandbox.modershop.com.br/not-authorized'\n URL_API_CHECKOUT = `http://${window.location.host.split(':').shift()}:4100`\n URL_API_PLATFORM = `https://sandboxapi.modershop.com.br:4011`\n URL_API_CONFIG = `https://sandboxapi.modershop.com.br:5001`\n URL_API_COMERCIAL = `https://sandboxapi.modershop.com.br:4004`\n URL_API_LOGISTICS = `https://sandboxapi.modershop.com.br:4005`\n URL_API_FINANCE = `https://sandboxapi.modershop.com.br:5001`\n URL_ERP = `https://sandbox.modershop.com.br`\n URL_API_PORTAL = 'https://lojamix.net/api'\n} else {\n URL_LOGIN = `https://plataforma.modershop.com.br/login`\n URL_API_HUB = 'https://apihub.modershop.com.br'\n URL_API_CHECKOUT = 'https://api-checkout-traefik.modershop.com.br'\n URL_API_PLATFORM = 'https://api-plataform-traefik.modershop.com.br'\n URL_API_CONFIG = 'https://api-config-traefik.modershop.com.br'\n URL_API_COMERCIAL = 'https://api-comercial-traefik.modershop.com.br'\n URL_API_LOGISTICS = 'https://api-logistics-traefik.modershop.com.br'\n URL_API_FINANCE = 'https://api-common-traefik.modershop.com.br'\n URL_NOT_AUTHORIZED = 'https://plataforma.modershop.com.br/not-authorized'\n URL_ERP = 'https://gestao.modershop.com.br'\n URL_API_PORTAL = 'https://lojamix.net/api'\n}\n\nexport {\n URL_API_CHECKOUT,\n URL_API_LOGISTICS,\n URL_API_HUB,\n URL_API_PLATFORM,\n URL_LOGIN,\n URL_API_CONFIG,\n URL_API_FINANCE,\n URL_API_COMERCIAL,\n URL_NOT_AUTHORIZED,\n URL_ERP,\n URL_API_PORTAL\n}\n","import axios from 'axios'\n\nexport async function uploadImageAws(name, mime, path, image) {\n const api = axios.create()\n const obj = { name, bucket: 'mdz-platform', path, image, mime }\n const response = await api.post('https://n9rzehwkai.execute-api.sa-east-1.amazonaws.com/dev/image_upload', obj)\n\n return response\n}\n","// ** Redux Imports\nimport { createSlice } from '@reduxjs/toolkit'\n\nexport const modalNotificationSlice = createSlice({\n name: 'modalNotification',\n initialState: {\n show: false,\n color: '', //warning, error, info, success\n title: '',\n message: '',\n list: []\n },\n reducers: {\n showModal: (state, action) => {\n state.show = action.payload.show\n state.message = action.payload.message\n state.color = action.payload.color\n state.title = action.payload.title\n state.list = action.payload.list\n },\n hiddenModal: (state) => {\n state.show = false\n state.message = ''\n state.title = ''\n state.list = []\n }\n }\n})\n\nexport const { showModal, hiddenModal } = modalNotificationSlice.actions\n\nexport default modalNotificationSlice.reducer\n","import { createSlice } from '@reduxjs/toolkit'\n\nconst initialState = {\n isLoading: false\n}\n\nconst loadingSlice = createSlice({\n name: 'loading',\n initialState,\n reducers: {\n showLoading: (state) => {\n state.isLoading = true\n },\n hideLoading: (state) => {\n state.isLoading = false\n }\n }\n})\n\nexport const { showLoading, hideLoading } = loadingSlice.actions\n\nexport default loadingSlice.reducer","import { createSlice, createAsyncThunk } from '@reduxjs/toolkit'\nimport api from '@api'\nimport axios from 'axios'\nimport { showModal } from '@src/moderniza/modal/notification/store'\nimport { showError } from '../../../moderniza/toast'\nimport { EstruturaNegocio, SituacaoOrganizacao, TipoOrganizacao } from 'mdz-enum'\nimport { hideLoading, showLoading } from '../../../moderniza/loading/store'\n\nexport const searchCities = createAsyncThunk('addOrganizations/searchCities', async (uf) => {\n if (uf) {\n const res = await axios.get(`https://servicodados.ibge.gov.br/api/v1/localidades/estados/${uf}/municipios`)\n return res.data\n }\n return []\n})\n\nexport const searchPostalCode = createAsyncThunk('addOrganizations/searchPostalCode', async (cep, { dispatch }) => {\n if (cep) {\n const res = await axios.get(`https://viacep.com.br/ws/${cep}/json/`)\n const ibgeUf = res.data.ibge.length > 1 ? res.data.ibge?.substring(0, 2) : ''\n\n await dispatch(searchCities(ibgeUf))\n\n return res.data\n }\n\n return {\n ibge: '',\n logradouro: '',\n bairro: ''\n }\n})\n\nexport const submitOrganizations = createAsyncThunk(\n 'addOrganizations/submitOrganizations',\n async (data, { dispatch }) => {\n try {\n if (!data.cnpj) {\n showError('CNPJ não informado.')\n return\n }\n\n if (!data.corporate_name) {\n showError('Razão Social não informada.')\n return\n }\n\n if (!data.address) {\n showError('Endereço não informado.')\n return\n }\n\n if (!data.postal_code) {\n showError('CEP não informado.')\n return\n }\n\n if (!data.phone) {\n showError('Telefone não informado.')\n return\n }\n\n let res = undefined\n\n if (!data.id_organization) {\n return showError('Id organization não informado.')\n }\n\n res = await api.post(`organizations/update`, data)\n\n dispatch(showModal({ show: true, color: 'success', title: 'Sucesso', message: 'Registro salvo com sucesso' }))\n return res.data\n } catch (error) {\n console.error(error)\n }\n }\n)\n\nexport const listParentOrganizationsByType = createAsyncThunk(\n 'addOrganizations/listParentOrganizationsByType',\n async (type) => {\n const response = await api.post('organizations/list-parent-organizations-by-type', { type })\n\n if (response.data) {\n return response.data\n }\n }\n)\n\nexport const fetchChildren = createAsyncThunk('addOrganizations/fetchChildren', async (id_organization) => {\n const response = await api.post('organizations/find-children', { id_organization })\n if (response.data) {\n return response.data\n }\n\n return []\n})\n\nexport const fetchData = createAsyncThunk('addOrganizations/fetchData', async (id_organization, { dispatch }) => {\n dispatch(showLoading())\n const response = await api.post('organizations/find', { id_organization: parseInt(id_organization) })\n dispatch(hideLoading())\n\n if (response.data) {\n return response.data\n }\n\n return undefined\n})\n\nexport const fetchPlan = createAsyncThunk('addOrganizations/fetchPlan', async (id_plan) => {\n const response = await api.post('plans/list-apps', { id_plan: parseInt(id_plan) })\n if (response.data) {\n return response.data\n }\n\n return undefined\n})\n\nconst initialState = {\n id_organization: undefined,\n cities: [],\n organizations_children: [],\n listParentOrganizations: [],\n plans: [],\n plan: {},\n plansInOrg: [],\n fields: {\n id_parent_organization: undefined,\n corporate_name: '',\n fantasy_name: '',\n situation: SituacaoOrganizacao.Ativo,\n type: TipoOrganizacao.Cliente,\n cnpj: '',\n state_registration: '',\n address: '',\n address_number: '',\n address_complement: '',\n district: '',\n postal_code: '',\n state_ibge: '11',\n city_ibge: '',\n email: '',\n phone: '',\n cellphone: '',\n plan_selected: '',\n city_name: '',\n state_name: '',\n business_structure: EstruturaNegocio.Matriz,\n is_demo: false,\n billing_day: null,\n valid_billing_day: true,\n disable_billing_day: false,\n token: '',\n user_responsible: '',\n segment: []\n }\n}\n\nexport const addOrganizagionsSlice = createSlice({\n name: 'addOrganizations',\n initialState,\n reducers: {\n setFieldsValues: (state, action) => {\n state.fields[action.payload.field] = action.payload.value\n },\n reset: () => initialState\n },\n extraReducers: (builder) => {\n builder\n .addCase(searchPostalCode.fulfilled, (state, action) => {\n state.fields.city_ibge = parseInt(action.payload.ibge)\n state.fields.state_ibge = action.payload.ibge.length > 1 ? action.payload.ibge?.substring(0, 2) : ''\n state.fields.address = action.payload.logradouro\n state.fields.district = action.payload.bairro\n state.fields.city_name = action.payload.localidade\n state.fields.state_name = action.payload.uf\n })\n .addCase(searchCities.fulfilled, (state, action) => {\n state.cities = action.payload\n })\n .addCase(fetchChildren.fulfilled, (state, action) => {\n state.organizations_children = action.payload\n })\n .addCase(fetchData.fulfilled, (state, action) => {\n state.id_organization = action.payload.id_organization\n state.fields = action.payload\n if (action.payload.billing_day !== null) {\n state.fields.disable_billing_day = true\n }\n state.fields.city_ibge = parseInt(action.payload.city_ibge)\n })\n .addCase(submitOrganizations.fulfilled, (state, action) => {\n if (action.payload?.id_organization) {\n state.fields.id_organization = action.payload.id_organization\n }\n })\n .addCase(listParentOrganizationsByType.fulfilled, (state, action) => {\n state.listParentOrganizations = action.payload\n })\n .addCase(fetchPlan.fulfilled, (state, action) => {\n state.plan = action.payload\n })\n }\n})\n\nexport const { setFieldsValues, reset, resetFields } = addOrganizagionsSlice.actions\n\nexport default addOrganizagionsSlice.reducer\n","// ** Imports createContext function\nimport { createContext } from 'react'\n\n// ** Imports createContextualCan function\nimport { createContextualCan } from '@casl/react'\n\n// ** Create Context\nexport const AbilityContext = createContext()\n\n// ** Init Can Context\nexport const Can = createContextualCan(AbilityContext.Consumer)\n","// ** Redux Imports\nimport { createSlice } from '@reduxjs/toolkit'\n\nexport const titleSlice = createSlice({\n name: 'title',\n initialState: {\n title: ''\n },\n reducers: {\n setTitle: (state, action) => {\n if (action.payload === '') document.title = 'Plataforma'\n else document.title = `Plataforma | ${action.payload}`\n\n state.title = action.payload\n }\n }\n})\n\nexport const { setTitle } = titleSlice.actions\n\nexport default titleSlice.reducer\n","// ** Redux Imports\nimport { createSlice } from '@reduxjs/toolkit'\n\n// ** ThemeConfig Import\nimport themeConfig from '@configs/themeConfig'\n\nconst initialMenuCollapsed = () => {\n const item = window.localStorage.getItem('menuCollapsed')\n //** Parse stored json or if none return initialValue\n return item ? JSON.parse(item) : themeConfig.layout.menu.isCollapsed\n}\n\nconst initialDirection = () => {\n const item = window.localStorage.getItem('direction')\n //** Parse stored json or if none return initialValue\n return item ? JSON.parse(item) : themeConfig.layout.isRTL\n}\n\nconst initialSkin = () => {\n const item = window.localStorage.getItem('skin')\n //** Parse stored json or if none return initialValue\n return item ? JSON.parse(item) : themeConfig.layout.skin\n}\n\nexport const layoutSlice = createSlice({\n name: 'layout',\n initialState: {\n skin: initialSkin(),\n isRTL: initialDirection(),\n layout: themeConfig.layout.type,\n lastLayout: themeConfig.layout.type,\n menuCollapsed: initialMenuCollapsed(),\n footerType: themeConfig.layout.footer.type,\n navbarType: themeConfig.layout.navbar.type,\n menuHidden: themeConfig.layout.menu.isHidden,\n contentWidth: themeConfig.layout.contentWidth,\n navbarColor: themeConfig.layout.navbar.backgroundColor\n },\n reducers: {\n handleRTL: (state, action) => {\n state.isRTL = action.payload\n window.localStorage.setItem('direction', JSON.stringify(action.payload))\n },\n handleSkin: (state, action) => {\n state.skin = action.payload\n window.localStorage.setItem('skin', JSON.stringify(action.payload))\n },\n handleLayout: (state, action) => {\n state.layout = action.payload\n },\n handleFooterType: (state, action) => {\n state.footerType = action.payload\n },\n handleNavbarType: (state, action) => {\n state.navbarType = action.payload\n },\n handleMenuHidden: (state, action) => {\n state.menuHidden = action.payload\n },\n handleLastLayout: (state, action) => {\n state.lastLayout = action.payload\n },\n handleNavbarColor: (state, action) => {\n state.navbarColor = action.payload\n },\n handleContentWidth: (state, action) => {\n state.contentWidth = action.payload\n },\n handleMenuCollapsed: (state, action) => {\n state.menuCollapsed = action.payload\n window.localStorage.setItem('menuCollapsed', JSON.stringify(action.payload))\n }\n }\n})\n\nexport const {\n handleRTL,\n handleSkin,\n handleLayout,\n handleLastLayout,\n handleMenuHidden,\n handleNavbarType,\n handleFooterType,\n handleNavbarColor,\n handleContentWidth,\n handleMenuCollapsed\n} = layoutSlice.actions\n\nexport default layoutSlice.reducer\n","// ** Redux Imports\nimport { createSlice, createAsyncThunk } from '@reduxjs/toolkit'\n\nimport cookie from 'cookie'\n\nimport api from '@api'\n\nexport const fetchLogin = createAsyncThunk('user/fetchLogin', async (user) => {\n const res = await api.post('auth/signin', user)\n return res.data\n})\n\nexport const fetchPermissions = createAsyncThunk('user/fetchPermissions', async (email) => {\n const res = await api.post('roles_permissions/get-permissions', email)\n return res.data\n})\n\nexport const fetchMainOrganization = createAsyncThunk('user/fetchMainOrganization', async (email) => {\n const res = await api.post('users-organizations/get-main-organization-by-user', { email })\n\n return res.data?.organizations\n})\n\nconst initialUser = () => {\n const user = window.localStorage.getItem('user')\n //** Parse stored json or if none return initialValue\n return user ? JSON.parse(user) : undefined\n}\n\nconst initialMainOrganization = () => {\n const organization = window.localStorage.getItem('main_organization')\n //** Parse stored json or if none return initialValue\n return organization ? JSON.parse(organization) : {}\n}\nconst initialPermissions = () => {\n const permissions = window.localStorage.getItem('permissions')\n //** Parse stored json or if none return initialValue\n return permissions ? JSON.parse(permissions) : {}\n}\nconst initialMenuItems = () => {\n const permissions = window.localStorage.getItem('permissions')\n //** Parse stored json or if none return initialValue\n return permissions ? JSON.parse(permissions) : {}\n}\n\nexport const userSlice = createSlice({\n name: 'user',\n initialState: {\n user: initialUser(),\n main_organization: initialMainOrganization(),\n permissions: initialPermissions(),\n permissions: initialMenuItems()\n },\n reducers: {\n setOrganization: (state, action) => {\n state.main_organization = action.payload\n },\n setUser: (state, action) => {\n state.user = action.payload\n },\n setPermissions: (state, action) => {\n state.permissions = action.payload\n },\n setMenuItems: (state, action) => {\n state.menuItems = action.payload\n },\n logout: (state) => {\n state.user = undefined\n state.organization = undefined\n state.permissions = undefined\n\n localStorage.removeItem('user')\n localStorage.removeItem('main_organization')\n localStorage.removeItem('permissions')\n\n document.cookie = cookie.serialize('shared_user', '', {\n path: '/',\n maxAge: 60 * 60 * 24 * 31,\n domain: process.env.NODE_ENV === 'development' ? undefined : '.modershop.com.br'\n })\n\n document.cookie = cookie.serialize('profile', '', {\n path: '/',\n maxAge: 60 * 60 * 24 * 31,\n domain: process.env.NODE_ENV === 'development' ? undefined : '.modershop.com.br'\n })\n },\n login: (state, action) => {\n state.user = action.payload\n if (action.payload) {\n localStorage.setItem('user', JSON.stringify(action.payload))\n }\n\n state.main_organization = action.payload.main_organization\n if (action.payload.main_organization) {\n localStorage.setItem('main_organization', JSON.stringify(action.payload.main_organization))\n }\n\n state.permissions = action.payload.permissions\n if (action.payload.permissions) {\n localStorage.setItem('permissions', JSON.stringify(action.payload.permissions))\n }\n }\n },\n extraReducers: (builder) => {\n builder\n .addCase(fetchLogin.fulfilled, (state, action) => {\n localStorage.setItem('user', JSON.stringify(action.payload))\n localStorage.setItem('permissions', JSON.stringify(action.payload))\n state.user = action.payload\n })\n .addCase(fetchPermissions.fulfilled, (action) => {\n localStorage.setItem('permissions', JSON.stringify(action.payload))\n })\n .addCase(fetchMainOrganization.fulfilled, (state, action) => {\n if (action.payload) {\n localStorage.setItem('main_organization', JSON.stringify(action.payload))\n state.main_organization = action.payload\n }\n })\n }\n})\n\nexport const { setUser, setOrganization, setPermissions, login, logout, setMenuItems } = userSlice.actions\n\nexport default userSlice.reducer\n","// ** Redux Imports\nimport { createSlice, createAsyncThunk } from '@reduxjs/toolkit'\n\nimport api from '@api'\n\nexport const fetchData = createAsyncThunk('listOrganization/fetchData', async (filter) => {\n const filterRegex = {\n ...filter,\n cnpj: filter.cnpj.replace(/[^\\d]/g, '')\n }\n const response = await api.post('organizations/find-children', filterRegex)\n if (response.data) {\n return response.data\n }\n\n return []\n})\nexport const fetchOrgOptions = createAsyncThunk('listOrganization/fetchOrgOptions', async (data) => {\n const response = await api.post('organizations/find-children', data)\n if (response.data) {\n return response.data\n }\n})\nexport const getOrganizationsByParent = createAsyncThunk('listOrganization/getOrganizationsByParent', async (data) => {\n const response = await api.post('organizations/get-organizations-by-parent', data)\n if (response.data) {\n return response.data\n }\n})\n\nexport const fetchOrganizationSelected = createAsyncThunk('listOrganization/fetchOrganization', async (data) => {\n const response = await api.post('organizations/find', data)\n if (response.data) {\n return response.data\n }\n})\n\nexport const listOrganizagionsSlice = createSlice({\n name: 'listOrganization',\n initialState: {\n ParentInClientCenter: null,\n filter: {\n id_organization: undefined,\n situation: '',\n name: '',\n cnpj: '',\n type: ''\n },\n organization_selected: undefined,\n organization_options: [],\n records: [],\n onFocus: null,\n cancellation: {\n cancellationSelectedOrganization: undefined,\n cancellationSelectedApp: undefined,\n cancellationOrgs: [],\n cancellationApps: [],\n reason: ''\n }\n },\n reducers: {\n setFieldsValues: (state, action) => {\n state.filter[action.payload.field] = action.payload.value\n },\n\n setOnFocus: (state, action) => {\n state.onFocus = action.payload\n },\n setOrganizationSelected: (state, action) => {\n state.organization_selected = action.payload\n },\n setCancellationValues: (state, action) => {\n state.cancellation[action.payload.field] = action.payload.value\n },\n setParentInClientCenter: (state, action) => {\n state.ParentInClientCenter = action.payload\n }\n },\n extraReducers: (builder) => {\n builder.addCase(fetchData.fulfilled, (state, action) => {\n state.records = action.payload\n state.filter = {\n situation: '',\n name: '',\n cnpj: '',\n type: ''\n }\n\n state.filter.name = ''\n })\n builder.addCase(fetchOrgOptions.fulfilled, (state, action) => {\n state.organization_options = action.payload\n })\n builder.addCase(fetchOrganizationSelected.fulfilled, (state, action) => {\n state.organization_selected = action.payload\n })\n builder.addCase(getOrganizationsByParent.fulfilled, (state, action) => {\n state.cancellation.cancellationOrgs = action.payload\n })\n }\n})\n\nexport const { setFieldsValues, setOrganizationSelected, setOnFocus, setCancellationValues, setParentInClientCenter } =\n listOrganizagionsSlice.actions\n\nexport default listOrganizagionsSlice.reducer\n","import { createSlice } from '@reduxjs/toolkit'\n\nconst initialState = {\n isVisible: false,\n title: '',\n component: undefined,\n open: false\n}\n\nconst mdzSidebarSlice = createSlice({\n name: 'mdzSidebar',\n initialState,\n reducers: {\n showMdzSidebar: (state) => {\n state.isVisible = true\n },\n hideMdzSidebar: (state) => {\n state.isVisible = false\n },\n setMdzSidebar: (state, action) => {\n state.isVisible = action.payload.isVisible\n state.title = action.payload.title\n state.component = action.payload.component\n state.open = action.payload.open\n },\n handleOpenMdzSidebar: (state) => {\n state.open = !state.open\n }\n }\n})\n\nexport const { showMdzSidebar, hideMdzSidebar, setMdzSidebar, handleOpenMdzSidebar } = mdzSidebarSlice.actions\n\nexport default mdzSidebarSlice.reducer","import { createAsyncThunk, createSlice } from '@reduxjs/toolkit'\nimport { EstruturaNegocio } from 'mdz-enum'\nimport { mdzNormalize } from '../../../@core/components/mdzStringNormalizer'\nimport axios from 'axios'\nimport api from '@api'\nimport { showError } from '../../../moderniza/toast'\n\nexport const verifyCnpj = createAsyncThunk('organizations/verifyCnpj', async ({ cnpj, callback }) => {\n const normalizedCnpj = cnpj.replace(/\\D/g, '')\n const response = await api.post('organizations/verify-cnpj', { cnpj: normalizedCnpj })\n\n if (response.status === 200) {\n if (response.data) {\n return null\n } else {\n callback()\n }\n }\n\n return response\n})\n\nexport const handleRegisterClient = createAsyncThunk('organizations/registerClient', async ({ fields, callback }) => {\n const response = await api.post(`organizations/register-client`, fields)\n\n if (response.status === 200) {\n callback()\n return response.data\n }\n})\n\nexport const verifyNoExistCnpj = createAsyncThunk('organizations/findByCnpj', async ({ cnpj, callback }) => {\n const response = await api.post('organizations/find-by-cnpj', { cnpj })\n if (response.data === '') {\n showError('O cnpj informado não foi encontrado no sistema..')\n } else {\n callback()\n }\n\n return response\n})\n\nexport const getPublicData = createAsyncThunk('signup/getPublicData', async (cnpj) => {\n const normalizedCnpj = cnpj.replace(/\\D/g, '')\n\n const response = await axios.get(`https://brasilapi.com.br/api/cnpj/v1/${normalizedCnpj}`)\n\n if (response.status === 200) {\n if (response.data) {\n const result = {\n cnpj: response.data.cnpj,\n nomeCorporativo: mdzNormalize.name(response.data.razao_social),\n nomeFantasia: mdzNormalize.name(\n response.data.nome_fantasia ? response.data.nome_fantasia : response.data.razao_social\n ),\n email: response.data.email ? response.data.email : '',\n telefone: response.data.ddd_telefone_1,\n celular: response.data.ddd_telefone_2,\n cidade: mdzNormalize.name(response.data.municipio),\n uf: response.data.uf,\n endereco: mdzNormalize.name(response.data.logradouro),\n numero: response.data.numero,\n bairro: mdzNormalize.name(response.data.bairro),\n cep: response.data.cep,\n complemento: mdzNormalize.name(response.data.complemento),\n estado_ibge: response.data.codigo_municipio_ibge?.toString().substring(0, 2),\n cidade_ibge: response.data.codigo_municipio_ibge\n }\n\n return result\n }\n }\n\n return null\n})\n\nconst initialState = {\n matrizOuFilial: EstruturaNegocio.Matriz,\n cnpjMatrizPai: '',\n cnpjMatrizIsValid: false,\n listApps: null,\n nomeCorporativo: '',\n nomeFantasia: '',\n email: '',\n telefone: '',\n celular: '',\n cidade: '',\n uf: '',\n endereco: '',\n numero: '',\n bairro: '',\n cep: '',\n complemento: '',\n estado_ibge: '',\n cidade_ibge: '',\n cnpj: '',\n cnpjIsValid: false,\n termosAceito: false,\n nomeUsuario: '',\n emailUsuario: '',\n senhaUsuario: '',\n confirmarSenhaUsuario: '',\n matrizOuFilialIsDisabled: true,\n DadosDaFilialIsDisabled: false,\n CadastroDeUsuarioIsDisabled: false,\n SelecaoDeAplicativosIsDisabled: false,\n quantityClientsPartnerBase: 0,\n quantityClientsMigrated: 0,\n segment: [],\n id_organization_created: null\n}\n\nexport const stepByStepUserRegister = createSlice({\n name: 'StepByStepUserRegister',\n initialState,\n reducers: {\n setFieldsValues: (state, action) => {\n state[action.payload.field] = action.payload.value\n },\n reset: () => initialState\n },\n extraReducers: (builder) => {\n builder.addCase(getPublicData.fulfilled, (state, action) => {\n state.nomeCorporativo = action.payload.nomeCorporativo\n state.nomeFantasia = action.payload.nomeFantasia\n state.email = action.payload.email\n state.telefone = action.payload.telefone\n state.celular = action.payload.celular\n state.cidade = action.payload.cidade\n state.uf = action.payload.uf\n state.endereco = action.payload.endereco\n state.numero = action.payload.numero\n state.bairro = action.payload.bairro\n state.cep = action.payload.cep\n state.complemento = action.payload.complemento\n state.estado_ibge = action.payload.estado_ibge\n state.cidade_ibge = action.payload.cidade_ibge\n })\n builder.addCase(handleRegisterClient.fulfilled, (state, action) => {\n state.id_organization_created = action.payload.id_organization\n })\n builder.addCase(verifyNoExistCnpj.fulfilled, (state) => {\n state.cnpjMatrizIsValid = true\n })\n builder.addCase(verifyCnpj.fulfilled, (state) => {\n state.cnpjIsValid = true\n })\n }\n})\n\nexport const { setFieldsValues, reset } = stepByStepUserRegister.actions\n\nexport default stepByStepUserRegister.reducer\n","import { createAsyncThunk, createSlice } from '@reduxjs/toolkit'\nimport { mdzNormalize } from '../../../@core/components/mdzStringNormalizer'\nimport axios from 'axios'\nimport api from '@api'\n\nexport const verifyCnpj = createAsyncThunk('organizations/verifyCnpj', async ({ cnpj, callback }) => {\n const normalizedCnpj = cnpj.replace(/\\D/g, '')\n const response = await api.post('organizations/verify-cnpj', { cnpj: normalizedCnpj })\n\n if (response.status === 200) {\n if (response.data) {\n return null\n } else {\n callback()\n }\n }\n\n return response\n})\n\nexport const searchCities = createAsyncThunk('organizations/searchCities', async (uf) => {\n if (uf) {\n const res = await axios.get(`https://servicodados.ibge.gov.br/api/v1/localidades/estados/${uf}/municipios`)\n return res.data\n }\n return []\n})\n\nexport const verifyNoExistCnpj = createAsyncThunk('organizations/verifyNoExistCnpj', async ({ cnpj }) => {\n const normalizedCnpj = cnpj.replace(/\\D/g, '')\n const response = await api.post('organizations/verify-no-exist-cnpj', { cnpj: normalizedCnpj })\n\n return response\n})\n\nexport const getPublicData = createAsyncThunk('signup/getPublicData', async (cnpj, { dispatch }) => {\n const normalizedCnpj = cnpj.replace(/\\D/g, '')\n\n try {\n const response = await axios.get(`https://brasilapi.com.br/api/cnpj/v1/${normalizedCnpj}`)\n if (response.data) {\n const result = {\n cnpj: response.data.cnpj,\n nomeCorporativo: mdzNormalize.name(response.data.razao_social),\n nomeFantasia: mdzNormalize.name(\n response.data.nome_fantasia ? response.data.nome_fantasia : response.data.razao_social\n ),\n email: response.data.email ? response.data.email : '',\n telefone: response.data.ddd_telefone_1,\n celular: response.data.ddd_telefone_2,\n cidade: mdzNormalize.name(response.data.municipio),\n uf: response.data.uf,\n endereco: mdzNormalize.name(response.data.logradouro),\n numero: response.data.numero,\n bairro: mdzNormalize.name(response.data.bairro),\n cep: response.data.cep,\n complemento: mdzNormalize.name(response.data.complemento),\n estado_ibge: response.data.codigo_municipio_ibge?.toString().substring(0, 2),\n cidade_ibge: response.data.codigo_municipio_ibge\n }\n\n dispatch(searchCities(response.data.uf))\n\n return result\n }\n } catch (error) {\n throw error\n }\n})\n\nexport const handleRegisterPartner = createAsyncThunk('organizations/registerPartner', async ({ fields, callback }) => {\n const response = await api.post(`organizations/register-partner`, fields)\n\n if (response.status === 200) {\n callback()\n return response.data\n }\n})\n\nconst initialState = {\n isDemo: false,\n quantityClientsPartnerBase: 0,\n quantityClientsMigrated: 0,\n segment: [],\n cnpjParentOrganization: '',\n cnpj: '',\n nomeCorporativo: '',\n nomeFantasia: '',\n ie: '',\n email: '',\n\n cnpjIsValid: false,\n cnpjMatrizIsValid: false,\n\n cep: '',\n cidade: '',\n uf: 'AC',\n endereco: '',\n numero: '',\n bairro: '',\n complemento: '',\n telefone: '',\n celular: '',\n estado_ibge: '',\n cidade_ibge: '',\n termosAceito: false,\n\n nomeUsuario: '',\n emailUsuario: '',\n senhaUsuario: '',\n confirmarSenhaUsuario: '',\n\n DadosDaFilialIsDisabled: true,\n CadastroDeUsuarioIsDisabled: false,\n SelecaoDeAplicativosIsDisabled: false,\n id_organization_created: null\n}\n\nexport const registerPartner = createSlice({\n name: 'registerPartner',\n initialState,\n reducers: {\n setFieldsValues: (state, action) => {\n state[action.payload.field] = action.payload.value\n },\n reset: () => initialState\n },\n extraReducers: (builder) => {\n builder\n .addCase(getPublicData.fulfilled, (state, action) => {\n state.nomeCorporativo = action.payload.nomeCorporativo\n state.nomeFantasia = action.payload.nomeFantasia\n state.email = action.payload.email\n state.telefone = action.payload.telefone\n state.celular = action.payload.celular\n state.cidade = action.payload.cidade\n state.uf = action.payload.uf\n state.endereco = action.payload.endereco\n state.numero = action.payload.numero\n state.bairro = action.payload.bairro\n state.cep = action.payload.cep\n state.complemento = action.payload.complemento\n state.estado_ibge = action.payload.estado_ibge\n state.cidade_ibge = action.payload.cidade_ibge\n })\n .addCase(verifyNoExistCnpj.fulfilled, (state) => {\n state.cnpjMatrizIsValid = true\n })\n .addCase(handleRegisterPartner.fulfilled, (state, action) => {\n state.id_organization_created = action.payload.id_organization\n })\n .addCase(verifyCnpj.fulfilled, (state) => {\n state.cnpjIsValid = true\n })\n .addCase(searchCities.fulfilled, (state, action) => {\n state.cities = action.payload\n })\n }\n})\n\nexport const { reset, setFieldsValues } = registerPartner.actions\n\nexport default registerPartner.reducer\n","import { createSlice, createAsyncThunk } from '@reduxjs/toolkit'\nimport { showError } from '../../../moderniza/toast'\nimport api from '@api'\nimport axios from 'axios'\n\nimport { searchCities } from '../../organizations/store/add'\nimport { mdzNormalize } from '../../../@core/components/mdzStringNormalizer'\n\nexport const searchPostalCode = createAsyncThunk('addOrganizations/searchPostalCode', async (cep, { dispatch }) => {\n const cepRegex = /^[0-9]{5}-?[0-9]{3}$/\n\n if (cepRegex.test(cep) === true) {\n const res = await axios.get(`https://viacep.com.br/ws/${cep}/json/`)\n\n const ibgeUf = res.data.ibge.length > 1 ? res.data.ibge?.substring(0, 2) : ''\n\n await dispatch(searchCities(ibgeUf))\n\n return res.data\n }\n\n return {\n ibge: '',\n logradouro: '',\n bairro: ''\n }\n})\n\nexport const signup = createAsyncThunk('signup/register', async ({ data, callBackRedirect }, { dispatch }) => {\n const stringifyData = JSON.stringify({ name: data.name, email: data.email })\n\n const user = localStorage.getItem('user')\n if (!user) {\n const response = await api.post('auth/register', {\n ...data\n })\n return response.data\n }\n\n localStorage.setItem('user_temp', stringifyData)\n const response = await api.post('auth/register', {\n ...data\n })\n\n if (response.data) {\n dispatch(reset())\n if (callBackRedirect) {\n callBackRedirect()\n }\n\n return response.data\n }\n\n return response.data\n})\n\nexport const validateData = createAsyncThunk('signup/validateData', async (cnpj) => {\n const normalizedCnpj = cnpj.replace(/\\D/g, '')\n\n return await axios\n .get(`https://brasilapi.com.br/api/cnpj/v1/${normalizedCnpj}`)\n .then((response) => {\n if (response.data) {\n return {\n cnpj: response.data.cnpj,\n corporate_name: mdzNormalize.name(response.data.razao_social),\n fantasy_name: mdzNormalize.name(\n response.data.nome_fantasia ? response.data.nome_fantasia : response.data.razao_social\n ),\n address: mdzNormalize.name(response.data.logradouro),\n address_number: response.data.numero,\n address_complement: mdzNormalize.name(response.data.complemento),\n district: mdzNormalize.name(response.data.bairro),\n postal_code: response.data.cep,\n state_ibge: response.data.codigo_municipio_ibge?.toString().substring(0, 2),\n city_ibge: response.data.codigo_municipio_ibge,\n email: response.data.email ? response.data.email : '',\n phone: response.data.ddd_telefone_1,\n cellphone: response.data.ddd_telefone_2,\n state_name: response.data.uf,\n city_name: mdzNormalize.name(response.data.municipio)\n }\n }\n })\n .catch(() => {\n showError('CNPJ Inválido')\n return 'CNPJ Invalido'\n })\n})\n\nexport const confirmRegistration = createAsyncThunk('signup/confirmRegistration', async ({ fields, callback }) => {\n api\n .post('auth/validate-code', {\n email: fields.email,\n code: fields.verification_code\n })\n .then((response) => {\n if (response.data.statusCode === 200) {\n callback()\n } else {\n showError(response.data.message)\n }\n })\n})\n\nexport const resendCode = createAsyncThunk('signup/resendCode', async (fields) => {\n const response = await api.post('auth/resend-code', {\n email: fields.email\n })\n\n return response.data\n})\n\nconst initialState = {\n step: 1,\n name: '',\n email: '',\n password: '',\n confirm_password: '',\n verification_code: '',\n validation_data: {\n cnpj: '',\n corporate_name: '',\n fantasy_name: '',\n address: '',\n address_number: '',\n address_complement: '',\n district: '',\n postal_code: '',\n state_ibge: '',\n city_ibge: '',\n email: '',\n phone: '',\n cellphone: '',\n state_name: '',\n city_name: '',\n id_head_office_organization: null\n },\n checking: false\n}\n\nexport const signupSlice = createSlice({\n name: 'signup',\n initialState,\n reducers: {\n setFieldsValues: (state, action) => {\n state[action.payload.field] = action.payload.value\n },\n setValidationValues: (state, action) => {\n state.validation_data[action.payload.field] = action.payload.value\n },\n setStep: (state, action) => {\n state.step = action.payload\n },\n resetChecking: (state) => {\n state.checking = false\n },\n reset: () => initialState\n },\n extraReducers: (builder) => {\n builder.addCase(signup.fulfilled, (state, action) => {\n if (action.payload.statusCode === 201) {\n state.step = 2\n }\n\n //nesse caso o e-mail já existe\n if (action.payload.response?.code === 'UsernameExistsException') {\n state.step = 2\n }\n })\n builder.addCase(validateData.fulfilled, (state, action) => {\n if (action.payload === 'CNPJ Invalido') {\n state.checking = false\n } else {\n state.validation_data = action.payload\n state.validation_data.id_head_office_organization = null\n state.checking = true\n }\n })\n builder.addCase(searchPostalCode.fulfilled, (state, action) => {\n state.validation_data.district = action.payload.bairro\n state.validation_data.address_complement = action.payload.complemento\n state.validation_data.city_name = action.payload.localidade\n state.validation_data.city_ibge = action.payload.ibge\n state.validation_data.address = action.payload.logradouro\n })\n }\n})\n\nexport const { setFieldsValues, resetChecking, setValidationValues, setStep, reset } = signupSlice.actions\n\nexport default signupSlice.reducer\n","import axios from 'axios'\nimport { showError } from '../moderniza/toast'\nimport { URL_API_PLATFORM, URL_NOT_AUTHORIZED } from './endpoints'\n\nconst api = axios.create({\n baseURL: URL_API_PLATFORM,\n withCredentials: true,\n headers: { 'Content-Type': 'application/json' }\n})\n\napi.interceptors.response.use(\n (response) => {\n return response\n },\n (error) => {\n if (error.response) {\n if (error.response.status === 401) {\n window.location.href = URL_NOT_AUTHORIZED\n }\n\n if (error.response.status === 400 || error.response.status === 500) {\n showError(error.response.data.complement)\n }\n\n if (error.response.data) {\n return Promise.reject(error.response.data)\n }\n }\n return Promise.reject(error.message)\n }\n)\n\nexport default api\n","import { createSlice, createAsyncThunk } from '@reduxjs/toolkit'\nimport api from '@api'\nexport const register = createAsyncThunk('registerOrganization/register', async (data) => {\n const user_temp = JSON.parse(localStorage.getItem('user_temp'))\n const user = JSON.parse(localStorage.getItem('user'))\n\n const response = await api.post('register-organization/register', {\n data: data.validation,\n isModerShopActive: data.isModerShopActive,\n user: user_temp ? { ...user, email: user_temp.email } : { email: null }\n })\n\n if (response.status === 200) {\n data.callback(response.data.id_organization)\n localStorage.removeItem('user_temp')\n }\n\n return response.data\n})\n\nconst initialState = {\n id_organization_created: '',\n cnpj: '',\n activate_modershop: false\n}\n\nexport const registerOrganizationSlice = createSlice({\n name: 'registerOrganization',\n initialState,\n reducers: {\n setFieldsValues: (state, action) => {\n state[action.payload.field] = action.payload.value\n },\n activateModershop: (state, action) => {\n state.activate_modershop = action.payload.value\n },\n reset: () => initialState\n },\n extraReducers: (builder) => {\n builder.addCase(register.fulfilled, (state, action) => {\n state.id_organization_created = action.payload.id_organization\n })\n }\n})\n\nexport const { setFieldsValues, activateModershop } = registerOrganizationSlice.actions\n\nexport default registerOrganizationSlice.reducer\n","import { createSlice } from '@reduxjs/toolkit'\n\nconst initialState = {\n initialDate: undefined,\n finalDate: undefined,\n idOrganization: undefined,\n business: [],\n segments: [],\n state: '',\n handleFilter: new Date(),\n directCustomers: false\n}\n\nexport const dashboardSlice = createSlice({\n name: 'dashboard',\n initialState,\n reducers: {\n setFieldsValues: (state, action) => {\n if (action.payload.field === 'business') {\n state.business = action.payload.value.map((e) => e.value)\n } else if (action.payload.field === 'segments') {\n state.segments = action.payload.value.map((e) => e.value)\n } else if (action.payload.field === 'directCustomers') {\n state.directCustomers = action.payload.value\n if (action.payload.value === true) {\n state.idOrganization = 5\n } else {\n state.idOrganization = undefined\n }\n } else {\n state[action.payload.field] = action.payload.value\n }\n },\n onHandleFilter: (state) => {\n state.handleFilter = new Date()\n },\n resetFilter: (state) => {\n state.initialDate = undefined\n state.finalDate = undefined\n state.idOrganization = undefined\n state.business = []\n state.segments = []\n state.state = ''\n state.handleFilter = new Date()\n state.directCustomers = false\n }\n }\n})\n\nexport const { setFieldsValues, resetFilter, onHandleFilter } = dashboardSlice.actions\n\nexport default dashboardSlice.reducer\n","export default \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE4AAAA8CAYAAADIQIzXAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoV2luZG93cykiIHhtcE1N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R7iOo3E0jqJxNI7G0TgaR5VR8ZXDNHvJVSmbMJRRL2aZys9yvQfvio3rBp1gYowK5NJkvdGnZJI46vrBhpjX1afBTjFuGzjgUJFkE66BxRkx7mxM00SS+NwBPorbPYrKFoElGTBttoket3RVZz7GuC6n9gwY16GM+5cB1ua1fOXDtHeFNnuoe0Qbl4SH4JpqHFcsdd+TsI4bUMb1NfoCeNBO0C/AbxOlqEfLIJ/J5soxuyxIxAK4nuq3tNmDWW4Iyd7HZ5OAh5MD83+j11W5MWjP2xr3X913ObrjlcGtJv3S7uS3iHFvlMHPMmCc9t9vDItxXYpAuW/jQQaMk831E4q4/TLHyaNFW62BcbIjV8H2DGVFdtmF8KaY2ZGT4NRfAQYApZCBlWErMFcAAAAASUVORK5CYII=\"","// ** Redux Imports\nimport { createSlice, createAsyncThunk } from \"@reduxjs/toolkit\"\n\n// ** Axios Imports\nimport axios from \"axios\"\n\nexport const getBookmarks = createAsyncThunk(\n \"layout/getBookmarks\",\n async () => {\n const response = await axios.get(\"/api/bookmarks/data\")\n return {\n data: response.data.suggestions,\n bookmarks: response.data.bookmarks\n }\n }\n)\n\nexport const updateBookmarked = createAsyncThunk(\n \"layout/updateBookmarked\",\n async (id) => {\n await axios.post(\"/api/bookmarks/update\", { id })\n return id\n }\n)\n\nexport const layoutSlice = createSlice({\n name: \"layout\",\n initialState: {\n query: \"\",\n bookmarks: [],\n suggestions: []\n },\n reducers: {\n handleSearchQuery: (state, action) => {\n state.query = action.payload\n }\n },\n extraReducers: (builder) => {\n builder\n .addCase(getBookmarks.fulfilled, (state, action) => {\n state.suggestions = action.payload.data\n state.bookmarks = action.payload.bookmarks\n })\n .addCase(updateBookmarked.fulfilled, (state, action) => {\n let objectToUpdate\n\n // ** find & update object\n state.suggestions.find((item) => {\n if (item.id === action.payload) {\n item.isBookmarked = !item.isBookmarked\n objectToUpdate = item\n }\n })\n\n // ** Get index to add or remove bookmark from array\n const bookmarkIndex = state.bookmarks.findIndex(\n (x) => x.id === action.payload\n )\n\n if (bookmarkIndex === -1) {\n state.bookmarks.push(objectToUpdate)\n } else {\n state.bookmarks.splice(bookmarkIndex, 1)\n }\n })\n }\n})\n\nexport const { handleSearchQuery } = layoutSlice.actions\n\nexport default layoutSlice.reducer\n","// ** Redux Imports\nimport { createSlice } from '@reduxjs/toolkit'\n\nexport const loadingSlice = createSlice({\n name: 'showLoadingModal',\n initialState: {\n show: undefined\n },\n reducers: {\n showLoadingModal: (state, action) => {\n state.show = action.payload.show\n }\n }\n})\n\nexport const { showLoadingModal } = loadingSlice.actions\n\nexport default loadingSlice.reducer\n","import axios from 'axios'\n\nimport { showError } from '../moderniza/toast'\nimport { URL_API_FINANCE, URL_LOGIN } from './endpoints'\n\nconst apiFinance = axios.create({\n baseURL: URL_API_FINANCE,\n withCredentials: true,\n headers: { 'Content-Type': 'application/json' }\n})\n\napiFinance.interceptors.response.use(\n (response) => {\n return response\n },\n (error) => {\n if (error.response) {\n if (error.response.status === 401) {\n window.location.href = URL_LOGIN\n }\n\n if (error.response.status === 400 || error.response.status === 500) {\n showError(error.response.data.error)\n }\n\n if (error.response.data) {\n return Promise.reject(error.response.data)\n }\n }\n return Promise.reject(error.message)\n }\n)\n\nexport default apiFinance\n","import axios from 'axios'\n\nimport { showError } from '../moderniza/toast'\nimport { URL_API_COMERCIAL, URL_LOGIN } from './endpoints'\n\nconst apiComercial = axios.create({\n baseURL: URL_API_COMERCIAL,\n withCredentials: true,\n headers: { 'Content-Type': 'application/json' }\n})\n\napiComercial.interceptors.response.use(\n (response) => {\n return response\n },\n (error) => {\n if (error.response) {\n if (error.response.status === 401) {\n window.location.href = URL_LOGIN\n }\n\n if (error.response.status === 400 || error.response.status === 500) {\n showError(error.response.data.error)\n }\n\n if (error.response.data) {\n return Promise.reject(error.response.data)\n }\n }\n return Promise.reject(error.message)\n }\n)\n\nexport default apiComercial\n","const ECOMMERCE_URL = process.env.NODE_ENV === 'development' ? 'http://localhost:3009' : 'https://modershop.com.br'\nconst Authorization = 'Bearer asdoi2*&T%&64!#r'\n\n/**\n * Checa o DNS de um marketplace\n * @param {string} slug Slug do marketplace\n * @param {string} sufix Sufixo do domínio\n * @returns {Promise}\n */\nasync function CheckDNS(slug, sufix) {\n const url = `${ECOMMERCE_URL}/api-hooks/dns?slug=${slug}&sufix=${sufix}`\n const controller = new AbortController()\n\n //* 30 segundos de timeout\n const timeoutId = setTimeout(() => controller.abort(), 30000)\n\n const request = fetch(url, {\n signal: controller.signal,\n method: 'GET',\n headers: {\n Authorization\n }\n })\n .then(async (response) => {\n clearTimeout(timeoutId)\n const json = await response.json()\n return {\n content: json,\n status: response.status\n }\n })\n .then((data) => {\n return {\n content: data,\n success: data.status === 200,\n description: data.status === 200 ? 'Recuperado com sucesso' : 'Falha ao recuperar'\n }\n })\n .catch((e) => {\n return {\n error: e.message,\n success: false,\n description: 'Erro na api ecommerce',\n content: []\n }\n })\n\n return request\n}\n\n/**\n * Muda o tema de um marketplace\n * @param {string} slug Slug do marketplace\n * @returns {Promise}\n */\nasync function ChangeTheme(slug) {\n const url = `${ECOMMERCE_URL}/api-hooks/theme?slug=${slug}`\n const controller = new AbortController()\n\n //* 1 minuto de timeout\n const timeoutId = setTimeout(() => controller.abort(), 60000)\n\n const request = fetch(url, {\n signal: controller.signal,\n method: 'GET',\n headers: {\n Authorization\n }\n })\n .then(async (response) => {\n clearTimeout(timeoutId)\n const json = await response.json()\n return {\n content: json,\n status: response.status\n }\n })\n .then((data) => {\n return {\n content: data,\n success: data.status === 200,\n description: data.status === 200 ? 'Recuperado com sucesso' : 'Falha ao recuperar'\n }\n })\n .catch((e) => {\n return {\n error: e.message,\n success: false,\n description: 'Erro na api ecommerce',\n content: []\n }\n })\n\n return request\n}\n\nexport { CheckDNS, ChangeTheme }\n","// ** Redux Imports\nimport { createSlice, createAsyncThunk } from '@reduxjs/toolkit'\n\nimport { Situacao, TipoLogos, StyleTypeLogos } from 'mdz-enum'\n\nimport { uploadImageAws } from '@services/upload'\nimport { showSuccess } from '@moderniza/toast'\nimport apiFinance from '../../../services/api_finance'\nimport apiComercial from '../../../services/api_comercial'\nimport api from '@api'\nimport toast from 'react-hot-toast'\nimport { ChangeTheme, CheckDNS } from '../../../services/api_ecommerce'\n\nexport const fetchMarketplace = createAsyncThunk('marketplaces/fetchMarketplace', async (data) => {\n const response = await api.post('marketplaces/find-by-organization', data)\n\n if (response.data) {\n return response?.data?.marketplace || null\n }\n\n return undefined\n})\n\nexport const fetchPayments = createAsyncThunk('marketplaces/fetchPayments', async (id_organization) => {\n const response = await apiFinance.post('bank_account/find_by_organization', {\n id_organization: Number(id_organization),\n filter: {\n is_moderbank: true\n }\n })\n\n if (response.data) {\n return response.data.records\n }\n\n return undefined\n})\n\nexport const createModerbank = createAsyncThunk('marketplaces/createmoderbank', async (data) => {\n const response = await api.post('moderbank/create', data)\n if (response.data) {\n showSuccess('Método de pagamento inserido com sucesso!')\n\n return response.data\n }\n\n return response\n})\n\nexport const updateModerbank = createAsyncThunk('marketplaces/updateModerbank', async (data) => {\n const response = await api.post('moderbank/update', {\n ...data,\n where: { id_bank_account: data.id_bank_account }\n })\n if (response.data) {\n showSuccess('Método de pagamento alterado com sucesso!')\n\n return response.data\n }\n\n return response\n})\n\nexport const findModerbank = createAsyncThunk('marketplaces/findModerbank', async (data) => {\n const response = await api.post('moderbank/find', data)\n if (response.data) {\n return response.data\n }\n})\n\nexport const findModerbankById = createAsyncThunk('marketplaces/findModerbankById', async (data) => {\n const response = await api.post('moderbank/find-by-id', data)\n if (response.data) {\n return response.data\n }\n})\n\nexport const findPrivacy = createAsyncThunk('marketplaces/findPrivacy', async (data) => {\n const response = await api.post('marketplaces/find-privacy', data)\n if (response.data) {\n return response.data\n }\n})\n\nexport const submitTerms = createAsyncThunk('marketplaces/submitTerms', async (data) => {\n const response = await api.post('marketplaces/update-privacy', data)\n\n if (response.data) {\n showSuccess('Salvo')\n return response.data\n }\n})\n\nexport const submitPolicy = createAsyncThunk('marketplaces/submitPolicy', async (data) => {\n const response = await api.post('marketplaces/update-privacy', data)\n\n if (response.data) {\n showSuccess('Salvo')\n return response.data\n }\n})\n\nexport const fetchTuoBank = createAsyncThunk('marketplaces/fatchTuoBank', async (id_organization) => {\n const response = await api.post('tuo-bank/find-by-organization', { id_organization })\n\n if (response.data) {\n return response.data\n }\n\n return undefined\n})\n\nexport const saveTuoBank = createAsyncThunk('marketplaces/saveTuoBank', async (fields) => {\n const response = await api.post('tuo-bank/save', fields)\n\n if (response.data) {\n return response.data\n }\n\n return undefined\n})\n\nexport const createSafeTwoPay = createAsyncThunk('marketplaces/safeTwoPay', async (fields) => {\n let response\n\n if (fields.id_safe_two_pay) {\n response = await api.post('safe_two-pay/update', fields)\n } else {\n response = await api.post('safe_two-pay/create', fields)\n }\n\n if (response.data) {\n return response.data\n } else {\n return undefined\n }\n})\n\nexport const resetSafeTwoPay = createAsyncThunk('marketplaces/safeTwoPay', async (fields) => {\n const response = await api.post('safe_two-pay/reset', fields)\n if (response.data) {\n return response.data\n } else {\n return undefined\n }\n})\n\nexport const fetchSafeTwoPay = createAsyncThunk('marketplaces/fetchSafeTwoPay', async (id_organization) => {\n const response = await api.post('safe_two-pay/find-by-organization', { id_organization })\n\n if (response.data) {\n return response.data\n }\n\n return undefined\n})\n\nexport const fetchFrenet = createAsyncThunk('marketplaces/fetchFrenet', async (id_organization) => {\n const response = await api.post('frenet/find-by-organization', { id_organization })\n\n if (response.data) {\n return response.data\n }\n\n return undefined\n})\n\nexport const saveFrenet = createAsyncThunk('marketplaces/saveFrenet', async (fields) => {\n const response = await api.post('frenet/save', fields)\n\n if (response.data) {\n return response.data\n }\n\n return undefined\n})\n\nexport const fetchMelhorEnvio = createAsyncThunk('marketplaces/MelhorEnvio', async (id_organization) => {\n const response = await api.post('melhor_envio/find-by-organization', { id_organization })\n if (response.data) {\n return response.data\n }\n return undefined\n})\nexport const saveMelhorEnvio = createAsyncThunk('marketplaces/saveMelhorEnvio', async (fields) => {\n const response = await api.post('melhor_envio/save', fields)\n if (response.data) {\n return response.data\n }\n return undefined\n})\n\nexport const saveLogo = createAsyncThunk('marketplaces/saveLogo', async (data, { dispatch }) => {\n if (data.template_value?.length > 0) {\n const resUpload = await uploadImageAws(\n data.id_marketplace,\n 'image/png',\n `${data.id_marketplace}/marketplace/logo`,\n data.template_value\n )\n\n if (resUpload.data.success === true) {\n await api.post('marketplaces/update-marketplaceTemplate', {\n id_marketplace: data.id_marketplace,\n template_value: resUpload.data.message,\n template_key: data.template_key\n })\n\n return {\n template_value: resUpload.data.message,\n template_key: data.template_key\n }\n }\n }\n\n if (data.template_value === undefined) {\n await api.post('marketplaces/update-marketplaceTemplate', {\n id_marketplace: data.id_marketplace,\n template_value: null,\n template_key: data.template_key\n })\n\n return {\n template_value: resUpload.data.message,\n template_key: data.template_key\n }\n }\n\n dispatch(setLogoBase64(undefined))\n})\n\nexport const checkDNS = createAsyncThunk('marketplaces/checkDNS', async (data) => {\n return await CheckDNS(data.slug, data.sufix)\n})\n\nexport const checkTheme = createAsyncThunk('marketplaces/checkTheme', async (slug) => {\n if (slug === null) return\n return await ChangeTheme(slug)\n})\n\n//Adiciona informação no banco e depois busca\nexport const submitActivation = createAsyncThunk('marketplaces/submitActivation', async (data) => {\n if (!data.fields?.id_marketplace) {\n const response = await api.post('activations/activate', {\n id_organization: data.id_organization,\n app: data.app,\n marketplace: data.fields\n })\n\n if (response.data.success === true) {\n showSuccess('Marketplace salvo...')\n }\n\n return response.data\n } else {\n const response = await api.post('marketplaces/update', data.fields)\n\n if (response.data) {\n showSuccess('Marketplace salvo...')\n }\n\n return response\n }\n})\n\nexport const submitBanner = createAsyncThunk('marketplaces/submitBanner', async (data) => {\n if (!data.url_desktop) {\n const resUpload = await uploadImageAws(\n data.id_marketplace,\n 'image/png',\n `${data.id_marketplace}/marketplace/banners`,\n data.url_mobile\n )\n if (resUpload.data.success === true) {\n const dataBanner = {\n id_marketplace: data.id_marketplace,\n url_mobile: resUpload.data.message,\n description: data.description\n }\n const response = await api.post('marketplaces-banners/create', dataBanner)\n if (response.status === 200) {\n const find = await api.post('marketplaces-banners/find', { id_marketplace: data.id_marketplace })\n showSuccess('Banner mobile adicionado...')\n return find.data\n }\n }\n }\n\n if (!data.url_mobile) {\n const resUpload = await uploadImageAws(\n data.id_organization,\n 'image/png',\n `${data.id_organization}/marketplace/banners`,\n data.url_desktop\n )\n if (resUpload.data.success === true) {\n const dataBanner = {\n id_marketplace: data.id_marketplace,\n url_desktop: resUpload.data.message,\n description: data.description\n }\n const response = await api.post('marketplaces-banners/create', dataBanner)\n if (response.status === 200) {\n const find = await api.post('marketplaces-banners/find', { id_marketplace: data.id_marketplace })\n showSuccess('Banner desktop adicionado...')\n return find.data\n }\n }\n }\n\n if (!data.url_mobile) {\n const resUpload = await uploadImageAws(\n data.id_marketplace,\n 'image/png',\n `${data.id_marketplace}/marketplace/banners`,\n data.url_desktop\n )\n if (resUpload.data.success === true) {\n const dataBanner = {\n id_marketplace: data.id_marketplace,\n url_desktop: resUpload.data.message,\n description: data.description\n }\n const response = await api.post('marketplaces-banners/create', dataBanner)\n if (response.status === 200) {\n const find = await api.post('marketplaces-banners/find', { id_marketplace: data.id_marketplace })\n showSuccess('Banner desktop adicionado...')\n return find.data\n }\n }\n }\n\n const uploadDesktop = await uploadImageAws(\n data.id_marketplace,\n 'image/png',\n `${data.id_marketplace}/marketplace/banners`,\n data.url_desktop\n )\n const uploadMobile = await uploadImageAws(\n data.id_marketplace,\n 'image/png',\n `${data.id_marketplace}/marketplace/banners`,\n data.url_mobile\n )\n\n if (uploadDesktop.data.success === true) {\n if (uploadMobile.data.success === true) {\n const dataBanner = {\n id_marketplace: data.id_marketplace,\n url_desktop: uploadDesktop.data.message,\n url_mobile: uploadMobile.data.message,\n description: data.description\n }\n const response = await api.post('marketplaces-banners/create', dataBanner)\n if (response.status === 200) {\n const find = await api.post('marketplaces-banners/find', { id_marketplace: data.id_marketplace })\n showSuccess('Banner mobile adicionado...')\n return find.data\n }\n return upload\n }\n }\n})\n\nexport const findBanners = createAsyncThunk('marketplaces/findBanners', async (data) => {\n const response = await api.post('marketplaces-banners/find', data)\n return response.data\n})\n\nexport const updateBanner = createAsyncThunk('marketplaces/updateBanner', async (data) => {\n if (data.url_mobile === null) {\n delete data.url_mobile\n }\n if (data.url_desktop === null) {\n delete data.url_desktop\n }\n if (data.url_desktop) {\n const resUpload = await uploadImageAws(\n data.where.id_marketplace_banner,\n 'image/png',\n `${data.where.id_marketplace_banner}/marketplace/banners/`,\n data.url_desktop\n )\n\n if (resUpload.data.success === true) {\n data = {\n ...data,\n url_desktop: resUpload.data.message\n }\n }\n }\n\n if (data.url_mobile) {\n const resUpload = await uploadImageAws(\n data.where.id_marketplace_banner,\n 'image/png',\n `${data.where.id_marketplace_banner}/marketplace/banners/`,\n data.url_mobile\n )\n\n if (resUpload.data.success === true) {\n data = {\n ...data,\n url_mobile: resUpload.data.message\n }\n }\n }\n\n const response = await api.post('marketplaces-banners/update', data)\n\n if (response.status === 200) {\n const find = await api.post('marketplaces-banners/find', { id_marketplace: data.where.id_marketplace })\n showSuccess('Atualizado')\n return find.data\n }\n})\n\nexport const changeBannersSequence = createAsyncThunk('marketplaces/changeBannersSequence', async (data) => {\n const response = await api.post('marketplaces-banners/update-banner-sequence', data)\n\n if (response.status === 200) {\n toast.success('Ordem atualizada com sucesso')\n }\n\n return response.data\n})\n\nexport const findBannersById = createAsyncThunk('marketplaces/findBannersById', async (data) => {\n const response = await api.post('marketplaces-banners/find-by-id', data)\n return response.data\n})\n\nexport const deleteBanners = createAsyncThunk('marketplaces/deleteBanners', async (data) => {\n const response = await api.post('marketplaces-banners/delete', { id_marketplace_banner: data.id_marketplace_banner })\n\n if (response.status === 200) {\n const find = await api.post('marketplaces-banners/find', { id_marketplace: data.id_marketplace })\n showSuccess('Banner removido...')\n return find.data\n }\n\n return response\n})\n\nexport const updateSocialMedia = createAsyncThunk('marketplaces/updateBanners', async (data) => {\n const response = await api.post('marketplaces/update', data)\n return response\n})\n\nexport const getSocialMedia = createAsyncThunk('marketplaces/getSocialMedia', async (data) => {\n const response = await api.post('marketplaces/get-social-media', data)\n return response.data\n})\n\nexport const updateMarketplaceTemplate = createAsyncThunk('marketplaces/updateMarketplaceTemplate', async (data) => {\n const response = await api.post('marketplaces/update-marketplaceTemplate', data)\n return response.data\n})\n\nexport const getMarketplaceTemplates = createAsyncThunk('marketplaces/getMarketplaceTemplates', async (data) => {\n const response = await api.post('marketplaces/get-marketplaceTemplates', data)\n return response.data\n})\n\nexport const updateShowProductWithoutStock = createAsyncThunk(\n 'sale_channel/updateShowProductWithoutStock',\n async (data) => {\n const response = await apiComercial.post('sale_channel/update-multiple', data)\n return { ...response.data, data }\n }\n)\n\nexport const chargeSaleChannel = createAsyncThunk('sale_channel/chargeSaleChannel', async (id) => {\n return await apiComercial.post('sale_channel/charge', { id_canal_venda: id[0] }).then((result) => {\n if (result.status === 200) {\n return result.data\n }\n })\n})\n\nconst initialState = {\n loading: false,\n dns_avalaible: '',\n modal_state: false,\n banners: [],\n banner_fields: {\n id_marketplace_banner: '',\n description: '',\n url_desktop: undefined,\n url_mobile: undefined\n },\n logo_base64: '',\n tuo_bank: {\n id_tuo_bank: undefined,\n token: ''\n },\n frenet: {\n id_frenet: undefined,\n token: ''\n },\n melhor_envio: {\n id_melhor_envio: undefined,\n token: ''\n },\n fields: {\n exibir_produto_sem_estoque: false,\n id_marketplace: undefined,\n id_organization: undefined,\n url_xml_integration_shopping: '',\n url: '',\n url_domain: null,\n description: '',\n\n situation: Situacao.Ativo,\n\n ids_sales_channels: undefined,\n organizations: undefined,\n\n logo_type_mobile: TipoLogos.Retangular,\n logo_mobile: undefined,\n logo_square_text_mobile: undefined,\n\n logo_type_desktop: TipoLogos.Retangular,\n logo_desktop: undefined,\n logo_square_text_desktop: undefined,\n\n logo_style_header: StyleTypeLogos.Default,\n logo_style_footer: StyleTypeLogos.Default,\n\n color_primary: undefined,\n color_secondary: undefined,\n color_bg_footer: undefined,\n color_text_footer: undefined,\n color_bg_header: undefined,\n color_text_header: undefined,\n color_bg_main: undefined,\n color_text_main: undefined,\n color_normal_price: undefined,\n color_promotion_price: undefined,\n color_bg_primary_button: undefined,\n color_text_primary_button: undefined,\n color_bg_secondary_button: undefined,\n color_text_secondary_button: undefined,\n color_secondary_price: undefined,\n\n // lucas neitzke 26/07/2024\n product_page_blocks: undefined,\n home_page_blocks: undefined\n },\n moderbank_fields: {\n records: [],\n is_pix: false,\n is_demand: false,\n id_bank_account: ''\n },\n safe_two_pay: {\n id_safe_two_pay: undefined,\n token: '',\n max_installments: 0,\n active_installments: 0,\n is_connected: false,\n id_installment: undefined\n },\n payment_options: [],\n social_medias: {\n list: [],\n google: {\n url_arquivo: '',\n tag_manager_id: '',\n analytics_id: ''\n },\n facebook: {\n url_loja: '',\n url_arquivo: '',\n meta_pixel_id: ''\n },\n instagram: {\n url_loja: '',\n url_arquivo: ''\n },\n youtube: {\n url_loja: ''\n },\n whatsapp: ''\n },\n terms: '',\n policy: ''\n}\n\nexport const activationsSlice = createSlice({\n name: 'activations',\n initialState,\n reducers: {\n setFieldsValues: (state, action) => {\n if (Array.isArray(action.payload)) {\n action.payload.map((item) => {\n state.fields[item.field] = item.value\n })\n } else {\n state.fields[action.payload.field] = action.payload.value\n }\n },\n setTerms: (state, action) => {\n state.terms = action.payload\n },\n setBanners: (state, action) => {\n state.banners = action.payload\n },\n setSelectedBanner: (state, action) => {\n state.banner_fields.id_marketplace_banner = action.payload\n },\n setPolicy: (state, action) => {\n state.policy = action.payload\n },\n setModalState: (state, action) => {\n state.modal_state = action.payload\n },\n setBannerValues: (state, action) => {\n state.banner_fields[action.payload.field] = action.payload.value\n },\n setLoading: (state, action) => {\n state.loading = action.payload\n },\n setModerbankValues: (state, action) => {\n state.moderbank_fields[action.payload.field] = action.payload.value\n },\n setFieldsTuoBankValues: (state, action) => {\n state.tuo_bank[action.payload.field] = action.payload.value\n },\n setFieldsSafeTwoPay: (state, action) => {\n state.safe_two_pay[action.payload.field] = action.payload.value\n },\n setFieldsFrenetValues: (state, action) => {\n state.frenet[action.payload.field] = action.payload.value\n },\n setFieldsMelhorEnvioValues: (state, action) => {\n state.melhor_envio[action.payload.field] = action.payload.value\n },\n setPrimaryColorFields: (state, action) => {\n state.fields.color_primary = action.payload\n },\n setSecondColorFields: (state, action) => {\n state.fields.color_secondary = action.payload\n },\n setLogoBase64: (state, action) => {\n state.logo_base64 = action.payload\n },\n\n setApp: (state, action) => {\n state.app = action.payload\n },\n setGoogleUrlLoja: (state, action) => {\n state.social_medias.google.url_arquivo = action.payload\n },\n setGoogleTagManagerId: (state, action) => {\n state.social_medias.google.tag_manager_id = action.payload\n },\n setGoogleAnalyticsId: (state, action) => {\n state.social_medias.google.analytics_id = action.payload\n },\n setFacebookUrlLoja: (state, action) => {\n state.social_medias.facebook.url_loja = action.payload\n },\n setFacebookMetaPixelId: (state, action) => {\n state.social_medias.facebook.meta_pixel_id = action.payload\n },\n setFacebookUrlArquivo: (state, action) => {\n state.social_medias.facebook.url_arquivo = action.payload\n },\n setInstagramUrlLoja: (state, action) => {\n state.social_medias.instagram.url_loja = action.payload\n },\n setInstagramUrlArquivo: (state, action) => {\n state.social_medias.instagram.url_arquivo = action.payload\n },\n setYoutubeUrlArquivo: (state, action) => {\n state.social_medias.youtube.url_loja = action.payload\n },\n setWhatsappUrlArquivo: (state, action) => {\n state.social_medias.whatsapp = action.payload\n },\n\n resetBannerSelect: (state) => {\n state.banner_fields = {}\n },\n reset: () => initialState\n },\n extraReducers: (builder) => {\n builder\n .addCase(fetchMarketplace.fulfilled, (state, action) => {\n if (action.payload) {\n state.fields.id_marketplace = action.payload.id_marketplace\n state.fields.id_organization = action.payload.id_organization\n state.fields.url = action.payload.url\n state.fields.url_domain = action.payload.url_domain\n state.fields.description = action.payload.description\n state.fields.situation = action.payload.situation\n state.fields.organizations = action.payload.organizations\n state.fields.ids_sales_channels = action.payload.ids_sales_channels\n state.fields.url_xml_integration_shopping = action.payload.url_xml_integration_shopping\n }\n if (action.payload?.marketplaces_templates) {\n action.payload?.marketplaces_templates.map(({ template_key, template_value }) => {\n if (template_value) {\n state.fields[template_key] = template_value\n }\n })\n }\n })\n\n .addCase(saveMelhorEnvio.fulfilled, (state, action) => {\n if (action.payload) {\n state.melhor_envio = action.payload\n }\n })\n .addCase(fetchMelhorEnvio.fulfilled, (state, action) => {\n if (action.payload) {\n state.melhor_envio = action.payload\n }\n })\n\n .addCase(submitActivation.fulfilled, (state, action) => {\n if (action.payload.activate?.marketplace?.id_marketplace) {\n state.fields.id_marketplace = action.payload.activate?.marketplace?.id_marketplace\n }\n })\n\n .addCase(saveLogo.fulfilled, (state, action) => {\n state.fields[action.payload.template_key] = action.payload.template_value\n })\n\n .addCase(findModerbank.fulfilled, (state, action) => {\n state.moderbank_fields.records = action.payload\n })\n\n .addCase(getSocialMedia.fulfilled, (state, action) => {\n state.social_medias.list = action.payload[0]\n\n state.social_medias.facebook.url_arquivo = action.payload[0].facebook_file\n state.social_medias.facebook.url_loja = action.payload[0].facebook_url\n state.social_medias.facebook.meta_pixel_id = action.payload[0].facebook_meta_pixel_id\n\n state.social_medias.instagram.url_arquivo = action.payload[0].instagram_file\n state.social_medias.instagram.url_loja = action.payload[0].instagram_url\n\n state.social_medias.google.url_arquivo = action.payload[0].google_file\n state.social_medias.google.tag_manager_id = action.payload[0].google_tag_manager_id\n state.social_medias.google.analytics_id = action.payload[0].google_analytics_id\n\n state.social_medias.whatsapp = action.payload[0].whatsapp_number\n\n state.social_medias.youtube.url_loja = action.payload[0].youtube_url\n })\n\n .addCase(findBanners.fulfilled, (state, action) => {\n state.banners = action.payload\n })\n .addCase(deleteBanners.fulfilled, (state, action) => {\n state.banners = action.payload\n })\n .addCase(fetchPayments.fulfilled, (state, action) => {\n state.payment_options = action.payload\n state.moderbank_fields.id_bank_account = action.payload[0]?.id_conta\n })\n .addCase(findModerbankById.fulfilled, (state, action) => {\n state.moderbank_fields.is_pix = action.payload.is_pix\n state.moderbank_fields.is_demand = action.payload.is_demand\n })\n .addCase(submitBanner.fulfilled, (state, action) => {\n state.banner_fields.url_desktop = undefined\n state.banner_fields.url_mobile = undefined\n state.banner_fields.description = undefined\n state.banners = action.payload\n })\n .addCase(updateBanner.fulfilled, (state, action) => {\n state.banner_fields.url_desktop = undefined\n state.banner_fields.url_mobile = undefined\n state.banner_fields.description = undefined\n state.modal_state = false\n state.banners = action.payload\n })\n .addCase(findBannersById.fulfilled, (state, action) => {\n state.banner_fields.url_desktop = action.payload.url_desktop\n state.banner_fields.url_mobile = action.payload.url_mobile\n state.banner_fields.description = action.payload.description\n })\n .addCase(fetchTuoBank.fulfilled, (state, action) => {\n if (action.payload) {\n state.tuo_bank = action.payload\n }\n })\n .addCase(saveTuoBank.fulfilled, (state, action) => {\n if (action.payload) {\n state.tuo_bank = action.payload\n }\n })\n .addCase(createSafeTwoPay.fulfilled, (state, action) => {\n if (action.payload) {\n state.safe_two_pay = action.payload\n }\n })\n .addCase(fetchSafeTwoPay.fulfilled, (state, action) => {\n if (action.payload) {\n state.safe_two_pay = action.payload\n }\n })\n .addCase(fetchFrenet.fulfilled, (state, action) => {\n if (action.payload) {\n state.frenet = action.payload\n }\n })\n .addCase(saveFrenet.fulfilled, (state, action) => {\n if (action.payload) {\n state.frenet = action.payload\n }\n })\n .addCase(findPrivacy.fulfilled, (state, action) => {\n state.terms = action.payload.terms_of_use\n state.policy = action.payload.privacy_policy\n })\n .addCase(checkDNS.fulfilled, (state, action) => {\n state.loading = false\n if (action.payload) {\n state.dns_avalaible = action.payload.available ? 'Disponível' : 'Indisponível'\n }\n })\n .addCase(updateShowProductWithoutStock.fulfilled, (state, action) => {\n state.fields.exibir_produto_sem_estoque = action.payload.data.fields.exibir_produto_sem_estoque\n })\n .addCase(chargeSaleChannel.fulfilled, (state, action) => {\n state.fields.exibir_produto_sem_estoque = action.payload.exibir_produto_sem_estoque\n })\n }\n})\n\nexport const {\n setFieldsValues,\n setModerbankValues,\n reset,\n setLogoBase64,\n setFieldsTuoBankValues,\n setFieldsFrenetValues,\n setFieldsMelhorEnvioValues,\n setApp,\n setBannerValues,\n setBanners,\n setLoading,\n setTerms,\n setPolicy,\n setSelectedBanner,\n resetBannerSelect,\n setModalState,\n setPrimaryColorFields,\n setSecondColorFields,\n setGoogleUrlLoja,\n setGoogleTagManagerId,\n setGoogleAnalyticsId,\n setFacebookUrlLoja,\n setFacebookMetaPixelId,\n setFacebookUrlArquivo,\n setInstagramUrlLoja,\n setInstagramUrlArquivo,\n setYoutubeUrlArquivo,\n setWhatsappUrlArquivo,\n setFieldsSafeTwoPay\n} = activationsSlice.actions\n\nexport default activationsSlice.reducer\n","// ** Redux Imports\nimport { createSlice } from '@reduxjs/toolkit'\n\nconst initialState = { fields: {} }\n\nexport const filterFieldsSlice = createSlice({\n name: 'filterComponent',\n initialState,\n reducers: {\n setFieldsValues: (state, action) => {\n state.fields[action.payload.field] = action.payload.value\n },\n reset: () => initialState\n }\n})\n\nexport const { setFieldsValues, reset } = filterFieldsSlice.actions\n\nexport default filterFieldsSlice.reducer\n","import layout from './layout'\nimport navbar from './navbar'\nimport user from './user'\nimport modalNotification from '../moderniza/modal/notification/store'\nimport loadingModal from '../moderniza/toast/store'\nimport addOrganizations from '@src/views/organizations/store/add'\nimport listOrganizations from '@src/views/organizations/store/list'\nimport marketplaces from '@src/views/activations/store/marketplaces'\nimport filterFields from './filterFields'\nimport register from '../views/register/store/register'\nimport registerOrganization from '../views/register-organization/store/register'\nimport RegisterClient from '../views/register-client/store'\nimport RegisterPartner from '../views/register-partner/store'\nimport titleSlice from '../@core/layouts/components/navbar/store'\nimport loading from '../moderniza/loading/store'\nimport mdzSidebar from '../moderniza/mdzSidebar/store'\nimport dashboard from '../views/dashboard/store'\n\nconst rootReducer = {\n filterFields,\n navbar,\n layout,\n user,\n modalNotification,\n loadingModal,\n addOrganizations,\n listOrganizations,\n marketplaces,\n register,\n registerOrganization,\n RegisterClient,\n titleSlice,\n RegisterPartner,\n loading,\n mdzSidebar,\n dashboard\n}\n\nexport default rootReducer\n","// ** Redux Imports\nimport rootReducer from \"./rootReducer\"\nimport { configureStore } from \"@reduxjs/toolkit\"\n\nconst store = configureStore({\n reducer: rootReducer,\n middleware: (getDefaultMiddleware) => {\n return getDefaultMiddleware({\n serializableCheck: false\n })\n }\n})\n\nexport { store }\n","import { Fragment, useState } from 'react'\nimport toast from 'react-hot-toast'\nimport { Modal, ModalHeader, ModalBody, ModalFooter, Button, Spinner } from 'reactstrap'\n\nconst Custom = ({ error }) => {\n const [show, setShow] = useState(true)\n\n return (\n \n Ops...\n \n {error ? (\n Array.isArray(error) ? (\n error.map((err, index) => {\n return
  • {err}
  • \n })\n ) : (\n
    {error}
    \n )\n ) : null}\n
    \n \n \n \n
    \n )\n}\nexport const CustomConfirmation = ({ text, onClickNo, onClickYes, isTerms, textButtonNo, textButtonYes }) => {\n const [isActive, setIsActive] = useState(true)\n\n return (\n \n Atenção\n {text ?
    {text}
    : null}
    \n \n {\n onClickYes()\n setIsActive(false)\n }}>\n {textButtonYes ? textButtonYes : {isTerms === true ? 'Concordo' : 'Sim'}}\n \n {\n if (typeof onClickNo === 'function') onClickNo()\n setIsActive(false)\n }}>\n {textButtonNo ? textButtonNo : {isTerms === true ? 'Discordo' : 'Sim'}}\n \n \n
    \n )\n}\n\nexport const Message = ({ message }) => {\n const [isActive, setIsActive] = useState(true)\n\n return (\n \n setIsActive(!isActive)}>\n Sucesso!\n \n \n {message}\n \n \n )\n}\nexport const showError = (error) => {\n toast.custom()\n}\nexport const showMessage = (message) => {\n toast.custom()\n}\nexport const showConfirmation = (text, onClickNo, onClickYes, isTerms, textButtonYes, textButtonNo) => {\n toast.custom(\n \n )\n}\n\nexport const showSuccess = (msg) => {\n toast.success(msg)\n}\n","export default \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bX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tD9vy7H4BkMfKQPeVbX3RE3/lIT9AfREQD4hGVZ4rowdp0h+HSd/voAiAhURBDIGNtK2l1+UZ7tDjuFP7YR8goxDoVafXS9V5cWA8DTpJ35Fj5/UFQE5hsJaCIFpJYXARcYeOR/gTR/pA5iEQv9d66fttHqsC8SBoevadmP55Gib7sdEXAADAB+oYAgAQAACAAAAABAAAIAAAAAEAAAgAAEAAAAACAAAQAACAAAAABAAAIAAAAAEAAAgAAEAAAAACAAAQAAAgAAAAAQAACAAAQAAAAAIAABAAAIAAAAAEAAAgAAAAAQAACAAAQAAAAAIAABAAAIAAAAAEAAAgAABAAAAAAgAAEAAAgAAAAAQAACAAAAABAAAIAABAAAAAAgAAEAAAgAAAAAQAACAAAAABAAAIAABAAACAAAAABAAAIAAAAAEAAAgAAEAAAAACAAAQAACAAAAABAAAIAAAAAEAAAgAAEAAAAACAAAQAACAAAAAAQAACAAAoO3+X4ABAI+DsQlT0uFhAAAADmVYSWZNTQAqAAAACAAAAAAAAADSU5MAAAAASUVORK5CYII=\"","export default __webpack_public_path__ + \"static/media/Moderniza_sem_logo.83b15f58.png\";"],"sourceRoot":""}