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/beta3F13-2-4SQbiolD.js
import{g as m}from"./courbes-lqVoJQXx.js";import{E as P,c as U,r as f,a as R,s as T,ai as E,bT as Q,q as y,R as B,o as A,l as X}from"./index-XCg2QAX4.js";import{r as G}from"./reperes-uV74d7Az.js";const L="Spécial escape game",N=!0,O="mathLive",$="be398",j="beta3F13-2";function F(o,b){let a="",r=65;for(let x=0;x<o.length;x++)r=o.charCodeAt(x)%65,r=(r+b)%26+65,a+=String.fromCharCode(r);return a}function H(o,b){const a=[];for(let r=0;r<o.length;r++)a.push(F(o[r],b));return a}function J(){P.call(this),this.titre=L,this.consigne="Trouver le mot de passe.",this.nbQuestions=1,U.isHtml?this.spacingCorr=1:this.spacingCorr=1.5,U.isHtml?this.spacing=1:this.spacing=2,this.nbCols=1,this.nbColsCorr=1,this.sup=1,this.pasDeVersionLatex=!1,this.nouvelleVersion=function(){const o=[],b=["BMDF","OGNQ","BUQP","BAUP","BXGE","BDUJ","MZSXQE","BDUEYQ","BMDFUQ","HMXQGD","OAGBXQ","PDAUFQ","DQXMFUAZ","BMDMNAXQ","MPPUFUAZ","QJBAEMZF","RAZOFUAZ","OAYBXQJQ"];let a=[];this.listeQuestions=[],this.listeCorrections=[];let r="",x="",u,h,g,M,l;for(let e=0;e<26;e++)a.push(String.fromCharCode(65+e));for(let e=0;e<5;e++)o.push(["*","*","*","*","*","*"]);const C=parseInt(this.sup),D=F(b[f(0,5)+(C-1)*6],14),s=[],t=[];let d;r+=R(this,0,"alphanumeric",{texteAvant:"Taper le mot de passe en majuscules : "}),x+=`Le mot de passe comporte ${2+2*C} lettres.`,T(this,0,D,{formatInteractif:"texte"});for(let e=0;e<C*2+2;e++)if(d=D[e],a=a.filter(i=>i!==d),e%2===0?s.push(f(0,2)):s.push(f(3,5)),e%2===0?t.push(f(0,4)):t.push(f(0,4,t[e-1])),o[t[e]][s[e]]==="*")o[t[e]][s[e]]=d;else if(o[t[e]][s[e]]!==d){for(let i=0;i<e;i++)s[i]===s[e]&&t[i]===t[e]&&(t[e]=(t[e]+1)%5,i=0);o[t[e]][s[e]]=d}for(let e=0;e<C*2+2;e++)s[e]++,t[e]++;a=E(a);for(let e=0;e<6;e++)for(let i=0;i<5;i++)o[i][e]==="*"&&a.length>0&&(o[i][e]=a.pop());const p=[0,0,0,0],c=[0,0,0,0],n=G({xMin:-1,yMin:-1,xMax:7,yMax:6,xUnite:2});for(let e=0;e<C*2+2;e+=2)t[e]>t[e+1]?(p[e/2]=-2.34+f(0,2),c[e/2]=8.17-f(0,2)):(c[e/2]=-2.34+f(0,2),p[e/2]=8.17-f(0,2));switch(C){case 1:l=Q(y(-1,-2),y(15,-2),4),l.couleurDeRemplissage=B("gray"),l.opacite=.2,u=m([[0,p[0]],[s[0],t[0]],[s[1],t[1]],[7,c[0]]],{repere:n,color:"black",step:.1}),h=m([[0,p[1]],[s[2],t[2]],[s[3],t[3]],[7,c[1]]],{repere:n,color:"white",step:.1}),u.epaisseur=2,h.epaisseur=2,r+=A({xmin:-1,ymin:-1,xmax:15,ymax:7,pixelsParCm:30},l,n,u,h)+"<br>";break;case 2:l=Q(y(-1,-2),y(15,-2),4),l.opacite=.2,l.couleurDeRemplissage=B("gray"),u=m([[0,p[0]],[s[0],t[0]],[s[1],t[1]],[7,c[0]]],{repere:n,color:"red",step:.1}),h=m([[0,p[1]],[s[2],t[2]],[s[3],t[3]],[7,c[1]]],{repere:n,color:"green",step:.1}),g=m([[0,p[2]],[s[4],t[4]],[s[5],t[5]],[7,c[2]]],{repere:n,color:"blue",step:.1}),u.epaisseur=2,h.epaisseur=2,g.pepaisseur=2,r+=A({xmin:-1,ymin:-1,xmax:15,ymax:7,pixelsParCm:30},l,n,u,h,g)+"<br>";break;case 3:l=Q(y(-1,-2),y(15,-2),4),l.opacite=.2,l.couleurDeRemplissage=B("gray"),u=m([[0,p[0]],[s[0],t[0]],[s[1],t[1]],[7,c[0]]],{repere:n,color:"cyan",step:.1}),h=m([[0,p[1]],[s[2],t[2]],[s[3],t[3]],[7,c[1]]],{repere:n,color:"yellow",step:.1}),g=m([[0,p[2]],[s[4],t[4]],[s[5],t[5]],[7,c[2]]],{repere:n,color:"magenta",step:.1}),M=m([[0,p[3]],[s[6],t[6]],[s[7],t[7]],[7,c[3]]],{repere:n,color:"black",step:.1}),u.epaisseur=2,h.epaisseur=2,g.pepaisseur=2,M.epaisseur=2,r+=A({xmin:-1,ymin:-1,xmax:15,ymax:7,pixelsParCm:30},l,n,u,h,g,M)+"<br>";break}r+="$\\begin{array}{|l|"+"c|".repeat(6)+`}
`,r+=`\\hline
`,r+=" ";for(let e=0;e<6;e++)r+=` & \\text{${e+1}}`;r+=`\\\\\\hline
`;for(let e=0;e<5;e++){r+=`\\text{${e+1}}`;for(let i=0;i<6;i++)r+="& "+o[e][i];r+=`\\\\\\hline
`}r+=`\\end{array}
$`,r+="<br>",this.listeQuestions.push(r),this.listeCorrections.push(x),X(this)},this.besoinFormulaireNumerique=["Catégorie",3,` 1 : Noir & Blanc
 2 : RGB
 3 : CJMN`]}export{F as cesar,H as codeCesar,J as default,N as interactifReady,O as interactifType,j as ref,L as titre,$ as uuid};
//# sourceMappingURL=beta3F13-2-4SQbiolD.js.map