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/can5G03-cf-uF4mr.js
import{E as A,r as y,q as n,u as g,aF as H,aH as R,h as V,ai as w,c as q,o as E,I as T,a as D,s as L,l as M}from"./index-XCg2QAX4.js";import{p as O}from"./reperes-uV74d7Az.js";const G="Compter les points symétriques manquants",I="18/12/2021",J=!0,N="mathLive",S=!0,z="AMCNum",B="36f08",K="can5G03";function U(){A.call(this),this.nbQuestions=1,this.nbCols=1,this.nbColsCorr=1,this.sup=1,this.sup2=1,this.nouvelleVersion=function(){this.sup=y(1,2),this.listeQuestions=[],this.listeCorrections=[],this.autoCorrection=[];const m=[];let s;const t=[],o=[],l=[],P=["quad","quad","hexa","equi"];for(let a=0,j=0,f,Q,u,i,c,p,d,r,C,b;a<this.nbQuestions&&j<50;){P[0]=P[1+a%3],r=[],b=[],t.length=0,o.length=0,l.length=0,m.length=0,f=O({xmin:0,ymin:0,xmax:6,ymax:6,type:"quad"}),r.push(f);const h=n(3,3,"O");for(u=g(h,q.isHtml?"blue":"black"),u.epaisseur=2,u.style="+",u.color="none",r.push(u),s=f.listeCoords.slice();s.length>1;){for(Q=H(n(s[0][0],s[0][1]),h,180),i=1,c=!1;i<s.length&&!c;)R(Q,n(s[i][0],s[i][1]))<.5?c=!0:i++;c&&(m.push(V([!0,!1])?[s[0],s[i]]:[s[i],s[0]]),s.splice(i,1)),s.splice(0,1)}const v=y(4,7),x=w(m).splice(0,v);for(let e=0;e<x.length;e++)t.push(x[e][0],x[e][1]);C=y(1,3);for(let e=0;e<t.length;e+=2)e<C?(o.push(n(t[e][0],t[e][1])),o.push(n(t[e+1][0],t[e+1][1]))):(o.push(n(t[e][0],t[e][1])),l.push(n(t[e+1][0],t[e+1][1])));for(let e=0;e<o.length;e++)r.push(g(o[e]));for(let e=0;e<l.length;e++)b.push(g(l[e],"red"));p=q.isAmc?"Voici une grille contenant des points et un centre de symétrie.<br>Quel nombre minimum de points faut-il ajouter pour que chacun ait son symétrique ?<br>Écrire le nombre de points ajoutés dans le cadre. Coder ensuite ce nombre de points.<br>":"Voici une grille contenant des points et un centre de symétrie.<br>Quel nombre minimum de points faut-il ajouter pour que chacun ait son symétrique ?<br>",d="",p+=E({xmin:-.5,ymin:-.5,xmax:6.5,ymax:6.5,scale:.7},...r,T(h)),this.interactif&&q.isHtml&&(p+=D(this,a,"largeur10 inline")),d+=E({xmin:-.5,ymin:-.5,xmax:6.5,ymax:6.5,scale:.5},...r,...b,T(h)),L(this,a,l.length),this.questionJamaisPosee(a,v,C,t[0][0],t[0][1])&&(this.listeQuestions.push(p),this.listeCorrections.push(d),a++),j++}M(this)}}export{S as amcReady,z as amcType,I as dateDePublication,U as default,J as interactifReady,N as interactifType,K as ref,G as titre,B as uuid};
//# sourceMappingURL=can5G03-cf-uF4mr.js.map