@jean-is/render 0.8.0-rba68a676ffad → 0.8.0-rc54808d36368

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 (1877) hide show
  1. package/brand.js +4 -2
  2. package/caps/charts/charts.css +5 -2
  3. package/caps/charts/charts.js +58 -28
  4. package/caps/charts/option.js +28 -1
  5. package/caps/files/midi.js +1 -1
  6. package/caps/files/office.js +20 -13
  7. package/caps/files/pdf.js +3 -0
  8. package/caps/games/file.js +56 -0
  9. package/caps/games/frame.css +22 -0
  10. package/caps/games/guard.js +86 -0
  11. package/caps/games/page.js +52 -0
  12. package/caps/games/shell.js +260 -0
  13. package/caps/interactive/apps.js +23 -11
  14. package/caps/interactive/diagram.js +96 -22
  15. package/caps/interactive/interactive.css +25 -6
  16. package/caps/interactive/interactive.js +71 -19
  17. package/caps/interactive/live.js +96 -0
  18. package/caps/interactive/map.js +22 -2
  19. package/caps/interactive/mode.js +9 -6
  20. package/caps/interactive/page-diagram.js +6 -2
  21. package/caps/interactive/parts.js +124 -0
  22. package/caps/interactive/starts.js +15 -0
  23. package/caps/interactive/test.js +76 -0
  24. package/caps/interactive/view-parts.js +209 -0
  25. package/caps/layouts/layouts.css +12 -12
  26. package/caps/layouts/layouts.js +34 -27
  27. package/caps/layouts/shapes.js +27 -13
  28. package/caps/made/formats.js +84 -46
  29. package/caps/made/paper.js +142 -0
  30. package/caps/math/math.js +2 -2
  31. package/caps/scores/scores.css +10 -4
  32. package/caps/scores/scores.js +99 -51
  33. package/caps/share/view.js +1 -1
  34. package/caps/skills/directory.js +8 -3
  35. package/caps/skills/sources.js +4 -2
  36. package/caps/slides/edit.js +14 -4
  37. package/caps/slides/kit-page.css +8 -2
  38. package/caps/slides/kit-page.js +47 -38
  39. package/caps/slides/kit-sample.js +36 -0
  40. package/caps/slides/kit-slot.js +10 -0
  41. package/caps/slides/kit.js +3 -0
  42. package/caps/slides/save.js +24 -58
  43. package/caps/slides/slides.css +9 -9
  44. package/caps/slides/slides.js +25 -25
  45. package/caps/tables/formula.js +133 -0
  46. package/core/conversations.js +151 -0
  47. package/core/deferred.js +38 -17
  48. package/core/events.js +5 -5
  49. package/core/files.js +9 -3
  50. package/core/fs.js +4 -12
  51. package/core/hooks.js +2 -2
  52. package/core/i18n.js +4 -4
  53. package/core/llm.js +35 -46
  54. package/core/loop.js +19 -17
  55. package/core/oauth.js +31 -0
  56. package/core/search.js +1 -1
  57. package/core/settings.js +13 -13
  58. package/core/skills.js +3 -3
  59. package/core/vertex.js +37 -0
  60. package/locales/am.json +23 -7
  61. package/locales/approvals/am.json +2 -1
  62. package/locales/approvals/ar.json +2 -1
  63. package/locales/approvals/bg.json +2 -1
  64. package/locales/approvals/bn.json +2 -1
  65. package/locales/approvals/br.json +8 -7
  66. package/locales/approvals/co.json +19 -18
  67. package/locales/approvals/cs.json +2 -1
  68. package/locales/approvals/da.json +2 -1
  69. package/locales/approvals/de.json +7 -6
  70. package/locales/approvals/el.json +2 -1
  71. package/locales/approvals/en.json +4 -3
  72. package/locales/approvals/es.json +8 -7
  73. package/locales/approvals/fa.json +2 -1
  74. package/locales/approvals/fi.json +2 -1
  75. package/locales/approvals/fr-CA.json +6 -5
  76. package/locales/approvals/fr.json +6 -5
  77. package/locales/approvals/ha.json +2 -1
  78. package/locales/approvals/he.json +2 -1
  79. package/locales/approvals/hi.json +2 -1
  80. package/locales/approvals/hr.json +2 -1
  81. package/locales/approvals/hu.json +2 -1
  82. package/locales/approvals/id.json +2 -1
  83. package/locales/approvals/it.json +11 -10
  84. package/locales/approvals/ja.json +9 -8
  85. package/locales/approvals/ko.json +21 -20
  86. package/locales/approvals/mr.json +2 -1
  87. package/locales/approvals/ms.json +2 -1
  88. package/locales/approvals/nl.json +2 -1
  89. package/locales/approvals/pl.json +2 -1
  90. package/locales/approvals/pt.json +7 -6
  91. package/locales/approvals/ro.json +2 -1
  92. package/locales/approvals/ru.json +2 -1
  93. package/locales/approvals/sk.json +2 -1
  94. package/locales/approvals/sv.json +2 -1
  95. package/locales/approvals/sw.json +2 -1
  96. package/locales/approvals/ta.json +2 -1
  97. package/locales/approvals/te.json +2 -1
  98. package/locales/approvals/th.json +2 -1
  99. package/locales/approvals/tl.json +2 -1
  100. package/locales/approvals/tr.json +2 -1
  101. package/locales/approvals/uk.json +2 -1
  102. package/locales/approvals/ur.json +2 -1
  103. package/locales/approvals/vi.json +2 -1
  104. package/locales/approvals/yo.json +2 -1
  105. package/locales/approvals/zh-Hans.json +6 -5
  106. package/locales/approvals/zh-Hant.json +5 -4
  107. package/locales/ar.json +27 -7
  108. package/locales/backup/de.json +1 -1
  109. package/locales/backup/ko.json +1 -1
  110. package/locales/backup/pt.json +1 -1
  111. package/locales/backup/zh-Hans.json +1 -1
  112. package/locales/bg.json +23 -7
  113. package/locales/bn.json +22 -6
  114. package/locales/br.json +47 -28
  115. package/locales/brain-local/ja.json +1 -1
  116. package/locales/brain-local/pt.json +3 -3
  117. package/locales/brain-local/zh-Hans.json +1 -1
  118. package/locales/brain-local/zh-Hant.json +3 -3
  119. package/locales/brains/am.json +6 -3
  120. package/locales/brains/ar.json +6 -3
  121. package/locales/brains/bg.json +6 -3
  122. package/locales/brains/bn.json +6 -3
  123. package/locales/brains/br.json +15 -12
  124. package/locales/brains/co.json +17 -14
  125. package/locales/brains/cs.json +6 -3
  126. package/locales/brains/da.json +6 -3
  127. package/locales/brains/de.json +12 -9
  128. package/locales/brains/el.json +6 -3
  129. package/locales/brains/en.json +11 -8
  130. package/locales/brains/es.json +19 -16
  131. package/locales/brains/fa.json +6 -3
  132. package/locales/brains/fi.json +6 -3
  133. package/locales/brains/fr-CA.json +13 -10
  134. package/locales/brains/fr.json +13 -10
  135. package/locales/brains/ha.json +6 -3
  136. package/locales/brains/he.json +6 -3
  137. package/locales/brains/hi.json +6 -3
  138. package/locales/brains/hr.json +6 -3
  139. package/locales/brains/hu.json +6 -3
  140. package/locales/brains/id.json +6 -3
  141. package/locales/brains/it.json +13 -10
  142. package/locales/brains/ja.json +14 -11
  143. package/locales/brains/ko.json +15 -12
  144. package/locales/brains/mr.json +6 -3
  145. package/locales/brains/ms.json +6 -3
  146. package/locales/brains/nl.json +6 -3
  147. package/locales/brains/pl.json +6 -3
  148. package/locales/brains/pt.json +15 -12
  149. package/locales/brains/ro.json +6 -3
  150. package/locales/brains/ru.json +6 -3
  151. package/locales/brains/sk.json +6 -3
  152. package/locales/brains/sv.json +6 -3
  153. package/locales/brains/sw.json +6 -3
  154. package/locales/brains/ta.json +6 -3
  155. package/locales/brains/te.json +6 -3
  156. package/locales/brains/th.json +6 -3
  157. package/locales/brains/tl.json +6 -3
  158. package/locales/brains/tr.json +6 -3
  159. package/locales/brains/uk.json +6 -3
  160. package/locales/brains/ur.json +6 -3
  161. package/locales/brains/vi.json +6 -3
  162. package/locales/brains/yo.json +6 -3
  163. package/locales/brains/zh-Hans.json +12 -9
  164. package/locales/brains/zh-Hant.json +19 -16
  165. package/locales/browser/co.json +2 -2
  166. package/locales/browser/es.json +1 -1
  167. package/locales/browser/it.json +1 -1
  168. package/locales/browser/ja.json +2 -2
  169. package/locales/browser/ko.json +6 -6
  170. package/locales/browser/pt.json +2 -2
  171. package/locales/camera/am.json +20 -0
  172. package/locales/camera/ar.json +20 -0
  173. package/locales/camera/bg.json +20 -0
  174. package/locales/camera/bn.json +20 -0
  175. package/locales/camera/br.json +20 -0
  176. package/locales/camera/co.json +20 -0
  177. package/locales/camera/cs.json +20 -0
  178. package/locales/camera/da.json +20 -0
  179. package/locales/camera/de.json +20 -0
  180. package/locales/camera/el.json +20 -0
  181. package/locales/camera/en.json +20 -0
  182. package/locales/camera/es.json +20 -0
  183. package/locales/camera/fa.json +20 -0
  184. package/locales/camera/fi.json +20 -0
  185. package/locales/camera/fr-CA.json +20 -0
  186. package/locales/camera/fr.json +20 -0
  187. package/locales/camera/ha.json +20 -0
  188. package/locales/camera/he.json +20 -0
  189. package/locales/camera/hi.json +20 -0
  190. package/locales/camera/hr.json +20 -0
  191. package/locales/camera/hu.json +20 -0
  192. package/locales/camera/id.json +20 -0
  193. package/locales/camera/it.json +20 -0
  194. package/locales/camera/ja.json +20 -0
  195. package/locales/camera/ko.json +20 -0
  196. package/locales/camera/mr.json +20 -0
  197. package/locales/camera/ms.json +20 -0
  198. package/locales/camera/nl.json +20 -0
  199. package/locales/camera/pl.json +20 -0
  200. package/locales/camera/pt.json +20 -0
  201. package/locales/camera/ro.json +20 -0
  202. package/locales/camera/ru.json +20 -0
  203. package/locales/camera/sk.json +20 -0
  204. package/locales/camera/sv.json +20 -0
  205. package/locales/camera/sw.json +20 -0
  206. package/locales/camera/ta.json +20 -0
  207. package/locales/camera/te.json +20 -0
  208. package/locales/camera/th.json +20 -0
  209. package/locales/camera/tl.json +20 -0
  210. package/locales/camera/tr.json +20 -0
  211. package/locales/camera/uk.json +20 -0
  212. package/locales/camera/ur.json +20 -0
  213. package/locales/camera/vi.json +20 -0
  214. package/locales/camera/yo.json +20 -0
  215. package/locales/camera/zh-Hans.json +20 -0
  216. package/locales/camera/zh-Hant.json +20 -0
  217. package/locales/case/br.json +1 -1
  218. package/locales/case/co.json +5 -5
  219. package/locales/case/de.json +1 -1
  220. package/locales/case/es.json +1 -1
  221. package/locales/case/it.json +2 -2
  222. package/locales/case/ja.json +6 -6
  223. package/locales/case/ko.json +1 -1
  224. package/locales/case/pt.json +6 -6
  225. package/locales/case/zh-Hant.json +1 -1
  226. package/locales/certificates/co.json +7 -7
  227. package/locales/certificates/es.json +2 -2
  228. package/locales/certificates/fr-CA.json +7 -7
  229. package/locales/certificates/fr.json +7 -7
  230. package/locales/certificates/it.json +3 -3
  231. package/locales/certificates/ja.json +2 -2
  232. package/locales/certificates/ko.json +1 -1
  233. package/locales/certificates/pt.json +2 -2
  234. package/locales/certificates/zh-Hans.json +5 -5
  235. package/locales/certificates/zh-Hant.json +6 -6
  236. package/locales/charts/am.json +2 -0
  237. package/locales/charts/ar.json +2 -0
  238. package/locales/charts/bg.json +2 -0
  239. package/locales/charts/bn.json +2 -0
  240. package/locales/charts/br.json +2 -0
  241. package/locales/charts/co.json +2 -0
  242. package/locales/charts/cs.json +2 -0
  243. package/locales/charts/da.json +2 -0
  244. package/locales/charts/de.json +3 -1
  245. package/locales/charts/el.json +2 -0
  246. package/locales/charts/en.json +2 -0
  247. package/locales/charts/es.json +2 -0
  248. package/locales/charts/fa.json +2 -0
  249. package/locales/charts/fi.json +2 -0
  250. package/locales/charts/fr-CA.json +2 -0
  251. package/locales/charts/fr.json +2 -0
  252. package/locales/charts/ha.json +2 -0
  253. package/locales/charts/he.json +2 -0
  254. package/locales/charts/hi.json +2 -0
  255. package/locales/charts/hr.json +2 -0
  256. package/locales/charts/hu.json +2 -0
  257. package/locales/charts/id.json +2 -0
  258. package/locales/charts/it.json +2 -0
  259. package/locales/charts/ja.json +2 -0
  260. package/locales/charts/ko.json +3 -1
  261. package/locales/charts/mr.json +2 -0
  262. package/locales/charts/ms.json +2 -0
  263. package/locales/charts/nl.json +2 -0
  264. package/locales/charts/pl.json +2 -0
  265. package/locales/charts/pt.json +2 -0
  266. package/locales/charts/ro.json +2 -0
  267. package/locales/charts/ru.json +2 -0
  268. package/locales/charts/sk.json +2 -0
  269. package/locales/charts/sv.json +2 -0
  270. package/locales/charts/sw.json +2 -0
  271. package/locales/charts/ta.json +2 -0
  272. package/locales/charts/te.json +2 -0
  273. package/locales/charts/th.json +2 -0
  274. package/locales/charts/tl.json +2 -0
  275. package/locales/charts/tr.json +2 -0
  276. package/locales/charts/uk.json +2 -0
  277. package/locales/charts/ur.json +2 -0
  278. package/locales/charts/vi.json +2 -0
  279. package/locales/charts/yo.json +2 -0
  280. package/locales/charts/zh-Hans.json +2 -0
  281. package/locales/charts/zh-Hant.json +2 -0
  282. package/locales/co.json +37 -20
  283. package/locales/compact/es.json +1 -1
  284. package/locales/compact/fr-CA.json +1 -1
  285. package/locales/compact/fr.json +1 -1
  286. package/locales/compact/it.json +1 -1
  287. package/locales/compact/pt.json +2 -2
  288. package/locales/computer/br.json +8 -8
  289. package/locales/computer/co.json +14 -14
  290. package/locales/computer/de.json +4 -4
  291. package/locales/computer/en.json +6 -6
  292. package/locales/computer/es.json +10 -10
  293. package/locales/computer/fr-CA.json +6 -6
  294. package/locales/computer/fr.json +6 -6
  295. package/locales/computer/it.json +9 -9
  296. package/locales/computer/ja.json +8 -8
  297. package/locales/computer/ko.json +14 -14
  298. package/locales/computer/pt.json +10 -10
  299. package/locales/computer/zh-Hans.json +8 -8
  300. package/locales/computer/zh-Hant.json +9 -9
  301. package/locales/connections/am.json +2 -0
  302. package/locales/connections/ar.json +2 -0
  303. package/locales/connections/bg.json +2 -0
  304. package/locales/connections/bn.json +2 -0
  305. package/locales/connections/br.json +5 -3
  306. package/locales/connections/co.json +17 -15
  307. package/locales/connections/cs.json +2 -0
  308. package/locales/connections/da.json +2 -0
  309. package/locales/connections/de.json +3 -1
  310. package/locales/connections/el.json +2 -0
  311. package/locales/connections/en.json +4 -2
  312. package/locales/connections/es.json +6 -4
  313. package/locales/connections/fa.json +2 -0
  314. package/locales/connections/fi.json +2 -0
  315. package/locales/connections/fr-CA.json +4 -2
  316. package/locales/connections/fr.json +4 -2
  317. package/locales/connections/ha.json +2 -0
  318. package/locales/connections/he.json +2 -0
  319. package/locales/connections/hi.json +2 -0
  320. package/locales/connections/hr.json +2 -0
  321. package/locales/connections/hu.json +2 -0
  322. package/locales/connections/id.json +2 -0
  323. package/locales/connections/it.json +12 -10
  324. package/locales/connections/ja.json +28 -26
  325. package/locales/connections/ko.json +5 -3
  326. package/locales/connections/mr.json +2 -0
  327. package/locales/connections/ms.json +2 -0
  328. package/locales/connections/nl.json +2 -0
  329. package/locales/connections/pl.json +2 -0
  330. package/locales/connections/pt.json +9 -7
  331. package/locales/connections/ro.json +2 -0
  332. package/locales/connections/ru.json +2 -0
  333. package/locales/connections/sk.json +2 -0
  334. package/locales/connections/sv.json +2 -0
  335. package/locales/connections/sw.json +2 -0
  336. package/locales/connections/ta.json +2 -0
  337. package/locales/connections/te.json +2 -0
  338. package/locales/connections/th.json +2 -0
  339. package/locales/connections/tl.json +2 -0
  340. package/locales/connections/tr.json +2 -0
  341. package/locales/connections/uk.json +2 -0
  342. package/locales/connections/ur.json +2 -0
  343. package/locales/connections/vi.json +2 -0
  344. package/locales/connections/yo.json +2 -0
  345. package/locales/connections/zh-Hans.json +10 -8
  346. package/locales/connections/zh-Hant.json +22 -20
  347. package/locales/creations/am.json +4 -0
  348. package/locales/creations/ar.json +4 -0
  349. package/locales/creations/bg.json +4 -0
  350. package/locales/creations/bn.json +4 -0
  351. package/locales/creations/br.json +17 -13
  352. package/locales/creations/co.json +14 -10
  353. package/locales/creations/cs.json +4 -0
  354. package/locales/creations/da.json +4 -0
  355. package/locales/creations/de.json +5 -1
  356. package/locales/creations/el.json +4 -0
  357. package/locales/creations/en.json +5 -1
  358. package/locales/creations/es.json +13 -9
  359. package/locales/creations/fa.json +4 -0
  360. package/locales/creations/fi.json +4 -0
  361. package/locales/creations/fr-CA.json +5 -1
  362. package/locales/creations/fr.json +12 -8
  363. package/locales/creations/ha.json +4 -0
  364. package/locales/creations/he.json +4 -0
  365. package/locales/creations/hi.json +4 -0
  366. package/locales/creations/hr.json +4 -0
  367. package/locales/creations/hu.json +4 -0
  368. package/locales/creations/id.json +4 -0
  369. package/locales/creations/it.json +12 -8
  370. package/locales/creations/ja.json +5 -1
  371. package/locales/creations/ko.json +5 -1
  372. package/locales/creations/mr.json +4 -0
  373. package/locales/creations/ms.json +4 -0
  374. package/locales/creations/nl.json +4 -0
  375. package/locales/creations/pl.json +4 -0
  376. package/locales/creations/pt.json +12 -8
  377. package/locales/creations/ro.json +4 -0
  378. package/locales/creations/ru.json +4 -0
  379. package/locales/creations/sk.json +4 -0
  380. package/locales/creations/sv.json +4 -0
  381. package/locales/creations/sw.json +4 -0
  382. package/locales/creations/ta.json +4 -0
  383. package/locales/creations/te.json +4 -0
  384. package/locales/creations/th.json +4 -0
  385. package/locales/creations/tl.json +4 -0
  386. package/locales/creations/tr.json +4 -0
  387. package/locales/creations/uk.json +4 -0
  388. package/locales/creations/ur.json +4 -0
  389. package/locales/creations/vi.json +4 -0
  390. package/locales/creations/yo.json +4 -0
  391. package/locales/creations/zh-Hans.json +5 -1
  392. package/locales/creations/zh-Hant.json +5 -1
  393. package/locales/cs.json +25 -7
  394. package/locales/da.json +22 -6
  395. package/locales/data/br.json +2 -2
  396. package/locales/data/co.json +3 -3
  397. package/locales/data/es.json +4 -4
  398. package/locales/data/it.json +1 -1
  399. package/locales/data/ja.json +9 -9
  400. package/locales/data/ko.json +2 -2
  401. package/locales/data/pt.json +6 -6
  402. package/locales/data/zh-Hans.json +2 -2
  403. package/locales/data/zh-Hant.json +4 -4
  404. package/locales/de.json +39 -23
  405. package/locales/designs/am.json +0 -14
  406. package/locales/designs/ar.json +0 -14
  407. package/locales/designs/bg.json +0 -14
  408. package/locales/designs/bn.json +0 -14
  409. package/locales/designs/br.json +9 -23
  410. package/locales/designs/co.json +8 -22
  411. package/locales/designs/cs.json +0 -14
  412. package/locales/designs/da.json +0 -14
  413. package/locales/designs/de.json +1 -15
  414. package/locales/designs/el.json +0 -14
  415. package/locales/designs/en.json +3 -17
  416. package/locales/designs/es.json +0 -14
  417. package/locales/designs/fa.json +0 -14
  418. package/locales/designs/fi.json +0 -14
  419. package/locales/designs/fr-CA.json +4 -18
  420. package/locales/designs/fr.json +5 -19
  421. package/locales/designs/ha.json +0 -14
  422. package/locales/designs/he.json +0 -14
  423. package/locales/designs/hi.json +0 -14
  424. package/locales/designs/hr.json +0 -14
  425. package/locales/designs/hu.json +0 -14
  426. package/locales/designs/id.json +0 -14
  427. package/locales/designs/it.json +6 -20
  428. package/locales/designs/ja.json +10 -24
  429. package/locales/designs/ko.json +6 -20
  430. package/locales/designs/mr.json +0 -14
  431. package/locales/designs/ms.json +0 -14
  432. package/locales/designs/nl.json +0 -14
  433. package/locales/designs/pl.json +0 -14
  434. package/locales/designs/pt.json +3 -17
  435. package/locales/designs/ro.json +0 -14
  436. package/locales/designs/ru.json +0 -14
  437. package/locales/designs/sk.json +0 -14
  438. package/locales/designs/sv.json +0 -14
  439. package/locales/designs/sw.json +0 -14
  440. package/locales/designs/ta.json +0 -14
  441. package/locales/designs/te.json +0 -14
  442. package/locales/designs/th.json +0 -14
  443. package/locales/designs/tl.json +0 -14
  444. package/locales/designs/tr.json +0 -14
  445. package/locales/designs/uk.json +0 -14
  446. package/locales/designs/ur.json +0 -14
  447. package/locales/designs/vi.json +0 -14
  448. package/locales/designs/yo.json +0 -14
  449. package/locales/designs/zh-Hans.json +1 -15
  450. package/locales/designs/zh-Hant.json +1 -15
  451. package/locales/dialogs/am.json +9 -0
  452. package/locales/dialogs/ar.json +9 -0
  453. package/locales/dialogs/bg.json +9 -0
  454. package/locales/dialogs/bn.json +9 -0
  455. package/locales/dialogs/br.json +29 -20
  456. package/locales/dialogs/co.json +24 -15
  457. package/locales/dialogs/cs.json +9 -0
  458. package/locales/dialogs/da.json +9 -0
  459. package/locales/dialogs/de.json +21 -12
  460. package/locales/dialogs/el.json +9 -0
  461. package/locales/dialogs/en.json +17 -8
  462. package/locales/dialogs/es.json +32 -23
  463. package/locales/dialogs/fa.json +9 -0
  464. package/locales/dialogs/fi.json +9 -0
  465. package/locales/dialogs/fr-CA.json +23 -14
  466. package/locales/dialogs/fr.json +23 -14
  467. package/locales/dialogs/ha.json +9 -0
  468. package/locales/dialogs/he.json +9 -0
  469. package/locales/dialogs/hi.json +9 -0
  470. package/locales/dialogs/hr.json +9 -0
  471. package/locales/dialogs/hu.json +9 -0
  472. package/locales/dialogs/id.json +9 -0
  473. package/locales/dialogs/it.json +29 -20
  474. package/locales/dialogs/ja.json +66 -57
  475. package/locales/dialogs/ko.json +34 -25
  476. package/locales/dialogs/mr.json +9 -0
  477. package/locales/dialogs/ms.json +9 -0
  478. package/locales/dialogs/nl.json +9 -0
  479. package/locales/dialogs/pl.json +9 -0
  480. package/locales/dialogs/pt.json +34 -25
  481. package/locales/dialogs/ro.json +9 -0
  482. package/locales/dialogs/ru.json +9 -0
  483. package/locales/dialogs/sk.json +9 -0
  484. package/locales/dialogs/sv.json +9 -0
  485. package/locales/dialogs/sw.json +9 -0
  486. package/locales/dialogs/ta.json +9 -0
  487. package/locales/dialogs/te.json +9 -0
  488. package/locales/dialogs/th.json +9 -0
  489. package/locales/dialogs/tl.json +9 -0
  490. package/locales/dialogs/tr.json +9 -0
  491. package/locales/dialogs/uk.json +9 -0
  492. package/locales/dialogs/ur.json +9 -0
  493. package/locales/dialogs/vi.json +9 -0
  494. package/locales/dialogs/yo.json +9 -0
  495. package/locales/dialogs/zh-Hans.json +31 -22
  496. package/locales/dialogs/zh-Hant.json +40 -31
  497. package/locales/documents/am.json +18 -2
  498. package/locales/documents/ar.json +18 -2
  499. package/locales/documents/bg.json +18 -2
  500. package/locales/documents/bn.json +18 -2
  501. package/locales/documents/br.json +18 -2
  502. package/locales/documents/co.json +20 -4
  503. package/locales/documents/cs.json +18 -2
  504. package/locales/documents/da.json +18 -2
  505. package/locales/documents/de.json +20 -4
  506. package/locales/documents/el.json +18 -2
  507. package/locales/documents/en.json +19 -3
  508. package/locales/documents/es.json +19 -3
  509. package/locales/documents/fa.json +18 -2
  510. package/locales/documents/fi.json +18 -2
  511. package/locales/documents/fr-CA.json +19 -3
  512. package/locales/documents/fr.json +19 -3
  513. package/locales/documents/ha.json +18 -2
  514. package/locales/documents/he.json +18 -2
  515. package/locales/documents/hi.json +18 -2
  516. package/locales/documents/hr.json +18 -2
  517. package/locales/documents/hu.json +18 -2
  518. package/locales/documents/id.json +18 -2
  519. package/locales/documents/it.json +19 -3
  520. package/locales/documents/ja.json +32 -16
  521. package/locales/documents/ko.json +19 -3
  522. package/locales/documents/mr.json +18 -2
  523. package/locales/documents/ms.json +18 -2
  524. package/locales/documents/nl.json +18 -2
  525. package/locales/documents/pl.json +18 -2
  526. package/locales/documents/pt.json +21 -5
  527. package/locales/documents/ro.json +18 -2
  528. package/locales/documents/ru.json +18 -2
  529. package/locales/documents/sk.json +18 -2
  530. package/locales/documents/sv.json +18 -2
  531. package/locales/documents/sw.json +18 -2
  532. package/locales/documents/ta.json +18 -2
  533. package/locales/documents/te.json +18 -2
  534. package/locales/documents/th.json +18 -2
  535. package/locales/documents/tl.json +18 -2
  536. package/locales/documents/tr.json +18 -2
  537. package/locales/documents/uk.json +18 -2
  538. package/locales/documents/ur.json +18 -2
  539. package/locales/documents/vi.json +18 -2
  540. package/locales/documents/yo.json +18 -2
  541. package/locales/documents/zh-Hans.json +19 -3
  542. package/locales/documents/zh-Hant.json +19 -3
  543. package/locales/el.json +23 -7
  544. package/locales/en.json +29 -13
  545. package/locales/enterprise/am.json +29 -1
  546. package/locales/enterprise/ar.json +29 -1
  547. package/locales/enterprise/bg.json +29 -1
  548. package/locales/enterprise/bn.json +29 -1
  549. package/locales/enterprise/br.json +31 -3
  550. package/locales/enterprise/co.json +30 -2
  551. package/locales/enterprise/cs.json +29 -1
  552. package/locales/enterprise/da.json +29 -1
  553. package/locales/enterprise/de.json +30 -2
  554. package/locales/enterprise/el.json +29 -1
  555. package/locales/enterprise/en.json +30 -2
  556. package/locales/enterprise/es.json +30 -2
  557. package/locales/enterprise/fa.json +29 -1
  558. package/locales/enterprise/fi.json +29 -1
  559. package/locales/enterprise/fr-CA.json +31 -3
  560. package/locales/enterprise/fr.json +31 -3
  561. package/locales/enterprise/ha.json +29 -1
  562. package/locales/enterprise/he.json +29 -1
  563. package/locales/enterprise/hi.json +29 -1
  564. package/locales/enterprise/hr.json +29 -1
  565. package/locales/enterprise/hu.json +29 -1
  566. package/locales/enterprise/id.json +29 -1
  567. package/locales/enterprise/it.json +31 -3
  568. package/locales/enterprise/ja.json +37 -9
  569. package/locales/enterprise/ko.json +30 -2
  570. package/locales/enterprise/mr.json +29 -1
  571. package/locales/enterprise/ms.json +29 -1
  572. package/locales/enterprise/nl.json +29 -1
  573. package/locales/enterprise/pl.json +29 -1
  574. package/locales/enterprise/pt.json +30 -2
  575. package/locales/enterprise/ro.json +29 -1
  576. package/locales/enterprise/ru.json +29 -1
  577. package/locales/enterprise/sk.json +29 -1
  578. package/locales/enterprise/sv.json +29 -1
  579. package/locales/enterprise/sw.json +29 -1
  580. package/locales/enterprise/ta.json +29 -1
  581. package/locales/enterprise/te.json +29 -1
  582. package/locales/enterprise/th.json +29 -1
  583. package/locales/enterprise/tl.json +29 -1
  584. package/locales/enterprise/tr.json +29 -1
  585. package/locales/enterprise/uk.json +29 -1
  586. package/locales/enterprise/ur.json +29 -1
  587. package/locales/enterprise/vi.json +29 -1
  588. package/locales/enterprise/yo.json +29 -1
  589. package/locales/enterprise/zh-Hans.json +38 -10
  590. package/locales/enterprise/zh-Hant.json +38 -10
  591. package/locales/es.json +40 -23
  592. package/locales/extensions/am.json +2 -1
  593. package/locales/extensions/ar.json +2 -1
  594. package/locales/extensions/bg.json +2 -1
  595. package/locales/extensions/bn.json +2 -1
  596. package/locales/extensions/br.json +12 -11
  597. package/locales/extensions/co.json +8 -7
  598. package/locales/extensions/cs.json +2 -1
  599. package/locales/extensions/da.json +2 -1
  600. package/locales/extensions/de.json +3 -2
  601. package/locales/extensions/el.json +2 -1
  602. package/locales/extensions/en.json +3 -2
  603. package/locales/extensions/es.json +4 -3
  604. package/locales/extensions/fa.json +2 -1
  605. package/locales/extensions/fi.json +2 -1
  606. package/locales/extensions/fr-CA.json +7 -6
  607. package/locales/extensions/fr.json +7 -6
  608. package/locales/extensions/ha.json +2 -1
  609. package/locales/extensions/he.json +2 -1
  610. package/locales/extensions/hi.json +2 -1
  611. package/locales/extensions/hr.json +2 -1
  612. package/locales/extensions/hu.json +2 -1
  613. package/locales/extensions/id.json +2 -1
  614. package/locales/extensions/it.json +5 -4
  615. package/locales/extensions/ja.json +7 -6
  616. package/locales/extensions/ko.json +24 -23
  617. package/locales/extensions/mr.json +2 -1
  618. package/locales/extensions/ms.json +2 -1
  619. package/locales/extensions/nl.json +2 -1
  620. package/locales/extensions/pl.json +2 -1
  621. package/locales/extensions/pt.json +5 -4
  622. package/locales/extensions/ro.json +2 -1
  623. package/locales/extensions/ru.json +2 -1
  624. package/locales/extensions/sk.json +2 -1
  625. package/locales/extensions/sv.json +2 -1
  626. package/locales/extensions/sw.json +2 -1
  627. package/locales/extensions/ta.json +2 -1
  628. package/locales/extensions/te.json +2 -1
  629. package/locales/extensions/th.json +2 -1
  630. package/locales/extensions/tl.json +2 -1
  631. package/locales/extensions/tr.json +2 -1
  632. package/locales/extensions/uk.json +2 -1
  633. package/locales/extensions/ur.json +2 -1
  634. package/locales/extensions/vi.json +2 -1
  635. package/locales/extensions/yo.json +2 -1
  636. package/locales/extensions/zh-Hans.json +5 -4
  637. package/locales/extensions/zh-Hant.json +9 -8
  638. package/locales/fa.json +22 -6
  639. package/locales/fi.json +23 -7
  640. package/locales/files/am.json +8 -0
  641. package/locales/files/ar.json +8 -0
  642. package/locales/files/bg.json +8 -0
  643. package/locales/files/bn.json +8 -0
  644. package/locales/files/br.json +8 -0
  645. package/locales/files/co.json +8 -0
  646. package/locales/files/cs.json +8 -0
  647. package/locales/files/da.json +8 -0
  648. package/locales/files/de.json +8 -0
  649. package/locales/files/el.json +8 -0
  650. package/locales/files/en.json +8 -0
  651. package/locales/files/es.json +8 -0
  652. package/locales/files/fa.json +8 -0
  653. package/locales/files/fi.json +8 -0
  654. package/locales/files/fr-CA.json +8 -0
  655. package/locales/files/fr.json +8 -0
  656. package/locales/files/ha.json +8 -0
  657. package/locales/files/he.json +8 -0
  658. package/locales/files/hi.json +8 -0
  659. package/locales/files/hr.json +8 -0
  660. package/locales/files/hu.json +8 -0
  661. package/locales/files/id.json +8 -0
  662. package/locales/files/it.json +8 -0
  663. package/locales/files/ja.json +8 -0
  664. package/locales/files/ko.json +8 -0
  665. package/locales/files/mr.json +8 -0
  666. package/locales/files/ms.json +8 -0
  667. package/locales/files/nl.json +8 -0
  668. package/locales/files/pl.json +8 -0
  669. package/locales/files/pt.json +8 -0
  670. package/locales/files/ro.json +8 -0
  671. package/locales/files/ru.json +8 -0
  672. package/locales/files/sk.json +8 -0
  673. package/locales/files/sv.json +8 -0
  674. package/locales/files/sw.json +8 -0
  675. package/locales/files/ta.json +8 -0
  676. package/locales/files/te.json +8 -0
  677. package/locales/files/th.json +8 -0
  678. package/locales/files/tl.json +8 -0
  679. package/locales/files/tr.json +8 -0
  680. package/locales/files/uk.json +8 -0
  681. package/locales/files/ur.json +8 -0
  682. package/locales/files/vi.json +8 -0
  683. package/locales/files/yo.json +8 -0
  684. package/locales/files/zh-Hans.json +8 -0
  685. package/locales/files/zh-Hant.json +8 -0
  686. package/locales/first/br.json +5 -5
  687. package/locales/first/co.json +1 -1
  688. package/locales/first/es.json +4 -4
  689. package/locales/first/fr-CA.json +1 -1
  690. package/locales/first/fr.json +1 -1
  691. package/locales/first/it.json +1 -1
  692. package/locales/first/ja.json +7 -7
  693. package/locales/first/ko.json +3 -3
  694. package/locales/first/pt.json +3 -3
  695. package/locales/first/zh-Hans.json +2 -2
  696. package/locales/first/zh-Hant.json +3 -3
  697. package/locales/flows/br.json +7 -7
  698. package/locales/flows/co.json +4 -4
  699. package/locales/flows/de.json +2 -2
  700. package/locales/flows/es.json +2 -2
  701. package/locales/flows/fr-CA.json +3 -3
  702. package/locales/flows/fr.json +3 -3
  703. package/locales/flows/it.json +2 -2
  704. package/locales/flows/ja.json +4 -4
  705. package/locales/flows/ko.json +7 -7
  706. package/locales/flows/pt.json +6 -6
  707. package/locales/flows/zh-Hans.json +5 -5
  708. package/locales/flows/zh-Hant.json +8 -8
  709. package/locales/folders/br.json +4 -4
  710. package/locales/folders/de.json +1 -1
  711. package/locales/folders/es.json +2 -2
  712. package/locales/folders/ja.json +2 -2
  713. package/locales/folders/ko.json +3 -3
  714. package/locales/folders/pt.json +2 -2
  715. package/locales/folders/zh-Hans.json +2 -2
  716. package/locales/folders/zh-Hant.json +7 -7
  717. package/locales/fr-CA.json +59 -42
  718. package/locales/fr.json +56 -39
  719. package/locales/games/am.json +16 -0
  720. package/locales/games/ar.json +16 -0
  721. package/locales/games/bg.json +16 -0
  722. package/locales/games/bn.json +16 -0
  723. package/locales/games/br.json +16 -0
  724. package/locales/games/co.json +16 -0
  725. package/locales/games/cs.json +16 -0
  726. package/locales/games/da.json +16 -0
  727. package/locales/games/de.json +16 -0
  728. package/locales/games/el.json +16 -0
  729. package/locales/games/en.json +16 -0
  730. package/locales/games/es.json +16 -0
  731. package/locales/games/fa.json +16 -0
  732. package/locales/games/fi.json +16 -0
  733. package/locales/games/fr-CA.json +16 -0
  734. package/locales/games/fr.json +16 -0
  735. package/locales/games/ha.json +16 -0
  736. package/locales/games/he.json +16 -0
  737. package/locales/games/hi.json +16 -0
  738. package/locales/games/hr.json +16 -0
  739. package/locales/games/hu.json +16 -0
  740. package/locales/games/id.json +16 -0
  741. package/locales/games/it.json +16 -0
  742. package/locales/games/ja.json +16 -0
  743. package/locales/games/ko.json +16 -0
  744. package/locales/games/mr.json +16 -0
  745. package/locales/games/ms.json +16 -0
  746. package/locales/games/nl.json +16 -0
  747. package/locales/games/pl.json +16 -0
  748. package/locales/games/pt.json +16 -0
  749. package/locales/games/ro.json +16 -0
  750. package/locales/games/ru.json +16 -0
  751. package/locales/games/sk.json +16 -0
  752. package/locales/games/sv.json +16 -0
  753. package/locales/games/sw.json +16 -0
  754. package/locales/games/ta.json +16 -0
  755. package/locales/games/te.json +16 -0
  756. package/locales/games/th.json +16 -0
  757. package/locales/games/tl.json +16 -0
  758. package/locales/games/tr.json +16 -0
  759. package/locales/games/uk.json +16 -0
  760. package/locales/games/ur.json +16 -0
  761. package/locales/games/vi.json +16 -0
  762. package/locales/games/yo.json +16 -0
  763. package/locales/games/zh-Hans.json +16 -0
  764. package/locales/games/zh-Hant.json +16 -0
  765. package/locales/ha.json +22 -6
  766. package/locales/he.json +23 -6
  767. package/locales/hi.json +22 -6
  768. package/locales/hr.json +24 -7
  769. package/locales/hu.json +22 -6
  770. package/locales/id.json +22 -7
  771. package/locales/interactive/am.json +11 -2
  772. package/locales/interactive/ar.json +11 -2
  773. package/locales/interactive/bg.json +11 -2
  774. package/locales/interactive/bn.json +11 -2
  775. package/locales/interactive/br.json +12 -3
  776. package/locales/interactive/co.json +12 -3
  777. package/locales/interactive/cs.json +11 -2
  778. package/locales/interactive/da.json +11 -2
  779. package/locales/interactive/de.json +11 -2
  780. package/locales/interactive/el.json +11 -2
  781. package/locales/interactive/en.json +11 -2
  782. package/locales/interactive/es.json +12 -3
  783. package/locales/interactive/fa.json +11 -2
  784. package/locales/interactive/fi.json +11 -2
  785. package/locales/interactive/fr-CA.json +11 -2
  786. package/locales/interactive/fr.json +11 -2
  787. package/locales/interactive/ha.json +11 -2
  788. package/locales/interactive/he.json +11 -2
  789. package/locales/interactive/hi.json +11 -2
  790. package/locales/interactive/hr.json +11 -2
  791. package/locales/interactive/hu.json +11 -2
  792. package/locales/interactive/id.json +11 -2
  793. package/locales/interactive/it.json +12 -3
  794. package/locales/interactive/ja.json +12 -3
  795. package/locales/interactive/ko.json +12 -3
  796. package/locales/interactive/mr.json +11 -2
  797. package/locales/interactive/ms.json +11 -2
  798. package/locales/interactive/nl.json +11 -2
  799. package/locales/interactive/pl.json +11 -2
  800. package/locales/interactive/pt.json +12 -3
  801. package/locales/interactive/ro.json +11 -2
  802. package/locales/interactive/ru.json +11 -2
  803. package/locales/interactive/sk.json +11 -2
  804. package/locales/interactive/sv.json +11 -2
  805. package/locales/interactive/sw.json +11 -2
  806. package/locales/interactive/ta.json +11 -2
  807. package/locales/interactive/te.json +11 -2
  808. package/locales/interactive/th.json +11 -2
  809. package/locales/interactive/tl.json +11 -2
  810. package/locales/interactive/tr.json +11 -2
  811. package/locales/interactive/uk.json +11 -2
  812. package/locales/interactive/ur.json +11 -2
  813. package/locales/interactive/vi.json +11 -2
  814. package/locales/interactive/yo.json +11 -2
  815. package/locales/interactive/zh-Hans.json +11 -2
  816. package/locales/interactive/zh-Hant.json +13 -4
  817. package/locales/it.json +63 -46
  818. package/locales/ja.json +52 -37
  819. package/locales/ko.json +44 -29
  820. package/locales/layouts/ja.json +1 -1
  821. package/locales/layouts/zh-Hans.json +1 -1
  822. package/locales/layouts/zh-Hant.json +1 -1
  823. package/locales/lock/am.json +6 -3
  824. package/locales/lock/ar.json +6 -3
  825. package/locales/lock/bg.json +6 -3
  826. package/locales/lock/bn.json +6 -3
  827. package/locales/lock/br.json +8 -5
  828. package/locales/lock/co.json +8 -5
  829. package/locales/lock/cs.json +6 -3
  830. package/locales/lock/da.json +6 -3
  831. package/locales/lock/de.json +8 -5
  832. package/locales/lock/el.json +6 -3
  833. package/locales/lock/en.json +7 -4
  834. package/locales/lock/es.json +7 -4
  835. package/locales/lock/fa.json +6 -3
  836. package/locales/lock/fi.json +6 -3
  837. package/locales/lock/fr-CA.json +7 -4
  838. package/locales/lock/fr.json +7 -4
  839. package/locales/lock/ha.json +6 -3
  840. package/locales/lock/he.json +6 -3
  841. package/locales/lock/hi.json +6 -3
  842. package/locales/lock/hr.json +6 -3
  843. package/locales/lock/hu.json +6 -3
  844. package/locales/lock/id.json +6 -3
  845. package/locales/lock/it.json +10 -7
  846. package/locales/lock/ja.json +10 -7
  847. package/locales/lock/ko.json +8 -5
  848. package/locales/lock/mr.json +6 -3
  849. package/locales/lock/ms.json +6 -3
  850. package/locales/lock/nl.json +6 -3
  851. package/locales/lock/pl.json +6 -3
  852. package/locales/lock/pt.json +7 -4
  853. package/locales/lock/ro.json +6 -3
  854. package/locales/lock/ru.json +6 -3
  855. package/locales/lock/sk.json +6 -3
  856. package/locales/lock/sv.json +6 -3
  857. package/locales/lock/sw.json +6 -3
  858. package/locales/lock/ta.json +6 -3
  859. package/locales/lock/te.json +6 -3
  860. package/locales/lock/th.json +6 -3
  861. package/locales/lock/tl.json +6 -3
  862. package/locales/lock/tr.json +6 -3
  863. package/locales/lock/uk.json +6 -3
  864. package/locales/lock/ur.json +6 -3
  865. package/locales/lock/vi.json +6 -3
  866. package/locales/lock/yo.json +6 -3
  867. package/locales/lock/zh-Hans.json +7 -4
  868. package/locales/lock/zh-Hant.json +7 -4
  869. package/locales/look/am.json +10 -1
  870. package/locales/look/ar.json +10 -1
  871. package/locales/look/bg.json +10 -1
  872. package/locales/look/bn.json +10 -1
  873. package/locales/look/br.json +17 -8
  874. package/locales/look/co.json +10 -1
  875. package/locales/look/cs.json +10 -1
  876. package/locales/look/da.json +10 -1
  877. package/locales/look/de.json +10 -1
  878. package/locales/look/el.json +10 -1
  879. package/locales/look/en.json +10 -1
  880. package/locales/look/es.json +12 -3
  881. package/locales/look/fa.json +10 -1
  882. package/locales/look/fi.json +10 -1
  883. package/locales/look/fr-CA.json +10 -1
  884. package/locales/look/fr.json +10 -1
  885. package/locales/look/ha.json +10 -1
  886. package/locales/look/he.json +10 -1
  887. package/locales/look/hi.json +10 -1
  888. package/locales/look/hr.json +10 -1
  889. package/locales/look/hu.json +10 -1
  890. package/locales/look/id.json +10 -1
  891. package/locales/look/it.json +10 -1
  892. package/locales/look/ja.json +14 -5
  893. package/locales/look/ko.json +11 -2
  894. package/locales/look/mr.json +10 -1
  895. package/locales/look/ms.json +10 -1
  896. package/locales/look/nl.json +10 -1
  897. package/locales/look/pl.json +10 -1
  898. package/locales/look/pt.json +12 -3
  899. package/locales/look/ro.json +10 -1
  900. package/locales/look/ru.json +10 -1
  901. package/locales/look/sk.json +10 -1
  902. package/locales/look/sv.json +10 -1
  903. package/locales/look/sw.json +10 -1
  904. package/locales/look/ta.json +10 -1
  905. package/locales/look/te.json +10 -1
  906. package/locales/look/th.json +10 -1
  907. package/locales/look/tl.json +10 -1
  908. package/locales/look/tr.json +10 -1
  909. package/locales/look/uk.json +10 -1
  910. package/locales/look/ur.json +10 -1
  911. package/locales/look/vi.json +10 -1
  912. package/locales/look/yo.json +10 -1
  913. package/locales/look/zh-Hans.json +15 -6
  914. package/locales/look/zh-Hant.json +18 -9
  915. package/locales/machine/br.json +5 -5
  916. package/locales/machine/co.json +4 -4
  917. package/locales/machine/de.json +2 -2
  918. package/locales/machine/en.json +2 -2
  919. package/locales/machine/es.json +8 -8
  920. package/locales/machine/fr-CA.json +4 -4
  921. package/locales/machine/fr.json +4 -4
  922. package/locales/machine/it.json +9 -9
  923. package/locales/machine/ja.json +4 -4
  924. package/locales/machine/ko.json +10 -10
  925. package/locales/machine/pt.json +4 -4
  926. package/locales/machine/zh-Hans.json +7 -7
  927. package/locales/machine/zh-Hant.json +10 -10
  928. package/locales/made/am.json +6 -1
  929. package/locales/made/ar.json +6 -1
  930. package/locales/made/bg.json +6 -1
  931. package/locales/made/bn.json +6 -1
  932. package/locales/made/br.json +8 -3
  933. package/locales/made/co.json +6 -1
  934. package/locales/made/cs.json +6 -1
  935. package/locales/made/da.json +6 -1
  936. package/locales/made/de.json +6 -1
  937. package/locales/made/el.json +6 -1
  938. package/locales/made/en.json +6 -1
  939. package/locales/made/es.json +6 -1
  940. package/locales/made/fa.json +6 -1
  941. package/locales/made/fi.json +6 -1
  942. package/locales/made/fr-CA.json +9 -4
  943. package/locales/made/fr.json +9 -4
  944. package/locales/made/ha.json +6 -1
  945. package/locales/made/he.json +6 -1
  946. package/locales/made/hi.json +6 -1
  947. package/locales/made/hr.json +6 -1
  948. package/locales/made/hu.json +6 -1
  949. package/locales/made/id.json +6 -1
  950. package/locales/made/it.json +6 -1
  951. package/locales/made/ja.json +6 -1
  952. package/locales/made/ko.json +7 -2
  953. package/locales/made/mr.json +6 -1
  954. package/locales/made/ms.json +6 -1
  955. package/locales/made/nl.json +6 -1
  956. package/locales/made/pl.json +6 -1
  957. package/locales/made/pt.json +9 -4
  958. package/locales/made/ro.json +6 -1
  959. package/locales/made/ru.json +6 -1
  960. package/locales/made/sk.json +6 -1
  961. package/locales/made/sv.json +6 -1
  962. package/locales/made/sw.json +6 -1
  963. package/locales/made/ta.json +6 -1
  964. package/locales/made/te.json +6 -1
  965. package/locales/made/th.json +6 -1
  966. package/locales/made/tl.json +6 -1
  967. package/locales/made/tr.json +6 -1
  968. package/locales/made/uk.json +6 -1
  969. package/locales/made/ur.json +6 -1
  970. package/locales/made/vi.json +6 -1
  971. package/locales/made/yo.json +6 -1
  972. package/locales/made/zh-Hans.json +8 -3
  973. package/locales/made/zh-Hant.json +7 -2
  974. package/locales/mr.json +22 -6
  975. package/locales/ms.json +22 -7
  976. package/locales/nl.json +23 -7
  977. package/locales/notifications/br.json +2 -2
  978. package/locales/notifications/es.json +4 -4
  979. package/locales/notifications/it.json +2 -2
  980. package/locales/notifications/pt.json +2 -2
  981. package/locales/notifications/zh-Hans.json +1 -1
  982. package/locales/notifications/zh-Hant.json +2 -2
  983. package/locales/out/am.json +13 -0
  984. package/locales/out/ar.json +13 -0
  985. package/locales/out/bg.json +13 -0
  986. package/locales/out/bn.json +13 -0
  987. package/locales/out/br.json +13 -0
  988. package/locales/out/co.json +13 -0
  989. package/locales/out/cs.json +13 -0
  990. package/locales/out/da.json +13 -0
  991. package/locales/out/de.json +13 -0
  992. package/locales/out/el.json +13 -0
  993. package/locales/out/en.json +13 -0
  994. package/locales/out/es.json +13 -0
  995. package/locales/out/fa.json +13 -0
  996. package/locales/out/fi.json +13 -0
  997. package/locales/out/fr-CA.json +13 -0
  998. package/locales/out/fr.json +13 -0
  999. package/locales/out/ha.json +13 -0
  1000. package/locales/out/he.json +13 -0
  1001. package/locales/out/hi.json +13 -0
  1002. package/locales/out/hr.json +13 -0
  1003. package/locales/out/hu.json +13 -0
  1004. package/locales/out/id.json +13 -0
  1005. package/locales/out/it.json +13 -0
  1006. package/locales/out/ja.json +13 -0
  1007. package/locales/out/ko.json +13 -0
  1008. package/locales/out/mr.json +13 -0
  1009. package/locales/out/ms.json +13 -0
  1010. package/locales/out/nl.json +13 -0
  1011. package/locales/out/pl.json +13 -0
  1012. package/locales/out/pt.json +13 -0
  1013. package/locales/out/ro.json +13 -0
  1014. package/locales/out/ru.json +13 -0
  1015. package/locales/out/sk.json +13 -0
  1016. package/locales/out/sv.json +13 -0
  1017. package/locales/out/sw.json +13 -0
  1018. package/locales/out/ta.json +13 -0
  1019. package/locales/out/te.json +13 -0
  1020. package/locales/out/th.json +13 -0
  1021. package/locales/out/tl.json +13 -0
  1022. package/locales/out/tr.json +13 -0
  1023. package/locales/out/uk.json +13 -0
  1024. package/locales/out/ur.json +13 -0
  1025. package/locales/out/vi.json +13 -0
  1026. package/locales/out/yo.json +13 -0
  1027. package/locales/out/zh-Hans.json +13 -0
  1028. package/locales/out/zh-Hant.json +13 -0
  1029. package/locales/pictures/br.json +5 -5
  1030. package/locales/pictures/co.json +5 -5
  1031. package/locales/pictures/de.json +3 -3
  1032. package/locales/pictures/en.json +2 -2
  1033. package/locales/pictures/es.json +4 -4
  1034. package/locales/pictures/fr-CA.json +6 -6
  1035. package/locales/pictures/fr.json +4 -4
  1036. package/locales/pictures/it.json +7 -7
  1037. package/locales/pictures/ja.json +8 -8
  1038. package/locales/pictures/ko.json +8 -8
  1039. package/locales/pictures/pt.json +5 -5
  1040. package/locales/pictures/zh-Hans.json +5 -5
  1041. package/locales/pictures/zh-Hant.json +6 -6
  1042. package/locales/pl.json +24 -6
  1043. package/locales/plan/fr-CA.json +1 -1
  1044. package/locales/plan/fr.json +1 -1
  1045. package/locales/plan/it.json +2 -2
  1046. package/locales/plan/ja.json +3 -3
  1047. package/locales/plan/zh-Hans.json +2 -2
  1048. package/locales/plan/zh-Hant.json +1 -1
  1049. package/locales/policy/am.json +1 -0
  1050. package/locales/policy/ar.json +1 -0
  1051. package/locales/policy/bg.json +1 -0
  1052. package/locales/policy/bn.json +1 -0
  1053. package/locales/policy/br.json +1 -0
  1054. package/locales/policy/co.json +3 -2
  1055. package/locales/policy/cs.json +1 -0
  1056. package/locales/policy/da.json +1 -0
  1057. package/locales/policy/de.json +1 -0
  1058. package/locales/policy/el.json +1 -0
  1059. package/locales/policy/en.json +1 -0
  1060. package/locales/policy/es.json +4 -3
  1061. package/locales/policy/fa.json +1 -0
  1062. package/locales/policy/fi.json +1 -0
  1063. package/locales/policy/fr-CA.json +2 -1
  1064. package/locales/policy/fr.json +2 -1
  1065. package/locales/policy/ha.json +1 -0
  1066. package/locales/policy/he.json +1 -0
  1067. package/locales/policy/hi.json +1 -0
  1068. package/locales/policy/hr.json +1 -0
  1069. package/locales/policy/hu.json +1 -0
  1070. package/locales/policy/id.json +1 -0
  1071. package/locales/policy/it.json +4 -3
  1072. package/locales/policy/ja.json +3 -2
  1073. package/locales/policy/ko.json +1 -0
  1074. package/locales/policy/mr.json +1 -0
  1075. package/locales/policy/ms.json +1 -0
  1076. package/locales/policy/nl.json +1 -0
  1077. package/locales/policy/pl.json +1 -0
  1078. package/locales/policy/pt.json +4 -3
  1079. package/locales/policy/ro.json +1 -0
  1080. package/locales/policy/ru.json +1 -0
  1081. package/locales/policy/sk.json +1 -0
  1082. package/locales/policy/sv.json +1 -0
  1083. package/locales/policy/sw.json +1 -0
  1084. package/locales/policy/ta.json +1 -0
  1085. package/locales/policy/te.json +1 -0
  1086. package/locales/policy/th.json +1 -0
  1087. package/locales/policy/tl.json +1 -0
  1088. package/locales/policy/tr.json +1 -0
  1089. package/locales/policy/uk.json +1 -0
  1090. package/locales/policy/ur.json +1 -0
  1091. package/locales/policy/vi.json +1 -0
  1092. package/locales/policy/yo.json +1 -0
  1093. package/locales/policy/zh-Hans.json +9 -8
  1094. package/locales/policy/zh-Hant.json +17 -16
  1095. package/locales/profiles/am.json +5 -0
  1096. package/locales/profiles/ar.json +5 -0
  1097. package/locales/profiles/bg.json +5 -0
  1098. package/locales/profiles/bn.json +5 -0
  1099. package/locales/profiles/br.json +14 -9
  1100. package/locales/profiles/co.json +12 -7
  1101. package/locales/profiles/cs.json +5 -0
  1102. package/locales/profiles/da.json +5 -0
  1103. package/locales/profiles/de.json +6 -1
  1104. package/locales/profiles/el.json +5 -0
  1105. package/locales/profiles/en.json +7 -2
  1106. package/locales/profiles/es.json +7 -2
  1107. package/locales/profiles/fa.json +5 -0
  1108. package/locales/profiles/fi.json +5 -0
  1109. package/locales/profiles/fr-CA.json +10 -5
  1110. package/locales/profiles/fr.json +10 -5
  1111. package/locales/profiles/ha.json +5 -0
  1112. package/locales/profiles/he.json +5 -0
  1113. package/locales/profiles/hi.json +5 -0
  1114. package/locales/profiles/hr.json +5 -0
  1115. package/locales/profiles/hu.json +5 -0
  1116. package/locales/profiles/id.json +5 -0
  1117. package/locales/profiles/it.json +11 -6
  1118. package/locales/profiles/ja.json +13 -8
  1119. package/locales/profiles/ko.json +25 -20
  1120. package/locales/profiles/mr.json +5 -0
  1121. package/locales/profiles/ms.json +5 -0
  1122. package/locales/profiles/nl.json +5 -0
  1123. package/locales/profiles/pl.json +5 -0
  1124. package/locales/profiles/pt.json +10 -5
  1125. package/locales/profiles/ro.json +5 -0
  1126. package/locales/profiles/ru.json +5 -0
  1127. package/locales/profiles/sk.json +5 -0
  1128. package/locales/profiles/sv.json +5 -0
  1129. package/locales/profiles/sw.json +5 -0
  1130. package/locales/profiles/ta.json +5 -0
  1131. package/locales/profiles/te.json +5 -0
  1132. package/locales/profiles/th.json +5 -0
  1133. package/locales/profiles/tl.json +5 -0
  1134. package/locales/profiles/tr.json +5 -0
  1135. package/locales/profiles/uk.json +5 -0
  1136. package/locales/profiles/ur.json +5 -0
  1137. package/locales/profiles/vi.json +5 -0
  1138. package/locales/profiles/yo.json +5 -0
  1139. package/locales/profiles/zh-Hans.json +18 -13
  1140. package/locales/profiles/zh-Hant.json +13 -8
  1141. package/locales/pt.json +46 -29
  1142. package/locales/reader/es.json +1 -1
  1143. package/locales/reader/ja.json +4 -4
  1144. package/locales/reader/zh-Hans.json +1 -1
  1145. package/locales/reader/zh-Hant.json +2 -2
  1146. package/locales/receipt/am.json +7 -1
  1147. package/locales/receipt/ar.json +7 -1
  1148. package/locales/receipt/bg.json +7 -1
  1149. package/locales/receipt/bn.json +7 -1
  1150. package/locales/receipt/br.json +9 -3
  1151. package/locales/receipt/co.json +9 -3
  1152. package/locales/receipt/cs.json +7 -1
  1153. package/locales/receipt/da.json +7 -1
  1154. package/locales/receipt/de.json +9 -3
  1155. package/locales/receipt/el.json +7 -1
  1156. package/locales/receipt/en.json +9 -3
  1157. package/locales/receipt/es.json +12 -6
  1158. package/locales/receipt/fa.json +7 -1
  1159. package/locales/receipt/fi.json +7 -1
  1160. package/locales/receipt/fr-CA.json +9 -3
  1161. package/locales/receipt/fr.json +9 -3
  1162. package/locales/receipt/ha.json +7 -1
  1163. package/locales/receipt/he.json +7 -1
  1164. package/locales/receipt/hi.json +7 -1
  1165. package/locales/receipt/hr.json +7 -1
  1166. package/locales/receipt/hu.json +7 -1
  1167. package/locales/receipt/id.json +7 -1
  1168. package/locales/receipt/it.json +14 -8
  1169. package/locales/receipt/ja.json +12 -6
  1170. package/locales/receipt/ko.json +8 -2
  1171. package/locales/receipt/mr.json +7 -1
  1172. package/locales/receipt/ms.json +7 -1
  1173. package/locales/receipt/nl.json +7 -1
  1174. package/locales/receipt/pl.json +7 -1
  1175. package/locales/receipt/pt.json +11 -5
  1176. package/locales/receipt/ro.json +7 -1
  1177. package/locales/receipt/ru.json +7 -1
  1178. package/locales/receipt/sk.json +7 -1
  1179. package/locales/receipt/sv.json +7 -1
  1180. package/locales/receipt/sw.json +7 -1
  1181. package/locales/receipt/ta.json +7 -1
  1182. package/locales/receipt/te.json +7 -1
  1183. package/locales/receipt/th.json +7 -1
  1184. package/locales/receipt/tl.json +7 -1
  1185. package/locales/receipt/tr.json +7 -1
  1186. package/locales/receipt/uk.json +7 -1
  1187. package/locales/receipt/ur.json +7 -1
  1188. package/locales/receipt/vi.json +7 -1
  1189. package/locales/receipt/yo.json +7 -1
  1190. package/locales/receipt/zh-Hans.json +10 -4
  1191. package/locales/receipt/zh-Hant.json +18 -12
  1192. package/locales/ro.json +24 -7
  1193. package/locales/routines/am.json +9 -0
  1194. package/locales/routines/ar.json +9 -0
  1195. package/locales/routines/bg.json +9 -0
  1196. package/locales/routines/bn.json +9 -0
  1197. package/locales/routines/br.json +16 -7
  1198. package/locales/routines/co.json +13 -4
  1199. package/locales/routines/cs.json +9 -0
  1200. package/locales/routines/da.json +9 -0
  1201. package/locales/routines/de.json +9 -0
  1202. package/locales/routines/el.json +9 -0
  1203. package/locales/routines/en.json +9 -0
  1204. package/locales/routines/es.json +12 -3
  1205. package/locales/routines/fa.json +9 -0
  1206. package/locales/routines/fi.json +9 -0
  1207. package/locales/routines/fr-CA.json +11 -2
  1208. package/locales/routines/fr.json +11 -2
  1209. package/locales/routines/ha.json +9 -0
  1210. package/locales/routines/he.json +9 -0
  1211. package/locales/routines/hi.json +9 -0
  1212. package/locales/routines/hr.json +9 -0
  1213. package/locales/routines/hu.json +9 -0
  1214. package/locales/routines/id.json +9 -0
  1215. package/locales/routines/it.json +9 -0
  1216. package/locales/routines/ja.json +18 -9
  1217. package/locales/routines/ko.json +10 -1
  1218. package/locales/routines/mr.json +9 -0
  1219. package/locales/routines/ms.json +9 -0
  1220. package/locales/routines/nl.json +9 -0
  1221. package/locales/routines/pl.json +9 -0
  1222. package/locales/routines/pt.json +14 -5
  1223. package/locales/routines/ro.json +9 -0
  1224. package/locales/routines/ru.json +9 -0
  1225. package/locales/routines/sk.json +9 -0
  1226. package/locales/routines/sv.json +9 -0
  1227. package/locales/routines/sw.json +9 -0
  1228. package/locales/routines/ta.json +9 -0
  1229. package/locales/routines/te.json +9 -0
  1230. package/locales/routines/th.json +9 -0
  1231. package/locales/routines/tl.json +9 -0
  1232. package/locales/routines/tr.json +9 -0
  1233. package/locales/routines/uk.json +9 -0
  1234. package/locales/routines/ur.json +9 -0
  1235. package/locales/routines/vi.json +9 -0
  1236. package/locales/routines/yo.json +9 -0
  1237. package/locales/routines/zh-Hans.json +10 -1
  1238. package/locales/routines/zh-Hant.json +11 -2
  1239. package/locales/ru.json +24 -6
  1240. package/locales/scores/am.json +5 -1
  1241. package/locales/scores/ar.json +5 -1
  1242. package/locales/scores/bg.json +5 -1
  1243. package/locales/scores/bn.json +5 -1
  1244. package/locales/scores/br.json +5 -1
  1245. package/locales/scores/co.json +5 -1
  1246. package/locales/scores/cs.json +5 -1
  1247. package/locales/scores/da.json +5 -1
  1248. package/locales/scores/de.json +6 -2
  1249. package/locales/scores/el.json +5 -1
  1250. package/locales/scores/en.json +5 -1
  1251. package/locales/scores/es.json +5 -1
  1252. package/locales/scores/fa.json +5 -1
  1253. package/locales/scores/fi.json +5 -1
  1254. package/locales/scores/fr-CA.json +5 -1
  1255. package/locales/scores/fr.json +5 -1
  1256. package/locales/scores/ha.json +5 -1
  1257. package/locales/scores/he.json +5 -1
  1258. package/locales/scores/hi.json +5 -1
  1259. package/locales/scores/hr.json +5 -1
  1260. package/locales/scores/hu.json +5 -1
  1261. package/locales/scores/id.json +5 -1
  1262. package/locales/scores/it.json +5 -1
  1263. package/locales/scores/ja.json +5 -1
  1264. package/locales/scores/ko.json +5 -1
  1265. package/locales/scores/mr.json +5 -1
  1266. package/locales/scores/ms.json +5 -1
  1267. package/locales/scores/nl.json +5 -1
  1268. package/locales/scores/pl.json +5 -1
  1269. package/locales/scores/pt.json +5 -1
  1270. package/locales/scores/ro.json +5 -1
  1271. package/locales/scores/ru.json +5 -1
  1272. package/locales/scores/sk.json +5 -1
  1273. package/locales/scores/sv.json +5 -1
  1274. package/locales/scores/sw.json +5 -1
  1275. package/locales/scores/ta.json +5 -1
  1276. package/locales/scores/te.json +5 -1
  1277. package/locales/scores/th.json +5 -1
  1278. package/locales/scores/tl.json +5 -1
  1279. package/locales/scores/tr.json +5 -1
  1280. package/locales/scores/uk.json +5 -1
  1281. package/locales/scores/ur.json +5 -1
  1282. package/locales/scores/vi.json +5 -1
  1283. package/locales/scores/yo.json +5 -1
  1284. package/locales/scores/zh-Hans.json +5 -1
  1285. package/locales/scores/zh-Hant.json +5 -1
  1286. package/locales/screen/am.json +11 -0
  1287. package/locales/screen/ar.json +11 -0
  1288. package/locales/screen/bg.json +11 -0
  1289. package/locales/screen/bn.json +11 -0
  1290. package/locales/screen/br.json +11 -0
  1291. package/locales/screen/co.json +11 -0
  1292. package/locales/screen/cs.json +11 -0
  1293. package/locales/screen/da.json +11 -0
  1294. package/locales/screen/de.json +11 -0
  1295. package/locales/screen/el.json +11 -0
  1296. package/locales/screen/en.json +11 -0
  1297. package/locales/screen/es.json +11 -0
  1298. package/locales/screen/fa.json +11 -0
  1299. package/locales/screen/fi.json +11 -0
  1300. package/locales/screen/fr-CA.json +11 -0
  1301. package/locales/screen/fr.json +11 -0
  1302. package/locales/screen/ha.json +11 -0
  1303. package/locales/screen/he.json +11 -0
  1304. package/locales/screen/hi.json +11 -0
  1305. package/locales/screen/hr.json +11 -0
  1306. package/locales/screen/hu.json +11 -0
  1307. package/locales/screen/id.json +11 -0
  1308. package/locales/screen/it.json +11 -0
  1309. package/locales/screen/ja.json +11 -0
  1310. package/locales/screen/ko.json +11 -0
  1311. package/locales/screen/mr.json +11 -0
  1312. package/locales/screen/ms.json +11 -0
  1313. package/locales/screen/nl.json +11 -0
  1314. package/locales/screen/pl.json +11 -0
  1315. package/locales/screen/pt.json +11 -0
  1316. package/locales/screen/ro.json +11 -0
  1317. package/locales/screen/ru.json +11 -0
  1318. package/locales/screen/sk.json +11 -0
  1319. package/locales/screen/sv.json +11 -0
  1320. package/locales/screen/sw.json +11 -0
  1321. package/locales/screen/ta.json +11 -0
  1322. package/locales/screen/te.json +11 -0
  1323. package/locales/screen/th.json +11 -0
  1324. package/locales/screen/tl.json +11 -0
  1325. package/locales/screen/tr.json +11 -0
  1326. package/locales/screen/uk.json +11 -0
  1327. package/locales/screen/ur.json +11 -0
  1328. package/locales/screen/vi.json +11 -0
  1329. package/locales/screen/yo.json +11 -0
  1330. package/locales/screen/zh-Hans.json +11 -0
  1331. package/locales/screen/zh-Hant.json +11 -0
  1332. package/locales/search/am.json +10 -1
  1333. package/locales/search/ar.json +10 -1
  1334. package/locales/search/bg.json +10 -1
  1335. package/locales/search/bn.json +10 -1
  1336. package/locales/search/br.json +14 -5
  1337. package/locales/search/co.json +14 -5
  1338. package/locales/search/cs.json +10 -1
  1339. package/locales/search/da.json +10 -1
  1340. package/locales/search/de.json +10 -1
  1341. package/locales/search/el.json +10 -1
  1342. package/locales/search/en.json +10 -1
  1343. package/locales/search/es.json +13 -4
  1344. package/locales/search/fa.json +10 -1
  1345. package/locales/search/fi.json +10 -1
  1346. package/locales/search/fr-CA.json +10 -1
  1347. package/locales/search/fr.json +10 -1
  1348. package/locales/search/ha.json +10 -1
  1349. package/locales/search/he.json +10 -1
  1350. package/locales/search/hi.json +10 -1
  1351. package/locales/search/hr.json +10 -1
  1352. package/locales/search/hu.json +10 -1
  1353. package/locales/search/id.json +10 -1
  1354. package/locales/search/it.json +10 -1
  1355. package/locales/search/ja.json +15 -6
  1356. package/locales/search/ko.json +10 -1
  1357. package/locales/search/mr.json +10 -1
  1358. package/locales/search/ms.json +10 -1
  1359. package/locales/search/nl.json +10 -1
  1360. package/locales/search/pl.json +10 -1
  1361. package/locales/search/pt.json +10 -1
  1362. package/locales/search/ro.json +10 -1
  1363. package/locales/search/ru.json +10 -1
  1364. package/locales/search/sk.json +10 -1
  1365. package/locales/search/sv.json +10 -1
  1366. package/locales/search/sw.json +10 -1
  1367. package/locales/search/ta.json +10 -1
  1368. package/locales/search/te.json +10 -1
  1369. package/locales/search/th.json +10 -1
  1370. package/locales/search/tl.json +10 -1
  1371. package/locales/search/tr.json +10 -1
  1372. package/locales/search/uk.json +10 -1
  1373. package/locales/search/ur.json +10 -1
  1374. package/locales/search/vi.json +10 -1
  1375. package/locales/search/yo.json +10 -1
  1376. package/locales/search/zh-Hans.json +12 -3
  1377. package/locales/search/zh-Hant.json +26 -17
  1378. package/locales/share/br.json +6 -6
  1379. package/locales/share/co.json +4 -4
  1380. package/locales/share/de.json +2 -2
  1381. package/locales/share/es.json +1 -1
  1382. package/locales/share/fr-CA.json +5 -5
  1383. package/locales/share/fr.json +3 -3
  1384. package/locales/share/it.json +4 -4
  1385. package/locales/share/ja.json +15 -15
  1386. package/locales/share/ko.json +4 -4
  1387. package/locales/share/pt.json +2 -2
  1388. package/locales/share/zh-Hans.json +8 -8
  1389. package/locales/share/zh-Hant.json +14 -14
  1390. package/locales/signin/am.json +3 -1
  1391. package/locales/signin/ar.json +3 -1
  1392. package/locales/signin/bg.json +3 -1
  1393. package/locales/signin/bn.json +3 -1
  1394. package/locales/signin/br.json +3 -1
  1395. package/locales/signin/co.json +3 -1
  1396. package/locales/signin/cs.json +3 -1
  1397. package/locales/signin/da.json +3 -1
  1398. package/locales/signin/de.json +3 -1
  1399. package/locales/signin/el.json +3 -1
  1400. package/locales/signin/en.json +3 -1
  1401. package/locales/signin/es.json +4 -2
  1402. package/locales/signin/fa.json +3 -1
  1403. package/locales/signin/fi.json +3 -1
  1404. package/locales/signin/fr-CA.json +3 -1
  1405. package/locales/signin/fr.json +3 -1
  1406. package/locales/signin/ha.json +3 -1
  1407. package/locales/signin/he.json +3 -1
  1408. package/locales/signin/hi.json +3 -1
  1409. package/locales/signin/hr.json +3 -1
  1410. package/locales/signin/hu.json +3 -1
  1411. package/locales/signin/id.json +3 -1
  1412. package/locales/signin/it.json +3 -1
  1413. package/locales/signin/ja.json +3 -1
  1414. package/locales/signin/ko.json +3 -1
  1415. package/locales/signin/mr.json +3 -1
  1416. package/locales/signin/ms.json +3 -1
  1417. package/locales/signin/nl.json +3 -1
  1418. package/locales/signin/pl.json +3 -1
  1419. package/locales/signin/pt.json +3 -1
  1420. package/locales/signin/ro.json +3 -1
  1421. package/locales/signin/ru.json +3 -1
  1422. package/locales/signin/sk.json +3 -1
  1423. package/locales/signin/sv.json +3 -1
  1424. package/locales/signin/sw.json +3 -1
  1425. package/locales/signin/ta.json +3 -1
  1426. package/locales/signin/te.json +3 -1
  1427. package/locales/signin/th.json +3 -1
  1428. package/locales/signin/tl.json +3 -1
  1429. package/locales/signin/tr.json +3 -1
  1430. package/locales/signin/uk.json +3 -1
  1431. package/locales/signin/ur.json +3 -1
  1432. package/locales/signin/vi.json +3 -1
  1433. package/locales/signin/yo.json +3 -1
  1434. package/locales/signin/zh-Hans.json +3 -1
  1435. package/locales/signin/zh-Hant.json +3 -1
  1436. package/locales/sk.json +25 -7
  1437. package/locales/skills/br.json +7 -7
  1438. package/locales/skills/co.json +7 -7
  1439. package/locales/skills/de.json +5 -5
  1440. package/locales/skills/es.json +4 -4
  1441. package/locales/skills/fr-CA.json +3 -3
  1442. package/locales/skills/fr.json +3 -3
  1443. package/locales/skills/it.json +1 -1
  1444. package/locales/skills/ja.json +16 -16
  1445. package/locales/skills/ko.json +1 -1
  1446. package/locales/skills/pt.json +5 -5
  1447. package/locales/skills/zh-Hans.json +2 -2
  1448. package/locales/skills/zh-Hant.json +4 -4
  1449. package/locales/slides/am.json +16 -11
  1450. package/locales/slides/ar.json +16 -11
  1451. package/locales/slides/bg.json +16 -11
  1452. package/locales/slides/bn.json +16 -11
  1453. package/locales/slides/br.json +26 -21
  1454. package/locales/slides/co.json +41 -36
  1455. package/locales/slides/cs.json +16 -11
  1456. package/locales/slides/da.json +16 -11
  1457. package/locales/slides/de.json +16 -11
  1458. package/locales/slides/el.json +16 -11
  1459. package/locales/slides/en.json +20 -15
  1460. package/locales/slides/es.json +21 -16
  1461. package/locales/slides/fa.json +16 -11
  1462. package/locales/slides/fi.json +16 -11
  1463. package/locales/slides/fr-CA.json +16 -11
  1464. package/locales/slides/fr.json +16 -11
  1465. package/locales/slides/ha.json +16 -11
  1466. package/locales/slides/he.json +16 -11
  1467. package/locales/slides/hi.json +16 -11
  1468. package/locales/slides/hr.json +16 -11
  1469. package/locales/slides/hu.json +16 -11
  1470. package/locales/slides/id.json +16 -11
  1471. package/locales/slides/it.json +20 -15
  1472. package/locales/slides/ja.json +21 -16
  1473. package/locales/slides/ko.json +29 -24
  1474. package/locales/slides/mr.json +16 -11
  1475. package/locales/slides/ms.json +16 -11
  1476. package/locales/slides/nl.json +16 -11
  1477. package/locales/slides/pl.json +16 -11
  1478. package/locales/slides/pt.json +23 -18
  1479. package/locales/slides/ro.json +16 -11
  1480. package/locales/slides/ru.json +16 -11
  1481. package/locales/slides/sk.json +16 -11
  1482. package/locales/slides/sv.json +16 -11
  1483. package/locales/slides/sw.json +16 -11
  1484. package/locales/slides/ta.json +16 -11
  1485. package/locales/slides/te.json +16 -11
  1486. package/locales/slides/th.json +16 -11
  1487. package/locales/slides/tl.json +16 -11
  1488. package/locales/slides/tr.json +16 -11
  1489. package/locales/slides/uk.json +16 -11
  1490. package/locales/slides/ur.json +16 -11
  1491. package/locales/slides/vi.json +16 -11
  1492. package/locales/slides/yo.json +16 -11
  1493. package/locales/slides/zh-Hans.json +20 -15
  1494. package/locales/slides/zh-Hant.json +19 -14
  1495. package/locales/sv.json +22 -6
  1496. package/locales/sw.json +22 -6
  1497. package/locales/sync/am.json +1 -0
  1498. package/locales/sync/ar.json +1 -0
  1499. package/locales/sync/bg.json +1 -0
  1500. package/locales/sync/bn.json +1 -0
  1501. package/locales/sync/br.json +3 -2
  1502. package/locales/sync/co.json +1 -0
  1503. package/locales/sync/cs.json +1 -0
  1504. package/locales/sync/da.json +1 -0
  1505. package/locales/sync/de.json +3 -2
  1506. package/locales/sync/el.json +1 -0
  1507. package/locales/sync/en.json +1 -0
  1508. package/locales/sync/es.json +7 -6
  1509. package/locales/sync/fa.json +1 -0
  1510. package/locales/sync/fi.json +1 -0
  1511. package/locales/sync/fr-CA.json +1 -0
  1512. package/locales/sync/fr.json +1 -0
  1513. package/locales/sync/ha.json +1 -0
  1514. package/locales/sync/he.json +1 -0
  1515. package/locales/sync/hi.json +1 -0
  1516. package/locales/sync/hr.json +1 -0
  1517. package/locales/sync/hu.json +1 -0
  1518. package/locales/sync/id.json +1 -0
  1519. package/locales/sync/it.json +2 -1
  1520. package/locales/sync/ja.json +3 -2
  1521. package/locales/sync/ko.json +1 -0
  1522. package/locales/sync/mr.json +1 -0
  1523. package/locales/sync/ms.json +1 -0
  1524. package/locales/sync/nl.json +1 -0
  1525. package/locales/sync/pl.json +1 -0
  1526. package/locales/sync/pt.json +2 -1
  1527. package/locales/sync/ro.json +1 -0
  1528. package/locales/sync/ru.json +1 -0
  1529. package/locales/sync/sk.json +1 -0
  1530. package/locales/sync/sv.json +1 -0
  1531. package/locales/sync/sw.json +1 -0
  1532. package/locales/sync/ta.json +1 -0
  1533. package/locales/sync/te.json +1 -0
  1534. package/locales/sync/th.json +1 -0
  1535. package/locales/sync/tl.json +1 -0
  1536. package/locales/sync/tr.json +1 -0
  1537. package/locales/sync/uk.json +1 -0
  1538. package/locales/sync/ur.json +1 -0
  1539. package/locales/sync/vi.json +1 -0
  1540. package/locales/sync/yo.json +1 -0
  1541. package/locales/sync/zh-Hans.json +1 -0
  1542. package/locales/sync/zh-Hant.json +1 -0
  1543. package/locales/ta.json +22 -6
  1544. package/locales/tables/am.json +27 -2
  1545. package/locales/tables/ar.json +35 -2
  1546. package/locales/tables/bg.json +27 -2
  1547. package/locales/tables/bn.json +27 -2
  1548. package/locales/tables/br.json +35 -4
  1549. package/locales/tables/co.json +37 -10
  1550. package/locales/tables/cs.json +33 -4
  1551. package/locales/tables/da.json +27 -2
  1552. package/locales/tables/de.json +27 -2
  1553. package/locales/tables/el.json +27 -2
  1554. package/locales/tables/en.json +27 -2
  1555. package/locales/tables/es.json +29 -2
  1556. package/locales/tables/fa.json +27 -2
  1557. package/locales/tables/fi.json +27 -2
  1558. package/locales/tables/fr-CA.json +30 -3
  1559. package/locales/tables/fr.json +30 -3
  1560. package/locales/tables/ha.json +27 -2
  1561. package/locales/tables/he.json +31 -4
  1562. package/locales/tables/hi.json +27 -2
  1563. package/locales/tables/hr.json +29 -2
  1564. package/locales/tables/hu.json +27 -2
  1565. package/locales/tables/id.json +25 -2
  1566. package/locales/tables/it.json +29 -2
  1567. package/locales/tables/ja.json +26 -3
  1568. package/locales/tables/ko.json +27 -4
  1569. package/locales/tables/mr.json +27 -2
  1570. package/locales/tables/ms.json +25 -2
  1571. package/locales/tables/nl.json +27 -2
  1572. package/locales/tables/pl.json +31 -2
  1573. package/locales/tables/pt.json +31 -4
  1574. package/locales/tables/ro.json +29 -2
  1575. package/locales/tables/ru.json +31 -2
  1576. package/locales/tables/sk.json +33 -4
  1577. package/locales/tables/sv.json +29 -4
  1578. package/locales/tables/sw.json +27 -2
  1579. package/locales/tables/ta.json +27 -2
  1580. package/locales/tables/te.json +29 -4
  1581. package/locales/tables/th.json +25 -2
  1582. package/locales/tables/tl.json +29 -4
  1583. package/locales/tables/tr.json +27 -2
  1584. package/locales/tables/uk.json +31 -2
  1585. package/locales/tables/ur.json +27 -2
  1586. package/locales/tables/vi.json +27 -4
  1587. package/locales/tables/yo.json +27 -4
  1588. package/locales/tables/zh-Hans.json +28 -5
  1589. package/locales/tables/zh-Hant.json +28 -5
  1590. package/locales/te.json +22 -6
  1591. package/locales/th.json +21 -6
  1592. package/locales/tl.json +22 -6
  1593. package/locales/tr.json +22 -6
  1594. package/locales/uk.json +24 -6
  1595. package/locales/ur.json +22 -6
  1596. package/locales/vi.json +21 -6
  1597. package/locales/yo.json +21 -6
  1598. package/locales/you/br.json +13 -13
  1599. package/locales/you/co.json +2 -2
  1600. package/locales/you/de.json +1 -1
  1601. package/locales/you/en.json +1 -1
  1602. package/locales/you/es.json +2 -2
  1603. package/locales/you/fr-CA.json +3 -3
  1604. package/locales/you/fr.json +3 -3
  1605. package/locales/you/it.json +10 -10
  1606. package/locales/you/ja.json +9 -9
  1607. package/locales/you/pt.json +11 -11
  1608. package/locales/you/zh-Hans.json +3 -3
  1609. package/locales/you/zh-Hant.json +3 -3
  1610. package/locales/zh-Hans.json +43 -28
  1611. package/locales/zh-Hant.json +54 -39
  1612. package/package.json +5 -1
  1613. package/preview.html +8 -2
  1614. package/ui/caps.js +10 -4
  1615. package/ui/csp.js +1 -1
  1616. package/ui/export.js +10 -4
  1617. package/ui/icons.js +4 -3
  1618. package/ui/kit.js +42 -11
  1619. package/ui/language.js +172 -0
  1620. package/ui/looks/classic.css +5 -2
  1621. package/ui/looks/human.css +10 -11
  1622. package/ui/looks/mail.css +1 -1
  1623. package/ui/looks/minimal.css +1 -1
  1624. package/ui/looks.js +3 -6
  1625. package/ui/markdown.js +18 -7
  1626. package/ui/menu-icons.js +8 -5
  1627. package/ui/model.js +6 -0
  1628. package/ui/reader-state.js +2 -2
  1629. package/ui/reader.js +1 -1
  1630. package/ui/review.js +1 -1
  1631. package/ui/save.js +16 -0
  1632. package/ui/seal.js +5 -4
  1633. package/ui/sheet.js +21 -2
  1634. package/ui/style.css +63 -42
  1635. package/ui/touches.js +26 -1
  1636. package/ui/view.css +21 -2
  1637. package/ui/view.js +38 -16
  1638. package/vendor/LICENSES/babylonjs-core.txt +2 -0
  1639. package/vendor/LICENSES/eventemitter3.txt +21 -0
  1640. package/vendor/LICENSES/maplibre-gl.txt +1 -1
  1641. package/vendor/LICENSES/phaser.txt +20 -0
  1642. package/vendor/LICENSES/zzfx.txt +21 -0
  1643. package/vendor/abcjs/abcjs.mjs +2 -2
  1644. package/vendor/babylon/babylon.mjs +8122 -0
  1645. package/vendor/deck/deck.css +2 -2
  1646. package/vendor/deck/deck.mjs +37 -37
  1647. package/vendor/deck/pptx.mjs +1 -1
  1648. package/vendor/maplibre/maplibre-gl-worker.js +3 -3
  1649. package/vendor/maplibre/maplibre-gl.css +1 -1
  1650. package/vendor/maplibre/maplibre-gl.mjs +37 -37
  1651. package/vendor/marked.esm.js +40 -38
  1652. package/vendor/ooxml/abort-JztSoyw2.js +8 -0
  1653. package/vendor/ooxml/{hyperlink-Cxzhet30.js → bounded-raw-part-cache-B8t03tSP.js} +4460 -7080
  1654. package/vendor/ooxml/bundled-asset-url-BMJ8vNHP.js +13 -0
  1655. package/vendor/ooxml/canvas-viewer-mechanics-DI38gHNV.js +653 -0
  1656. package/vendor/ooxml/cfb-guard-BIaHdonq.js +516 -0
  1657. package/vendor/ooxml/{chunk-DmhlhrBa.js → chunk-D5OxutzX.js} +0 -2
  1658. package/vendor/ooxml/comment-overlay-controller-Crm5Syhx.js +974 -0
  1659. package/vendor/ooxml/{comment-ui-runtime-CWGqn5Vr.js → comment-ui-runtime-BfEPgl5r.js} +5 -7
  1660. package/vendor/ooxml/comment-ui-runtime-BtP_TpvT.js +2 -0
  1661. package/vendor/ooxml/{comment-ui-runtime-DcJOYlw-.js → comment-ui-runtime-hfewTmVJ.js} +5 -7
  1662. package/vendor/ooxml/delimited-text-worker-host-RwvuSsP2.js +21 -0
  1663. package/vendor/ooxml/document-model-source-BUTSwkyP.js +247 -0
  1664. package/vendor/ooxml/document-pull-client-C_D779tO.js +36230 -0
  1665. package/vendor/ooxml/docx-BfLZeiwa.js +3509 -0
  1666. package/vendor/ooxml/docx.mjs +7 -7
  1667. package/vendor/ooxml/docx_parser_bg.wasm +0 -0
  1668. package/vendor/ooxml/drawingml-shape-BcXkRayC.js +306 -0
  1669. package/vendor/ooxml/duotone-BI7CoghW.js +122 -0
  1670. package/vendor/ooxml/emf-DgUBx9BU.js +1788 -0
  1671. package/vendor/ooxml/font-preload-demand-B6HPFxDp.js +2052 -0
  1672. package/vendor/ooxml/graph.json +1 -1
  1673. package/vendor/ooxml/grid-geometry-CqTDvpDr.js +379 -0
  1674. package/vendor/ooxml/host-layout-Cz_lCuTZ.js +55 -0
  1675. package/vendor/ooxml/line-distribute-DR9Qwd3u.js +2783 -0
  1676. package/vendor/ooxml/{mathjax-DoyWZbSp.js → mathjax-DvwccQ8e.js} +0 -2
  1677. package/vendor/ooxml/model-source-COXegBNA.js +177 -0
  1678. package/vendor/ooxml/{pixel-budget-9P63Bsk5.js → pixel-budget-DI82Hn3R.js} +13 -12
  1679. package/vendor/ooxml/plot-area-frame-D3JtHvov.js +41645 -0
  1680. package/vendor/ooxml/pptx-CfCiVlNB.js +2888 -0
  1681. package/vendor/ooxml/pptx.mjs +8 -7
  1682. package/vendor/ooxml/pptx_parser_bg.wasm +0 -0
  1683. package/vendor/ooxml/presentation-model-source-DL6duh5l.js +75 -0
  1684. package/vendor/ooxml/raster-target-Ca3tyA0L.js +40 -0
  1685. package/vendor/ooxml/{read-only-comment-decoration-Dz7eTQ4d.js → read-only-comment-decoration-B06YO2zk.js} +0 -4
  1686. package/vendor/ooxml/{read-only-comment-margin-DkgzASAl.js → read-only-comment-margin-Ee9Y6vPg.js} +0 -2
  1687. package/vendor/ooxml/renderer-IFuBkPvF.js +5197 -0
  1688. package/vendor/ooxml/{renderer-module-contract-D91rkYHH.js → renderer-module-contract-BuTx2FWJ.js} +0 -2
  1689. package/vendor/ooxml/renderer-xdugdcMd.js +5769 -0
  1690. package/vendor/ooxml/resource-measurement-D2bu0Qfx.js +756 -0
  1691. package/vendor/ooxml/slide-pull-client-BUuJQQVE.js +6431 -0
  1692. package/vendor/ooxml/three-d-ByHGsYrX.js +868 -0
  1693. package/vendor/ooxml/tiff-contract-DEd8CGuz.js +48 -0
  1694. package/vendor/ooxml/{visible-index-BgiHEc1z.js → visible-index-vN-4BNn7.js} +0 -2
  1695. package/vendor/ooxml/workbook-model-source-DBfVsWj7.js +92 -0
  1696. package/vendor/ooxml/worker-source-C29EQNUj.js +18 -0
  1697. package/vendor/ooxml/worker-source-D3NwPe6l.js +18 -0
  1698. package/vendor/ooxml/worker-source-ZQE9C1j6.js +18 -0
  1699. package/vendor/ooxml/worksheet-pull-client-Du0MuIro.js +565 -0
  1700. package/vendor/ooxml/xlsx-CCMRAxPB.js +5812 -0
  1701. package/vendor/ooxml/xlsx.mjs +8 -7
  1702. package/vendor/ooxml/xlsx_parser_bg.wasm +0 -0
  1703. package/vendor/pele/chunks/2CHDFZHC.js +1 -0
  1704. package/vendor/pele/chunks/{GAP5KXLD.js → 2S3JPEOY.js} +1 -1
  1705. package/vendor/pele/chunks/2U463FD2.js +11 -0
  1706. package/vendor/pele/chunks/3OKCTCH7.js +1 -0
  1707. package/vendor/pele/chunks/42UK3TL6.js +8 -0
  1708. package/vendor/pele/chunks/43YPWK3Q.js +1 -0
  1709. package/vendor/pele/chunks/45MVAN6X.js +1 -0
  1710. package/vendor/pele/chunks/46GJKBLZ.js +1 -0
  1711. package/vendor/pele/chunks/4WR52FRP.js +4 -0
  1712. package/vendor/pele/chunks/63WH7YNF.js +1 -0
  1713. package/vendor/pele/chunks/{2TH3V34D.js → 673H7YBG.js} +1 -1
  1714. package/vendor/pele/chunks/6DDU7VKX.js +1 -0
  1715. package/vendor/pele/chunks/{3MKGV5HX.js → 6Y6FML25.js} +1 -1
  1716. package/vendor/pele/chunks/{4AG6A4TK.js → 7HQPULDG.js} +1 -1
  1717. package/vendor/pele/chunks/7N3VAIG2.js +2 -0
  1718. package/vendor/pele/chunks/{QFOMM5LR.js → 7NY54ILO.js} +1 -1
  1719. package/vendor/pele/chunks/{VHJMZXCQ.js → BJNHMTN6.js} +1 -1
  1720. package/vendor/pele/chunks/{6PEWY3TN.js → BK7N5KMP.js} +1 -1
  1721. package/vendor/pele/chunks/CLQLV5VT.js +1 -0
  1722. package/vendor/pele/chunks/CUSPXG5M.js +1 -0
  1723. package/vendor/pele/chunks/D3L7O4X2.js +1 -0
  1724. package/vendor/pele/chunks/{D4V2MWCI.js → D5TW5CPZ.js} +1 -1
  1725. package/vendor/pele/chunks/DDVFZY3L.js +7 -0
  1726. package/vendor/pele/chunks/{3S2YGJBL.js → DO6ND2WD.js} +5 -5
  1727. package/vendor/pele/chunks/EGADTWYV.js +1 -0
  1728. package/vendor/pele/chunks/EI4VGK5C.js +4 -0
  1729. package/vendor/pele/chunks/EOJSJZXM.js +1 -0
  1730. package/vendor/pele/chunks/F4O23KYR.js +5 -0
  1731. package/vendor/pele/chunks/G2OEIG6X.js +1 -0
  1732. package/vendor/pele/chunks/GER2CN75.js +2 -0
  1733. package/vendor/pele/chunks/{RGVCULFG.js → GP5YUCAR.js} +1 -1
  1734. package/vendor/pele/chunks/GXJ2T77W.js +1 -0
  1735. package/vendor/pele/chunks/HX3UMAK7.js +1 -0
  1736. package/vendor/pele/chunks/IU7WZTP6.js +4 -0
  1737. package/vendor/pele/chunks/J3JF2HV4.js +12 -0
  1738. package/vendor/pele/chunks/J5J2NR2G.js +1 -0
  1739. package/vendor/pele/chunks/JRCWTJEL.js +1 -0
  1740. package/vendor/pele/chunks/{M7II5KMO.js → K2ZHGJKH.js} +1 -1
  1741. package/vendor/pele/chunks/{E3FWOBN4.js → KHUP5TOH.js} +3 -3
  1742. package/vendor/pele/chunks/L74FQTH5.js +1 -0
  1743. package/vendor/pele/chunks/LAV4ZXOS.js +1 -0
  1744. package/vendor/pele/chunks/LBIZYCRR.js +1 -0
  1745. package/vendor/pele/chunks/LFFXNLRS.js +1 -0
  1746. package/vendor/pele/chunks/LJ44NU43.js +3 -0
  1747. package/vendor/pele/chunks/LLLWOAQD.js +1 -0
  1748. package/vendor/pele/chunks/LTY5LMQH.js +5 -0
  1749. package/vendor/pele/chunks/LTYQZ5U5.js +1 -0
  1750. package/vendor/pele/chunks/MJBOF5Q6.js +2 -0
  1751. package/vendor/pele/chunks/NDSCUZ25.js +1 -0
  1752. package/vendor/pele/chunks/NMN3IKWL.js +1 -0
  1753. package/vendor/pele/chunks/NMUA3R2D.js +1 -0
  1754. package/vendor/pele/chunks/NY5A6PPW.js +1 -0
  1755. package/vendor/pele/chunks/O3ACPFEJ.js +8 -0
  1756. package/vendor/pele/chunks/{A6VFOGAO.js → O4MQT6AV.js} +1 -1
  1757. package/vendor/pele/chunks/{DUZNPW7S.js → OHJ2EJXK.js} +1 -1
  1758. package/vendor/pele/chunks/OU2GIT2H.js +1 -0
  1759. package/vendor/pele/chunks/{E65FQMJL.js → PDMLSE6I.js} +1 -1
  1760. package/vendor/pele/chunks/PJ7X32S5.js +1 -0
  1761. package/vendor/pele/chunks/RLLQ44NJ.js +1 -0
  1762. package/vendor/pele/chunks/S6DWMCK5.js +1 -0
  1763. package/vendor/pele/chunks/STIOTUT7.js +1 -0
  1764. package/vendor/pele/chunks/{UO52YEYL.js → SXSLPWUD.js} +1 -1
  1765. package/vendor/pele/chunks/TBJXKAT4.js +3 -0
  1766. package/vendor/pele/chunks/TIVX74RS.js +2 -0
  1767. package/vendor/pele/chunks/{KIF544NL.js → TK23BXEA.js} +1 -1
  1768. package/vendor/pele/chunks/{STAXBNH4.js → TR4WJQGX.js} +1 -1
  1769. package/vendor/pele/chunks/UWRPUF3N.js +1 -0
  1770. package/vendor/pele/chunks/VMTWYMKQ.js +2 -0
  1771. package/vendor/pele/chunks/VSWIZJ7B.js +1 -0
  1772. package/vendor/pele/chunks/{STMK7JZH.js → W2WY5CQX.js} +2 -2
  1773. package/vendor/pele/chunks/W77N5H3K.js +2 -0
  1774. package/vendor/pele/chunks/WM7NR6YK.js +1 -0
  1775. package/vendor/pele/chunks/WSTWNLCU.js +4 -0
  1776. package/vendor/pele/chunks/WXKV2YEK.js +1 -0
  1777. package/vendor/pele/chunks/XQ5S3AI3.js +13 -0
  1778. package/vendor/pele/chunks/YNX532HU.js +1 -0
  1779. package/vendor/pele/chunks/{DHKBVIA3.js → YUPSMAUO.js} +1 -1
  1780. package/vendor/pele/chunks/{IHVFDU4A.js → YWXUFHC7.js} +7 -7
  1781. package/vendor/pele/chunks/Z3ZRV7NH.js +2 -0
  1782. package/vendor/pele/chunks/ZFRCZTLK.js +1 -0
  1783. package/vendor/pele/chunks/ZZDR4CN3.js +1 -0
  1784. package/vendor/pele/lazy.js +1 -1
  1785. package/vendor/phaser/phaser.mjs +1 -0
  1786. package/vendor/signals-core.mjs +1 -1
  1787. package/vendor/spessasynth/fflate.mjs +1 -0
  1788. package/vendor/spessasynth/spessasynth.mjs +37033 -15099
  1789. package/vendor/temml/temml.mjs +1 -1
  1790. package/vendor/zzfx/zzfx.mjs +1 -0
  1791. package/ui/acts.js +0 -12
  1792. package/ui/looks/mondrian.css +0 -90
  1793. package/ui/looks/paper.css +0 -51
  1794. package/vendor/ooxml/bounded-raw-part-cache-Cg1BsSZQ.js +0 -119
  1795. package/vendor/ooxml/canvas-viewer-mechanics-DbLz0rYW.js +0 -1384
  1796. package/vendor/ooxml/cjk-fallback-bLI3z70h.js +0 -46
  1797. package/vendor/ooxml/comment-occurrence-C8Y2uoVr.js +0 -6
  1798. package/vendor/ooxml/comment-ui-runtime-BsK8pmUT.js +0 -2
  1799. package/vendor/ooxml/comments-Diid5ujN.js +0 -246
  1800. package/vendor/ooxml/delimited-text-worker-host-BVY-Ecni.js +0 -25
  1801. package/vendor/ooxml/document-pull-client-B9PTM-pL.js +0 -27280
  1802. package/vendor/ooxml/docx-BF9WXrYH.js +0 -3101
  1803. package/vendor/ooxml/dom-interaction-boundary-Cnm8DSBN.js +0 -223
  1804. package/vendor/ooxml/highlight-rect-C5hkRqUr.js +0 -13
  1805. package/vendor/ooxml/line-distribute-D1WNHKz_.js +0 -1023
  1806. package/vendor/ooxml/line-metrics-B60C86uh.js +0 -60
  1807. package/vendor/ooxml/plot-area-frame-DLTYKHNP.js +0 -4354
  1808. package/vendor/ooxml/pptx-DkyYBYoL.js +0 -3063
  1809. package/vendor/ooxml/raster-target-ojDdQizC.js +0 -91
  1810. package/vendor/ooxml/renderer-B4GZb5We.js +0 -6492
  1811. package/vendor/ooxml/resource-measurement-SHQCbkh2.js +0 -150
  1812. package/vendor/ooxml/slide-pull-client-DiPnm240.js +0 -6253
  1813. package/vendor/ooxml/source-key-DIJG8BA0.js +0 -42
  1814. package/vendor/ooxml/three-d-DJBl8g8M.js +0 -1162
  1815. package/vendor/ooxml/transfer-p6iCC2R7.js +0 -6
  1816. package/vendor/ooxml/units-BzZ0gAxs.js +0 -4
  1817. package/vendor/ooxml/worksheet-pull-client-BM8ywvbu.js +0 -458
  1818. package/vendor/ooxml/xlsx-C9NVjgaV.js +0 -8482
  1819. package/vendor/pele/chunks/23I4SOAX.js +0 -1
  1820. package/vendor/pele/chunks/25ITEZ43.js +0 -2
  1821. package/vendor/pele/chunks/26H2HVXD.js +0 -1
  1822. package/vendor/pele/chunks/2IZ5MNOH.js +0 -1
  1823. package/vendor/pele/chunks/2P3CZEXH.js +0 -1
  1824. package/vendor/pele/chunks/3E5HRNYT.js +0 -1
  1825. package/vendor/pele/chunks/3JIRLDUO.js +0 -1
  1826. package/vendor/pele/chunks/5MJ3UKSG.js +0 -1
  1827. package/vendor/pele/chunks/63N73SV4.js +0 -1
  1828. package/vendor/pele/chunks/A255FCTW.js +0 -1
  1829. package/vendor/pele/chunks/AM43MQ64.js +0 -1
  1830. package/vendor/pele/chunks/AOZTNTMC.js +0 -1
  1831. package/vendor/pele/chunks/AQNLM6KG.js +0 -1
  1832. package/vendor/pele/chunks/BNU2RHQB.js +0 -1
  1833. package/vendor/pele/chunks/C5HTQT3I.js +0 -4
  1834. package/vendor/pele/chunks/CPKRWH5G.js +0 -1
  1835. package/vendor/pele/chunks/CPRVZL76.js +0 -11
  1836. package/vendor/pele/chunks/CUVCMPQX.js +0 -1
  1837. package/vendor/pele/chunks/D6K5RLPD.js +0 -5
  1838. package/vendor/pele/chunks/EENBF6R3.js +0 -5
  1839. package/vendor/pele/chunks/G3OATVW2.js +0 -1
  1840. package/vendor/pele/chunks/GFBBR3DD.js +0 -13
  1841. package/vendor/pele/chunks/IV52FOAS.js +0 -1
  1842. package/vendor/pele/chunks/JTJEEBDN.js +0 -1
  1843. package/vendor/pele/chunks/JX3HYMZ6.js +0 -8
  1844. package/vendor/pele/chunks/K3TAFXGN.js +0 -3
  1845. package/vendor/pele/chunks/K7FUICZ3.js +0 -1
  1846. package/vendor/pele/chunks/LHH2HHRB.js +0 -1
  1847. package/vendor/pele/chunks/LT5IS45C.js +0 -2
  1848. package/vendor/pele/chunks/MSPQPZZY.js +0 -1
  1849. package/vendor/pele/chunks/NY2EJWPH.js +0 -2
  1850. package/vendor/pele/chunks/OB6ZFVKF.js +0 -1
  1851. package/vendor/pele/chunks/OJBDHQO2.js +0 -4
  1852. package/vendor/pele/chunks/PLTZDMI2.js +0 -1
  1853. package/vendor/pele/chunks/R7EPXMMD.js +0 -1
  1854. package/vendor/pele/chunks/S4GSSVLN.js +0 -3
  1855. package/vendor/pele/chunks/SPBWZ4VS.js +0 -1
  1856. package/vendor/pele/chunks/SR7OOV3Q.js +0 -1
  1857. package/vendor/pele/chunks/STXEMZPJ.js +0 -2
  1858. package/vendor/pele/chunks/SXFARSFO.js +0 -1
  1859. package/vendor/pele/chunks/TC77ISAL.js +0 -1
  1860. package/vendor/pele/chunks/TXE3YXUM.js +0 -2
  1861. package/vendor/pele/chunks/TYIQQHVC.js +0 -1
  1862. package/vendor/pele/chunks/TZUXETIT.js +0 -1
  1863. package/vendor/pele/chunks/U7N72BGE.js +0 -1
  1864. package/vendor/pele/chunks/UFPIB6EZ.js +0 -1
  1865. package/vendor/pele/chunks/V52Z4AG3.js +0 -4
  1866. package/vendor/pele/chunks/VBDLARNP.js +0 -4
  1867. package/vendor/pele/chunks/VIK3ONSK.js +0 -1
  1868. package/vendor/pele/chunks/VPGC3RUM.js +0 -7
  1869. package/vendor/pele/chunks/VVVO4ZVP.js +0 -1
  1870. package/vendor/pele/chunks/WRGXZO53.js +0 -1
  1871. package/vendor/pele/chunks/X5SG7MGC.js +0 -1
  1872. package/vendor/pele/chunks/XXYPNCD5.js +0 -1
  1873. package/vendor/pele/chunks/XZO3CX7R.js +0 -12
  1874. package/vendor/pele/chunks/YZBJM2QT.js +0 -2
  1875. package/vendor/pele/chunks/YZHV477W.js +0 -2
  1876. package/vendor/pele/chunks/Z6WRYFJC.js +0 -1
  1877. package/vendor/pele/chunks/ZI2QNEGF.js +0 -8
