1import{j as t}from"./vendor-query-DFKzjVri.js";import{r as a}from"./vendor-react-B9UTwVUJ.js";import{B as m}from"./index-BmRjENVC.js";import{C as c}from"./card-CwhdHZ1t.js";import{L as l}from"./Layout-U3hfl5tA.js";import"./vendor-supabase-IraqMp5m.js";import"./vendor-ui-5lK0Gku8.js";import"./use-toast-tfTEdvO_.js";import"./sheet-CR4W5BFg.js";import"./dialog-DtmeHtV9.js";import"./createLucideIcon-DcuJWPyU.js";import"./separator-DO-uaT3r.js";import"./engagementMilestones-JMZ1KSvC.js";import"./crown-Ulhw-YL6.js";import"./settings-k-fEU8RX.js";const S=()=>{const[s,r]=a.useState(""),o=()=>{try{const e=speechSynthesis.getVoices(),i=`Voices loaded: ${e.length} 2 3${JSON.stringify(e,null,2)}`;r(i),e.length===0?alert("Aucune voix détectée (Android bug ou voix non chargées)"):alert("Voix détectées : "+e.length)}catch(e){alert("Erreur: "+e.message),r("Erreur: "+e.message)}};return t.jsx(l,{children:t.jsx("div",{className:"container mx-auto px-4 py-8",children:t.jsxs(c,{className:"p-6 max-w-4xl mx-auto",children:[t.jsx("h2",{className:"text-2xl font-bold mb-4",children:"Test des voix TTS"}),t.jsx("p",{className:"mb-4",children:"Appuyez ici pour tester le TTS Android :"}),t.jsx(m,{onClick:o,size:"lg",children:"Tester les voix"}),s&&t.jsx("pre",{className:"mt-6 p-4 bg-muted rounded-lg overflow-auto whitespace-pre-wrap text-sm",children:s})]})})})};export{S as default};
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.