{"version":3,"sources":["Common/Context/AppReducer.js","Common/Context/Values/FormBaseInitialValues.js","Common/Context/GlobalContext.js","Forms/FormBase/VehicleForm/index.js","Forms/FormBase/TypeVehicleForm/index.js","Forms/FormBase/SelectNumGpsForm/index.js","Forms/FormBase/UserInformationForm/index.js","Forms/FormBase/SeeBudgetDetailForm/index.js","Forms/FormBase/Stepper/index.js","Forms/FormBase/Stepper-tachograph/index.js","Common/Utils/UseAxios.js","Forms/FormBase/CallApiLoadingScreen/CAllApiLoadingScreen.js","App.js","index.js"],"names":["appReducer","state","action","type","payload","formBaseReducer","activeStep","formValues","name","value","fieldValue","error","fieldName","typeVehicle","privacity","uri","typeForm","dataId","formBaseInitialValues","tipoVehiculos","hutk","cname","ca","decodeURIComponent","document","cookie","split","i","length","c","charAt","substring","indexOf","getCookie","pageName","window","location","pathname","replace","pageUri","href","company","required","validate","minLength","maxLength","helperText","phone","zip","firstName","email","vehiculos","isEmail","RegExp","isZip","isPhone","GlobalContext","createContext","names","index","GlobalProvider","children","useReducer","dispatchName","dispatchFormValues","stateVehiculos","dispatchVehiculos","Provider","addVehicles","vehicle","addTypeVehicles","addNumVehicles","AddPrivacity","handleNext","handleBack","handleChange","event","target","console","log","includes","test","parseInt","addName","addUri","AddTypeForm","AddDataId","makeStyles","img","width","cursor","pElement","margin","textAlign","fontSize","color","icon","height","top","left","useStyles","TypeVehicleForm","useContext","values","containerRef","React","useRef","useState","isDisabled","setIsDisabled","classes","handleSelectedOption","result","filter","x","SelectedOptions","push","Box","sx","padding","borderRadius","overflow","ref","Slide","timeout","style","container","current","direction","in","fontWeight","lineHeight","marginTop","marginBottom","transition","fontFamily","Fade","transitionDelay","Grid","alignItems","justifyContent","spacing","map","Fragment","item","onClick","src","className","alt","Zoom","visibility","position","display","mt","paddingBottom","Button","variant","disabled","SelectNumGpsForm","title","subTitle","isError","Object","keys","some","isMobile","TextField","onChange","marginLeft","InputProps","startAdornment","InputAdornment","inputProps","min","max","mr","formHelperText","letterSpacing","UserInformationForm","useCallback","flexGrow","xs","md","lg","p","my","InputLabel","shrink","FormHelperText","id","Android12Switch","styled","Switch","theme","content","transform","backgroundImage","encodeURIComponent","palette","getContrastText","primary","main","right","boxShadow","backgroundColor","SeeBudgetDetailForm","navigate","useNavigate","FormControlLabel","control","checked","label","labelPlacement","steps","getStepContent","step","stepsMobile","description","HorizontalLinearStepper","formType","useEffect","queryString","search","URLSearchParams","get","marginX","marginY","Stepper","alternativeLabel","Step","StepLabel","paddingTop","maxWidth","axios","defaults","baseURL","UseAxios","url","method","data","headers","undefined","response","setResponse","setError","loading","setloading","setTimeout","then","res","catch","err","finally","centerScreen","minHeight","centerScreenText","CallApiLoadingScreen","newName","setnewName","toString","replaceAll","requestData","firstname","accept","interval","lottie","loadAnimation","querySelector","animationData","countDown20","loop","setInterval","clearInterval","SuccessLottie","background","message","createTheme","App","ThemeProvider","CssBaseline","Container","component","path","element","CAllApiLoadingScreen","ReactDOM","render","StrictMode","getElementById"],"mappings":"uubAAaA,EAAa,SAACC,EAAOC,GAE9B,OAAQA,EAAOC,MACX,IAAK,cAIL,IAAK,mBAGL,IAAK,cACDF,EAAQC,EAAOE,QAKvB,OAAOH,GAoBEI,EAAkB,SAACJ,EAAOC,GACnC,OAAQA,EAAOC,MACX,IAAK,WACD,OAAO,2BACAF,GADP,IAEIK,WAAYL,EAAMK,WAAa,IAGvC,IAAK,WACD,OAAO,2BACAL,GADP,IAEIK,WAAYL,EAAMK,WAAa,IAGvC,IAAK,aACD,OAAO,2BACAL,GADP,IAEIM,WAAW,2BACJN,EAAMM,YADH,kBAELL,EAAOM,KAFF,2BAGCP,EAAMM,WAAWL,EAAOM,OAHzB,IAIFC,MAAOP,EAAOQ,iBAI9B,IAAK,aACD,OAAO,2BACAT,GADP,IAEIM,WAAW,2BACJN,EAAMM,YADH,kBAELL,EAAOM,KAFF,2BAGCP,EAAMM,WAAWL,EAAOM,OAHzB,IAIFG,MAAOT,EAAOS,YAI9B,IAAK,cACD,OAAO,2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OACP,cAAC,IAAMC,WAAP,UACE,cAAC,IAAD,UACE,cAAC,GAAD,QAGJvQ,SAASwQ,eAAe,W","file":"static/js/main.e05d1fe1.chunk.js","sourcesContent":["export const appReducer = (state, action) => {\n\n switch (action.type) {\n case \"Add_Vehicle\":\n state = action.payload;\n break;\n\n case \"Add_Type_Vehicle\":\n state = action.payload;\n break;\n case \"Change_Name\":\n state = action.payload;\n break;\n default:\n break;\n }\n return state\n}\n\nexport const stepperReducer = (state, action) => {\n switch (action.type) {\n case \"Increase\":\n state = action.payload + 1;\n break;\n\n case \"Decrease\":\n state = action.payload - 1;\n break;\n\n default:\n break;\n }\n return state\n}\n\n\nexport const formBaseReducer = (state, action) => {\n switch (action.type) {\n case \"Increase\":\n return {\n ...state,\n activeStep: state.activeStep + 1\n };\n\n case \"Decrease\":\n return {\n ...state,\n activeStep: state.activeStep - 1\n };\n\n case \"Form-Value\":\n return {\n ...state,\n formValues: {\n ...state.formValues,\n [action.name]: {\n ...state.formValues[action.name],\n value: action.fieldValue\n }\n }\n };\n case \"Form-Error\":\n return {\n ...state,\n formValues: {\n ...state.formValues,\n [action.name]: {\n ...state.formValues[action.name],\n error: action.error\n }\n }\n };\n case \"Add_Vehicle\":\n return {\n ...state,\n formValues: {\n ...state.formValues,\n [action.fieldName]: action.value\n\n }\n }\n case \"Add_Type_Vehicle\":\n return {\n ...state,\n formValues: {\n ...state.formValues,\n [action.fieldName]: action.typeVehicle\n\n }\n }\n case \"Add_Privacity\":\n return {\n ...state,\n formValues: {\n ...state.formValues,\n [action.fieldName]: action.privacity\n\n }\n }\n case \"Add_Uri\":\n return {\n ...state,\n uri: action.payload\n }\n\n case \"Add_TypeForm\":\n return {\n ...state,\n formValues: {\n ...state.formValues,\n [action.fieldName]: action.typeForm\n\n }\n }\n case \"Add_DataId\":\n return {\n ...state,\n formValues: {\n ...state.formValues,\n [action.fieldName]: action.dataId\n\n }\n }\n\n default:\n break;\n }\n}","const getCookie = (cname) => {\n let name = cname + \"=\";\n let decodedCookie = decodeURIComponent(document.cookie);\n let ca = decodedCookie.split(';');\n for (let i = 0; i < ca.length; i++) {\n let c = ca[i];\n while (c.charAt(0) === ' ') {\n c = c.substring(1);\n }\n if (c.indexOf(name) === 0) {\n return c.substring(name.length, c.length);\n }\n \n }\n return \"\";\n}\n\nexport const formBaseInitialValues = {\n // vehiculos: \"\",\n tipoVehiculos: [],\n privacity: true,\n hutk: getCookie(\"hubspotutk\"),\n pageName: window.location.pathname.replace(\"/\", \"\"),\n pageUri: window.location.href,\n typeForm: \"\",\n dataId: \"\",\n company: {\n value: '',\n error: '',\n required: true,\n validate: 'text',\n minLength: 1,\n maxLength: 20,\n helperText: 'Custom error message'\n },\n phone: {\n value: '',\n error: '',\n validate: 'phone',\n maxLength: 15,\n required: true\n },\n zip: {\n value: '',\n error: '',\n validate: 'zip',\n maxLength: 15,\n required: true\n },\n firstName: {\n value: '',\n error: '',\n required: true,\n validate: 'text',\n minLength: 2,\n maxLength: 20,\n helperText: 'Custom error message'\n },\n email: {\n value: '',\n error: '',\n required: true,\n validate: 'email'\n },\n vehiculos: {\n value: '2',\n error: '',\n required: true,\n validate: 'number',\n },\n}","import { createContext, useReducer } from 'react';\nimport { appReducer, formBaseReducer } from './AppReducer';\nimport { formBaseInitialValues } from './Values/FormBaseInitialValues';\n\n// const isText = RegExp(/^[A-Z ]+$/i)\nconst isEmail = RegExp(/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\\.[A-Z]{2,}$/i)\n\n// const isZip = RegExp(/^(?:0[1-9]|[1-4]\\d|5[0-2])\\d{3}$/)\nconst isZip = RegExp(/^\\d{5}(-\\d{4})?$/)\n// const isNumber = RegExp(/^\\d+$/)\n// (123) 456-7890\n// (123)456-7890\n// 123-456-7890\n// 123.456.7890\n// 1234567890\n// +31636363634\n// 075-63546725\n/* const isPhone = RegExp(/^[(]?[0-9]{3}[)]?[-\\s]?[0-9]{3}[-\\s]?[0-9]{4,6}$/); */ //universal\n// const isPhone = RegExp(/^\\D?(\\d{3})\\D?\\D?(\\d{3})\\D?(\\d{4,6})$/) //ES\nconst isPhone = RegExp(/^[+]*(\\d{9}|\\d{10}|\\d{11})$/) //ES\n\nconst vehiculosInitialState = \"\";\n\nexport const GlobalContext = createContext(formBaseInitialValues);\n\nexport const vehiculosContext = createContext(vehiculosInitialState);\n\nconst names = [\n 'Creando presupuesto...', 'Guardando documento...', 'Enviando...'\n]\n\nlet index = 1;\n\nexport const GlobalProvider = ({ children }) => {\n\n const [name, dispatchName] = useReducer(appReducer, \"Enviando presupuesto...\");\n\n const [{ formValues, activeStep, uri }, dispatchFormValues] = useReducer(formBaseReducer, {\n activeStep: 0,\n formValues: formBaseInitialValues,\n uri: \"https://www.4gflota.com/software-gestor-flotas/\"\n });\n const [stateVehiculos, dispatchVehiculos] = useReducer(appReducer, vehiculosInitialState);\n\n let copyVehiculos = vehiculosInitialState;\n\n const addName = () => {\n let value = names[index++];\n\n dispatchName({ type: 'Change_Name', payload: value })\n }\n\n const addNumVehicles = (value) => {\n const fieldName = \"vehiculos\";\n dispatchFormValues({ type: 'Add_Vehicle', fieldName, value });\n }\n\n const addVehicles = (vehicle) => {\n if (vehicle === \"+30\") {\n vehicle = \"30\";\n }\n copyVehiculos = vehicle;\n dispatchVehiculos({ type: 'Add_Vehicle', payload: copyVehiculos });\n\n\n const myArray = vehicle.split(\"-\");\n let fieldValue = myArray[0];\n const name = \"vehiculos\";\n dispatchFormValues({ type: 'Form-Value', name, fieldValue });\n\n }\n\n const addTypeVehicles = (typeVehicle) => {\n const fieldName = \"tipoVehiculos\";\n dispatchFormValues({ type: 'Add_Type_Vehicle', fieldName, typeVehicle });\n }\n\n const AddPrivacity = (privacity) => {\n const fieldName = \"privacity\";\n dispatchFormValues({ type: 'Add_Privacity', fieldName, privacity });\n }\n\n const handleNext = () => dispatchFormValues({ type: 'Increase', payload: activeStep });\n const handleBack = () => dispatchFormValues({ type: 'Decrease', payload: activeStep });\n\n const addUri = (value) => {\n\n\n }\n\n const AddTypeForm = (typeForm) => {\n const fieldName = \"typeForm\";\n dispatchFormValues({ type: 'Add_TypeForm', fieldName, typeForm });\n }\n const AddDataId = (dataId) => {\n const fieldName = \"dataId\";\n dispatchFormValues({ type: 'Add_DataId', fieldName, dataId });\n }\n\n\n const handleChange = (event) => {\n const { name, value } = event.target;\n const fieldName = formBaseInitialValues[name];\n const fieldValue = value;\n const { required, validate, helperText } = fieldName;\n\n if (fieldName.validate === \"zip\") {\n if (value.length === 2) {\n let uriGroup1 = \"https://www.4gflota.com/demo-online-ego/\";\n let group1 = [\"01\", \"05\", \"09\", \"13\", \"15\", \"16\", \"19\", \"20\", \"28\", \"30\", \"31\", \"32\", \"33\", \"39\", \"40\", \"45\", \"47\", \"49\"];\n\n let group2 = [\"07\", \"08\", \"12\", \"17\", \"22\", \"24\", \"25\", \"26\", \"27\", \"36\", \"37\", \"42\", \"43\", \"44\", \"46\", \"48\", \"50\"];\n let uriGroup2 = \"https://www.4gflota.com/demo-online-jl/\";\n\n let group3 = [\"02\", \"03\", \"04\", \"06\", \"10\", \"11\", \"14\", \"18\", \"21\", \"23\", \"29\", \"34\", \"35\", \"38\", \"41\", \"51\", \"52\"];\n let uriGroup3 = \"https://www.4gflota.com/demo-online-luis/\";\n\n // let twoDigit = value.substring(0, 2);\n let pathname = window.location.pathname;\n console.log(pathname)\n if (pathname === \"/ads-movil/\" || pathname === \"/ads-movil\") {\n dispatchFormValues({ type: 'Add_Uri', payload: \"https://actualidad.4gflota.com/gracias-presupuesto\" });\n } else if (pathname === \"/ads-pc/\" || pathname === \"/ads-pc\") {\n dispatchFormValues({ type: 'Add_Uri', payload: \"https://actualidad.4gflota.com/gracias-presupuesto\" });\n } else if (pathname === \"/ads-max/\" || pathname === \"/ads-max\") {\n dispatchFormValues({ type: 'Add_Uri', payload: \"https://actualidad.4gflota.com/gracias-presupuesto\" });\n } else if (group1.includes(value)) {\n dispatchFormValues({ type: 'Add_Uri', payload: uriGroup1 });\n } else if (group2.includes(value)) {\n dispatchFormValues({ type: 'Add_Uri', payload: uriGroup2 });\n } else if (group3.includes(value)) {\n dispatchFormValues({ type: 'Add_Uri', payload: uriGroup3 });\n } else {\n dispatchFormValues({ type: 'Add_Uri', payload: \"https://www.4gflota.com/software-gestor-flotas/\" });\n\n }\n }\n }\n\n dispatchFormValues({ type: 'Form-Value', name, fieldValue });\n\n let error = \"\";\n if (required && fieldValue === \"\") error = \"Este campo es obligatorio.\";\n\n switch (validate) {\n case \"email\":\n if (value && !isEmail.test(value))\n error = helperText || \"Por favor, introduce una dirección de correo electrónico válida.\";\n break;\n case \"phone\":\n if (value && !isPhone.test(value))\n error =\n helperText ||\n \"Por favor ingrese un número de teléfono válido.\";\n break;\n case \"zip\":\n if (value && !isZip.test(value))\n error = helperText || \"Por favor ingrese un código postal válido.\";\n break;\n case \"number\":\n // let min = stateVehiculos.split(\"-\")[0];\n // let max = stateVehiculos.split(\"-\")[1];\n if (parseInt(value) < 2) {\n error = helperText || \"Debe indicar un cantidad mayor a 1\";\n }\n if (parseInt(value) > 999) {\n error = helperText || \"Debe indicar un cantidad menor a 999\";\n }\n // if (parseInt(value) < 30 && parseInt(min) === 30) {\n // error = helperText || \"No puede ingresar un valor menor a (\" + min + \")\";\n // } else if (parseInt(value) < min || parseInt(value) > max) {\n // error = helperText || \"Cantidad errónea\";\n // }else if (parseInt(value) < min || parseInt(value) > max) {\n // error = helperText || \"Debe ingresar una cantidad entre (\" + min + \") y (\" + max + \")\";\n // }\n // if (parseInt(value) > 999) {\n // value = 999;\n // }\n\n\n break;\n default:\n break;\n }\n dispatchFormValues({ type: \"Form-Error\", name, error });\n }\n\n return (\n
{values[index]}
\n\t\t\t\t\t\t\t\t\tIndique tantos como necesite
\n\t\t\t\t{values[index]}
\n\t\t\t\t\t\t\t\t\t{subTitle}
\n\t\t\t\tVerá su presupuesto de inmediato
\nSu Privacidad es muy importante para nosotros. Mediante el envío de este formulario, da su consentimiento a 4GFlota SL para enviarle por correo electrónico la información de los servicios que ha solicitado y/o para confirmar los requisitos de dichos productos. Usted tiene derecho a revocar el consentimiento otorgado en cualquier momento.
\n{newName}
\n{newName}
\n{error.message}
\nEnviado a su email.
\n\n Mirar buzón de spam o correos no deseados.
\nEnviado a su email.
\n\n\n Mirar buzón de spam o correos no deseados.
\n\n