HEX
Server: Apache
System: Linux vps.mmtprep.com 4.18.0-477.21.1.el8_8.x86_64 #1 SMP Thu Aug 10 13:51:50 EDT 2023 x86_64
User: mmtprep (1001)
PHP: 8.1.34
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home/mmtprep/public_html/mathzen.mmtprep.com/assets/5G20-1-2RG2GvMI.js.map
{"version":3,"file":"5G20-1-2RG2GvMI.js","sources":["../../src/exercices/5e/5G20-1.js"],"sourcesContent":["import { choice, combinaisonListes } from '../../lib/outils/arrayOutils'\nimport { lampeMessage } from '../../lib/format/message.js'\nimport { modalTexteLong } from '../../lib/outils/modales.js'\nimport { texNombre } from '../../lib/outils/texNombre'\nimport { Triangle } from '../../modules/Triangle.js'\nimport Exercice from '../deprecatedExercice.js'\nimport { context } from '../../modules/context.js'\nimport { listeQuestionsToContenu, randint, calculANePlusJamaisUtiliser, texEnumerateSansNumero } from '../../modules/outils.js'\nimport { texteEnCouleurEtGras } from '../../lib/outils/embellissements'\nexport const dateDeModifImportante = '25/07/2023'\nexport const titre = 'Use triangle vocabulary'\n\n/**\n * Vocabulaire des triangles\n * 6G20-2 ; 5G20-1\n * @author Sébastien Lozano\n */\nexport const uuid = 'c3781'\nexport const ref = '5G20-1'\nexport default function VocabulaireDesTriangles () {\n  Exercice.call(this) // Héritage de la classe Exercice()\n  this.consigne = 'Give the nature of the triangles by justifying.'\n  this.sup = 1\n  this.sup2 = false\n  this.nbCols = 1\n  this.nbColsCorr = 1\n  if (this.classe === 6) {\n    if (this.sup === 1) {\n      this.nbQuestions = 4\n    } else {\n      this.nbQuestions = 5\n    }\n  } else if (this.classe === 5) {\n    this.nbQuestions = 5\n  }\n  this.classe = 5\n\n  this.listePackages = 'bclogo'\n\n  let typeDeQuestionsDisponibles\n\n  this.nouvelleVersion = function (numeroExercice) {\n    let texteIntro = ''\n    // eslint-disable-next-line no-undef\n    if (context.isHtml) {\n      if (this.classe === 6) {\n        texteIntro += '- A <b>any triangle</b> is a triangle that has no particular relationship between its angles or its sides.'\n        texteIntro += '<br>'\n        texteIntro += '- An <b>isosceles triangle</b> is a triangle that has two sides of the same length.'\n        texteIntro += '<br>'\n        texteIntro += '- An <b>equilateral triangle</b> is a triangle that has three sides of equal length.'\n        texteIntro += '<br>'\n        texteIntro += '- A <b>right triangle</b> is a triangle that has a right angle.'\n      } else if (this.classe === 5) {\n        texteIntro += '- A <b>any triangle</b> is a triangle that has no particular relationship between its angles or its sides.'\n        texteIntro += '<br>'\n        texteIntro += '- An <b>isosceles triangle</b> is a triangle that has two sides or two angles of the same measure.'\n        texteIntro += '<br>'\n        texteIntro += '- An <b>equilateral triangle</b> is a triangle that has three sides or three angles of equal measure.'\n        texteIntro += '<br>'\n        texteIntro += '- A <b>right triangle</b> is a triangle that has a right angle.'\n      }\n      this.boutonAide = modalTexteLong(\n        numeroExercice,\n        '<i class=\"info circle icon\"></i> Some definitions',\n        texteIntro,\n        'Help',\n        'info circle'\n      )\n    } else {\n      if (this.classe === 6) {\n        texteIntro = texEnumerateSansNumero(\n          [\n            '- A \\\\textbf{any triangle} is a triangle that has no particular relationship between its angles or its sides.',\n            '- An \\\\textbf{isosceles triangle} is a triangle that has two sides of the same length.',\n            '- An \\\\textbf{equilateral triangle} is a triangle that has three sides of equal length.',\n            '- A \\\\textbf{right triangle} is a triangle that has a right angle.'\n          ],\n          1\n        )\n      } else if (this.classe === 5) {\n        texteIntro = texEnumerateSansNumero(\n          [\n            '- A \\\\textbf{any triangle} is a triangle that has no particular relationship between its angles or its sides.',\n            '- An \\\\textbf{isosceles triangle} is a triangle that has two sides or two angles of the same measure.',\n            '- An \\\\textbf{equilateral triangle} is a triangle that has three sides or three angles of equal measure.',\n            '- A \\\\textbf{right triangle} is a triangle that has a right angle.'\n          ],\n          1\n        )\n      }\n\n      this.introduction = lampeMessage({\n        titre: 'Some definitions',\n        texte: texteIntro,\n        couleur: 'numbers'\n      })\n    }\n\n    if (this.classe === 6) {\n      if (this.sup === 1) {\n        typeDeQuestionsDisponibles = [1, 3, 5, 7] // 6e facile isocèle, équilatéral et rectangle.\n      } else if (this.sup === 2) {\n        // AvailableQuestionTypes = [1,3,4,5,6,7,8,9]; //6th everything except by the angles\n        typeDeQuestionsDisponibles = [1, 4, 6, 8, 9] // 6e les autres cas sauf par les angles\n      }\n    } else if (this.classe === 5) {\n      // AvailableQuestionTypes = [1,2,3,4,5,6,7,8,9,10,11]; // 5th: we add the characterization by the angles\n      typeDeQuestionsDisponibles = [\n        choice([1, 2]),\n        choice([3, 4, 10]),\n        choice([5, 6, 11]),\n        7,\n        choice([8, 9])\n      ] // 5e : tout sauf les basiques de 6e, on ajoute la caractéisation par les angles\n    }\n    const listeTypeDeQuestions = combinaisonListes(\n      typeDeQuestionsDisponibles,\n      this.nbQuestions\n    ) // Tous les types de questions sont posées mais l'ordre diffère à chaque 'cycle'\n\n    // let listTypeDeQuestions = typesDeQuestionsAvailables // All types of questions are asked --> to submit as above\n    this.listeQuestions = [] // Liste de questions\n    this.listeCorrections = [] // Liste de questions corrigées\n    this.autoCorrection = []\n    for (let i = 0, texte, texteCorr, l1, l2, l3, a1, a2, a3, cpt = 0; i < this.nbQuestions && cpt < 50;) {\n      // we set min and max length in cm\n      const longueurMin = 2\n      const longueurMax = 20\n      // we set min and max angle in degrees\n      const angleMin = 30\n      const angleMax = 100\n\n      // we create the triangles\n      const triangleQuelconque = new Triangle()\n      const triangleIsocele = new Triangle()\n      const triangleEquilateral = new Triangle()\n      const triangleRectangle = new Triangle()\n      const triangleIsoceleRectangle = new Triangle()\n      let partieDecimale1, partieDecimale2, partieDecimale3\n      if (this.sup2) {\n        partieDecimale1 = calculANePlusJamaisUtiliser(randint(1, 9) / 10 * randint(0, 1))\n        partieDecimale2 = calculANePlusJamaisUtiliser(randint(1, 9) / 10 * randint(0, 1))\n        partieDecimale3 = calculANePlusJamaisUtiliser(randint(1, 9) / 10 * randint(0, 1))\n      } else {\n        partieDecimale1 = 0\n        partieDecimale2 = 0\n        partieDecimale3 = 0\n      }\n      switch (listeTypeDeQuestions[i]) {\n        case 1: // triangle quelconque par les longueurs sans conversion\n          while (!triangleQuelconque.isTrueTriangleLongueurs()) {\n            l1 = randint(longueurMin, longueurMax)\n            l2 = randint(longueurMin, longueurMax, l1)\n            l3 = randint(longueurMin, longueurMax, [l1, l2])\n            triangleQuelconque.l1 = l1 + partieDecimale1\n            triangleQuelconque.l2 = l2 + partieDecimale2\n            triangleQuelconque.l3 = l3 + partieDecimale3\n          }\n\n          texte = `${triangleQuelconque.getNom()} is a triangle such that ${triangleQuelconque.getLongueurs()[0]} $= ${texNombre(triangleQuelconque.l1)}$ cm;`\n          texte += `${triangleQuelconque.getLongueurs()[1]} $= ${texNombre(triangleQuelconque.l2)}$ cm and ${triangleQuelconque.getLongueurs()[2]} $= ${texNombre(triangleQuelconque.l3)}$ cm.`\n          texteCorr = `The 3 sides of triangle ${triangleQuelconque.getNom()} are different and we have no information about the angles so ${triangleQuelconque.getNom()} is a triangle ${texteEnCouleurEtGras('any')}.`\n          break\n        case 2: // triangle quelconque par les angles\n          while (!triangleQuelconque.isTrueTriangleAngles()) {\n            a1 = randint(angleMin, angleMax)\n            a2 = randint(angleMin, angleMax, a1)\n            a3 = randint(angleMin, angleMax, [a1, a2])\n            triangleQuelconque.a1 = a1\n            triangleQuelconque.a2 = a2\n            triangleQuelconque.a3 = a3\n          }\n\n          texte = `${triangleQuelconque.getNom()} is a triangle such that ${triangleQuelconque.getAngles()[0]} $= ${triangleQuelconque.a1}\\\\degree$;`\n          texte += ` ${triangleQuelconque.getAngles()[1]} $= ${triangleQuelconque.a2}\\\\degree$ and ${triangleQuelconque.getAngles()[2]} $= ${triangleQuelconque.a3}\\\\degree$ .`\n          texteCorr = `The 3 angles of triangle ${triangleQuelconque.getNom()} are different so ${triangleQuelconque.getNom()} is a triangle ${texteEnCouleurEtGras('any')}.`\n          break\n\n        case 3: // triangle isocèle sans conversion\n          while (!triangleIsocele.isTrueTriangleLongueurs()) {\n            l1 = randint(longueurMin, longueurMax)\n            l2 = randint(longueurMin, longueurMax, l1)\n            triangleIsocele.l1 = l1 + partieDecimale1\n            triangleIsocele.l2 = l1 + partieDecimale1\n            triangleIsocele.l3 = l2 + partieDecimale2\n          }\n          texte = `${triangleIsocele.getNom()} is a triangle such that ${triangleIsocele.getLongueurs()[0]} $= ${texNombre(triangleIsocele.l1)}$ cm;`\n          texte += `${triangleIsocele.getLongueurs()[1]} $= ${texNombre(triangleIsocele.l2)}$ cm and ${triangleIsocele.getLongueurs()[2]} $= ${texNombre(triangleIsocele.l3)}$ cm.`\n          texteCorr = `The lengths of the sides ${triangleIsocele.getCotes()[0]} and ${triangleIsocele.getCotes()[1]} of the triangle ${triangleIsocele.getNom()} are both $${texNombre(triangleIsocele.l1)}$ cm so ${triangleIsocele.getNom()} is a triangle ${texteEnCouleurEtGras('isosceles')} in ${triangleIsocele.getSommets()[1]}.`\n          break\n        case 4: // triangle isocèle avec conversion\n          while (!triangleIsocele.isTrueTriangleLongueurs()) {\n            l1 = randint(longueurMin, longueurMax)\n            l2 = randint(longueurMin, longueurMax, l1)\n            triangleIsocele.l1 = l1 + partieDecimale1\n            triangleIsocele.l2 = l1 + partieDecimale1\n            triangleIsocele.l3 = l2 + partieDecimale2\n          }\n          texte = `${triangleIsocele.getNom()} is a triangle such that ${triangleIsocele.getLongueurs()[0]} $= ${triangleIsocele.l1 * 10}$ mm;`\n          texte += `${triangleIsocele.getLongueurs()[1]} $= ${texNombre(triangleIsocele.l2)}$ cm and ${triangleIsocele.getLongueurs()[2]} $= ${texNombre(triangleIsocele.l3)}$ cm.`\n          texteCorr = `${triangleIsocele.getLongueurs()[0]} $= ${texNombre(triangleIsocele.l1 * 10)}$ mm $= ${texNombre(triangleIsocele.l1)}$ cm = ${triangleIsocele.getLongueurs()[1]}, ${triangleIsocele.getNom()} therefore has two equal sides, it is a triangle ${texteEnCouleurEtGras('isosceles')} in ${triangleIsocele.getSommets()[1]}.`\n          break\n        case 5: // triangle équilatéral sans conversion\n          while (!triangleEquilateral.isTrueTriangleLongueurs()) {\n            l1 = randint(longueurMin, longueurMax)\n            triangleEquilateral.l1 = l1 + partieDecimale1\n            triangleEquilateral.l2 = l1 + partieDecimale1\n            triangleEquilateral.l3 = l1 + partieDecimale1\n          }\n          texte = `${triangleEquilateral.getNom()} is a triangle such that ${triangleEquilateral.getLongueurs()[0]} $= ${texNombre(triangleEquilateral.l1)}$ cm;`\n          texte += `${triangleEquilateral.getLongueurs()[1]} $= ${texNombre(triangleEquilateral.l2)}$ cm and ${triangleEquilateral.getLongueurs()[2]} $= ${texNombre(triangleEquilateral.l3)}$ cm.`\n          texteCorr = `The lengths of the three sides of the triangle ${triangleEquilateral.getNom()} are equal so it is a triangle ${texteEnCouleurEtGras('equilateral')}.`\n          break\n        case 6: // triangle équilatéral avec conversion\n          while (!triangleEquilateral.isTrueTriangleLongueurs()) {\n            l1 = randint(longueurMin, longueurMax)\n            triangleEquilateral.l1 = l1 + partieDecimale1\n            triangleEquilateral.l2 = l1 + partieDecimale1\n            triangleEquilateral.l3 = l1 + partieDecimale1\n          }\n          texte = `${triangleEquilateral.getNom()} is a triangle such that ${triangleEquilateral.getLongueurs()[0]} $= ${texNombre(triangleEquilateral.l1)}$ cm;`\n          texte += `${triangleEquilateral.getLongueurs()[1]} $= ${texNombre(triangleEquilateral.l2 * 10)}$ mm and ${triangleEquilateral.getLongueurs()[2]} $= ${texNombre(triangleEquilateral.l3 / 10)}$ dm.`\n          texteCorr = `${triangleEquilateral.getLongueurs()[1]} $= ${texNombre(triangleEquilateral.l2 * 10)}$ mm $= ${triangleEquilateral.l2}$ cm.`\n          texteCorr += `<br> ${triangleEquilateral.getLongueurs()[2]} $= ${texNombre(triangleEquilateral.l3 / 10)}$ dm $= ${texNombre(triangleEquilateral.l3)}$ cm.`\n          texteCorr += `<br> ${triangleEquilateral.getLongueurs()[0]} $= ${texNombre(triangleEquilateral.l1)}$ cm.`\n          texteCorr += `<br> The lengths of the three sides of the triangle ${triangleEquilateral.getNom()} are equal so it is a triangle ${texteEnCouleurEtGras('equilateral')}.`\n          break\n        case 7: // triangle rectangle pas de conversion nécessaire\n          l1 = randint(longueurMin, longueurMax)\n          triangleRectangle.l1 = l1 + partieDecimale1\n          triangleRectangle.l2 = randint(longueurMin, longueurMax, l1) + partieDecimale2\n          triangleRectangle.a1 = 90\n\n          texte = `${triangleRectangle.getNom()} is a triangle such that ${triangleRectangle.getLongueurs()[0]} $= ${texNombre(triangleRectangle.l1)}$ cm;`\n          texte += `${triangleRectangle.getLongueurs()[1]} $= ${texNombre(triangleRectangle.l2)}$ cm`\n          texte += 'And'\n          if (this.classe === 6) {\n            texte += ` which has a right angle in ${triangleRectangle.getSommets()[1]}.`\n            texteCorr = `The triangle ${triangleRectangle.getNom()} has a right angle in ${triangleRectangle.getSommets()[1]} so ${triangleRectangle.getNom()} is ${texteEnCouleurEtGras('rectangle')} in ${triangleRectangle.getSommets()[1]}.`\n          } else {\n            texte += `${triangleRectangle.getAngles()[0]} $= ${triangleRectangle.a1}\\\\degree$.`\n            texteCorr = `The angle ${triangleRectangle.getAngles()[0]} of the triangle ${triangleRectangle.getNom()} is a right angle so ${triangleRectangle.getNom()} is ${texteEnCouleurEtGras('rectangle')} in ${triangleRectangle.getSommets()[1]}.`\n          }\n\n          break\n        case 8: // triangle isocèle rectangle sans conversion\n          l1 = randint(longueurMin, longueurMax)\n          triangleIsoceleRectangle.l1 = l1 + partieDecimale1\n          triangleIsoceleRectangle.l2 = triangleIsoceleRectangle.l1\n          triangleIsoceleRectangle.a1 = 90\n\n          texte = `${triangleIsoceleRectangle.getNom()} is a triangle such that ${triangleIsoceleRectangle.getLongueurs()[0]}$= ${texNombre(triangleIsoceleRectangle.l1)}$ cm;`\n          texte += `${triangleIsoceleRectangle.getLongueurs()[1]} $= ${texNombre(triangleIsoceleRectangle.l2)}$ cm`\n          texte += 'And'\n          if (this.classe === 6) {\n            texte += `which has a right angle in ${triangleIsoceleRectangle.getSommets()[1]}.`\n            texteCorr = `The triangle ${triangleIsoceleRectangle.getNom()} has a right angle in ${triangleIsoceleRectangle.getSommets()[1]} so ${triangleIsoceleRectangle.getNom()} is right angle in ${triangleIsoceleRectangle.getSommets()[1]}.`\n            texteCorr += `<br> ${triangleIsoceleRectangle.getLongueurs()[0]} $=$ ${triangleIsoceleRectangle.getLongueurs()[1]} $= ${texNombre(triangleIsoceleRectangle.l1)}$ cm so ${triangleIsoceleRectangle.getNom()} is isosceles in ${triangleIsoceleRectangle.getSommets()[1]}.`\n            texteCorr += `<br> The triangle ${triangleIsoceleRectangle.getNom()} is therefore ${texteEnCouleurEtGras('isosceles')} and ${texteEnCouleurEtGras('rectangle')} in ${triangleIsoceleRectangle.getSommets()[1]}.`\n          } else {\n            texte += `${triangleIsoceleRectangle.getAngles()[0]} $= ${triangleIsoceleRectangle.a1}\\\\degree$.`\n            texteCorr = `The angle ${triangleIsoceleRectangle.getAngles()[0]} of the triangle ${triangleIsoceleRectangle.getNom()} is a right angle so ${triangleIsoceleRectangle.getNom()} is a rectangle in ${triangleIsoceleRectangle.getSommets()[1]}.`\n            texteCorr += `<br> ${triangleIsoceleRectangle.getLongueurs()[0]} $=$ ${triangleIsoceleRectangle.getLongueurs()[1]} $= ${triangleIsoceleRectangle.l1}$ cm so ${triangleIsoceleRectangle.getNom()} is isosceles in ${triangleIsoceleRectangle.getSommets()[1]}.`\n            texteCorr += `<br> The triangle ${triangleIsoceleRectangle.getNom()} is therefore ${texteEnCouleurEtGras('isosceles')} and ${texteEnCouleurEtGras('rectangle')} in ${triangleIsoceleRectangle.getSommets()[1]}.`\n          }\n          break\n        case 9: // triangle isocèle rectangle avec conversion\n          triangleIsoceleRectangle.l1 = randint(longueurMin, longueurMax) + partieDecimale1\n          triangleIsoceleRectangle.l2 = triangleIsoceleRectangle.l1\n          triangleIsoceleRectangle.a1 = 90\n\n          texte = `${triangleIsoceleRectangle.getNom()} is a triangle such that ${triangleIsoceleRectangle.getLongueurs()[0]} $= ${texNombre(triangleIsoceleRectangle.l1 * 10)}$ mm;`\n          texte += `${triangleIsoceleRectangle.getLongueurs()[1]} $= ${texNombre(triangleIsoceleRectangle.l2)}$ cm`\n          texte += ' And'\n          if (this.classe === 6) {\n            texte += `which has a right angle in ${triangleIsoceleRectangle.getSommets()[1]}.`\n            texteCorr = `The triangle ${triangleIsoceleRectangle.getNom()} has a right angle in ${triangleIsoceleRectangle.getSommets()[1]} so ${triangleIsoceleRectangle.getNom()} is right angle in ${triangleIsoceleRectangle.getSommets()[1]}.`\n            texteCorr += `<br> ${triangleIsoceleRectangle.getLongueurs()[0]} $= ${triangleIsoceleRectangle.l1 * 10}$ mm $= ${texNombre(triangleIsoceleRectangle.l1)}$ cm =${triangleIsoceleRectangle.getLongueurs()[1]} therefore ${triangleIsoceleRectangle.getNom()} is isosceles in ${triangleIsoceleRectangle.getSommets()[1]}.`\n            texteCorr += `<br> The triangle ${triangleIsoceleRectangle.getNom()} is therefore ${texteEnCouleurEtGras('isosceles')} and ${texteEnCouleurEtGras('rectangle')} in ${triangleIsoceleRectangle.getSommets()[1]}.`\n          } else {\n            texte += `${triangleIsoceleRectangle.getAngles()[0]} $= ${triangleIsoceleRectangle.a1}\\\\degree$.`\n            texteCorr = `The angle ${triangleIsoceleRectangle.getAngles()[0]} of the triangle ${triangleIsoceleRectangle.getNom()} is a right angle so ${triangleIsoceleRectangle.getNom()} is a rectangle in ${triangleIsoceleRectangle.getSommets()[1]}.`\n            texteCorr += `<br> ${triangleIsoceleRectangle.getLongueurs()[0]} $= ${texNombre(triangleIsoceleRectangle.l1 * 10)}$ mm $= ${texNombre(triangleIsoceleRectangle.l1)}$ cm =${triangleIsoceleRectangle.getLongueurs()[1]} therefore ${triangleIsoceleRectangle.getNom()} is isosceles in ${triangleIsoceleRectangle.getSommets()[1]}.`\n            texteCorr += `<br> The triangle ${triangleIsoceleRectangle.getNom()} is therefore ${texteEnCouleurEtGras('isosceles')} and ${texteEnCouleurEtGras('rectangle')} in ${triangleIsoceleRectangle.getSommets()[1]}.`\n          }\n          break\n        case 10: // triangle isocèle par les angles\n          a3 = -1\n          while (a3 < 0) {\n            triangleIsocele.a1 = randint(angleMin, angleMax)\n            triangleIsocele.a2 = triangleIsocele.a1\n            a3 = 180 - 2 * triangleIsocele.a1\n            triangleIsocele.a3 = a3\n          }\n          texte = `${triangleIsocele.getNom()} is a triangle such that ${triangleIsocele.getAngles()[0]} $= ${triangleIsocele.a1}\\\\degree$;`\n          texte += ` ${triangleIsocele.getAngles()[1]} $= ${triangleIsocele.a2}\\\\degree$ and ${triangleIsocele.getAngles()[2]} $= ${triangleIsocele.a3}\\\\degree$ .`\n          texteCorr = `Triangle ${triangleIsocele.getNom()} has two equal angles, ${triangleIsocele.getAngles()[0]} = ${triangleIsocele.getAngles()[1]} $= ${triangleIsocele.a1}\\\\degree$ so ${triangleIsocele.getNom()} is a triangle ${texteEnCouleurEtGras('isosceles')} in ${triangleIsocele.getSommets()[0]}.`\n          break\n        case 11: // triangle équilatéral par les angles\n          triangleEquilateral.a1 = 60\n          triangleEquilateral.a2 = 60\n          triangleEquilateral.a3 = 60\n\n          texte = `${triangleEquilateral.getNom()} is a triangle such that ${triangleEquilateral.getAngles()[0]} $= ${triangleEquilateral.a1}\\\\degree$;`\n          texte += ` ${triangleEquilateral.getAngles()[1]} $= ${triangleEquilateral.a2}\\\\degree$ and ${triangleEquilateral.getAngles()[2]} $= ${triangleEquilateral.a3}\\\\degree$.`\n          texteCorr = `The triangle ${triangleEquilateral.getNom()} has three equal angles, ${triangleEquilateral.getAngles()[0]} = ${triangleEquilateral.getAngles()[1]} = ${triangleEquilateral.getAngles()[2]} $= ${triangleEquilateral.a1}\\\\degree$ so ${triangleEquilateral.getNom()} is a triangle ${texteEnCouleurEtGras('equilateral')}.`\n          break\n      }\n      if (this.listeQuestions.indexOf(texte) === -1) {\n        // If the question has never been asked, we create another one\n        this.listeQuestions.push(texte)\n        this.listeCorrections.push(texteCorr)\n        i++\n      }\n      cpt++\n    }\n    listeQuestionsToContenu(this)\n  }\n  if (this.classe === 6) { this.besoinFormulaireNumerique = ['Difficulty level', 2, '1: Without length conversion\\n2: With length conversions'] }\n  this.besoinFormulaire2CaseACocher = ['With decimals', false]\n}\n"],"names":["dateDeModifImportante","titre","uuid","ref","VocabulaireDesTriangles","Exercice","typeDeQuestionsDisponibles","numeroExercice","texteIntro","context","modalTexteLong","texEnumerateSansNumero","lampeMessage","choice","listeTypeDeQuestions","combinaisonListes","i","texte","texteCorr","l1","l2","l3","a1","a2","a3","cpt","triangleQuelconque","Triangle","triangleIsocele","triangleEquilateral","triangleRectangle","triangleIsoceleRectangle","partieDecimale1","partieDecimale2","partieDecimale3","calculANePlusJamaisUtiliser","randint","texNombre","texteEnCouleurEtGras","listeQuestionsToContenu"],"mappings":"qOASY,MAACA,EAAwB,aACxBC,EAAQ,0BAORC,EAAO,QACPC,EAAM,SACJ,SAASC,GAA2B,CACjDC,EAAS,KAAK,IAAI,EAClB,KAAK,SAAW,kDAChB,KAAK,IAAM,EACX,KAAK,KAAO,GACZ,KAAK,OAAS,EACd,KAAK,WAAa,EACd,KAAK,SAAW,EACd,KAAK,MAAQ,EACf,KAAK,YAAc,EAEnB,KAAK,YAAc,EAEZ,KAAK,SAAW,IACzB,KAAK,YAAc,GAErB,KAAK,OAAS,EAEd,KAAK,cAAgB,SAErB,IAAIC,EAEJ,KAAK,gBAAkB,SAAUC,EAAgB,CAC/C,IAAIC,EAAa,GAEbC,EAAQ,QACN,KAAK,SAAW,GAClBD,GAAc,6GACdA,GAAc,OACdA,GAAc,sFACdA,GAAc,OACdA,GAAc,uFACdA,GAAc,OACdA,GAAc,mEACL,KAAK,SAAW,IACzBA,GAAc,6GACdA,GAAc,OACdA,GAAc,qGACdA,GAAc,OACdA,GAAc,wGACdA,GAAc,OACdA,GAAc,mEAEhB,KAAK,WAAaE,EAChBH,EACA,oDACAC,EACA,OACA,aACD,IAEG,KAAK,SAAW,EAClBA,EAAaG,EACX,CACE,gHACA,yFACA,0FACA,oEACD,EACD,C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