import { Ondoku } from "../../lib/tools/ondoku.js";
const ondk = new Ondoku();
const VOICES = new Map([
  ["ps-AF-GulNawazNeural", " Ú«Ù„ Ù†ÙˆØ§Ø²"],
  ["en-US-AIGenerate1Neural", "AIGenerate1"],
  ["en-US-AIGenerate2Neural", "AIGenerate2"],
  ["en-GB-AbbiNeural", "Abbi"],
  ["en-NG-AbeoNeural", "Abeo"],
  ["es-ES-AbrilNeural", "Abril"],
  ["th-TH-AcharaNeural", "Achara"],
  ["en-IN-Aditi", "Aditi"],
  ["hi-IN-Aditi", "Aditi"],
  ["af-ZA-AdriNeural", "Adri"],
  ["pl-PL-AgnieszkaNeural", "Agnieszka"],
  ["tr-TR-AhmetNeural", "Ahmet"],
  ["eu-ES-AinhoaNeural", "Ainhoa"],
  ["fr-FR-AlainNeural", "Alain"],
  ["ca-ES-AlbaNeural", "Alba"],
  ["cy-GB-AledNeural", "Aled"],
  ["es-PE-AlexNeural", "Alex"],
  ["en-GB-AlfieNeural", "Alfie"],
  ["ro-RO-AlinaNeural", "Alina"],
  ["es-US-AlonsoNeural", "Alonso"],
  ["es-ES-AlvaroNeural", "Alvaro"],
  ["de-DE-AmalaNeural", "Amala"],
  ["en-US-AmberNeural", "Amber"],
  ["en-GB-Amy", "Amy"],
  ["en-US-AnaNeural", "Ana"],
  ["eu-ES-AnderNeural", "Ander"],
  ["es-EC-AndreaNeural", "Andrea"],
  ["es-GT-AndresNeural", "AndrÃ©s"],
  ["fil-PH-AngeloNeural", "Angelo"],
  ["sq-AL-AnilaNeural", "Anila"],
  ["en-AU-AnnetteNeural", "Annette"],
  ["fr-CA-AntoineNeural", "Antoine"],
  ["cs-CZ-AntoninNeural", "Antonin"],
  ["pt-BR-AntonioNeural", "Antonio"],
  ["et-EE-AnuNeural", "Anu"],
  ["id-ID-ArdiNeural", "Ardi"],
  ["en-US-AriaNeural", "Aria"],
  ["fr-CH-ArianeNeural", "Ariane"],
  ["es-ES-ArnauNeural", "Arnau"],
  ["nl-BE-ArnaudNeural", "Arnaud"],
  ["en-US-AshleyNeural", "Ashley"],
  ["en-KE-AsiliaNeural", "Asilia"],
  ["sv-SE-Astrid", "Astrid"],
  ["el-GR-AthinaNeural", "Athina"],
  ["he-IL-AvriNeural", "Avri"],
  ["az-AZ-BabekNeural", "BabÉ™k"],
  ["az-AZ-BanuNeural", "Banu"],
  ["es-MX-BeatrizNeural", "Beatriz"],
  ["es-CU-BelkysNeural", "Belkys"],
  ["en-GB-BellaNeural", "Bella"],
  ["it-IT-BenignoNeural", "Benigno"],
  ["de-DE-BerndNeural", "Bernd"],
  ["it-IT-Bianca", "Bianca"],
  ["fil-PH-BlessicaNeural", "Blessica"],
  ["en-US-BlueNeural", "Blue"],
  ["bg-BG-BorislavNeural", "Borislav"],
  ["en-US-BrandonNeural", "Brandon"],
  ["pt-BR-BrendaNeural", "Brenda"],
  ["en-GB-Brian", "Brian"],
  ["fr-FR-BrigitteNeural", "Brigitte"],
  ["it-IT-CalimeroNeural", "Calimero"],
  ["es-PE-CamilaNeural", "Camila"],
  ["pt-BR-Camila", "Camila"],
  ["es-MX-CandelaNeural", "Candela"],
  ["it-IT-Carla", "Carla"],
  ["es-HN-CarlosNeural", "Carlos"],
  ["es-MX-CarlotaNeural", "Carlota"],
  ["en-AU-CarlyNeural", "Carly"],
  ["ro-RO-Carmen", "Carmen"],
  ["it-IT-CataldoNeural", "Cataldo"],
  ["es-CL-CatalinaNeural", "Catalina"],
  ["es-MX-CecilioNeural", "Cecilio"],
  ["fr-FR-CelesteNeural", "Celeste"],
  ["fr-FR-Celine", "Celine"],
  ["fr-CA-Chantal", "Chantal"],
  ["fr-BE-CharlineNeural", "Charline"],
  ["en-KE-ChilembaNeural", "Chilemba"],
  ["da-DK-ChristelNeural", "Christel"],
  ["de-DE-ChristophNeural", "Christoph"],
  ["en-US-ChristopherNeural", "Christopher"],
  ["en-CA-ClaraNeural", "Clara"],
  ["fr-FR-ClaudeNeural", "Claude"],
  ["nl-NL-ColetteNeural", "Colette"],
  ["ga-IE-ColmNeural", "Colm"],
  ["es-ES-Conchita", "Conchita"],
  ["en-IE-ConnorNeural", "Connor"],
  ["de-DE-ConradNeural", "Conrad"],
  ["en-US-CoraNeural", "Cora"],
  ["fr-FR-CoralieNeural", "Coralie"],
  ["pt-PT-Cristiano", "Cristiano"],
  ["es-MX-DaliaNeural", "Dalia"],
  ["es-ES-DarioNeural", "Dario"],
  ["ru-RU-DariyaNeural", "Dariya"],
  ["en-AU-DarrenNeural", "Darren"],
  ["sw-TZ-DaudiNeural", "Daudi"],
  ["en-US-DavisNeural", "Davis"],
  ["nl-BE-DenaNeural", "Dena"],
  ["fr-FR-DeniseNeural", "Denise"],
  ["it-IT-DiegoNeural", "Diego"],
  ["jv-ID-DimasNeural", "Dimas"],
  ["ru-RU-DmitryNeural", "Dmitry"],
  ["pt-BR-DonatoNeural", "Donato"],
  ["is-IS-Dora", "Dora"],
  ["pt-PT-DuarteNeural", "Duarte"],
  ["en-AU-DuncanNeural", "Duncan"],
  ["es-AR-ElenaNeural", "Elena"],
  ["es-ES-EliasNeural", "Elias"],
  ["en-TZ-ElimuNeural", "Elimu"],
  ["en-US-ElizabethNeural", "Elizabeth"],
  ["de-DE-ElkeNeural", "Elke"],
  ["en-GB-ElliotNeural", "Elliot"],
  ["fr-FR-EloiseNeural", "Eloise"],
  ["it-IT-ElsaNeural", "Elsa"],
  ["en-AU-ElsieNeural", "Elsie"],
  ["es-ES-ElviraNeural", "Elvira"],
  ["pt-BR-ElzaNeural", "Elza"],
  ["tr-TR-EmelNeural", "Emel"],
  ["ro-RO-EmilNeural", "Emil"],
  ["es-DO-EmilioNeural", "Emilio"],
  ["en-IE-EmilyNeural", "Emily"],
  ["en-GB-Emma", "Emma"],
  ["ca-ES-EnricNeural", "Enric"],
  ["es-ES-Enrique", "Enrique"],
  ["en-US-EricNeural", "Eric"],
  ["es-ES-EstrellaNeural", "Estrella"],
  ["en-GB-EthanNeural", "Ethan"],
  ["lv-LV-EveritaNeural", "Everita"],
  ["pl-PL-Ewa", "Ewa"],
  ["en-NG-EzinneNeural", "Ezinne"],
  ["pt-BR-FabioNeural", "Fabio"],
  ["it-IT-FabiolaNeural", "Fabiola"],
  ["fr-CH-FabriceNeural", "Fabrice"],
  ["es-NI-FedericoNeural", "Federico"],
  ["nl-NL-FennaNeural", "Fenna"],
  ["pt-PT-FernandaNeural", "Fernanda"],
  ["it-IT-FiammaNeural", "Fiamma"],
  ["tr-TR-Filiz", "Filiz"],
  ["nb-NO-FinnNeural", "Finn"],
  ["pt-BR-FranciscaNeural", "Francisca"],
  ["en-AU-FreyaNeural", "Freya"],
  ["hr-HR-GabrijelaNeural", "Gabrijela"],
  ["id-ID-GadisNeural", "Gadis"],
  ["en-GB-Geraint", "Geraint"],
  ["fr-BE-GerardNeural", "Gerard"],
  ["es-MX-GerardoNeural", "Gerardo"],
  ["it-IT-GianniNeural", "Gianni"],
  ["it-IT-Giorgio", "Giorgio"],
  ["pt-BR-GiovannaNeural", "Giovanna"],
  ["de-DE-GiselaNeural", "Gisela"],
  ["es-CO-GonzaloNeural", "Gonzalo"],
  ["bs-BA-GoranNeural", "Goran"],
  ["mt-MT-GraceNeural", "Grace"],
  ["is-IS-GunnarNeural", "Gunnar"],
  ["en-US-GuyNeural", "Guy"],
  ["is-IS-GudrunNeural", "GuÃ°rÃºn"],
  ["cy-GB-Gwyneth", "Gwyneth"],
  ["ar-SA-HamedNeural", "Hamed"],
  ["de-DE-Hans", "Hans"],
  ["fi-FI-HarriNeural", "Harri"],
  ["ne-NP-HemkalaNeural", "Hemkala"],
  ["fr-FR-HenriNeural", "Henri"],
  ["he-IL-HilaNeural", "Hila"],
  ["sv-SE-HilleviNeural", "Hillevi"],
  ["zh-HK-HiuGaaiNeural", "HiuGaai"],
  ["zh-HK-HiuMaanNeural", "HiuMaan"],
  ["vi-VN-HoaiMyNeural", "HoaiMy"],
  ["en-GB-HollieNeural", "Hollie"],
  ["zh-TW-HsiaoChenNeural", "HsiaoChen"],
  ["zh-TW-HsiaoYuNeural", "HsiaoYu"],
  ["pt-BR-HumbertoNeural", "Humberto"],
  ["sq-AL-IlirNeural", "Ilir"],
  ["en-TZ-ImaniNeural", "Imani"],
  ["it-IT-ImeldaNeural", "Imelda"],
  ["ko-KR-InJoonNeural", "InJoon"],
  ["pt-PT-Ines", "Ines"],
  ["de-AT-IngridNeural", "Ingrid"],
  ["es-ES-IreneNeural", "Irene"],
  ["it-IT-IrmaNeural", "Irma"],
  ["it-IT-IsabellaNeural", "Isabella"],
  ["nb-NO-IselinNeural", "Iselin"],
  ["en-US-Ivy", "Ivy"],
  ["pl-PL-Jacek", "Jacek"],
  ["en-US-JacobNeural", "Jacob"],
  ["fr-FR-JacquelineNeural", "Jacqueline"],
  ["su-ID-JajangNeural", "Jajang"],
  ["en-PH-JamesNeural", "James"],
  ["de-CH-JanNeural", "Jan"],
  ["pl-PL-Jan", "Jan"],
  ["en-US-JaneNeural", "Jane"],
  ["en-US-JasonNeural", "Jason"],
  ["es-GQ-JavierNeural", "Javier"],
  ["fr-CA-JeanNeural", "Jean"],
  ["en-US-JennyNeural", "Jenny"],
  ["en-US-JennyMultilingualNeural", "Jenny Multilingual"],
  ["en-US-JennyMultilingualV2Neural", "Jenny Multilingual V2"],
  ["fr-FR-JennyMultilingualV2Neural", "Jenny(Multilingue)"],
  ["vi-VN-JennyMultilingualV2Neural", "Jenny(Äa ngÃ´n ngá»¯)"],
  ["da-DK-JeppeNeural", "Jeppe"],
  ["fr-FR-JeromeNeural", "Jerome"],
  ["ca-ES-JoanaNeural", "Joana"],
  ["en-US-Joanna", "Joanna"],
  ["en-AU-JoanneNeural", "Joanne"],
  ["en-US-Joey", "Joey"],
  ["de-AT-JonasNeural", "Jonas"],
  ["es-MX-JorgeNeural", "Jorge"],
  ["mt-MT-JosephNeural", "Joseph"],
  ["fr-FR-JosephineNeural", "Josephine"],
  ["es-CR-JuanNeural", "Juan"],
  ["pt-BR-JulioNeural", "Julio"],
  ["en-US-Justin", "Justin"],
  ["bg-BG-KalinaNeural", "Kalina"],
  ["es-PR-KarinaNeural", "Karina"],
  ["is-IS-Karl", "Karl"],
  ["es-HN-KarlaNeural", "Karla"],
  ["de-DE-KasperNeural", "Kasper"],
  ["de-DE-KatjaNeural", "Katja"],
  ["en-AU-KenNeural", "Ken"],
  ["en-US-Kendra", "Kendra"],
  ["et-EE-KertNeural", "Kert"],
  ["en-US-Kevin", "Kevin"],
  ["de-DE-KillianNeural", "Killian"],
  ["en-AU-KimNeural", "Kim"],
  ["en-US-Kimberly", "Kimberly"],
  ["de-DE-KlarissaNeural", "Klarissa"],
  ["de-DE-KlausNeural", "Klaus"],
  ["es-ES-LaiaNeural", "Laia"],
  ["es-MX-LarissaNeural", "Larissa"],
  ["en-ZA-LeahNeural", "Leah"],
  ["pt-BR-LeilaNeural", "Leila"],
  ["de-CH-LeniNeural", "Leni"],
  ["lt-LT-LeonasNeural", "Leonas"],
  ["pt-BR-LeticiaNeural", "Leticia"],
  ["es-ES-LiaNeural", "Lia"],
  ["en-CA-LiamNeural", "Liam"],
  ["en-GB-LibbyNeural", "Libby"],
  ["es-MX-LibertoNeural", "Liberto"],
  ["it-IT-LisandroNeural", "Lisandro"],
  ["nb-NO-Liv", "Liv"],
  ["es-SV-LorenaNeural", "Lorena"],
  ["es-CL-LorenzoNeural", "Lorenzo"],
  ["nl-NL-Lotte", "Lotte"],
  ["de-DE-LouisaNeural", "Louisa"],
  ["es-ES-Lucia", "Lucia"],
  ["es-MX-LucianoNeural", "Luciano"],
  ["es-EC-LuisNeural", "Luis"],
  ["sk-SK-LukasNeural", "Lukas"],
  ["en-ZA-LukeNeural", "Luke"],
  ["en-SG-LunaNeural", "Luna"],
  ["es-US-Lupe", "Lupe"],
  ["fr-FR-Lea", "LÃ©a"],
  ["nl-NL-MaartenNeural", "Maarten"],
  ["hi-IN-MadhurNeural", "Madhur"],
  ["uz-UZ-MadinaNeural", "Madina"],
  ["da-DK-Mads", "Mads"],
  ["en-GB-MaisieNeural", "Maisie"],
  ["de-DE-MajaNeural", "Maja"],
  ["pl-PL-Maja", "Maja"],
  ["es-CU-ManuelNeural", "Manuel"],
  ["pt-BR-ManuelaNeural", "Manuela"],
  ["es-BO-MarceloNeural", "Marcelo"],
  ["pl-PL-MarekNeural", "Marek"],
  ["es-PA-MargaritaNeural", "Margarita"],
  ["es-MX-MarinaNeural", "Marina"],
  ["es-PY-MarioNeural", "Mario"],
  ["de-DE-Marlene", "Marlene"],
  ["es-GT-MartaNeural", "Marta"],
  ["es-CR-MariaNeural", "MarÃ­a"],
  ["es-UY-MateoNeural", "Mateo"],
  ["fr-FR-Mathieu", "Mathieu"],
  ["en-US-Matthew", "Matthew"],
  ["sv-SE-MattiasNeural", "Mattias"],
  ["fr-FR-MauriceNeural", "Maurice"],
  ["ru-RU-Maxim", "Maxim"],
  ["en-GB-MiaNeural", "Mia"],
  ["es-MX-Mia", "Mia"],
  ["en-US-MichelleNeural", "Michelle"],
  ["es-US-Miguel", "Miguel"],
  ["en-NZ-MitchellNeural", "Mitchell"],
  ["te-IN-MohanNeural", "Mohan"],
  ["en-NZ-MollyNeural", "Molly"],
  ["en-US-MonicaNeural", "Monica"],
  ["so-SO-MuuseNeural", "Muuse"],
  ["da-DK-Naja", "Naja"],
  ["vi-VN-NamMinhNeural", "NamMinh"],
  ["en-US-NancyNeural", "Nancy"],
  ["en-AU-NatashaNeural", "Natasha"],
  ["en-IN-NeerjaNeural", "Neerja"],
  ["en-AU-NeilNeural", "Neil"],
  ["el-GR-NestorasNeural", "Nestoras"],
  ["cy-GB-NiaNeural", "Nia"],
  ["sr-Latn-RS-NicholasNeural", "Nicholas"],
  ["pt-BR-NicolauNeural", "Nicolau"],
  ["en-AU-Nicole", "Nicole"],
  ["es-ES-NilNeural", "Nil"],
  ["my-MM-NilarNeural", "Nilar"],
  ["lv-LV-NilsNeural", "Nils"],
  ["th-TH-NiwatNeural", "Niwat"],
  ["en-GB-NoahNeural", "Noah"],
  ["hu-HU-NoemiNeural", "Noemi"],
  ["fi-FI-NooraNeural", "Noora"],
  ["es-MX-NuriaNeural", "Nuria"],
  ["en-GB-OliverNeural", "Oliver"],
  ["en-AU-Olivia", "Olivia"],
  ["en-GB-OliviaNeural", "Olivia"],
  ["lt-LT-OnaNeural", "Ona"],
  ["ga-IE-OrlaNeural", "Orla"],
  ["ms-MY-OsmanNeural", "Osman"],
  ["ta-IN-PallaviNeural", "Pallavi"],
  ["it-IT-PalmiraNeural", "Palmira"],
  ["es-US-PalomaNeural", "Paloma"],
  ["es-VE-PaolaNeural", "Paola"],
  ["es-MX-PelayoNeural", "Pelayo"],
  ["es-US-Penelope", "Penelope"],
  ["nb-NO-PernilleNeural", "Pernille"],
  ["sl-SI-PetraNeural", "Petra"],
  ["it-IT-PierinaNeural", "Pierina"],
  ["en-IN-PrabhatNeural", "Prabhat"],
  ["th-TH-PremwadeeNeural", "Premwadee"],
  ["sw-KE-RafikiNeural", "Rafiki"],
  ["de-DE-RalfNeural", "Ralf"],
  ["es-DO-RamonaNeural", "Ramona"],
  ["pt-PT-RaquelNeural", "Raquel"],
  ["en-IN-Raveena", "Raveena"],
  ["sw-TZ-RehemaNeural", "Rehema"],
  ["es-MX-RenataNeural", "Renata"],
  ["pt-BR-Ricardo", "Ricardo"],
  ["it-IT-RinaldoNeural", "Rinaldo"],
  ["es-PA-RobertoNeural", "Roberto"],
  ["es-SV-RodrigoNeural", "Rodrigo"],
  ["en-US-RogerNeural", "Roger"],
  ["gl-ES-RoiNeural", "Roi"],
  ["sl-SI-RokNeural", "Rok"],
  ["en-PH-RosaNeural", "Rosa"],
  ["nl-NL-Ruben", "Ruben"],
  ["en-AU-Russell", "Russell"],
  ["en-GB-RyanNeural", "Ryan"],
  ["en-US-RyanMultilingualNeural", "Ryan Multilingual"],
  ["gl-ES-SabelaNeural", "Sabela"],
  ["ne-NP-SagarNeural", "Sagar"],
  ["en-US-Salli", "Salli"],
  ["ar-EG-SalmaNeural", "Salma"],
  ["es-CO-SalomeNeural", "Salome"],
  ["en-HK-SamNeural", "Sam"],
  ["en-US-SaraNeural", "Sara"],
  ["uz-UZ-SardorNeural", "Sardor"],
  ["es-ES-SaulNeural", "Saul"],
  ["es-VE-SebastianNeural", "SebastiÃ¡n"],
  ["fi-FI-SelmaNeural", "Selma"],
  ["ko-KR-Seoyeon", "Seoyeon"],
  ["ar-EG-ShakirNeural", "Shakira"],
  ["te-IN-ShrutiNeural", "Shruti"],
  ["jv-ID-SitiNeural", "Siti"],
  ["es-BO-SofiaNeural", "Sofia"],
  ["sv-SE-SofieNeural", "Sofie"],
  ["en-GB-SoniaNeural", "Sonia"],
  ["sr-Latn-RS-SophieNeural", "Sophie"],
  ["hr-HR-SreckoNeural", "Srecko"],
  ["en-US-SteffanNeural", "Steffan"],
  ["ko-KR-SunHiNeural", "SunHi"],
  ["ru-RU-SvetlanaNeural", "Svetlana"],
  ["hi-IN-SwaraNeural", "Swara"],
  ["fr-CA-SylvieNeural", "Sylvie"],
  ["hu-HU-TamasNeural", "Tamas"],
  ["es-PY-TaniaNeural", "Tania"],
  ["de-DE-TanjaNeural", "Tanja"],
  ["ru-RU-Tatyana", "Tatyana"],
  ["es-ES-TeoNeural", "Teo"],
  ["es-GQ-TeresaNeural", "Teresa"],
  ["zu-ZA-ThandoNeural", "Thando"],
  ["zu-ZA-ThembaNeural", "Themba"],
  ["my-MM-ThihaNeural", "Thiha"],
  ["en-GB-ThomasNeural", "Thomas"],
  ["en-AU-TimNeural", "Tim"],
  ["en-AU-TinaNeural", "Tina"],
  ["es-AR-TomasNeural", "Tomas"],
  ["en-US-TonyNeural", "Tony"],
  ["es-ES-TrianaNeural", "Triana"],
  ["su-ID-TutiNeural", "Tuti"],
  ["so-SO-UbaxNeural", "Ubax"],
  ["es-UY-ValentinaNeural", "Valentina"],
  ["pt-BR-ValerioNeural", "Valerio"],
  ["ta-IN-ValluvarNeural", "Valluvar"],
  ["es-ES-VeraNeural", "Vera"],
  ["bs-BA-VesnaNeural", "Vesna"],
  ["de-DE-Vicki", "Vicki"],
  ["sk-SK-ViktoriaNeural", "Viktoria"],
  ["pt-BR-Vitoria", "Vitoria"],
  ["cs-CZ-VlastaNeural", "Vlasta"],
  ["es-PR-VictorNeural", "VÃ­ctor"],
  ["zh-HK-WanLungNeural", "WanLung"],
  ["en-SG-WayneNeural", "Wayne"],
  ["af-ZA-WillemNeural", "Willem"],
  ["en-AU-WilliamNeural", "William"],
  ["zh-CN-XiaoxiaoNeural", "Xiaoxiao"],
  ["zh-CN-XiaoyouNeural", "Xiaoyou"],
  ["es-MX-YagoNeural", "Yago"],
  ["en-HK-YanNeural", "Yan"],
  ["pt-BR-YaraNeural", "Yara"],
  ["ms-MY-YasminNeural", "Yasmin"],
  ["es-NI-YolandaNeural", "Yolanda"],
  ["zh-TW-YunJheNeural", "YunJhe"],
  ["zh-CN-YunyangNeural", "Yunyang"],
  ["zh-CN-YunyeNeural", "Yunye"],
  ["fr-FR-YvesNeural", "Yves"],
  ["fr-FR-YvetteNeural", "Yvette"],
  ["ar-SA-ZariyahNeural", "Zariyah"],
  ["ar-XA-Zeina", "Zeina"],
  ["cmn-CN-Zhiyu", "Zhiyu"],
  ["pl-PL-ZofiaNeural", "Zofia"],
  ["sw-KE-ZuriNeural", "Zuri"],
  ["ar-XA-Wavenet-A", "ar-XA-A"],
  ["ar-XA-Wavenet-B", "ar-XA-B"],
  ["ar-XA-Wavenet-C", "ar-XA-C"],
  ["bn-IN-Wavenet-A", "bn-IN-A"],
  ["bn-IN-Wavenet-B", "bn-IN-B"],
  ["cmn-CN-Wavenet-A", "cmn-CN-A"],
  ["cmn-CN-Wavenet-B", "cmn-CN-B"],
  ["cmn-CN-Wavenet-C", "cmn-CN-C"],
  ["cmn-CN-Wavenet-D", "cmn-CN-D"],
  ["cmn-TW-Wavenet-A", "cmn-TW-A"],
  ["cmn-TW-Wavenet-B", "cmn-TW-B"],
  ["cmn-TW-Wavenet-C", "cmn-TW-C"],
  ["cs-CZ-Wavenet-A", "cs-CZ-A"],
  ["da-DK-Wavenet-A", "da-DK-A"],
  ["da-DK-Wavenet-C", "da-DK-C"],
  ["da-DK-Neural2-D", "da-DK-D"],
  ["da-DK-Wavenet-E", "da-DK-E"],
  ["de-DE-Neural2-A", "de-DE-A"],
  ["de-DE-Neural2-B", "de-DE-B"],
  ["de-DE-Neural2-C", "de-DE-C"],
  ["de-DE-Neural2-D", "de-DE-D"],
  ["de-DE-Wavenet-E", "de-DE-E"],
  ["de-DE-Neural2-F", "de-DE-F"],
  ["el-GR-Wavenet-A", "el-GR-A"],
  ["en-AU-Neural2-A", "en-AU-A"],
  ["en-AU-Neural2-B", "en-AU-B"],
  ["en-AU-Neural2-C", "en-AU-C"],
  ["en-GB-Neural2-A", "en-GB-A"],
  ["en-GB-Neural2-B", "en-GB-B"],
  ["en-GB-Neural2-C", "en-GB-C"],
  ["en-GB-Neural2-D", "en-GB-D"],
  ["en-GB-Neural2-F", "en-GB-F"],
  ["en-IN-Neural2-A", "en-IN-A"],
  ["en-IN-Neural2-B", "en-IN-B"],
  ["en-IN-Neural2-C", "en-IN-C"],
  ["en-IN-Neural2-D", "en-IN-D"],
  ["en-US-Neural2-A", "en-US-A"],
  ["en-US-Wavenet-B", "en-US-B"],
  ["en-US-Neural2-C", "en-US-C"],
  ["en-US-Neural2-D", "en-US-D"],
  ["en-US-Neural2-E", "en-US-E"],
  ["en-US-Neural2-F", "en-US-F"],
  ["es-ES-Standard-A", "es-ES-A"],
  ["es-US-Neural2-A", "es-US-A"],
  ["es-US-Neural2-B", "es-US-B"],
  ["es-US-Neural2-C", "es-US-C"],
  ["fi-FI-Wavenet-A", "fi-FI-A"],
  ["fil-PH-Wavenet-A", "fil-PH-A"],
  ["fil-PH-Wavenet-B", "fil-PH-B"],
  ["fil-PH-Wavenet-C", "fil-PH-C"],
  ["fil-PH-Wavenet-D", "fil-PH-D"],
  ["fr-CA-Neural2-A", "fr-CA-A"],
  ["fr-CA-Neural2-B", "fr-CA-B"],
  ["fr-CA-Neural2-C", "fr-CA-C"],
  ["fr-CA-Neural2-D", "fr-CA-D"],
  ["fr-FR-Neural2-A", "fr-FR-A"],
  ["fr-FR-Neural2-B", "fr-FR-B"],
  ["fr-FR-Neural2-C", "fr-FR-C"],
  ["fr-FR-Neural2-D", "fr-FR-D"],
  ["fr-FR-Neural2-E", "fr-FR-E"],
  ["hi-IN-Neural2-A", "hi-IN-A"],
  ["hi-IN-Neural2-B", "hi-IN-B"],
  ["hi-IN-Neural2-C", "hi-IN-C"],
  ["hi-IN-Neural2-D", "hi-IN-D"],
  ["hu-HU-Wavenet-A", "hu-HU-A"],
  ["id-ID-Wavenet-A", "id-ID-A"],
  ["id-ID-Wavenet-B", "id-ID-B"],
  ["id-ID-Wavenet-C", "id-ID-C"],
  ["id-ID-Wavenet-D", "id-ID-D"],
  ["it-IT-Neural2-A", "it-IT-A"],
  ["it-IT-Wavenet-B", "it-IT-B"],
  ["it-IT-Neural2-C", "it-IT-C"],
  ["it-IT-Wavenet-D", "it-IT-D"],
  ["ko-KR-Neural2-A", "ko-KR-A"],
  ["ko-KR-Neural2-B", "ko-KR-B"],
  ["ko-KR-Neural2-C", "ko-KR-C"],
  ["ko-KR-Wavenet-D", "ko-KR-D"],
  ["nb-NO-Wavenet-A", "nb-NO-A"],
  ["nb-NO-Wavenet-B", "nb-NO-B"],
  ["nb-NO-Wavenet-C", "nb-NO-C"],
  ["nb-NO-Wavenet-D", "nb-NO-D"],
  ["nb-NO-Wavenet-E", "nb-NO-E"],
  ["nl-NL-Wavenet-A", "nl-NL-A"],
  ["nl-NL-Wavenet-B", "nl-NL-B"],
  ["nl-NL-Wavenet-C", "nl-NL-C"],
  ["nl-NL-Wavenet-D", "nl-NL-D"],
  ["nl-NL-Wavenet-E", "nl-NL-E"],
  ["pl-PL-Wavenet-A", "pl-PL-A"],
  ["pl-PL-Wavenet-B", "pl-PL-B"],
  ["pl-PL-Wavenet-C", "pl-PL-C"],
  ["pl-PL-Wavenet-D", "pl-PL-D"],
  ["pl-PL-Wavenet-E", "pl-PL-E"],
  ["pt-BR-Neural2-A", "pt-BR-A"],
  ["pt-PT-Wavenet-A", "pt-PT-A"],
  ["pt-PT-Wavenet-B", "pt-PT-B"],
  ["pt-PT-Wavenet-C", "pt-PT-C"],
  ["pt-PT-Wavenet-D", "pt-PT-D"],
  ["ru-RU-Wavenet-A", "ru-RU-A"],
  ["ru-RU-Wavenet-B", "ru-RU-B"],
  ["ru-RU-Wavenet-C", "ru-RU-C"],
  ["ru-RU-Wavenet-D", "ru-RU-D"],
  ["ru-RU-Wavenet-E", "ru-RU-E"],
  ["sk-SK-Wavenet-A", "sk-SK-A"],
  ["sv-SE-Wavenet-A", "sv-SE-A"],
  ["th-TH-Standard-A", "th-TH-A"],
  ["tr-TR-Wavenet-A", "tr-TR-A"],
  ["tr-TR-Wavenet-B", "tr-TR-B"],
  ["tr-TR-Wavenet-C", "tr-TR-C"],
  ["tr-TR-Wavenet-D", "tr-TR-D"],
  ["tr-TR-Wavenet-E", "tr-TR-E"],
  ["uk-UA-Wavenet-A", "uk-UA-A"],
  ["vi-VN-Neural2-A", "vi-VN-A"],
  ["vi-VN-Wavenet-B", "vi-VN-B"],
  ["vi-VN-Wavenet-C", "vi-VN-C"],
  ["vi-VN-Neural2-D", "vi-VN-D"],
  ["kk-KZ-AigulNeural", "ÐÐ¹Ð³Ò¯Ð»"],
  ["mk-MK-AleksandarNeural", "ÐÐ»ÐµÐºÑÐ°Ð½Ð´Ð°Ñ€"],
  ["mn-MN-BataaNeural", "Ð‘Ð°Ñ‚Ð°Ð°"],
  ["kk-KZ-DauletNeural", "Ð”Ó™ÑƒÐ»ÐµÑ‚"],
  ["mn-MN-YesuiNeural", "Ð•ÑÒ¯Ð¹"],
  ["mk-MK-MarijaNeural", "ÐœÐ°Ñ€Ð¸Ñ˜Ð°"],
  ["sr-RS-NicholasNeural", "ÐÐ¸ÐºÐ¾Ð»Ð°"],
  ["uk-UA-OstapNeural", "ÐžÑÑ‚Ð°Ð¿"],
  ["uk-UA-PolinaNeural", "ÐŸÐ¾Ð»Ñ–Ð½Ð°"],
  ["sr-RS-SophieNeural", "Ð¡Ð¾Ñ„Ð¸Ñ˜Ð°"],
  ["hy-AM-AnahitNeural", "Ô±Õ¶Õ¡Õ°Õ«Õ¿"],
  ["hy-AM-HaykNeural", "Õ€Õ¡ÕµÕ¯"],
  ["ar-LY-OmarNeural", "Ø£Ø­Ù…Ø¯"],
  ["ar-SY-AmanyNeural", "Ø£Ù…Ø§Ù†ÙŠ"],
  ["ar-QA-AmalNeural", "Ø£Ù…Ù„"],
  ["ar-DZ-AminaNeural", "Ø£Ù…ÙŠÙ†Ø©"],
  ["ar-DZ-IsmaelNeural", "Ø¥Ø³Ù…Ø§Ø¹ÙŠÙ„"],
  ["ar-LY-ImanNeural", "Ø¥ÙŠÙ…Ø§Ù†"],
  ["ur-PK-AsadNeural", "Ø§Ø³Ø¯"],
  ["ar-IQ-BasselNeural", "Ø¨Ø§Ø³Ù„"],
  ["ar-JO-TaimNeural", "ØªÙŠÙ…"],
  ["ar-MA-JamalNeural", "Ø¬Ù…Ø§Ù„"],
  ["ar-AE-HamdanNeural", "Ø­Ù…Ø¯Ø§Ù†"],
  ["fa-IR-DilaraNeural", "Ø¯Ù„Ø§Ø±Ø§"],
  ["ar-LB-RamiNeural", "Ø±Ø§Ù…ÙŠ"],
  ["ar-IQ-RanaNeural", "Ø±Ù†Ø§"],
  ["ar-TN-ReemNeural", "Ø±ÙŠÙ…"],
  ["ur-IN-SalmanNeural", "Ø³Ù„Ù…Ø§Ù†"],
  ["ar-JO-SanaNeural", "Ø³Ù†Ø§Ø¡"],
  ["ar-YE-SalehNeural", "ØµØ§Ù„Ø­"],
  ["ar-OM-AyshaNeural", "Ø¹Ø§Ø¦Ø´Ø©"],
  ["ar-OM-AbdullahNeural", "Ø¹Ø¨Ø¯Ø§Ù„Ù„Ù‡"],
  ["ur-PK-UzmaNeural", "Ø¹Ø¸Ù…ÛŒÙ°"],
  ["ar-BH-AliNeural", "Ø¹Ù„ÙŠ"],
  ["ar-AE-FatimaNeural", "ÙØ§Ø·Ù…Ø©"],
  ["fa-IR-FaridNeural", "ÙØ±ÛŒØ¯"],
  ["ar-KW-FahedNeural", "ÙÙ‡Ø¯"],
  ["ps-AF-LatifaNeural", "Ù„Ø·ÙŠÙÙ‡"],
  ["ar-SY-LaithNeural", "Ù„ÙŠØ«"],
  ["ar-BH-LailaNeural", "Ù„ÙŠÙ„Ù‰"],
  ["ar-LB-LaylaNeural", "Ù„ÙŠÙ„Ù‰"],
  ["ar-YE-MaryamNeural", "Ù…Ø±ÙŠÙ…"],
  ["ar-QA-MoazNeural", "Ù…Ø¹Ø§Ø°"],
  ["ar-MA-MounaNeural", "Ù…Ù†Ù‰"],
  ["ar-KW-NouraNeural", "Ù†ÙˆØ±Ø§"],
  ["ar-TN-HediNeural", "Ù‡Ø§Ø¯ÙŠ"],
  ["ur-IN-GulNeural", "Ú¯Ù„"],
  ["mr-IN-AarohiNeural", "à¤†à¤°à¥‹à¤¹à¥€"],
  ["mr-IN-ManoharNeural", "à¤®à¤¨à¥‹à¤¹à¤°"],
  ["bn-IN-TanishaaNeural", "à¦¤à¦¾à¦¨à¦¿à¦¶à¦¾"],
  ["bn-BD-NabanitaNeural", "à¦¨à¦¬à¦¨à§€à¦¤à¦¾"],
  ["bn-BD-PradeepNeural", "à¦ªà§à¦°à¦¦à§à¦¬à§€à¦ª"],
  ["bn-IN-BashkarNeural", "à¦­à¦¾à¦¸à§à¦•à¦°"],
  ["gu-IN-DhwaniNeural", "àª§à«àªµàª¨à«€"],
  ["gu-IN-NiranjanNeural", "àª¨àª¿àª°àª‚àªœàª¨"],
  ["ta-SG-AnbuNeural", "à®…à®©à¯à®ªà¯"],
  ["ta-MY-KaniNeural", "à®•à®©à®¿"],
  ["ta-LK-KumarNeural", "à®•à¯à®®à®¾à®°à¯"],
  ["ta-LK-SaranyaNeural", "à®šà®°à®£à¯à®¯à®¾"],
  ["ta-MY-SuryaNeural", "à®šà¯‚à®°à¯à®¯à®¾"],
  ["ta-SG-VenbaNeural", "à®µà¯†à®£à¯à®ªà®¾"],
  ["kn-IN-GaganNeural", "à²—à²—à²¨à³"],
  ["kn-IN-SapnaNeural", "à²¸à²ªà³à²¨à²¾"],
  ["ml-IN-MidhunNeural", "à´®à´¿à´¥àµàµ»"],
  ["ml-IN-SobhanaNeural", "à´¶àµ‹à´­à´¨"],
  ["si-LK-ThiliniNeural", "à¶­à·’à·…à·’à¶«à·’"],
  ["si-LK-SameeraNeural", "à·ƒà¶¸à·“à¶»"],
  ["lo-LA-ChanthavongNeural", "àºˆàº±àº™àº—àº°àº§àº»àº‡"],
  ["lo-LA-KeomanyNeural", "à»àºà»‰àº§àº¡àº°àº™àºµ"],
  ["ka-GE-GiorgiNeural", "áƒ’áƒ˜áƒáƒ áƒ’áƒ˜"],
  ["ka-GE-EkaNeural", "áƒ”áƒ™áƒ"],
  ["am-ET-MekdesNeural", "áˆ˜á‰…á‹°áˆµ"],
  ["am-ET-AmehaNeural", "áŠ áˆáˆ€"],
  ["km-KH-PisethNeural", "áž–áž·ážŸáž·ážŠáŸ’áž‹"],
  ["km-KH-SreymomNeural", "ážŸáŸ’ážšáž¸áž˜áž»áŸ†"],
  ["ja-JP-AoiNeural", "ã‚ãŠã„"],
  ["ja-JP-Kazuha-NTTS", "ã‹ãšã¯(é«˜ä½Žãªã—)"],
  ["ja-JP-KeitaNeural", "ã‘ã„ãŸ"],
  ["ja-JP-ShioriNeural", "ã—ãŠã‚Š"],
  ["ja-JP-Takumi", "ãŸãã¿"],
  ["ja-JP-Takumi-NTTS", "ãŸãã¿(é«˜ä½Žãªã—)"],
  ["ja-JP-DaichiNeural", "ã ã„ã¡"],
  ["ja-JP-NaokiNeural", "ãªãŠã"],
  ["ja-JP-NanamiNeural", "ãªãªã¿"],
  ["ja-JP-NanamiNeural_cs", "ãªãªã¿(æ¡ˆå†…)"],
  ["ja-JP-MayuNeural", "ã¾ã‚†"],
  ["ja-JP-Mizuki", "ã¿ãšã"],
  ["ja-JP-Wavenet-C", "ã‚¢ãƒŠã‚¦ãƒ³ã‚µãƒ¼ï¼ˆAï¼‰"],
  ["ja-JP-Wavenet-D", "ã‚¢ãƒŠã‚¦ãƒ³ã‚µãƒ¼ï¼ˆBï¼‰"],
  ["ja-JP-JennyMultilingualV2Neural", "ã‚¸ã‚§ãƒ‹ãƒ¼ï¼ˆå¤šè¨€èªžï¼‰"],
  ["ja-JP-Standard-A", "ãƒ­ãƒœãƒƒãƒˆ"],
  ["zh-CN-YunjianNeural", "äº‘å¥"],
  ["wuu-CN-YunzheNeural", "äº‘å“² (å´è¯­)"],
  ["zh-CN-YunxiaNeural", "äº‘å¤"],
  ["zh-CN-YunxiNeural", "äº‘å¸Œ"],
  ["zh-CN-sichuan-YunxiNeural", "äº‘å¸Œ (å››å·æ–¹è¨€)"],
  ["yue-CN-YunSongNeural", "äº‘æ¾ (ç²¤è¯­)"],
  ["zh-CN-YunfengNeural", "äº‘æž«"],
  ["zh-CN-YunzeNeural", "äº‘æ³½"],
  ["zh-CN-henan-YundengNeural", "äº‘ç™» (æ²³å—æ–¹è¨€)"],
  ["zh-CN-YunhaoNeural", "äº‘çš“"],
  ["zh-CN-shandong-YunxiangNeural", "äº‘ç¿” (å±±ä¸œæ–¹è¨€)"],
  ["zh-CN-XiaoyiNeural", "æ™“ä¼Š"],
  ["zh-CN-liaoning-XiaobeiNeural", "æ™“åŒ— (è¾½å®æ–¹è¨€)"],
  ["zh-CN-XiaoshuangNeural", "æ™“åŒ"],
  ["zh-CN-XiaomoNeural", "æ™“å¢¨"],
  ["zh-CN-shaanxi-XiaoniNeural", "æ™“å¦® (é™•è¥¿æ–¹è¨€)"],
  ["wuu-CN-XiaotongNeural", "æ™“å½¤ (å´è¯­)"],
  ["yue-CN-XiaoMinNeural", "æ™“æ• (ç²¤è¯­)"],
  ["zh-CN-XiaomengNeural", "æ™“æ¢¦"],
  ["zh-CN-XiaohanNeural", "æ™“æ¶µ"],
  ["zh-CN-XiaozhenNeural", "æ™“ç”„"],
  ["zh-CN-XiaoruiNeural", "æ™“ç¿"],
  ["zh-CN-XiaoqiuNeural", "æ™“ç§‹"],
  ["zh-CN-XiaoxuanNeural", "æ™“è±"],
  ["zh-CN-XiaochenNeural", "æ™“è¾°"],
  ["zh-CN-XiaoyanNeural", "æ™“é¢œ"],
  ["zh-CN-JennyMultilingualV2Neural", "çå¦®å¤š(è¯­ç§)"],
  ["ja-JP-Neural2-B", "éŸ³å£°ã‚¢ã‚·ã‚¹ã‚¿ãƒ³ãƒˆ"],
  ["ko-KR-GookMinNeural", "êµ­ë¯¼"],
  ["ko-KR-BongJinNeural", "ë´‰ì§„"],
  ["ko-KR-SeoHyeonNeural", "ì„œí˜„"],
  ["ko-KR-SoonBokNeural", "ìˆœë³µ"],
  ["ko-KR-YuJinNeural", "ìœ ì§„"],
  ["ko-KR-JennyMultilingualV2Neural", "ì œë‹ˆ (ë‹¤êµ­ì–´)"],
  ["ko-KR-JiMinNeural", "ì§€ë¯¼"],
]);
const handler = async (m, { conn, usedPrefix, command, args }) => {
  m.react(wait);
  try {
    let q = m.quoted ? m.quoted : m;
    let mime = (q.msg || q).mimetype || "";
    const input = args.join(" ");
    const voiceMatch = input.match(/--voice\s*(\d+)/i);
    const selectedVoiceIndex = voiceMatch ? parseInt(voiceMatch[1]) - 1 : null;
    const selectedVoice =
      selectedVoiceIndex !== null &&
      !isNaN(selectedVoiceIndex) &&
      [...VOICES.keys()][selectedVoiceIndex]
        ? [...VOICES.keys()][selectedVoiceIndex]
        : "id-ID-ArdiNeural";
    const cleanText = input.replace(/--voice\s*\d+/i, "").trim();
    if (/image/.test(mime)) {
      const media = await q.download();
      const result = await ondk.imageToSpeech(media, selectedVoice);
      await conn.sendFile(m.chat, result.url, "speech.mp3", "", m, !0, {
        mimetype: "audio/mp4",
        ptt: !0,
        waveform: [100, 0, 100, 0, 100, 0, 100],
        contextInfo: {
          ...adReply.contextInfo,
          mentionedJid: [m.sender],
        },
      });
      m.react(sukses);
    } else {
      const text =
        cleanText ||
        m.quoted?.text ||
        m.quoted?.caption ||
        m.quoted?.description ||
        null;
      if (!text) {
        return m.reply(
          `Masukkan teks atau reply pesan dengan teks yang ingin diolah.\nContoh penggunaan:\n*${usedPrefix}${command} Hai, apa kabar?*`,
        );
      }
      const result = await ondk.textToSpeech(text, selectedVoice);
      await conn.sendFile(m.chat, result.url, "speech.mp3", "", m, !0, {
        mimetype: "audio/mp4",
        ptt: !0,
        waveform: [100, 0, 100, 0, 100, 0, 100],
        contextInfo: {
          ...adReply.contextInfo,
          mentionedJid: [m.sender],
        },
      });
      m.react(sukses);
    }
  } catch (error) {
    console.error(error);
    m.react(eror);
  }
};
handler.help = ["ondoku"];
handler.tags = ["tools"];
handler.command = /^(ondoku)$/i;
export default handler;
