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/betaModele31_parametrables-ZJ2QGOKJ.js
import{aj as I,aM as k,q as Q,r as G,bT as J,u as A,I as E,L as p,o as M,l as R}from"./index-XCg2QAX4.js";import{E as V}from"./Exercice-FKaS4mj7.js";const z="Nom de l'exercice",U="25/10/2021",W="24/10/2021";class X extends V{constructor(){super(),this.titre=z,this.consigne="consigne",this.nbQuestions=1,this.besoinFormulaireNumerique=["Figure à tracer",2,`1 : Carré
2 : Triangle`],this.sup=2,this.nbCols=1,this.nbColsCorr=1}nouvelleVersion(){this.listeQuestions=[],this.listeCorrections=[],this.autoCorrection=[];const L=I([1],this.nbQuestions);let r,b,x,y,q,T;for(let l=0,g,c,a,o,C,j=0;l<this.nbQuestions&&j<50;){r=[],b=[],x=[],this.sup===1?(a=4,C="carré",c="Pour cette construction on peut utiliser la règle et l'équerre.<br>"):this.sup===2&&(a=3,C="triangle équilatéral",c="Pour cette construction on peut utiliser la règle et le compas.<br>"),o=k(a,"GPT"),g=`Construire le ${C} $${o}$.<br>`;let e,s,t,u;switch(L[l]){case 1:{e=Q(0,0,o.charAt(0),"below"),s=Q(5,G(-30,30)/10,o.charAt(1),"below");const i=J(e,s,a);t=i.listePoints[2],t.nom=o.charAt(2),t.positionLabel="above";let h,m,n,P,D,d,f;a===3?(h=A(e,s,t),m=E(e,s,t)):(n=Q(i.listePoints[3].x,i.listePoints[3].y,o.charAt(3),"above"),P=p(s,e,n),D=p(e,s,t),d=p(s,t,n),f=p(t,n,e),h=A(e,s,t,n),m=E(e,s,t,n)),i.epaisseur=2;const B=A(e,s),F=E(e,s);r.push(B,F),b.push(h,m,i,P,D,d,f),x.push(h,m,i,P,D,d,f)}break}const v=Math.min(e.x,s.x,t.x,u.x)-2,N=Math.max(e.x,s.x,t.x,u.x)+2,$=Math.min(e.y,s.y,t.y,u.y)-2,w=Math.max(e.y,s.y,t.y,u.y)+2;y={xmin:v,ymin:$,xmax:N,ymax:w,pixelsParCm:20,scale:1},q={xmin:v,ymin:$,xmax:N,ymax:w,pixelsParCm:20,scale:1,mainlevee:!0,amplitude:1},T=y,g+=M(y,r)+M(q,b),c+=M(T,x),this.questionJamaisPosee(l,r)&&(this.listeQuestions.push(g),this.listeCorrections.push(c),l++),j++}R(this)}}export{W as dateDeModifImportante,U as dateDePublication,X as default,z as titre};
//# sourceMappingURL=betaModele31_parametrables-ZJ2QGOKJ.js.map