@ghostlytools/cli 1.8.1 → 1.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (78) hide show
  1. package/README.md +8 -5
  2. package/SKILL.md +4 -3
  3. package/dist/assets/{api-BpQC8dAw.js → api-DFCgr6RH.js} +40 -16
  4. package/dist/assets/api-DFCgr6RH.js.map +1 -0
  5. package/dist/assets/{api-CttDF-S5.js → api-raWw9j_m.js} +2 -2
  6. package/dist/assets/{apiKit-CSMeHKgo.js → apiKit-CCavJJcl.js} +2 -2
  7. package/dist/assets/{apiKit-CSMeHKgo.js.map → apiKit-CCavJJcl.js.map} +1 -1
  8. package/dist/assets/{apps-DzFMdVt6.js → apps-B7o2BPj6.js} +1 -1
  9. package/dist/assets/{apps-DqTyZ40T.js → apps-DmxEG147.js} +2 -2
  10. package/dist/assets/{apps-DqTyZ40T.js.map → apps-DmxEG147.js.map} +1 -1
  11. package/dist/assets/{arkade-Cu3TbPxC.js → arkade-DtYR9H0c.js} +2 -2
  12. package/dist/assets/{arkade-Cu3TbPxC.js.map → arkade-DtYR9H0c.js.map} +1 -1
  13. package/dist/assets/{backup-CLZOORFC.js → backup-BserdrNk.js} +1 -1
  14. package/dist/assets/{backup-CyTZhu28.js → backup-YIB2XIES.js} +4 -4
  15. package/dist/assets/{backup-CyTZhu28.js.map → backup-YIB2XIES.js.map} +1 -1
  16. package/dist/assets/bitcoindevkit_bg-B-iLWrmX.js.map +1 -1
  17. package/dist/assets/buttons-CuRfKnPI.js +1331 -0
  18. package/dist/assets/buttons-CuRfKnPI.js.map +1 -0
  19. package/dist/assets/buttons-De3LPdSG.js +2 -0
  20. package/dist/assets/{envelope-CGfUsR1m.js → envelope-Dt75vrmY.js} +2 -2
  21. package/dist/assets/{envelope-CGfUsR1m.js.map → envelope-Dt75vrmY.js.map} +1 -1
  22. package/dist/assets/fedimint_client_wasm_bg-BtHHlFpp.js.map +1 -1
  23. package/dist/assets/{fixedHosts-BiukTsd9.js → fixedHosts-B598JzbC.js} +4 -4
  24. package/dist/assets/{fixedHosts-BiukTsd9.js.map → fixedHosts-B598JzbC.js.map} +1 -1
  25. package/dist/assets/{groupFiles-CeF9nPv9.js → groupFiles-FXel6zIc.js} +10 -599
  26. package/dist/assets/groupFiles-FXel6zIc.js.map +1 -0
  27. package/dist/assets/{host-CKAehWP6.js → host-DIBeK_c_.js} +73 -18
  28. package/dist/assets/host-DIBeK_c_.js.map +1 -0
  29. package/dist/assets/{hyperdhtRelay-B8Pdykhg.js → hyperdhtRelay-D185dETu.js} +2 -2
  30. package/dist/assets/{hyperdhtRelay-B8Pdykhg.js.map → hyperdhtRelay-D185dETu.js.map} +1 -1
  31. package/dist/assets/{irohWeb-D6tAPHZa.js → irohWeb-BSv_BWyG.js} +16 -3
  32. package/dist/assets/{irohWeb-D6tAPHZa.js.map → irohWeb-BSv_BWyG.js.map} +1 -1
  33. package/dist/assets/{main-BDY-pfpz.js → main-BbhfMTt8.js} +50 -22
  34. package/dist/assets/main-BbhfMTt8.js.map +1 -0
  35. package/dist/assets/{mainline-3ueXpFQL.js → mainline-9Vc3c3SA.js} +2 -2
  36. package/dist/assets/{mainline-3ueXpFQL.js.map → mainline-9Vc3c3SA.js.map} +1 -1
  37. package/dist/assets/{networkReason-DhJYOomu.js → networkReason-BncJ9KSM.js} +2 -2
  38. package/dist/assets/{networkReason-DhJYOomu.js.map → networkReason-BncJ9KSM.js.map} +1 -1
  39. package/dist/assets/{nwc-B1Quqda-.js → nwc-QX3Yt1Sb.js} +3 -3
  40. package/dist/assets/{nwc-B1Quqda-.js.map → nwc-QX3Yt1Sb.js.map} +1 -1
  41. package/dist/assets/{nwcProvider-DUB6xO-b.js → nwcProvider-CzX3xH47.js} +2 -2
  42. package/dist/assets/{nwcProvider-DUB6xO-b.js.map → nwcProvider-CzX3xH47.js.map} +1 -1
  43. package/dist/assets/{ownDid-BfqHJdA6.js → ownDid-D8z5gwGI.js} +2 -2
  44. package/dist/assets/{ownDid-BfqHJdA6.js.map → ownDid-D8z5gwGI.js.map} +1 -1
  45. package/dist/assets/{registry-DwlTNQjr.js → registry-B2Dtnibo.js} +5 -5
  46. package/dist/assets/{registry-DwlTNQjr.js.map → registry-B2Dtnibo.js.map} +1 -1
  47. package/dist/assets/{registry-CZTmtSws.js → registry-PTtBMaYZ.js} +1 -1
  48. package/dist/assets/{resolve-BVwhiYjj.js → resolve-ZxVzwFNA.js} +2 -2
  49. package/dist/assets/{resolve-BVwhiYjj.js.map → resolve-ZxVzwFNA.js.map} +1 -1
  50. package/dist/assets/{server-Br3XPwFG.js → server-Dw1o8z1o.js} +796 -269
  51. package/dist/assets/server-Dw1o8z1o.js.map +1 -0
  52. package/dist/assets/{src-C4sOH4zH.js → src-BD8RBVEp.js} +1038 -30
  53. package/dist/assets/src-BD8RBVEp.js.map +1 -0
  54. package/dist/assets/{sshForges-CQQomStK.js → sshForges-DWrESWkK.js} +2 -2
  55. package/dist/assets/{sshForges-CQQomStK.js.map → sshForges-DWrESWkK.js.map} +1 -1
  56. package/dist/assets/{translate-C2aNyUkR.js → translate-D1uP0q32.js} +9 -3
  57. package/dist/assets/translate-D1uP0q32.js.map +1 -0
  58. package/dist/assets/{usdt-CMwatDnQ.js → usdt-DhVN8geQ.js} +3 -3
  59. package/dist/assets/{usdt-CMwatDnQ.js.map → usdt-DhVN8geQ.js.map} +1 -1
  60. package/dist/assets/{waitNotice-Ck3el3_Z.js → waitNotice-B8D8WhbE.js} +2 -2
  61. package/dist/assets/waitNotice-B8D8WhbE.js.map +1 -0
  62. package/dist/assets/{words-CqN2KG1r.js → words-DdXPkB3n.js} +3 -2
  63. package/dist/assets/words-DdXPkB3n.js.map +1 -0
  64. package/dist/ghostly.mjs +1 -1
  65. package/examples/call-echo.mjs +7 -5
  66. package/package.json +1 -1
  67. package/dist/assets/api-BpQC8dAw.js.map +0 -1
  68. package/dist/assets/buttons-Bd9fR31r.js +0 -698
  69. package/dist/assets/buttons-Bd9fR31r.js.map +0 -1
  70. package/dist/assets/buttons-c4CJnL6i.js +0 -2
  71. package/dist/assets/groupFiles-CeF9nPv9.js.map +0 -1
  72. package/dist/assets/host-CKAehWP6.js.map +0 -1
  73. package/dist/assets/main-BDY-pfpz.js.map +0 -1
  74. package/dist/assets/server-Br3XPwFG.js.map +0 -1
  75. package/dist/assets/src-C4sOH4zH.js.map +0 -1
  76. package/dist/assets/translate-C2aNyUkR.js.map +0 -1
  77. package/dist/assets/waitNotice-Ck3el3_Z.js.map +0 -1
  78. package/dist/assets/words-CqN2KG1r.js.map +0 -1
