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-3BteO9vd.js
import{E as I,aj as k,aL as G,q as Q,r as J,bT as R,u as A,I as E,L as p,o as q,l as V}from"./index-hc8lvKav.js";const z="Nom de l'exercice",S="25/10/2021",U="24/10/2021";class W extends I{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 w=k([1],this.nbQuestions);let r,b,x,y,M,T;for(let l=0,g,c,a,i,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>"),i=G(a,"GPT"),g=`Construire le ${C} $${i}$.<br>`;let e,s,t,u;switch(w[l]){case 1:{e=Q(0,0,i.charAt(0),"below"),s=Q(5,J(-30,30)/10,i.charAt(1),"below");const o=R(e,s,a);t=o.listePoints[2],t.nom=i.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(o.listePoints[3].x,o.listePoints[3].y,i.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)),o.epaisseur=2;const B=A(e,s),F=E(e,s);r.push(B,F),b.push(h,m,o,P,D,d,f),x.push(h,m,o,P,D,d,f)}break}const v=Math.min(e.x,s.x,t.x,u.x)-2,L=Math.max(e.x,s.x,t.x,u.x)+2,N=Math.min(e.y,s.y,t.y,u.y)-2,$=Math.max(e.y,s.y,t.y,u.y)+2;y={xmin:v,ymin:N,xmax:L,ymax:$,pixelsParCm:20,scale:1},M={xmin:v,ymin:N,xmax:L,ymax:$,pixelsParCm:20,scale:1,mainlevee:!0,amplitude:1},T=y,g+=q(y,r)+q(M,b),c+=q(T,x),this.questionJamaisPosee(l,r)&&(this.listeQuestions.push(g),this.listeCorrections.push(c),l++),j++}V(this)}}export{U as dateDeModifImportante,S as dateDePublication,W as default,z as titre};
//# sourceMappingURL=betaModele31_parametrables-3BteO9vd.js.map