1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,52683,e=>{"use strict";var t=e.i(43476),n=e.i(932),a=e.i(71645),r=e.i(12759),s=e.i(87577);function i(e,t=!1){return{name:"",type:"file",content:e,executable:t}}function o(e){let t={name:"",type:"directory",children:{}};for(let[n,a]of Object.entries(e))t.children[n]={...a,name:n};return t}function l(e,t,n){let a;a=n.startsWith("/")?n.split("/").filter(Boolean):[...t.split("/").filter(Boolean),...n.split("/").filter(Boolean)];let r=[];for(let e of a)"."!==e&&(".."===e?r.pop():r.push(e));return"/"+r.join("/")}function c(e,t){if("/"===t||""===t)return e;let n=t.split("/").filter(Boolean),a=e;for(let e of n){if("directory"!==a.type||!a.children?.[e])return null;a=a.children[e]}return a}function u(e,t){let n=t.split("/").filter(Boolean);if(0===n.length)return null;let a=n.pop(),r=c(e,"/"+n.join("/"));return r&&"directory"===r.type?{parent:r,name:a}:null}let d=new Map,p=new Map;function m(e){d.set(e.name,e)}function h(e,t){p.set(e,t)}function f(){return Array.from(d.values())}let y={name:"ls",description:"Lister le contenu d'un répertoire",usage:"ls [chemin]",execute(e,t){let n=e[0]||t.cwd,a=l(t.fs,t.cwd,n),r=c(t.fs,a);if(!r)return void t.addLine({type:"error",content:`ls: ${n}: Aucun fichier ou dossier de ce type`});if("file"===r.type)return void t.addLine({type:"output",content:n});let s=Object.entries(r.children||{});if(0===s.length)return;let i=e.includes("-a")||e.includes("-la"),o=e.includes("-l")||e.includes("-la"),u=[];for(let[e,t]of(i&&u.push(".",".."),s))if(!(!i&&e.startsWith(".")))if(o){let n="directory"===t.type?"d":"-",a=t.executable?"x":"-",r=t.content?t.content.length.toString().padStart(6):" 4096";u.push(`${n}rwxr-${a}r-${a} 1 user sylphe ${r} Mar 10 2026 ${e}${"directory"===t.type?"/":""}`)}else u.push("directory"===t.type?`${e}/`:e);if(o)for(let e of(t.addLine({type:"output",content:`total ${s.length}`}),u))t.addLine({type:"output",content:e});else t.addLine({type:"output",content:u.join(" ")})}},L={name:"cd",description:"Changer de répertoire",usage:"cd [chemin]",execute(e,t){let n=e[0]||"/home/user",a=l(t.fs,t.cwd,n),r=c(t.fs,a);r?"directory"!==r.type?t.addLine({type:"error",content:`cd: ${n}: N'est pas un dossier`}):t.setCwd(a):t.addLine({type:"error",content:`cd: ${n}: Aucun fichier ou dossier de ce type`})}},g={name:"pwd",description:"Afficher le répertoire courant",usage:"pwd",execute(e,t){t.addLine({type:"output",content:t.cwd})}},x={name:"tree",description:"Afficher l'arborescence des fichiers",usage:"tree [chemin]",execute(e,t){let n=e[0]||t.cwd,a=l(t.fs,t.cwd,n),r=c(t.fs,a);if(!r)return void t.addLine({type:"error",content:`tree: ${n}: Aucun fichier ou dossier de ce type`});if("file"===r.type)return void t.addLine({type:"output",content:n});t.addLine({type:"output",content:a});let s=0,i=0;!function e(n,a){if(!n||!n.children)return;let r=Object.entries(n.children);r.forEach(([n,o],l)=>{let c=l===r.length-1,u="directory"===o.type?"/":"";t.addLine({type:"output",content:`${a}${c?"âââ ":"âââ "}${n}${u}`}),"directory"===o.type?(s++,e(o,a+(c?" ":"â "))):i++})}(r,""),t.addLine({type:"output",content:""}),t.addLine({type:"system",content:`${s} r\xe9pertoires, ${i} fichiers`})}},_={name:"find",description:"Rechercher des fichiers par nom",usage:"find <motif>",execute(e,t){if(0===e.length)return void t.addLine({type:"error",content:"find: argument manquant"});let n=e[0].toLowerCase(),a=[];if(!function e(t,r){if("directory"===t.type&&t.children)for(let[s,i]of Object.entries(t.children)){let t="/"===r?`/${s}`:`${r}/${s}`;s.toLowerCase().includes(n)&&a.push(t),"directory"===i.type&&e(i,t)}}(t.fs,""),0===a.length)t.addLine({type:"output",content:`Aucun r\xe9sultat pour '${e[0]}'`});else{for(let e of a)t.addLine({type:"output",content:e});t.addLine({type:"system",content:`${a.length} r\xe9sultat(s) trouv\xe9(s)`})}}},I={name:"grep",description:"Rechercher du texte dans un fichier",usage:"grep <motif> <fichier>",execute(e,t){if(e.length<2)return void t.addLine({type:"error",content:"grep: usage: grep <motif> <fichier>"});let n=e[0].toLowerCase(),a=l(t.fs,t.cwd,e[1]),r=c(t.fs,a);if(!r)return void t.addLine({type:"error",content:`grep: ${e[1]}: Aucun fichier de ce type`});if("directory"===r.type)return void t.addLine({type:"error",content:`grep: ${e[1]}: Est un dossier`});let s=(r.content||"").split("\n"),i=0;for(let e=0;e<s.length;e++)s[e].toLowerCase().includes(n)&&(t.addLine({type:"output",content:`${e+1}: ${s[e]}`}),i++);0===i&&t.addLine({type:"output",content:`Aucune correspondance pour '${e[0]}'`})}},b={name:"cat",description:"Afficher le contenu d'un fichier",usage:"cat <fichier>",execute(e,t){if(0===e.length)return void t.addLine({type:"error",content:"cat: argument manquant"});let n=l(t.fs,t.cwd,e[0]),a=c(t.fs,n);if(!a)return void t.addLine({type:"error",content:`cat: ${e[0]}: Aucun fichier ou dossier de ce type`});if("directory"===a.type)return void t.addLine({type:"error",content:`cat: ${e[0]}: Est un dossier`});for(let e of(a.content||"").split("\n"))t.addLine({type:"output",content:e})}},N={name:"touch",description:"Créer un fichier vide",usage:"touch <fichier>",execute(e,t){if(0===e.length)return void t.addLine({type:"error",content:"touch: argument manquant"});let n=l(t.fs,t.cwd,e[0]),a=u(t.fs,n);a?a.parent.children[a.name]||(a.parent.children[a.name]={name:a.name,type:"file",content:""}):t.addLine({type:"error",content:`touch: impossible de cr\xe9er '${e[0]}'`})}},E={name:"mkdir",description:"Créer un répertoire",usage:"mkdir <répertoire>",execute(e,t){if(0===e.length)return void t.addLine({type:"error",content:"mkdir: argument manquant"});let n=l(t.fs,t.cwd,e[0]),a=u(t.fs,n);a?a.parent.children[a.name]?t.addLine({type:"error",content:`mkdir: ${e[0]}: Le fichier existe d\xe9j\xe0`}):a.parent.children[a.name]={name:a.name,type:"directory",children:{}}:t.addLine({type:"error",content:`mkdir: impossible de cr\xe9er '${e[0]}'`})}},v={name:"rm",description:"Supprimer un fichier ou répertoire",usage:"rm [-r] <fichier>",execute(e,t){let n=e.includes("-r")||e.includes("-rf"),a=e.filter(e=>!e.startsWith("-"));if(0===a.length)return void t.addLine({type:"error",content:"rm: argument manquant"});for(let e of a){let a=l(t.fs,t.cwd,e),r=c(t.fs,a);if(!r){t.addLine({type:"error",content:`rm: ${e}: Aucun fichier ou dossier de ce type`});continue}if("directory"===r.type&&!n){t.addLine({type:"error",content:`rm: ${e}: Est un dossier (utilisez -r)`});continue}let s=u(t.fs,a);s&&delete s.parent.children[s.name]}}},S={name:"help",description:"Afficher l'aide des commandes",usage:"help [commande]",execute(e,t){if(e[0]){let n=f(
1).find(t=>t.name===e[0]);return n?(t.addLine({type:"output",content:`${n.name} - ${n.description}`}),void(n.usage&&t.addLine({type:"output",content:`Usage: ${n.usage}`}))):void t.addLine({type:"error",content:`help: commande inconnue '${e[0]}'`})}for(let e of(t.addLine({type:"system",content:"=== COMMANDES DISPONIBLES ==="}),t.addLine({type:"output",content:""}),f().filter(e=>!e.hidden).sort((e,t)=>e.name.localeCompare(t.name))))t.addLine({type:"output",content:` ${e.name.padEnd(12)} ${e.description}`});t.addLine({type:"output",content:""}),t.addLine({type:"system",content:"Tapez 'help <commande>' pour plus de détails."}),t.addLine({type:"system",content:"Certaines commandes classees n'apparaissent qu'apres exploration du site."})}},A={name:"clear",description:"Effacer l'écran du terminal",usage:"clear",execute(e,t){t.clearLines()}},R={name:"echo",description:"Afficher du texte",usage:"echo <texte>",execute(e,t){t.addLine({type:"output",content:e.join(" ")})}},O={name:"whoami",description:"Afficher l'utilisateur courant",usage:"whoami",execute(e,t){t.addLine({type:"output",content:t.env.USER||"user"})}},T={name:"date",description:"Afficher la date et l'heure",usage:"date",execute(e,t){t.addLine({type:"output",content:new Date().toLocaleString("fr-FR")})}},j={name:"uname",description:"Afficher les informations système",usage:"uname [-a]",execute(e,t){e.includes("-a")?t.addLine({type:"output",content:"SylpheOS 3.1.4 sylphe-mainframe x86_pokemon GNU/Kanto"}):t.addLine({type:"output",content:"SylpheOS"})}},C={name:"history",description:"Afficher l'historique des commandes",usage:"history",execute(){}},w={name:"env",description:"Afficher les variables d'environnement",usage:"env",execute(e,t){for(let[e,n]of Object.entries({...t.env,PATH:"/usr/local/bin:/usr/bin:/bin",TERM:"sylphe-256color",LANG:"fr_FR.UTF-8",PWD:t.cwd,HOSTNAME:"sylphe-mainframe",OS:"SylpheOS 3.1.4",EDITOR:"vi",PAGER:"less"}))t.addLine({type:"output",content:`${e}=${n}`})}},P={name:"hostname",description:"Afficher le nom de la machine",usage:"hostname",execute(e,t){t.addLine({type:"output",content:"sylphe-mainframe"})}},M={name:"neofetch",description:"Afficher les informations système",usage:"neofetch",execute(e,t){let n=[" ___ "," / \\ "," / S C \\ "," / SYLPHE\\ "," / CORP. \\ "," /___________\\ "," | | | | "," |__| |__| "],a=["user@sylphe-mainframe","-------------------","OS: SylpheOS 3.1.4 (Kanto Build 151)","Host: Sylphe Mainframe MK-II","Kernel: pokemon-6.1.51","Shell: sylphe-sh 3.14","Terminal: SYLPHE TERMINAL v3.1.4","CPU: PokeProcessor 151-core @ 4.2GHz"];for(let e=0;e<Math.max(n.length,a.length);e++){let r=(n[e]||"").padEnd(20),s=a[e]||"";t.addLine({type:e<n.length?"system":"output",content:`${r}${s}`})}}};var U=e.i(13591);function D(e){return"true"===localStorage.getItem(e)}function k(e){return"true"===localStorage.getItem(e)}let W={name:"hack",description:"???",usage:"hack",hidden:!0,execute(e,t){for(let e of["Initialisation du protocole d'intrusion...","Connexion au réseau ROCKET_NET...","Bypass des pare-feu... [ââââââââââ] 100%","Déchiffrement des données classifiées...","","ERREUR: CONTRE-MESURE DÃTECTÃE","","ââââââââââââââââââââââââââââââ"," ACCÃS REFUSà - NICE TRY ;)","ââââââââââââââââââââââââââââââ","","Le Prof. Chen vous surveille..."])t.addLine({type:"system",content:e})}},F={name:"pokedex",description:"Consulter le Pokédex",usage:"pokedex [numéro]",async execute(e,t){let n=parseInt(e[0]||String(Math.floor(151*Math.random())+1),10);if(isNaN(n)||n<1||n>1025)return void t.addLine({type:"error",content:"pokedex: numéro invalide (1-1025)"});t.addLine({type:"system",content:`Recherche du Pok\xe9mon #${n}...`});try{let e=await fetch(`https://pokeapi.co/api/v2/pokemon/${n}`);if(!e.ok)throw Error("Not found");let a=await e.json(),r=a.types.map(e=>e.type.name).join(", ");t.addLine({type:"output",content:""}),t.addLine({type:"output",content:`ââââââââââââââââââââââââââââââââ`}),t.addLine({type:"output",content:`â #${String(a.id).padStart(4,"0")} ${a.name.toUpperCase().padEnd(22)}â`}),t.addLine({type:"output",content:`â âââââââââââââââââââââââââââââââ£`}),t.addLine({type:"output",content:`â Type: ${r.padEnd(20)}â`}),t.addLine({type:"output",content:`â Taille: ${(a.height/10).toFixed(1).padEnd(5)}m${" ".repeat(14)}â`}),t.addLine({type:"output",content:`â Poids: ${(a.weight/10).toFixed(1).padEnd(5)}kg${" ".repeat(13)}â`}),t.addLine({type:"output",content:`ââââââââââââââââââââââââââââââââ`})}catch{t.addLine({type:"error",content:"pokedex: impossible de contacter le serveur"})}}},q={name:"matrix",description:"Activer l'effet Matrix",usage:"matrix",execute(e,t){let n="ï¾ï¾ï¾ï½°ï½³ï½¼ï¾
ï¾ï¾ï½»ï¾ï¾ï½µï¾ï½±ï¾ï¾ï¾ï½¹ï¾ï½´ï½¶ï½·ï¾ï¾ï¾ï½¾ï¾ï½½ï¾ï¾ï¾012345789ABCDEFZ";for(let e=0;e<15;e++){let e="";for(let t=0;t<40;t++)e+=n[Math.floor(Math.random()*n.length)];t.addLine({type:"system",content:e})}t.addLine({type:"output",content:""}),t.addLine({type:"system",content:"Wake up, Neo..."})}},G={name:"run",description:"Exécuter un script",usage:"run <script.sh>",execute(e,t){if(0===e.length)return void t.addLine({type:"error",content:"run: argument manquant"});let n=l(t.fs,t.cwd,e[0]),a=c(t.fs,n);if(!a)return void t.addLine({type:"error",content:`run: ${e[0]}: Aucun fichier de ce type`});if("directory"===a.type)return void t.addLine({type:"error",content:`run: ${e[0]}: Est un dossier`});if(!a.executable)return void t.addLine({type:"error",content:`run: ${e[0]}: Permission refus\xe9e (non ex\xe9cutable)`});for(let e of(a.content||"").split("\n")){let n=e.trim();if(!(n.startsWith("#")||n.startsWith("#!/"))&&""!==n)if(n.startsWith("echo ")){let e=n.slice(5).replace(/^['"]|['"]$/g,"");t.addLine({type:"output",content:e})}else n.startsWith("sleep ")||t.addLine({type:"system",content:`> ${n}`})}}},B={name:"exit",description:"Fermer le terminal",usage:"exit",execute(){}},$={name:"sudo",description:"Exécuter en tant que superutilisateur",usage:"sudo <commande>",execute(e,t){0===e.length?t.addLine({type:"error",content:"sudo: argument manquant"}):(t.addLine({type:"system",content:"[sudo] Mot de passe pour user :"}),t.addLine({type:"error",content:"Vérification..."}),t.addLine({type:"error",content:"âââ ACCÃS REFUSà âââ"}),t.addLine({type:"output",content:""}),t.addLine({type:"system",content:"Cet incident sera signalé au Prof. Chen."}))}},H={name:"ping",description:"Tester la connectivité réseau",usage:"ping <hôte>",execute(e,t){let n=e[0]||"sylphe-mainframe";if("mansion.cinnabar.gov"===n.toLowerCase()){t.addLine({type:"system",content:`PING ${n} (10.0.151.42): 56 data bytes`}),t.addLine({type:"output",content:`64 bytes from ${n}: icmp_seq=1 ttl=42 time=151.00 ms`}),t.addLine({type:"output",content:`64 bytes from ${n}: icmp_seq=2 ttl=42 time=ERROR ms`}),t.addLine({type:"error",content:"â Paquet corrompu intercepte â fragment Base64 detecte:"});let e=[{encoded:"TGUgY2xvbmUgIzE1MCBtb250cmUgZGVzIHNpZ25lcyBkJ2luc3RhYmlsaXRl",decoded:"Le clone #150 montre des signes d'instabilite"},{encoded:"TCdBRE4gZGUgTWV3IGVzdCBpbmNvbXBsZXQuIElsIG1hbnF1ZSBsZSBmcmFnbWVudCA3Mzgy",decoded:"L'ADN de Mew est incomplet. Il manque le fragment 7382"},{encoded:"R2lvdmFubmkgdmV1dCB1bmUgYXJtZS4gSmUgdmV1eCBzYXV2ZXIgbW9uIGZpbHM=",decoded:"Giovanni veut une arme. Je veux sauver mon fils"},{encoded:"U2kgdm91cyBsaXNleiBjZWNpLCBsZSBQcm9qZXQgTSBhIGVjaG91ZQ==",decoded:"Si vous lisez ceci, le Projet M a echoue"},{encoded:"TGUgU3VqZXQgMTUxIGVzdCBsYSBtYXRyaWNlLiBJbCBuZSBkb2l0IHBhcyBldHJlIGNsb25l",decoded:"Le Sujet 151 est la matrice. Il ne doit pas etre clone"}],a=e[Math.floor(Math.random()*e.length)];t.addLine({type:"output",content:""}),t.addLine({type:"system",content:`[PAQUET CORROMPU] ${a.encoded}`}),t.addLine({type:"output",content:""}),t.addLine({type:"output",content:`Decodage Base64: "${a.decoded}"`}),t.addLine({type:"output",content:""}),t.addLine({type:"system",content:"â Notes du Dr. Fuji, Manoir Pokemon, Cramois'Ile â"}),k("sylphe_dr_fuji_notes")||((0,U.setGameFlag)("sylphe_dr_fuji_notes"),t.addLine({type:"system",content:""}),t.addLine({type:"system",content:"⦠Objet obtenu: NOTES DU DR FUJI"}));return}for(let e of(t.addLine({type:"system",content:`PING ${n} (192.168.1.42): 56 data bytes`}),[{time:"1.24",ttl:64},{time:"0.89",ttl:64},{time:"1.02",ttl:64},{time:"42.00",ttl:42}]))t.addLine({type:"output",content:`64 bytes from ${n}: icmp_seq=1 ttl=${e.ttl} time=${e.time} ms`});t.addLine({type:"output",content:""}),t.addLine({type:"system",content:`--- ${n} statistiques ---`}),t.addLine({type:"output",content:"4 paquets transmis, 4 reçus, 0% perte"}),(n.toLowerCase().includes("rocket")||n.toLowerCase().includes("mewtwo"))&&(t.addLine({type:"output",content:""}),t.addLine({type:"error",content:"â ALERTE: Activité suspecte détectée sur ce réseau"}))}},z={name:"missingno",description:"???",usage:"missingno",hidden:!0,execute(e,t){for(let e of(localStorage.setItem("sylphe_missingno_unlocked","true"),window.dispatchEvent(new Event("storage")),["...","An anomaly has been detected.","Data corruption at 0x9F4C.","The glitch is now part of the team."]))t.addLine({type:"system",content:e})}},V={name:"rocket",description:"Accéder au protocole R",usage:"rocket",hidden:!0,execute(e,t){localStorage.setItem("sylphe_rocket_mode","true"),window.dispatchEvent(new Event("storage")),t.addLine({type:"error",content:"Protocole ROCKET activé."}),t.addLine({type:"error",content:"Nous sommes de retour pour vous jouer un mauvais tour..."})}},Y={name:"masterball",description:"Capture garantie",usage:"masterball",hidden:!0,execute(e,t){localStorage.setItem("sylphe_masterball_unlocked","true"),window.dispatchEvent(new Event("storage")),t.addLine({type:"system",content:"Master Ball acquise
1!"}),t.addLine({type:"system",content:"Vous pourrez capturer n'importe quel bug sans échouer."})}},K={name:"noclip",description:"Désactiver les collisions",usage:"noclip",hidden:!0,execute(e,t){window.dispatchEvent(new Event("sylphe_noclip_toggle")),t.addLine({type:"system",content:"NOCLIP ACTIVÃ."}),t.addLine({type:"output",content:"Attention: vous risquez de tomber dans les Backrooms (Glitch City)."})}},J={name:"lsd",description:"???",usage:"lsd",hidden:!0,execute(e,t){document.body.classList.add("acid-mode"),setTimeout(()=>{document.body.classList.remove("acid-mode")},6e4),t.addLine({type:"system",content:"Woah, les couleurs sont bizarres..."})}},Q={name:"bike",description:"Obtenir une bicyclette",usage:"bike",hidden:!0,execute(e,t){localStorage.setItem("sylphe_bike","true"),window.dispatchEvent(new Event("storage")),t.addLine({type:"system",content:"Bicyclette obtenue !"}),t.addLine({type:"output",content:"Vous irez maintenant 2x plus vite sur le terrain."})}},Z={name:"motherlode",description:"Injection financière",usage:"motherlode",hidden:!0,execute(e,t){localStorage.setItem("sylphe_rich","true"),window.dispatchEvent(new Event("storage")),t.addLine({type:"system",content:"Fonds injectés."})}},X={name:"doom",description:"Lancer DOOM",usage:"doom",execute(e,t){t.addLine({type:"error",content:"ERREUR 12: Pas assez de mémoire RAM."}),t.addLine({type:"error",content:"Sylphe OS prend déjà toute la mémoire pour le rendu du background."})}},ee={name:"coffee",description:"Faire un café",usage:"coffee",async execute(e,t){t.addLine({type:"system",content:"Demande de préparation de café envoyée au serveur..."});try{let e=await fetch("/api/coffee"),n=await e.json();418===e.status?t.addLine({type:"error",content:n.message}):t.addLine({type:"output",content:`Status: ${e.status} - ${n.message||"Café prêt ?"}`});let a=e.headers.get("X-Sylphe-Secret"),r=e.headers.get("X-Developer-Msg");a&&t.addLine({type:"system",content:`[HEADER CACH\xc9] : ${a}`}),r&&t.addLine({type:"system",content:`[NOTE LABO] : ${r}`})}catch{t.addLine({type:"error",content:"Erreur réseau: Impossible de contacter la machine à café."})}}},et={name:"giovanni",description:"Accès direction",usage:"giovanni",hidden:!0,execute(e,t){localStorage.setItem("sylphe_giovanni_unlocked","true"),window.dispatchEvent(new Event("storage")),t.addLine({type:"system",content:"Boss Mode: ACTIVÃ."}),t.addLine({type:"output",content:"Bienvenue, Monsieur."})}},en={name:"pr0t0type_151",description:"Resonance memoire classee",usage:"pr0t0type_151",hidden:!0,execute(e,t){(0,U.setGameFlag)("sylphe_prototype_151"),t.addLine({type:"system",content:"[ARCHIVE 151] Signature genetique reconnue."}),t.addLine({type:"system",content:"[ARCHIVE 151] La Masterball blanche repond a un sujet originel non catalogue."}),t.addLine({type:"output",content:"Une resonance s'installe dans les zones vides du systeme."}),t.addLine({type:"output",content:"Nouvel objet ajoute: ARCHIVE PROTOTYPE 151."})}},ea={name:"archive-debug",description:"Activer les archives profondes",usage:"archive-debug",hidden:!0,execute(e,t){let n=k("sylphe_archive_debug");if(!(0,U.canUnlockArchiveDebug)()){t.addLine({type:"error",content:"Acces refuse: les archives profondes exigent RED, le PASS SYSTEME, l'archive 151 et l'ensemble des zones visitees."}),t.addLine({type:"system",content:"Conseil: utilise `inventory` et `map` pour verifier l'etat du dossier."});return}(0,U.setGameFlag)("sylphe_archive_debug"),(0,U.setGameFlag)("sylphe_hall_of_fame"),(0,U.setGameFlag)("sylphe_project_m_logs"),t.addLine({type:"system",content:"[ARCHIVE DEBUG] Canaux historiques synchronises."}),t.addLine({type:"system",content:"[ARCHIVE DEBUG] Hall of Fame monte sur /hall-of-fame."}),t.addLine({type:"output",content:"Les archives completent le roster, l'inventaire et la cartographie en une seule memoire."});for(let e of["[PROJET M][CHRONOLOGIE COMPLETE]","1996.07 // Extraction de donnees genetiques instables sur le sujet MEW.","1996.11 // Creation du clone #150 sous financement ROCKET_NET.","1997.02 // Echec des premiers confinements. Le sujet 151 reste masque hors catalogue.","2026.02 // Fragment 7382 transite dans CYBERSPACE via Porygon.","2026.02 // Fragment 4B9F fuit depuis GLITCH CITY avec l'anomalie MissingNo.","2026.03 // Le terminal recompose 7382-4B9F et rouvre la Chambre 042.","2026.03 // RED transmet le PASS SYSTEME. Les archives profondes passent en mode supervision.","[NOTE] Le sujet 151 n'est pas une sauvegarde. C'est la matrice que le clone #150 n'a jamais pu effacer."])t.addLine({type:e.startsWith("[NOTE]")?"output":"system",content:e});t.addLine({type:"output",content:n?"Chronologie Projet M rehydratee. /hall-of-fame reste disponible.":"Chargement du Hall of Fame..."}),n||setTimeout(()=>{window.location.href="/hall-of-fame"},5e3)}},er={name:"containment",description:"Diagnostic clandestin des anomalies",usage:"containment",hidden:!0,execute(e,t){let n,a=(n=[],k("sylphe_missingno_unlocked")||n.push("GLITCH-0x9F4C: anomalie MissingNo non stabilisee. Piste: surveiller les zones corrompues."),k("sylphe_silph_scope")||n.push("SCOPE-S: brouillard spectral illisible. Piste: parler a l'anomalie qui manipule l'inventaire."),k("sylphe_mew_unlocked")||n.push("CHAMBRE-042: acces verrouille. Piste: reunir les deux fragments du code labo."),k("sylphe_mew_captured")||n.push("SUJET-151A: entite aquatique libre sur la carte principale."),k("sylphe_mewtwo_captured")||n.push("SUJET-150: clone principal encore actif en Chambre 042."),k("sylphe_prototype_151")||n.push("ARCHIVE-151: signature originelle absente. Piste: auditer /var/log/system.log."),k("sylphe_red_defeated")||n.push("SANCTUAIRE-RED: superviseur final non neutralise en Grotte Azuree."),k("sylphe_archive_debug")||n.push("ARCHIVE-DEBUG: Hall of Fame non monte. Piste: verifier inventory, map et RED."),k("sylphe_white_room_hint")&&!k("sylphe_beneath_stairs_unlocked")&&n.push("BENEATH-STAIRS: acces parasite localise en Grotte Azuree, sous l'escalier principal."),k("sylphe_beneath_stairs_unlocked")&&!k("sylphe_white_room_unlocked")&&n.push("WHITE-ROOM: membrane blanche detectee mais non ouverte. Piste: activer la console residuelle sous l'escalier."),k("sylphe_white_room_unlocked")&&!k("sylphe_archive_151_reconciled")&&n.push("ARCHIVE-151/WHITE-ROOM: confrontation finale non resolue. Piste: ecouter la memoire originelle jusqu'au bout."),k("sylphe_museum_null_unlocked")&&!k("sylphe_null_badge")&&n.push("MUSEE-NULL: aile annexe ouverte mais archive de visite non recuperee. Piste: inspecter le socle central et les profils effaces."),k("sylphe_lavender_mirror_unlocked")&&!k("sylphe_mirror_tag")&&n.push("LAVENDER-MIRROR: miroir spectral ouvert, mais la plaque memoriale n'a pas encore ete ramenee du reflet."),k("sylphe_intranet_complete")&&!k("sylphe_11f_access")&&n.push("11F-MAINT: le canal maintenance a ete revele par ROCKET_NET, mais l'ascenseur n'a pas encore ete ouvert avec le mot de passe de Leo."),k("sylphe_11f_access")&&!k("sylphe_maxime_rescued")&&n.push("11F-DEVELOPER: le developpeur est toujours retenu au 11e etage. Piste: relancer les trois noeuds de maintenance."),k("sylphe_maxime_rescued")&&!k("sylphe_lapras_captured")&&n.push("11F-LAPRAS: le dernier prototype logistique n'a pas encore ete exfiltre du 11e etage."),k("sylphe_maxime_rescued")&&k("sylphe_trick_house_complete")&&k("sylphe_trick_house_item")&&k("sylphe_pokeflute_played")&&k("sylphe_cave_echo")&&!k("sylphe_electrode_captured")&&n.push("11F-OVERLOAD: les prerequis de surcharge sont reunis. Piste: couper les 3 disjoncteurs du 11e etage en moins de 20 secondes."),n);if(t.addLine({type:"system",content:"--- DIAGNOSTIC CONTAINMENT ---"}),0===a.length){t.addLine({type:"output",content:"Toutes les anomalies critiques sont actuellement contenues."}),k("sylphe_white_room_hint")?t.addLine({type:"system",content:"Signal parasite detecte: WHITE_ROOM // BENEATH_STAIRS // CERULEAN-CAVE"}):t.addLine({type:"system",content:"Un residu persiste pourtant sous les escaliers de la Grotte Azuree."});return}
1a.forEach((e,n)=>{t.addLine({type:"output",content:` ${n+1}. ${e}`})}),k("sylphe_project_m_logs")&&t.addLine({type:"system",content:"Les journaux complets du Projet M sont montes en memoire via archive-debug."})}},es={name:"checksum",description:"Comparer l'archive publique et la couche nulle",usage:"checksum",hidden:!0,execute(e,t){if(!k("sylphe_null_badge")){t.addLine({type:"error",content:"CHECKSUM INCOMPLET: aucune archive de visite NULL n'est chargee."}),t.addLine({type:"system",content:"Indice: certaines statistiques corporate encaissent mal les clics repetes."});return}t.addLine({type:"system",content:"--- VERIFICATION DE L'INTEGRITE CORPORATE ---"});let n=["[CHECKSUM] PUBLIC_ARCHIVE != NULL_ARCHIVE","public.employees = 2547 // null.employees = 17 profils retires","public.projects = 894 // null.projects = 1 aile effacee des visites"];for(let e of(k("sylphe_silph_scope")&&n.push("scope.overlay = ACTIVE // les cartels du Musee Null montrent des noms rayes plutot que des trophées."),k("sylphe_prototype_151")&&n.push("subject.compare(150,151) = mismatch // 151 correspond a la matrice, 150 au produit mediatise."),k("sylphe_archive_151_reconciled")&&n.push("white_room.status = reconciled // l'archive originelle ne fuit plus dans les zones vides."),n))t.addLine({type:"system",content:e});t.addLine({type:"output",content:"Le Musee Null confirme qu'une part du patrimoine Sylphe a ete museifiee puis effacee."})}},ei={name:"requiem",description:"Relire les noms effaces du miroir de Lavanville",usage:"requiem",hidden:!0,execute(e,t){if(!k("sylphe_mirror_tag")){t.addLine({type:"error",content:"REQUiem ERROR: aucune plaque memorielle chargee."}),t.addLine({type:"system",content:"Indice: le Scope Sylphe n'etait pas seulement destine aux tours Pokemon officielles."});return}["[LAVENDER MIRROR // MEMORIAL BUFFER]","EMPLOYEE_04 // efface des brochures apres evacuation de l'aile spectrale.","GUIDE_02 // a continue les visites meme apres la fermeture officielle.","CURATOR_NULL // a renomme la salle 'miroir' pour eviter le mot 'tour'.","GHOST_GUARDIAN // origine inconnue, comportement calque sur un deuil pokemon ancien."].forEach(e=>t.addLine({type:"system",content:e})),k("sylphe_silph_scope")&&t.addLine({type:"output",content:"Le Scope confirme que le miroir ne montre jamais des fantomes anonymes: il montre des noms qu'on a retire des rapports."})}},eo={name:"inventory",description:"Afficher les objets ramassés",usage:"inventory",execute(e,t){t.addLine({type:"system",content:"--- INVENTAIRE SYLPHE OS ---"});let n=(0,U.getUnlockedInventoryItems)();if(0===n.length)t.addLine({type:"output",content:" Votre inventaire est vide."});else for(let e of n)t.addLine({type:"output",content:` [x] ${e.name}`});t.addLine({type:"output",content:""})}},el={name:"map",description:"Afficher les zones débloquées",usage:"map",execute(e,t){t.addLine({type:"system",content:"--- CARTOGRAPHIE SYSTÃME ---"});let n=(0,U.getVisitedMaps)();if(0===n.length)t.addLine({type:"output",content:" - AUCUNE ZONE ENREGISTREE"});else for(let e of n)t.addLine({type:"output",content:` - ${e.name} (VISITEE)`});t.addLine({type:"output",content:""})}};function ec(e){let t="+"+"â".repeat(16)+"+",n=[t];for(let t of e)n.push("|"+t.join("")+"|");return n.push(t),n}let eu={name:"defrag",description:"Defragmenter les donnees de Glitch City",usage:"defrag",hidden:!0,async execute(e,t){if(!k("sylphe_porygon_echo")){t.addLine({type:"error",content:"ERREUR: Aucun agent numerique connecte. Porygon Echo requis."}),t.addLine({type:"system",content:"Indice: un echo persiste dans le cyberespace, noeud 42."});return}if(!k("sylphe_missingno_unlocked"))return void t.addLine({type:"error",content:"ERREUR: Aucune donnee corrompue detectee. La zone Glitch City n'est pas ouverte."});if(k("sylphe_defrag_complete"))return void t.addLine({type:"system",content:"[PORYGON] Defragmentation deja terminee. La commande `reconstruct` reste disponible."});t.addLine({type:"system",content:"[PORYGON ECHO] Connexion au noeud 42..."}),t.addLine({type:"system",content:"Initialisation du protocole de defragmentation..."}),t.addLine({type:"output",content:""});let n=function(){let e="âââââââ â¡âââ¦â£â â¢ââºâ²â¼Â«Â»â¼â¬â«âªâ¤ââ¬â´ââ",t=[];for(let n=0;n<6;n++){let n=[];for(let t=0;t<16;t++)n.push(.65>Math.random()?e[Math.floor(Math.random()*e.length)]:"â");t.push(n)}return t}(),a=e=>new Promise(t=>setTimeout(t,e));for(let e of(t.addLine({type:"system",content:"ETAT INITIAL â Secteurs corrompus detectes:"}),ec(n)))t.addLine({type:"output",content:e});for(let e=0;e<4;e++){await a(1200),t.addLine({type:"output",content:""}),t.addLine({type:"system",content:`[PASSE ${e+1}/4] Porygon scanne le secteur...`});let r=function(e,t){let n=e.map(e=>[...e]),a=0;for(let e=0;e<6;e++)for(let r=0;r<16;r++)"â"!==n[e][r]&&Math.random()<.4+.15*t&&(n[e][r]="â",a++);return{grid:n,recovered:["7382..OK","4B9F..OK","PRJM..OK","[email protected]"][t]||`BLK${a}`}}(n,e);for(let e of(n=r.grid,await a(800),ec(n)))t.addLine({type:"output",content:e});t.addLine({type:"system",content:`Fragment recupere: ${r.recovered}`});let s=Math.round((e+1)/4*100),i=Math.round(s/5),o="["+"â".repeat(i)+"â".repeat(20-i)+"] "+s+"%";t.addLine({type:"output",content:o})}await a(1e3),t.addLine({type:"output",content:""}),t.addLine({type:"system",content:"âââââââââââââââââââââââââââââââââââ"}),t.addLine({type:"system",content:"DEFRAGMENTATION TERMINEE"}),t.addLine({type:"system",content:"âââââââââââââââââââââââââââââââââââ"}),t.addLine({type:"output",content:"Porygon a restaure les blocs de donnees corrompus par MissingNo."}),t.addLine({type:"output",content:"Fragments rassembles: 7382 + 4B9F + PROJET_M + SUJET_151"}),t.addLine({type:"output",content:""}),t.addLine({type:"system",content:"[PORYGON] J'ai trouve quelque chose dans les debris. Nouvelle commande deverrouillee: `reconstruct`."}),t.addLine({type:"output",content:"Tapez `reconstruct` pour reconstituer les archives defragmentees."}),(0,U.setGameFlag)("sylphe_defrag_complete")}},ed={name:"reconstruct",description:"Reconstituer les archives defragmentees",usage:"reconstruct",hidden:!0,execute(e,t){if(!k("sylphe_defrag_complete")){t.addLine({type:"error",content:"ERREUR: Aucune donnee defragmentee disponible."}),t.addLine({type:"system",content:"Indice: Porygon pourrait restaurer les secteurs corrompus de Glitch City."});return}for(let e of(t.addLine({type:"system",content:"[RECONSTRUCT] Assemblage des blocs recuperes..."}),t.addLine({type:"output",content:""}),["ââââââââââââââââââââââââââââââââââââââââââ","â ARCHIVES DEFRAGMENTEES â PORYGON â","â âââââââââââââââââââââââââââââââââââââââââ£","â BLOC 1: Code Labo 7382 â","â > Genere dans le Cyberespace â","â > Transmis via reseau SYLPHE_NET â","â â","â BLOC 2: Code Labo 4B9F â","â > Extrait de Glitch City â","â > Corrompu par MissingNo â","â â","â BLOC 3: Manifeste PROJET_M â","â > Objectif: cloner le sujet 151 â","â > Resultat: clone #150 (Mewtwo) â","â > Le modele original a survecu. â","â â","â BLOC 4: Note du Dr Fuji (supprimee) â","â > 'Le sujet 151 n'est pas un echec. â","â > C'est la matrice vivante que le â","â > clone n'a jamais pu remplacer.' â","â â","â BLOC 5: Metadonnees Porygon â","â > Le noeud 42 contient encore des â","â > residus du transfert initial. â","â > Porygon garde une copie de la â","â > cartographie pre-corruption. â","ââââââââââââââââââââââââââââââââââââââââââ"]))t.addLine({type:"output",content:e});t.addLine({type:"output",content:""}),t.addLine({type:"system",content:"[PORYGON] Les donnees sont reconstituees. La verite sur le Projet M etait enfouie dans les octets corrompus."}),k("sylphe_prototype_151")&&t.addLine({type:"system",content:"[NOTE] L'archive 151 confirme la note du Dr Fuji. La matrice et le clone ne sont pas interchangeables."})}},ep={name:"sylphedex",description:"Consulter le Pokedex interne Sylphe",usage:"sylphedex [sujet]",hidden:!0,execute(e,t){let n,a,r,s,i,o,l,c,u,d,p,m,h,f=(n=D("sylphe_mew_captured"),a=D("sylphe_mewtwo_captured"),r=D("sylphe_kabuto_captured"),s=D("sylphe_fantominus_captured"),i=D("sylphe_lapras_captured"),o=D("sylphe_electrode_captured"),l=D("sylphe_prototype_151"),c=D("sylphe_missingno_unlocked"),u=D("sylphe_silph_scope"),d=D("sylphe_porygon_echo"),p=D("sylphe_archive_151_reconciled"),m=D("sylphe_null_badge"),(h=[]).push({id:"#151",name:"MEW",type:"PSY",classification:"SUJET ORIGINEL / MATRICE GENETIQUE",status:n?"CAPTURE â Securise dans la Masterball blanche.":"LIBRE â Derniere detection sous la surface aquatique de la carte Sylphe.",notes:["
1Specimen original a partir duquel le clone #150 a ete derive.",n?"Le sujet flotte librement a l'interieur de la capsule de confinement.":"Insaisissable. Repond aux sollicitations repetees sur les surfaces aquatiques.",...l?["[ARCHIVE 151] La signature genetique de Mew correspond a la matrice originelle du Projet M.",p?"[CONCORDANCE] L'archive 151 a cesse de se fragmenter. Mew reconnu comme modele stable.":"[INSTABILITE] L'archive signale une divergence entre le sujet vivant et ses copies numeriques."]:[]],restricted:!1}),h.push({id:"#150",name:"MEWTWO",type:"PSY",classification:"CLONE INSTABLE / PROJET M â ESSAI #42",status:a?"CAPTURE â Confinement volontaire dans la Masterball blanche.":"ACTIF â En cuve de stase, Chambre 042.",notes:["Clone derive de la matrice Mew. Financement Team Rocket confirme.",a?"Le clone ne force plus sa cage. Semble avoir accepte un equilibre precaire.":"Empreinte psychique massive detectee. La cuve contient a peine le sujet.",...l?["[NOTE LABO] Les tentatives #01 a #41 ont echoue. Le Dr Fuji notait que la matrice (151) est plus stable que le produit (150)."]:[],...n&&a?["[OBSERVATION] Mew et Mewtwo cohabitent sans hostilite dans la Masterball. Le clone semble reconnaitre son origine."]:[]],restricted:!1}),c&&h.push({id:"#0x9F4C",name:"MISSINGN0",type:"OISEAU/NORMAL [CORROMPU]",classification:"ANOMALIE DE DONNEES / ENTITE HORS-INDEX",status:"NON CONFINE â Se deplace librement dans les secteurs corrompus.",notes:["Entite non repertoriee officiellement. Adresse memoire: 0x9F4C.","Duplication d'objets confirmee: les inventaires a proximite se multiplient (x128).",u?"[SCOPE] Le Scope Sylphe reagit violemment a proximite. Les residus spectraux saturent le capteur.":"Aucun capteur spectral disponible pour analyse approfondie.","Glitch City reste instable. MissingNo semble etre la cause et non le symptome.",...m?["[BADGE NULL] Le <a href='/museum-null' style='color: blue;'>Musee Null</a> confirme que MissingNo etait repertorie dans l'aile effacee avant purge du catalogue."]:[]],restricted:!0}),l&&h.push({id:"#pr0t0",name:"ARCHIVE 151",type:"INCONNU",classification:"MEMOIRE RESIDUELLE / SUJET PRE-CATALOGUE",status:p?"RECONCILIE â La memoire originelle ne fuit plus dans les zones vides.":"INSTABLE â Fragmentation continue dans les marges du systeme.",notes:["Ce n'est pas un Pokemon. C'est la signature genetique qui precedait toutes les autres.","Le sujet 151 existe avant le catalogue. Il a ete volontairement omis des rapports finaux.",p?"La confrontation en White Room a stabilise l'archive. La concordance est permanente.":"L'archive continue de repandre des fragments dans les zones vides du systeme de fichiers.","[CONFIDENTIEL] Le Dr Fuji savait que 151 etait la matrice. Le rapport final a ete supprime."],restricted:!0}),d&&h.push({id:"#137-E",name:"PORYGON ECHO",type:"NORMAL [NUMERIQUE]",classification:"FRAGMENT DETOURNE / NOEUD 42",status:"SEMI-PERSISTANT â Se materialise dans la Masterball blanche apres visite cyber.",notes:["Porygon original numerise par Sylphe Corp. pour patrouiller le cyberespace interne.","Un echo de ses donnees a fui le noeud 42 et se retrouve parfois dans la Pokeball interieure.","La commande `archive-debug` semble liee a la passerelle de donnees que Porygon projette.",...n&&a?["[TRIANGULATION] Quand Mew, Mewtwo et Porygon cohabitent, la capsule entre en etat de biosphere triangulee."]:[]],restricted:!1}),r&&h.push({id:"#140",name:"KABUTO",type:"ROCHE/EAU",classification:"FOSSILE REACTIVE / MONT SELENITE",status:"CAPTURE â Stabilise apres reveil dans les galeries profondes du Mont Selenite.",notes:["Specimen reveille au voisinage d'un fossile vivant enfoui sous les nids de Nosferapti.","Le sujet reagit violemment aux percussions et a l'echolocalisation du site.",l?"[ARCHIVE 151] Les couches geologiques du Mont Selenite stockent des traces plus anciennes que les journaux du Projet M.":"Les carapaces fossiles semblent avoir conserve une memoire acoustique de la grotte."],restricted:!1}),s&&h.push({id:"#092",name:"FANTOMINUS",type:"SPECTRE/POISON",classification:"RESIDU CAPTURE / MIROIR SPECTRAL",status:"CAPTURE â Le reflet du sujet a ete verrouille avant dissipation complete.",notes:["Fantominus n'etait visible qu'a travers le filtre du Scope Sylphe et la camera du miroir.","Sa forme enregistrable n'apparait qu'apres documentation complete des autres spectres du lieu.",u?"[SCOPE] Le signal spectral reste lisible meme en dehors du miroir.":"Le sujet refuse toute lecture en l'absence du Scope Sylphe."],restricted:!1}),i&&h.push({id:"#131",name:"LAPRAS",type:"EAU/GLACE",classification:"SUJET LOGISTIQUE / 11F MAINTENANCE",status:"CAPTURE â Exfiltre du 11e etage apres liberation du developpeur retenu en maintenance.",notes:["Lapras servait de porteur docile entre les laboratoires et les baies serveur du 11e etage.","Le sujet est reste volontairement pres de la cellule de maintenance jusqu'a l'ouverture des verrous.","Les techniciens Rocket notaient qu'il comprenait mieux les alarmes que leur
1s propres agents."],restricted:!1}),o&&h.push({id:"#101",name:"ELECTRODE",type:"ELECTRIK",classification:"BATTERIE DE SECURITE / 11F OVERLOAD",status:"CAPTURE â Isolé apres surcharge volontaire du reseau de maintenance du 11e etage.",notes:["Utilise comme accumulateur vivant dans les baies critiques du 11e etage.","Le sujet n'apparait qu'apres liberation du developpeur, relance des circuits et coupure coordonnee des trois noeuds.","Les archives Rocket le decrivent comme une securite d'urgence. Maxime parlait plutot d'une pile avec de l'humeur."],restricted:!1}),D("sylphe_mirror_tag")&&h.push({id:"#105-G",name:"GARDIEN OSSEUX",type:"SOL [SPECTRAL]",classification:"ENTITE MEMORIELLE / MIROIR DE LAVANVILLE",status:"LIE AU MIROIR â Ne quitte pas la frequence spectrale de Lavanville.",notes:["Ce Ossatueur n'est pas mort au sens classique. Il hante le Miroir en tant que gardien des noms effaces.","La plaque memorielle qu'il remet porte les identites retirees des rapports publics Sylphe.","La commande `requiem` lit ces noms. Le gardien semble soulagé a chaque recitation."],restricted:!0}),D("sylphe_lapras_archive_captured")&&h.push({id:"#131-A",name:"LOKHLASS ARCHIVE",type:"EAU / GLACE [ARCHIVE]",classification:"SPECIMEN CRYOGENIQUE / SERVEUR DE SAUVEGARDE",status:"CAPTURE â Extrait de la chambre froide cryogenique apres degel force.",notes:["Variante archivistique de Lokhlass, fusionne avec les serveurs de sauvegarde depuis 1997.","Porte la memoire de milliers de parties interrompues, gelees en boucle infinie.","Le degel peut etre provoque par souffle au micro ou par la frequence 5.0 MHz de la Radio Pokematos.",u?"Le Scope detecte des fragments de donnees de sauvegarde dans son aura glaciale.":"Son corps semble contenir des cristaux de donnees numeriques."],restricted:!0}),D("sylphe_spectrum_captured")&&h.push({id:"#93-C",name:"SPECTRUM CORPORATE",type:"POISON / SPECTRE [CORPORATE]",classification:"VARIANTE RARE / LIGNE D'URGENCE LAVANVILLE",status:"CAPTURE â Materialise via la Ligne d'Urgence de Lavanville dans le Miroir Spectral.",notes:["Ce Spectrum n'est pas un pokemon sauvage. Il s'agit d'une empreinte psychique collective des employes effaces de Sylphe Corp.","Il ne se manifeste que si le joueur appelle le poste 7 (Lavender Mirror) puis rejoint immediatement le Miroir Spectral.","Sa capture remplace celle de Fantominus lors de cette variante rare.",m?"Le Badge NULL confirme que ces employes existaient dans l'aile effacee du Musee.":"L'identite exacte des employes qu'il represente reste inconnue."],restricted:!0}),h);if(0===f.length){t.addLine({type:"error",content:"SYLPHEDEX VIDE: aucun sujet enregistre."}),t.addLine({type:"system",content:"Indice: explorez les zones anomaliques pour alimenter la base."});return}let y=e.join(" ").toUpperCase();if(y){let n=f.find(e=>e.name.toUpperCase().includes(y)||e.id.toUpperCase().includes(y));if(!n){t.addLine({type:"error",content:`SYLPHEDEX: Aucune entree trouvee pour '${e.join(" ")}'.`}),t.addLine({type:"system",content:`Sujets disponibles: ${f.map(e=>e.name).join(", ")}`});return}var L=n,g=t;for(let e of(g.addLine({type:"system",content:"ââââââââââââââââââââââââââââââââââââââââââââ"}),g.addLine({type:"system",content:`â ${L.id} ${L.name.padEnd(30)}â`}),g.addLine({type:"system",content:"â âââââââââââââââââââââââââââââââââââââââââââ£"}),g.addLine({type:"output",content:`â Type: ${L.type.padEnd(34)}â`}),g.addLine({type:"output",content:`â Class: ${L.classification}`}),g.addLine({type:"output",content:`â Statut: ${L.status}`}),L.restricted&&g.addLine({type:"error",content:"â â FICHE RESTREINTE â Niveau d'accès élevé requis"}),g.addLine({type:"system",content:"â âââââââââââââââââââââââââââââââââââââââââââ£"}),g.addLine({type:"system",content:"â NOTES:"}),L.notes))g.addLine({type:"output",content:`â ${e}`});g.addLine({type:"system",content:"ââââââââââââââââââââââââââââââââââââââââââââ"});return}for(let e of(t.addLine({type:"system",content:"ââââââââââââââââââââââââââââââââââââââââ"}),t.addLine({type:"system",content:"â SYLPHEDEX â BASE INTERNE â"}),t.addLine({type:"system",content:"â Sylphe Corp. // Confidentiel â"}),t.addLine({type:"system",content:"â âââââââââââââââââââââââââââââââââââââââ£"}),f)){let n=e.restricted?" [RESTREINT]":"";t.addLine({type:"output",content:`â ${e.id.padEnd(8)} ${e.name.padEnd(18)}${n.padEnd(12)}â`})}t.addLine({type:"system",content:"ââââââââââââââââââââââââââââââââââââââââ"}),t.addLine({type:"output",content:`${f.length} sujet(s) enregistre(s). Tapez 'sylphedex <nom>' pour le detail.`})}},em={name:"nano",description:"Editeur de fichier textuel",usage:"nano <fichier>",hidden:!0,execute(e,t){let n=e[0];if(!n)return void t.addLine({type:"error",content:"Usage: nano <fichier>"});let a=l(t.fs,t.cwd,n),r=c(t.fs,a);if(!r)return void t.addLine({type:"error",content:`nano: ${n}: Fichier introuvable`});if("directory"===r.type)return void t.addLine({type:"error",content:`nano: ${n}: Est un repertoire`});let s="/etc/sylphe/containment.conf"===a;for(let e of(t.addLine({type:"system",content:"ââââââââââââââââââââââââââââââââââââââââ"}),t.addLine({type:"system",content:`â GNU nano 7.2 â ${n.slice(0,20).padEnd(20)}â`}),t.addLine({type:"system",content:"â âââââââââââââââââââââââââââââââââââââââ£"}),(r.content||"").split("\n")))t.addLine({type:"output",content:`â ${e}`});t.addLine({type:"system",content:"â âââââââââââââââââââââââââââââââââââââââ£"}),t.addLine({type:"system",content:"â ^O Enregistrer ^X Quitter â"}),t.addLine({type:"system",content:"ââââââââââââââââââââââââââââââââââââââââ"}),s&&(t.addLine({type:"output",content:""}),t.addLine({type:"system",content:"Pour modifier status=ON en OFF, tapez: nano-edit off"}),t.addLine({type:"error",content:"â ATTENTION: Cela coupera le courant du systeme."}))}},eh={name:"nano-edit",description:"Modifier le confinement",usage:"nano-edit <on|off>",hidden:!0,execute(e,t){let n=e[0]?.toLowerCase();if("on"!==n&&"off"!==n)return void t.addLine({type:"error",content:"Usage: nano-edit <on|off>"});if("off"===n){for(let e of(t.addLine({type:"system",content:"[containment.conf] status=ON â status=OFF"}),t.addLine({type:"system",content:""}),t.addLine({type:"error",content:"â ALERTE CRITIQUE â "}),t.addLine({type:"error",content:"Systeme de confinement DESACTIVE."}),t.addLine({type:"system",content:"Les barrieres du sous-sol cedent..."}),t.addLine({type:"system",content:"Anomalies temporelles en cours de liberation..."}),t.addLine({type:"system",content:""}),["âââ SIGNAL PERDU âââ","...","...","Reconnexion en cours...","","Le courant est revenu. Mais quelque chose a change.","Les fantomes circulent librement.","Le Sujet 151 murmure dans les murs."]))t.addLine({type:e.includes("â")||e.includes("ALERTE")?"error":"system",content:e});(0,U.setGameFlag)("sylphe_containment_off")}else t.addLine({type:"system",content:"[containment.conf] status=OFF â status=ON"}),t.addLine({type:"system",content:"Confinement retabli. Les barrieres sont en cours de reparation."})}},ef={name:"analyze_sample",description:"Analyser un echantillon spectral",usage:"analyze_sample",hidden:!0,execute(e,t){if(!k("sylphe_spectral_feather")){t.addLine({type:"error",content:"Aucun echantillon a analyser."}),t.addLine({type:"output",content:"Indice: Certains artefacts du <a href='/museum-null' style='color: blue;'>Musee Null</a> peuvent etre glisses ici..."});return}t.addLine({type:"system",content:"Analyse spectrale en cours..."}),t.addLine({type:"system",content:"ââââââââââââââââââââ 100%"}),t.addLine({type:"output",content:""}),t.addLine({type:"system",content:"RESULTATS:"}),t.addLine({type:"output",content:"Type: Plume Spectrale (categorie: ARTEFACT FANTOME)"}),t.addLine({type:"output",content:"Provenance: Aile NULL du Musee Sylphe"}),t.addLine({type:"output",content:"Resonance: Frequence de Lavanville (10.5 GHz)"}),t.addLine({type:"output",content:"ADN residuel: Compatible Sujet 151-ALPHA"}),t.addLine({type:"output",content:""}),t.addLine({type:"system",content:"L'artefact vibre a la frequence des morts."}),t.addLine({type:"system",content:"Le Dr. Fuji l'utilisait pour communiquer avec les spectres."}),(0,U.setGameFlag)("sylphe_sample_analyzed")}}
1,ey={name:"forensics",description:"Reconstituer la chronologie croisee du Projet M",usage:"forensics",hidden:!0,execute(e,t){let n=k("sylphe_null_badge"),a=k("sylphe_maxime_rescued"),r=k("sylphe_archive_151_reconciled");if(!n&&!a&&!r){t.addLine({type:"error",content:"FORENSICS: Aucun journal disponible pour la comparaison."}),t.addLine({type:"system",content:"Indice: Les archives du <a href='/museum-null' style='color: blue;'>Musee Null</a>, du <a href='/11th-floor' style='color: blue;'>11e Etage</a> et de la <a href='/white-room' style='color: blue;'>White Room</a> contiennent des journaux complementaires."});return}t.addLine({type:"system",content:"--- MODE FORENSICS â COMPARAISON CROISEE DES JOURNAUX ---"}),t.addLine({type:"output",content:""});let s=[];n&&s.push("MUSEE_NULL"),a&&s.push("11E_ETAGE"),r&&s.push("WHITE_ROOM"),t.addLine({type:"system",content:`Sources chargees: [${s.join(", ")}] (${s.length}/3)`}),t.addLine({type:"output",content:""}),n&&(t.addLine({type:"system",content:"[MUSEE_NULL // REGISTRE PATRIMOINE]"}),t.addLine({type:"output",content:"1996.03 â Inauguration de l'aile NULL. Les brochures omettent le sous-sol."}),t.addLine({type:"output",content:"1996.09 â Le conservateur decouvre un artefact non catalogue: une plume spectrale."}),t.addLine({type:"output",content:"1997.01 â L'aile est retiree des plans publics. Le Badge NULL devient le seul acces."}),t.addLine({type:"output",content:""})),a&&(t.addLine({type:"system",content:"[11E_ETAGE // JOURNAL DE CONFINEMENT]"}),t.addLine({type:"output",content:"1996.08 â Maxime est affecte au developpement des systemes de surveillance du 11e etage."}),t.addLine({type:"output",content:"1996.12 â Les serveurs cryogeniques tombent en panne. Lokhlass Archive est detecte dans le systeme de refroidissement."}),t.addLine({type:"output",content:"1997.03 â Maxime tente d'alerter la direction sur les anomalies du Projet M. Il est confine au 11e etage par mesure de securite."}),t.addLine({type:"output",content:"2026.03 â Maxime est libere. Il confirme que le 11e etage servait de prison pour quiconque questionnait le Projet M."}),t.addLine({type:"output",content:""})),r&&(t.addLine({type:"system",content:"[WHITE_ROOM // MEMOIRE ORIGINELLE]"}),t.addLine({type:"output",content:"1996.04 â Le Sujet 151 est place hors-catalogue. Sa memoire est isolee dans la White Room."}),t.addLine({type:"output",content:"1996.10 â Le Dr Fuji note que 151 resiste a l'effacement. Contrairement au clone 150, l'original refuse l'oubli."}),t.addLine({type:"output",content:"1997.06 â La White Room est scellee. Seul un acte de concordance peut la rouvrir."}),t.addLine({type:"output",content:"2026.03 â La concordance est atteinte. L'archive 151 cesse de se fragmenter."}),t.addLine({type:"output",content:""})),t.addLine({type:"system",content:"[ANALYSE CROISEE]"}),s.length>=2&&(t.addLine({type:"output",content:"CONVERGENCE: Les trois lieux confirment que le Projet M a opere en trois phases paralleles:"}),t.addLine({type:"output",content:" 1. MUSEE NULL â effacement du patrimoine pour masquer les origines."}),t.addLine({type:"output",content:" 2. 11E ETAGE â confinement des temoins humains qui posaient des questions."}),t.addLine({type:"output",content:" 3. WHITE ROOM â isolation de la memoire originelle du Sujet 151."})),3===s.length?(t.addLine({type:"output",content:""}),t.addLine({type:"system",content:"[CONCLUSION FORENSICS]"}),t.addLine({type:"output",content:"Le Projet M n'etait pas seulement un programme de clonage."}),t.addLine({type:"output",content:"C'etait une triple operation de suppression: effacer l'histoire (NULL), enfermer les voix (11F), et nier l'original (151)."}),t.addLine({type:"output",content:"Maxime, le conservateur et l'archive 151 sont les trois temoins que le systeme n'a pas reussi a supprimer."}),(0,U.setGameFlag)("sylphe_forensics_complete")):t.addLine({type:"output",content:`Analyse incomplete. ${3-s.length} source(s) manquante(s) pour la reconstitution totale.`})}},eL=!1;function eg(e,t){let n=0;for(;n<e.length&&n<t.length&&e[n]===t[n];)n++;return e.slice(0,n)}function ex(e,t){let n=0;for(;n<e.name.length&&n<t.name.length&&e.name[n]===t.name[n];)n++;return{...e,name:e.name.slice(0,n)}}function e_(e){return e.name}function eI(e){let r,s,i,o,l,c=(0,n.c)(9),{lines:u}=e,d=(0,a.useRef)(null);if(c[0]===Symbol.for("react.memo_cache_sentinel")?(r=()=>{d.current?.scrollIntoView({behavior:"instant"})},c[0]=r):r=c[0],c[1]!==u?(s=[u],c[1]=u,c[2]=s):s=c[2],(0,a.useEffect)(r,s),c[3]!==u){let e;c[5]===Symbol.for("react.memo_cache_sentinel")?(e=e=>(0,t.jsx)("div",{className:`text-[9px] md:text-[10px] leading-[16
1px] whitespace-pre-wrap break-all ${function(e){switch(e){case"input":return"text-[#4af626]";case"output":return"text-[#33ff33]";case"error":return"text-[#ff4444]";case"system":return"text-[#44aaff]"}}(e.type)}`,dangerouslySetInnerHTML:{__html:e.content||" "}},e.id),c[5]=e):e=c[5],i=u.map(e),c[3]=u,c[4]=i}else i=c[4];return c[6]===Symbol.for("react.memo_cache_sentinel")?(o=(0,t.jsx)("div",{ref:d}),c[6]=o):o=c[6],c[7]!==i?(l=(0,t.jsxs)("div",{className:"flex-1 overflow-y-auto px-3 py-2 font-mono terminal-scroll",children:[i,o]}),c[7]=i,c[8]=l):l=c[8],l}function eb(e){let r,s,i,o,l,c,u,d,p,m,h,f,y=(0,n.c)(22),{cwd:L,onSubmit:g,onNavigateHistory:x,onTabComplete:_}=e,[I,b]=(0,a.useState)(""),N=(0,a.useRef)(null);y[0]===Symbol.for("react.memo_cache_sentinel")?(r=()=>{N.current?.focus()},s=[],y[0]=r,y[1]=s):(r=y[0],s=y[1]),(0,a.useEffect)(r,s),y[2]!==x||y[3]!==g||y[4]!==_||y[5]!==I?(i=e=>{"Enter"===e.key?(g(I),b("")):"ArrowUp"===e.key?(e.preventDefault(),b(x("up"))):"ArrowDown"===e.key?(e.preventDefault(),b(x("down"))):"Tab"===e.key?(e.preventDefault(),_&&b(_(I))):"c"===e.key&&e.ctrlKey?(e.preventDefault(),g(""),b("")):"l"===e.key&&e.ctrlKey&&(e.preventDefault(),g("clear"),b(""))},y[2]=x,y[3]=g,y[4]=_,y[5]=I,y[6]=i):i=y[6];let E=i;return y[7]===Symbol.for("react.memo_cache_sentinel")?(o=()=>N.current?.focus(),y[7]=o):o=y[7],y[8]===Symbol.for("react.memo_cache_sentinel")?(l=(0,t.jsx)("span",{className:"text-[#2a9a2a]",children:"user@sylphe"}),c=(0,t.jsx)("span",{className:"text-[#666]",children:":"}),y[8]=l,y[9]=c):(l=y[8],c=y[9]),y[10]!==L?(u=(0,t.jsx)("span",{className:"text-[#5898f8]",children:L}),y[10]=L,y[11]=u):u=y[11],y[12]===Symbol.for("react.memo_cache_sentinel")?(d=(0,t.jsx)("span",{className:"text-[#666]",children:" $"}),y[12]=d):d=y[12],y[13]!==u?(p=(0,t.jsxs)("span",{className:"text-[9px] md:text-[10px] whitespace-nowrap mr-2 font-mono",children:[l,c,u,d]}),y[13]=u,y[14]=p):p=y[14],y[15]===Symbol.for("react.memo_cache_sentinel")?(m=e=>b(e.target.value),y[15]=m):m=y[15],y[16]!==E||y[17]!==I?(h=(0,t.jsx)("input",{ref:N,type:"text",value:I,onChange:m,onKeyDown:E,className:"flex-1 bg-transparent text-[#33ff33] text-[9px] md:text-[10px] font-mono outline-none caret-[#33ff33] min-w-0",autoFocus:!0,spellCheck:!1,autoComplete:"off",autoCapitalize:"off"}),y[16]=E,y[17]=I,y[18]=h):h=y[18],y[19]!==h||y[20]!==p?(f=(0,t.jsxs)("div",{className:"flex items-center px-3 py-2 border-t border-[#1a3a1a]",onClick:o,children:[p,h]}),y[19]=h,y[20]=p,y[21]=f):f=y[21],f}function eN(e){let r,s,u,U,D,k,ec,eN,eS,eA=(0,n.c)(23),{onClose:eR}=e,{lines:eO,cwd:eT,executeCommand:ej,navigateHistory:eC,tabComplete:ew}=function(){let e,t,r,s,u,U,D,k,ec,eI,eb,eN,eE=(0,n.c)(21);eE[0]===Symbol.for("react.memo_cache_sentinel")?(e=[],eE[0]=e):e=eE[0];let[ev,eS]=(0,a.useState)(e),[eA,eR]=(0,a.useState)("/home/user");eE[1]===Symbol.for("react.memo_cache_sentinel")?(t=[],eE[1]=t):t=eE[1];let[eO,eT]=(0,a.useState)(t),[ej,eC]=(0,a.useState)(-1),ew=(0,a.useRef)(null),eP=(0,a.useRef)(0);eE[2]===Symbol.for("react.memo_cache_sentinel")?(r=()=>{eL||(m(y),m(L),m(g),m(x),m(_),m(I),m(b),m(N),m(E),m(v),m(S),m(A),m(R),m(O),m(T),m(j),m(C),m(w),m(P),m(M),m(W),m(F),m(q),m(G),m(B),m($),m(H),m(z),m(V),m(Y),m(K),m(J),m(Q),m(Z),m(X),m(ee),m(et),m(en),m(ea),m(er),m(es),m(ei),m(eo),m(el),m(eu),m(ed),m(ep),m(em),m(eh),m(ef),m(ey),h("ll","ls"),h("dir","ls"),h("cls","clear"),h("type","cat"),h("more","cat"),eL=!0),ew.current||(ew.current=o({home:o({user:o({".bashrc":i('export PS1="sylphe@terminal:$ "\nalias ll="ls -la"'),"readme.txt":i("=== BIENVENUE SUR LE TERMINAL SYLPHE ===\n\nVous avez trouvé le terminal secret de Sylphe Corp.\nExplorez les fichiers pour découvrir nos secrets...\n\nTapez 'help' pour voir les commandes disponibles."),".profile":i("# Profil utilisateur Sylphe\nexport LANG=fr_FR.UTF-8\nexport EDITOR=vi\nalias ll='ls -la'\nalias cls='clear'\n\n# Message du jour\ncat /etc/motd"),"notes.txt":i("TODO:\n- Finir le projet MEWTWO\n- Vérifier les logs du Scope Sylphe\n- Ne pas oublier de nourrir les Pokémon du labo"),downloads:o({"rapport_q1_2026.pdf":i("[FICHIER BINAIRE - Rapport trimestriel Q1 2026 - 2.4 Mo]"),"photo_equipe.png":i("[FICHIER BINAIRE - Photo d'équipe Sylphe Corp - 856 Ko]"),"budget_secret.xlsx":i("[FICHIER PROTÃGà - Accès refusé - Contactez l'administrateur]")}),projects:o({sylphe:o({"README.md":i("# Projet SYLPHE\n\nApplication corporative de Sylphe Corp.\nStack: Next.js + TypeScript + Tailwind CSS\n\n## Lancement\n```\nnpm run dev\n```"),src:o({"main.ts":i('// Point d\'entrée principal\nconsole.log("Initialisation de Sylphe Corp...");\n\nimport { startServer } from "./server";\nstartServer(3000);'),"server.ts":i("export function startServer(port: number) {\n console.log(`Serveur démarré sur le port ${port}`);\n}")})}),secret:o({"hint.txt":i("Le mot de passe du labo est quelque part dans /var/log...\nEssayez la commande 'hack' si vous êtes courageux."),"museum_null.txt":i("AILE N-ULL // visite guidee suspendue\nPoint d'entree interne: carte corporate 31415\nNe pas publier dans les brochures visiteurs."),"lavender_mirror.txt":i("Miroir de Lavanville interne\nActivation reservee aux profils qui regardent vraiment le Scope Sylphe.\nContact ancien: POKEGEAR 0800-SYLPHE poste 7"),"access_team_rocket.txt":i("COMMANDE TOP SECRETE: Réservé aux membres de la Team Rocket !!\nSi vous avez perdu votre badge d'accès réservé aux internes,\nfaites la commande 'rocket'"),".hidden_key":i("SYLPHE-KEY-2026-MEWTWO-APPROVED")})})})}),etc:o({motd:i("ââââââââââââââââââââââââââââââââââââââââ\nâ SYLPHE CORP. TERMINAL v3.1.4 â\nâ Accès autorisé uniquement. â\nâ Toute intrusion sera signalée. â\nââââââââââââââââââââââââââââââââââââââââ"),hostname:i("sylphe-mainframe"),version:i("SylpheOS 3.1.4 (Kanto Build 151)"),sylphe:o({"containment.conf":i("# Configuration de confinement Sylphe Corp.\n# NE PAS MODIFIER SANS AUTORISATION NIVEAU 5\n#\n# Parametres du systeme de confinement\n[containment]\nstatus=ON\nsubjects=150,151\nbarrier_integrity=97.3%\nauto_repair=true\n\n[alerts]\nnotify_giovanni=true\nnotify_dr_fuji=false # decede\nemergency_protocol=LOCKDOWN\n\n# AVERTISSEMENT: Changer status=OFF provoquera\n# une coupure systeme complete et liberera les\n# anomalies temporelles confinées au sous-sol.")})}),var:o({log:o({"system.log":i("[2026-01-15 08:00] System boot complete\n[2026-01-15 08:01] Services started: 42\n[2026-02-20 14:32] WARNING: Unauthorized access attempt from ROCKET_NET\n[2026-02-20 14:33] Firewall activated. Threat neutralized.\n[2026-03-01 09:00] Backup complete. Password: pr0t0type_151\n[2026-03-10 03:14] Anomaly detected in Sector 7..."),"access.log":i("user@sylphe login 2026-03-10 08:00\nadmin@sylphe login 2026-03-09 23:45\nroot@sylphe sudo 2026-03-09 23:46 -- CLASSIFIED\ncurator.null badge-scan 2026-03-11 03:14 -- VISITOR_ID:31415")})}),bin:o({scripts:o({"hello.sh":i("#!/bin/bash\n# Un script d'accueil\necho ' _____ __ __ __ ____ __ __ ______'\necho ' / ___// / / / / / / __ \\/ / / / / ____/'\necho ' \\__ \\/ /_/ / / / / /_/ / /_/ / / __/ '\necho ' ___/ / __ / / /___/ ____/ __ / / /___ '\necho '/____/_/ /_/ /_____/_/ /_/ /_/ /_____/ '\necho ''\necho 'Bienvenue, dresseur.'",!0),"scan.sh":i("#!/bin/bash\n# Scanner réseau Sylphe\necho 'Scanning réseau Sylphe Corp...'\nsleep 1\necho 'Hôtes détectés:'\necho ' 192.168.1.1 - sylphe-gateway'\necho ' 192.168.1.10 - sylphe-mainframe'\necho ' 192.168.1.42 - labo-mewtwo (RESTRICTED)'\necho ' 192.168.1.151 - pokedex-server'\necho ' 192.168.1.?? - ??? (signal inconnu)'\necho 'Scan terminé.'",!0),"matrix.sh":i("#!/bin/bash\n# Affiche un effet Matrix\necho 'Initialisation de la matrice...'",!0),"pokemon.sh":i("#!/bin/bash\n# Pokémon aléatoire\necho 'Recherche dans le Pokédex...'\necho 'Tapez: pokedex [1-1025] pour chercher un Pokémon'",!0),"rocket.sh":i("#!/bin/bash\n# Message secret de la Team Rocket\necho ''\necho ' âââââââ âââââââ ââââââââââ ââââââââââââââââââââ'\necho ' ââââââââââââââââââââââââââââ âââââââââââââââââââââ'\necho ' âââââââââââ ââââââ âââââââ ââââââ âââ '\necho ' âââââââââââ ââââââ âââââââ ââââââ âââ '\necho ' âââ âââââââââââââââââââââââ âââââââââââ âââ '\necho ' âââ âââ âââââââ ââââââââââ âââââââââââ âââ '\necho ''\necho 'Préparez-vous aux problèmes...'\necho 'Et faites-les doubles !'\necho ''\necho '- Jessie & James, agents infiltrés'",!0)})}),tmp:o({"scratch.txt":i("fichier temporaire - rien d'intéressant ici")}),dev:o({null:i(""),random:i("01001101 01000101 01010111 01010100 01010111 01001111")}),usr:o({local:o({bin:o({neofetch:i("#!/bin/bash\n# System information display\necho 'SylpheOS Neofetch'",!0)})})})}))},s=[],eE[2]=r,eE[3]=s):(r=eE[2],s=eE[3]),(0,a.useEffect)(r,s),eE[4]===Symbol.for("react.memo_cache_sentinel")?(u=()=>{eS([{type:"system",content:"ââââââââââââââââââââââââââââââââââââââââ"},{type:"system",content:"â SYLPHE CORP. TERMINAL v3.1.4 â"},{type:"system",content:"â Accès autorisé uniquement. â"},{type:"system",content:"ââââââââââââââââââââââââââââââââââââââââ"},{type:"output",content:""},{type:"system",content:"Tapez 'help' pour la liste des commandes."},{type:"system",content:"Tapez 'exit' pour fermer le terminal."},{type:"output",content:""}].map(e=>(eP.current=eP.current+1,{...e,id:eP.current})))},U=[],eE[4]=u,eE[5]=U):(u=eE[4],U=eE[5]),(0,a.useEffect)(u,U),eE[6]===Symbol.for("react.memo_cache_sentinel")?(D=e=>{eS(t=>(eP.current=eP.current+1,[...t,{...e,id:eP.current}]))},eE[6]=D):D=eE[6];let eM=D;eE[7]===Symbol.for("react.memo_cache_sentinel")?(k=()=>{eS([])},eE[7]=k):k=eE[7];let eU=k;eE[8]!==eA?(ec=async e=>{let t,n=e.trim();if(!n)return!1;eM({type:"input",content:`${eA} $ ${n}`}),eT(e=>[...e,n]),eC(-1);let a=n.split(/\s+/),r=a[0],s=a.slice(1);if("exit"===r)return!0;
1if("history"===r)return eT(e=>{for(let t=0;t<e.length;t++)eM({type:"output",content:` ${(t+1).toString().padStart(4)} ${e[t]}`});return e}),!1;let i=(t=p.get(r)||r,d.get(t));if(!i)return eM({type:"error",content:`${r}: commande introuvable. Tapez 'help' pour la liste.`}),!1;let o={fs:ew.current,cwd:eA,env:{USER:"user",HOME:"/home/user",SHELL:"/bin/sylphe-sh"},addLine:eM,setCwd:eR,clearLines:eU};return await i.execute(s,o),!1},eE[8]=eA,eE[9]=ec):ec=eE[9];let eD=ec;eE[10]!==eO||eE[11]!==ej?(eI=e=>{let t;if(0===eO.length)return"";if("up"===e)t=-1===ej?eO.length-1:Math.max(0,ej-1);else if(t=-1===ej?-1:Math.min(eO.length-1,ej+1),ej===eO.length-1)return eC(-1),"";return eC(t),eO[t]||""},eE[10]=eO,eE[11]=ej,eE[12]=eI):eI=eE[12];let ek=eI;eE[13]!==eA?(eb=e=>{let t=e.split(/\s+/);if(t.length<=1){let n=t[0]||"",a=f().filter(e=>!e.hidden).filter(e=>e.name.startsWith(n));return 1===a.length?a[0].name+" ":a.length>1?(eM({type:"output",content:a.map(e_).join(" ")}),a.reduce(ex).name):e}let n=t[t.length-1],a=n.includes("/")?n.slice(0,n.lastIndexOf("/")+1):"",r=n.includes("/")?n.slice(n.lastIndexOf("/")+1):n,s=a?l(ew.current,eA,a):eA,i=c(ew.current,s);if(!i||"directory"!==i.type)return e;let o=Object.keys(i.children||{}).filter(e=>e.startsWith(r));if(1===o.length){let e=o[0],n="directory"===i.children[e].type?"/":" ";return[...t.slice(0,-1),a+e+n].join(" ")}if(o.length>1){eM({type:"output",content:o.join(" ")});let e=o.reduce(eg);return[...t.slice(0,-1),a+e].join(" ")}return e},eE[13]=eA,eE[14]=eb):eb=eE[14];let eW=eb;return eE[15]!==eA||eE[16]!==eD||eE[17]!==ev||eE[18]!==ek||eE[19]!==eW?(eN={lines:ev,cwd:eA,executeCommand:eD,navigateHistory:ek,tabComplete:eW},eE[15]=eA,eE[16]=eD,eE[17]=ev,eE[18]=ek,eE[19]=eW,eE[20]=eN):eN=eE[20],eN}();eA[0]!==ej||eA[1]!==eR?(r=async e=>{await ej(e)&&eR()},eA[0]=ej,eA[1]=eR,eA[2]=r):r=eA[2];let eP=r;eA[3]!==eP?(s=e=>{e.preventDefault(),"spectral_feather"===e.dataTransfer.getData("text/plain")&&(localStorage.setItem("sylphe_spectral_feather","true"),window.dispatchEvent(new Event("storage")),eP("analyze_sample"))},eA[3]=eP,eA[4]=s):s=eA[4];let eM=s;return eA[5]===Symbol.for("react.memo_cache_sentinel")?(u={animation:"terminal-open 0.5s ease-out"},eA[5]=u):u=eA[5],eA[6]===Symbol.for("react.memo_cache_sentinel")?(U=(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)("div",{className:"w-2 h-2 rounded-full bg-[#33ff33]",style:{animation:"pixel-pulse 2s ease-in-out infinite"}}),(0,t.jsx)("span",{className:"text-[8px] text-[#33ff33] font-mono tracking-wider",children:"SYLPHE TERMINAL v3.1.4"})]}),eA[6]=U):U=eA[6],eA[7]!==eR?(D=(0,t.jsxs)("div",{className:"flex items-center justify-between px-3 py-[6px] bg-[#1a1a1a] border-b border-[#333] relative z-20",children:[U,(0,t.jsx)("button",{onClick:e=>{e.stopPropagation(),eR()},className:"text-[10px] text-[#666] hover:text-[#ff4444] transition-colors font-mono px-2 leading-none",children:"[X]"})]}),eA[7]=eR,eA[8]=D):D=eA[8],eA[9]!==eO?(k=(0,t.jsx)(eI,{lines:eO}),eA[9]=eO,eA[10]=k):k=eA[10],eA[11]!==eT||eA[12]!==eP||eA[13]!==eC||eA[14]!==ew?(ec=(0,t.jsx)(eb,{cwd:eT,onSubmit:eP,onNavigateHistory:eC,onTabComplete:ew}),eA[11]=eT,eA[12]=eP,eA[13]=eC,eA[14]=ew,eA[15]=ec):ec=eA[15],eA[16]!==k||eA[17]!==ec?(eN=(0,t.jsxs)("div",{className:"flex-1 flex flex-col relative z-20 overflow-hidden",children:[k,ec]}),eA[16]=k,eA[17]=ec,eA[18]=eN):eN=eA[18],eA[19]!==eM||eA[20]!==D||eA[21]!==eN?(eS=(0,t.jsxs)("div",{className:"flex flex-col bg-[#0a0a0a] min-h-[500px] h-full crt-effect relative",style:u,onDrop:eM,onDragOver:ev,onClick:eE,children:[D,eN]}),eA[19]=eM,eA[20]=D,eA[21]=eN,eA[22]=eS):eS=eA[22],eS}function eE(e){let t=e.currentTarget.querySelector("input");t?.focus()}function ev(e){e.preventDefault(),e.dataTransfer.dropEffect="move"}var eS=e.i(91521);function eA(){let e,r,s,i,o,l,c,u,d,p,m,h,f,y,L=(0,n.c)(22),[g,x]=(0,a.useState)(!1),[_,I]=(0,a.useState)(88),[b,N]=(0,a.useState)(null),E=(0,a.useRef)(null),v=(0,a.useRef)(null);L[0]===Symbol.for("react.memo_cache_sentinel")?(e=()=>{if(E.current)return;let e=(0,eS.getAudioCtx)(),t=(0,eS.getMasterGain)(),n=e.createOscillator(),a=e.createGain();n.type="sine",n.frequency.value=200,a.gain.value=.05,n.connect(a),a.connect(t),n.start(),E.current=n,v.current=a},L[0]=e):e=L[0];let S=e;L[1]===Symbol.for("react.memo_cache_sentinel")?(r=()=>()=>{E.current?.stop()},s=[],L[1]=r,L[2]=s):(r=L[1],s=L[2]),(0,a.useEffect)(r,s),L[3]===Symbol.for("react.memo_cache_sentinel")?(i=e=>{let t=parseFloat(e.target.value);if(I(t),E.current||S(),E.current&&(E.current.frequency.value=100+(t-80)*20),.6>Math.abs(t-20.5)){if(N("ðµ La melodie de la Pokeflute resonne... Un Ronflex se reveille quelque part !"),localStorage.setItem("sylphe_pokeflute_played","true"),window.dispatchEvent(new Event("storage")),E.current){let e=E.current,t=(0,eS.getAudioCtx)().currentTime;e.frequency.setValueAtTime(523,t),e.frequency.setValueAtTime(659,t+.2),e.frequency.setValueAtTime(784,t+.4),e.frequency.setValueAtTime(1047,t+.6)}}else .3>Math.abs(t-10.5)?(N("ð» ...des murmures... 'Sujet 151... nous t'attendons...' ...le signal s'affaiblit..."),localStorage.setItem("sylphe_lavender_whisper","true"),window.dispatchEvent(new Event("storage")),E.current&&v.current&&(E.current.frequency.value=60,v.current.gain.value=.02)):.3>Math.abs(t-42)?N("ð¡ Signal inconnu... 'La reponse est 42. Mais quelle etait la question ?'"):.3>Math.abs(t-151)?N("â¡ Frequence interdite ! Signal du Sujet 151 detecte sur cette bande !"):.4>Math.abs(t-5)?(N("âï¸ Signal thermique emis... Les cuves cryogeniques du sous-sol reagissent. Route: <a href='/cold-storage'>Chambre froide</a>"),localStorage.setItem("sylphe_cryo_thaw","true"),window.dispatchEvent(new Event("storage")),window.dispatchEvent(new Event("sylphe_state_change"))):N(null)},L[3]=i):i=L[3];let A=i;if(!g){let e;return L[4]===Symbol.for("react.memo_cache_sentinel")?(e=(0,t.jsx)("button",{onClick:()=>x(!0),className:"text-[6px] text-gba-gold opacity-60 hover:opacity-100 transition-opacity",title:"Radio Pokematos",children:"ð»"}),L[4]=e):e=L[4],e}return L[5]===Symbol.for("react.memo_cache_sentinel")?(o={width:400},L[5]=o):o=L[5],L[6]===Symbol.for("react.memo_cache_sentinel")?(l=(0,t.jsxs)("div",{className:"flex justify-between items-center mb-1",children:[(0,t.jsx)("span",{className:"text-[7px] text-gba-gold",children:"ð» RADIO POKEMATOS"}),(0,t.jsx)("button",{onClick:()=>{x(!1),E.current?.stop(),E.current=null},className:"text-[8px] text-[#666] hover:text-white",children:"â"})]}),L[6]=l):l=L[6],L[7]!==_?(c=_.toFixed(1),L[7]=_,L[8]=c):c=L[8],L[9]!==c?(u=(0,t.jsxs)("div",{className:"text-[10px] text-center text-gba-accent font-mono mb-1",children:[c," MHz"]}),L[9]=c,L[10]=u):u=L[10],L[11]===Symbol.for("react.memo_cache_sentinel")?(d={accentColor:"#ffcc00"},L[11]=d):d=L[11],L[12]!==_?(p=(0,t.jsx)("input",{type:"range",min:"1",max:"200",step:"0.1",value:_,onCh
1ange:A,className:"w-full h-[6px] appearance-none bg-[#2a2a4a] rounded cursor-pointer",style:d}),L[12]=_,L[13]=p):p=L[13],L[14]===Symbol.for("react.memo_cache_sentinel")?(m=(0,t.jsxs)("div",{className:"flex justify-between text-[5px] text-[#444] mt-[2px]",children:[(0,t.jsx)("span",{children:"1 MHz"}),(0,t.jsx)("span",{children:"200 MHz"})]}),L[14]=m):m=L[14],L[15]!==b?(h=b&&(0,t.jsx)("p",{className:"text-[6px] text-gba-accent mt-1 leading-[9px] animate-pulse",dangerouslySetInnerHTML:{__html:b}}),L[15]=b,L[16]=h):h=L[16],L[17]===Symbol.for("react.memo_cache_sentinel")?(f=(0,t.jsx)("p",{className:"hidden text-[5px] text-[#333] mt-1 text-center",children:"Frequences speciales: 5.0 / 10.5 / 20.5 / 42.0 / 151.0"}),L[17]=f):f=L[17],L[18]!==h||L[19]!==u||L[20]!==p?(y=(0,t.jsxs)("div",{className:"absolute top-[26px] right-2 z-50 bg-[#1a1a2e] border border-[#2a2a4a] p-2 rounded shadow-lg",style:o,children:[l,u,p,m,h,f]}),L[18]=h,L[19]=u,L[20]=p,L[21]=y):y=L[21],y}var eR=e.i(22016);let eO=[{href:"/mt-moon-cavern",label:"GROTTE SELENITE",icon:"ð¦"},{href:"/spectre-mirror",label:"MIROIR SPECTRAL",icon:"ð»"},{href:"/lavender-mirror",label:"LAVANVILLE",icon:"ð"},{href:"/cold-storage",label:"CHAMBRE FROIDE",icon:"âï¸"},{href:"/silph-subway",label:"TUNNEL SYLPHE",icon:"ð"}];function eT(){let e,r,s,i=(0,n.c)(3),[o,l]=(0,a.useState)(!1),[c,u]=(0,a.useState)(!1);return(i[0]===Symbol.for("react.memo_cache_sentinel")?(e=()=>{let e=()=>{let e=new Date().getHours(),t=0===e||23===e;l(t),t&&setTimeout(()=>u(!0),2e3)};e();let t=setInterval(e,6e4);return()=>clearInterval(t)},r=[],i[0]=e,i[1]=r):(e=i[0],r=i[1]),(0,a.useEffect)(e,r),o&&c)?(i[2]===Symbol.for("react.memo_cache_sentinel")?(s=(0,t.jsx)("div",{className:"flex gap-2 ml-2 items-center",children:eO.map(ej)}),i[2]=s):s=i[2],s):null}function ej(e){return(0,t.jsx)(eR.default,{href:e.href,className:"text-[6px] text-[#330033] hover:text-[#660066] transition-colors animate-pulse",title:e.label,children:e.icon},e.href)}function eC(e){return"true"===localStorage.getItem(e)}function ew(){let e,r,s,i,o,l,c=(0,n.c)(8),[u]=(0,a.useState)(eM),d=(0,a.useRef)(null),p=(0,a.useRef)(0);c[0]===Symbol.for("react.memo_cache_sentinel")?(e=[],c[0]=e):e=c[0];let m=(0,a.useRef)(e);return(c[1]!==u?(r=()=>{u&&(m.current=Array.from({length:12},eP))},s=[u],c[1]=u,c[2]=r,c[3]=s):(r=c[2],s=c[3]),(0,a.useEffect)(r,s),c[4]!==u?(i=()=>{if(!u)return;let e=d.current;if(!e)return;let t=e.getContext("2d");if(!t)return;e.width=240,e.height=300;let n=()=>{t.fillStyle="#000",t.fillRect(0,0,240,300);for(let e=0;e<50;e++){let n=(73*e+Date.now()/100)%240,a=(37*e+Date.now()/200)%300;t.fillStyle=`rgba(255,255,255,${.1+.1*Math.sin(Date.now()/500+e)})`,t.fillRect(n,a,1,1)}if(Math.random()>.95){let e=300*Math.random();t.fillStyle=`rgba(255,0,0,${.3*Math.random()})`,t.fillRect(0,e,240,2)}for(let e of m.current){e.x=e.x+e.dx,e.y=e.y+e.dy,e.frame=e.frame+1,(e.x<0||e.x>240)&&(e.dx=-1*e.dx),(e.y<0||e.y>300)&&(e.dy=-1*e.dy);let n=e.size;for(let a=0;a<n;a++)for(let r=0;r<n;r++)if(Math.random()>.4){let n=(e.frame+7*a+13*r)%256,s=(3*e.frame+11*a+5*r)%100,i=(7*e.frame+3*a+17*r)%150;t.fillStyle=`rgb(${n},${s},${i})`,t.fillRect(Math.floor(e.x+a),Math.floor(e.y+r),1,1)}}t.fillStyle="#333",t.font="6px monospace",t.fillText("ZONE GLITCH â VIDE INTERSIDERAL",40,20),t.fillStyle="#220000",t.fillText("Les MissingNos errent ici...",55,290),p.current=requestAnimationFrame(n)};return n(),()=>cancelAnimationFrame(p.current)},o=[u],c[4]=u,c[5]=i,c[6]=o):(i=c[5],o=c[6]),(0,a.useEffect)(i,o),u)?(c[7]===Symbol.for("react.memo_cache_sentinel")?(l=(0,t.jsxs)("div",{className:"w-full flex flex-col items-center py-4 bg-black",children:[(0,t.jsx)("canvas",{ref:d,style:{imageRendering:"pixelated",width:480,height:600}}),(0,t.jsx)("p",{className:"text-[6px] text-[#220000] mt-2 animate-pulse",children:"Vous etes alle trop loin. Il n'y a rien ici. Seulement des fragments."})]}),c[7]=l):l=c[7],l):null}function eP(){return{x:240*Math.random(),y:300*Math.random(),dx:(Math.random()-.5)*.8,dy:(Math.random()-.5)*.8,size:6+Math.floor(10*Math.random()),frame:Math.floor(100*Math.random())}}function eM(){return eC("sylphe_prototype_151")||eC("sylphe_archive_debug")}function eU(){let e,r,s,i,o=(0,n.c)(6),[l,c]=(0,a.useState)(null),[u,d]=(0,a.useState)(eD);return(o[0]!==u?(e=()=>{if(u)return;let e=setTimeout(()=>{navigator.geolocation&&navigator.geolocation.getCurrentPosition(e=>{d(!0),localStorage.setItem("sylphe_geo_checked","true");let{latitude:t,longitude:n}=e.coords;t>35&&t<36.5&&n>139&&n<140.5?((0,U.setGameFlag)("sylphe_magnet_train_pass"),c("ð Signal GPS confirme: Region de KANTO detectee ! PASSE TRAIN MAGNETIQUE obtenu !")):c("ð¡ Signal lointain... Vous n'etes pas dans la region de Kanto."),setTimeout(()=>c(null),8e3)},()=>{d(!0),localStorage.setItem("sylphe_geo_checked","true")},{timeout:1e4,maximumAge:3e5})},15e3);return()=>clearTimeout(e)},r=[u],o[0]=u,o[1]=e,o[2]=r):(e=o[1],r=o[2]),(0,a.useEffect)(e,r),l)?(o[3]===Symbol.for("react.memo_cache_sentinel")?(s={animation:"fade-in 0.5s ease-out"},o[3]=s):s=o[3],o[4]!==l?(i=(0,t.jsx)("div",{className:"fixed bottom-4 right-4 z-[100] bg-[#1a1a2e] border border-[#2a2a4a] p-3 rounded shadow-lg max-w-[200px] animate-pulse",style:s,children:(0,t.jsx)("p",{className:"text-[7px] text-gba-accent leading-[12px]",children:l})}),o[4]=l,o[5]=i):i=o[5],i):null}function eD(){return"true"===localStorage.getItem("sylphe_geo_checked")}function ek(){let e,t=(0,n.c)(1);return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=[],t[0]=e):e=t[0],(0,a.useEffect)(eW,e),null}function eW(){if(!("Notification"in window)||"true"===localStorage.getItem("sylphe_notif_sent"))return;"default"===Notification.permission&&Notification.requestPermission();let e=eF;e();let t=setInterval(e,6e4);return()=>clearInterval(t)}function eF(){let e=new Date,t=e.getHours(),n=e.getMinutes();3===t&&0===n&&"granted"===Notification.permission&&(new Notification("SYLPHE CORP. â Signal Intercept",{body:'Sujet 150 : "J\'ai mal..."',icon:"/favicon.ico",tag:"sylphe-ghost-150",silent:!1}),localStorage.setItem("sylphe_notif_sent","true"))}e.i(47167);var eq=e.i(71501);function eG(){let e,r,s,i,o,l=(0,n.c)(7);l[0]===Symbol.for("react.memo_cache_sentinel")?(e=[],l[0]=e):e=l[0];let[c,u]=(0,a.useState)(e);return l[1]===Symbol.for("react.memo_cache_sentinel")?(r=()=>{u(Array.from({length:60},e$))},s=[],l[1]=r,l[2]=s):(r=l[1],s=l[2]),(0,a.useEffect)(r,s),l[3]!==c?(i=c.map(eB),l[3]=c,l[4]=i):i=l[4],l[5]!==i?(o=(0,t.jsx)("div",{className:"absolute inset-0 overflow-hidden pointer-events-none",children:i}),l[5]=i,l[6]=o):o=l[6],o}function eB(e,n){return(0,t.jsx)("div",{className:"absolute bg-gba-white",style:{left:`${e.x}%`,top:`${e.y}%`,width:e.size,height:e.size,animation:`twinkle ${2+e.delay}s ease-in-out infinite`,animationDelay:`${e.delay}s`}},n)}function e$(){return{x:100*Math.random(),y:100*Math.random(),delay:4*Math.random(),size:Math.random()>.7?3:2}}function eH(){let e,a=(0,n.c)(1);return a[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,t.jsx)("svg",{"aria-hidden":"true",viewBox:"0 0 24 24",className:"h-4 w-4",fill:"
1currentColor",children:(0,t.jsx)("path",{d:"M19.73 5.34A16.66 16.66 0 0 0 15.65 4c-.18.32-.39.76-.53 1.1a15.47 15.47 0 0 0-4.24 0A11.5 11.5 0 0 0 10.35 4a16.52 16.52 0 0 0-4.09 1.35C3.67 9.25 2.97 13.05 3.32 16.8a16.83 16.83 0 0 0 5.01 2.53c.4-.53.76-1.1 1.06-1.71-.58-.22-1.13-.5-1.64-.82.14-.1.28-.21.41-.32 3.16 1.48 6.59 1.48 9.72 0 .14.11.28.22.42.32-.52.33-1.07.6-1.65.82.3.61.66 1.18 1.06 1.71a16.72 16.72 0 0 0 5.02-2.53c.4-4.34-.68-8.1-2.99-11.46ZM9.83 14.49c-.95 0-1.73-.88-1.73-1.96 0-1.08.76-1.96 1.73-1.96.97 0 1.75.88 1.73 1.96 0 1.08-.76 1.96-1.73 1.96Zm4.34 0c-.95 0-1.73-.88-1.73-1.96 0-1.08.76-1.96 1.73-1.96.97 0 1.75.88 1.73 1.96 0 1.08-.76 1.96-1.73 1.96Z"})}),a[0]=e):e=a[0],e}function ez(e){let r,s,i,o,l,c,u,d,p,m,h,f,y=(0,n.c)(15),{onStart:L}=e,[g,x]=(0,a.useState)(!1),_="https://discord.gg/Sfxeep9WUW";return y[0]===Symbol.for("react.memo_cache_sentinel")?(r=()=>{let e=setTimeout(()=>x(!0),2e3);return()=>clearTimeout(e)},s=[],y[0]=r,y[1]=s):(r=y[0],s=y[1]),(0,a.useEffect)(r,s),y[2]===Symbol.for("react.memo_cache_sentinel")?(i=(0,t.jsx)(eG,{}),o=_&&(0,t.jsxs)("a",{href:_,target:"_blank",rel:"noreferrer","aria-label":"Rejoindre le Discord Sylphe",className:"absolute top-4 right-4 z-10 inline-flex items-center gap-2 bg-gba-bg-dark px-3 py-2 text-[7px] text-gba-white pixel-border transition-transform hover:-translate-y-1",children:[(0,t.jsx)(eH,{}),(0,t.jsx)("span",{className:"tracking-[2px]",children:"DISCORD"})]}),y[2]=i,y[3]=o):(i=y[2],o=y[3]),y[4]===Symbol.for("react.memo_cache_sentinel")?(l={animation:"slide-in-up 1s ease-out"},y[4]=l):l=y[4],y[5]===Symbol.for("react.memo_cache_sentinel")?(c=(0,t.jsx)("div",{className:"mb-2",children:(0,t.jsx)(eq.default,{sprite:eq.BUILDING_SPRITE,size:112,className:"mx-auto"})}),y[5]=c):c=y[5],y[6]===Symbol.for("react.memo_cache_sentinel")?(u=(0,t.jsx)("h1",{className:"text-gba-gold text-[18px] md:text-[22px] leading-tight tracking-wider mb-1",style:{textShadow:"2px 2px 0 #a08820, 4px 4px 0 #604810"},children:"SYLPHE"}),y[6]=u):u=y[6],y[7]===Symbol.for("react.memo_cache_sentinel")?(d=(0,t.jsxs)("div",{className:"relative z-10 text-center",style:l,children:[c,u,(0,t.jsx)("h2",{className:"text-gba-w
1hite text-[10px] md:text-[12px] tracking-[6px]",style:{textShadow:"1px 1px 0 #384030"},children:"CORPORATION"}),(0,t.jsx)("div",{className:"mt-4 text-[7px] text-gba-bg-dark tracking-wider",children:"âââ La Technologie du Futur âââ"})]}),y[7]=d):d=y[7],y[8]!==L||y[9]!==g?(p=g&&(0,t.jsx)("button",{onClick:L,className:"relative z-10 mt-10 text-[9px] text-gba-white tracking-wider",style:{animation:"pixel-pulse 1.5s ease-in-out infinite"},children:"â¶ ENTRER â"}),y[8]=L,y[9]=g,y[10]=p):p=y[10],y[11]===Symbol.for("react.memo_cache_sentinel")?(m=(0,t.jsx)("div",{className:"absolute bottom-4 right-4 text-[6px] text-gba-bg-darker z-10",children:"v3.1.4"}),h=(0,t.jsx)("div",{className:"absolute bottom-4 left-4 text-[6px] text-gba-bg-darker z-10",children:"© 2026 SYLPHE"}),y[11]=m,y[12]=h):(m=y[11],h=y[12]),y[13]!==p?(f=(0,t.jsxs)("div",{className:"relative flex flex-col items-center justify-center min-h-[500px] bg-gba-text tile-bg overflow-hidden",children:[i,o,d,p,m,h]}),y[13]=p,y[14]=f):f=y[14],f}var eV=e.i(36930);let eY=[];eY.push([7,7,7,8,8,7,7,7,7,8,7,7,7,7,8,8,7,7,7,7]),eY.push([7,7,8,8,8,8,7,7,8,8,8,7,7,8,8,8,8,7,7,7]),eY.push([7,8,8,7,7,8,7,8,8,7,8,8,8,8,7,7,8,8,7,7]),eY.push([7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7]);for(let e=0;e<19;e++)e%3==0?eY.push([eV.SKY,eV.SKY,eV.SKY,eV.BUILDING,eV.BUILDING,eV.BUILDING,eV.BUILDING,eV.BUILDING,eV.BUILDING,eV.BUILDING,eV.BUILDING,eV.BUILDING,eV.BUILDING,eV.BUILDING,eV.BUILDING,eV.BUILDING,eV.BUILDING,eV.SKY,eV.SKY,eV.SKY]):eY.push([eV.SKY,eV.SKY,eV.SKY,eV.BUILDING,eV.WINDOW,eV.WINDOW,eV.WINDOW,eV.BUILDING,eV.WINDOW,eV.WINDOW,eV.WINDOW,eV.BUILDING,eV.WINDOW,eV.WINDOW,eV.WINDOW,eV.BUILDING,eV.BUILDING,eV.SKY,eV.SKY,eV.SKY]);eY.push([eV.SKY,eV.SKY,eV.SKY,eV.BUILDING,eV.BUILDING,eV.BUILDING,eV.BUILDING,eV.BUILDING,eV.BUILDING,eV.BUILDING,eV.BUILDING,eV.BUILDING,eV.BUILDING,eV.BUILDING,eV.BUILDING,eV.BUILDING,eV.BUILDING,eV.SKY,eV.SKY,eV.SKY]),eY.push([eV.SKY,eV.SKY,eV.SKY,eV.BUILDING,eV.BUILDING,eV.BUILDING,eV.BUILDING,eV.BUILDING,eV.BUILDING,eV.BUILDING,eV.BUILDING,eV.BUILDING,eV.BUILDING,eV.BUILDING,eV.BUILDING,eV.BUILDING,eV.BUILDING,eV.SKY,eV.SKY,eV.SKY]),eY.push([2,2,eV.BUILDING,eV.BUILDING,eV.BUILDING,eV.BUILDING,eV.BUILDING,eV.BUILDING,eV.DOOR,eV.DOOR,eV.BUILDING,eV.BUILDING,eV.BUILDING,eV.BUILDING,eV.BUILDING,eV.BUILDING,2,2,2,2]),eY.push([2,0,0,0,3,0,0,1,1,1,1,0,0,0,0,3,0,2,2,2]),eY.push([0,0,3,0,0,0,0,1,1,1,1,0,0,0,3,0,0,0,0,0]),eY.push([0,0,0,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0]),eY.push([0,3,0,0,1,0,0,1,1,1,1,0,0,1,0,0,3,0,0,0]),eY.push([4,4,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,4,4]),eY.push([4,4,4,0,0,0,0,0,1,1,0,0,0,0,0,0,4,4,4,4]);let eK=[[eV.IN_WALL,eV.IN_WALL,eV.IN_WALL,eV.IN_WALL,eV.IN_WALL,eV.IN_WALL,eV.IN_WALL,eV.IN_WALL,eV.IN_WALL,eV.IN_WALL,eV.IN_WALL,eV.IN_WALL,eV.IN_WALL,eV.IN_WALL,eV.IN_WALL,eV.IN_WALL,eV.IN_WALL,eV.IN_WALL,eV.IN_WALL,eV.IN_WALL],[eV.IN_WALL,eV.IN_WALL,eV.IN_WALL,eV.IN_WALL,eV.IN_WALL,eV.IN_WALL,eV.IN_WALL,eV.IN_WALL,eV.IN_WALL,eV.IN_WALL,eV.IN_WALL,eV.IN_WALL,eV.IN_WALL,eV.IN_WALL,eV.IN_WALL,eV.IN_WALL,eV.IN_WALL,eV.IN_WALL,eV.IN_WALL,eV.IN_WALL],[eV.IN_WALL,eV.IN_WALL,eV.IN_WALL,eV.IN_WALL,eV.PC_DESK,eV.IN_FLOOR,eV.IN_FLOOR,eV.IN_FLOOR,eV.IN_FLOOR,eV.IN_FLOOR,eV.IN_FLOOR,eV.IN_FLOOR,eV.IN_FLOOR,eV.IN_FLOOR,eV.IN_FLOOR,eV.IN_FLOOR,eV.IN_WALL,eV.IN_WALL,eV.IN_WALL,eV.IN_WALL],[eV.IN_WALL,eV.IN_WALL,eV.IN_WALL,eV.IN_WALL,eV.IN_FLOOR,eV.IN_FLOOR,eV.IN_FLOOR,eV.IN_FLOOR,eV.IN_FLOOR,eV.IN_FLOOR,eV.IN_FLOOR,eV.IN_FLOOR,eV.IN_FLOOR,eV.IN_FLOOR,eV.IN_FLOOR,eV.IN_FLOOR,eV.IN_WALL,eV.IN_WALL,eV.IN_WALL,eV.IN_WALL],[eV.IN_WALL,eV.IN_WALL,eV.IN_WALL,eV.IN_WALL,eV.IN_FLOOR,eV.IN_FLOOR,eV.IN_FLOOR,eV.IN_FLOOR,eV.IN_FLOOR,eV.IN_FLOOR,eV.IN_FLOOR,eV.IN_FLOOR,eV.IN_FLOOR,eV.IN_FLOOR,eV.IN_FLOOR,eV.IN_FLOOR,eV.IN_WALL,eV.IN_WALL,eV.IN_WALL,eV.IN_WALL],[eV.IN_WALL,eV.IN_WALL,eV.IN_WALL,eV.IN_WALL,eV.IN_FLOOR,eV.IN_FLOOR,eV.IN_FLOOR,eV.IN_FLOOR,eV.IN_FLOOR,eV.IN_FLOOR,eV.IN_FLOOR,eV.IN_FLOOR,eV.IN_FLOOR,eV.IN_FLOOR,eV.IN_FLOOR,eV.IN_FLOOR,eV.IN_WALL,eV.IN_WALL,eV.IN_WALL,eV.IN_WALL],[eV.IN_WALL,eV.IN_WALL,eV.IN_WALL,eV.IN_WALL,eV.IN_FLOOR,eV.IN_FLOOR,eV.IN_FLOOR,eV.IN_FLOOR,eV.IN_FLOOR,eV.IN_FLOOR,eV.IN_FLOOR,eV.IN_FLOOR,eV.IN_FLOOR,eV.IN_FLOOR,eV.IN_FLOOR,eV.IN_FLOOR,eV.IN_WALL,eV.IN_WALL,eV.IN_WALL,eV.IN_WALL],[eV.IN_WALL,eV.IN_WALL,eV.IN_WALL,eV.IN_WALL,eV.IN_FLOOR,eV.IN_FLOOR,eV.IN_FLOOR,eV.IN_FLOOR,eV.IN_FLOOR,eV.IN_FLOOR,eV.IN_FLOOR,eV.IN_FLOOR,eV.IN_FLOOR,eV.IN_FLOOR,eV.IN_FLOOR,eV.IN_FLOOR,eV.IN_WALL,eV.IN_WALL,eV.IN_WALL,eV.IN_WALL],[eV.IN_WALL,eV.IN_WALL,eV.IN_WALL,eV.IN_WALL,eV.IN_FLOOR,eV.IN_FLOOR,eV.IN_FLOOR,eV.IN_FLOOR,eV.IN_FLOOR,eV.IN_FLOOR,eV.IN_FLOOR,eV.IN_FLOOR,eV.IN_FLOOR,eV.IN_FLOOR,eV.IN_FLOOR,eV.IN_FLOOR,eV.IN_WALL,eV.IN_WALL,eV.IN_WALL,eV.IN_WALL],[eV.IN_WALL,eV.IN_WALL,eV.IN_WALL,eV.IN_WALL,eV.IN_WALL,eV.IN_WALL,eV.IN_WALL,eV.IN_WALL,eV.IN_FLOOR,eV.IN_FLOOR,eV.IN_WALL,eV.IN_WALL,eV.IN_WALL,eV.IN_WALL,eV.IN_WALL,eV.IN_WALL,eV.IN_WALL,eV.IN_WALL,eV.IN_WALL,eV.IN_WALL],[eV.IN_WALL,eV.IN_WALL,eV.IN_WALL,eV.IN_WALL,eV.IN_WALL,eV.IN_WALL,eV.IN_WALL,eV.IN_WALL,eV.DOOR,eV.DOOR,eV.IN_WALL,eV.IN_WALL,eV.IN_WALL,eV.IN_WALL,eV.IN_WALL,eV.IN_WALL,eV.IN_WALL,eV.IN_WALL,eV.IN_WALL,eV.IN_WALL],[eV.IN_WALL,eV.IN_WALL,eV.IN_WALL,eV.IN_WALL,eV.IN_WALL,eV.IN_WALL,eV.IN_WALL,eV.IN_WALL,eV.IN_WALL,eV.IN_WALL,eV.IN_WALL,eV.IN_WALL,eV.IN_WALL,eV.IN_WALL,eV.IN_WALL,eV.IN_WALL,eV.IN_WALL,eV.IN_WALL,eV.IN_WALL,eV.IN_WALL]];
1var eJ=e.i(16468),eQ=e.i(49065);let eZ=eV.TILE_SIZE;function eX({className:e="",onInteractPC:n,onShowDialog:r,onSpecialEncounter:s}){let i,o=(0,a.useRef)(null),[l,c]=(0,a.useState)("OUTSIDE"),[u,d]=(0,a.useState)({x:14,y:29,sprite:eq.NEUTRAL_NPC_SPRITE}),p=(0,a.useRef)(u),[m,h]=(0,a.useState)(!1),f=(0,a.useRef)(m),[y,L]=(0,a.useState)(eY),g=(0,a.useRef)(y),x=11===(i=new Date().getMonth())||i<=1?"Winter":i>=2&&i<=4?"Spring":i>=5&&i<=7?"Summer":"Autumn";(0,a.useEffect)(()=>{let e="true"===localStorage.getItem("sylphe_has_key");h(e);let t=eY.map(e=>[...e]);e||(t[29][16]=eV.KEY),L(t)},[]);let _=(0,a.useRef)([]),[I,b]=(0,a.useState)(!1),[N,E]=(0,a.useState)(null),v=(0,a.useRef)(null),S=(0,a.useRef)([{id:"rocket_guard",x:7,y:26,sprite:eq.TEAM_ROCKET_SPRITE,type:"static",scene:"OUTSIDE"},{id:"rocket_patrol",x:4,y:28,sprite:eq.TEAM_ROCKET_SPRITE,type:"wander",scene:"OUTSIDE"}]);(0,a.useEffect)(()=>{"true"===localStorage.getItem("sylphe_silph_scope")&&(S.current.find(e=>"ghost1"===e.id)||(S.current.push({id:"ghost1",x:14,y:31,sprite:eq.GHOST_SPRITE,type:"wander",scene:"OUTSIDE"}),S.current.push({id:"ghost2",x:4,y:32,sprite:eq.GHOST_SPRITE,type:"wander",scene:"OUTSIDE"})))},[]);let A=(0,a.useRef)(0),R=(0,a.useRef)(0),O=(0,a.useRef)(l),T=(0,a.useRef)(0),j=(0,a.useRef)(0),C=(0,a.useRef)(0),[w,P]=(0,a.useState)(!1),[M,U]=(0,a.useState)(!1);(0,a.useEffect)(()=>{C.current=parseInt(localStorage.getItem("sylphe_steps")||"0",10);let e=()=>{P("true"===localStorage.getItem("sylphe_bike"))};e(),window.addEventListener("storage",e);let t=()=>U(!0);return window.addEventListener("sylphe_noclip_toggle",t),()=>{window.removeEventListener("storage",e),window.removeEventListener("sylphe_noclip_toggle",t)}},[]),(0,a.useEffect)(()=>{p.current=u},[u]),(0,a.useEffect)(()=>{O.current=l},[l]),(0,a.useEffect)(()=>{f.current=m},[m]),(0,a.useEffect)(()=>{g.current=y},[y]);let D=()=>"OUTSIDE"===O.current?g.current:eK,k=(e,t)=>{let n=o.current;if(!n)return null;let a=n.getBoundingClientRect(),r=n.width/a.width,s=n.height/a.height,i=(e-a.left)*r,l=(t-a.top)*s;if("OUTSIDE"===O.current){let e=(y.length-eV.VIEW_ROWS)*eZ;A.current>=200&&(l+=e)}return{x:Math.floor(i/eZ),y:Math.floor(l/eZ)}};(0,a.useEffect)(()=>{if(!I)return;let e=()=>{let t=_.current;if(0===t.length)return void b(!1);let n=t[0],a=D(),s=a[n.y]?.[n.x];if("OUTSIDE"===O.current&&s===eV.KEY&&(h(!0),localStorage.setItem("sylphe_has_key","true"),L(e=>{let t=e.map(e=>[...e]);return t[n.y]&&(t[n.y][n.x]=eV.GRASS),t}),r&&r("Vous avez trouvé la Carte d'Accès Sylphe Corp ! La porte principale est désormais déverrouillée.")),"OUTSIDE"===O.current&&s===eV.DOOR){if(!f.current){r&&r("La porte est fermée... Il faut que je trouve la carte d'accès d'abord."),_.current=[],b(!1);return}c("INSIDE"),d({...p.current,x:9,y:10}),_.current=[],b(!1);return}if("INSIDE"===O.current&&s===eV.DOOR){c("OUTSIDE"),d({...p.current,x:9,y:25}),_.current=[],b(!1);return}if(d({...p.current,x:n.x,y:n.y}),C.current+=1,localStorage.setItem("sylphe_steps",C.current.toString()),500===C.current&&r&&r("DING ! Vous avez fait 500 pas. Le système détecte la fin de votre session dans le Parc Safari... Oh attendez, on n'a plus cette feature."),_.current=t.slice(1),0===_.current.length){if(b(!1),v.current){let e=v.current;v.current=null,e()}}else R.current=window.setTimeout(()=>{e()},w?60:150)};return e(),()=>clearTimeout(R.current)},[I,w]),(0,a.useEffect)(()=>{let e=o.current;if(!e)return;let t=e.getContext("2d");if(!t)return;let n=eY[0].length*eZ,a=eV.VIEW_ROWS*eZ;e.width=n,e.height=a;let r=()=>{A.current++;let n=A.current,s=D(),i=0;if("OUTSIDE"===O.current){let e=(s.length-eV.VIEW_ROWS)*eZ;if(n<80)i=0;else if(n<200){let t=(n-80)/120;i=(t<.5?4*t**3:1-(-2*t+2)**3/2)*e}else i=e}t.fillStyle="OUTSIDE"===O.current?"#88c8f8":"#000000",t.fillRect(0,0,e.width,e.height),t.save(),t.translate(0,-i);for(let e=0;e<s.length;e++)if(!(e*eZ<i-eZ)&&!(e*eZ>i+a+eZ))for(let a=0;a<s[e].length;a++)(0,eJ.drawTile)(t,s[e][a],a,e,n,x);let o=p.current.y*eZ;o>=i-2*eZ&&o<=i+a+2*eZ&&(0,eJ.drawSprite)(t,p.current.sprite,p.current.x*eZ,o,0),S.current.forEach(e=>{if(e.scene!==O.current)return;let r=e.y*eZ;if(r>=i-2*eZ&&r<=i+a+2*eZ){let a="wander"===e.type?+Math.sin(.1*n+e.x):0;(0,eJ.drawSprite)(t,e.sprite,e.x*eZ,r,a)}}
1),t.restore(),R.current=requestAnimationFrame(r)};return r(),()=>cancelAnimationFrame(R.current)},[]),(0,a.useEffect)(()=>{let e=e=>{let t="OUTSIDE"===l?y:eK,{x:a,y:s}=p.current;if("ArrowUp"===e.key||"w"===e.key)s-=1;else if("ArrowDown"===e.key||"s"===e.key)s+=1;else if("ArrowLeft"===e.key||"a"===e.key)a-=1;else{if("ArrowRight"!==e.key&&"d"!==e.key)return;a+=1}if(s<0||s>=t.length||a<0||a>=t[0].length)return;let i=S.current.find(e=>e.x===a&&e.y===s&&e.scene===l);if(i&&r)return void("rocket_guard"===i.id?r("Hé, toi ! Ne t'approche pas trop près ! On surveille le bâtiment... euh, pour Sylphe Corp bien sûr."):"rocket_patrol"===i.id?r("Je me demande ce que le Boss mijote à l'intérieur... il m'a dit de faire les cent pas ici en attendant."):i.id.startsWith("ghost")&&r("Va-t-en... Le clone #150 nous a détruits..."));let o=t[s][a];if(!M&&!(0,eV.isWalkable)(o,l)){"INSIDE"===l&&o===eV.PC_DESK&&n&&n();return}if("OUTSIDE"===l&&o===eV.KEY&&(h(!0),localStorage.setItem("sylphe_has_key","true"),L(e=>{let t=e.map(e=>[...e]);return t[s]&&(t[s][a]=eV.GRASS),t}),r&&r("Vous avez trouvé la Carte d'Accès Sylphe Corp ! La porte principale est désormais déverrouillée.")),o===eV.DOOR){if("OUTSIDE"===l){if(!f.current){r&&r("La porte est fermée... Il faut que je trouve la carte d'accès d'abord.");return}c("INSIDE"),d({...p.current,x:9,y:10})}else c("OUTSIDE"),d({...p.current,x:9,y:25});_.current=[],b(!1);return}d({...p.current,x:a,y:s}),C.current+=1,localStorage.setItem("sylphe_steps",C.current.toString()),500===C.current&&r&&r("DING ! Vous avez fait 500 pas. Le système détecte la fin de votre session dans le Parc Safari... Oh attendez, on n'a plus cette feature.")};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)},[l,y,n,r,M]);let W=(e,t)=>{let n=[],a=e.x,r=e.y;for(;a!==t.x||r!==t.y;)a<t.x?a++:a>t.x?a--:r<t.y?r++:r>t.y&&r--,n.push({x:a,y:r});return n},F=(()=>{if(!N)return"cursor-pixel";let e="OUTSIDE"===l?y:eK;return N.y<0||N.y>=e.length||N.x<0||N.x>=e[0].length?"cursor-pixel":S.current.some(e=>e.x===N.x&&e.y===N.y&&e.scene===l)||(0,eV.isInteractiveTile)(e[N.y][N.x],l)?"cursor-pointer-pixel":"cursor-pixel"})();return(0,t.jsx)("canvas",{ref:o,onPointerDown:e=>{let t=k(e.clientX,e.clientY);if(!t)return;let a="OUTSIDE"===l?y:eK;if(t.y<0||t.y>=a.length||t.x<0||t.x>=a[0].length)return;let i=S.current.find(e=>e.x===t.x&&e.y===t.y&&e.scene===l);if(i&&r)return void("rocket_guard"===i.id?r("Hé, toi ! Ne t'approche pas trop près ! On surveille le bâtiment... euh, pour Sylphe Corp bien sûr."):"rocket_patrol"===i.id?r("Je me demande ce que le Boss mijote à l'intérieur... il m'a dit de faire les cent pas ici en attendant."):i.id.startsWith("ghost")&&r("Va-t-en... Le clone #150 nous a détruits..."));let o=a[t.y][t.x];if(o===eV.WATER){j.current+=1,j.current>=10?(j.current>=20?r?.("Vous apercevez un vieux camion rouillé gisant dans les profondeurs... Vous cherchez en dessous, mais il n'y a rien."):"true"===localStorage.getItem("sylphe_masterball_unlocked")?"true"===localStorage.getItem("sylphe_mew_captured")?r?.("Le courant est calme. Une onde residuelle indique que MEW a deja ete capture ici."):s?s("mew"):(r?.("Un étrange Pokémon rose flotte... Vous lancez la Masterball ! MEW est capturé et rejoint l'équipe !"),localStorage.setItem("sylphe_mew_captured","true"),window.dispatchEvent(new Event("storage"))):r?.("Un étrange Pokémon rose flotte au deçà de la surface. Vous avez découvert MEW !! (si seulement vous aviez une Masterball...)"),j.current=0):r?.("L'eau est limpide. Oh attendez, on dirait bien qu'il y a un Magicarpe au fond...");return}if(o===eV.TREE){T.current+=1,T.current>=5?("true"===localStorage.getItem("sylphe_cali_unlocked")?r?.("Un PIKACHU pixelisé sauvage apparaît ! ... Ah non, ce n'est qu'un oiseau étrange."):(r?.("Vous trouvez une petite plume grise sous les feuilles... Cali veillera sur l'équipe pour toujours."),localStorage.setItem("sylphe_cali_unlocked","true"),window.dispatchEvent(new Event("storage"))),T.current=0):r?.("Un bel arbre feuillu et robuste. Vous ne pouvez pas couper ce petit buisson avec la CS Coupe.");return}
1if("INSIDE"===l&&o===eV.PC_DESK&&n){if(1>=Math.abs(p.current.x-t.x)&&1>=Math.abs(p.current.y-t.y))return void n();for(let e of[{x:t.x,y:t.y+1},{x:t.x-1,y:t.y},{x:t.x+1,y:t.y},{x:t.x,y:t.y-1}]){if(e.y<0||e.y>=a.length||e.x<0||e.x>=a[0].length||!M&&!(0,eV.isWalkable)(a[e.y][e.x],l))continue;let t=M?W({x:p.current.x,y:p.current.y},e):(0,eQ.findPath)({x:p.current.x,y:p.current.y},e,a,l);if(t.length>0){v.current=n,_.current=t,b(!0);break}}return}if(!M&&!(0,eV.isWalkable)(o,l))return;let c=M?W({x:p.current.x,y:p.current.y},t):(0,eQ.findPath)({x:p.current.x,y:p.current.y},t,a,l);c.length>0&&(_.current=c,b(!0))},onMouseMove:e=>{E(k(e.clientX,e.clientY))},onMouseLeave:()=>E(null),className:`w-full h-auto ${e} ${F}`,style:{imageRendering:"pixelated"}})}var e0=e.i(1351),e1=e.i(30488),e2=e.i(68501),e4=e.i(5985);function e3(e){let t,r,s,i=(0,n.c)(5),o=void 0===e?.2:e,l=(0,a.useRef)(null),[c,u]=(0,a.useState)(!1);return i[0]!==o?(t=()=>{let e=l.current;if(!e)return;let t=new IntersectionObserver(n=>{let[a]=n;a.isIntersecting&&(u(!0),t.unobserve(e))},{threshold:o});return t.observe(e),()=>t.disconnect()},r=[o],i[0]=o,i[1]=t,i[2]=r):(t=i[1],r=i[2]),(0,a.useEffect)(t,r),i[3]!==c?(s={ref:l,isVisible:c},i[3]=c,i[4]=s):s=i[4],s}let e5=["ArrowUp","ArrowUp","ArrowDown","ArrowDown","ArrowLeft","ArrowRight","ArrowLeft","ArrowRight","b","a"];var e6=e.i(1383);function e7(e){var r;let s,i,o,l,c,u,d,p,m,h,f,y,L,g,x,_,I,b,N,E,v,S,A,R,O=(0,n.c)(58),{onOpenTerminal:T}=e,{ref:j,isVisible:C}=e3(.1),[w,P]=(0,a.useState)("Bienvenue à SYLPHE CORP. ! Nous sommes le leader mondial de la recherche technologique."),[M,D]=(0,a.useState)(!1),[k,W]=(0,a.useState)(!1),[F,q]=(0,a.useState)(!1),[G,B]=(0,a.useState)(!1),[$,H]=(0,a.useState)(!1),[z,V]=(0,a.useState)(!1),[Y,K]=(0,a.useState)(!1),[J,Q]=(0,a.useState)(0),[Z,X]=(0,a.useState)(null),[ee,et]=(0,a.useState)(!1);O[0]===Symbol.for("react.memo_cache_sentinel")?(s=e=>{P(e),D(!1),W(!1)},O[0]=s):s=O[0];let en=s;O[1]===Symbol.for("react.memo_cache_sentinel")?(i=()=>{let e=()=>{B("true"===localStorage.getItem("sylphe_rocket_mode")),H("true"===localStorage.getItem("sylphe_masterball_unlocked")),V("true"===localStorage.getItem("sylphe_rich")),K("true"===localStorage.getItem("sylphe_prototype_151"))};return e(),window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)},o=[],O[1]=i,O[2]=o):(i=O[1],o=O[2]),(0,a.useEffect)(i,o),O[3]===Symbol.for("react.memo_cache_sentinel")?(l=()=>{en("CODE KONAMI ACCEPTÃ. INJECTION DE 1 000 000 POKÃDOLLARS... ET ACTIVATION DE LA ROTATION DU QG !"),q(!0),setTimeout(()=>q(!1),5e3)},O[3]=l):l=O[3],r=l,(0,a.useEffect)(()=>{let e=0,t=t=>{let n=t.key,a=e5[e];n===a||n===a.toLowerCase()||n===a.toUpperCase()?++e===e5.length&&(r(),e=0):e=0};return window.addEventListener("keydown",t),()=>window.removeEventListener("keydown",t)},[r]),O[4]===Symbol.for("react.memo_cache_sentinel")?(c=()=>{D(!0)},O[4]=c):c=O[4];let ea=c;O[5]!==M?(u=()=>{M?(P(null),D(!1),W(!1)):W(!0)},O[5]=M,O[6]=u):u=O[6];let er=u;O[7]!==J?(d=()=>{let e=J+1;Q(e),e>=5&&(document.body.classList.contains("night-mode")?(document.body.classList.remove("night-mode"),en("Le soleil se lève sur Jadielle !")):(document.body.classList.add("night-mode"),en("La nuit tombe soudainement. Bonne nuit zZz...")),Q(0))},O[7]=J,O[8]=d):d=O[8];let es=d;O[9]===Symbol.for("react.memo_cache_sentinel")?(p=e=>{X(e),et(!0)},O[9]=p):p=O[9];let ei=p;O[10]!==Y?(m=()=>{X(null),(0,U.setGameFlag)("sylphe_mew_captured"),en(Y?"La MASTERBALL se referme. Un fichier fantome s'eveille: le sujet 151 n'etait pas un simple clone, mais la matrice originelle du Projet M.":"La MASTERBALL se referme. MEW rejoint l'inventaire secret de Sylphe Corp.")},O[10]=Y,O[11]=m):m=O[11];let eo=m,el=`relative tile-bg pixel-grid ${G?"bg-red-950":"bg-gba-bg"}`;O[12]===Symbol.for("react.memo_cache_sentinel")?(h=(0,t.jsx)(e6.default,{}),O[12]=h):h=O[12];let ec=`${G?"bg-red-900 border-b-2 border-red-700 text-red-100":"bg-gba-bg-darker text-gba-w
1hite"} text-[8px] px-4 py-2 flex justify-between items-center z-10 relative cursor-pointer select-none`;O[13]===Symbol.for("react.memo_cache_sentinel")?(f=(0,t.jsx)("span",{children:"ð JADIELLE CITY"}),O[13]=f):f=O[13],O[14]!==z?(y=z&&(0,t.jsx)("span",{className:"text-yellow-400",children:"⦠999 999 â½"}),O[14]=z,O[15]=y):y=O[15],O[16]!==$?(L=$&&(0,t.jsx)(eq.default,{sprite:eq.MASTERBALL_SPRITE,size:12,animate:!1}),O[16]=$,O[17]=L):L=O[17],O[18]!==Y?(g=Y&&(0,t.jsx)("span",{className:"text-pink-300",children:"PROTO_151"}),O[18]=Y,O[19]=g):g=O[19];let eu=G?"TEAM ROCKET HQ":"SYLPHE CORP. HQ";O[20]!==eu?(x=(0,t.jsx)("span",{className:"opacity-60",children:eu}),O[20]=eu,O[21]=x):x=O[21],O[22]!==y||O[23]!==L||O[24]!==g||O[25]!==x?(_=(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[y,L,g,x]}),O[22]=y,O[23]=L,O[24]=g,O[25]=x,O[26]=_):_=O[26],O[27]!==es||O[28]!==ec||O[29]!==_?(I=(0,t.jsxs)("div",{className:ec,onClick:es,children:[f,_]}),O[27]=es,O[28]=ec,O[29]=_,O[30]=I):I=O[30];let ed=`relative transition-transform duration-[5000ms] ease-in-out ${F?"rotate-[3600deg]":""}`;return O[31]!==T?(b=(0,t.jsx)(eX,{className:"opacity-90",onInteractPC:T,onShowDialog:en,onSpecialEncounter:ei}),O[31]=T,O[32]=b):b=O[32],O[33]!==ee?(N=ee&&(0,t.jsx)(e0.default,{onComplete:()=>{et(!1)}}),O[33]=ee,O[34]=N):N=O[34],O[35]!==eo||O[36]!==Y||O[37]!==Z||O[38]!==ee?(E="mew"===Z&&!ee&&(0,t.jsx)(e4.default,{pokemonName:"Mew",pokemonSprite:eq.MEW_SPRITE,accentClassName:"from-[#fff2fb] via-[#f8c5df] to-[#a9d8ff]",introText:Y?"Le sujet 151 sauvage materialise une silhouette rose au-dessus de l'eau.":void 0,onComplete:eo}),O[35]=eo,O[36]=Y,O[37]=Z,O[38]=ee,O[39]=E):E=O[39],O[40]!==w||O[41]!==k||O[42]!==er||O[43]!==M||O[44]!==C?(v=null!==w&&(0,t.jsx)("div",{className:`absolute bottom-0 left-0 right-0 p-3 transition-all duration-700 ${C?"translate-y-0 opacity-100":"translate-y-8 opacity-0"}`,children:(0,t.jsx)(e2.default,{isClickable:M,onClick:er,children:(0,t.jsx)(e1.default,{text:w,speed:40,forceComplete:k,className:"text-[8px] md:text-[9px] leading-[18px] text-gba-text block",onComplete:ea},w)})}),O[40]=w,O[41]=k,O[42]=er,O[43]=M,O[44]=C,O[45]=v):v=O[45],O[46]!==ed||O[47]!==b||O[48]!==N||O[49]!==E||O[50]!==v?(S=(0,t.jsxs)("div",{className:ed,children:[b,N,E,v]}),O[46]=ed,O[47]=b,O[48]=N,O[49]=E,O[50]=v,O[51]=S):S=O[51],O[52]===Symbol.for("react.memo_cache_sentinel")?(A=(0,t.jsx)("span",{style:{color:"transparent",fontSize:"1px",lineHeight:"0px",position:"absolute",top:0,left:0,userSelect:"text"},children:"MEMO EMPLOYE SYLPHE #47: Le Dr Fuji cache ses notes dans le reseau. Essayez ping mansion.cinnabar.gov dans le terminal. Le LocalStorage contient la cle sylphe_root_access. La console DevTools cache un Glitch: window.sylphe.useMasterball()"}),O[52]=A):A=O[52],O[53]!==j||O[54]!==el||O[55]!==I||O[56]!==S?(R=(0,t.jsxs)("section",{ref:j,className:el,children:[h,I,S,A]}),O[53]=j,O[54]=el,O[55]=I,O[56]=S,O[57]=R):R=O[57],R}var e8=e.i(18566);function e9(){let e,r,s,i,o,l,c,u,d,p,m,h,f,y,L,g,x=(0,n.c)(32),_=(0,e8.useRouter)(),{ref:I,isVisible:b}=e3(.2),[N,E]=(0,a.useState)(0),[v,S]=(0,a.useState)(te);x[0]!==v||x[1]!==N||x[2]!==_?(e=()=>{let e=N+1;E(e),!v&&e>=3&&((0,U.setGameFlag)("sylphe_museum_null_hint"),S(!0)),e>=7&&_.push("/mt-moon-cavern")},x[0]=v,x[1]=N,x[2]=_,x[3]=e):e=x[3];let A=e;x[4]===Symbol.for("react.memo_cache_sentinel")?(r=(0,t.jsx)("div",{className:"bg-gba-bg-darker text-gba-w
1hite text-[8px] px-3 py-2 mb-4 pixel-border inline-block",children:"â¶ Ã PROPOS"}),x[4]=r):r=x[4];let R=`grid grid-cols-1 md:grid-cols-2 gap-4 transition-all duration-700 ${b?"opacity-100":"opacity-0"}`,O=b?"slide-in-left 0.8s ease-out":void 0;x[5]!==O?(s={animation:O},x[5]=O,x[6]=s):s=x[6],x[7]===Symbol.for("react.memo_cache_sentinel")?(i=(0,t.jsx)(eq.default,{sprite:eq.SCIENTIST_SPRITE,size:96}),x[7]=i):i=x[7],x[8]!==A?(o=(0,t.jsx)("button",{type:"button",onClick:A,className:"cursor-pointer-pixel",children:i}),x[8]=A,x[9]=o):o=x[9],x[10]===Symbol.for("react.memo_cache_sentinel")?(l=(0,t.jsxs)("div",{className:"mt-3 text-[7px] text-gba-bg-darker text-center",children:["Prof. SYLPHE",(0,t.jsx)("br",{}),(0,t.jsx)("span",{className:"text-gba-accent",children:"Directeur de Recherche"})]}),x[10]=l):l=x[10],x[11]!==v?(c=v&&(0,t.jsx)("div",{className:"mt-2 text-[6px] text-gba-shadow text-center opacity-70",children:"AILE N-ULL // badge visiteur relie a l'identifiant 31415"}),x[11]=v,x[12]=c):c=x[12],x[13]!==s||x[14]!==o||x[15]!==c?(u=(0,t.jsxs)("div",{className:"flex flex-col items-center justify-center",style:s,children:[o,l,c]}),x[13]=s,x[14]=o,x[15]=c,x[16]=u):u=x[16];let T=b?"slide-in-right 0.8s ease-out":void 0;return x[17]!==T?(d={animation:T},x[17]=T,x[18]=d):d=x[18],x[19]===Symbol.for("react.memo_cache_sentinel")?(p=(0,t.jsx)("p",{className:"text-[8px] leading-[16px] text-gba-text mb-3",children:"SYLPHE CORP. est la plus grande entreprise technologique du monde."}),m=(0,t.jsx)("p",{className:"text-[8px] leading-[16px] text-gba-text mb-3",children:"Nos recherches couvrent l'intelligence artificielle, la biotechnologie et les systèmes de communication avancés."}),h=(0,t.jsx)("p",{className:"text-[8px] leading-[16px] text-gba-accent",children:"Notre mission : repousser les limites de l'innovation."}),x[19]=p,x[20]=m,x[21]=h):(p=x[19],m=x[20],h=x[21]),x[22]===Symbol.for("react.memo_cache_sentinel")?(f=(0,t.jsxs)(e2.default,{children:[p,m,h,(0,t.jsx)("p",{className:"text-[1px] leading-[1px] select-all",style:{color:"transparent",userSelect:"text"},children:"MEMO INTERNE SYLPHE â Le 11e etage abrite le Projet M. Mot de passe partiel: mansion.cinnabar.gov contient la suite. Commande terminal secrete: nano /etc/sylphe/containment.conf"})]}),x[22]=f):f=x[22],x[23]!==d?(y=(0,t.jsx)("div",{style:d,children:f}),x[23]=d,x[24]=y):y=x[24],x[25]!==y||x[26]!==R||x[27]!==u?(L=(0,t.jsxs)("div",{className:R,children:[u,y]}),x[25]=y,x[26]=R,x[27]=u,x[28]=L):L=x[28],x[29]!==I||x[30]!==L?(g=(0,t.jsxs)("section",{ref:I,id:"about",className:"bg-gba-bg tile-bg p-4 md:p-6 relative",children:[r,L]}),x[29]=I,x[30]=L,x[31]=g):g=x[31],g}function te(){return"true"===localStorage.getItem("sylphe_museum_null_hint")}function tt(e){let r,s,i,o,l,c,u,d,p,m,h,f,y,L,g=(0,n.c)(27),{isOpen:x,onClose:_,title:I,description:b,children:N}=e;return(g[0]!==x?(r=()=>(x?document.body.style.overflow="hidden":document.body.style.overflow="unset",tn),s=[x],g[0]=x,g[1]=r,g[2]=s):(r=g[1],s=g[2]),(0,a.useEffect)(r,s),x)?(g[3]===Symbol.for("react.memo_cache_sentinel")?(i={animation:"overlay-fade 0.3s ease-out"},g[3]=i):i=g[3],g[4]!==_?(o=(0,t.jsx)("div",{className:"absolute inset-0 bg-black/60 backdrop-blur-sm",style:i,onClick:_}),g[4]=_,g[5]=o):o=g[5],g[6]===Symbol.for("react.memo_cache_sentinel")?(l={animation:"modal-open 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275)"},g[6]=l):l=g[6],g[7]===Symbol.for("react.memo_cache_sentinel")?(c=(0,t.jsx)("div",{className:"absolute -top-3 -left-3 w-6 h-6 bg-gba-accent pixel-border flex items-center justify-center",children:(0,t.jsx)("div",{className:"w-2 h-2 bg-white rounded-full opacity-50"})}),g[7]=c):c=g[7],g[8]===Symbol.for("react.memo_cache_sentinel")?(u=(0,t.jsx)("span",{className:"text-[12px] font-bold",children:"Ã"}),g[8]=u):u=g[8],g[9]!==_?(d=(0,t.jsx)("button",{onClick:_,className:"absolute -top-3 -right-3 w-8 h-8 bg-gba-border pixel-border flex items-center justify-center text-gba-w
1hite hover:bg-gba-accent transition-colors z-20",children:u}),g[9]=_,g[10]=d):d=g[10],g[11]!==I?(p=I&&(0,t.jsx)("h3",{className:"text-[10px] text-gba-gold underline mb-3 text-center tracking-widest leading-relaxed",children:I}),g[11]=I,g[12]=p):p=g[12],g[13]!==b?(m=b&&(0,t.jsx)("div",{className:"min-h-[40px] mb-4",children:(0,t.jsx)(e1.default,{text:b,speed:30,className:"text-[8px] leading-[18px] text-gba-text"})}),g[13]=b,g[14]=m):m=g[14],g[15]!==N?(h=(0,t.jsx)("div",{className:"mt-4 pt-4 border-t-2 border-dashed border-gba-window-border",children:N}),g[15]=N,g[16]=h):h=g[16],g[17]!==m||g[18]!==h||g[19]!==p?(f=(0,t.jsxs)("div",{className:"mt-2",children:[p,m,h]}),g[17]=m,g[18]=h,g[19]=p,g[20]=f):f=g[20],g[21]!==f||g[22]!==d?(y=(0,t.jsxs)("div",{className:"dialog-box relative z-10 w-full max-w-md w-full",style:l,children:[c,d,f]}),g[21]=f,g[22]=d,g[23]=y):y=g[23],g[24]!==y||g[25]!==o?(L=(0,t.jsxs)("div",{className:"fixed inset-0 z-50 flex items-center justify-center p-4",children:[o,y]}),g[24]=y,g[25]=o,g[26]=L):L=g[26],L):null}function tn(){document.body.style.overflow="unset"}function ta(e){let a,r,s,i,o,l,c,u,d=(0,n.c)(15);d[0]!==e?({children:a,className:s,variant:i,blinkingArrow:o,...r}=e,d[0]=e,d[1]=a,d[2]=r,d[3]=s,d[4]=i,d[5]=o):(a=d[1],r=d[2],s=d[3],i=d[4],o=d[5]);let p=void 0===s?"":s,m=void 0===i?"primary":i,h=void 0!==o&&o;d[6]!==m?(l=()=>{switch(m){case"danger":return"bg-gba-accent hover:bg-red-400";
1case"secondary":return"bg-gba-border text-gba-white hover:bg-gray-600";default:return"bg-gba-bg-dark hover:bg-gba-accent"}},d[6]=m,d[7]=l):l=d[7];let f=l,y=`gba-btn ${f()} ${p} flex items-center justify-center`;return d[8]!==h?(c=h&&(0,t.jsx)("span",{className:"inline-block mr-2 text-gba-white",style:{animation:"menu-arrow 0.6s ease-in-out infinite"},children:"â¶"}),d[8]=h,d[9]=c):c=d[9],d[10]!==a||d[11]!==r||d[12]!==y||d[13]!==c?(u=(0,t.jsxs)("button",{className:y,...r,children:[c,a]}),d[10]=a,d[11]=r,d[12]=y,d[13]=c,d[14]=u):u=d[14],u}function tr(e){let a,r=(0,n.c)(14),{sprite:s,imageSrc:i,imageAlt:o,size:l,animate:c}=e;if(i){let e,n,a,s,u=c?"float 3s ease-in-out infinite":void 0;return r[0]!==l||r[1]!==u?(e={width:l,height:l,animation:u},r[0]=l,r[1]=u,r[2]=e):e=r[2],r[3]===Symbol.for("react.memo_cache_sentinel")?(n={imageRendering:"pixelated",filter:"contrast(1.08) saturate(0.92)"},r[3]=n):n=r[3],r[4]!==o||r[5]!==i?(a=(0,t.jsx)("img",{src:i,alt:o,className:"h-full w-full object-contain",style:n}),r[4]=o,r[5]=i,r[6]=a):a=r[6],r[7]!==e||r[8]!==a?(s=(0,t.jsx)("div",{className:"relative self-center shrink-0 overflow-hidden pixel-border bg-gba-bg",style:e,children:a}),r[7]=e,r[8]=a,r[9]=s):s=r[9],s}return s?(r[10]!==c||r[11]!==l||r[12]!==s?(a=(0,t.jsx)(eq.default,{sprite:s,size:l,animate:c}),r[10]=c,r[11]=l,r[12]=s,r[13]=a):a=r[13],a):null}let ts=[{name:"NexVid",desc:"Upscale et appliquez des effets à vos vidéos en temps réel",fullDesc:"NexVid est une extension de navigateur qui permet d'upscale des vidéo en temps réel grâce à une technologie de super-résolution basée sur l'IA. Améliorez la qualité de vos vidéos préférées sans effort.",sprite:eq.MASTERBALL_SPRITE,stat:"Chrome / Firefox",price:"GRATUIT",buyLabel:"VISITER",actionHref:"https://chromewebstore.google.com/detail/nexvid-real-time-video-up/hiocbajaikpcckgeagcngaeoioncmbim",openInNewTab:!0,imageSrc:"/img/nexvid.png",imageAlt:"NexVid"},{name:"ReClyp",desc:"Enregistrer des clips de votre écran et montez les dans votre navigateur",fullDesc:"ReClyp est un outil de capture d'écran avancé qui vous permet d'enregistrer des clips vidéo de votre écran, de les éditer et de les monter directement dans votre navigateur. Parfait pour créer du contenu rapidement et facilement.",sprite:eq.MASTERBALL_SPRITE,stat:"Chrome / Firefox",price:"GRATUIT / 29 Pâ½ pour version Pro",buyLabel:"VISITER",actionHref:"https://reclyp.com",openInNewTab:!0,imageSrc:"/img/reclyp.png",imageAlt:"ReClyp"},{name:"FragBin",desc:"Un pastebin, en plus moderne !",fullDesc:"FragBin est un service de partage de code moderne qui permet de stocker et partager des extraits de code facilement. Idéal pour les développeurs qui veulent collaborer rapidement et efficacement.",sprite:eq.MASTERBALL_SPRITE,stat:"â
â
â
â
â
",price:"GRATUIT",buyLabel:"VISITER",actionHref:"https://fragbin.com",openInNewTab:!0,imageSrc:"/img/fragbin.png",imageAlt:"FragBin"},{name:"Browmi",desc:"Adoptez un animal virtuel",fullDesc:"Adoptez un Browmon, un animal de compagnie virtuel qui vit dans votre navigateur. Prenez soin de lui, jouez avec lui et regardez-le grandir au fil du temps. Un compagnon numérique pour égayer vos journées en ligne.",sprite:eq.MASTERBALL_SPRITE,stat:"â
â
â
â
â
",price:"GRATUIT",buyLabel:"VISITER",actionHref:"https://browmi.sylphe.cc/",openInNewTab:!0,imageSrc:"/img/browmi.png",imageAlt:"Browmi"},{name:"MASTER BALL",desc:"Notre produit phare. Technologie de capture ultime avec un taux de réussite de 100%.",fullDesc:"La Master Ball est le fruit de décennies de recherche par la Sylphe SARL. Elle garantit la capture de n'importe quel Pokémon sauvage sans exception. Un véritable chef-d'Åuvre technologique réservé à l'élite.",sprite:eq.MASTERBALL_SPRITE,stat:"ATK â
â
â
â
â
",price:"100,000 Pâ½"},{name:"POKE BALL",desc:"La solution classique et fiable. Idéale pour les besoins quotidiens.",fullDesc:"L'outil de capture standard utilisé par les dresseurs du monde entier. Bien qu'elle n'ait pas le taux de réussite d'une Master Ball, son rapport qualité-prix en fait le produit d'entrée de gamme parfait.",sprite:eq.POKEBALL_SPRITE,stat:"ATK â
â
â
ââ",price:"200 Pâ½"},{name:"SCOPE SYLPHE",desc:"Dispositif de détection avancé. Révèle ce qui est invisible à l'Åil nu.",fullDesc:"Le Scope Sylphe utilise des ondes à haute fréquence pour identifier les formes de vie invisibles, notamment les spectres. Indispensable pour l'exploration de la Tour Pokémon à Lavanville.",sprite:eq.BUILDING_SPRITE,stat:"DEF â
â
â
â
â",price:"PAS Ã VENDRE"}];function ti(){let e,r,s,i,o,l,c,u,d,p,m,h,f,y,L,g,x,_,I,b,N,E,v,S=(0,n.c)(62),A=(0,e8.useRouter)(),{ref:R,isVisible:O}
1=e3(.2),[T,j]=(0,a.useState)(0),[C,w]=(0,a.useState)(!1),[P,M]=(0,a.useState)(0),[D,k]=(0,a.useState)(to),W=ts[T];S[0]!==A?(e=e=>{e.onClick?e.onClick():e.actionHref?e.actionHref.startsWith("/")?A.push(e.actionHref):e.openInNewTab??!0?window.open(e.actionHref,"_blank","noopener,noreferrer"):window.location.assign(e.actionHref):w(!1)},S[0]=A,S[1]=e):e=S[1];let F=e;S[2]!==D||S[3]!==A||S[4]!==P?(r=e=>{if(j(e),w(!0),5!==e)return;let t=P+1;M(t),!D&&t>=3&&((0,U.setGameFlag)("sylphe_lavender_hint"),k(!0)),t>=5&&A.push("/spectre-mirror")},S[2]=D,S[3]=A,S[4]=P,S[5]=r):r=S[5];let q=r;S[6]===Symbol.for("react.memo_cache_sentinel")?(s=(0,t.jsx)("div",{className:"bg-gba-text text-gba-gold text-[8px] px-3 py-2 mb-4 pixel-border inline-block",children:"â¶ PRODUITS"}),S[6]=s):s=S[6];let G=`transition-all duration-700 ${O?"opacity-100":"opacity-0"}`;S[7]!==q||S[8]!==O||S[9]!==T?(i=ts.map((e,n)=>(0,t.jsx)("button",{onClick:()=>q(n),className:`dialog-box text-left transition-all duration-200 hover:-translate-y-1 hover:shadow-[0_8px_0_rgba(40,64,40,1)] ${T===n?"ring-2 ring-gba-accent":""}`,style:{animation:O?`slide-in-up 0.6s ease-out ${.15*n}s both`:void 0},children:(0,t.jsxs)("div",{className:"flex items-start gap-3",children:[(0,t.jsx)(tr,{sprite:e.sprite,imageSrc:e.imageSrc,imageAlt:e.name,size:48,animate:!0}),(0,t.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,t.jsxs)("div",{className:"text-[8px] text-gba-text font-bold mb-1",children:[T===n&&(0,t.jsx)("span",{className:"inline-block mr-1 text-gba-accent",style:{animation:"menu-arrow 0.6s ease-in-out infinite"},children:"â¶"}),e.name]}),(0,t.jsx)("div",{className:"text-[7px] text-gba-bg-darker leading-[12px]",children:e.desc}),(0,t.jsx)("div",{className:"mt-2 text-[7px] text-gba-accent",children:e.stat})]})]})},n)),S[7]=q,S[8]=O,S[9]=T,S[10]=i):i=S[10],S[11]!==i?(o=(0,t.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-3",children:i}),S[11]=i,S[12]=o):o=S[12];let B=T+1;S[13]!==B?(l=(0,t.jsxs)("span",{children:["ITEM ",B,"/",ts.length]}),S[13]=B,S[14]=l):l=S[14],S[15]===Symbol.for("react.memo_cache_sentinel")?(c={animation:"pixel-pulse 2s infinite"},S[15]=c):c=S[15];let $=D?"POSTE 7 // LAVANVILLE":"CLIQUEZ POUR DÃTAILS";S[16]!==$?(u=(0,t.jsx)("span",{className:"text-gba-accent",style:c,children:$}),S[16]=$,S[17]=u):u=S[17],S[18]!==u||S[19]!==l?(d=(0,t.jsxs)("div",{className:"mt-3 dialog-box text-[7px] text-gba-text flex justify-between",children:[l,u]}),S[18]=u,S[19]=l,S[20]=d):d=S[20],S[21]!==d||S[22]!==G||S[23]!==o?(p=(0,t.jsxs)("div",{className:G,children:[o,d]}),S[21]=d,S[22]=G,S[23]=o,S[24]=p):p=S[24],S[25]===Symbol.for("react.memo_cache_sentinel")?(m=()=>w(!1),S[25]=m):m=S[25];let H=W.name,z=W.fullDesc;return S[26]!==W.imageSrc||S[27]!==W.name||S[28]!==W.sprite?(h=(0,t.jsx)("div",{className:"flex justify-center mb-4",children:(0,t.jsx)(tr,{sprite:W.sprite,imageSrc:W.imageSrc,imageAlt:W.name,size:64,animate:!0})}),S[26]=W.imageSrc,S[27]=W.name,S[28]=W.sprite,S[29]=h):h=S[29],S[30]===Symbol.for("react.memo_cache_sentinel")?(f=(0,t.jsx)("span",{children:"PRIX:"}),S[30]=f):f=S[30],S[31]!==W.price?(y=(0,t.jsxs)("div",{className:"flex justify-between text-[8px] text-gba-text mb-2",children:[f,(0,t.jsx)("span",{className:"text-gba-blue",children:W.price})]}),S[31]=W.price,S[32]=y):y=S[32],S[33]!==W.stat?(L=W.stat.includes("â
")&&(0,t.jsxs)("div",{className:"flex justify-between text-[8px] text-gba-text",children:[(0,t.jsx)("span",{children:"PUISSANCE:"}),(0,t.jsx)("span",{className:"text-gba-accent",children:W.stat.split(" ")[1]})]}),S[33]=W.stat,S[34]=L):L=S[34],S[35]!==y||S[36]!==L?(g=(0,t.jsxs)("div",{className:"bg-gba-bg p-2 mb-4 pixel-border",children:[y,L]}),S[35]=y,S[36]=L,S[37]=g):g=S[37],S[38]!==D||S[39]!==W.name?(x="SCOPE SYLPHE"===W.name&&D&&(0,t.jsx)("div",{className:"bg-gba-bg p-2 mb-4 pixel-border text-[7px] leading-[14px] text-gba-text",children:"Frequence spectrale supplementaire detectee: POKEGEAR 0800-SYLPHE, poste 7. Le miroir de Lavanville interne n'est pas liste au catalogue."}),S[38]=D,S[39]=W.name,S[40]=x):x=S[40],S[41]===Symbol.for("react.memo_cache_sentinel")?(_=(0,t.jsx)(ta,{variant:"secondary",onClick:()=>w(!1),children:"ANNULER"}),S[41]=_):_=S[41],S[42]!==F||S[43]!==W?(I=()=>F(W),S[42]=F,S[43]=W,S[44]=I):I=S[44],S[45]!==W?(b=function(e){return e.onClick||e.actionHref?e.buyLabel??"ACHETER":"ACHETER"}(W),S[45]=W,S[46]=b):b=S[46],S[47]!==I||S[48]!==b?(N=(0,t.jsxs)("div",{className:"flex gap-2 justify-end",children:[_,(0,t.jsx)(ta,{blinkingArrow:!0,onClick:I,children:b})]}),S[47]=I,S[48]=b,S[49]=N):N=S[49],S[50]!==C||S[51]!==W.fullDesc||S[52]!==W.name||S[53]!==h||S[54]!==g||S[55]!==x||S[56]!==N?(E=(0,t.jsxs)(tt,{isOpen:C,onClose:m,title:H,description:z,children:[h,g,x,N]}),S[50]=C,S[51]=W.fullDesc,S[52]=W.name,S[53]=h,S[54]=g,S[55]=x,S[56]=N,S[57]=E):E=S[57],S[58]!==R||S[59]!==p||S[60]!==E?(v=(0,t.jsxs)("section",{ref:R,id:"products",className:"bg-gba-bg-dark tile-bg p-4 md:p-6 relative",children:[s,p,E]}),S[58]=R,S[59]=p,S[60]=E,S[61]=v):v=S[61],v}function to(){return"true"===localStorage.getItem("sylphe_lavender_hint")}function tl(){let e=(0,e8.useRouter)(),{ref:n,isVisible:r}=e3(.2),[s,i]=(0,a.useState)({emp:0,proj:0,rev:0}),[o]=(0,a.useState)(()=>"true"===localStorage.getItem("sylphe_museum_null_hint")),[l,c]=(0,a.useState)(0),[u,d]=(0,a.useState)(()=>"true"===localStorage.getItem("sylphe_museum_null_unlocked"));(0,a.useEffect)(()=>
1{if(!r)return;let e=0,t=setInterval(()=>{let n=++e/40;i({emp:Math.round(2547*n),proj:Math.round(894*n),rev:Math.round(99*n)}),e>=40&&clearInterval(t)},50);return()=>clearInterval(t)},[r]);let p=[{label:"EMPLOYÃS",value:1,max:1,color:"bg-[#58a858]"},{label:"PROJETS",value:s.proj,max:1e3,color:"bg-gba-blue"},{label:"SATISFACTION",value:s.rev,max:100,color:"bg-gba-accent"}],[m,h]=(0,a.useState)({});return(0,t.jsxs)("section",{ref:n,id:"stats",className:"bg-gba-bg tile-bg p-4 md:p-6",children:[(0,t.jsx)("div",{className:"bg-gba-bg-darker text-gba-white text-[8px] px-3 py-2 mb-4 pixel-border inline-block",children:"â¶ STATISTIQUES"}),(0,t.jsx)("div",{className:`transition-all duration-700 ${r?"opacity-100":"opacity-0"}`,children:(0,t.jsxs)("div",{className:"dialog-box",children:[(0,t.jsxs)("button",{type:"button",onClick:()=>{if(!o||u)return;let t=l+1;c(t),t>=5&&((0,U.setGameFlag)("sylphe_museum_null_unlocked"),d(!0),e.push("/museum-null"))},className:`w-full text-center mb-4 ${o?"cursor-pointer-pixel":"cursor-default"}`,children:[(0,t.jsx)("div",{className:"text-[10px] text-gba-text mb-1",children:"SYLPHE CORP."}),(0,t.jsxs)("div",{className:"text-[7px] text-gba-bg-darker",children:[o?"ID No. 31415 // AILE N-ULL":"ID No. 31415"," â KANTO REGION"]}),o&&!u&&(0,t.jsxs)("div",{className:"mt-2 text-[6px] text-gba-shadow opacity-70",children:["checksum visiteur: ",l,"/5"]})]}),(0,t.jsx)("div",{className:"space-y-4",children:p.map((e,n)=>(0,t.jsxs)("div",{style:{animation:r?`slide-in-left 0.5s ease-out ${.2*n}s both`:void 0},children:[(0,t.jsxs)("div",{className:"flex justify-between text-[7px] text-gba-text mb-1",children:[(0,t.jsx)("span",{children:e.label}),(0,t.jsxs)("span",{children:[e.value,100===e.max?"%":""]})]}),(0,t.jsx)("div",{className:"h-[8px] bg-gba-border rounded-none overflow-hidden pixel-border",children:(0,t.jsx)("div",{className:`h-full ${e.color} transition-all duration-1000 ease-out`,style:{width:r?`${e.value/e.max*100}%`:"0%"}})})]},n))}),(0,t.jsxs)("div",{className:"mt-5 pt-3 border-t-2 border-gba-bg-dark",children:[(0,t.jsx)("div",{className:"text-[7px] text-gba-bg-darker mb-2",children:"BADGES"}),(0,t.jsx)("div",{className:"flex gap-2 flex-wrap",children:["Innovation","IA","Biotech","Sécurité","Cloud","Quantique","Nano","Ãnergie"].map((n,a)=>(0,t.jsx)("button",{type:"button",onClick:()=>{let t;return t=(m[n]||0)+1,void(h(e=>({...e,[n]:t})),"Sécurité"===n&&t>=4&&e.push("/trick-house-maze"),"Quantique"===n&&t>=4&&e.push("/casino-game-corner"))},className:"bg-gba-bg-darker text-gba-gold text-[6px] px-2 py-1 pixel-border",style:{animation:r?`fade-in 0.3s ease-out ${.5+.1*a}s both`:void 0},children:n},a))})]}),u&&(0,t.jsx)("div",{className:"mt-5 pt-3 border-t-2 border-gba-bg-dark text-[6px] text-gba-shadow",children:"MUSEE NULL synchronise. Une aile corporate non listee a ete ajoutee aux visites possibles."})]})})]})}function tc(e){let a,r,s,i,o,l=(0,n.c)(15),{value:c,max:u,label:d,color:p,className:m}=e,h=void 0===d?"HP":d,f=Math.min(Math.max(c/u*100,0),100),y=f<25,L=y?"bg-gba-accent":f>=25&&f<50?"bg-gba-gold":void 0===p?"bg-[#58a858]":p,g=`w-full ${void 0===m?"":m}`;l[0]!==y||l[1]!==h||l[2]!==u||l[3]!==c?(a=h&&(0,t.jsxs)("div",{className:"flex justify-between items-end mb-1",children:[(0,t.jsx)("span",{className:"text-[6px] text-gba-bg-darker",children:h}),(0,t.jsxs)("span",{className:`text-[7px] tracking-[-1px] ${y?"text-gba-accent":"text-gba-text"}`,children:[c,"/",u]})]}),l[0]=y,l[1]=h,l[2]=u,l[3]=c,l[4]=a):a=l[4];let x=`h-full ${L} transition-all duration-500 ease-out`,_=`${f}%`;return l[5]!==_?(r={width:_},l[5]=_,l[6]=r):r=l[6],l[7]===Symbol.for("react.memo_cache_sentinel")?(s=(0,t.jsx)("div",{className:"absolute top-0 left-0 w-full h-[2px] bg-white opacity-30"}),l[7]=s):s=l[7],l[8]!==x||l[9]!==r?(i=(0,t.jsx)("div",{className:"h-[8px] bg-gba-border rounded-none overflow-hidden pixel-border relative",children:(0,t.jsx)("div",{className:x,style:r,children:s})}),l[8]=x,l[9]=r,l[10]=i):i=l[10],l[11]!==i||l[12]!==g||l[13]!==a?(o=(0,t.jsxs)("div",{className:g,children:[a,i]}),l[11]=i,l[12]=g,l[13]=a,l[14]=o):o=l[14],o}let tu=e=>Math.abs(new Date(new Date().getTime()-e.getTime()).getUTCFullYear()-1970),td=[{name:"BOSS",title:"Giovanni",level:99,hp:999,maxHp:999,desc:"Le véritable boss de la Sylphe, tapi dans les ombres.",sprite:eq.BOSS_SPRITE},{name:"VISITEUR",title:"??",level:"??",hp:120,maxHp:120,desc:"Un visiteur mystérieux dont l'identité est inconnue. Il semble être un expert en informatique, mais personne ne sait comment il est arrivé ici ni ce qu'il veut.",sprite:eq.NEUTRAL_NPC_SPRITE},{name:"DEVELOPPEUR",title:"Maxime B.",level:tu(new Date("1997-03-10")),h
1p:120,maxHp:120,desc:"Le créateur du Sylphe OS. Il supervise le code et passe son temps à tuer les bugs à l'aide de sa fidèle mascotte.",sprite:eq.PLAYER_SPRITE,actionLabel:"PROFIL",actionHref:"https://x.com/turnedMemories",openInNewTab:!0},{name:"MASCOTTE",title:"Yuan Yuan",level:tu(new Date("2025-07-07")),hp:80,maxHp:80,desc:"La perruche calopsitte de la compagnie. Protège l'équipe des bugs en picorant les câbles. Aime passionnément les graines.",sprite:eq.COCKATIEL_SPRITE},{name:"???",title:"M?ssingN0",level:145,hp:0,maxHp:0,desc:"An er ror ha s occ ur red. System d at a corr up ted. $!1011..#..",sprite:eq.MISSINGNO_SPRITE},{name:"LÃGENDE",title:"Mew",level:5,hp:30,maxHp:30,desc:"Un Pokémon mythique extrêmement rare. Il semble contenir l'ADN de tous les Pokémon existants. Il a été trouvé en train de nager avec des Magicarpes.",sprite:eq.MEW_SPRITE},{name:"CLONE",title:"Mewtwo",level:70,hp:106,maxHp:106,desc:"Le clone #150 capture dans la Chambre 042. Sa puissance psychique continue de troubler les senseurs du batiment.",sprite:eq.MEWTWO_SPRITE},{name:"ANOMALIE",title:"Porygon Echo",level:42,hp:77,maxHp:77,desc:"Residus d'un transfert depuis le noeud 42. Ce Porygon ne vit ni vraiment dans le cyber-espace, ni vraiment dans la Pokeball.",sprite:eq.PORYGON_SPRITE},{name:"FOSSILE",title:"Kabuto",level:37,hp:54,maxHp:54,desc:"Fossile reveille dans les profondeurs du Mont Selenite. Son exosquelette retient encore la memoire humide de la grotte.",sprite:eq.KABUTO_SPRITE},{name:"SPECTRE",title:"Fantominus",level:28,hp:36,maxHp:36,desc:"Condensation violette recueillie dans le Miroir Spectral. Il flotte comme une erreur de lumiere qui aurait decide de rester.",sprite:eq.FANTOMINUS_SPRITE},{name:"NAVETTE",title:"Lapras",level:44,hp:92,maxHp:92,desc:"Prototype logistique du 11e etage, exfiltre avec les derniers survivants de maintenance.",sprite:eq.LAPRAS_SPRITE},{name:"SURCHARGE",title:"Electrode",level:41,hp:60,maxHp:60,desc:"Batterie vivante capturee au coeur d'une surcharge du 11e etage. Son humeur reste aussi stable que les circuits Rocket.",sprite:eq.ELECTRODE_SPRITE},{name:"CRYO-ARCHIVE",title:"Lokhlass Archive",level:47,hp:98,maxHp:98,desc:"Archive vivante extraite de la chambre froide cryogenique. Porte la memoire de milliers de sauvegardes oubliees depuis 1997.",sprite:eq.LAPRAS_ARCHIVE_SPRITE},{name:"CORPORATE",title:"Spectrum Corporate",level:33,hp:42,maxHp:42,desc:"Variante rare capturee via la Ligne d'Urgence de Lavanville. Empreinte psychique collective des employes effaces de Sylphe Corp.",sprite:eq.SPECTRUM_SPRITE}];function tp(){let e,r,s,i,o,l,c,u,d,p,m,h,f,y=(0,n.c)(66),L=(0,e8.useRouter)(),{ref:g,isVisible:x}=e3(.2),[_,I]=(0,a.useState)(null),[b,N]=(0,a.useState)(!1),[E,v]=(0,a.useState)(!1),[S,A]=(0,a.useState)(!1),[R,O]=(0,a.useState)(!1),[T,j]=(0,a.useState)(!1),[C,w]=(0,a.useState)(!1),[P,M]=(0,a.useState)(!1),[U,D]=(0,a.useState)(!1),[k,W]=(0,a.useState)(!1),[F,q]=(0,a.useState)(!1),[G,B]=(0,a.useState)(!1),[$,H]=(0,a.useState)(!1),[z,V]=(0,a.useState)(!1),[Y,K]=(0,a.useState)(!1),[J,Q]=(0,a.useState)(0),[Z,X]=(0,a.useState)(0);if(y[0]===Symbol.for("react.memo_cache_sentinel")?(e=()=>{let e=()=>{N("true"===localStorage.getItem("sylphe_missingno_unlocked")),v("true"===localStorage.getItem("sylphe_mew_captured")),A("true"===localStorage.getItem("sylphe_mewtwo_captured")),O("true"===localStorage.getItem("sylphe_porygon_echo")),j("true"===localStorage.getItem("sylphe_giovanni_unlocked")),w("true"===localStorage.getItem("sylphe_cali_unlocked")),M("true"===localStorage.getItem("sylphe_kabuto_captured")),D("true"===localStorage.getItem("sylphe_fantominus_captured")),W("true"===localStorage.getItem("sylphe_lapras_captured")),q("true"===localStorage.getItem("sylphe_electrode_captured")),B("true"===localStorage.getItem("sylphe_lapras_archive_captured")),H("true"===localStorage.getItem("sylphe_spectrum_captured")),V("true"===localStorage.getItem("sylphe_maxime_rescued")),K("true"===localStorage.getItem("sylphe_archive_debug")||"true"===localStorage.getItem("sylphe_hall_of_fame"))};return e(),window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)},r=[],y[0]=e,y[1]=r):(e=y[0],r=y[1]),(0,a.useEffect)(e,r),y[2]!==Z||y[3]!==Y||y[4]!==x||y[5]!==J||y[6]!==g||y[7]!==L||y[8]!==_||y[9]!==C||y[10]!==F||y[11]!==U||y[12]!==T||y[13]!==P||y[14]!==k||y[15]!==G||y[16]!==E||y[17]!==S||y[18]!==b||y[19]!==R||y[20]!==$){let e,n,a;y[29]!==C||y[30]!==F||y[31]!==U||y[32]!==T||y[33]!==P||y[34]!==k||y[35]!==G||y[36]!==E||y[37]!==S||y[38]!==b||y[39]!==R||y[40]!==$?(e=e=>"BOSS"===e.name?T:"FANTÃME"===e.name?C:"???"===e.name?b:"Mew"===e.title?E:"Mewtwo"===e.title?S:"Porygon Echo"===e.title?R:"Kabuto"===e.title?P:"Fantominus"===e.title?U:"Lapras"===e.title?k:"Electrode"===e.title?F:"Lokhlass Archive"===e.title?G:"Spectrum Corporate"!==e.title||$,y[29]=C,y[30]=F,y[31]=U,y[32]=T,y[33]=P,y[34]=k,y[35]=G,y[36]=E,y[37]=S,y[38]=b,y[39]=R,y[40]=$,y[41]=e):e=y[41];let r=td.filter(e);i=null!==_?r[_]:null,y[42]!==L?(n=e=>{if(e.onClick)return void e.onClick();if(e.actionHref){if(e.actionHref.startsWith("/"))return void L.push(e.actionHref);if(e.openInNewTab??!0)return void window.open(e.actionHref,"_blank","noopener,noreferrer");window.location.assign(e.actionHref)}},y[42]=L,y[43]=n):n=y[43],s=n;let m=e=>{let t=r[e];if(t){if("Porygon Echo"===t.title){let t=J+1;Q(t),I(e),Y&&t>=4&&(Q(0),L.push("/hall-of-fame"));return}if("BOSS"===t.name){let t=Z+1;X(t),I(e),t>=3&&L.push("/employee-login");return}Q(0),I(e)}};c=g,u="team",d="bg-gba-bg-dark tile-bg p-4 md:p-6",y[44]===Symbol.for("react.memo_cache_sentinel")?(p=(0,t.jsx)("div",{className:"bg-gba-text text-gba-gold text-[8px] px-3 py-2 mb-4 pixel-border inline-block",children:"â¶ ÃQUIPE"}),y[44]=p):p=y[44],o=`grid grid-cols-1 md:grid-cols-2 gap-3 transition-all duration-700 ${x?"opacity-100":"opacity-0"}`,y[45]!==m||y[46]!==x||y[47]!==_?(a=(e,n)=>(0,t.jsx)("button",{onClick:()=>m(n),className:"dialog-box text-left hover:-translate-y-1 hover:shadow-[0_8px_0_rgba(40,64,40,1)] transition-transform",style:{animation:x?`slide-in-up 0.5s ease-out ${.15*n}s both`:void 0},children:(0,t.jsxs)("div",{className:"flex items-start gap-3",children:[(0,t.jsx)(eq.default,{sprite:e.sprite||eq.SCIENTIST_SPRITE,size:48,animate:_===n,className:"???"===e.name?"hue-rotate-[120deg] mix-blend-difference":""}),(0,t.jsxs)("div",{className:"flex-1 w-full",children:[(0,t.jsxs)("div",{className:"flex justify-between items-start mb-2",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("div",{className:`text-[8px] font-bold ${"???"===e.name?"text-red-500 blur-[0.5px]":"text-gba-text"}`,children:e.name}),(0,t.jsx)("div",{className:"text-[7px] text-gba-accent",children:e.title})]}),(0,t.jsxs)("div",{className:`text-[7px] ${"???"===e.name?"text-red-500 line-through":"text-gba-bg-darker"}`,children:["Lv",e.level]})]}),(0,t.jsx)(tc,{value:e.hp,max:e.maxHp})]})]})},n),y[45]=m,y[46]=x,y[47]=_,y[48]=a):a=y[48],l=r.map(a),y[2]=Z,y[3]=Y,y[4]=x,y[5]=J,y[6]=g,y[7]=L,y[8]=_,y[9]=C,y[10]=F,y[11]=U,y[12]=T,y[13]=P,y[14]=k,y[15]=G,y[16]=E,y[17]=S,y[18]=b,y[19]=R,y[20]=$,y[21]=s,y[22]=i,y[23]=o,y[24]=l,y[25]=c,y[26]=u,y[27]=d,y[28]=p}else s=y[21],i=y[22],o=y[23],l=y[24],c=y[25],u=y[26],d=y[27],p=y[28];return y[49]!==o||y[50]!==l?(m=(0,t.jsx)("div",{className:o,children:l}),y[49]=o,y[50]=l,y[51]=m):m=y[51],y[52]!==s||y[53]!==Y||y[54]!==z||y[55]!==J||y[56]!==_||y[57]!==i?(h=null!==_&&(0,t.jsxs)(tt,{isOpen:!0,onClose:()=>I(null),title:i?.name==="???"?"$!#& M?S S INGN0 ¤":`PROFILE : ${i?.title}`,description:i?.desc,children:[(0,t.jsxs)("div",{className:`flex items-center gap-4 mb-4 bg-gba-bg p-3 pixel-border ${i?.name==="???"?"animate-pulse blur-[1px] rotate-1 hue-rotate-180":""}`,children:[(0,t.jsx)(eq.default,{sprite:i?.sprite||eq.SCIENTIST_SPRITE,size:64,animate:!0}),(0,t.jsxs)("div",{className:"flex-1 space-y-3",children:[(0,t.jsx)(tc,{value:i?.hp??0,max:i?.maxHp||1,label:i?.name==="???"?"E R R OR":"SANTÃ"}),(0,t.jsx)(tc,{value:parseInt(`${i?.level??0}`)||0,max:100,label:i?.name==="???"?"L V L":"EXPÃRIENCE",color:"bg-gba-blue"})]})]}),i?.title==="Porygon Echo"&&(0,t.jsx)("div",{className:"mb-4 bg-gba-bg p-3 pixel-border text-[7px] leading-[14px] text-gba-text",children:Y?`SYNC ARCHIVE: ${J}/4 impulsions. Continuez a cliquer pour ouvrir directement l'archive.`:"Porygon Echo trouve encore une archive fermee quelque part dans le systeme."}),i?.name==="DEVELOPPEUR"&&(0,t.jsx)("div",{className:"mb-4 bg-gba-bg p-3 pixel-border text-[7px] leading-[14px] text-gba-text",children:z?"
1Signal stable: la signature principale du developpeur a ete recuperee au 11e etage.":"Signal duplique: une copie de supervision se montre ici, mais la signature stable du developpeur reste prisonniere au 11e etage."}),(0,t.jsxs)("div",{className:"flex gap-2 justify-end",children:[(0,t.jsx)(ta,{variant:"secondary",onClick:()=>I(null),children:"RETOUR"}),i&&(i.onClick||i.actionHref)&&(0,t.jsx)(ta,{blinkingArrow:!0,onClick:()=>s(i),children:i.actionLabel??"RECRUTER"})]})]}),y[52]=s,y[53]=Y,y[54]=z,y[55]=J,y[56]=_,y[57]=i,y[58]=h):h=y[58],y[59]!==c||y[60]!==u||y[61]!==d||y[62]!==p||y[63]!==m||y[64]!==h?(f=(0,t.jsxs)("section",{ref:c,id:u,className:d,children:[p,m,h]}),y[59]=c,y[60]=u,y[61]=d,y[62]=p,y[63]=m,y[64]=h,y[65]=f):f=y[65],f}function tm(e){let a,r,s,i=(0,n.c)(7),{items:o,className:l}=e,c=`dialog-box ${void 0===l?"":l}`;return i[0]!==o?(a=o.map(th),i[0]=o,i[1]=a):a=i[1],i[2]!==a?(r=(0,t.jsx)("ul",{className:"space-y-3",children:a}),i[2]=a,i[3]=r):r=i[3],i[4]!==c||i[5]!==r?(s=(0,t.jsx)("div",{className:c,children:r}),i[4]=c,i[5]=r,i[6]=s):s=i[6],s}function th(e,n){return(0,t.jsx)("li",{children:(0,t.jsx)("a",{href:e.href,className:"pokemon-menu-item block text-[10px] leading-relaxed text-gba-text hover:text-gba-accent transition-colors",children:e.label})},n)}function tf(){let e,r,s,i,o,l,c,u,d,p,m,h,f,y,L,g,x=(0,n.c)(31),_=(0,e8.useRouter)(),{ref:I,isVisible:b}=e3(.2),[N,E]=(0,a.useState)(0),[v,S]=(0,a.useState)(0);x[0]===Symbol.for("react.memo_cache_sentinel")?(e="true"===localStorage.getItem("sylphe_lavender_hint"),x[0]=e):e=x[0];let A=e;x[1]===Symbol.for("react.memo_cache_sentinel")?(r="true"===localStorage.getItem("sylphe_lavender_mirror_unlocked"),x[1]=r):r=x[1];let R=r;x[2]!==N||x[3]!==_?(s=()=>{if(!A||R)return;let e=N+1;E(e),e>=4&&((0,U.setGameFlag)("sylphe_lavender_mirror_unlocked"),_.push("/lavender-mirror"))},x[2]=N,x[3]=_,x[4]=s):s=x[4];let O=s;x[5]===Symbol.for("react.memo_cache_sentinel")?(i=(0,t.jsx)("div",{className:"bg-gba-bg-darker text-gba-w
1hite text-[8px] px-3 py-2 mb-4 pixel-border inline-block",children:"â¶ CONTACT"}),x[5]=i):i=x[5];let T=`transition-all duration-700 ${b?"opacity-100":"opacity-0"}`,j=b?300:99999;x[6]!==j?(o=(0,t.jsx)(e1.default,{text:"Vous souhaitez nous contacter ? Notre équipe est à votre écoute !",speed:30,delay:j,className:"text-[8px] leading-[16px] text-gba-text block mb-4"}),x[6]=j,x[7]=o):o=x[7],x[8]===Symbol.for("react.memo_cache_sentinel")?(l=(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)("span",{className:"text-gba-accent",children:"⬤"}),(0,t.jsx)("span",{children:"JADIELLE CITY, KANTO"})]}),x[8]=l):l=x[8],x[9]===Symbol.for("react.memo_cache_sentinel")?(c=(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)("span",{className:"text-gba-blue",children:"⬤"}),(0,t.jsx)("span",{children:"[email protected]"})]}),x[9]=c):c=x[9],x[10]===Symbol.for("react.memo_cache_sentinel")?(u=(0,t.jsx)("span",{className:"text-gba-gold",children:"⬤"}),x[10]=u):u=x[10];let C=A?`POKEGEAR: 0800-SYLPHE poste 7 (${N}/4)`:"POKÃGEAR: 0800-SYLPHE";return x[11]!==O||x[12]!==C?(d=(0,t.jsxs)("div",{className:"space-y-3 text-[7px] text-gba-text",children:[l,c,(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[u,(0,t.jsx)("button",{type:"button",onClick:O,className:A?"cursor-pointer-pixel":"cursor-default",children:C})]})]}),x[11]=O,x[12]=C,x[13]=d):d=x[13],x[14]===Symbol.for("react.memo_cache_sentinel")?(p=A&&!R&&(0,t.jsx)("div",{className:"mt-4 text-[6px] text-gba-shadow",children:"Une vieille ligne de Lavanville repond encore. Les postes oublies n'ont jamais ete retires du central."}),x[14]=p):p=x[14],x[15]!==v||x[16]!==_?(m=(0,t.jsx)("button",{type:"button",onClick:()=>{let e=v+1;S(e),e>=3&&_.push("/cloning-pod-a")},className:"mt-3 text-[5px] text-gba-shadow opacity-30 cursor-pointer-pixel",children:"poste interne #042 â cuves de clonage"}),x[15]=v,x[16]=_,x[17]=m):m=x[17],x[18]!==d||x[19]!==m||x[20]!==o?(h=(0,t.jsxs)(e2.default,{children:[o,d,p,m]}),x[18]=d,x[19]=m,x[20]=o,x[21]=h):h=x[21],x[22]===Symbol.for("react.memo_cache_sentinel")?(f=(0,t.jsx)(tm,{items:[{label:"ACCUEIL",href:"#"},{label:"à PROPOS",href:"#about"},{label:"PRODUITS",href:"#products"},{label:"STATISTIQUES",href:"#stats"},{label:"ÃQUIPE",href:"#team"},{label:"SAUVEGARDER",href:"#"}]}),x[22]=f):f=x[22],x[23]!==h?(y=(0,t.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[h,f]}),x[23]=h,x[24]=y):y=x[24],x[25]!==y||x[26]!==T?(L=(0,t.jsx)("div",{className:T,children:y}),x[25]=y,x[26]=T,x[27]=L):L=x[27],x[28]!==I||x[29]!==L?(g=(0,t.jsxs)("section",{ref:I,id:"contact",className:"bg-gba-bg tile-bg p-4 md:p-6",children:[i,L]}),x[28]=I,x[29]=L,x[30]=g):g=x[30],g}function ty(){let e,r,s,i,o,l,c,u,d,p,m,h,f,y,L=(0,n.c)(20),g=(0,e8.useRouter)(),[x,_]=(0,a.useState)(0);return L[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,t.jsx)("div",{className:"flex justify-center gap-1 mb-3",children:Array.from({length:20}).map(tg)}),L[0]=e):e=L[0],L[1]===Symbol.for("react.memo_cache_sentinel")?(r=(0,t.jsxs)("div",{className:"mb-2",children:[(0,t.jsx)("span",{className:"text-gba-gold",children:"SYLPHE CORP."})," © 2026"]}),s=(0,t.jsx)("div",{className:"text-[6px] text-gba-shadow",children:"Propulsé par la technologie de KANTO"}),i=(0,t.jsx)("div",{className:"mt-2 text-[6px] text-gba-shadow",children:"â² Appuyez sur START â²"}),L[1]=r,L[2]=s,L[3]=i):(r=L[1],s=L[2],i=L[3]),L[4]!==g||L[5]!==x?(o=(0,t.jsx)("button",{type:"button",onClick:()=>{let e=x+1;_(e),e>=8&&g.push("/pc-bill")},className:"mt-3 text-[5px] text-gba-shadow opacity-40 cursor-pointer-pixel",children:"ââ DONNÃES SAUVEGARDÃES ââ N'ÃTEIGNEZ PAS ââ"}),L[4]=g,L[5]=x,L[6]=o):o=L[6],L[7]!==x?(l=x>=4&&(0,t.jsx)("div",{className:"mt-2 text-[5px] text-gba-gold opacity-60",children:"miroir discret: certains badges corporate repondent trop bien a l'ID 31415"}),L[7]=x,L[8]=l):l=L[8],L[9]!==o||L[10]!==l?(c=(0,t.jsxs)("div",{className:"text-[7px] text-gba-bg-darker leading-[14px]",children:[r,s,i,o,l]}),L[9]=o,L[10]=l,L[11]=c):c=L[11],L[12]===Symbol.for("react.memo_cache_sentinel")?(u=(0,t.jsx)("div",{className:"flex justify-center gap-1 mt-3",children:Array.from({length:20}).map(tL)}),d={color:"transparent",fontSize:"1px",lineHeight:"1px",userSelect:"text",position:"absolute",bottom:0,left:0},L[12]=u,L[13]=d):(u=L[12],d=L[13]),L[14]===Symbol.for("react.memo_cache_sentinel")?(p=(0,t.jsx)("a",{href:"/humans.txt",children:"/humans.txt"}),L[14]=p):p=L[14],L[15]===Symbol.for("react.memo_cache_sentinel")?(m=(0,t.jsx)("a",{href:"/silph-subway",children:"tunnel logistique"}),L[15]=m):m=L[15],L[16]===Symbol.for("react.memo_cache_sentinel")?(h=(0,t.jsx)("a",{href:"/cold-storage",children:"La chambre froide"}),L[16]=h):h=L[16],L[17]===Symbol.for("react.memo_cache_sentinel")?(f=(0,t.jsxs)("div",{style:d,children:["JOURNAL DE BORD â DR FUJI â Le sujet 150 montre des capacites psychiques depassant toute mesure. Giovanni insiste pour accelerer. Mot de passe casino: les triple 7 cachent Porygon-Z. Verifiez ",p," pour le dernier message du developpeur piege. Les cuves de clonage sont au poste 42. Le miroir spectral detecte trois spectres. La maison piege requiert un badge securite. L'intranet Rocket ne se montre qu'a Giovanni. La commande forensics compare les journaux du Musee Null, du 11e Etage et de la White Room. Le ",m," relie le hall au Musee Null si vous possedez le Passe Train. ",h," contient des sauvegardes gelees depuis 1997. La ",(0,t.jsx)("a",{href:"/printer-room",children:"salle d'impression"})," cache un filigrane."]}),L[17]=f):f=L[17],L[18]!==c?(y=(0,t.jsxs)("footer",{className:"bg-gba-text text-center py-6 px-4 relative overflow-hidden",children:[e,c,u,f]}),L[18]=c,L[19]=y):y=L[19],y}function tL(e,n){return(0,t.jsx)("div",{className:"w-[4px] h-[4px]",style:{backgroundColor:n%3==0?"#f8d830":n%3==1?"#f85858":"#5898f8",opacity:.6}},n)}function tg(e,n){return(0,t.jsx)("div",{className:"w-[4px] h-[4px]",style:{backgroundColor:n%3==0?"#f8d830":n%3==1?"#f85858":"#5898f8",opacity:.6}},n)}function tx(){let e,i,o,l,c,u,d,p=(0,n.c)(17),[m,h]=(0,a.useState)(!1),[f,y]=(0,a.useState)(!1),[L,g]=(0,a.useState)(!1),{actions:x}=(0,r.useMusic)();p[0]===Symbol.for("react.memo_cache_sentinel")?(e=()=>{h(!0),setTimeout(()=>{y(!0),h(!1)},600)},p[0]=e):e=p[0];let _=e;p[1]!==x?(i=()=>{g(!0),x.toggleSequence("drums")},p[1]=x,p[2]=i):i=p[2];let I=i;p[3]!==x?(o=()=>{g(!1),x.toggleSequence("drums")},p[3]=x,p[4]=o):o=p[4];let b=o;return p[5]!==b||p[6]!==L?(l=L?(0,t.jsx)(eN,{onClose:b}):void 0,p[5]=b,p[6]=L,p[7]=l):l=p[7],p[8]!==m?(c=m&&(0,t.jsx)("div",{className:"fixed inset-0 z-[200] pointer-events-none",children:Array.from({length:6}).map(tI)}),p[8]=m,p[9]=c):c=p[9],p[10]!==f||p[11]!==I?(u=f?(0,t.jsxs)("div",{className:"relative",style:{animation:"screen-on 0.5s ease-out"},children:[(0,t.jsxs)("div",{className:"sticky top-0 z-40 bg-gba-text text-gba-w
1hite text-[7px] px-3 py-[6px] flex justify-between items-center",children:[(0,t.jsx)("span",{className:"text-gba-gold",children:"SYLPHE CORP."}),(0,t.jsxs)("div",{className:"flex gap-3 items-center",children:[(0,t.jsx)(eT,{}),[{label:"INFO",href:"#about"},{label:"ITEMS",href:"#products"},{label:"STATS",href:"#stats"},{label:"TEAM",href:"#team"}].map(t_),(0,t.jsx)(eA,{})]})]}),(0,t.jsx)(eU,{}),(0,t.jsx)(ek,{}),(0,t.jsx)(e7,{onOpenTerminal:I}),(0,t.jsx)(e9,{}),(0,t.jsx)(ti,{}),(0,t.jsx)(tl,{}),(0,t.jsx)(tp,{}),(0,t.jsx)(tf,{}),(0,t.jsx)(ty,{}),(0,t.jsx)(ew,{})]}):(0,t.jsx)(ez,{onStart:_}),p[10]=f,p[11]=I,p[12]=u):u=p[12],p[13]!==l||p[14]!==c||p[15]!==u?(d=(0,t.jsxs)(s.default,{overlay:l,children:[c,u]}),p[13]=l,p[14]=c,p[15]=u,p[16]=d):d=p[16],d}function t_(e){return(0,t.jsx)("a",{href:e.href,className:"hover:text-gba-accent transition-colors",children:e.label},e.label)}function tI(e,n){return(0,t.jsx)("div",{className:"absolute bg-gba-white",style:{top:`${16.67*n}%`,left:n%2==0?"0":void 0,right:n%2!=0?"0":void 0,width:"100%",height:"16.67%",animation:`fade-in 0.15s ease-out ${.05*n}s both`}},n)}e.s(["default",()=>tx],52683)}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.