@@ -0,0 +1,1331 @@
1
+ import { Lu as randomBytes, Ru as toBase64Url, co as STATUS_CARD_LIMITS, fo as buttonLabelClash, hi as BUTTONS_CAPABILITY, ho as checkStatusCard, to as BUTTON_STYLES } from "./src-BD8RBVEp.js";
2
+ import { t as CliError } from "./errors-R4S2SAEM.js";
3
+ import { _ as oneOf, b as str, g as num, h as node, i as chatOrGroup, n as bool, p as messageOf } from "./apiKit-CCavJJcl.js";
4
+ import { t as goesOn$1 } from "./waitNotice-B8D8WhbE.js";
5
+ import { sha256 } from "@noble/hashes/sha2.js";
6
+ import { createBase58check } from "@scure/base";
7
+ import { wordlist } from "@scure/bip39/wordlists/english.js";
8
+ import { wordlist as wordlist$1 } from "@scure/bip39/wordlists/french.js";
9
+ import { wordlist as wordlist$2 } from "@scure/bip39/wordlists/italian.js";
10
+ import { wordlist as wordlist$3 } from "@scure/bip39/wordlists/japanese.js";
11
+ import { wordlist as wordlist$4 } from "@scure/bip39/wordlists/portuguese.js";
12
+ import { wordlist as wordlist$5 } from "@scure/bip39/wordlists/simplified-chinese.js";
13
+ import { wordlist as wordlist$6 } from "@scure/bip39/wordlists/spanish.js";
14
+ import { wordlist as wordlist$7 } from "@scure/bip39/wordlists/traditional-chinese.js";
15
+ //#region ../../apps/ui/src/lib/parse/monero-seed-lists.ts
16
+ /**
17
+ * Monero's seed words in the app's languages besides English (src/mnemonics/*.h in monero-project/monero, tag
18
+ * v0.18.4.3), in their order: a word's place is its value. Monero GUI and monero-wallet-cli write a 25-word seed in
19
+ * any of them; only `seedLists.ts` imports this, so none of it is in the app's first download.
20
+ *
21
+ * The French and Italian lists (Italian by Shrikez) are Copyright (c) 2014-2022, The Monero Project, under the BSD
22
+ * 3-Clause licence their files carry: redistributions keep this notice, and the project's name may not endorse this app.
23
+ * The Spanish, Portuguese, Japanese and Chinese lists were originally created by dabura667 and released under The MIT
24
+ * License (MIT):
25
+ *
26
+ * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
27
+ * documentation files (the "Software"), to deal in the Software without restriction, including without limitation the
28
+ * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to
29
+ * permit persons to whom the Software is furnished to do so, subject to the following conditions:
30
+ *
31
+ * The above copyright notice and this permission notice shall be included in all copies or substantial portions of
32
+ * the Software.
33
+ *
34
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
35
+ * WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS
36
+ * OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
37
+ * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
38
+ */
39
+ /** spanish.h. */
40
+ var MONERO_SPANISH = `
41
+ ábaco abdomen abeja abierto abogado abono aborto abrazo abrir abuelo abuso acabar academia acceso acción aceite acelga
42
+ acento aceptar ácido aclarar acné acoger acoso activo acto actriz actuar acudir acuerdo acusar adicto admitir adoptar
43
+ adorno aduana adulto aéreo afectar afición afinar afirmar ágil agitar agonía agosto agotar agregar agrio agua agudo
44
+ águila aguja ahogo ahorro aire aislar ajedrez ajeno ajuste alacrán alambre alarma alba álbum alcalde aldea alegre
45
+ alejar alerta aleta alfiler alga algodón aliado aliento alivio alma almeja almíbar altar alteza altivo alto altura
46
+ alumno alzar amable amante amapola amargo amasar ámbar ámbito ameno amigo amistad amor amparo amplio ancho anciano
47
+ ancla andar andén anemia ángulo anillo ánimo anís anotar antena antiguo antojo anual anular anuncio añadir añejo año
48
+ apagar aparato apetito apio aplicar apodo aporte apoyo aprender aprobar apuesta apuro arado araña arar árbitro árbol
49
+ arbusto archivo arco arder ardilla arduo área árido aries armonía arnés aroma arpa arpón arreglo arroz arruga arte
50
+ artista asa asado asalto ascenso asegurar aseo asesor asiento asilo asistir asno asombro áspero astilla astro astuto
51
+ asumir asunto atajo ataque atar atento ateo ático atleta átomo atraer atroz atún audaz audio auge aula aumento ausente
52
+ autor aval avance avaro ave avellana avena avestruz avión aviso ayer ayuda ayuno azafrán azar azote azúcar azufre azul
53
+ baba babor bache bahía baile bajar balanza balcón balde bambú banco banda baño barba barco barniz barro báscula bastón
54
+ basura batalla batería batir batuta baúl bazar bebé bebida bello besar beso bestia bicho bien bingo blanco bloque
55
+ blusa boa bobina bobo boca bocina boda bodega boina bola bolero bolsa bomba bondad bonito bono bonsái borde borrar
56
+ bosque bote botín bóveda bozal bravo brazo brecha breve brillo brinco brisa broca broma bronce brote bruja brusco
57
+ bruto buceo bucle bueno buey bufanda bufón búho buitre bulto burbuja burla burro buscar butaca buzón caballo cabeza
58
+ cabina cabra cacao cadáver cadena caer café caída caimán caja cajón cal calamar calcio caldo calidad calle calma calor
59
+ calvo cama cambio camello camino campo cáncer candil canela canguro canica canto caña cañón caoba caos capaz capitán
60
+ capote captar capucha cara carbón cárcel careta carga cariño carne carpeta carro carta casa casco casero caspa castor
61
+ catorce catre caudal causa cazo cebolla ceder cedro celda célebre celoso célula cemento ceniza centro cerca cerdo
62
+ cereza cero cerrar certeza césped cetro chacal chaleco champú chancla chapa charla chico chiste chivo choque choza
63
+ chuleta chupar ciclón ciego cielo cien cierto cifra cigarro cima cinco cine cinta ciprés circo ciruela cisne cita
64
+ ciudad clamor clan claro clase clave cliente clima clínica cobre cocción cochino cocina coco código codo cofre coger
65
+ cohete cojín cojo cola colcha colegio colgar colina collar colmo columna combate comer comida cómodo compra conde
66
+ conejo conga conocer consejo contar copa copia corazón corbata corcho cordón corona correr coser cosmos costa cráneo
67
+ cráter crear crecer creído crema cría crimen cripta crisis cromo crónica croqueta crudo cruz cuadro cuarto cuatro cubo
68
+ cubrir cuchara cuello cuento cuerda cuesta cueva cuidar culebra culpa culto cumbre cumplir cuna cuneta cuota cupón
69
+ cúpula curar curioso curso curva cutis dama danza dar dardo dátil deber débil década decir dedo defensa definir dejar
70
+ delfín delgado delito demora denso dental deporte derecho derrota desayuno deseo desfile desnudo destino desvío
71
+ detalle detener deuda día diablo diadema diamante diana diario dibujo dictar diente dieta diez difícil digno dilema
72
+ diluir dinero directo dirigir disco diseño disfraz diva divino doble doce dolor domingo don donar dorado dormir dorso
73
+ dos dosis dragón droga ducha duda duelo dueño dulce dúo duque durar dureza duro ébano ebrio echar eco ecuador edad
74
+ edición edificio editor educar efecto eficaz eje ejemplo elefante elegir elemento elevar elipse élite elixir elogio
75
+ eludir embudo emitir emoción empate empeño empleo empresa enano encargo enchufe encía enemigo enero enfado enfermo
76
+ engaño enigma enlace enorme enredo ensayo enseñar entero entrar envase envío época equipo erizo escala escena escolar
77
+ escribir escudo esencia esfera esfuerzo espada espejo espía esposa espuma esquí estar este estilo estufa etapa eterno
78
+ ética etnia evadir evaluar evento evitar exacto examen exceso excusa exento exigir exilio existir éxito experto
79
+ explicar exponer extremo fábrica fábula fachada fácil factor faena faja falda fallo falso faltar fama familia famoso
80
+ faraón farmacia farol farsa fase fatiga fauna favor fax febrero fecha feliz feo feria feroz fértil fervor festín
81
+ fiable fianza fiar fibra ficción ficha fideo fiebre fiel fiera fiesta figura fijar fijo fila filete filial filtro fin
82
+ finca fingir finito firma flaco flauta flecha flor flota fluir flujo flúor fobia foca fogata fogón folio folleto fondo
83
+ forma forro fortuna forzar fosa foto fracaso frágil franja frase fraude freír freno fresa frío frito fruta fuego
84
+ fuente fuerza fuga fumar función funda furgón furia fusil fútbol futuro gacela gafas gaita gajo gala galería gallo
85
+ gamba ganar gancho ganga ganso garaje garza gasolina gastar gato gavilán gemelo gemir gen género genio gente geranio
86
+ gerente germen gesto gigante gimnasio girar giro glaciar globo gloria gol golfo goloso golpe goma gordo gorila gorra
87
+ gota goteo gozar grada gráfico grano grasa gratis grave grieta grillo gripe gris grito grosor grúa grueso grumo grupo
88
+ guante guapo guardia guerra guía guiño guion guiso guitarra gusano gustar haber hábil hablar hacer hacha hada hallar
89
+ hamaca harina haz hazaña hebilla hebra hecho helado helio hembra herir hermano héroe hervir hielo hierro hígado
90
+ higiene hijo himno historia hocico hogar hoguera hoja hombre hongo honor honra hora hormiga horno hostil hoyo hueco
91
+ huelga huerta hueso huevo huida huir humano húmedo humilde humo hundir huracán hurto icono ideal idioma ídolo iglesia
92
+ iglú igual ilegal ilusión imagen imán imitar impar imperio imponer impulso incapaz índice inerte infiel informe
93
+ ingenio inicio inmenso inmune innato insecto instante interés íntimo intuir inútil invierno ira iris ironía isla
94
+ islote jabalí jabón jamón jarabe jardín jarra jaula jazmín jefe jeringa jinete jornada joroba joven joya juerga jueves
95
+ juez jugador jugo juguete juicio junco jungla junio juntar júpiter jurar justo juvenil juzgar kilo koala labio lacio
96
+ lacra lado ladrón lagarto lágrima laguna laico lamer lámina lámpara lana lancha langosta lanza lápiz largo larva
97
+ lástima lata látex latir laurel lavar lazo leal lección leche lector leer legión legumbre lejano lengua lento leña
98
+ león leopardo lesión letal letra leve leyenda libertad libro licor líder lidiar lienzo liga ligero lima límite limón
99
+ limpio lince lindo línea lingote lino linterna líquido liso lista litera litio litro llaga llama llanto llave llegar
100
+ llenar llevar llorar llover lluvia lobo loción loco locura lógica logro lombriz lomo lonja lote lucha lucir lugar lujo
101
+ luna lunes lupa lustro luto luz maceta macho madera madre maduro maestro mafia magia mago maíz maldad maleta malla
102
+ malo mamá mambo mamut manco mando manejar manga maniquí manjar mano manso manta mañana mapa máquina mar marco marea
103
+ marfil margen marido mármol marrón martes marzo masa máscara masivo matar materia matiz matriz máximo mayor mazorca
104
+ mecha medalla medio médula mejilla mejor melena melón memoria menor mensaje mente menú mercado merengue mérito mes
105
+ mesón meta meter método metro mezcla miedo miel miembro miga mil milagro militar millón mimo mina minero mínimo minuto
106
+ miope mirar misa miseria misil mismo mitad mito mochila moción moda modelo moho mojar molde moler molino momento momia
107
+ monarca moneda monja monto moño morada morder moreno morir morro morsa mortal mosca mostrar motivo mover móvil mozo
108
+ mucho mudar mueble muela muerte muestra mugre mujer mula muleta multa mundo muñeca mural muro músculo museo musgo
109
+ música muslo nácar nación nadar naipe naranja nariz narrar nasal natal nativo natural náusea naval nave navidad necio
110
+ néctar negar negocio negro neón nervio neto neutro nevar nevera nicho nido niebla nieto niñez niño nítido nivel
111
+ nobleza noche nómina noria norma norte nota noticia novato novela novio nube nuca núcleo nudillo nudo nuera nueve nuez
112
+ nulo número nutria oasis obeso obispo objeto obra obrero observar obtener obvio oca ocaso océano ochenta ocho ocio
113
+ ocre octavo octubre oculto ocupar ocurrir odiar odio odisea oeste ofensa oferta oficio ofrecer ogro oído oír ojo ola
114
+ oleada olfato olivo olla olmo olor olvido ombligo onda onza opaco opción ópera opinar oponer optar óptica opuesto
115
+ oración orador oral órbita orca orden oreja órgano orgía orgullo oriente origen orilla oro orquesta oruga osadía
116
+ oscuro osezno oso ostra otoño otro oveja óvulo óxido oxígeno oyente ozono pacto padre paella página pago país pájaro
117
+ palabra palco paleta pálido palma paloma palpar pan panal pánico pantera pañuelo papá papel papilla paquete parar
118
+ parcela pared parir paro párpado parque párrafo parte pasar paseo pasión paso pasta pata patio patria pausa pauta pavo
119
+ payaso peatón pecado pecera pecho pedal pedir pegar peine pelar peldaño pelea peligro pellejo pelo peluca pena pensar
120
+ peñón peón peor pepino pequeño pera percha perder pereza perfil perico perla permiso perro persona pesa pesca pésimo
121
+ pestaña pétalo petróleo pez pezuña picar pichón pie piedra pierna pieza pijama pilar piloto pimienta pino pintor pinza
122
+ piña piojo pipa pirata pisar piscina piso pista pitón pizca placa plan plata playa plaza pleito pleno plomo pluma
123
+ plural pobre poco poder podio poema poesía poeta polen policía pollo polvo pomada pomelo pomo pompa poner porción
124
+ portal posada poseer posible poste potencia potro pozo prado precoz pregunta premio prensa preso previo primo príncipe
125
+ prisión privar proa probar proceso producto proeza profesor programa prole promesa pronto propio próximo prueba
126
+ público puchero pudor pueblo puerta puesto pulga pulir pulmón pulpo pulso puma punto puñal puño pupa pupila puré
127
+ quedar queja quemar querer queso quieto química quince quitar rábano rabia rabo ración radical raíz rama rampa rancho
128
+ rango rapaz rápido rapto rasgo raspa rato rayo raza razón reacción realidad rebaño rebote recaer receta rechazo
129
+ recoger recreo recto recurso red redondo reducir reflejo reforma refrán refugio regalo regir regla regreso rehén reino
130
+ reír reja relato relevo relieve relleno reloj remar remedio remo rencor rendir renta reparto repetir reposo reptil res
131
+ rescate resina respeto resto resumen retiro retorno retrato reunir revés revista rey rezar rico riego rienda riesgo
132
+ rifa rígido rigor rincón riñón río riqueza risa ritmo rito
133
+ `.trim().split(/\s+/);
134
+ /** portuguese.h. */
135
+ var MONERO_PORTUGUESE = `
136
+ abaular abdominal abeto abissinio abjeto ablucao abnegar abotoar abrutalhar absurdo abutre acautelar accessorios
137
+ acetona achocolatado acirrar acne acovardar acrostico actinomicete acustico adaptavel adeus adivinho adjunto admoestar
138
+ adnominal adotivo adquirir adriatico adsorcao adutora advogar aerossol afazeres afetuoso afixo afluir afortunar
139
+ afrouxar aftosa afunilar agentes agito aglutinar aiatola aimore aino aipo airoso ajeitar ajoelhar ajudante ajuste
140
+ alazao albumina alcunha alegria alexandre alforriar alguns alhures alivio almoxarife alotropico alpiste alquimista
141
+ alsaciano altura aluviao alvura amazonico ambulatorio ametodico amizades amniotico amovivel amurada anatomico ancorar
142
+ anexo anfora aniversario anjo anotar ansioso anturio anuviar anverso anzol aonde apaziguar apito aplicavel apoteotico
143
+ aprimorar aprumo apto apuros aquoso arauto arbusto arduo aresta arfar arguto aritmetico arlequim armisticio aromatizar
144
+ arpoar arquivo arrumar arsenio arturiano aruaque arvores asbesto ascorbico aspirina asqueroso assustar astuto atazanar
145
+ ativo atletismo atmosferico atormentar atroz aturdir audivel auferir augusto aula aumento aurora autuar avatar avexar
146
+ avizinhar avolumar avulso axiomatico azerbaijano azimute azoto azulejo bacteriologista badulaque baforada baixote
147
+ bajular balzaquiana bambuzal banzo baoba baqueta barulho bastonete batuta bauxita bavaro bazuca bcrepuscular beato
148
+ beduino begonia behaviorista beisebol belzebu bemol benzido beocio bequer berro besuntar betume bexiga bezerro biatlon
149
+ biboca bicuspide bidirecional bienio bifurcar bigorna bijuteria bimotor binormal bioxido bipolarizacao biquini
150
+ birutice bisturi bituca biunivoco bivalve bizarro blasfemo blenorreia blindar bloqueio blusao boazuda bofete bojudo
151
+ bolso bombordo bonzo botina boquiaberto bostoniano botulismo bourbon bovino boximane bravura brevidade britar broxar
152
+ bruno bruxuleio bubonico bucolico buda budista bueiro buffer bugre bujao bumerangue burundines busto butique buzios
153
+ caatinga cabuqui cacunda cafuzo cajueiro camurca canudo caquizeiro carvoeiro casulo catuaba cauterizar cebolinha
154
+ cedula ceifeiro celulose cerzir cesto cetro ceus cevar chavena cheroqui chita chovido chuvoso ciatico cibernetico
155
+ cicuta cidreira cientistas cifrar cigarro cilio cimo cinzento cioso cipriota cirurgico cisto citrico ciumento civismo
156
+ clavicula clero clitoris cluster coaxial cobrir cocota codorniz coexistir cogumelo coito colusao compaixao comutativo
157
+ contentamento convulsivo coordenativa coquetel correto corvo costureiro cotovia covil cozinheiro cretino cristo crivo
158
+ crotalo cruzes cubo cucuia cueiro cuidar cujo cultural cunilingua cupula curvo custoso cutucar czarismo dablio dacota
159
+ dados daguerreotipo daiquiri daltonismo damista dantesco daquilo darwinista dasein dativo deao debutantes decurso
160
+ deduzir defunto degustar dejeto deltoide demover denunciar deputado deque dervixe desvirtuar deturpar deuteronomio
161
+ devoto dextrose dezoito diatribe dicotomico didatico dietista difuso digressao diluvio diminuto dinheiro dinossauro
162
+ dioxido diplomatico dique dirimivel disturbio diurno divulgar dizivel doar dobro docura dodoi doer dogue doloso domo
163
+ donzela doping dorsal dossie dote doutro doze dravidico dreno driver dropes druso dubnio ducto dueto dulija dundum
164
+ duodeno duquesa durou duvidoso duzia ebano ebrio eburneo echarpe eclusa ecossistema ectoplasma ecumenismo eczema eden
165
+ editorial edredom edulcorar efetuar efigie efluvio egiptologo egresso egua einsteiniano eira eivar eixos ejetar
166
+ elastomero eldorado elixir elmo eloquente elucidativo emaranhar embutir emerito emfa emitir emotivo empuxo emulsao
167
+ enamorar encurvar enduro enevoar enfurnar enguico enho enigmista enlutar enormidade enpreendimento enquanto enriquecer
168
+ enrugar entusiastico enunciar envolvimento enxuto enzimatico eolico epiteto epoxi epura equivoco erario erbio ereto
169
+ erguido erisipela ermo erotizar erros erupcao ervilha esburacar escutar esfuziante esguio esloveno esmurrar esoterismo
170
+ esperanca espirito espurio essencialmente esturricar esvoacar etario eterno etiquetar etnologo etos etrusco euclidiano
171
+ euforico eugenico eunuco europio eustaquio eutanasia evasivo eventualidade evitavel evoluir exaustor excursionista
172
+ exercito exfoliado exito exotico expurgo exsudar extrusora exumar fabuloso facultativo fado fagulha faixas fajuto
173
+ faltoso famoso fanzine fapesp faquir fartura fastio faturista fausto favorito faxineira fazer fealdade febril fecundo
174
+ fedorento feerico feixe felicidade felpudo feltro femur fenotipo fervura festivo feto feudo fevereiro fezinha fiasco
175
+ fibra ficticio fiduciario fiesp fifa figurino fijiano filtro finura fiorde fiquei firula fissurar fitoteca fivela fixo
176
+ flavio flexor flibusteiro flotilha fluxograma fobos foco fofura foguista foie foliculo fominha fonte forum fosso
177
+ fotossintese foxtrote fraudulento frevo frivolo frouxo frutose fuba fucsia fugitivo fuinha fujao fulustreco fumo
178
+ funileiro furunculo fustigar futurologo fuxico fuzue gabriel gado gaelico gafieira gaguejo gaivota gajo
179
+ galvanoplastico gamo ganso garrucha gastronomo gatuno gaussiano gaviao gaxeta gazeteiro gear geiser geminiano generoso
180
+ genuino geossinclinal gerundio gestual getulista gibi gigolo gilete ginseng giroscopio glaucio glacial gleba glifo
181
+ glote glutonia gnostico goela gogo goitaca golpista gomo gonzo gorro gostou goticula gourmet governo gozo graxo
182
+ grevista grito grotesco gruta guaxinim gude gueto guizo guloso gume guru gustativo grelhado gutural habitue haitiano
183
+ halterofilista hamburguer hanseniase happening harpista hastear haveres hebreu hectometro hedonista hegira helena
184
+ helminto hemorroidas henrique heptassilabo hertziano hesitar heterossexual heuristico hexagono hiato hibrido
185
+ hidrostatico hieroglifo hifenizar higienizar hilario himen hino hippie hirsuto historiografia hitlerista hodometro
186
+ hoje holograma homus honroso hoquei horto hostilizar hotentote huguenote humilde huno hurra hutu iaia ialorixa iambico
187
+ iansa iaque iara iatista iberico ibis icar iceberg icosagono idade ideologo idiotice idoso iemenita iene igarape iglu
188
+ ignorar igreja iguaria iidiche ilativo iletrado ilharga ilimitado ilogismo ilustrissimo imaturo imbuzeiro imerso
189
+ imitavel imovel imputar imutavel inaveriguavel incutir induzir inextricavel infusao ingua inhame iniquo injusto inning
190
+ inoxidavel inquisitorial insustentavel intumescimento inutilizavel invulneravel inzoneiro iodo iogurte ioio ionosfera
191
+ ioruba iota ipsilon irascivel iris irlandes irmaos iroques irrupcao isca isento islandes isotopo isqueiro israelita
192
+ isso isto iterbio itinerario itrio iuane iugoslavo jabuticabeira jacutinga jade jagunco jainista jaleco jambo
193
+ jantarada japones jaqueta jarro jasmim jato jaula javel jazz jegue jeitoso jejum jenipapo jeova jequitiba jersei jesus
194
+ jetom jiboia jihad jilo jingle jipe jocoso joelho joguete joio jojoba jorro jota joule joviano jubiloso judoca jugular
195
+ juizo jujuba juliano jumento junto jururu justo juta juventude labutar laguna laico lajota lanterninha lapso laquear
196
+ lastro lauto lavrar laxativo lazer leasing lebre lecionar ledo leguminoso leitura lele lemure lento leonardo leopardo
197
+ lepton leque leste letreiro leucocito levitico lexicologo lhama lhufas liame licoroso lidocaina liliputiano limusine
198
+ linotipo lipoproteina liquidos lirismo lisura liturgico livros lixo lobulo locutor lodo logro lojista lombriga lontra
199
+ loop loquaz lorota losango lotus louvor luar lubrificavel lucros lugubre luis luminoso luneta lustroso luto luvas
200
+ luxuriante luzeiro maduro maestro mafioso magro maiuscula majoritario malvisto mamute manutencao mapoteca maquinista
201
+ marzipa masturbar matuto mausoleu mavioso maxixe mazurca meandro mecha medusa mefistofelico megera meirinho melro
202
+ memorizar menu mequetrefe mertiolate mestria metroviario mexilhao mezanino miau microssegundo midia migratorio mimosa
203
+ minuto miosotis mirtilo misturar mitzvah miudos mixuruca mnemonico moagem mobilizar modulo moer mofo mogno moita
204
+ molusco monumento moqueca morubixaba mostruario motriz mouse movivel mozarela muarra muculmano mudo mugir muitos
205
+ mumunha munir muon muquira murros musselina nacoes nado naftalina nago naipe naja nalgum namoro nanquim napolitano
206
+ naquilo nascimento nautilo navios nazista nebuloso nectarina nefrologo negus nelore nenufar nepotismo nervura neste
207
+ netuno neutron nevoeiro newtoniano nexo nhenhenhem nhoque nigeriano niilista ninho niobio niponico niquelar nirvana
208
+ nisto nitroglicerina nivoso nobreza nocivo noel nogueira noivo nojo nominativo nonuplo noruegues nostalgico noturno
209
+ nouveau nuanca nublar nucleotideo nudista nulo numismatico nunquinha nupcias nutritivo nuvens oasis obcecar obeso
210
+ obituario objetos oblongo obnoxio obrigatorio obstruir obtuso obus obvio ocaso occipital oceanografo ocioso oclusivo
211
+ ocorrer ocre octogono odalisca odisseia odorifico oersted oeste ofertar ofidio oftalmologo ogiva ogum oigale oitavo
212
+ oitocentos ojeriza olaria oleoso olfato olhos oliveira olmo olor olvidavel ombudsman omeleteira omitir omoplata
213
+ onanismo ondular oneroso onomatopeico ontologico onus onze opalescente opcional operistico opio oposto oprobrio
214
+ optometrista opusculo oratorio orbital orcar orfao orixa orla ornitologo orquidea ortorrombico orvalho osculo osmotico
215
+ ossudo ostrogodo otario otite ouro ousar outubro ouvir ovario overnight oviparo ovni ovoviviparo ovulo oxala oxente
216
+ oxiuro oxossi ozonizar paciente pactuar padronizar paete pagodeiro paixao pajem paludismo pampas panturrilha papudo
217
+ paquistanes pastoso patua paulo pauzinhos pavoroso paxa pazes peao pecuniario pedunculo pegaso peixinho pejorativo
218
+ pelvis penuria pequno petunia pezada piauiense pictorico pierro pigmeu pijama pilulas pimpolho pintura piorar pipocar
219
+ piqueteiro pirulito pistoleiro pituitaria pivotar pixote pizzaria plistoceno plotar pluviometrico pneumonico poco
220
+ podridao poetisa pogrom pois polvorosa pomposo ponderado pontudo populoso poquer porvir posudo potro pouso povoar
221
+ prazo prezar privilegios proximo prussiano pseudopode psoriase pterossauros ptialina ptolemaico pudor pueril pufe
222
+ pugilista puir pujante pulverizar pumba punk purulento pustula putsch puxe quatrocentos quetzal quixotesco quotizavel
223
+ rabujice racista radonio rafia ragu rajado ralo rampeiro ranzinza raptor raquitismo raro rasurar ratoeira ravioli
224
+ razoavel reavivar rebuscar recusavel reduzivel reexposicao refutavel regurgitar reivindicavel rejuvenescimento relva
225
+ remuneravel renunciar reorientar repuxo requisito resumo returno reutilizar revolvido rezonear riacho ribossomo ricota
226
+ ridiculo rifle rigoroso rijo rimel rins rios riqueza respeito rissole ritualistico rivalizar rixa robusto rococo
227
+ rodoviario roer rogo rojao rolo rompimento ronronar roqueiro rorqual rosto rotundo rouxinol roxo royal ruas rucula
228
+ rudimentos ruela rufo rugoso ruivo rule rumoroso runico ruptura rural rustico rutilar saariano sabujo sacudir
229
+ sadomasoquista safra sagui sais samurai santuario sapo saquear sartriano saturno saude sauva saveiro saxofonista
230
+ sazonal scherzo script seara seborreia secura seduzir sefardim seguro seja selvas sempre senzala sepultura sequoia
231
+ sestercio setuplo seus seviciar sezonismo shalom siames sibilante sicrano sidra sifilitico signos silvo simultaneo
232
+ sinusite sionista sirio sisudo situar sivan slide slogan soar sobrio socratico sodomizar soerguer software sogro soja
233
+ solver somente sonso sopro soquete sorveteiro sossego soturno sousafone sovinice sozinho suavizar subverter sucursal
234
+ sudoriparo sufragio sugestoes suite sujo sultao sumula suntuoso suor supurar suruba susto suturar suvenir tabuleta
235
+ taco tadjique tafeta tagarelice taitiano talvez tampouco tanzaniano taoista tapume taquion tarugo tascar tatuar
236
+ tautologico tavola taxionomista tchecoslovaco teatrologo tectonismo tedioso teflon tegumento teixo telurio temporas
237
+ tenue teosofico tepido tequila terrorista testosterona tetrico teutonico teve texugo tiara tibia tiete tifoide tigresa
238
+ tijolo tilintar timpano tintureiro tiquete tiroteio tisico titulos tive toar toboga tofu togoles toicinho tolueno
239
+ tomografo tontura toponimo toquio torvelinho tostar toto touro toxina trazer trezentos trivialidade trovoar truta
240
+ tuaregue tubular tucano tudo tufo tuiste tulipa tumultuoso tunisino tupiniquim turvo tutu ucraniano udenista ufanista
241
+ ufologo ugaritico uiste uivo ulceroso ulema ultravioleta umbilical umero umido umlaut unanimidade unesco ungulado
242
+ unheiro univoco untuoso urano urbano urdir uretra urgente urinol urna urologo urro ursulina urtiga urupe usavel
243
+ usbeque usei usineiro usurpar utero utilizar utopico uvular uxoricidio vacuo vadio vaguear vaivem valvula vampiro
244
+ vantajoso vaporoso vaquinha varziano vasto vaticinio vaudeville vazio veado vedico veemente vegetativo veio veja
245
+ veludo venusiano verdade verve vestuario vetusto vexatorio vezes viavel vibratorio victor vicunha vidros vietnamita
246
+ vigoroso vilipendiar vime vintem violoncelo viquingue virus visualizar vituperio viuvo vivo vizir voar vociferar vodu
247
+ vogar voile volver vomito vontade vortice vosso voto vovozinha voyeuse vozes vulva vupt western xadrez xale xampu
248
+ xango xarope xaual xavante xaxim xenonio xepa xerox xicara xifopago xiita xilogravura xinxim xistoso xixi xodo xogum
249
+ xucro zabumba zagueiro zambiano zanzar zarpar zebu zefiro zeloso zenite zumbi
250
+ `.trim().split(/\s+/);
251
+ /** french.h. */
252
+ var MONERO_FRENCH = `
253
+ abandon abattre aboi abolir aborder abri absence absolu abuser acacia acajou accent accord accrocher accuser acerbe
254
+ achat acheter acide acier acquis acte action adage adepte adieu admettre admis adorer adresser aduler affaire affirmer
255
+ afin agacer agent agir agiter agonie agrafe agrume aider aigle aigre aile ailleurs aimant aimer ainsi aise ajouter
256
+ alarme album alcool alerte algue alibi aller allumer alors amande amener amie amorcer amour ample amuser ananas ancien
257
+ anglais angoisse animal anneau annoncer apercevoir apparence appel apporter apprendre appuyer arbre arcade arceau
258
+ arche ardeur argent argile aride arme armure arracher arriver article asile aspect assaut assez assister assurer astre
259
+ astuce atlas atroce attacher attente attirer aube aucun audace auparavant auquel aurore aussi autant auteur autoroute
260
+ autre aval avant avec avenir averse aveu avide avion avis avoir avouer avril azote azur badge bagage bague bain
261
+ baisser balai balcon balise balle bambou banane banc bandage banjo banlieue bannir banque baobab barbe barque barrer
262
+ bassine bataille bateau battre baver bavoir bazar beau beige berger besoin beurre biais biceps bidule bien bijou bilan
263
+ billet blanc blason bleu bloc blond bocal boire boiserie boiter bonbon bondir bonheur bordure borgne borner bosse
264
+ bouche bouder bouger boule bourse bout boxe brader braise branche braquer bras brave brebis brevet brider briller brin
265
+ brique briser broche broder bronze brosser brouter bruit brute budget buffet bulle bureau buriner buste buter butiner
266
+ cabas cabinet cabri cacao cacher cadeau cadre cage caisse caler calme camarade camion campagne canal canif capable
267
+ capot carat caresser carie carpe cartel casier casque casserole cause cavale cave ceci cela celui cendre cent
268
+ cependant cercle cerise cerner certes cerveau cesser chacun chair chaleur chamois chanson chaque charge chasse chat
269
+ chaud chef chemin cheveu chez chicane chien chiffre chiner chiot chlore choc choix chose chou chute cibler cidre ciel
270
+ cigale cinq cintre cirage cirque ciseau citation citer citron civet clairon clan classe clavier clef climat cloche
271
+ cloner clore clos clou club cobra cocon coiffer coin colline colon combat comme compte conclure conduire confier connu
272
+ conseil contre convenir copier cordial cornet corps cosmos coton couche coude couler coupure cour couteau couvrir
273
+ crabe crainte crampe cran creuser crever crier crime crin crise crochet croix cruel cuisine cuite culot culte cumul
274
+ cure curieux cuve dame danger dans davantage debout dedans dehors delta demain demeurer demi dense dent depuis dernier
275
+ descendre dessus destin dette deuil deux devant devenir devin devoir dicton dieu difficile digestion digue diluer
276
+ dimanche dinde diode dire diriger discours disposer distance divan divers docile docteur dodu dogme doigt dominer
277
+ donation donjon donner dopage dorer dormir doseur douane double douche douleur doute doux douzaine draguer drame drap
278
+ dresser droit duel dune duper durant durcir durer eaux effacer effet effort effrayant elle embrasser emmener emparer
279
+ empire employer emporter enclos encore endive endormir endroit enduit enfant enfermer enfin enfler enfoncer enfuir
280
+ engager engin enjeu enlever ennemi ennui ensemble ensuite entamer entendre entier entourer entre envelopper envie
281
+ envoyer erreur escalier espace espoir esprit essai essor essuyer estimer exact examiner excuse exemple exiger exil
282
+ exister exode expliquer exposer exprimer extase fable facette facile fade faible faim faire fait falloir famille faner
283
+ farce farine fatigue faucon faune faute faux faveur favori faxer feinter femme fendre fente ferme festin feuille
284
+ feutre fiable fibre ficher fier figer figure filet fille filmer fils filtre final finesse finir fiole firme fixe
285
+ flacon flair flamme flan flaque fleur flocon flore flot flou fluide fluor flux focus foin foire foison folie fonction
286
+ fondre fonte force forer forger forme fort fosse fouet fouine foule four foyer frais franc frapper freiner frimer
287
+ friser frite froid froncer fruit fugue fuir fuite fumer fureur furieux fuser fusil futile futur gagner gain gala galet
288
+ galop gamme gant garage garde garer gauche gaufre gaule gaver gazon geler genou genre gens gercer germer geste gibier
289
+ gicler gilet girafe givre glace glisser globe gloire gluant gober golf gommer gorge gosier goutte grain gramme grand
290
+ gras grave gredin griffure griller gris gronder gros grotte groupe grue guerrier guetter guider guise habiter hache
291
+ haie haine halte hamac hanche hangar hanter haras hareng harpe hasard hausse haut havre herbe heure hibou hier
292
+ histoire hiver hochet homme honneur honte horde horizon hormone houle housse hublot huile huit humain humble humide
293
+ humour hurler idole igloo ignorer illusion image immense immobile imposer impression incapable inconnu index indiquer
294
+ infime injure inox inspirer instant intention intime inutile inventer inviter iode iris issue ivre jade jadis jamais
295
+ jambe janvier jardin jauge jaunisse jeter jeton jeudi jeune joie joindre joli joueur journal judo juge juillet juin
296
+ jument jungle jupe jupon jurer juron jury jusque juste kayak ketchup kilo kiwi koala label lacet lacune laine laisse
297
+ lait lame lancer lande laque lard largeur larme larve lasso laver lendemain lentement lequel lettre leur lever levure
298
+ liane libre lien lier lieutenant ligne ligoter liguer limace limer limite lingot lion lire lisser litre livre lobe
299
+ local logis loin loisir long loque lors lotus louer loup lourd louve loyer lubie lucide lueur luge luire lundi lune
300
+ lustre lutin lutte luxe machine madame magie magnifique magot maigre main mairie maison malade malheur malin manche
301
+ manger manier manoir manquer marche mardi marge mariage marquer mars masque masse matin mauvais meilleur melon membre
302
+ menacer mener mensonge mentir menu merci merlu mesure mettre meuble meunier meute miche micro midi miel miette mieux
303
+ milieu mille mimer mince mineur ministre minute mirage miroir miser mite mixte mobile mode module moins mois moment
304
+ momie monde monsieur monter moquer moral morceau mordre morose morse mortier morue motif motte moudre moule mourir
305
+ mousse mouton mouvement moyen muer muette mugir muguet mulot multiple munir muret muse musique muter nacre nager nain
306
+ naissance narine narrer naseau nasse nation nature naval navet naviguer navrer neige nerf nerveux neuf neutre neuve
307
+ neveu niche nier niveau noble noce nocif noir nomade nombre nommer nord norme notaire notice notre nouer nougat
308
+ nourrir nous nouveau novice noyade noyer nuage nuance nuire nuit nulle nuque oasis objet obliger obscur observer
309
+ obtenir obus occasion occuper ocre octet odeur odorat offense officier offrir ogive oiseau olive ombre onctueux
310
+ onduler ongle onze opter option orageux oral orange orbite ordinaire ordre oreille organe orgie orgueil orient origan
311
+ orner orteil ortie oser osselet otage otarie ouate oublier ouest ours outil outre ouvert ouvrir ovale ozone pacte page
312
+ paille pain paire paix palace palissade palmier palpiter panda panneau papa papier paquet parc pardi parfois parler
313
+ parmi parole partir parvenir passer pastel patin patron paume pause pauvre paver pavot payer pays peau peigne peinture
314
+ pelage pelote pencher pendre penser pente percer perdu perle permettre personne perte peser pesticide petit peuple
315
+ peur phase photo phrase piano pied pierre pieu pile pilier pilote pilule piment pincer pinson pinte pion piquer pirate
316
+ pire piste piton pitre pivot pizza placer plage plaire plan plaque plat plein pleurer pliage plier plonger plot pluie
317
+ plume plus pneu poche podium poids poil point poire poison poitrine poivre police pollen pomme pompier poncer pondre
318
+ pont portion poser position possible poste potage potin pouce poudre poulet poumon poupe pour pousser poutre pouvoir
319
+ prairie premier prendre presque preuve prier primeur prince prison priver prix prochain produire profond proie projet
320
+ promener prononcer propre prose prouver prune public puce pudeur puiser pull pulpe puma punir purge putois quand
321
+ quartier quasi quatre quel question queue quiche quille quinze quitter quoi rabais raboter race racheter racine racler
322
+ raconter radar radio rafale rage ragot raideur raie rail raison ramasser ramener rampe rance rang rapace rapide
323
+ rapport rarement rasage raser rasoir rassurer rater ratio rature ravage ravir rayer rayon rebond recevoir recherche
324
+ record reculer redevenir refuser regard regretter rein rejeter rejoindre relation relever religion remarquer remettre
325
+ remise remonter remplir remuer rencontre rendre renier renoncer rentrer renverser repas repli reposer reproche requin
326
+ respect ressembler reste retard retenir retirer retour retrouver revenir revoir revue rhume ricaner riche rideau
327
+ ridicule rien rigide rincer rire risquer rituel rivage rive robe robot robuste rocade roche rodeur rogner roman rompre
328
+ ronce rondeur ronger roque rose rosir rotation rotule roue rouge rouler route ruban rubis ruche rude ruelle ruer rugby
329
+ rugir ruine rumeur rural ruse rustre sable sabot sabre sacre sage saint saisir salade salive salle salon salto salut
330
+ salve samba sandale sanguin sapin sarcasme satisfaire sauce sauf sauge saule sauna sauter sauver savoir science scoop
331
+ score second secret secte seigneur sein seize selle selon semaine sembler semer semis sensuel sentir sept serpe serrer
332
+ sertir service seuil seulement short sien sigle signal silence silo simple singe sinon sinus sioux sirop site
333
+ situation skier snob sobre social socle sodium soigner soir soixante soja solaire soldat soleil solide solo solvant
334
+ sombre somme somnoler sondage songeur sonner sorte sosie sottise souci soudain souffrir souhaiter soulever soumettre
335
+ soupe sourd soustraire soutenir souvent soyeux spectacle sport stade stagiaire stand star statue stock stop store
336
+ style suave subir sucre suer suffire suie suite suivre sujet sulfite supposer surf surprendre surtout surveiller tabac
337
+ table tabou tache tacler tacot tact taie taille taire talon talus tandis tango tanin tant taper tapis tard tarif tarot
338
+ tarte tasse taureau taux taverne taxer taxi tellement temple tendre tenir tenter tenu terme ternir terre test texte
339
+ thym tibia tiers tige tipi tique tirer tissu titre toast toge toile toiser toiture tomber tome tonne tonte toque torse
340
+ tortue totem toucher toujours tour tousser tout toux trace train trame tranquille travail trembler trente tribu trier
341
+ trio tripe triste troc trois tromper tronc trop trotter trouer truc truite tuba tuer tuile turbo tutu tuyau type union
342
+ unique unir unisson untel urne usage user usiner usure utile vache vague vaincre valeur valoir valser valve vampire
343
+ vaseux vaste veau veille veine velours velu vendre venir vent venue verbe verdict version vertige verve veste veto
344
+ vexer vice victime vide vieil vieux vigie vigne ville vingt violent virer virus visage viser visite visuel vitamine
345
+ vitrine vivant vivre vocal vodka vogue voici voile voir voisin voiture volaille volcan voler volt votant votre vouer
346
+ vouloir vous voyage voyou vrac vrai yacht yeti yeux yoga zeste zinc zone zoom
347
+ `.trim().split(/\s+/);
348
+ /** italian.h. */
349
+ var MONERO_ITALIAN = `
350
+ abbinare abbonato abisso abitare abominio accadere accesso acciaio accordo accumulo acido acqua acrobata acustico
351
+ adattare addetto addio addome adeguato aderire adorare adottare adozione adulto aereo aerobica affare affetto affidare
352
+ affogato affronto africano afrodite agenzia aggancio aggeggio aggiunta agio agire agitare aglio agnello agosto aiutare
353
+ albero albo alce alchimia alcool alfabeto algebra alimento allarme alleanza allievo alloggio alluce alpi alterare
354
+ altro aluminio amante amarezza ambiente ambrosia america amico ammalare ammirare amnesia amnistia amore ampliare
355
+ amputare analisi anamnesi ananas anarchia anatra anca ancorato andare androide aneddoto anello angelo angolino
356
+ anguilla anidride anima annegare anno annuncio anomalia antenna anticipo aperto apostolo appalto appello appiglio
357
+ applauso appoggio appurare aprile aquila arabo arachidi aragosta arancia arbitrio archivio arco argento argilla aria
358
+ ariete arma armonia aroma arrivare arrosto arsenale arte artiglio asfalto asfissia asino asparagi aspirina assalire
359
+ assegno assolto assurdo asta astratto atlante atletica atomo atropina attacco attesa attico atto attrarre auguri aula
360
+ aumento aurora auspicio autista auto autunno avanzare avarizia avere aviatore avido avorio avvenire avviso avvocato
361
+ azienda azione azzardo azzurro babbuino bacio badante baffi bagaglio bagliore bagno balcone balena ballare balordo
362
+ balsamo bambola bancomat banda barato barba barista barriera basette basilico bassista bastare battello bavaglio
363
+ beccare beduino bellezza bene benzina berretto bestia bevitore bianco bibbia biberon bibita bici bidone bilancia
364
+ biliardo binario binocolo biologia biondina biopsia biossido birbante birra biscotto bisogno bistecca bivio blindare
365
+ bloccare bocca bollire bombola bonifico borghese borsa bottino botulino braccio bradipo branco bravo bresaola bretelle
366
+ brevetto briciola brigante brillare brindare brivido broccoli brontolo bruciare brufolo bucare buddista budino bufera
367
+ buffo bugiardo buio buono burrone bussola bustina buttare cabernet cabina cacao cacciare cactus cadavere caffe
368
+ calamari calcio caldaia calmare calunnia calvario calzone cambiare camera camion cammello campana canarino cancello
369
+ candore cane canguro cannone canoa cantare canzone caos capanna capello capire capo capperi capra capsula caraffa
370
+ carbone carciofo cardigan carenza caricare carota carrello carta casa cascare caserma cashmere casino cassetta
371
+ castello catalogo catena catorcio cattivo causa cauzione cavallo caverna caviglia cavo cazzotto celibato cemento
372
+ cenare centrale ceramica cercare ceretta cerniera certezza cervello cessione cestino cetriolo chiave chiedere chilo
373
+ chimera chiodo chirurgo chitarra chiudere ciabatta ciao cibo ciccia cicerone ciclone cicogna cielo cifra cigno
374
+ ciliegia cimitero cinema cinque cintura ciondolo ciotola cipolla cippato circuito cisterna citofono ciuccio civetta
375
+ civico clausola cliente clima clinica cobra coccole cocktail cocomero codice coesione cogliere cognome colla colomba
376
+ colpire coltello comando comitato commedia comodino compagna comune concerto condotto conforto congiura coniglio
377
+ consegna conto convegno coperta copia coprire corazza corda corleone cornice corona corpo corrente corsa cortesia
378
+ corvo coso costume cotone cottura cozza crampo cratere cravatta creare credere crema crescere crimine criterio croce
379
+ crollare cronaca crostata croupier cubetto cucciolo cucina cultura cuoco cuore cupido cupola cura curva cuscino
380
+ custode danzare data decennio decidere decollo dedicare dedurre definire delegare delfino delitto demone dentista
381
+ denuncia deposito derivare deserto designer destino detonare dettagli diagnosi dialogo diamante diario diavolo
382
+ dicembre difesa digerire digitare diluvio dinamica dipinto diploma diramare dire dirigere dirupo discesa disdetta
383
+ disegno disporre dissenso distacco dito ditta diva divenire dividere divorare docente dolcetto dolore domatore
384
+ domenica dominare donatore donna dorato dormire dorso dosaggio dottore dovere download dragone dramma dubbio dubitare
385
+ duetto durata ebbrezza eccesso eccitare eclissi economia edera edificio editore edizione educare effetto egitto
386
+ egiziano elastico elefante eleggere elemento elenco elezione elmetto elogio embrione emergere emettere eminenza
387
+ emisfero emozione empatia energia enfasi enigma entrare enzima epidemia epilogo episodio epoca equivoco erba erede
388
+ eroe erotico errore eruzione esaltare esame esaudire eseguire esempio esigere esistere esito esperto espresso essere
389
+ estasi esterno estrarre eterno etica euforico europa evacuare evasione evento evidenza evitare evolvere fabbrica
390
+ facciata fagiano fagotto falco fame famiglia fanale fango fantasia farfalla farmacia faro fase fastidio faticare fatto
391
+ favola febbre femmina femore fenomeno fermata feromoni ferrari fessura festa fiaba fiamma fianco fiat fibbia fidare
392
+ fieno figa figlio figura filetto filmato filosofo filtrare finanza finestra fingere finire finta finzione fiocco
393
+ fioraio firewall firmare fisico fissare fittizio fiume flacone flagello flirtare flusso focaccia foglio fognario
394
+ follia fonderia fontana forbici forcella foresta forgiare formare fornace foro fortuna forzare fosforo fotoni fracasso
395
+ fragola frantumi fratello frazione freccia freddo frenare fresco friggere frittata frivolo frizione fronte frullato
396
+ frumento frusta frutto fucile fuggire fulmine fumare funzione fuoco furbizia furgone furia furore fusibile fuso futuro
397
+ gabbiano galassia gallina gamba gancio garanzia garofano gasolio gatto gazebo gazzetta gelato gemelli generare
398
+ genitori gennaio geologia germania gestire gettare ghepardo ghiaccio giaccone giaguaro giallo giappone giardino
399
+ gigante gioco gioiello giorno giovane giraffa giudizio giurare giusto globo gloria glucosio gnocca gocciola godere
400
+ gomito gomma gonfiare gorilla governo gradire graffiti granchio grappolo grasso grattare gridare grissino grondaia
401
+ grugnito gruppo guadagno guaio guancia guardare gufo guidare guscio gusto icona idea identico idolo idoneo idrante
402
+ idrogeno igiene ignoto imbarco immagine immobile imparare impedire impianto importo impresa impulso incanto incendio
403
+ incidere incontro incrocia incubo indagare indice indotto infanzia inferno infinito infranto ingerire inglese ingoiare
404
+ ingresso iniziare innesco insalata inserire insicuro insonnia insulto interno introiti invasori inverno invito
405
+ invocare ipnosi ipocrita ipotesi ironia irrigare iscritto isola ispirare isterico istinto istruire italiano jazz
406
+ labbra labrador ladro lago lamento lampone lancetta lanterna lapide larva lasagne lasciare lastra latte laurea lavagna
407
+ lavorare leccare legare leggere lenzuolo leone lepre letargo lettera levare levitare lezione liberare libidine libro
408
+ licenza lievito limite lince lingua liquore lire listino litigare litro locale lottare lucciola lucidare luglio luna
409
+ macchina madama madre maestro maggio magico maglione magnolia mago maialino maionese malattia male malloppo mancare
410
+ mandorla mangiare manico manopola mansarda mantello manubrio manzo mappa mare margine marinaio marmotta marocco
411
+ martello marzo maschera matrice maturare mazzetta meandri medaglia medico medusa megafono melone membrana menta
412
+ mercato meritare merluzzo mese mestiere metafora meteo metodo mettere miele miglio miliardo mimetica minatore minuto
413
+ miracolo mirtillo missile mistero misura mito mobile moda moderare moglie molecola molle momento moneta mongolia
414
+ monologo montagna morale morbillo mordere mosaico mosca mostro motivare moto mulino mulo muovere muraglia muscolo
415
+ museo musica mutande nascere nastro natale natura nave navigare negare negozio nemico nero nervo nessuno nettare
416
+ neutroni neve nevicare nicotina nido nipote nocciola noleggio nome nonno norvegia notare notizia nove nucleo nuda
417
+ nuotare nutrire obbligo occhio occupare oceano odissea odore offerta officina offrire oggetto oggi olfatto olio oliva
418
+ ombelico ombrello omuncolo ondata onore opera opinione opuscolo opzione orario orbita orchidea ordine orecchio orgasmo
419
+ orgoglio origine orologio oroscopo orso oscurare ospedale ospite ossigeno ostacolo ostriche ottenere ottimo ottobre
420
+ ovest pacco pace pacifico padella pagare pagina pagnotta palazzo palestra palpebre pancetta panfilo panino pannello
421
+ panorama papa paperino paradiso parcella parente parlare parodia parrucca partire passare pasta patata patente
422
+ patogeno patriota pausa pazienza peccare pecora pedalare pelare pena pendenza penisola pennello pensare pentirsi
423
+ percorso perdono perfetto perizoma perla permesso persona pesare pesce peso petardo petrolio pezzo piacere pianeta
424
+ piastra piatto piazza piccolo piede piegare pietra pigiama pigliare pigrizia pilastro pilota pinguino pioggia piombo
425
+ pionieri piovra pipa pirata pirolisi piscina pisolino pista pitone piumino pizza plastica platino poesia poiana
426
+ polaroid polenta polimero pollo polmone polpetta poltrona pomodoro pompa popolo porco porta porzione possesso postino
427
+ potassio potere poverino pranzo prato prefisso prelievo premio prendere prestare pretesa prezzo primario privacy
428
+ problema processo prodotto profeta progetto promessa pronto proposta proroga prossimo proteina prova prudenza pubblico
429
+ pudore pugilato pulire pulsante puntare pupazzo puzzle quaderno qualcuno quarzo quercia quintale rabbia racconto
430
+ radice raffica ragazza ragione rammento ramo rana randagio rapace rapinare rapporto rasatura ravioli reagire realista
431
+ reattore reazione recitare recluso record recupero redigere regalare regina regola relatore reliquia remare rendere
432
+ reparto resina resto rete retorica rettile revocare riaprire ribadire ribelle ricambio ricetta richiamo ricordo
433
+ ridurre riempire riferire riflesso righello rilancio rilevare rilievo rimanere rimborso rinforzo rinuncia riparo
434
+ ripetere riposare ripulire risalita riscatto riserva riso rispetto ritaglio ritmo ritorno ritratto rituale riunione
435
+ riuscire riva robotica rondine rosa rospo rosso rotonda rotta roulotte rubare rubrica ruffiano rumore ruota ruscello
436
+ sabbia sacco saggio sale salire salmone salto salutare salvia sangue sanzioni sapere sapienza sarcasmo sardine
437
+ sartoria sbalzo sbarcare sberla sborsare scadenza scafo scala scambio scappare scarpa scatola scelta scena sceriffo
438
+ scheggia schiuma sciarpa scienza scimmia sciopero scivolo sclerare scolpire sconto scopa scordare scossa scrivere
439
+ scrupolo scuderia scultore scuola scusare sdraiare secolo sedativo sedere sedia segare segreto seguire semaforo seme
440
+ senape seno sentiero separare sepolcro sequenza serata serpente servizio sesso seta settore sfamare sfera sfidare
441
+ sfiorare sfogare sgabello sicuro siepe sigaro silenzio silicone simbiosi simpatia simulare sinapsi sindrome sinergia
442
+ sinonimo sintonia sirena siringa sistema sito smalto smentire smontare soccorso socio soffitto software soggetto
443
+ sogliola sognare soldi sole sollievo solo sommario sondare sonno sorpresa sorriso sospiro sostegno sovrano spaccare
444
+ spada spagnolo spalla sparire spavento spazio specchio spedire spegnere spendere speranza spessore spezzare spiaggia
445
+ spiccare spiegare spiffero spingere sponda sporcare spostare spremuta spugna spumante spuntare squadra squillo
446
+ staccare stadio stagione stallone stampa stancare starnuto statura stella stendere sterzo stilista stimolo stinco
447
+ stiva stoffa storia strada stregone striscia studiare stufa stupendo subire successo sudare suono superare supporto
448
+ surfista sussurro svelto svenire sviluppo svolta svuotare tabacco tabella tabu tacchino tacere taglio talento tangente
449
+ tappeto tartufo tassello tastiera tavolo tazza teatro tedesco telaio telefono tema temere tempo tendenza tenebre
450
+ tensione tentare teologia teorema termica terrazzo teschio tesi tesoro tessera testa thriller tifoso tigre timbrare
451
+ timido tinta tirare tisana titano titolo toccare togliere topolino torcia torrente tovaglia traffico tragitto training
452
+ tramonto transito trapezio trasloco trattore trazione treccia tregua treno triciclo tridente trilogia tromba troncare
453
+ trota trovare trucco tubo tulipano tumulto tunisia tuono turista tuta tutelare tutore ubriaco uccello udienza udito
454
+ uffa umanoide umore unghia unguento unicorno unione universo uomo uragano uranio urlare uscire utente utilizzo vacanza
455
+ vacca vaglio vagonata valle valore valutare valvola vampiro vaniglia vanto vapore variante vasca vaselina vassoio
456
+ vedere vegetale veglia veicolo vela veleno velivolo velluto vendere venerare venire vento veranda verbo verdura
457
+ vergine verifica vernice vero verruca versare vertebra vescica vespaio vestito vesuvio veterano vetro vetta viadotto
458
+ viaggio vibrare vicenda vichingo vietare vigilare vigneto villa vincere violino vipera virgola virtuoso visita vita
459
+ vitello vittima vivavoce vivere viziato voglia volare volpe volto volume vongole voragine vortice votare vulcano
460
+ vuotare zabaione zaffiro zainetto zampa zanzara zattera zavorra zenzero zero zingaro zittire zoccolo zolfo zombie
461
+ zucchero
462
+ `.trim().split(/\s+/);
463
+ /** japanese.h. */
464
+ var MONERO_JAPANESE = `
465
+ あいこくしん あいさつ あいだ あおぞら あかちゃん あきる あけがた あける あこがれる あさい あさひ あしあと あじわう あずかる あずき あそぶ あたえる あたためる あたりまえ あたる あつい あつかう あっしゅく あつまり
466
+ あつめる あてな あてはまる あひる あぶら あぶる あふれる あまい あまど あまやかす あまり あみもの あめりか あやまる あゆむ あらいぐま あらし あらすじ あらためる あらゆる あらわす ありがとう あわせる あわてる
467
+ あんい あんがい あんこ あんぜん あんてい あんない あんまり いいだす いおん いがい いがく いきおい いきなり いきもの いきる いくじ いくぶん いけばな いけん いこう いこく いこつ いさましい いさん いしき いじゅう
468
+ いじょう いじわる いずみ いずれ いせい いせえび いせかい いせき いぜん いそうろう いそがしい いだい いだく いたずら いたみ いたりあ いちおう いちじ いちど いちば いちぶ いちりゅう いつか いっしゅん いっせい
469
+ いっそう いったん いっち いってい いっぽう いてざ いてん いどう いとこ いない いなか いねむり いのち いのる いはつ いばる いはん いびき いひん いふく いへん いほう いみん いもうと いもたれ いもり いやがる
470
+ いやす いよかん いよく いらい いらすと いりぐち いりょう いれい いれもの いれる いろえんぴつ いわい いわう いわかん いわば いわゆる いんげんまめ いんさつ いんしょう いんよう うえき うえる うおざ うがい うかぶ
471
+ うかべる うきわ うくらいな うくれれ うけたまわる うけつけ うけとる うけもつ うける うごかす うごく うこん うさぎ うしなう うしろがみ うすい うすぎ うすぐらい うすめる うせつ うちあわせ うちがわ うちき うちゅう
472
+ うっかり うつくしい うったえる うつる うどん うなぎ うなじ うなずく うなる うねる うのう うぶげ うぶごえ うまれる うめる うもう うやまう うよく うらがえす うらぐち うらない うりあげ うりきれ うるさい うれしい
473
+ うれゆき うれる うろこ うわき うわさ うんこう うんちん うんてん うんどう えいえん えいが えいきょう えいご えいせい えいぶん えいよう えいわ えおり えがお えがく えきたい えくせる えしゃく えすて えつらん えのぐ
474
+ えほうまき えほん えまき えもじ えもの えらい えらぶ えりあ えんえん えんかい えんぎ えんげき えんしゅう えんぜつ えんそく えんちょう えんとつ おいかける おいこす おいしい おいつく おうえん おうさま おうじ
475
+ おうせつ おうたい おうふく おうべい おうよう おえる おおい おおう おおどおり おおや おおよそ おかえり おかず おがむ おかわり おぎなう おきる おくさま おくじょう おくりがな おくる おくれる おこす おこなう おこる
476
+ おさえる おさない おさめる おしいれ おしえる おじぎ おじさん おしゃれ おそらく おそわる おたがい おたく おだやか おちつく おっと おつり おでかけ おとしもの おとなしい おどり おどろかす おばさん おまいり おめでとう
477
+ おもいで おもう おもたい おもちゃ おやつ おやゆび およぼす おらんだ おろす おんがく おんけい おんしゃ おんせん おんだん おんちゅう おんどけい かあつ かいが がいき がいけん がいこう かいさつ かいしゃ かいすいよく
478
+ かいぜん かいぞうど かいつう かいてん かいとう かいふく がいへき かいほう かいよう がいらい かいわ かえる かおり かかえる かがく かがし かがみ かくご かくとく かざる がぞう かたい かたち がちょう がっきゅう
479
+ がっこう がっさん がっしょう かなざわし かのう がはく かぶか かほう かほご かまう かまぼこ かめれおん かゆい かようび からい かるい かろう かわく かわら がんか かんけい かんこう かんしゃ かんそう かんたん かんち
480
+ がんばる きあい きあつ きいろ ぎいん きうい きうん きえる きおう きおく きおち きおん きかい きかく きかんしゃ ききて きくばり きくらげ きけんせい きこう きこえる きこく きさい きさく きさま きさらぎ ぎじかがく
481
+ ぎしき ぎじたいけん ぎじにってい ぎじゅつしゃ きすう きせい きせき きせつ きそう きぞく きぞん きたえる きちょう きつえん ぎっちり きつつき きつね きてい きどう きどく きない きなが きなこ きぬごし きねん きのう
482
+ きのした きはく きびしい きひん きふく きぶん きぼう きほん きまる きみつ きむずかしい きめる きもだめし きもち きもの きゃく きやく ぎゅうにく きよう きょうりゅう きらい きらく きりん きれい きれつ きろく
483
+ ぎろん きわめる ぎんいろ きんかくじ きんじょ きんようび ぐあい くいず くうかん くうき くうぐん くうこう ぐうせい くうそう ぐうたら くうふく くうぼ くかん くきょう くげん ぐこう くさい くさき くさばな くさる
484
+ くしゃみ くしょう くすのき くすりゆび くせげ くせん ぐたいてき くださる くたびれる くちこみ くちさき くつした ぐっすり くつろぐ くとうてん くどく くなん くねくね くのう くふう くみあわせ くみたてる くめる
485
+ くやくしょ くらす くらべる くるま くれる くろう くわしい ぐんかん ぐんしょく ぐんたい ぐんて けあな けいかく けいけん けいこ けいさつ げいじゅつ けいたい げいのうじん けいれき けいろ けおとす けおりもの げきか
486
+ げきげん げきだん げきちん げきとつ げきは げきやく げこう げこくじょう げざい けさき げざん けしき けしごむ けしょう げすと けたば けちゃっぷ けちらす けつあつ けつい けつえき けっこん けつじょ けっせき けってい
487
+ けつまつ げつようび げつれい けつろん げどく けとばす けとる けなげ けなす けなみ けぬき げねつ けねん けはい げひん けぶかい げぼく けまり けみかる けむし けむり けもの けらい けろけろ けわしい けんい けんえつ
488
+ けんお けんか げんき けんげん けんこう けんさく けんしゅう けんすう げんそう けんちく けんてい けんとう けんない けんにん げんぶつ けんま けんみん けんめい けんらん けんり こあくま こいぬ こいびと ごうい こうえん
489
+ こうおん こうかん ごうきゅう ごうけい こうこう こうさい こうじ こうすい ごうせい こうそく こうたい こうちゃ こうつう こうてい こうどう こうない こうはい ごうほう ごうまん こうもく こうりつ こえる こおり ごかい
490
+ ごがつ ごかん こくご こくさい こくとう こくない こくはく こぐま こけい こける ここのか こころ こさめ こしつ こすう こせい こせき こぜん こそだて こたい こたえる こたつ こちょう こっか こつこつ こつばん こつぶ
491
+ こてい こてん ことがら ことし ことば ことり こなごな こねこね このまま このみ このよ ごはん こひつじ こふう こふん こぼれる ごまあぶら こまかい ごますり こまつな こまる こむぎこ こもじ こもち こもの こもん
492
+ こやく こやま こゆう こゆび こよい こよう こりる これくしょん ころっけ こわもて こわれる こんいん こんかい こんき こんしゅう こんすい こんだて こんとん こんなん こんびに こんぽん こんまけ こんや こんれい こんわく
493
+ ざいえき さいかい さいきん ざいげん ざいこ さいしょ さいせい ざいたく ざいちゅう さいてき ざいりょう さうな さかいし さがす さかな さかみち さがる さぎょう さくし さくひん さくら さこく さこつ さずかる ざせき
494
+ さたん さつえい ざつおん ざっか ざつがく さっきょく ざっし さつじん ざっそう さつたば さつまいも さてい さといも さとう さとおや さとし さとる さのう さばく さびしい さべつ さほう さほど さます さみしい さみだれ
495
+ さむけ さめる さやえんどう さゆう さよう さよく さらだ ざるそば さわやか さわる さんいん さんか さんきゃく さんこう さんさい ざんしょ さんすう さんせい さんそ さんち さんま さんみ さんらん しあい しあげ
496
+ しあさって しあわせ しいく しいん しうち しえい しおけ しかい しかく じかん しごと しすう じだい したうけ したぎ したて したみ しちょう しちりん しっかり しつじ しつもん してい してき してつ じてん じどう
497
+ しなぎれ しなもの しなん しねま しねん しのぐ しのぶ しはい しばかり しはつ しはらい しはん しひょう しふく じぶん しへい しほう しほん しまう しまる しみん しむける じむしょ しめい しめる しもん しゃいん
498
+ しゃうん しゃおん じゃがいも しやくしょ しゃくほう しゃけん しゃこ しゃざい しゃしん しゃせん しゃそう しゃたい しゃちょう しゃっきん じゃま しゃりん しゃれい じゆう じゅうしょ しゅくはく じゅしん しゅっせき しゅみ
499
+ しゅらば じゅんばん しょうかい しょくたく しょっけん しょどう しょもつ しらせる しらべる しんか しんこう じんじゃ しんせいじ しんちく しんりん すあげ すあし すあな ずあん すいえい すいか すいとう ずいぶん
500
+ すいようび すうがく すうじつ すうせん すおどり すきま すくう すくない すける すごい すこし ずさん すずしい すすむ すすめる すっかり ずっしり ずっと すてき すてる すねる すのこ すはだ すばらしい ずひょう ずぶぬれ
501
+ すぶり すふれ すべて すべる ずほう すぼん すまい すめし すもう すやき すらすら するめ すれちがう すろっと すわる すんぜん すんぽう せあぶら せいかつ せいげん せいじ せいよう せおう せかいかん せきにん せきむ
502
+ せきゆ せきらんうん せけん せこう せすじ せたい せたけ せっかく せっきゃく ぜっく せっけん せっこつ せっさたくま せつぞく せつだん せつでん せっぱん せつび せつぶん せつめい せつりつ せなか せのび せはば せびろ
503
+ せぼね せまい せまる せめる せもたれ せりふ ぜんあく せんい せんえい せんか せんきょ せんく せんげん ぜんご せんさい せんしゅ せんすい せんせい せんぞ せんたく せんちょう せんてい せんとう せんぬき せんねん
504
+ せんぱい ぜんぶ ぜんぽう せんむ せんめんじょ せんもん せんやく せんゆう せんよう ぜんら ぜんりゃく せんれい せんろ そあく そいとげる そいね そうがんきょう そうき そうご そうしん そうだん そうなん そうび そうめん
505
+ そうり そえもの そえん そがい そげき そこう そこそこ そざい そしな そせい そせん そそぐ そだてる そつう そつえん そっかん そつぎょう そっけつ そっこう そっせん そっと そとがわ そとづら そなえる そなた そふぼ
506
+ そぼく そぼろ そまつ そまる そむく そむりえ そめる そもそも そよかぜ そらまめ そろう そんかい そんけい そんざい そんしつ そんぞく そんちょう ぞんび ぞんぶん そんみん たあい たいいん たいうん たいえき たいおう
507
+ だいがく たいき たいぐう たいけん たいこ たいざい だいじょうぶ だいすき たいせつ たいそう だいたい たいちょう たいてい だいどころ たいない たいねつ たいのう たいはん だいひょう たいふう たいへん たいほ たいまつばな
508
+ たいみんぐ たいむ たいめん たいやき たいよう たいら たいりょく たいる たいわん たうえ たえる たおす たおる たおれる たかい たかね たきび たくさん たこく たこやき たさい たしざん だじゃれ たすける たずさわる
509
+ たそがれ たたかう たたく ただしい たたみ たちばな だっかい だっきゃく だっこ だっしゅつ だったい たてる たとえる たなばた たにん たぬき たのしみ たはつ たぶん たべる たぼう たまご たまる だむる ためいき ためす
510
+ ためる たもつ たやすい たよる たらす たりきほんがん たりょう たりる たると たれる たれんと たろっと たわむれる だんあつ たんい たんおん たんか たんき たんけん たんご たんさん たんじょうび だんせい たんそく
511
+ たんたい だんち たんてい たんとう だんな たんにん だんねつ たんのう たんぴん だんぼう たんまつ たんめい だんれつ だんろ だんわ ちあい ちあん ちいき ちいさい ちえん ちかい ちから ちきゅう ちきん ちけいず ちけん
512
+ ちこく ちさい ちしき ちしりょう ちせい ちそう ちたい ちたん ちちおや ちつじょ ちてき ちてん ちぬき ちぬり ちのう ちひょう ちへいせん ちほう ちまた ちみつ ちみどろ ちめいど ちゃんこなべ ちゅうい ちゆりょく
513
+ ちょうし ちょさくけん ちらし ちらみ ちりがみ ちりょう ちるど ちわわ ちんたい ちんもく ついか ついたち つうか つうじょう つうはん つうわ つかう つかれる つくね つくる つけね つける つごう つたえる つづく つつじ
514
+ つつむ つとめる つながる つなみ つねづね つのる つぶす つまらない つまる つみき つめたい つもり つもる つよい つるぼ つるみく つわもの つわり てあし てあて てあみ ていおん ていか ていき ていけい ていこく
515
+ ていさつ ていし ていせい ていたい ていど ていねい ていひょう ていへん ていぼう てうち ておくれ てきとう てくび でこぼこ てさぎょう てさげ てすり てそう てちがい てちょう てつがく てつづき でっぱ てつぼう てつや
516
+ でぬかえ てぬき てぬぐい てのひら てはい てぶくろ てふだ てほどき てほん てまえ てまきずし てみじか てみやげ てらす てれび てわけ てわたし でんあつ てんいん てんかい てんき てんぐ てんけん てんごく てんさい
517
+ てんし てんすう でんち てんてき てんとう てんない てんぷら てんぼうだい てんめつ てんらんかい でんりょく でんわ どあい といれ どうかん とうきゅう どうぐ とうし とうむぎ とおい とおか とおく とおす とおる とかい
518
+ とかす ときおり ときどき とくい とくしゅう とくてん とくに とくべつ とけい とける とこや とさか としょかん とそう とたん とちゅう とっきゅう とっくん とつぜん とつにゅう とどける ととのえる とない となえる となり
519
+ とのさま とばす どぶがわ とほう とまる とめる ともだち ともる どようび とらえる とんかつ どんぶり ないかく ないこう ないしょ ないす ないせん ないそう なおす ながい なくす なげる なこうど なさけ なたでここ
520
+ なっとう なつやすみ ななおし なにごと なにもの なにわ なのか なふだ なまいき なまえ なまみ なみだ なめらか なめる なやむ ならう ならび ならぶ なれる なわとび なわばり にあう にいがた にうけ におい にかい にがて
521
+ にきび にくしみ にくまん にげる にさんかたんそ にしき にせもの にちじょう にちようび にっか にっき にっけい にっこう にっさん にっしょく にっすう にっせき にってい になう にほん にまめ にもつ にやり にゅういん
522
+ にりんしゃ にわとり にんい にんか にんき にんげん にんしき にんずう にんそう にんたい にんち にんてい にんにく にんぷ にんまり にんむ にんめい にんよう ぬいくぎ ぬかす ぬぐいとる ぬぐう ぬくもり ぬすむ ぬまえび
523
+ ぬめり ぬらす ぬんちゃく ねあげ ねいき ねいる ねいろ ねぐせ ねくたい ねくら ねこぜ ねこむ ねさげ ねすごす ねそべる ねだん ねつい ねっしん ねつぞう ねったいぎょ ねぶそく ねふだ ねぼう ねほりはほり ねまき ねまわし
524
+ ねみみ ねむい ねむたい ねもと ねらう ねわざ ねんいり ねんおし ねんかん ねんきん ねんぐ ねんざ ねんし ねんちゃく ねんど ねんぴ ねんぶつ ねんまつ ねんりょう ねんれい のいず のおづま のがす のきなみ のこぎり のこす
525
+ のこる のせる のぞく のぞむ のたまう のちほど のっく のばす のはら のべる のぼる のみもの のやま のらいぬ のらねこ のりもの のりゆき のれん のんき ばあい はあく ばあさん ばいか ばいく はいけん はいご はいしん
526
+ はいすい はいせん はいそう はいち ばいばい はいれつ はえる はおる はかい ばかり はかる はくしゅ はけん はこぶ はさみ はさん はしご ばしょ はしる はせる ぱそこん はそん はたん はちみつ はつおん はっかく はづき
527
+ はっきり はっくつ はっけん はっこう はっさん はっしん はったつ はっちゅう はってん はっぴょう はっぽう はなす はなび はにかむ はぶらし はみがき はむかう はめつ はやい はやし はらう はろうぃん はわい はんい
528
+ はんえい はんおん はんかく はんきょう ばんぐみ はんこ はんしゃ はんすう はんだん ぱんち ぱんつ はんてい はんとし はんのう はんぱ はんぶん はんぺん はんぼうき はんめい はんらん はんろん ひいき ひうん ひえる ひかく
529
+ ひかり ひかる ひかん ひくい ひけつ ひこうき ひこく ひさい ひさしぶり ひさん びじゅつかん ひしょ
530
+ `.trim().split(/\s+/);
531
+ /** chinese_simplified.h. */
532
+ var MONERO_CHINESE_SIMPLIFIED = `
533
+ 的 一 是 在 不 了 有 和 人 这 中 大 为 上 个 国 我 以 要 他 时 来 用 们 生 到 作 地 于 出 就 分 对 成 会 可 主 发 年 动 同 工 也 能 下 过 子 说 产 种 面 而 方 后 多 定 行 学 法
534
+ 所 民 得 经 十 三 之 进 着 等 部 度 家 电 力 里 如 水 化 高 自 二 理 起 小 物 现 实 加 量 都 两 体 制 机 当 使 点 从 业 本 去 把 性 好 应 开 它 合 还 因 由 其 些 然 前 外 天 政
535
+ 四 日 那 社 义 事 平 形 相 全 表 间 样 与 关 各 重 新 线 内 数 正 心 反 你 明 看 原 又 么 利 比 或 但 质 气 第 向 道 命 此 变 条 只 没 结 解 问 意 建 月 公 无 系 军 很 情 者 最
536
+ 立 代 想 已 通 并 提 直 题 党 程 展 五 果 料 象 员 革 位 入 常 文 总 次 品 式 活 设 及 管 特 件 长 求 老 头 基 资 边 流 路 级 少 图 山 统 接 知 较 将 组 见 计 别 她 手 角 期 根
537
+ 论 运 农 指 几 九 区 强 放 决 西 被 干 做 必 战 先 回 则 任 取 据 处 队 南 给 色 光 门 即 保 治 北 造 百 规 热 领 七 海 口 东 导 器 压 志 世 金 增 争 济 阶 油 思 术 极 交 受 联
538
+ 什 认 六 共 权 收 证 改 清 美 再 采 转 更 单 风 切 打 白 教 速 花 带 安 场 身 车 例 真 务 具 万 每 目 至 达 走 积 示 议 声 报 斗 完 类 八 离 华 名 确 才 科 张 信 马 节 话 米 整
539
+ 空 元 况 今 集 温 传 土 许 步 群 广 石 记 需 段 研 界 拉 林 律 叫 且 究 观 越 织 装 影 算 低 持 音 众 书 布 复 容 儿 须 际 商 非 验 连 断 深 难 近 矿 千 周 委 素 技 备 半 办 青
540
+ 省 列 习 响 约 支 般 史 感 劳 便 团 往 酸 历 市 克 何 除 消 构 府 称 太 准 精 值 号 率 族 维 划 选 标 写 存 候 毛 亲 快 效 斯 院 查 江 型 眼 王 按 格 养 易 置 派 层 片 始 却 专
541
+ 状 育 厂 京 识 适 属 圆 包 火 住 调 满 县 局 照 参 红 细 引 听 该 铁 价 严 首 底 液 官 德 随 病 苏 失 尔 死 讲 配 女 黄 推 显 谈 罪 神 艺 呢 席 含 企 望 密 批 营 项 防 举 球 英
542
+ 氧 势 告 李 台 落 木 帮 轮 破 亚 师 围 注 远 字 材 排 供 河 态 封 另 施 减 树 溶 怎 止 案 言 士 均 武 固 叶 鱼 波 视 仅 费 紧 爱 左 章 早 朝 害 续 轻 服 试 食 充 兵 源 判 护 司
543
+ 足 某 练 差 致 板 田 降 黑 犯 负 击 范 继 兴 似 余 坚 曲 输 修 故 城 夫 够 送 笔 船 占 右 财 吃 富 春 职 觉 汉 画 功 巴 跟 虽 杂 飞 检 吸 助 升 阳 互 初 创 抗 考 投 坏 策 古 径
544
+ 换 未 跑 留 钢 曾 端 责 站 简 述 钱 副 尽 帝 射 草 冲 承 独 令 限 阿 宣 环 双 请 超 微 让 控 州 良 轴 找 否 纪 益 依 优 顶 础 载 倒 房 突 坐 粉 敌 略 客 袁 冷 胜 绝 析 块 剂 测
545
+ 丝 协 诉 念 陈 仍 罗 盐 友 洋 错 苦 夜 刑 移 频 逐 靠 混 母 短 皮 终 聚 汽 村 云 哪 既 距 卫 停 烈 央 察 烧 迅 境 若 印 洲 刻 括 激 孔 搞 甚 室 待 核 校 散 侵 吧 甲 游 久 菜 味
546
+ 旧 模 湖 货 损 预 阻 毫 普 稳 乙 妈 植 息 扩 银 语 挥 酒 守 拿 序 纸 医 缺 雨 吗 针 刘 啊 急 唱 误 训 愿 审 附 获 茶 鲜 粮 斤 孩 脱 硫 肥 善 龙 演 父 渐 血 欢 械 掌 歌 沙 刚 攻
547
+ 谓 盾 讨 晚 粒 乱 燃 矛 乎 杀 药 宁 鲁 贵 钟 煤 读 班 伯 香 介 迫 句 丰 培 握 兰 担 弦 蛋 沉 假 穿 执 答 乐 谁 顺 烟 缩 征 脸 喜 松 脚 困 异 免 背 星 福 买 染 井 概 慢 怕 磁 倍
548
+ 祖 皇 促 静 补 评 翻 肉 践 尼 衣 宽 扬 棉 希 伤 操 垂 秋 宜 氢 套 督 振 架 亮 末 宪 庆 编 牛 触 映 雷 销 诗 座 居 抓 裂 胞 呼 娘 景 威 绿 晶 厚 盟 衡 鸡 孙 延 危 胶 屋 乡 临 陆
549
+ 顾 掉 呀 灯 岁 措 束 耐 剧 玉 赵 跳 哥 季 课 凯 胡 额 款 绍 卷 齐 伟 蒸 殖 永 宗 苗 川 炉 岩 弱 零 杨 奏 沿 露 杆 探 滑 镇 饭 浓 航 怀 赶 库 夺 伊 灵 税 途 灭 赛 归 召 鼓 播 盘
550
+ 裁 险 康 唯 录 菌 纯 借 糖 盖 横 符 私 努 堂 域 枪 润 幅 哈 竟 熟 虫 泽 脑 壤 碳 欧 遍 侧 寨 敢 彻 虑 斜 薄 庭 纳 弹 饲 伸 折 麦 湿 暗 荷 瓦 塞 床 筑 恶 户 访 塔 奇 透 梁 刀 旋
551
+ 迹 卡 氯 遇 份 毒 泥 退 洗 摆 灰 彩 卖 耗 夏 择 忙 铜 献 硬 予 繁 圈 雪 函 亦 抽 篇 阵 阴 丁 尺 追 堆 雄 迎 泛 爸 楼 避 谋 吨 野 猪 旗 累 偏 典 馆 索 秦 脂 潮 爷 豆 忽 托 惊 塑
552
+ 遗 愈 朱 替 纤 粗 倾 尚 痛 楚 谢 奋 购 磨 君 池 旁 碎 骨 监 捕 弟 暴 割 贯 殊 释 词 亡 壁 顿 宝 午 尘 闻 揭 炮 残 冬 桥 妇 警 综 招 吴 付 浮 遭 徐 您 摇 谷 赞 箱 隔 订 男 吹 园
553
+ 纷 唐 败 宋 玻 巨 耕 坦 荣 闭 湾 键 凡 驻 锅 救 恩 剥 凝 碱 齿 截 炼 麻 纺 禁 废 盛 版 缓 净 睛 昌 婚 涉 筒 嘴 插 岸 朗 庄 街 藏 姑 贸 腐 奴 啦 惯 乘 伙 恢 匀 纱 扎 辩 耳 彪 臣
554
+ 亿 璃 抵 脉 秀 萨 俄 网 舞 店 喷 纵 寸 汗 挂 洪 贺 闪 柬 爆 烯 津 稻 墙 软 勇 像 滚 厘 蒙 芳 肯 坡 柱 荡 腿 仪 旅 尾 轧 冰 贡 登 黎 削 钻 勒 逃 障 氨 郭 峰 币 港 伏 轨 亩 毕 擦
555
+ 莫 刺 浪 秘 援 株 健 售 股 岛 甘 泡 睡 童 铸 汤 阀 休 汇 舍 牧 绕 炸 哲 磷 绩 朋 淡 尖 启 陷 柴 呈 徒 颜 泪 稍 忘 泵 蓝 拖 洞 授 镜 辛 壮 锋 贫 虚 弯 摩 泰 幼 廷 尊 窗 纲 弄 隶
556
+ 疑 氏 宫 姐 震 瑞 怪 尤 琴 循 描 膜 违 夹 腰 缘 珠 穷 森 枝 竹 沟 催 绳 忆 邦 剩 幸 浆 栏 拥 牙 贮 礼 滤 钠 纹 罢 拍 咱 喊 袖 埃 勤 罚 焦 潜 伍 墨 欲 缝 姓 刊 饱 仿 奖 铝 鬼 丽
557
+ 跨 默 挖 链 扫 喝 袋 炭 污 幕 诸 弧 励 梅 奶 洁 灾 舟 鉴 苯 讼 抱 毁 懂 寒 智 埔 寄 届 跃 渡 挑 丹 艰 贝 碰 拔 爹 戴 码 梦 芽 熔 赤 渔 哭 敬 颗 奔 铅 仲 虎 稀 妹 乏 珍 申 桌 遵
558
+ 允 隆 螺 仓 魏 锐 晓 氮 兼 隐 碍 赫 拨 忠 肃 缸 牵 抢 博 巧 壳 兄 杜 讯 诚 碧 祥 柯 页 巡 矩 悲 灌 龄 伦 票 寻 桂 铺 圣 恐 恰 郑 趣 抬 荒 腾 贴 柔 滴 猛 阔 辆 妻 填 撤 储 签 闹
559
+ 扰 紫 砂 递 戏 吊 陶 伐 喂 疗 瓶 婆 抚 臂 摸 忍 虾 蜡 邻 胸 巩 挤 偶 弃 槽 劲 乳 邓 吉 仁 烂 砖 租 乌 舰 伴 瓜 浅 丙 暂 燥 橡 柳 迷 暖 牌 秧 胆 详 簧 踏 瓷 谱 呆 宾 糊 洛 辉 愤
560
+ 竞 隙 怒 粘 乃 绪 肩 籍 敏 涂 熙 皆 侦 悬 掘 享 纠 醒 狂 锁 淀 恨 牲 霸 爬 赏 逆 玩 陵 祝 秒 浙 貌
561
+ `.trim().split(/\s+/);
562
+ //#endregion
563
+ //#region ../../apps/ui/src/lib/parse/monero-words.ts
564
+ /**
565
+ * Monero's English seed words (src/mnemonics/english.h in monero-project/monero), in their order: a word's place is its
566
+ * value. The classic 25-word seed of Monero GUI and monero-wallet-cli, and MyMonero's 13, are made of these.
567
+ *
568
+ * Copyright (c) 2014-2024, The Monero Project, under the BSD 3-Clause licence that file carries: redistributions keep
569
+ * this notice, and the project's name may not endorse this app.
570
+ */
571
+ var MONERO_WORDS = `
572
+ abbey abducts ability ablaze abnormal abort abrasive absorb abyss academy aces aching acidic acoustic acquire across
573
+ actress acumen adapt addicted adept adhesive adjust adopt adrenalin adult adventure aerial afar affair afield afloat
574
+ afoot afraid after against agenda aggravate agile aglow agnostic agony agreed ahead aided ailments aimless airport
575
+ aisle ajar akin alarms album alchemy alerts algebra alkaline alley almost aloof alpine already also altitude alumni
576
+ always amaze ambush amended amidst ammo amnesty among amply amused anchor android anecdote angled ankle annoyed
577
+ answers antics anvil anxiety anybody apart apex aphid aplomb apology apply apricot aptitude aquarium arbitrary
578
+ archer ardent arena argue arises army around arrow arsenic artistic ascend ashtray aside asked asleep aspire
579
+ assorted asylum athlete atlas atom atrium attire auburn auctions audio august aunt austere autumn avatar avidly
580
+ avoid awakened awesome awful awkward awning awoken axes axis axle aztec azure baby bacon badge baffles bagpipe
581
+ bailed bakery balding bamboo banjo baptism basin batch bawled bays because beer befit begun behind being below
582
+ bemused benches berries bested betting bevel beware beyond bias bicycle bids bifocals biggest bikini bimonthly
583
+ binocular biology biplane birth biscuit bite biweekly blender blip bluntly boat bobsled bodies bogeys boil boldly
584
+ bomb border boss both bounced bovine bowling boxes boyfriend broken brunt bubble buckets budget buffet bugs building
585
+ bulb bumper bunch business butter buying buzzer bygones byline bypass cabin cactus cadets cafe cage cajun cake
586
+ calamity camp candy casket catch cause cavernous cease cedar ceiling cell cement cent certain chlorine chrome cider
587
+ cigar cinema circle cistern citadel civilian claim click clue coal cobra cocoa code coexist coffee cogs cohesive
588
+ coils colony comb cool copy corrode costume cottage cousin cowl criminal cube cucumber cuddled cuffs cuisine cunning
589
+ cupcake custom cycling cylinder cynical dabbing dads daft dagger daily damp dangerous dapper darted dash dating
590
+ dauntless dawn daytime dazed debut decay dedicated deepest deftly degrees dehydrate deity dejected delayed
591
+ demonstrate dented deodorant depth desk devoid dewdrop dexterity dialect dice diet different digit dilute dime
592
+ dinner diode diplomat directed distance ditch divers dizzy doctor dodge does dogs doing dolphin domestic donuts
593
+ doorway dormant dosage dotted double dove down dozen dreams drinks drowning drunk drying dual dubbed duckling dude
594
+ duets duke dullness dummy dunes duplex duration dusted duties dwarf dwelt dwindling dying dynamite dyslexic each
595
+ eagle earth easy eating eavesdrop eccentric echo eclipse economics ecstatic eden edgy edited educated eels efficient
596
+ eggs egotistic eight either eject elapse elbow eldest eleven elite elope else eluded emails ember emerge emit
597
+ emotion empty emulate energy enforce enhanced enigma enjoy enlist enmity enough enraged ensign entrance envy epoxy
598
+ equip erase erected erosion error eskimos espionage essential estate etched eternal ethics etiquette evaluate
599
+ evenings evicted evolved examine excess exhale exit exotic exquisite extra exult fabrics factual fading fainted
600
+ faked fall family fancy farming fatal faulty fawns faxed fazed feast february federal feel feline females fences
601
+ ferry festival fetches fever fewest fiat fibula fictional fidget fierce fifteen fight films firm fishing fitting
602
+ five fixate fizzle fleet flippant flying foamy focus foes foggy foiled folding fonts foolish fossil fountain fowls
603
+ foxes foyer framed friendly frown fruit frying fudge fuel fugitive fully fuming fungal furnished fuselage future
604
+ fuzzy gables gadget gags gained galaxy gambit gang gasp gather gauze gave gawk gaze gearbox gecko geek gels gemstone
605
+ general geometry germs gesture getting geyser ghetto ghost giant giddy gifts gigantic gills gimmick ginger girth
606
+ giving glass gleeful glide gnaw gnome goat goblet godfather goes goggles going goldfish gone goodbye gopher gorilla
607
+ gossip gotten gourmet governing gown greater grunt guarded guest guide gulp gumball guru gusts gutter guys gymnast
608
+ gypsy gyrate habitat hacksaw haggled hairy hamburger happens hashing hatchet haunted having hawk haystack hazard
609
+ hectare hedgehog heels hefty height hemlock hence heron hesitate hexagon hickory hiding highway hijack hiker hills
610
+ himself hinder hippo hire history hitched hive hoax hobby hockey hoisting hold honked hookup hope hornet hospital
611
+ hotel hounded hover howls hubcaps huddle huge hull humid hunter hurried husband huts hybrid hydrogen hyper iceberg
612
+ icing icon identity idiom idled idols igloo ignore iguana illness imagine imbalance imitate impel inactive inbound
613
+ incur industrial inexact inflamed ingested initiate injury inkling inline inmate innocent inorganic input inquest
614
+ inroads insult intended inundate invoke inwardly ionic irate iris irony irritate island isolated issued italics
615
+ itches items itinerary itself ivory jabbed jackets jaded jagged jailed jamming january jargon jaunt javelin jaws
616
+ jazz jeans jeers jellyfish jeopardy jerseys jester jetting jewels jigsaw jingle jittery jive jobs jockey jogger
617
+ joining joking jolted jostle journal joyous jubilee judge juggled juicy jukebox july jump junk jury justice juvenile
618
+ kangaroo karate keep kennel kept kernels kettle keyboard kickoff kidneys king kiosk kisses kitchens kiwi knapsack
619
+ knee knife knowledge knuckle koala laboratory ladder lagoon lair lakes lamb language laptop large last later
620
+ launching lava lawsuit layout lazy lectures ledge leech left legion leisure lemon lending leopard lesson lettuce
621
+ lexicon liar library licks lids lied lifestyle light likewise lilac limits linen lion lipstick liquid listen lively
622
+ loaded lobster locker lodge lofty logic loincloth long looking lopped lordship losing lottery loudly love lower
623
+ loyal lucky luggage lukewarm lullaby lumber lunar lurk lush luxury lymph lynx lyrics macro madness magically mailed
624
+ major makeup malady mammal maps masterful match maul maverick maximum mayor maze meant mechanic medicate meeting
625
+ megabyte melting memoir menu merger mesh metro mews mice midst mighty mime mirror misery mittens mixture moat mobile
626
+ mocked mohawk moisture molten moment money moon mops morsel mostly motherly mouth movement mowing much muddy muffin
627
+ mugged mullet mumble mundane muppet mural musical muzzle myriad mystery myth nabbing nagged nail names nanny napkin
628
+ narrate nasty natural nautical navy nearby necklace needed negative neither neon nephew nerves nestle network
629
+ neutral never newt nexus nibs niche niece nifty nightly nimbly nineteen nirvana nitrogen nobody nocturnal nodes
630
+ noises nomad noodles northern nostril noted nouns novelty nowhere nozzle nuance nucleus nudged nugget nuisance null
631
+ number nuns nurse nutshell nylon oaks oars oasis oatmeal obedient object obliged obnoxious observant obtains obvious
632
+ occur ocean october odds odometer offend often oilfield ointment okay older olive olympics omega omission omnibus
633
+ onboard oncoming oneself ongoing onion online onslaught onto onward oozed opacity opened opposite optical opus
634
+ orange orbit orchid orders organs origin ornament orphans oscar ostrich otherwise otter ouch ought ounce ourselves
635
+ oust outbreak oval oven owed owls owner oxidant oxygen oyster ozone pact paddles pager pairing palace pamphlet
636
+ pancakes paper paradise pastry patio pause pavements pawnshop payment peaches pebbles peculiar pedantic peeled pegs
637
+ pelican pencil people pepper perfect pests petals phase pheasants phone phrases physics piano picked pierce pigment
638
+ piloted pimple pinched pioneer pipeline pirate pistons pitched pivot pixels pizza playful pledge pliers plotting
639
+ plus plywood poaching pockets podcast poetry point poker polar ponies pool popular portents possible potato pouch
640
+ poverty powder pram present pride problems pruned prying psychic public puck puddle puffin pulp pumpkins punch puppy
641
+ purged push putty puzzled pylons pyramid python queen quick quote rabbits racetrack radar rafts rage railway raking
642
+ rally ramped randomly rapid rarest rash rated ravine rays razor react rebel recipe reduce reef refer regular reheat
643
+ reinvest rejoices rekindle relic remedy renting reorder repent request reruns rest return reunion revamp rewind
644
+ rhino rhythm ribbon richly ridges rift rigid rims ringing riots ripped rising ritual river roared robot rockets
645
+ rodent rogue roles romance roomy roped roster rotate rounded rover rowboat royal ruby rudely ruffled rugged ruined
646
+ ruling rumble runway rural rustled ruthless sabotage sack sadness safety saga sailor sake salads sample sanity
647
+ sapling sarcasm sash satin saucepan saved sawmill saxophone sayings scamper scenic school science scoop scrub scuba
648
+ seasons second sedan seeded segments seismic selfish semifinal sensible september sequence serving session setup
649
+ seventh sewage shackles shelter shipped shocking shrugged shuffled shyness siblings sickness sidekick sieve sifting
650
+ sighting silk simplest sincerely sipped siren situated sixteen sizes skater skew skirting skulls skydive slackens
651
+ sleepless slid slower slug smash smelting smidgen smog smuggled snake sneeze sniff snout snug soapy sober soccer
652
+ soda software soggy soil solved somewhere sonic soothe soprano sorry southern sovereign sowed soya space speedy
653
+ sphere spiders splendid spout sprig spud spying square stacking stellar stick stockpile strained stunning stylishly
654
+ subtly succeed suddenly suede suffice sugar suitcase sulking summon sunken superior surfer sushi suture swagger
655
+ swept swiftly sword swung syllabus symptoms syndrome syringe system taboo tacit tadpoles tagged tail taken talent
656
+ tamper tanks tapestry tarnished tasked tattoo taunts tavern tawny taxi teardrop technical tedious teeming tell
657
+ template tender tepid tequila terminal testing tether textbook thaw theatrics thirsty thorn threaten thumbs thwart
658
+ ticket tidy tiers tiger tilt timber tinted tipsy tirade tissue titans toaster tobacco today toenail toffee together
659
+ toilet token tolerant tomorrow tonic toolbox topic torch tossed total touchy towel toxic toyed trash trendy tribal
660
+ trolling truth trying tsunami tubes tucks tudor tuesday tufts tugs tuition tulips tumbling tunnel turnip tusks tutor
661
+ tuxedo twang tweezers twice twofold tycoon typist tyrant ugly ulcers ultimate umbrella umpire unafraid unbending
662
+ uncle under uneven unfit ungainly unhappy union unjustly unknown unlikely unmask unnoticed unopened unplugs unquoted
663
+ unrest unsafe until unusual unveil unwind unzip upbeat upcoming update upgrade uphill upkeep upload upon upper
664
+ upright upstairs uptight upwards urban urchins urgent usage useful usher using usual utensils utility utmost utopia
665
+ uttered vacation vague vain value vampire vane vapidly vary vastness vats vaults vector veered vegan vehicle vein
666
+ velvet venomous verification vessel veteran vexed vials vibrate victim video viewpoint vigilant viking village
667
+ vinegar violin vipers virtual visited vitals vivid vixen vocal vogue voice volcano vortex voted voucher vowels
668
+ voyage vulture wade waffle wagtail waist waking wallets wanted warped washing water waveform waxing wayside weavers
669
+ website wedge weekday weird welders went wept were western wetsuit whale when whipped whole wickets width wield wife
670
+ wiggle wildly winter wipeout wiring wise withdrawn wives wizard wobbly woes woken wolf womanly wonders woozy worry
671
+ wounded woven wrap wrist wrong yacht yahoo yanks yard yawning yearbook yellow yesterday yeti yields yodel yoga
672
+ younger yoyo zapped zeal zebra zero zesty zigzags zinger zippers zodiac zombie zones zoom
673
+ `.trim().split(/\s+/);
674
+ //#endregion
675
+ //#region ../../apps/ui/src/lib/parse/secrets.ts
676
+ var englishWords = (text) => text.toLowerCase().match(/[a-z]+/g);
677
+ /**
678
+ * A word of another language's list as it is matched: decomposed, in lower case and without its marks, so "ábaco",
679
+ * "ABACO" and "abaco" are one word, and a Japanese word is one with or without its voicing marks. No two words of a
680
+ * list are the same once read this way.
681
+ */
682
+ var fold = (text) => text.normalize("NFKD").toLowerCase().replace(/\p{M}/gu, "");
683
+ var foldedWords = (text) => fold(text).match(/\p{L}+/gu);
684
+ /** Built the first time a message is read: most messages never get past English. */
685
+ function lazyIndex(list, spell) {
686
+ let index;
687
+ return () => index ??= new Map(list.map((word, i) => [spell(word), i]));
688
+ }
689
+ var MNEMONIC_LENGTHS = [
690
+ 12,
691
+ 15,
692
+ 18,
693
+ 21,
694
+ 24
695
+ ];
696
+ var BIP39 = {
697
+ index: lazyIndex(wordlist, (word) => word),
698
+ words: englishWords,
699
+ lengths: MNEMONIC_LENGTHS,
700
+ /**
701
+ * BIP39's lengths, and a Polyseed's 16 (Monero's seed in Feather and Cake Wallet, BIP39's English words with a
702
+ * checksum of its own, which BIP39's caught only by chance, about 3 in 10).
703
+ */
704
+ wholeMessage: [...MNEMONIC_LENGTHS, 16],
705
+ checksumHolds: bip39ChecksumHolds
706
+ };
707
+ /** Monero's classic seed (Monero GUI, monero-wallet-cli): 25 words of its own list, or MyMonero's 13. */
708
+ var MONERO = {
709
+ index: lazyIndex(MONERO_WORDS, (word) => word),
710
+ words: englishWords,
711
+ lengths: [25, 13],
712
+ wholeMessage: [25, 13],
713
+ checksumHolds: moneroChecksum(MONERO_WORDS, 3)
714
+ };
715
+ var seeds = [BIP39, MONERO];
716
+ /**
717
+ * BIP39's own lists in the app's other languages, which a wallet set to one of them shows its seed in: the same
718
+ * lengths and checksum as the English list. Monero's lists in them too, each with the prefix length its checksum
719
+ * reads. Handed in by `seedLists.ts`, which the composer loads as it opens (83 KB gzipped, kept out of the app's
720
+ * first download) and the CLI with the guard.
721
+ */
722
+ function addSeedLists(lists, moneroLists = []) {
723
+ seeds = [
724
+ BIP39,
725
+ MONERO,
726
+ ...lists.map((list) => ({
727
+ index: lazyIndex(list, fold),
728
+ words: foldedWords,
729
+ lengths: MNEMONIC_LENGTHS,
730
+ wholeMessage: MNEMONIC_LENGTHS,
731
+ checksumHolds: bip39ChecksumHolds
732
+ })),
733
+ ...moneroLists.map(([list, prefix]) => ({
734
+ index: lazyIndex(list, fold),
735
+ words: foldedWords,
736
+ lengths: MONERO.lengths,
737
+ wholeMessage: MONERO.wholeMessage,
738
+ checksumHolds: moneroChecksum(list, prefix)
739
+ }))
740
+ ];
741
+ }
742
+ /** Checksums tried per message and word list at most: a 16 KiB run of seed words stays a few milliseconds. */
743
+ var CHECKSUM_BUDGET = 4096;
744
+ var NSEC = /\bnsec1[02-9ac-hj-np-z]{58}(?![02-9ac-hj-np-z])/i;
745
+ var EXTENDED_PRIVATE = /\b[xtyzuvYZUV]prv[1-9A-HJ-NP-Za-km-z]{100,}/;
746
+ var WIF = /\b[59KLc][1-9A-HJ-NP-Za-km-z]{50,51}\b/g;
747
+ var HEX_SECRET = /\b(?:0x)?(?:[0-9a-fA-F]{128}|[0-9a-fA-F]{64})\b/g;
748
+ /**
749
+ * Monero's keys count too: "Private spend key" and "Spend key (private)" (Cake Wallet, MyMonero). A bare "spend key" or
750
+ * "view key" does not, as a wallet's public keys are written that way too.
751
+ */
752
+ var SECRET_CONTEXT = /priv(?:ate)?[\s_-]*(?:(?:spend|view)[\s_-]*)?key|(?:spend|view)[\s_-]*key[\s_-]*\(\s*private|secret|seed|mnemonic|nsec|xprv|\bwif\b|recovery|passphrase/i;
753
+ /** How far from a 64-hex string a word like "seed" still counts as saying what it is. */
754
+ var CONTEXT_REACH = 48;
755
+ var CASHU_TOKEN = /\bcashu([AB])([A-Za-z0-9_\-+/]{20,}={0,2})/g;
756
+ /**
757
+ * Characters that take no room on screen: format characters (zero-width space, soft hyphen, word joiner, the joiners,
758
+ * direction marks), control characters that are not white space, variation selectors, the grapheme joiner and the
759
+ * Hangul fillers. A page, a PDF or a terminal puts some of them into long strings as places to break a line.
760
+ */
761
+ var INVISIBLE = /(?![\t\n\v\f\r\x85])[\p{Cc}\p{Cf}]|\u034f|[\u115f\u1160\u3164\uffa0]|[\ufe00-\ufe0f]|[\u{e0100}-\u{e01ef}]/gu;
762
+ var base58check = createBase58check(sha256);
763
+ /**
764
+ * The first secret in `text`, keys and seeds before ecash; null for anything else. The text is read as it is and as
765
+ * it reads without its invisible characters: a key with one inside is whole again once the reader takes it out.
766
+ */
767
+ function findSecret(text) {
768
+ const visible = text.replace(INVISIBLE, "");
769
+ const readings = visible === text ? [text] : [text, visible];
770
+ if (readings.some((reading) => {
771
+ const words = /* @__PURE__ */ new Map();
772
+ return seeds.some((seed) => {
773
+ if (!words.has(seed.words)) words.set(seed.words, seed.words(reading));
774
+ return hasMnemonic(words.get(seed.words), seed);
775
+ });
776
+ })) return { kind: "mnemonic" };
777
+ if (readings.some((reading) => NSEC.test(reading))) return { kind: "nsec" };
778
+ if (readings.some((reading) => EXTENDED_PRIVATE.test(reading) || hasWif(reading))) return { kind: "bitcoin-key" };
779
+ if (readings.some(hasHexSecret)) return { kind: "hex-key" };
780
+ const tokens = readings.map(findCashu);
781
+ return tokens.find((found) => found?.kind === "cashu" && found.amount !== null) ?? tokens.find((found) => found) ?? null;
782
+ }
783
+ /**
784
+ * 12 to 24 words in a row from the English BIP39 list whose checksum holds, anywhere in the text; or a message that
785
+ * is nothing but 12, 15, 16, 18, 21 or 24 of those words (a seed with one word mistyped is still most of a seed). The
786
+ * same for Monero's English list, 25 or 13 words, and for BIP39's and Monero's lists in the app's other languages.
787
+ * Prose breaks a run at once: "the", "a", "is", "to", "and", "of" and "I" are on neither English list, nor "de",
788
+ * "la", "a", "e" on the others.
789
+ *
790
+ * One word said over and over is not a seed, though one in 16 such runs passes a 12-word checksum ("word" does), and
791
+ * every one passes Monero's: a window of a single word never counts, and a window mostly of one word ("abandon …
792
+ * about") counts only when that word does not go on past it on either side.
793
+ */
794
+ function hasMnemonic(tokens, seed) {
795
+ const shortest = Math.min(...seed.lengths);
796
+ if (!tokens || tokens.length < shortest) return false;
797
+ const index = seed.index();
798
+ let budget = CHECKSUM_BUDGET;
799
+ let run = [];
800
+ const seedLike = (start, length) => {
801
+ const window = run.slice(start, start + length);
802
+ const counts = /* @__PURE__ */ new Map();
803
+ for (const word of window) counts.set(word, (counts.get(word) ?? 0) + 1);
804
+ if (counts.size === 1) return false;
805
+ const [most, times] = [...counts].reduce((a, b) => b[1] > a[1] ? b : a);
806
+ if (times > length / 2 && (run[start - 1] === most || run[start + length] === most)) return false;
807
+ return seed.checksumHolds(window);
808
+ };
809
+ const check = () => {
810
+ if (run.length >= shortest) {
811
+ for (const length of seed.lengths) for (let start = 0; start + length <= run.length && budget > 0; start++, budget--) if (seedLike(start, length)) return true;
812
+ if (run.length === tokens.length && seed.wholeMessage.includes(run.length) && new Set(run).size > 1) return true;
813
+ }
814
+ run = [];
815
+ return false;
816
+ };
817
+ for (const token of tokens) {
818
+ const at = index.get(token);
819
+ if (at !== void 0) run.push(at);
820
+ else if (check()) return true;
821
+ }
822
+ return check();
823
+ }
824
+ /** BIP39: the words' 11-bit indices are the entropy followed by the first bits of its SHA-256. */
825
+ function bip39ChecksumHolds(indices) {
826
+ const bits = indices.length * 11, checksumBits = bits / 33, entropyBytes = (bits - checksumBits) / 8;
827
+ const bytes = new Uint8Array(Math.ceil(bits / 8));
828
+ indices.forEach((index, i) => {
829
+ for (let b = 0; b < 11; b++) if (index & 1 << 10 - b) {
830
+ const at = i * 11 + b;
831
+ bytes[at >> 3] |= 128 >> (at & 7);
832
+ }
833
+ });
834
+ return sha256(bytes.subarray(0, entropyBytes))[0] >> 8 - checksumBits === bytes[entropyBytes] >> 8 - checksumBits;
835
+ }
836
+ /**
837
+ * Monero (src/mnemonics/electrum-words.cpp): the last word repeats the one at CRC-32 of the other words' first
838
+ * `prefix` letters as the list spells them (English 3, Japanese 3, Chinese 1, the others 4), run together in UTF-8,
839
+ * modulo how many they are.
840
+ */
841
+ function moneroChecksum(list, prefix) {
842
+ let prefixes;
843
+ return (indices) => {
844
+ prefixes ??= list.map((word) => Array.from(word).slice(0, prefix).join(""));
845
+ const words = indices.slice(0, -1);
846
+ return words[crc32(words.map((index) => prefixes[index]).join("")) % words.length] === indices[indices.length - 1];
847
+ };
848
+ }
849
+ var CRC32_TABLE = Uint32Array.from({ length: 256 }, (_, n) => {
850
+ let c = n;
851
+ for (let k = 0; k < 8; k++) c = c & 1 ? 3988292384 ^ c >>> 1 : c >>> 1;
852
+ return c;
853
+ });
854
+ var utf8 = new TextEncoder();
855
+ /** CRC-32 (the zlib one) of text in UTF-8. */
856
+ function crc32(text) {
857
+ let crc = 4294967295;
858
+ for (const byte of utf8.encode(text)) crc = CRC32_TABLE[(crc ^ byte) & 255] ^ crc >>> 8;
859
+ return (crc ^ 4294967295) >>> 0;
860
+ }
861
+ /** A WIF private key: base58check with version 0x80 (mainnet) or 0xef (testnet), 32 bytes and an optional 0x01. */
862
+ function hasWif(text) {
863
+ for (const [candidate] of text.matchAll(WIF)) try {
864
+ const payload = base58check.decode(candidate);
865
+ if ((payload[0] === 128 || payload[0] === 239) && (payload.length === 33 || payload.length === 34 && payload[33] === 1)) return true;
866
+ } catch {}
867
+ return false;
868
+ }
869
+ /** 64 or 128 hex digits with "private key", "secret", "seed" or the like close by. A bare hash is not asked about. */
870
+ function hasHexSecret(text) {
871
+ for (const match of text.matchAll(HEX_SECRET)) {
872
+ const before = text.slice(Math.max(0, match.index - CONTEXT_REACH), match.index);
873
+ const after = text.slice(match.index + match[0].length, match.index + match[0].length + CONTEXT_REACH);
874
+ if (SECRET_CONTEXT.test(before) || SECRET_CONTEXT.test(after)) return true;
875
+ }
876
+ return false;
877
+ }
878
+ /** Every Cashu token in the text, with their amounts added up when all of them decode and share one unit. */
879
+ function findCashu(text) {
880
+ const tokens = [...text.matchAll(CASHU_TOKEN)].map(([, version, body]) => decodeCashu(version, body));
881
+ if (!tokens.length) return null;
882
+ const unit = tokens.find((token) => token)?.unit ?? "sat";
883
+ return {
884
+ kind: "cashu",
885
+ amount: tokens.every((token) => token && token.unit === unit) ? tokens.reduce((sum, token) => sum + token.amount, 0) : null,
886
+ unit
887
+ };
888
+ }
889
+ /** What a Cashu token is worth, read from the token itself (NUT-00): nothing is asked of the mint. */
890
+ function decodeCashu(version, body) {
891
+ try {
892
+ const bytes = fromBase64(body);
893
+ if (version === "A") {
894
+ const token = JSON.parse(new TextDecoder("utf-8", { fatal: true }).decode(bytes));
895
+ return total(token.token?.flatMap((entry) => entry.proofs ?? []).map((proof) => proof.amount), token.unit);
896
+ }
897
+ const token = decodeCbor(bytes);
898
+ return total(token?.t?.flatMap((entry) => entry.p ?? []).map((proof) => proof.a), token?.u);
899
+ } catch {
900
+ return null;
901
+ }
902
+ }
903
+ function total(amounts, unit) {
904
+ if (!amounts?.length || !amounts.every((a) => Number.isSafeInteger(a) && a >= 0)) return null;
905
+ const amount = amounts.reduce((sum, a) => sum + a, 0);
906
+ return Number.isSafeInteger(amount) ? {
907
+ amount,
908
+ unit: typeof unit === "string" && unit ? unit : "sat"
909
+ } : null;
910
+ }
911
+ function fromBase64(text) {
912
+ const standard = text.replace(/-/g, "+").replace(/_/g, "/").replace(/=+$/, "");
913
+ const binary = atob(standard + "=".repeat((4 - standard.length % 4) % 4));
914
+ return Uint8Array.from(binary, (c) => c.charCodeAt(0));
915
+ }
916
+ /** Enough CBOR (RFC 8949) for a cashuB token: definite lengths, integers, bytes, text, arrays, maps, tags, simple values. */
917
+ function decodeCbor(bytes) {
918
+ let at = 0, depth = 0;
919
+ const view = new DataView(bytes.buffer, bytes.byteOffset, bytes.byteLength);
920
+ const length = (info) => {
921
+ if (info < 24) return info;
922
+ const size = info === 24 ? 1 : info === 25 ? 2 : info === 26 ? 4 : info === 27 ? 8 : 0;
923
+ if (!size || at + size > bytes.length) throw new Error("cbor");
924
+ let value = 0;
925
+ for (let i = 0; i < size; i++) value = value * 256 + bytes[at + i];
926
+ at += size;
927
+ return value;
928
+ };
929
+ const item = () => {
930
+ if (at >= bytes.length || ++depth > 32) throw new Error("cbor");
931
+ const head = bytes[at++], major = head >> 5, info = head & 31;
932
+ try {
933
+ if (major === 7) {
934
+ if (info === 20) return false;
935
+ if (info === 21) return true;
936
+ if (info === 22 || info === 23) return null;
937
+ if (info === 25) {
938
+ at += 2;
939
+ return NaN;
940
+ }
941
+ if (info === 26) {
942
+ at += 4;
943
+ return view.getFloat32(at - 4);
944
+ }
945
+ if (info === 27) {
946
+ at += 8;
947
+ return view.getFloat64(at - 8);
948
+ }
949
+ throw new Error("cbor");
950
+ }
951
+ const n = length(info);
952
+ switch (major) {
953
+ case 0: return n;
954
+ case 1: return -1 - n;
955
+ case 2:
956
+ case 3: {
957
+ if (at + n > bytes.length) throw new Error("cbor");
958
+ const slice = bytes.subarray(at, at += n);
959
+ return major === 2 ? slice : new TextDecoder("utf-8", { fatal: true }).decode(slice);
960
+ }
961
+ case 4:
962
+ if (n > bytes.length - at) throw new Error("cbor");
963
+ return Array.from({ length: n }, item);
964
+ case 5: {
965
+ if (n > bytes.length - at) throw new Error("cbor");
966
+ const map = Object.create(null);
967
+ for (let i = 0; i < n; i++) {
968
+ const key = item();
969
+ map[String(key)] = item();
970
+ }
971
+ return map;
972
+ }
973
+ default: return item();
974
+ }
975
+ } finally {
976
+ depth--;
977
+ }
978
+ };
979
+ return item();
980
+ }
981
+ //#endregion
982
+ //#region ../../apps/ui/src/lib/parse/seedLists.ts
983
+ /**
984
+ * BIP39's and Monero's lists in the languages the app speaks besides English (Arabic has none), for the secret guard.
985
+ * Imported for its effect: by the composer as it opens, so they are no part of the app's first download, and by the
986
+ * CLI.
987
+ */
988
+ addSeedLists([
989
+ wordlist$4,
990
+ wordlist$6,
991
+ wordlist$1,
992
+ wordlist$2,
993
+ wordlist$3,
994
+ wordlist$5,
995
+ wordlist$7
996
+ ], [
997
+ [MONERO_PORTUGUESE, 4],
998
+ [MONERO_SPANISH, 4],
999
+ [MONERO_FRENCH, 4],
1000
+ [MONERO_ITALIAN, 4],
1001
+ [MONERO_JAPANESE, 3],
1002
+ [MONERO_CHINESE_SIMPLIFIED, 1]
1003
+ ]);
1004
+ //#endregion
1005
+ //#region src/waits.ts
1006
+ var DELIVERY_RANK = {
1007
+ sending: 0,
1008
+ waiting: 1,
1009
+ queued: 1,
1010
+ held: 2,
1011
+ sent: 2,
1012
+ delivered: 3
1013
+ };
1014
+ /**
1015
+ * What a timed-out wait says of what happens next: a daemon goes on, a one-shot's profile closes now. A one-shot's
1016
+ * `edit` and `group edit` said "while this profile is online" too, as it was about to leave. Ctrl-C says the same.
1017
+ */
1018
+ var goesOn = (ctx) => goesOn$1(ctx.mode);
1019
+ /** Waits until the contact confirmed the latest edit of one of my messages (it is no longer pending). */
1020
+ async function waitForEdit(ctx, chat, messageId, ms) {
1021
+ const until = Date.now() + ms;
1022
+ for (;;) {
1023
+ const message = await node(ctx).getMessage(chat, messageId);
1024
+ if (!message) throw new CliError("not_found", `No message ${messageId} in this chat`);
1025
+ if (!message.edit?.pending) return message;
1026
+ if (Date.now() >= until) throw new CliError("timeout", `Timed out after ${Math.round(ms / 1e3)} s: the contact has not confirmed the edit yet (it needs a live chat and a contact's app that shows edits). It ${goesOn(ctx)}`, {
1027
+ messageId,
1028
+ edits: message.edit.seq
1029
+ });
1030
+ await new Promise((resolve) => setTimeout(resolve, 250));
1031
+ }
1032
+ }
1033
+ /** Waits until the contact confirmed my removal of a message, which is already gone here. */
1034
+ async function waitForRemoval(ctx, chat, messageId, ms) {
1035
+ const until = Date.now() + ms;
1036
+ while (node(ctx).removalPending({
1037
+ linkId: chat,
1038
+ messageId
1039
+ })) {
1040
+ if (Date.now() >= until) throw new CliError("timeout", `Timed out after ${Math.round(ms / 1e3)} s: the message is gone here and the contact has not confirmed yet. Its removal ${goesOn(ctx)}`, { messageId });
1041
+ await new Promise((resolve) => setTimeout(resolve, 250));
1042
+ }
1043
+ }
1044
+ /**
1045
+ * Waits until an edge took my group message, or its edit number `edit` (WISP 902: a group has no receipts, so this is
1046
+ * as far as the author sees): a member's edge in a private group, an edge to one of my hubs in a community.
1047
+ */
1048
+ async function waitForGroupFrame(ctx, groupId, messageId, edit, ms) {
1049
+ const until = Date.now() + ms;
1050
+ for (;;) {
1051
+ const taken = node(ctx).groupTaken({
1052
+ groupId,
1053
+ messageId,
1054
+ ...edit ? { edit } : {}
1055
+ });
1056
+ if (taken > 0) return taken;
1057
+ if (Date.now() >= until) throw new CliError("timeout", `Timed out after ${Math.round(ms / 1e3)} s: no member's edge took it yet (it stays in the group and goes when one opens). It ${goesOn(ctx)}`, {
1058
+ messageId,
1059
+ ...edit ? { edits: edit } : {}
1060
+ });
1061
+ await new Promise((resolve) => setTimeout(resolve, 250));
1062
+ }
1063
+ }
1064
+ /**
1065
+ * A one-shot whose text went over the live link waits this long for its receipt before it leaves (`waitForMessage`).
1066
+ * Left at `sent`, the engine stopping took the text for unconfirmed, the next start sent it again on the DHT, and that
1067
+ * copy took the chat's one DHT text awaiting a receipt: a script's next one-shot send waited 30 s behind it, every 5-8
1068
+ * messages, and the last text showed "Connection closed before receipt" though the contact had it (agents#1640).
1069
+ */
1070
+ var ONE_SHOT_RECEIPT_MS = 2e3;
1071
+ /**
1072
+ * Waits until the contact confirmed my reaction or pin in a 1:1 chat (WISP 401): until `pending` no longer finds it in
1073
+ * what the contact has not confirmed (`chatUnconfirmed`). It goes on the live session, a reaction also on the DHT
1074
+ * envelopes; one not confirmed in time is kept and said again.
1075
+ */
1076
+ async function waitForConfirmed(ctx, chat, what, pending, ms) {
1077
+ const until = Date.now() + ms;
1078
+ while (pending(node(ctx).chatUnconfirmed({ linkId: chat }))) {
1079
+ if (Date.now() >= until) throw new CliError("timeout", `Timed out after ${Math.round(ms / 1e3)} s: the contact has not confirmed the ${what} yet. It is kept here and ${goesOn(ctx)}`, { chat });
1080
+ await new Promise((resolve) => setTimeout(resolve, 250));
1081
+ }
1082
+ }
1083
+ /**
1084
+ * Waits until a message of mine reached `target` (`sent`: on its way to the contact; `delivered`: acknowledged). A
1085
+ * one-shot's text sent over the live link waits a moment more for its receipt (`ONE_SHOT_RECEIPT_MS`).
1086
+ */
1087
+ async function waitForMessage(ctx, chat, messageId, target, ms) {
1088
+ const reached = await waitForDelivery(ctx, chat, messageId, target, ms);
1089
+ if (ctx.mode !== "one-shot" || target !== "sent" || reached.delivery !== "sent" || reached.via !== "datalink") return reached;
1090
+ return waitForDelivery(ctx, chat, messageId, "delivered", ONE_SHOT_RECEIPT_MS).catch(async () => await node(ctx).getMessage(chat, messageId) ?? reached);
1091
+ }
1092
+ async function waitForDelivery(ctx, chat, messageId, target, ms) {
1093
+ const want = DELIVERY_RANK[target];
1094
+ const look = (message) => {
1095
+ if (!message) return void 0;
1096
+ const delivery = message.delivery ?? "sent";
1097
+ if (delivery === "failed") throw new CliError("engine", message.deliveryError ?? "The message could not be sent", {
1098
+ messageId,
1099
+ delivery
1100
+ });
1101
+ return (DELIVERY_RANK[delivery] ?? 0) >= want ? message : void 0;
1102
+ };
1103
+ return new Promise((resolve, reject) => {
1104
+ let settled = false;
1105
+ const finish = (error, message) => {
1106
+ if (settled) return;
1107
+ settled = true;
1108
+ clearTimeout(timer);
1109
+ off();
1110
+ if (error) reject(error);
1111
+ else resolve(message);
1112
+ };
1113
+ const check = (last = false) => void node(ctx).getMessage(chat, messageId).then((message) => {
1114
+ try {
1115
+ const done = look(message);
1116
+ if (done) finish(null, done);
1117
+ else if (last) finish(new CliError("timeout", `Timed out after ${Math.round(ms / 1e3)} s: the message is ${message?.delivery ?? "not sent yet"} and ${goesOn(ctx)}`, {
1118
+ messageId,
1119
+ delivery: message?.delivery ?? null
1120
+ }));
1121
+ } catch (error) {
1122
+ finish(error);
1123
+ }
1124
+ }, finish);
1125
+ const timer = setTimeout(() => check(true), ms);
1126
+ const off = ctx.hub.onEvent((event) => {
1127
+ if (event.chat === chat && (event.messageId === messageId || event.message?.id === messageId)) check();
1128
+ });
1129
+ check();
1130
+ });
1131
+ }
1132
+ //#endregion
1133
+ //#region src/buttons.ts
1134
+ /**
1135
+ * `--button id:Label` (again for each, 1 to 6), `--style id=primary|neutral|danger`, `--once` and `--id`, as the
1136
+ * method's parameters: `buttons` and `buttonsId`. Nothing when no `--button` is given. The label may hold colons: the
1137
+ * id ends at the first one. An id given twice, two labels that read the same (ignoring case and spaces at the ends), a
1138
+ * label that is another button's id, or a style not listed are a usage error here, before the profile opens; other
1139
+ * bounds (ids, labels, how many) are the card's, checked when it is sent.
1140
+ */
1141
+ function buttonsOf(options) {
1142
+ const given = Array.isArray(options.button) ? options.button : [];
1143
+ if (!given.length) {
1144
+ for (const flag of [
1145
+ "style",
1146
+ "once",
1147
+ "id"
1148
+ ]) if (options[flag] !== void 0) throw new CliError("usage", `--${flag} goes with --button id:Label`);
1149
+ return;
1150
+ }
1151
+ const buttons = given.map((value) => {
1152
+ const colon = value.indexOf(":");
1153
+ if (colon < 1 || colon === value.length - 1) throw new CliError("usage", `--button takes id:Label, like yes:Yes, not ${JSON.stringify(value)}`);
1154
+ return {
1155
+ id: value.slice(0, colon),
1156
+ label: value.slice(colon + 1).trim()
1157
+ };
1158
+ });
1159
+ const twice = buttons.findIndex((button, at) => buttons.findIndex((other) => other.id === button.id) !== at);
1160
+ if (twice !== -1) throw new CliError("usage", `--button ${JSON.stringify(given[twice])} repeats the id ${JSON.stringify(buttons[twice].id)}: each button takes its own`);
1161
+ const clash = buttonLabelClash(buttons);
1162
+ if (clash) {
1163
+ const [at, other] = [JSON.stringify(given[clash.at]), JSON.stringify(given[clash.with])];
1164
+ throw new CliError("usage", clash.kind === "label" ? `--button ${at} repeats the label of --button ${other} (ignoring case and spaces): a typed answer could not tell them apart` : `--button ${at} has a label that is the id of --button ${other}: a typed answer could not tell them apart`);
1165
+ }
1166
+ for (const value of Array.isArray(options.style) ? options.style : []) {
1167
+ const eq = value.indexOf("=");
1168
+ const button = eq > 0 ? buttons.find((b) => b.id === value.slice(0, eq)) : void 0;
1169
+ if (!button) throw new CliError("usage", `--style takes id=primary|neutral|danger for one of the buttons, not ${JSON.stringify(value)}`);
1170
+ const style = value.slice(eq + 1);
1171
+ if (!BUTTON_STYLES.includes(style)) throw new CliError("usage", `--style ${JSON.stringify(value)}: a button's style is ${BUTTON_STYLES.join(", ")}`);
1172
+ button.style = style;
1173
+ }
1174
+ if (options.once === true) for (const button of buttons) button.once = true;
1175
+ return {
1176
+ buttons,
1177
+ ...options.id !== void 0 && { buttonsId: String(options.id) }
1178
+ };
1179
+ }
1180
+ /** A buttons card checked by the sender's rule, or a `bad_request` that says what is wrong. */
1181
+ function checked(card) {
1182
+ const result = checkStatusCard(card);
1183
+ if ("error" in result) throw new CliError("bad_request", `Buttons: ${result.error}`, { card });
1184
+ return result.card;
1185
+ }
1186
+ /**
1187
+ * The card a send's `buttons` (and `buttonsId`) make, or undefined when it names none. `buttons` is a list of
1188
+ * `{id, label, style?, once?}`; the id of the question is made up (`ask-…`) unless given.
1189
+ */
1190
+ function buttonsCard(params) {
1191
+ const buttons = params.buttons;
1192
+ if (buttons === void 0 || buttons === null) {
1193
+ if (params.buttonsId !== void 0) throw new CliError("bad_request", "buttonsId goes with buttons");
1194
+ return;
1195
+ }
1196
+ if (!Array.isArray(buttons)) throw new CliError("bad_request", "buttons must be a list of {id, label, style?, once?}");
1197
+ return checked({
1198
+ kind: "buttons",
1199
+ id: str(params, "buttonsId") ?? `ask-${toBase64Url(randomBytes(6))}`,
1200
+ buttons
1201
+ });
1202
+ }
1203
+ /** Whether a 1:1 contact's app shows and presses buttons: null until its app said what it offers. */
1204
+ function pressable(link) {
1205
+ const peer = link.sessionOffers?.peer;
1206
+ return peer ? peer.includes(BUTTONS_CAPABILITY) : null;
1207
+ }
1208
+ /** The message of mine with buttons that `button update` names, by its id here (or the id both sides know). */
1209
+ function buttonsMessage(message, ref, group) {
1210
+ if (!message) throw new CliError("not_found", `No message ${JSON.stringify(ref)} of yours in this ${group ? "group" : "chat"}: the messageId send gave`);
1211
+ if (message.card?.kind !== "buttons") throw new CliError("bad_request", "That message has no buttons: send one with send --button id:Label");
1212
+ return message;
1213
+ }
1214
+ /**
1215
+ * `button update`: the answer shown on a question's buttons (`chosen`), the buttons closed (`close`), or a new text
1216
+ * (`text`), by editing the message with the same buttons. What is not given stays as it was.
1217
+ */
1218
+ async function updateButtons(ctx, params) {
1219
+ const target = chatOrGroup(ctx, str(params, "chat", true));
1220
+ const ref = str(params, "message", true);
1221
+ const chosen = str(params, "chosen");
1222
+ const close = bool(params, "close");
1223
+ const newText = str(params, "text");
1224
+ if (chosen === void 0 && !close && newText === void 0) throw new CliError("bad_request", "Nothing to update: give chosen, close or text");
1225
+ if (newText !== void 0 && !bool(params, "force")) {
1226
+ const secret = findSecret(newText);
1227
+ if (secret) throw new CliError("confirm", `The text looks like ${secret.kind === "cashu" ? "a Cashu token (money anyone who reads it can take)" : "a secret (a seed or a private key)"}; update with --force if you mean to`, { kind: secret.kind });
1228
+ }
1229
+ const message = buttonsMessage(await messageOf(ctx, target.linkId, ref, (m) => m.sender === "me"), ref, target.group);
1230
+ if ((message.edit?.seq ?? 0) >= STATUS_CARD_LIMITS.edits) throw new CliError("refused", `This message took ${STATUS_CARD_LIMITS.edits} updates, the most one takes: ask again with a new send`, {
1231
+ messageId: message.id,
1232
+ edits: message.edit.seq
1233
+ });
1234
+ const before = message.card;
1235
+ if (chosen !== void 0 && !before.buttons.some((b) => b.id === chosen)) throw new CliError("bad_request", `That message has no button ${JSON.stringify(chosen)}; its buttons: ${before.buttons.map((b) => b.id).join(", ")}`, { card: before });
1236
+ const card = checked({
1237
+ ...before,
1238
+ ...chosen !== void 0 && { chosen },
1239
+ ...(close || before.closed) && { closed: true }
1240
+ });
1241
+ const text = newText ?? message.text;
1242
+ const wait = oneOf(params, "wait", target.group ? ["none", "sent"] : ["none", "confirmed"], "none");
1243
+ const ms = num(params, "timeout", 30, {
1244
+ min: 1,
1245
+ max: 3600
1246
+ }) * 1e3;
1247
+ const result = await node(ctx).editMessage({
1248
+ linkId: target.linkId,
1249
+ messageId: message.id,
1250
+ text,
1251
+ card
1252
+ });
1253
+ if (result.error) throw new CliError(result.refused ? "refused" : "unavailable", result.error);
1254
+ let edited = await node(ctx).getMessage(target.linkId, message.id);
1255
+ if (wait === "confirmed" && edited?.edit?.pending) edited = await waitForEdit(ctx, target.linkId, message.id, ms);
1256
+ const edges = wait === "sent" && edited?.edit ? await waitForGroupFrame(ctx, target.id, message.id, edited.edit.seq, ms) : void 0;
1257
+ return {
1258
+ [target.group ? "group" : "chat"]: target.id,
1259
+ buttons: card.id,
1260
+ messageId: message.id,
1261
+ card,
1262
+ edits: edited?.edit?.seq ?? 0,
1263
+ ...target.group ? { ...edges !== void 0 && { edges } } : { confirmed: !!edited && !edited.edit?.pending }
1264
+ };
1265
+ }
1266
+ /**
1267
+ * `button press`: the other side of a question, as the app's tap: a press on a button of someone else's message, by
1268
+ * its id here (or the id both sides know). The engine sends a reply whose text is the button's label, and refuses what
1269
+ * an app would: a button the message does not have, closed buttons, a second answer past `once`, a second press
1270
+ * within a second. A one-shot in a chat waits until the press went out, as `send` does.
1271
+ */
1272
+ async function pressButton(ctx, params) {
1273
+ const target = chatOrGroup(ctx, str(params, "chat", true));
1274
+ const ref = str(params, "message", true);
1275
+ const buttonId = str(params, "button", true);
1276
+ const where = target.group ? "group" : "chat";
1277
+ const message = await messageOf(ctx, target.linkId, ref, (m) => m.sender !== "me");
1278
+ if (!message) throw new CliError("not_found", `No message ${JSON.stringify(ref)} from someone else in this ${where}: the id its event or history gave`);
1279
+ if (message.card?.kind !== "buttons") throw new CliError("bad_request", "That message has no buttons");
1280
+ const button = message.card.buttons.find((b) => b.id === buttonId);
1281
+ if (!button) throw new CliError("not_found", `That message has no button ${JSON.stringify(buttonId)}; its buttons: ${message.card.buttons.map((b) => b.id).join(", ")}`);
1282
+ const wait = target.group ? oneOf(params, "wait", ["none", "sent"], "none") : oneOf(params, "wait", [
1283
+ "none",
1284
+ "sent",
1285
+ "delivered"
1286
+ ], ctx.mode === "one-shot" ? "sent" : "none");
1287
+ const ms = num(params, "timeout", 30, {
1288
+ min: 1,
1289
+ max: 3600
1290
+ }) * 1e3;
1291
+ const result = await node(ctx).pressButton({
1292
+ linkId: target.linkId,
1293
+ messageId: message.id,
1294
+ buttonId
1295
+ });
1296
+ if (result.error) throw new CliError(result.refused ? "refused" : "unavailable", result.error, result.paced ? { paced: true } : void 0);
1297
+ const replyId = result.messageId ?? null;
1298
+ const answer = {
1299
+ [where]: target.id,
1300
+ messageId: message.id,
1301
+ button: button.id,
1302
+ label: button.label,
1303
+ replyId
1304
+ };
1305
+ if (!replyId) return answer;
1306
+ if (target.group) {
1307
+ const edges = wait === "sent" ? await waitForGroupFrame(ctx, target.id, replyId, void 0, ms) : node(ctx).groupTaken({
1308
+ groupId: target.id,
1309
+ messageId: replyId
1310
+ });
1311
+ return {
1312
+ ...answer,
1313
+ edges
1314
+ };
1315
+ }
1316
+ const reply = wait === "none" ? await node(ctx).getMessage(target.linkId, replyId) : await waitForMessage(ctx, target.linkId, replyId, wait, ms);
1317
+ return {
1318
+ ...answer,
1319
+ delivery: reply?.delivery ?? null
1320
+ };
1321
+ }
1322
+ var BUTTON_METHODS = {
1323
+ /** WISP 406 · Message Buttons: a press on a button of someone else's message, as the app's tap. */
1324
+ "button.press": pressButton,
1325
+ /** WISP 406 · Message Buttons: the answer chosen on a question of mine, its buttons closed, or its text changed. */
1326
+ "button.update": updateButtons
1327
+ };
1328
+ //#endregion
1329
+ export { waitForConfirmed as a, waitForMessage as c, pressable as i, waitForRemoval as l, buttonsCard as n, waitForEdit as o, buttonsOf as r, waitForGroupFrame as s, BUTTON_METHODS as t, findSecret as u };
1330
+
1331
+ //# sourceMappingURL=buttons-CuRfKnPI.js.map