package/brand.js CHANGED
@@ -1,14 +1,16 @@
1
1
  // The only place the name lives. Display only: never use it in storage keys,
2
2
  // file paths, cache names, CSS classes or element names (see AGENTS.md).
3
- export const BRAND = Object.freeze({
3
+ export const BRAND = Object.seal({
4
4
  name: 'Jean',
5
5
  domain: 'jean.is',
6
6
  })
7
7
 
8
- // The brand's site's pages the app links to, by language (site/, D538), held to site/'s by test/home.test.js.
8
+ // The brand's site's pages the app links to, by language (site/), held to site/'s by test/home.test.js.
9
9
  export const PAGES = Object.freeze({
10
10
  home: { en: '', ar: 'ar', fr: 'fr', ja: 'ja', ko: 'ko' },
11
11
  help: { en: 'help', fr: 'fr/aide' },
12
+ 'site-map': { en: 'site-map', fr: 'fr/plan-du-site' },
12
13
  'help/key-refused': { en: 'help/key-refused', fr: 'fr/aide/cle-refusee' },
13
14
  'help/couldnt-reach': { en: 'help/couldnt-reach', fr: 'fr/aide/injoignable' },
15
+ 'help/plan-stopped': { en: 'help/plan-stopped', fr: 'fr/aide/forfait-arrete' },
14
16
  })
@@ -1,10 +1,13 @@
1
1
  /* Charts (D196): the chart in its frame, Copy at its top corner, shown on hover. */
2
2
  app-chart { position: relative; }
3
- app-chart .chart { block-size: clamp(15rem, 55vw, 22rem); }
3
+ /* `dir="ltr"` on the box keeps ECharts' anchors in place. In SVG (on a slide), each word then reads from its first letter, or a mixed one would flip; on a canvas, by `sideOf()`. */
4
+ app-chart .chart { block-size: clamp(15rem, 55vw, 22rem); } app-chart .chart > div { transform-origin: 0 0; } app-chart .chart text { unicode-bidi: plaintext; }
4
5
  app-chart .drawn-foot { position: absolute; z-index: 1; inset-block-start: 0.4rem; inset-inline-end: 0.4rem; transition: opacity 0.2s; }
5
6
  app-chart .drawn-foot .icon-button { background: var(--glass); }
6
7
  @media (hover: hover) { app-chart:not(:hover, :focus-within) .drawn-foot { opacity: 0; } }
7
- @media print { app-chart .drawn-foot { display: none; } }
8
+ @media print { app-chart :is(.drawn-foot, .chart-data) { display: none; } }
9
+ .chart-data { margin-block-start: 0.35rem; font-size: 0.875rem; } .chart-data summary { color: var(--ink-soft); cursor: pointer; }
10
+ .deck-slide .chart-data { position: absolute; z-index: 2; inset-block-end: 0; inset-inline-start: 0; font-size: 0.75rem; } .deck-slide .chart-data[open] { inset: 0; overflow: auto; padding: 0.5rem; background: var(--room); }
8
11
  /* While the answer is written, the chart's place; once it's written, why there is none. */
9
12
  app-chart .drawn-status { margin: 0 0 0.6rem; }
10
13
  .is-streaming app-chart .drawn-status { display: grid; place-items: center; min-block-size: clamp(15rem, 55vw, 22rem); margin: 0; }
@@ -1,10 +1,10 @@
1
1
  // Charts (D196): a ```echarts block in an answer, drawn by ECharts on a canvas, with the theme's
2
- // light or dark, the room's type and numbers in the user's language; drawn again as its box, the
2
+ // light or dark (on a slide, its paper's), the room's type and numbers in the user's language; drawn again as its box, the
3
3
  // theme, the look or the language changes; copied as its source and its picture, on light paper,
4
4
  // at once. The block is data (./option.js). While it is written, what is whole of it so far is
5
5
  // drawn, and the chart grows as more comes. Loaded by the first chart an answer holds; until then,
6
6
  // or when it isn't a chart, it shows as code.
7
- import { html, render } from 'lit-html'
7
+ import { html, nothing, render } from 'lit-html'
8
8
  import { effect } from '@preact/signals-core'
9
9
  import { app, theme, notify } from '../../ui/state.js'
10
10
  import { copyDrawing } from '../../ui/save.js'
@@ -12,18 +12,17 @@ import { drawn } from '../../ui/markdown.js'
12
12
  import { drawnActions } from '../../ui/caps.js'
13
13
  import { icons } from '../../ui/icons.js'
14
14
  import { styleSheet, still } from '../../ui/sheet.js'
15
- import { t, locale, intlLocales, useStrings } from '../../core/i18n.js'
16
- import { readOption, localize, titleOf } from './option.js'
15
+ import { t, dir, locale, intlLocales, useStrings } from '../../core/i18n.js'
16
+ import { readOption, localize, titleOf, namesIn, paperTheme, paperLabels, sideOf } from './option.js'
17
17
 
18
18
  /** @typedef {import('./option.js').Option} Option */
19
19
 
20
- const [echarts] = await Promise.all([
21
- import(new URL('../../vendor/echarts/echarts.mjs', import.meta.url).href),
22
- useStrings('charts'),
23
- styleSheet(new URL('charts.css', import.meta.url)),
24
- ])
20
+ const [echarts] = await Promise.all([import(new URL('../../vendor/echarts/echarts.mjs', import.meta.url).href), useStrings('charts'), styleSheet(new URL('charts.css', import.meta.url))])
25
21
 
26
- const contrast = matchMedia('(prefers-contrast: more), (forced-colors: active)')
22
+ const [contrast, forced] = [matchMedia('(prefers-contrast: more)'), matchMedia('(forced-colors: active)')]
23
+ let charts = 0
24
+ // Escape hides a tip.
25
+ addEventListener('keydown', (event) => { if (event.key === 'Escape') for (const one of document.querySelectorAll('app-chart')) /** @type {any} */ (one).chart?.dispatchAction({ type: 'hideTip' }) })
27
26
 
28
27
  /**
29
28
  * The option as drawn here: numbers in the user's language, the room's type, no animation for
@@ -35,13 +34,23 @@ function dressed(option, font) {
35
34
  ...localize(option, new Intl.NumberFormat(intlLocales(locale.peek())).format),
36
35
  textStyle: { fontFamily: font, ...option.textStyle },
37
36
  ...(still() && { animation: false }),
38
- ...(contrast.matches && { aria: { enabled: true, decal: { show: true } } }),
37
+ ...((forced.matches || ({ more: true, usual: false }[document.documentElement.dataset.contrast ?? ''] ?? contrast.matches)) && { aria: { enabled: true, decal: { show: true } } }),
39
38
  }
40
39
  }
41
40
 
41
+ /** A chart's numbers as a table, its categories down the side and a column for each series; its source where it has neither. @param {any} option @param {string} source */
42
+ function figures(option, source) {
43
+ const series = [option.series].flat().filter((one) => Array.isArray(one?.data)), axis = [option.xAxis, option.yAxis].flat().find((one) => Array.isArray(one?.data))?.data, value = (/** @type {any} */ one) => [one?.value ?? one].flat().join(', '), rows = Math.max(0, ...series.map((one) => one.data.length))
44
+ const links = [option.series].flat().flatMap((one) => one?.links ?? one?.edges ?? []), set = [option.dataset].flat()[0]?.source; if (links.length) return html`<ul>${links.map((/** @type {any} */ one) => html`<li dir="auto">${one.source} → ${one.target}${one.value == null ? '' : ` (${one.value})`}</li>`)}</ul>`
45
+ if (Array.isArray(set?.[0])) return html`<div class="table" tabindex="0"><table><thead><tr>${set[0].map((/** @type {any} */ head) => html`<th scope="col" dir="auto">${head}</th>`)}</tr></thead><tbody>${set.slice(1).map((/** @type {any[]} */ row) => html`<tr>${row.map((one, i) => (i ? html`<td>${one}</td>` : html`<th scope="row" dir="auto">${one}</th>`))}</tr>`)}</tbody></table></div>`
46
+ return rows ? html`<div class="table" tabindex="0"><table><thead><tr><td></td>${series.map((one) => html`<th scope="col" dir="auto">${one.name ?? titleOf(option)}</th>`)}</tr></thead><tbody>${Array.from({ length: rows }, (_, i) => html`<tr><th scope="row" dir="auto">${value(axis?.[i] ?? series[0].data[i]?.name ?? i + 1)}</th>${series.map((one) => html`<td>${value(one.data[i])}</td>`)}</tr>`)}</tbody></table></div>` : html`<pre dir="ltr" tabindex="0">${source}</pre>`
47
+ }
48
+
42
49
  class AppChart extends HTMLElement {
43
50
  /** `open` while its block's closing fence isn't written yet: the answer is still writing it. */
44
51
  static observedAttributes = ['source', 'open']
52
+ /** Its figures' id, which its picture is described by. */
53
+ wordsId = `chart-words-${++charts}`
45
54
  /** @type {any} ECharts' instance, while a chart is drawn */
46
55
  chart = null
47
56
  /** @type {Option | null} what it draws */
@@ -53,7 +62,7 @@ class AppChart extends HTMLElement {
53
62
  /** @type {string | null} what the block held when last drawn while open, which more of it grows from */
54
63
  growing = null
55
64
  frame = 0
56
- sized = new ResizeObserver(() => this.chart?.resize())
65
+ sized = new ResizeObserver(() => this.chart && this.fit())
57
66
  /** @type {(() => void) | undefined} */
58
67
  unwatch
59
68
 
@@ -76,19 +85,17 @@ class AppChart extends HTMLElement {
76
85
  this.growing = null
77
86
  }
78
87
 
79
- attributeChangedCallback() {
80
- if (this.isConnected) this.draw()
81
- }
88
+ attributeChangedCallback() { if (this.isConnected) this.draw() }
82
89
 
83
90
  draw() {
84
91
  const source = this.getAttribute('source') ?? ''
85
92
  const open = this.hasAttribute('open')
86
- const look = [theme.peek(), app.look.peek(), locale.peek()].join('\n')
93
+ const paper = this.paper(), look = [theme.peek(), app.look.peek(), locale.peek(), paper?.textStyle.color].join('\n')
87
94
  const key = [look, open, source].join('\n')
88
95
  if (key === this.drawn) return
89
96
  this.drawn = key
90
- // More of a block being written goes on the chart already drawn.
91
- const more = Boolean(this.chart) && this.made === look && this.growing !== null && source.startsWith(this.growing)
97
+ // More of a block being written, or a page's chart that follows its form (`live`, D670), goes on the chart already drawn.
98
+ const more = Boolean(this.chart) && this.made === look && (this.hasAttribute('live') || (this.growing !== null && source.startsWith(this.growing)))
92
99
  this.growing = open ? source : null
93
100
  const option = readOption(source, open)
94
101
  // Nothing whole has come since: what is drawn stays.
@@ -103,10 +110,11 @@ class AppChart extends HTMLElement {
103
110
  if (!option || !box) return
104
111
  try {
105
112
  // In SVG on a slide (`svg`), which a deck saved as PowerPoint reads as it is drawn (D593).
106
- this.chart ??= echarts.init(box, theme.peek() === 'dark' ? 'dark' : undefined, { renderer: this.hasAttribute('svg') ? 'svg' : 'canvas' })
113
+ this.chart ??= echarts.init(box, paper ?? (theme.peek() === 'dark' ? 'dark' : undefined), { renderer: this.hasAttribute('svg') ? 'svg' : 'canvas' })
114
+ if (!more) this.fit()
107
115
  this.made = look
108
116
  // Without animation while it grows: each would start again with the next few values.
109
- this.chart.setOption({ ...dressed(option, getComputedStyle(this).fontFamily), ...(open && { animation: false }) })
117
+ this.chart.setOption({ ...dressed(paper ? { ...option, series: paperLabels(option.series, paper.textStyle.color) } : option, getComputedStyle(this).fontFamily), ...(open && { animation: false }) })
110
118
  this.sized.observe(box)
111
119
  } catch (error) {
112
120
  // Half an option may not draw yet; a whole one that doesn't is worth a word.
@@ -117,16 +125,36 @@ class AppChart extends HTMLElement {
117
125
  }
118
126
  }
119
127
 
128
+ /** On a slide (`svg`), ECharts' theme for the paper under the chart, which a tile or a part may have over the slide's. */
129
+ paper() {
130
+ if (!this.hasAttribute('svg')) return null
131
+ /** @type {Element} */
132
+ let under = this
133
+ while (under.parentElement && !getComputedStyle(under).backgroundColor.startsWith('rgb(')) under = under.parentElement
134
+ return paperTheme(getComputedStyle(this).color, getComputedStyle(under).backgroundColor)
135
+ }
136
+
137
+ /**
138
+ * The chart to its box. On a slide (`svg`), drawn at a size of its own and scaled up to it, so that its words, lines and margins
139
+ * grow with the slide's as they all do, at any size of slide: ECharts' 12px as six tenths of the slide's type, or less in a short
140
+ * box (a tile, a node), for it never to be drawn under the 240px high that ECharts' margins, fixed in height, leave its marks room in.
141
+ */
142
+ fit() {
143
+ const box = /** @type {HTMLElement} */ (this.querySelector('.chart')), scale = this.hasAttribute('svg') ? Math.min(parseFloat(getComputedStyle(box).fontSize) / 20, box.clientHeight / 240) : 1
144
+ this.chart.resize({ width: box.clientWidth / scale, height: box.clientHeight / scale })
145
+ box.querySelector('div')?.style.setProperty('scale', String(scale))
146
+ }
147
+
120
148
  /** @param {string} source @param {Option | null} option */
121
149
  paint(source, option) {
122
- const title = option ? titleOf(option) : ''
123
- render(option ? html`<div class="chart" dir="ltr" role="img" aria-label=${title || t('charts.chart')}></div>
124
- <div class="drawn-foot">
150
+ const title = option ? titleOf(option) : '', names = option ? namesIn(option) : []
151
+ render(option ? html`<div class="chart" dir="ltr" role="img" aria-describedby=${this.wordsId} lang=${title ? nothing : locale.value} aria-label=${title || (names.length ? t('charts.of', { names: new Intl.ListFormat(intlLocales(), { type: 'unit' }).format(names) }) : t('charts.chart'))}></div>
152
+ <div class="drawn-foot" lang=${locale.value}>
125
153
  <button class="icon-button subtle" aria-label=${t('action.copy')}
126
- @click=${() => copyDrawing(source, this.picture()).then(() => notify(t('toast.copied')), () => notify(t('made.copyFailed')))}>${icons.copy}</button>
154
+ @click=${() => copyDrawing(source, this.picture()).then(() => notify(t('toast.copied')), () => notify(t('made.copyFailed'), { alert: true }))}>${icons.copy}</button>
127
155
  ${drawnActions('echarts', source)}
128
- </div>`
129
- : html`<p class="drawn-status muted small" role="status"><span class="while">${t('charts.drawing')}</span><span class="failed">${t('charts.failed')}</span></p>
156
+ </div><details class="chart-data" id=${this.wordsId}><summary lang=${locale.value} dir=${dir()}>${t('charts.data')}</summary>${figures(option, source)}</details>`
157
+ : html`<p class="drawn-status muted small" role="status"><span class="while">${t('charts.drawing')}</span><span class="failed" role="alert">${t('charts.failed')}</span></p>
130
158
  <pre dir="ltr" tabindex="0"><code>${source}</code></pre>`, this)
131
159
  }
132
160
 
@@ -136,8 +164,7 @@ class AppChart extends HTMLElement {
136
164
  * @returns {Promise<Blob>}
137
165
  */
138
166
  async picture() {
139
- const { option } = this
140
- const box = this.querySelector('.chart')
167
+ const { option } = this, box = this.querySelector('.chart')
141
168
  if (!option || !box) throw new Error('No chart')
142
169
  const paper = echarts.init(document.createElement('div'), undefined, { renderer: 'canvas', width: box.clientWidth, height: box.clientHeight })
143
170
  try {
@@ -150,5 +177,8 @@ class AppChart extends HTMLElement {
150
177
  }
151
178
  }
152
179
 
180
+ // A canvas draws its words in the one direction it is given: each is given its own, for the box's `dir="ltr"` not to flip a mixed one (in SVG: charts.css).
181
+ echarts.setPlatformAPI({ createCanvas() { const canvas = document.createElement('canvas'), context = /** @type {any} */ (canvas.getContext('2d')); for (const draw of /** @type {const} */ (['fillText', 'strokeText'])) context[draw] = (/** @type {string} */ word, /** @type {[number, number]} */ ...at) => { context.direction = sideOf(word); CanvasRenderingContext2D.prototype[draw].call(context, word, ...at) }; return canvas } })
182
+
153
183
  customElements.define('app-chart', AppChart)
154
184
  drawn.value = { ...drawn.peek(), echarts: (source, open) => html`<app-chart source=${source} ?open=${open}></app-chart>` }
@@ -31,12 +31,13 @@ export function readOption(source, open = false) {
31
31
  const one = (/** @type {any} */ item) => (Array.isArray(item) && item.length === 1 ? item[0] : Array.isArray(item?.value) && item.value.length === 1 ? { ...item, value: item.value[0] } : item)
32
32
  for (const series of all(option.series)) if (/^(bar|line)$/.test(series?.type) && Array.isArray(series.data)) series.data = series.data.map(one)
33
33
  delete option.toolbox
34
+ for (const legend of all(option.legend)) legend.selectedMode = false
34
35
  option.backgroundColor = 'transparent'
35
36
  for (const title of all(option.title)) {
36
37
  delete title.link
37
38
  delete title.sublink
38
39
  }
39
- const tooltip = (/** @type {Option} */ given) => ({ ...given, renderMode: 'richText' })
40
+ const tooltip = (/** @type {Option} */ given) => ({ ...given, renderMode: 'richText', triggerOn: 'click' })
40
41
  option.tooltip = Array.isArray(option.tooltip) ? option.tooltip.map(tooltip) : tooltip(option.tooltip)
41
42
  return option
42
43
  }
@@ -121,6 +122,9 @@ export function soFar(source) {
121
122
  return end ? source.slice(0, end) + closing : ''
122
123
  }
123
124
 
125
+ /** A word's direction by its first letter, in the scripts written right to left (Hebrew, Arabic, Syriac, Thaana, N'Ko, their forms), as `unicode-bidi: plaintext` finds it; left to right without one. @param {string} word @returns {'rtl' | 'ltr'} */
126
+ export const sideOf = (word) => (/[\u0590-\u08FF\uFB1D-\uFDFF\uFE70-\uFEFF]/.test(/\p{L}/u.exec(word)?.[0] ?? '') ? 'rtl' : 'ltr')
127
+
124
128
  /**
125
129
  * Numbers as the user's language writes them, on value axes and in tooltips, unless the chart
126
130
  * gives its own formatter. A y axis is a value axis, and an x axis a category one, unless they say.
@@ -137,5 +141,28 @@ export function localize(option, format) {
137
141
  return option
138
142
  }
139
143
 
144
+ /**
145
+ * ECharts' theme on a slide, whose paper isn't the room's: every word in the slide's colour where that reads on the paper under
146
+ * the chart at AA, else in black or white, whichever does. A theme, so that what the chart names itself stays. Colours as CSS
147
+ * computes them, `rgb(…)`. @param {string} words @param {string} paper
148
+ */
149
+ export function paperTheme(words, paper) {
150
+ const luminance = (/** @type {string} */ colour) => (colour.match(/[\d.]+/g) ?? []).slice(0, 3).map((c) => Number(c) / 255).map((s) => (s <= 0.04045 ? s / 12.92 : ((s + 0.055) / 1.055) ** 2.4)).reduce((sum, s, i) => sum + s * [0.2126, 0.7152, 0.0722][i], 0)
151
+ const under = luminance(paper), over = luminance(words), dark = under < 0.179
152
+ const color = (Math.max(under, over) + 0.05) / (Math.min(under, over) + 0.05) >= 4.5 ? words : dark ? 'rgb(255, 255, 255)' : 'rgb(0, 0, 0)'
153
+ const axis = { axisLine: { lineStyle: { color } }, axisLabel: { color }, splitLine: { lineStyle: { color: color.replace('rgb(', 'rgba(').replace(')', ', 0.2)') } } }
154
+ return { darkMode: dark, textStyle: { color }, title: { textStyle: { color }, subtextStyle: { color } }, legend: { textStyle: { color }, pageTextStyle: { color } }, visualMap: { textStyle: { color } }, dataZoom: { textStyle: { color } }, timeline: { label: { color } },
155
+ calendar: { dayLabel: { color }, monthLabel: { color }, yearLabel: { color } }, matrix: { x: { label: { color } }, y: { label: { color } } }, gauge: { title: { color }, axisLabel: { color }, detail: { color } }, radar: { ...axis, axisName: { color } }, categoryAxis: axis, valueAxis: axis, timeAxis: axis, logAxis: axis }
156
+ }
157
+
158
+ /** The series with their labels in `color` where they stand on the paper, not on their marks, as a bar's do unless it says. @param {unknown} series @param {string} color */
159
+ export const paperLabels = (series, color) => all(series).map((one) => (/in|center/.test(one.label?.position ?? (/^(bar|pictorialBar|heatmap|treemap|sunburst|graph|map)$/.test(one.type) ? 'in' : '')) ? one : { ...one, label: { color, ...one.label } }))
160
+
140
161
  /** What a chart is called: its first title. @param {Option} option */
141
162
  export const titleOf = (option) => String(all(option.title).find((title) => title.text)?.text ?? '')
163
+
164
+ /** What a chart with no title shows, to name it by: its series, else what its series or axes list. @param {Option} option @returns {string[]} */
165
+ export function namesIn(option) {
166
+ const series = all(option.series), named = series.map((one) => one?.name).filter(Boolean), listed = [...series.flatMap((one) => (Array.isArray(one?.data) ? one.data.map((/** @type {any} */ item) => item?.name) : [])), ...[option.xAxis, option.yAxis].flat().flatMap((axis) => axis?.data ?? [])]
167
+ return [...new Set((named.length ? named : listed).filter((name) => name && typeof name === 'string'))].slice(0, 5)
168
+ }
@@ -1,4 +1,4 @@
1
- // MIDI files (D197): no browser plays one, so Jean does. Its notes are read here, then played by a
1
+ // MIDI files: no browser plays one, so Jean does. Its notes are read here, then played by a
2
2
  // small synthesizer of Jean's own through the Web Audio API, faster than they last, into a WAV that
3
3
  // the page's own player plays, with its seeking and its volume. No instruments fetched from another
4
4
  // site: each of General MIDI's sixteen families of instruments has a wave and an envelope of its
@@ -1,14 +1,15 @@
1
- // Word, Excel and PowerPoint files as Office draws them (D183), in the preview and the browser: by
1
+ // Word, Excel and PowerPoint files as Office draws them (D183), in a file's pane and the browser: by
2
2
  // @silurus/ooxml, its parsers WebAssembly, its viewers drawing on a canvas, so nothing of the file
3
- // becomes markup, in a frame of the preview's kind (an opaque origin with no network), in a page made
4
- // here: modules as data: addresses under an import map, the parser and the file as data too.
3
+ // becomes markup, in a frame of a file pane's kind (an opaque origin with no network), in a page made
4
+ // here: its modules as text the page makes blob: addresses of, under an import map it writes, the
5
+ // parser and the file as data.
5
6
  import { encode } from '../../ui/seal.js'
6
7
  import { t } from '../../core/i18n.js'
7
8
 
8
9
  const BASE = new URL('../../vendor/ooxml/', import.meta.url)
9
10
  const VIEWERS = /** @type {Record<string, string>} */ ({ docx: 'DocxScrollViewer', pptx: 'PptxScrollViewer', xlsx: 'XlsxViewer' })
10
- /** A file of vendor/ooxml as a data: address. @param {string} path @param {string} [type] */
11
- const data = async (path, type = 'text/javascript') => `data:${type};base64,${encode(new Uint8Array(await (await fetch(new URL(path, BASE))).arrayBuffer()))}`
11
+ /** A file of vendor/ooxml. @param {string} path */
12
+ const read = (path) => fetch(new URL(path, BASE))
12
13
  let graph = /** @type {Promise<Record<string, string[]>> | undefined} */ (undefined)
13
14
 
14
15
  /** Where a workbook was being looked at: its sheet, how far it was scrolled, the cell chosen. @typedef {{ sheet: number, x: number, y: number, ref: string }} Place */
@@ -16,7 +17,9 @@ let graph = /** @type {Promise<Record<string, string[]>> | undefined} */ (undefi
16
17
  // A workbook's cells changed where they are (D229): a double click, F2 or typing opens a box over the cell
17
18
  // chosen (Enter is the viewer's, for comments); Enter, Tab or leaving it sends Jean what it is to hold, and
18
19
  // Jean keeps a new version and shows it again where it was; Escape leaves the box, as does Jean's answer
19
- // that the cell can't change. Closed from the keyboard, the box gives the keys back to the sheet.
20
+ // that the cell can't change. Closed from the keyboard, the box gives the keys back to the sheet. A sheet is
21
+ // drawn before the viewer has read it whole, and can't say what a cell holds until then: the box waits for
22
+ // that, 10 s at most, unless another box opened meanwhile.
20
23
  const CELLS = `
21
24
  const box = Object.assign(document.createElement('input'), { dir: 'auto', spellcheck: false, autocomplete: 'off' })
22
25
  box.style.cssText = 'position: fixed; display: none; box-sizing: border-box; margin: 0; padding: 0 4px; border: 2px solid #1a73e8; background: #fff; color: #111; font: 13px system-ui, sans-serif'
@@ -26,17 +29,19 @@ let was = ''
26
29
  let back = null
27
30
  const ref = ({ row, col }) => { let name = ''; for (let n = col; n > 0; n = Math.floor((n - 1) / 26)) name = String.fromCharCode(65 + ((n - 1) % 26)) + name; return name + row }
28
31
  const close = (keys) => { cell = null; box.readOnly = false; box.style.display = 'none'; if (keys) back?.focus() }
29
- const open = (typed) => {
32
+ const open = (typed, tries = 0) => {
30
33
  const active = viewer.selectionState?.activeCell
31
34
  const rect = active && viewer.getCellViewportRect(active)
32
35
  if (!rect) return
33
- const known = viewer.getSelectionContext()?.cells?.find(({ address }) => address.row === active.row && address.col === active.col)
36
+ const context = viewer.getSelectionContext()
37
+ if (!context) return void (tries < 200 && setTimeout(() => cell || open(typed, tries + 1), 50))
38
+ const known = context.cells?.find(({ address }) => address.row === active.row && address.col === active.col)
34
39
  const grid = viewer.canvasElement.getBoundingClientRect()
35
40
  cell = active
36
41
  back = document.activeElement
37
42
  was = known?.formula ? '=' + known.formula.replace(/^=/, '') : String(known?.value ?? '')
38
43
  box.value = typed ?? was
39
- box.setAttribute('aria-label', ref(active))
44
+ box.title = ref(active)
40
45
  Object.assign(box.style, { display: 'block', left: grid.left + rect.x + 'px', top: grid.top + rect.y + 'px', width: rect.width + 'px', height: rect.height + 'px' })
41
46
  box.focus()
42
47
  }
@@ -67,22 +72,24 @@ addEventListener('message', ({ source, data }) => { if (source === parent && dat
67
72
  `
68
73
 
69
74
  /**
70
- * A page that draws a Word document, a workbook or a deck; a workbook in the preview has cells to change,
75
+ * A page that draws a Word document, a workbook or a deck; a workbook in its pane has cells to change,
71
76
  * shown where it was looked at. @param {string} ext docx, xlsx or pptx @param {Uint8Array} bytes @param {string} name
72
77
  * @param {{ at?: Place }} [cells] @param {string} [words] what a citation points at, found and shown by the viewer's own find (D481): its longest line
73
78
  */
74
79
  export async function officePage(ext, bytes, name, cells, words) {
75
80
  graph ??= fetch(new URL('graph.json', BASE)).then((response) => response.json())
76
- const imports = Object.fromEntries(await Promise.all((await graph)[ext].map(async (file) => [`ooxml/${file}`, await data(file)])))
81
+ // Its modules as blob: addresses the page makes, never data: ones: Chromium took 2.6 s over the 1.6 MB data: address of a Word
82
+ // document's largest module, on a fast computer, and fourteen on a busy one, and Jean's page, whose thread the frame shares, froze with it.
83
+ const modules = Object.fromEntries(await Promise.all((await graph)[ext].map(async (file) => [`ooxml/${file}`, await (await read(file)).text()])))
77
84
  const failed = JSON.stringify(t('files.failed', { name })).replace(/</g, '\\u003c')
78
85
  const at = JSON.stringify(cells?.at ?? null).replace(/</g, '\\u003c')
79
86
  const find = words && JSON.stringify(words.replace(/^#+ /gm, '').split('\n').map((line) => line.trim()).sort((a, b) => b.length - a.length)[0]).replace(/</g, '\\u003c')
80
87
  return /* html */ `<meta charset="utf-8"><style>html, body { block-size: 100%; margin: 0; background: #ececef; font: 0.9rem system-ui, sans-serif; } main { block-size: 100vh; } p { margin: 2rem; text-align: center; }</style>
81
- <script type="importmap">${JSON.stringify({ imports })}</script><main></main>
88
+ <script>document.head.append(Object.assign(document.createElement('script'), { type: 'importmap', textContent: JSON.stringify({ imports: Object.fromEntries(Object.entries(${JSON.stringify(modules).replace(/</g, '\\u003c')}).map(([name, text]) => [name, URL.createObjectURL(new Blob([text], { type: 'text/javascript' }))])) }) }))</script><main></main>
82
89
  <script type="module">
83
90
  import { ${VIEWERS[ext]} as Viewer } from 'ooxml/${ext}.mjs'
84
91
  const main = document.querySelector('main')
85
- const viewer = new Viewer(main, { wasmUrl: '${await data(`${ext}_parser_bg.wasm`, 'application/wasm')}', enableTextSelection: true, background: '#ececef' })
92
+ const viewer = new Viewer(main, { wasmUrl: 'data:application/wasm;base64,${encode(new Uint8Array(await (await read(`${ext}_parser_bg.wasm`)).arrayBuffer()))}', enableTextSelection: true, background: '#ececef' })
86
93
  viewer.load(Uint8Array.from(atob('${encode(bytes)}'), (char) => char.charCodeAt(0)).buffer)${find ? `
87
94
  .then(() => viewer.findText(${find}).then(() => viewer.findNext()).catch(() => {}))` : ''}${ext === 'xlsx' && cells ? `
88
95
  .then(async () => {
package/caps/files/pdf.js CHANGED
@@ -22,6 +22,9 @@ function pdfjs() {
22
22
  return library
23
23
  }
24
24
 
25
+ /** pdf.js's words of a page, laid over it to select (D690). */
26
+ export const textLayer = async () => (await pdfjs()).TextLayer
27
+
25
28
  /** A PDF, opened: its text is read here, its pages drawn where a file shows (ui/view.js, D126). @param {Uint8Array} bytes */
26
29
  export async function openPdf(bytes) {
27
30
  return (await pdfjs()).getDocument({
@@ -0,0 +1,56 @@
1
+ // A game's file (D648): `games/<ulid>-<slug>.game.html`, named once and never renamed, a page whose head holds Jean's facts (its
2
+ // format, engine, the actions it uses, author, when it was made and changed, whether it is pinned, the task it came from), its
3
+ // title its name, its body a picture of it being played and the design card, and the game itself as one module in an inert script,
4
+ // which only a game's frame runs. Changed by exact passages, each found once (replaceOnce, as `edit` changes a file). Pure.
5
+
6
+ export const PLACE = /^games\/[^/]+\.game\.html$/
7
+ export const ENGINES = ['phaser', 'babylon', 'none']
8
+ export const ACTIONS = ['left', 'right', 'up', 'down', 'a', 'b']
9
+ /** A picture of the game for its card, as its play-test or its first seconds played took it (./shell.js): WebP or JPEG, 200 KB at most. */
10
+ export const PICTURE = /^data:image\/(?:webp|jpeg);base64,[A-Za-z0-9+/]{100,266000}={0,2}$/
11
+ const KEYS = ['format', 'engine', 'actions', 'author', 'created', 'changed', 'pinned', 'source']
12
+
13
+ /** @typedef {{ format?: string, engine: string, actions: string, author: string, created: string, changed: string, pinned?: string, source?: string }} Meta */
14
+ /** @typedef {{ name: string, card: string, code: string, meta: Meta, picture?: string }} Game */
15
+
16
+ /** @param {string} text */
17
+ const escaped = (text) => text.replace(/&/g, '&amp;').replace(/"/g, '&quot;').replace(/</g, '&lt;')
18
+ /** @param {string} text */
19
+ const unescaped = (text) => text.replace(/&quot;/g, '"').replace(/&lt;/g, '<').replace(/&gt;/g, '>').replace(/&amp;/g, '&')
20
+
21
+ /** The page a game is kept as. @param {Game} game @param {string} lang */
22
+ export function fileOf({ name, card, code, meta, picture = '' }, lang) {
23
+ const facts = KEYS.flatMap((key) => (key === 'format' ? ['<meta name="format" content="1">'] : meta[/** @type {keyof Meta} */ (key)] ? [`<meta name="${key}" content="${escaped(String(meta[/** @type {keyof Meta} */ (key)]))}">`] : []))
24
+ return [`<!doctype html>\n<html lang="${escaped(lang)}">\n<meta charset="utf-8">`, ...facts, `<title>${escaped(name)}</title>`, ...(PICTURE.test(picture) ? [`<img id="picture" src="${picture}" alt="">`] : []),
25
+ `<article id="card" dir="auto">${escaped(card)}</article>`, `<script type="text/x-game" id="game">\n${code.replace(/<\/(script)/gi, '<\\/$1')}\n</script>\n`].join('\n')
26
+ }
27
+
28
+ /** A game as its page holds it; null when it isn't one. @param {string} page @returns {Game | null} */
29
+ export function gameOf(page) {
30
+ const code = /<script type="text\/x-game" id="game">\n([\s\S]*)\n<\/script>/.exec(page)?.[1]
31
+ if (code === undefined) return null
32
+ const meta = /** @type {Meta} */ (Object.fromEntries([...page.matchAll(/<meta name="(\w+)" content="([^"]*)">/g)].filter(([, key]) => KEYS.includes(key)).map(([, key, value]) => [key, unescaped(value)])))
33
+ const picture = /<img id="picture" src="([^"]*)" alt="">\n<article id="card"/.exec(page)?.[1] ?? ''
34
+ return { name: unescaped(/<title>([^<]*)<\/title>/.exec(page)?.[1] ?? ''), card: unescaped(/<article id="card" dir="auto">([^<]*)<\/article>/.exec(page)?.[1] ?? ''),
35
+ code: code.replace(/<\\\/(script)/gi, '</$1'), meta: { ...meta, engine: ENGINES.includes(meta.engine) ? meta.engine : 'none' }, ...(PICTURE.test(picture) ? { picture } : {}) }
36
+ }
37
+
38
+ /** A game's page with its picture, the one before gone; as it was when either isn't one. @param {string} page @param {string} picture */
39
+ export const pictured = (page, picture) => ((game) => (game && PICTURE.test(picture) ? fileOf({ ...game, picture }, /<html lang="([^"]*)">/.exec(page)?.[1] ?? 'en') : page))(gameOf(page))
40
+
41
+ /** The actions a game says it uses, those Jean knows, all of them when it says none. @param {unknown} list */
42
+ export const actionsOf = (list) => ((known) => (known.length ? known : ACTIONS))((Array.isArray(list) ? list : String(list ?? '').split(/[\s,]+/)).map(String).filter((one, i, all) => ACTIONS.includes(one) && all.indexOf(one) === i))
43
+
44
+ /**
45
+ * The code with each passage replaced, each found once, or why one can't be.
46
+ * @param {string} code @param {{ old: string, new: string }[]} changes @returns {{ code: string } | { error: string }}
47
+ */
48
+ export function replaceOnce(code, changes) {
49
+ for (const [i, change] of changes.entries()) {
50
+ const at = code.indexOf(change.old)
51
+ if (!change.old || at < 0) return { error: `Change ${i + 1}: its old passage isn't in the game, word for word.` }
52
+ if (code.indexOf(change.old, at + 1) >= 0) return { error: `Change ${i + 1}: its old passage is in the game more than once; give more of it.` }
53
+ code = code.slice(0, at) + change.new + code.slice(at + change.old.length)
54
+ }
55
+ return { code }
56
+ }
@@ -0,0 +1,22 @@
1
+ /* A game's frame (D648): written into its page with ./shell.js, never into Jean's. The game fills it; the cover, the bar and the
2
+ touch buttons sit over it, light on dark whatever the game draws. */
3
+ html, body { margin: 0; block-size: 100%; overflow: hidden; background: #0e0e14; color: #fff; font: 1rem/1.4 system-ui, sans-serif; }
4
+ #stage { position: fixed; inset: 0; display: grid; place-items: center; outline: none; }
5
+ #stage > canvas { max-inline-size: 100%; max-block-size: 100%; }
6
+ article { max-inline-size: 40rem; margin: auto; padding: 1rem; } article img { display: block; inline-size: 100%; border-radius: 0.75rem; }
7
+ button { font: inherit; color: inherit; border: 2px solid currentColor; border-radius: 0.75rem; background: rgb(255 255 255 / 0.14); padding: 0.6em 1.6em; cursor: pointer; touch-action: none; }
8
+ button:focus-visible { outline: 3px solid #f7c531; outline-offset: 2px; }
9
+ .cover { position: fixed; inset: 0; display: grid; place-content: center; justify-items: center; gap: 1.25rem; padding: 1rem; text-align: center; background: rgb(8 8 12 / 0.8); }
10
+ .cover h1 { margin: 0; font-size: clamp(1.5rem, 6vw, 2.75rem); }
11
+ .bar { position: fixed; inset-block-start: 0.5rem; inset-inline-end: 0.5rem; display: flex; gap: 0.4rem; }
12
+ .bar button { inline-size: 2.5rem; block-size: 2.5rem; padding: 0; border-radius: 50%; display: grid; place-items: center; background: rgb(8 8 12 / 0.55); }
13
+ .bar svg { inline-size: 1.25rem; block-size: 1.25rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
14
+ .bar [aria-pressed=true] { background: rgb(255 255 255 / 0.3); }
15
+ .pad { position: fixed; inset-inline: 0.75rem; inset-block-end: 0.75rem; display: none; justify-content: space-between; align-items: end; pointer-events: none; user-select: none; -webkit-user-select: none; }
16
+ .pad > div { display: grid; gap: 0.4rem; pointer-events: auto; }
17
+ .pad button { inline-size: 3.5rem; block-size: 3.5rem; padding: 0; border-radius: 50%; background: rgb(8 8 12 / 0.45); }
18
+ .arrows { grid-template-areas: ". up ." "left . right" ". down ."; }
19
+ .buttons { grid-auto-flow: column; }
20
+ [data-action=up] { grid-area: up; } [data-action=left] { grid-area: left; } [data-action=right] { grid-area: right; } [data-action=down] { grid-area: down; }
21
+ @media (pointer: coarse) { .pad { display: flex; } }
22
+ @media (forced-colors: active) { button { border-color: ButtonText; } }
@@ -0,0 +1,86 @@
1
+ // A check in the condition of every `while`, `do … while` and classic `for` loop of a game's code (D648), so that a loop that never
2
+ // ends throws at its own line instead of freezing Jean, whose page shares its thread with a game's frame in WebKit. Strings,
3
+ // templates, comments and regular expressions are read past, `for … of` and `for … in` left alone, and nothing goes on a line of its
4
+ // own, so lines keep their numbers. Pure.
5
+ const WORD = /[\w$\u0080-￿]/
6
+ const START = /[A-Za-z_$\u0080-￿]/
7
+ const BEFORE_REGEX = new Set(['return', 'typeof', 'instanceof', 'in', 'of', 'new', 'delete', 'void', 'throw', 'case', 'do', 'else', 'yield', 'await'])
8
+
9
+ /** @typedef {{ type: 'word' | 'punct', value: string, start: number, end: number, dotted?: boolean }} Token */
10
+
11
+ /** The code's words and punctuation, what isn't code read past. @param {string} code */
12
+ export function tokens(code) {
13
+ const out = /** @type {Token[]} */ ([]), templates = /** @type {number[]} */ ([])
14
+ let i = 0, depth = 0, last = /** @type {{ type: string, value?: string } | null} */ (null)
15
+ const regexOk = () => !last || (last.type === 'punct' && !')]'.includes(last.value ?? '')) || (last.type === 'word' && BEFORE_REGEX.has(last.value ?? ''))
16
+ // A template's text, to its end or to an expression in it.
17
+ const chunk = () => {
18
+ for (; i < code.length; i++) {
19
+ if (code[i] === '\\') i++
20
+ else if (code[i] === '`') return void (i++, last = { type: 'string' })
21
+ else if (code[i] === '$' && code[i + 1] === '{') return void (i += 2, templates.push(depth++), last = { type: 'punct', value: '{' })
22
+ }
23
+ }
24
+ while (i < code.length) {
25
+ const c = code[i]
26
+ if (/\s/.test(c)) i++
27
+ else if (c === '/' && code[i + 1] === '/') i = code.includes('\n', i) ? code.indexOf('\n', i) : code.length
28
+ else if (c === '/' && code[i + 1] === '*') i = code.includes('*/', i + 2) ? code.indexOf('*/', i + 2) + 2 : code.length
29
+ else if (c === '"' || c === "'") {
30
+ for (i++; i < code.length && code[i] !== c && code[i] !== '\n'; i++) if (code[i] === '\\') i++
31
+ i++, last = { type: 'string' }
32
+ } else if (c === '`') i++, chunk()
33
+ else if (c === '/' && regexOk()) {
34
+ // To its closing slash, one in a set of characters ([/]) or escaped not closing it; then its flags.
35
+ for (let set = false; ++i < code.length && code[i] !== '\n' && (code[i] !== '/' || set);) {
36
+ if (code[i] === '\\') i++
37
+ else if (code[i] === '[') set = true
38
+ else if (code[i] === ']') set = false
39
+ }
40
+ for (i++; i < code.length && /[a-z]/i.test(code[i]); i++);
41
+ last = { type: 'regex' }
42
+ } else if (START.test(c)) {
43
+ const start = i
44
+ while (i < code.length && WORD.test(code[i])) i++
45
+ const value = code.slice(start, i)
46
+ out.push({ type: 'word', value, start, end: i, dotted: last?.type === 'punct' && last.value === '.' })
47
+ last = { type: 'word', value }
48
+ } else if (/[0-9]/.test(c) || (c === '.' && /[0-9]/.test(code[i + 1] ?? ''))) {
49
+ while (i < code.length && (WORD.test(code[i]) || code[i] === '.' || (/[eE]/.test(code[i - 1]) && /[+-]/.test(code[i])))) i++
50
+ last = { type: 'number' }
51
+ } else if (c === '}' && templates.length && templates.at(-1) === depth - 1) templates.pop(), depth--, i++, chunk()
52
+ else {
53
+ if (c === '{') depth++
54
+ if (c === '}') depth--
55
+ out.push({ type: 'punct', value: c, start: i, end: i + 1 })
56
+ last = { type: 'punct', value: c }
57
+ i++
58
+ }
59
+ }
60
+ return out
61
+ }
62
+
63
+ /** The code with `check` in every loop's condition. @param {string} code @param {string} check a call that returns true, or throws */
64
+ export function guard(code, check) {
65
+ const list = tokens(code), edits = /** @type {[number, string][]} */ ([])
66
+ for (const [k, word] of list.entries()) {
67
+ if (word.type !== 'word' || word.dotted || (word.value !== 'while' && word.value !== 'for')) continue
68
+ const open = k + (word.value === 'for' && list[k + 1]?.value === 'await' ? 2 : 1)
69
+ if (list[open]?.value !== '(') continue
70
+ let level = 0, close = -1
71
+ const semicolons = /** @type {number[]} */ ([])
72
+ for (let m = open; m < list.length && close < 0; m++) {
73
+ const { value } = list[m]
74
+ if ('([{'.includes(value)) level++
75
+ else if (')]}'.includes(value) && --level === 0) close = m
76
+ else if (value === ';' && level === 1) semicolons.push(m)
77
+ }
78
+ if (close < 0 || close === open + 1) continue
79
+ if (word.value === 'while') edits.push([list[open].end, `${check} && (`], [list[close].start, ')'])
80
+ else if (semicolons.length === 2) {
81
+ const [a, b] = semicolons
82
+ edits.push(...(b === a + 1 ? [/** @type {[number, string]} */ ([list[a].end, ` ${check}`])] : [/** @type {[number, string]} */ ([list[a].end, ` ${check} && (`]), /** @type {[number, string]} */ ([list[b].start, ')'])]))
83
+ }
84
+ }
85
+ return edits.sort((x, y) => y[0] - x[0]).reduce((out, [at, text]) => out.slice(0, at) + text + out.slice(at), code)
86
+ }
@@ -0,0 +1,52 @@
1
+ // A game's page (D648): its facts, the shell (./shell.js) and its styles, and the game, guarded (./guard.js). In a frame of Jean's
2
+ // (./frame.js) its engine is lent; as a page of its own, which Save gives and a task saved as a page or shared by link shows
3
+ // (ui/view.js), its engine is inside it: offline, its card where scripts don't run, and what it saves kept in the browser's storage
4
+ // where the page has one (a file opened), else for the visit.
5
+ import { pagePolicy } from '../../ui/csp.js'
6
+ import { still } from '../../ui/sheet.js'
7
+ import { t, locale, dir, useStrings } from '../../core/i18n.js'
8
+ import { guard } from './guard.js'
9
+ import { actionsOf, gameOf, PICTURE } from './file.js'
10
+
11
+ /** What a game imports by name: its engine's, and ZzFX. */
12
+ export const LENT = /** @type {Record<string, string>} */ ({ phaser: '../../vendor/phaser/phaser.mjs', babylon: '../../vendor/babylon/babylon.mjs', zzfx: '../../vendor/zzfx/zzfx.mjs' })
13
+ /** The names a game imports. @param {{ meta: { engine: string } }} game */
14
+ export const lent = (game) => [game.meta.engine, 'zzfx'].filter((name) => Object.hasOwn(LENT, name))
15
+ const read = /** @type {Map<string, Promise<string>>} */ (new Map())
16
+ /** A file beside this module, read once. @param {string} path */
17
+ export const text = (path) => read.get(path) ?? /** @type {Promise<string>} */ (read.set(path, fetch(new URL(path, import.meta.url)).then((response) => response.text())).get(path))
18
+ const escaped = (/** @type {string} */ words) => words.replace(/&/g, '&amp;').replace(/</g, '&lt;').replace(/"/g, '&quot;')
19
+
20
+ /**
21
+ * A game's page. `imports`: its import map, none for a page whose `boot` makes its own; `head`, what its head starts with.
22
+ * @param {import('./file.js').Game} game
23
+ * @param {{ test?: { frames: number, seed: number, press: { action: string, from: number, to: number }[] } | null, saved?: { save: string | null, storage: Record<string, string> },
24
+ * imports?: Record<string, string> | null, head?: string, boot?: string }} [options]
25
+ */
26
+ export async function pageOf(game, { test = null, saved = { save: null, storage: {} }, imports = null, head = '', boot = '' } = {}) {
27
+ const lang = locale.peek(), [shell, css] = await Promise.all([text('./shell.js'), text('./frame.css')])
28
+ const words = Object.fromEntries(['play', 'resume', 'paused', 'pause', 'mute', 'full', 'left', 'right', 'up', 'down'].map((key) => [key, t(`games.${key}`)]))
29
+ const given = JSON.stringify({ test, saved, words, actions: actionsOf(game.meta.actions), reduced: still(), title: game.name, pictured: Boolean(game.picture) }).replace(/</g, '\\u003c')
30
+ return /* html */ `<html lang="${lang}" dir="${dir(lang)}"><meta charset="utf-8">${head}${imports ? `<script type="importmap">${JSON.stringify({ imports })}</script>` : ''}<script>window.__game=${given}</script>${boot}<script>${shell}</script><style>${css}</style>
31
+ <body><noscript><article dir="auto">${game.picture && PICTURE.test(game.picture) ? `<img src="${game.picture}" alt="">` : ''}<h1>${escaped(game.name)}</h1><p>${escaped(game.card)}</p></article></noscript><div id="stage" tabindex="-1"></div><script type="text/x-game" id="game">${guard(game.code, '__loop()').replace(/<\/(script)/gi, '<\\/$1')}</script>`
32
+ }
33
+
34
+ /**
35
+ * A game's file as a page of its own: each engine as an inert script, made a module and mapped to its name before the shell runs,
36
+ * what it saves read from the browser's storage where it has one and written there as the shell sends it, motion as the user's
37
+ * Motion was when it was saved. @param {string} file
38
+ */
39
+ export async function alone(file) {
40
+ const game = gameOf(file)
41
+ if (!game) return file
42
+ await useStrings('games')
43
+ // An engine stays inert whatever it holds: "</script" and "<!--" written as JavaScript reads them the same.
44
+ const engines = await Promise.all(lent(game).map(async (name) => `<script type="text/x-engine" data-name="${name}">${(await text(LENT[name])).replace(/<(\/script|!--)/gi, '\\x3C$1')}</script>`))
45
+ const boot = `(()=>{const g=window.__game,key=${JSON.stringify(`game ${game.meta.created} ${game.name}`)},imports={};let store=null
46
+ try{store=localStorage;Object.assign(g.saved,JSON.parse(store.getItem(key)||'{}'))}catch{store=null}
47
+ for(const e of document.querySelectorAll('script[type="text/x-engine"]'))imports[e.dataset.name]=URL.createObjectURL(new Blob([e.textContent],{type:'text/javascript'}))
48
+ document.head.append(Object.assign(document.createElement('script'),{type:'importmap',textContent:JSON.stringify({imports})}))
49
+ if(parent===window&&store){const send=postMessage.bind(window);window.postMessage=(m,o)=>{if(m&&m.keep)try{store.setItem(key,JSON.stringify(m.keep))}catch{}send(m,o)}}})()`
50
+ const head = `<meta name="viewport" content="width=device-width, initial-scale=1"><meta http-equiv="Content-Security-Policy" content="${pagePolicy({ scripts: true, web: false, network: false, downloads: false, fullscreen: true, maps: false }, [], true)}"><title>${escaped(game.name)}</title>`
51
+ return `<!doctype html>${await pageOf(game, { head, boot: `${engines.join('')}<script>${boot}</script>` })}`
52
+ }