- \r\n
- \r\n
\r\n \r\n - \r\n
\r\n \r\n - \r\n
\r\n \r\n
{"version":3,"sources":["images/logo-loop.svg","images/loop-eco-aaa.svg","images/loop-eco-aa.svg","images/loop-eco-a.svg","components/Score.js","components/ScoreFinal.js","components/ScoreGauge.js","components/ScoreGauges.js","components/Survey.js","components/Evaluation.js","components/SearchBar.js","components/SearchItem.js","components/SearchCertificateList.js","components/Search.js","components/Verify.js","images/loop-certificate-icipc.svg","components/CertificateItem.js","components/Product.js","App.js","reportWebVitals.js","index.js"],"names":["getSeal","score","certification","image","_jsx","src","LogoEcoAAA","alt","className","style","height","description","descriptionCertification","LogoEcoAA","LogoEcoA","ScoreFinal","React","Component","seal","currentScore","_jsxs","children","toFixed","role","href","target","type","rel","render","this","props","ScoreGauge","color","ScoreGauges","scoreEcodiseno","score13430","SurveyComponent","constructor","Survey","applyTheme","progressButtonsContainer","navigationButton","super","state","isCompleted","onCompleteComponent","bind","onValueChangedComponent","backSurvey","survey","setState","addAnswerGoogleSheet","data","options","surveydata","weightProductContainer","calculateProductContainer","packageType","adhesive","coating","recycleCompatibility","materialBarrier","materialBarrierWeight","route","noPlasticPercentage","materialIdentification","materialPPPE","materialFloat","materialUniquePlastic","materialContamination","getScore","doc","GoogleSpreadsheet","process","Date","toISOString","name","company","phone","email","JSON","stringify","async","useServiceAccountAuth","client_email","private_key","loadInfo","e","console","error","appendSpreadsheet","surveyRender","json","SurveyEco","showCompletedPage","onComplete","onValueChanged","scoreGauges","Evaluation","disclaimerAccept","setDisclaimerAccept","useState","personalDataAccept","setPersonalDataAccept","setName","setCompany","setPhone","setEmail","useEffect","document","title","disclaimer","Link","to","onClick","personalData","onSubmit","event","preventDefault","htmlFor","id","placeholder","value","onInput","required","SearchBar","_ref","input","keyword","onChange","setKeyword","disabled","SearchItem","checkProduct","product","substr","loopCode","SearchCertificateList","certificateList","map","index","Search","setInput","inputDisabled","setinputDisabled","certificateListDefault","setCertificateListDefault","setCertificateList","sheet","sheetsById","getRows","fetchData","filtered","filter","certificate","toLowerCase","includes","length","Verify","search","setSearch","Route","history","push","CertificateItem","label","property","certificationType","colorCertificate1","colorCertificate2","colorCertificate3","colorCertificate4","withRouter","certificateFound","setCertificateFound","certificateReady","setCertificateReady","getCertificationLogo","number","result","find","barCode","match","params","certificateImages","imageURL1","imageURL2","maxHeight","maxWidth","QRCode","size","LogoICIPCLoop","nit","address","date","dateExpiry","pageTitle","MenuLink","activeOnlyWhenExact","useRouteMatch","path","exact","App","HashRouter","LogoLOOP","Switch","Product","reportWebVitals","onPerfEntry","Function","then","getCLS","getFID","getFCP","getLCP","getTTFB","ReactDOM","StrictMode","getElementById"],"mappings":"2vOAAe,G,oBAAA,IAA0B,uC,yBCA1B,MAA0B,yCCA1B,MAA0B,wCCA1B,MAA0B,uC,OCIlC,SAASA,EAAQC,GACtB,OAAIA,EAAQ,GACH,CACLC,cAAe,MACfC,MACEC,cAAA,OACEC,IAAKC,EACLC,IAAI,mBACJC,UAAU,YACVC,MAAO,CAAEC,OAAQ,WAGrBC,YAAa,oCACbC,yBAA0B,uCAG1BX,GAAS,IAAMA,EAAQ,GAClB,CACLC,cAAe,KACfC,MACEC,cAAA,OACEC,IAAKQ,EACLN,IAAI,mBACJC,UAAU,YACVC,MAAO,CAAEC,OAAQ,WAGrBC,YAAa,qDACbC,yBAA0B,uCAG1BX,GAAS,IAAMA,EAAQ,GAClB,CACLC,cAAe,IACfC,MACEC,cAAA,OACEC,IAAKS,EACLP,IAAI,mBACJC,UAAU,YACVC,MAAO,CAAEC,OAAQ,WAGrBC,YAAa,iCACbC,yBAA0B,uCAG1BX,GAAS,IAAMA,EAAQ,GAClB,CACLC,cAAe,IACfC,MAAO,KACPQ,YAAa,6BACbC,yBAA0B,4CAG1BX,GAAS,GACJ,CACLC,cAAe,IACfC,MAAO,KACPQ,YAAa,8BACbC,yBAA0B,iDAL9B,CAQF,CC/De,MAAMG,UAAmBC,IAAMC,UAC5CC,KAAKjB,GACH,IAAIkB,EAAenB,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SAM1BX,G","file":"static/js/main.cb621026.chunk.js","sourcesContent":["export default __webpack_public_path__ + \"static/media/logo-loop.077a84a7.svg\";","export default __webpack_public_path__ + \"static/media/loop-eco-aaa.b115cc95.svg\";","export default __webpack_public_path__ + \"static/media/loop-eco-aa.414a7da2.svg\";","export default __webpack_public_path__ + \"static/media/loop-eco-a.e8832a69.svg\";","import LogoEcoAAA from \"../images/loop-eco-aaa.svg\";\r\nimport LogoEcoAA from \"../images/loop-eco-aa.svg\";\r\nimport LogoEcoA from \"../images/loop-eco-a.svg\";\r\n\r\nexport function getSeal(score) {\r\n if (score > 95) {\r\n return {\r\n certification: \"AAA\",\r\n image: (\r\n \r\n ),\r\n description: \"Alta capacidad de aprovechamiento\",\r\n descriptionCertification: \"Candidato a certificación ICIPC:\",\r\n };\r\n }\r\n if (score <= 95 && score > 90) {\r\n return {\r\n certification: \"AA\",\r\n image: (\r\n
\r\n ),\r\n description: \"Muy buen aprovechamiento con algunas restricciones\",\r\n descriptionCertification: \"Candidato a certificación ICIPC:\",\r\n };\r\n }\r\n if (score <= 90 && score > 70) {\r\n return {\r\n certification: \"A\",\r\n image: (\r\n
\r\n ),\r\n description: \"Aprovechable con restricciones\",\r\n descriptionCertification: \"Candidato a certificación ICIPC:\",\r\n };\r\n }\r\n if (score <= 70 && score > 50) {\r\n return {\r\n certification: \"B\",\r\n image: null,\r\n description: \"Moderadamente aprovechable\",\r\n descriptionCertification: \"No es candidato a certificación ICIPC\",\r\n };\r\n }\r\n if (score <= 50) {\r\n return {\r\n certification: \"C\",\r\n image: null,\r\n description: \"Mínimamente aprovechable\",\r\n descriptionCertification: \"No es candidato a certificación ICIPC\",\r\n };\r\n }\r\n}\r\n\r\nfunction calculateProductContainer(weightProductContainer) {\r\n if (weightProductContainer > 0.8) return 1;\r\n if (weightProductContainer <= 0.8 && weightProductContainer >= 0.4)\r\n return 0.9;\r\n if (weightProductContainer < 0.4 && weightProductContainer >= 0.2) return 0.7;\r\n if (weightProductContainer < 0.2 && weightProductContainer >= 0.1) return 0.5;\r\n if (weightProductContainer < 0.1) return 0;\r\n}\r\n\r\nexport function getScore(surveydata) {\r\n // Ecodiseno\r\n var weightProductContainer =\r\n surveydata.weightProductContainer != null\r\n ? surveydata.weightProductContainer / 100\r\n : 1;\r\n weightProductContainer = calculateProductContainer(weightProductContainer);\r\n var packageType = surveydata.packageType != null ? surveydata.packageType / 100 : 1;\r\n var adhesive = surveydata.adhesive != null ? surveydata.adhesive / 100 : 1;\r\n var coating = surveydata.coating != null ? surveydata.coating / 100 : 1;\r\n var recycleCompatibility =\r\n surveydata.recycleCompatibility != null\r\n ? surveydata.recycleCompatibility / 100\r\n : 1;\r\n var materialBarrier =\r\n surveydata.materialBarrier != null\r\n ? surveydata.materialBarrier !== \"null\"\r\n ? surveydata.materialBarrier / 100\r\n : 1\r\n : 1;\r\n var materialBarrierWeight =\r\n surveydata.materialBarrierWeight != null &&\r\n surveydata.materialBarrier === \"null\"\r\n ? surveydata.materialBarrierWeight / 100\r\n : 1;\r\n\r\n // EN 13430\r\n var route = surveydata.route != null ? surveydata.route / 100 : 1;\r\n var color = surveydata.color != null ? surveydata.color / 100 : 1;\r\n var noPlasticPercentage =\r\n surveydata.noPlasticPercentage != null\r\n ? (100 - surveydata.noPlasticPercentage) / 100\r\n : 1;\r\n var materialIdentification =\r\n surveydata.materialIdentification != null\r\n ? surveydata.materialIdentification / 100\r\n : 1;\r\n var materialPPPE =\r\n surveydata.materialPPPE != null\r\n ? surveydata.materialPPPE !== \"null\"\r\n ? surveydata.materialPPPE / 100\r\n : 1\r\n : 1;\r\n var materialFloat =\r\n surveydata.materialFloat != null && surveydata.materialPPPE === \"null\"\r\n ? surveydata.materialFloat / 100\r\n : 1;\r\n var materialUniquePlastic =\r\n surveydata.materialUniquePlastic != null\r\n ? surveydata.materialUniquePlastic / 100\r\n : 1;\r\n\r\n var materialContamination =\r\n surveydata.materialContamination != null\r\n ? surveydata.materialContamination / 100\r\n : 1;\r\n\r\n var scoreEcodiseno =\r\n weightProductContainer *\r\n packageType *\r\n adhesive *\r\n coating *\r\n recycleCompatibility *\r\n materialBarrier *\r\n materialBarrierWeight *\r\n 100;\r\n\r\n var score13430 =\r\n route *\r\n color *\r\n noPlasticPercentage *\r\n materialIdentification *\r\n materialPPPE *\r\n materialFloat *\r\n materialUniquePlastic *\r\n materialContamination *\r\n 100;\r\n var score = scoreEcodiseno * 0.4 + score13430 * 0.6;\r\n\r\n return {\r\n scoreEcodiseno: scoreEcodiseno,\r\n score13430: score13430,\r\n score: score,\r\n };\r\n}\r\n","import React from \"react\";\r\nimport { getSeal } from \"./Score.js\";\r\n\r\nexport default class ScoreFinal extends React.Component {\r\n seal(score) {\r\n let currentScore = getSeal(score);\r\n\r\n return (\r\n \r\n
{currentScore.description}
\r\n{this.props.description}
\r\n\r\n La autoevaluación de LOOP ICIPC solo es adecuada para productos:\r\n
\r\n\r\n Fabricados con componentes plásticos
\r\n No contiene plásticos bio/oxo degradables
\r\n Libre de sustancias peligrosas
\r\n
\r\n Los resultados de esta autoevaluación no comprometen al ICIPC\r\n ante la persona o entidad que genera la autoevaluación ni ante\r\n terceros.\r\n
\r\n\r\n Este es un servicio didáctico para orientación al público\r\n general. Para un análisis detallado,{\" \"}\r\n \r\n por favor contáctanos\r\n \r\n
\r\n{checkProduct}
\r\n \r\nProducto
\r\n\r\n Digite el nombre de la empresa certificada por el CPR del ICIPC\r\n
\r\n\r\n Los procesos certificados por el CPR del ICIPC tienen un código único. Por favor digite el código en el siguiente campo.\r\n
\r\n{certificateFound.loopCode}
\r\n