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

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 (1421) hide show
  1. package/brand.js +3 -1
  2. package/caps/charts/charts.css +5 -2
  3. package/caps/charts/charts.js +45 -24
  4. package/caps/charts/option.js +11 -1
  5. package/caps/files/midi.js +1 -1
  6. package/caps/files/office.js +4 -4
  7. package/caps/games/file.js +56 -0
  8. package/caps/games/frame.css +22 -0
  9. package/caps/games/guard.js +86 -0
  10. package/caps/games/page.js +52 -0
  11. package/caps/games/shell.js +260 -0
  12. package/caps/interactive/apps.js +23 -8
  13. package/caps/interactive/diagram.js +96 -22
  14. package/caps/interactive/interactive.css +22 -6
  15. package/caps/interactive/interactive.js +25 -10
  16. package/caps/interactive/live.js +96 -0
  17. package/caps/interactive/map.js +22 -2
  18. package/caps/interactive/mode.js +9 -6
  19. package/caps/interactive/page-diagram.js +6 -2
  20. package/caps/interactive/parts.js +124 -0
  21. package/caps/interactive/view-parts.js +209 -0
  22. package/caps/layouts/layouts.css +12 -12
  23. package/caps/layouts/layouts.js +25 -17
  24. package/caps/layouts/shapes.js +1 -1
  25. package/caps/made/formats.js +84 -46
  26. package/caps/made/paper.js +142 -0
  27. package/caps/math/math.js +2 -2
  28. package/caps/scores/scores.css +10 -4
  29. package/caps/scores/scores.js +99 -51
  30. package/caps/share/view.js +1 -1
  31. package/caps/skills/directory.js +6 -3
  32. package/caps/skills/sources.js +4 -2
  33. package/caps/slides/edit.js +2 -2
  34. package/caps/slides/kit-page.css +8 -2
  35. package/caps/slides/kit-page.js +47 -38
  36. package/caps/slides/kit-sample.js +36 -0
  37. package/caps/slides/kit-slot.js +10 -0
  38. package/caps/slides/kit.js +3 -0
  39. package/caps/slides/save.js +24 -58
  40. package/caps/slides/slides.css +9 -9
  41. package/caps/slides/slides.js +24 -24
  42. package/caps/tables/formula.js +133 -0
  43. package/core/conversations.js +151 -0
  44. package/core/deferred.js +36 -16
  45. package/core/events.js +1 -1
  46. package/core/files.js +9 -3
  47. package/core/fs.js +3 -11
  48. package/core/hooks.js +2 -2
  49. package/core/i18n.js +1 -1
  50. package/core/llm.js +34 -45
  51. package/core/loop.js +15 -17
  52. package/core/oauth.js +31 -0
  53. package/core/search.js +1 -1
  54. package/core/settings.js +12 -11
  55. package/core/skills.js +3 -3
  56. package/core/vertex.js +37 -0
  57. package/locales/am.json +19 -3
  58. package/locales/approvals/am.json +2 -1
  59. package/locales/approvals/ar.json +2 -1
  60. package/locales/approvals/bg.json +2 -1
  61. package/locales/approvals/bn.json +2 -1
  62. package/locales/approvals/br.json +2 -1
  63. package/locales/approvals/co.json +2 -1
  64. package/locales/approvals/cs.json +2 -1
  65. package/locales/approvals/da.json +2 -1
  66. package/locales/approvals/de.json +2 -1
  67. package/locales/approvals/el.json +2 -1
  68. package/locales/approvals/en.json +2 -1
  69. package/locales/approvals/es.json +2 -1
  70. package/locales/approvals/fa.json +2 -1
  71. package/locales/approvals/fi.json +2 -1
  72. package/locales/approvals/fr-CA.json +2 -1
  73. package/locales/approvals/fr.json +2 -1
  74. package/locales/approvals/ha.json +2 -1
  75. package/locales/approvals/he.json +2 -1
  76. package/locales/approvals/hi.json +2 -1
  77. package/locales/approvals/hr.json +2 -1
  78. package/locales/approvals/hu.json +2 -1
  79. package/locales/approvals/id.json +2 -1
  80. package/locales/approvals/it.json +2 -1
  81. package/locales/approvals/ja.json +2 -1
  82. package/locales/approvals/ko.json +2 -1
  83. package/locales/approvals/mr.json +2 -1
  84. package/locales/approvals/ms.json +2 -1
  85. package/locales/approvals/nl.json +2 -1
  86. package/locales/approvals/pl.json +2 -1
  87. package/locales/approvals/pt.json +2 -1
  88. package/locales/approvals/ro.json +2 -1
  89. package/locales/approvals/ru.json +2 -1
  90. package/locales/approvals/sk.json +2 -1
  91. package/locales/approvals/sv.json +2 -1
  92. package/locales/approvals/sw.json +2 -1
  93. package/locales/approvals/ta.json +2 -1
  94. package/locales/approvals/te.json +2 -1
  95. package/locales/approvals/th.json +2 -1
  96. package/locales/approvals/tl.json +2 -1
  97. package/locales/approvals/tr.json +2 -1
  98. package/locales/approvals/uk.json +2 -1
  99. package/locales/approvals/ur.json +2 -1
  100. package/locales/approvals/vi.json +2 -1
  101. package/locales/approvals/yo.json +2 -1
  102. package/locales/approvals/zh-Hans.json +2 -1
  103. package/locales/approvals/zh-Hant.json +2 -1
  104. package/locales/ar.json +23 -3
  105. package/locales/bg.json +19 -3
  106. package/locales/bn.json +19 -3
  107. package/locales/br.json +22 -3
  108. package/locales/brains/am.json +6 -3
  109. package/locales/brains/ar.json +6 -3
  110. package/locales/brains/bg.json +6 -3
  111. package/locales/brains/bn.json +6 -3
  112. package/locales/brains/br.json +6 -3
  113. package/locales/brains/co.json +6 -3
  114. package/locales/brains/cs.json +6 -3
  115. package/locales/brains/da.json +6 -3
  116. package/locales/brains/de.json +6 -3
  117. package/locales/brains/el.json +6 -3
  118. package/locales/brains/en.json +6 -3
  119. package/locales/brains/es.json +6 -3
  120. package/locales/brains/fa.json +6 -3
  121. package/locales/brains/fi.json +6 -3
  122. package/locales/brains/fr-CA.json +6 -3
  123. package/locales/brains/fr.json +6 -3
  124. package/locales/brains/ha.json +6 -3
  125. package/locales/brains/he.json +6 -3
  126. package/locales/brains/hi.json +6 -3
  127. package/locales/brains/hr.json +6 -3
  128. package/locales/brains/hu.json +6 -3
  129. package/locales/brains/id.json +6 -3
  130. package/locales/brains/it.json +6 -3
  131. package/locales/brains/ja.json +6 -3
  132. package/locales/brains/ko.json +6 -3
  133. package/locales/brains/mr.json +6 -3
  134. package/locales/brains/ms.json +6 -3
  135. package/locales/brains/nl.json +6 -3
  136. package/locales/brains/pl.json +6 -3
  137. package/locales/brains/pt.json +6 -3
  138. package/locales/brains/ro.json +6 -3
  139. package/locales/brains/ru.json +6 -3
  140. package/locales/brains/sk.json +6 -3
  141. package/locales/brains/sv.json +6 -3
  142. package/locales/brains/sw.json +6 -3
  143. package/locales/brains/ta.json +6 -3
  144. package/locales/brains/te.json +6 -3
  145. package/locales/brains/th.json +6 -3
  146. package/locales/brains/tl.json +6 -3
  147. package/locales/brains/tr.json +6 -3
  148. package/locales/brains/uk.json +6 -3
  149. package/locales/brains/ur.json +6 -3
  150. package/locales/brains/vi.json +6 -3
  151. package/locales/brains/yo.json +6 -3
  152. package/locales/brains/zh-Hans.json +6 -3
  153. package/locales/brains/zh-Hant.json +6 -3
  154. package/locales/camera/am.json +20 -0
  155. package/locales/camera/ar.json +20 -0
  156. package/locales/camera/bg.json +20 -0
  157. package/locales/camera/bn.json +20 -0
  158. package/locales/camera/br.json +20 -0
  159. package/locales/camera/co.json +20 -0
  160. package/locales/camera/cs.json +20 -0
  161. package/locales/camera/da.json +20 -0
  162. package/locales/camera/de.json +20 -0
  163. package/locales/camera/el.json +20 -0
  164. package/locales/camera/en.json +20 -0
  165. package/locales/camera/es.json +20 -0
  166. package/locales/camera/fa.json +20 -0
  167. package/locales/camera/fi.json +20 -0
  168. package/locales/camera/fr-CA.json +20 -0
  169. package/locales/camera/fr.json +20 -0
  170. package/locales/camera/ha.json +20 -0
  171. package/locales/camera/he.json +20 -0
  172. package/locales/camera/hi.json +20 -0
  173. package/locales/camera/hr.json +20 -0
  174. package/locales/camera/hu.json +20 -0
  175. package/locales/camera/id.json +20 -0
  176. package/locales/camera/it.json +20 -0
  177. package/locales/camera/ja.json +20 -0
  178. package/locales/camera/ko.json +20 -0
  179. package/locales/camera/mr.json +20 -0
  180. package/locales/camera/ms.json +20 -0
  181. package/locales/camera/nl.json +20 -0
  182. package/locales/camera/pl.json +20 -0
  183. package/locales/camera/pt.json +20 -0
  184. package/locales/camera/ro.json +20 -0
  185. package/locales/camera/ru.json +20 -0
  186. package/locales/camera/sk.json +20 -0
  187. package/locales/camera/sv.json +20 -0
  188. package/locales/camera/sw.json +20 -0
  189. package/locales/camera/ta.json +20 -0
  190. package/locales/camera/te.json +20 -0
  191. package/locales/camera/th.json +20 -0
  192. package/locales/camera/tl.json +20 -0
  193. package/locales/camera/tr.json +20 -0
  194. package/locales/camera/uk.json +20 -0
  195. package/locales/camera/ur.json +20 -0
  196. package/locales/camera/vi.json +20 -0
  197. package/locales/camera/yo.json +20 -0
  198. package/locales/camera/zh-Hans.json +20 -0
  199. package/locales/camera/zh-Hant.json +20 -0
  200. package/locales/charts/am.json +2 -0
  201. package/locales/charts/ar.json +2 -0
  202. package/locales/charts/bg.json +2 -0
  203. package/locales/charts/bn.json +2 -0
  204. package/locales/charts/br.json +2 -0
  205. package/locales/charts/co.json +2 -0
  206. package/locales/charts/cs.json +2 -0
  207. package/locales/charts/da.json +2 -0
  208. package/locales/charts/de.json +2 -0
  209. package/locales/charts/el.json +2 -0
  210. package/locales/charts/en.json +2 -0
  211. package/locales/charts/es.json +2 -0
  212. package/locales/charts/fa.json +2 -0
  213. package/locales/charts/fi.json +2 -0
  214. package/locales/charts/fr-CA.json +2 -0
  215. package/locales/charts/fr.json +2 -0
  216. package/locales/charts/ha.json +2 -0
  217. package/locales/charts/he.json +2 -0
  218. package/locales/charts/hi.json +2 -0
  219. package/locales/charts/hr.json +2 -0
  220. package/locales/charts/hu.json +2 -0
  221. package/locales/charts/id.json +2 -0
  222. package/locales/charts/it.json +2 -0
  223. package/locales/charts/ja.json +2 -0
  224. package/locales/charts/ko.json +2 -0
  225. package/locales/charts/mr.json +2 -0
  226. package/locales/charts/ms.json +2 -0
  227. package/locales/charts/nl.json +2 -0
  228. package/locales/charts/pl.json +2 -0
  229. package/locales/charts/pt.json +2 -0
  230. package/locales/charts/ro.json +2 -0
  231. package/locales/charts/ru.json +2 -0
  232. package/locales/charts/sk.json +2 -0
  233. package/locales/charts/sv.json +2 -0
  234. package/locales/charts/sw.json +2 -0
  235. package/locales/charts/ta.json +2 -0
  236. package/locales/charts/te.json +2 -0
  237. package/locales/charts/th.json +2 -0
  238. package/locales/charts/tl.json +2 -0
  239. package/locales/charts/tr.json +2 -0
  240. package/locales/charts/uk.json +2 -0
  241. package/locales/charts/ur.json +2 -0
  242. package/locales/charts/vi.json +2 -0
  243. package/locales/charts/yo.json +2 -0
  244. package/locales/charts/zh-Hans.json +2 -0
  245. package/locales/charts/zh-Hant.json +2 -0
  246. package/locales/co.json +20 -3
  247. package/locales/creations/am.json +4 -0
  248. package/locales/creations/ar.json +4 -0
  249. package/locales/creations/bg.json +4 -0
  250. package/locales/creations/bn.json +4 -0
  251. package/locales/creations/br.json +4 -0
  252. package/locales/creations/co.json +4 -0
  253. package/locales/creations/cs.json +4 -0
  254. package/locales/creations/da.json +4 -0
  255. package/locales/creations/de.json +4 -0
  256. package/locales/creations/el.json +4 -0
  257. package/locales/creations/en.json +4 -0
  258. package/locales/creations/es.json +4 -0
  259. package/locales/creations/fa.json +4 -0
  260. package/locales/creations/fi.json +4 -0
  261. package/locales/creations/fr-CA.json +4 -0
  262. package/locales/creations/fr.json +4 -0
  263. package/locales/creations/ha.json +4 -0
  264. package/locales/creations/he.json +4 -0
  265. package/locales/creations/hi.json +4 -0
  266. package/locales/creations/hr.json +4 -0
  267. package/locales/creations/hu.json +4 -0
  268. package/locales/creations/id.json +4 -0
  269. package/locales/creations/it.json +4 -0
  270. package/locales/creations/ja.json +4 -0
  271. package/locales/creations/ko.json +4 -0
  272. package/locales/creations/mr.json +4 -0
  273. package/locales/creations/ms.json +4 -0
  274. package/locales/creations/nl.json +4 -0
  275. package/locales/creations/pl.json +4 -0
  276. package/locales/creations/pt.json +4 -0
  277. package/locales/creations/ro.json +4 -0
  278. package/locales/creations/ru.json +4 -0
  279. package/locales/creations/sk.json +4 -0
  280. package/locales/creations/sv.json +4 -0
  281. package/locales/creations/sw.json +4 -0
  282. package/locales/creations/ta.json +4 -0
  283. package/locales/creations/te.json +4 -0
  284. package/locales/creations/th.json +4 -0
  285. package/locales/creations/tl.json +4 -0
  286. package/locales/creations/tr.json +4 -0
  287. package/locales/creations/uk.json +4 -0
  288. package/locales/creations/ur.json +4 -0
  289. package/locales/creations/vi.json +4 -0
  290. package/locales/creations/yo.json +4 -0
  291. package/locales/creations/zh-Hans.json +4 -0
  292. package/locales/creations/zh-Hant.json +4 -0
  293. package/locales/cs.json +21 -3
  294. package/locales/da.json +19 -3
  295. package/locales/de.json +19 -3
  296. package/locales/designs/am.json +0 -14
  297. package/locales/designs/ar.json +0 -14
  298. package/locales/designs/bg.json +0 -14
  299. package/locales/designs/bn.json +0 -14
  300. package/locales/designs/br.json +0 -14
  301. package/locales/designs/co.json +0 -14
  302. package/locales/designs/cs.json +0 -14
  303. package/locales/designs/da.json +0 -14
  304. package/locales/designs/de.json +0 -14
  305. package/locales/designs/el.json +0 -14
  306. package/locales/designs/en.json +0 -14
  307. package/locales/designs/es.json +0 -14
  308. package/locales/designs/fa.json +0 -14
  309. package/locales/designs/fi.json +0 -14
  310. package/locales/designs/fr-CA.json +0 -14
  311. package/locales/designs/fr.json +0 -14
  312. package/locales/designs/ha.json +0 -14
  313. package/locales/designs/he.json +0 -14
  314. package/locales/designs/hi.json +0 -14
  315. package/locales/designs/hr.json +0 -14
  316. package/locales/designs/hu.json +0 -14
  317. package/locales/designs/id.json +0 -14
  318. package/locales/designs/it.json +0 -14
  319. package/locales/designs/ja.json +0 -14
  320. package/locales/designs/ko.json +0 -14
  321. package/locales/designs/mr.json +0 -14
  322. package/locales/designs/ms.json +0 -14
  323. package/locales/designs/nl.json +0 -14
  324. package/locales/designs/pl.json +0 -14
  325. package/locales/designs/pt.json +0 -14
  326. package/locales/designs/ro.json +0 -14
  327. package/locales/designs/ru.json +0 -14
  328. package/locales/designs/sk.json +0 -14
  329. package/locales/designs/sv.json +0 -14
  330. package/locales/designs/sw.json +0 -14
  331. package/locales/designs/ta.json +0 -14
  332. package/locales/designs/te.json +0 -14
  333. package/locales/designs/th.json +0 -14
  334. package/locales/designs/tl.json +0 -14
  335. package/locales/designs/tr.json +0 -14
  336. package/locales/designs/uk.json +0 -14
  337. package/locales/designs/ur.json +0 -14
  338. package/locales/designs/vi.json +0 -14
  339. package/locales/designs/yo.json +0 -14
  340. package/locales/designs/zh-Hans.json +0 -14
  341. package/locales/designs/zh-Hant.json +0 -14
  342. package/locales/dialogs/am.json +7 -0
  343. package/locales/dialogs/ar.json +7 -0
  344. package/locales/dialogs/bg.json +7 -0
  345. package/locales/dialogs/bn.json +7 -0
  346. package/locales/dialogs/br.json +7 -0
  347. package/locales/dialogs/co.json +7 -0
  348. package/locales/dialogs/cs.json +7 -0
  349. package/locales/dialogs/da.json +7 -0
  350. package/locales/dialogs/de.json +7 -0
  351. package/locales/dialogs/el.json +7 -0
  352. package/locales/dialogs/en.json +7 -0
  353. package/locales/dialogs/es.json +7 -0
  354. package/locales/dialogs/fa.json +7 -0
  355. package/locales/dialogs/fi.json +7 -0
  356. package/locales/dialogs/fr-CA.json +9 -2
  357. package/locales/dialogs/fr.json +9 -2
  358. package/locales/dialogs/ha.json +7 -0
  359. package/locales/dialogs/he.json +7 -0
  360. package/locales/dialogs/hi.json +7 -0
  361. package/locales/dialogs/hr.json +7 -0
  362. package/locales/dialogs/hu.json +7 -0
  363. package/locales/dialogs/id.json +7 -0
  364. package/locales/dialogs/it.json +7 -0
  365. package/locales/dialogs/ja.json +7 -0
  366. package/locales/dialogs/ko.json +7 -0
  367. package/locales/dialogs/mr.json +7 -0
  368. package/locales/dialogs/ms.json +7 -0
  369. package/locales/dialogs/nl.json +7 -0
  370. package/locales/dialogs/pl.json +7 -0
  371. package/locales/dialogs/pt.json +7 -0
  372. package/locales/dialogs/ro.json +7 -0
  373. package/locales/dialogs/ru.json +7 -0
  374. package/locales/dialogs/sk.json +7 -0
  375. package/locales/dialogs/sv.json +7 -0
  376. package/locales/dialogs/sw.json +7 -0
  377. package/locales/dialogs/ta.json +7 -0
  378. package/locales/dialogs/te.json +7 -0
  379. package/locales/dialogs/th.json +7 -0
  380. package/locales/dialogs/tl.json +7 -0
  381. package/locales/dialogs/tr.json +7 -0
  382. package/locales/dialogs/uk.json +7 -0
  383. package/locales/dialogs/ur.json +7 -0
  384. package/locales/dialogs/vi.json +7 -0
  385. package/locales/dialogs/yo.json +7 -0
  386. package/locales/dialogs/zh-Hans.json +7 -0
  387. package/locales/dialogs/zh-Hant.json +7 -0
  388. package/locales/documents/am.json +6 -0
  389. package/locales/documents/ar.json +6 -0
  390. package/locales/documents/bg.json +6 -0
  391. package/locales/documents/bn.json +6 -0
  392. package/locales/documents/br.json +6 -0
  393. package/locales/documents/co.json +6 -0
  394. package/locales/documents/cs.json +6 -0
  395. package/locales/documents/da.json +6 -0
  396. package/locales/documents/de.json +6 -0
  397. package/locales/documents/el.json +6 -0
  398. package/locales/documents/en.json +6 -0
  399. package/locales/documents/es.json +6 -0
  400. package/locales/documents/fa.json +6 -0
  401. package/locales/documents/fi.json +6 -0
  402. package/locales/documents/fr-CA.json +6 -0
  403. package/locales/documents/fr.json +6 -0
  404. package/locales/documents/ha.json +6 -0
  405. package/locales/documents/he.json +6 -0
  406. package/locales/documents/hi.json +6 -0
  407. package/locales/documents/hr.json +6 -0
  408. package/locales/documents/hu.json +6 -0
  409. package/locales/documents/id.json +6 -0
  410. package/locales/documents/it.json +6 -0
  411. package/locales/documents/ja.json +6 -0
  412. package/locales/documents/ko.json +6 -0
  413. package/locales/documents/mr.json +6 -0
  414. package/locales/documents/ms.json +6 -0
  415. package/locales/documents/nl.json +6 -0
  416. package/locales/documents/pl.json +6 -0
  417. package/locales/documents/pt.json +6 -0
  418. package/locales/documents/ro.json +6 -0
  419. package/locales/documents/ru.json +6 -0
  420. package/locales/documents/sk.json +6 -0
  421. package/locales/documents/sv.json +6 -0
  422. package/locales/documents/sw.json +6 -0
  423. package/locales/documents/ta.json +6 -0
  424. package/locales/documents/te.json +6 -0
  425. package/locales/documents/th.json +6 -0
  426. package/locales/documents/tl.json +6 -0
  427. package/locales/documents/tr.json +6 -0
  428. package/locales/documents/uk.json +6 -0
  429. package/locales/documents/ur.json +6 -0
  430. package/locales/documents/vi.json +6 -0
  431. package/locales/documents/yo.json +6 -0
  432. package/locales/documents/zh-Hans.json +6 -0
  433. package/locales/documents/zh-Hant.json +6 -0
  434. package/locales/el.json +19 -3
  435. package/locales/en.json +19 -3
  436. package/locales/enterprise/am.json +29 -1
  437. package/locales/enterprise/ar.json +29 -1
  438. package/locales/enterprise/bg.json +29 -1
  439. package/locales/enterprise/bn.json +29 -1
  440. package/locales/enterprise/br.json +29 -1
  441. package/locales/enterprise/co.json +29 -1
  442. package/locales/enterprise/cs.json +29 -1
  443. package/locales/enterprise/da.json +29 -1
  444. package/locales/enterprise/de.json +29 -1
  445. package/locales/enterprise/el.json +29 -1
  446. package/locales/enterprise/en.json +29 -1
  447. package/locales/enterprise/es.json +29 -1
  448. package/locales/enterprise/fa.json +29 -1
  449. package/locales/enterprise/fi.json +29 -1
  450. package/locales/enterprise/fr-CA.json +29 -1
  451. package/locales/enterprise/fr.json +29 -1
  452. package/locales/enterprise/ha.json +29 -1
  453. package/locales/enterprise/he.json +29 -1
  454. package/locales/enterprise/hi.json +29 -1
  455. package/locales/enterprise/hr.json +29 -1
  456. package/locales/enterprise/hu.json +29 -1
  457. package/locales/enterprise/id.json +29 -1
  458. package/locales/enterprise/it.json +29 -1
  459. package/locales/enterprise/ja.json +29 -1
  460. package/locales/enterprise/ko.json +29 -1
  461. package/locales/enterprise/mr.json +29 -1
  462. package/locales/enterprise/ms.json +29 -1
  463. package/locales/enterprise/nl.json +29 -1
  464. package/locales/enterprise/pl.json +29 -1
  465. package/locales/enterprise/pt.json +29 -1
  466. package/locales/enterprise/ro.json +29 -1
  467. package/locales/enterprise/ru.json +29 -1
  468. package/locales/enterprise/sk.json +29 -1
  469. package/locales/enterprise/sv.json +29 -1
  470. package/locales/enterprise/sw.json +29 -1
  471. package/locales/enterprise/ta.json +29 -1
  472. package/locales/enterprise/te.json +29 -1
  473. package/locales/enterprise/th.json +29 -1
  474. package/locales/enterprise/tl.json +29 -1
  475. package/locales/enterprise/tr.json +29 -1
  476. package/locales/enterprise/uk.json +29 -1
  477. package/locales/enterprise/ur.json +29 -1
  478. package/locales/enterprise/vi.json +29 -1
  479. package/locales/enterprise/yo.json +29 -1
  480. package/locales/enterprise/zh-Hans.json +29 -1
  481. package/locales/enterprise/zh-Hant.json +29 -1
  482. package/locales/es.json +20 -3
  483. package/locales/fa.json +19 -3
  484. package/locales/fi.json +19 -3
  485. package/locales/fr-CA.json +21 -4
  486. package/locales/fr.json +21 -4
  487. package/locales/games/am.json +16 -0
  488. package/locales/games/ar.json +16 -0
  489. package/locales/games/bg.json +16 -0
  490. package/locales/games/bn.json +16 -0
  491. package/locales/games/br.json +16 -0
  492. package/locales/games/co.json +16 -0
  493. package/locales/games/cs.json +16 -0
  494. package/locales/games/da.json +16 -0
  495. package/locales/games/de.json +16 -0
  496. package/locales/games/el.json +16 -0
  497. package/locales/games/en.json +16 -0
  498. package/locales/games/es.json +16 -0
  499. package/locales/games/fa.json +16 -0
  500. package/locales/games/fi.json +16 -0
  501. package/locales/games/fr-CA.json +16 -0
  502. package/locales/games/fr.json +16 -0
  503. package/locales/games/ha.json +16 -0
  504. package/locales/games/he.json +16 -0
  505. package/locales/games/hi.json +16 -0
  506. package/locales/games/hr.json +16 -0
  507. package/locales/games/hu.json +16 -0
  508. package/locales/games/id.json +16 -0
  509. package/locales/games/it.json +16 -0
  510. package/locales/games/ja.json +16 -0
  511. package/locales/games/ko.json +16 -0
  512. package/locales/games/mr.json +16 -0
  513. package/locales/games/ms.json +16 -0
  514. package/locales/games/nl.json +16 -0
  515. package/locales/games/pl.json +16 -0
  516. package/locales/games/pt.json +16 -0
  517. package/locales/games/ro.json +16 -0
  518. package/locales/games/ru.json +16 -0
  519. package/locales/games/sk.json +16 -0
  520. package/locales/games/sv.json +16 -0
  521. package/locales/games/sw.json +16 -0
  522. package/locales/games/ta.json +16 -0
  523. package/locales/games/te.json +16 -0
  524. package/locales/games/th.json +16 -0
  525. package/locales/games/tl.json +16 -0
  526. package/locales/games/tr.json +16 -0
  527. package/locales/games/uk.json +16 -0
  528. package/locales/games/ur.json +16 -0
  529. package/locales/games/vi.json +16 -0
  530. package/locales/games/yo.json +16 -0
  531. package/locales/games/zh-Hans.json +16 -0
  532. package/locales/games/zh-Hant.json +16 -0
  533. package/locales/ha.json +19 -3
  534. package/locales/he.json +20 -3
  535. package/locales/hi.json +19 -3
  536. package/locales/hr.json +20 -3
  537. package/locales/hu.json +19 -3
  538. package/locales/id.json +18 -3
  539. package/locales/interactive/am.json +11 -2
  540. package/locales/interactive/ar.json +11 -2
  541. package/locales/interactive/bg.json +11 -2
  542. package/locales/interactive/bn.json +11 -2
  543. package/locales/interactive/br.json +11 -2
  544. package/locales/interactive/co.json +11 -2
  545. package/locales/interactive/cs.json +11 -2
  546. package/locales/interactive/da.json +11 -2
  547. package/locales/interactive/de.json +11 -2
  548. package/locales/interactive/el.json +11 -2
  549. package/locales/interactive/en.json +11 -2
  550. package/locales/interactive/es.json +11 -2
  551. package/locales/interactive/fa.json +11 -2
  552. package/locales/interactive/fi.json +11 -2
  553. package/locales/interactive/fr-CA.json +11 -2
  554. package/locales/interactive/fr.json +11 -2
  555. package/locales/interactive/ha.json +11 -2
  556. package/locales/interactive/he.json +11 -2
  557. package/locales/interactive/hi.json +11 -2
  558. package/locales/interactive/hr.json +11 -2
  559. package/locales/interactive/hu.json +11 -2
  560. package/locales/interactive/id.json +11 -2
  561. package/locales/interactive/it.json +11 -2
  562. package/locales/interactive/ja.json +11 -2
  563. package/locales/interactive/ko.json +11 -2
  564. package/locales/interactive/mr.json +11 -2
  565. package/locales/interactive/ms.json +11 -2
  566. package/locales/interactive/nl.json +11 -2
  567. package/locales/interactive/pl.json +11 -2
  568. package/locales/interactive/pt.json +11 -2
  569. package/locales/interactive/ro.json +11 -2
  570. package/locales/interactive/ru.json +11 -2
  571. package/locales/interactive/sk.json +11 -2
  572. package/locales/interactive/sv.json +11 -2
  573. package/locales/interactive/sw.json +11 -2
  574. package/locales/interactive/ta.json +11 -2
  575. package/locales/interactive/te.json +11 -2
  576. package/locales/interactive/th.json +11 -2
  577. package/locales/interactive/tl.json +11 -2
  578. package/locales/interactive/tr.json +11 -2
  579. package/locales/interactive/uk.json +11 -2
  580. package/locales/interactive/ur.json +11 -2
  581. package/locales/interactive/vi.json +11 -2
  582. package/locales/interactive/yo.json +11 -2
  583. package/locales/interactive/zh-Hans.json +11 -2
  584. package/locales/interactive/zh-Hant.json +11 -2
  585. package/locales/it.json +20 -3
  586. package/locales/ja.json +18 -3
  587. package/locales/ko.json +18 -3
  588. package/locales/lock/am.json +6 -3
  589. package/locales/lock/ar.json +6 -3
  590. package/locales/lock/bg.json +6 -3
  591. package/locales/lock/bn.json +6 -3
  592. package/locales/lock/br.json +6 -3
  593. package/locales/lock/co.json +6 -3
  594. package/locales/lock/cs.json +6 -3
  595. package/locales/lock/da.json +6 -3
  596. package/locales/lock/de.json +6 -3
  597. package/locales/lock/el.json +6 -3
  598. package/locales/lock/en.json +6 -3
  599. package/locales/lock/es.json +6 -3
  600. package/locales/lock/fa.json +6 -3
  601. package/locales/lock/fi.json +6 -3
  602. package/locales/lock/fr-CA.json +6 -3
  603. package/locales/lock/fr.json +6 -3
  604. package/locales/lock/ha.json +6 -3
  605. package/locales/lock/he.json +6 -3
  606. package/locales/lock/hi.json +6 -3
  607. package/locales/lock/hr.json +6 -3
  608. package/locales/lock/hu.json +6 -3
  609. package/locales/lock/id.json +6 -3
  610. package/locales/lock/it.json +6 -3
  611. package/locales/lock/ja.json +6 -3
  612. package/locales/lock/ko.json +6 -3
  613. package/locales/lock/mr.json +6 -3
  614. package/locales/lock/ms.json +6 -3
  615. package/locales/lock/nl.json +6 -3
  616. package/locales/lock/pl.json +6 -3
  617. package/locales/lock/pt.json +6 -3
  618. package/locales/lock/ro.json +6 -3
  619. package/locales/lock/ru.json +6 -3
  620. package/locales/lock/sk.json +6 -3
  621. package/locales/lock/sv.json +6 -3
  622. package/locales/lock/sw.json +6 -3
  623. package/locales/lock/ta.json +6 -3
  624. package/locales/lock/te.json +6 -3
  625. package/locales/lock/th.json +6 -3
  626. package/locales/lock/tl.json +6 -3
  627. package/locales/lock/tr.json +6 -3
  628. package/locales/lock/uk.json +6 -3
  629. package/locales/lock/ur.json +6 -3
  630. package/locales/lock/vi.json +6 -3
  631. package/locales/lock/yo.json +6 -3
  632. package/locales/lock/zh-Hans.json +6 -3
  633. package/locales/lock/zh-Hant.json +6 -3
  634. package/locales/look/am.json +5 -0
  635. package/locales/look/ar.json +5 -0
  636. package/locales/look/bg.json +5 -0
  637. package/locales/look/bn.json +5 -0
  638. package/locales/look/br.json +5 -0
  639. package/locales/look/co.json +5 -0
  640. package/locales/look/cs.json +5 -0
  641. package/locales/look/da.json +5 -0
  642. package/locales/look/de.json +5 -0
  643. package/locales/look/el.json +5 -0
  644. package/locales/look/en.json +5 -0
  645. package/locales/look/es.json +5 -0
  646. package/locales/look/fa.json +5 -0
  647. package/locales/look/fi.json +5 -0
  648. package/locales/look/fr-CA.json +5 -0
  649. package/locales/look/fr.json +5 -0
  650. package/locales/look/ha.json +5 -0
  651. package/locales/look/he.json +5 -0
  652. package/locales/look/hi.json +5 -0
  653. package/locales/look/hr.json +5 -0
  654. package/locales/look/hu.json +5 -0
  655. package/locales/look/id.json +5 -0
  656. package/locales/look/it.json +5 -0
  657. package/locales/look/ja.json +5 -0
  658. package/locales/look/ko.json +5 -0
  659. package/locales/look/mr.json +5 -0
  660. package/locales/look/ms.json +5 -0
  661. package/locales/look/nl.json +5 -0
  662. package/locales/look/pl.json +5 -0
  663. package/locales/look/pt.json +5 -0
  664. package/locales/look/ro.json +5 -0
  665. package/locales/look/ru.json +5 -0
  666. package/locales/look/sk.json +5 -0
  667. package/locales/look/sv.json +5 -0
  668. package/locales/look/sw.json +5 -0
  669. package/locales/look/ta.json +5 -0
  670. package/locales/look/te.json +5 -0
  671. package/locales/look/th.json +5 -0
  672. package/locales/look/tl.json +5 -0
  673. package/locales/look/tr.json +5 -0
  674. package/locales/look/uk.json +5 -0
  675. package/locales/look/ur.json +5 -0
  676. package/locales/look/vi.json +5 -0
  677. package/locales/look/yo.json +5 -0
  678. package/locales/look/zh-Hans.json +5 -0
  679. package/locales/look/zh-Hant.json +5 -0
  680. package/locales/made/am.json +6 -1
  681. package/locales/made/ar.json +6 -1
  682. package/locales/made/bg.json +6 -1
  683. package/locales/made/bn.json +6 -1
  684. package/locales/made/br.json +6 -1
  685. package/locales/made/co.json +6 -1
  686. package/locales/made/cs.json +6 -1
  687. package/locales/made/da.json +6 -1
  688. package/locales/made/de.json +6 -1
  689. package/locales/made/el.json +6 -1
  690. package/locales/made/en.json +6 -1
  691. package/locales/made/es.json +6 -1
  692. package/locales/made/fa.json +6 -1
  693. package/locales/made/fi.json +6 -1
  694. package/locales/made/fr-CA.json +6 -1
  695. package/locales/made/fr.json +6 -1
  696. package/locales/made/ha.json +6 -1
  697. package/locales/made/he.json +6 -1
  698. package/locales/made/hi.json +6 -1
  699. package/locales/made/hr.json +6 -1
  700. package/locales/made/hu.json +6 -1
  701. package/locales/made/id.json +6 -1
  702. package/locales/made/it.json +6 -1
  703. package/locales/made/ja.json +6 -1
  704. package/locales/made/ko.json +6 -1
  705. package/locales/made/mr.json +6 -1
  706. package/locales/made/ms.json +6 -1
  707. package/locales/made/nl.json +6 -1
  708. package/locales/made/pl.json +6 -1
  709. package/locales/made/pt.json +6 -1
  710. package/locales/made/ro.json +6 -1
  711. package/locales/made/ru.json +6 -1
  712. package/locales/made/sk.json +6 -1
  713. package/locales/made/sv.json +6 -1
  714. package/locales/made/sw.json +6 -1
  715. package/locales/made/ta.json +6 -1
  716. package/locales/made/te.json +6 -1
  717. package/locales/made/th.json +6 -1
  718. package/locales/made/tl.json +6 -1
  719. package/locales/made/tr.json +6 -1
  720. package/locales/made/uk.json +6 -1
  721. package/locales/made/ur.json +6 -1
  722. package/locales/made/vi.json +6 -1
  723. package/locales/made/yo.json +6 -1
  724. package/locales/made/zh-Hans.json +6 -1
  725. package/locales/made/zh-Hant.json +6 -1
  726. package/locales/mr.json +19 -3
  727. package/locales/ms.json +18 -3
  728. package/locales/nl.json +19 -3
  729. package/locales/out/am.json +13 -0
  730. package/locales/out/ar.json +13 -0
  731. package/locales/out/bg.json +13 -0
  732. package/locales/out/bn.json +13 -0
  733. package/locales/out/br.json +13 -0
  734. package/locales/out/co.json +13 -0
  735. package/locales/out/cs.json +13 -0
  736. package/locales/out/da.json +13 -0
  737. package/locales/out/de.json +13 -0
  738. package/locales/out/el.json +13 -0
  739. package/locales/out/en.json +13 -0
  740. package/locales/out/es.json +13 -0
  741. package/locales/out/fa.json +13 -0
  742. package/locales/out/fi.json +13 -0
  743. package/locales/out/fr-CA.json +13 -0
  744. package/locales/out/fr.json +13 -0
  745. package/locales/out/ha.json +13 -0
  746. package/locales/out/he.json +13 -0
  747. package/locales/out/hi.json +13 -0
  748. package/locales/out/hr.json +13 -0
  749. package/locales/out/hu.json +13 -0
  750. package/locales/out/id.json +13 -0
  751. package/locales/out/it.json +13 -0
  752. package/locales/out/ja.json +13 -0
  753. package/locales/out/ko.json +13 -0
  754. package/locales/out/mr.json +13 -0
  755. package/locales/out/ms.json +13 -0
  756. package/locales/out/nl.json +13 -0
  757. package/locales/out/pl.json +13 -0
  758. package/locales/out/pt.json +13 -0
  759. package/locales/out/ro.json +13 -0
  760. package/locales/out/ru.json +13 -0
  761. package/locales/out/sk.json +13 -0
  762. package/locales/out/sv.json +13 -0
  763. package/locales/out/sw.json +13 -0
  764. package/locales/out/ta.json +13 -0
  765. package/locales/out/te.json +13 -0
  766. package/locales/out/th.json +13 -0
  767. package/locales/out/tl.json +13 -0
  768. package/locales/out/tr.json +13 -0
  769. package/locales/out/uk.json +13 -0
  770. package/locales/out/ur.json +13 -0
  771. package/locales/out/vi.json +13 -0
  772. package/locales/out/yo.json +13 -0
  773. package/locales/out/zh-Hans.json +13 -0
  774. package/locales/out/zh-Hant.json +13 -0
  775. package/locales/pl.json +21 -3
  776. package/locales/profiles/am.json +5 -0
  777. package/locales/profiles/ar.json +5 -0
  778. package/locales/profiles/bg.json +5 -0
  779. package/locales/profiles/bn.json +5 -0
  780. package/locales/profiles/br.json +5 -0
  781. package/locales/profiles/co.json +5 -0
  782. package/locales/profiles/cs.json +5 -0
  783. package/locales/profiles/da.json +5 -0
  784. package/locales/profiles/de.json +5 -0
  785. package/locales/profiles/el.json +5 -0
  786. package/locales/profiles/en.json +5 -0
  787. package/locales/profiles/es.json +5 -0
  788. package/locales/profiles/fa.json +5 -0
  789. package/locales/profiles/fi.json +5 -0
  790. package/locales/profiles/fr-CA.json +5 -0
  791. package/locales/profiles/fr.json +5 -0
  792. package/locales/profiles/ha.json +5 -0
  793. package/locales/profiles/he.json +5 -0
  794. package/locales/profiles/hi.json +5 -0
  795. package/locales/profiles/hr.json +5 -0
  796. package/locales/profiles/hu.json +5 -0
  797. package/locales/profiles/id.json +5 -0
  798. package/locales/profiles/it.json +5 -0
  799. package/locales/profiles/ja.json +5 -0
  800. package/locales/profiles/ko.json +5 -0
  801. package/locales/profiles/mr.json +5 -0
  802. package/locales/profiles/ms.json +5 -0
  803. package/locales/profiles/nl.json +5 -0
  804. package/locales/profiles/pl.json +5 -0
  805. package/locales/profiles/pt.json +5 -0
  806. package/locales/profiles/ro.json +5 -0
  807. package/locales/profiles/ru.json +5 -0
  808. package/locales/profiles/sk.json +5 -0
  809. package/locales/profiles/sv.json +5 -0
  810. package/locales/profiles/sw.json +5 -0
  811. package/locales/profiles/ta.json +5 -0
  812. package/locales/profiles/te.json +5 -0
  813. package/locales/profiles/th.json +5 -0
  814. package/locales/profiles/tl.json +5 -0
  815. package/locales/profiles/tr.json +5 -0
  816. package/locales/profiles/uk.json +5 -0
  817. package/locales/profiles/ur.json +5 -0
  818. package/locales/profiles/vi.json +5 -0
  819. package/locales/profiles/yo.json +5 -0
  820. package/locales/profiles/zh-Hans.json +5 -0
  821. package/locales/profiles/zh-Hant.json +5 -0
  822. package/locales/pt.json +20 -3
  823. package/locales/ro.json +20 -3
  824. package/locales/routines/am.json +9 -0
  825. package/locales/routines/ar.json +9 -0
  826. package/locales/routines/bg.json +9 -0
  827. package/locales/routines/bn.json +9 -0
  828. package/locales/routines/br.json +9 -0
  829. package/locales/routines/co.json +9 -0
  830. package/locales/routines/cs.json +9 -0
  831. package/locales/routines/da.json +9 -0
  832. package/locales/routines/de.json +9 -0
  833. package/locales/routines/el.json +9 -0
  834. package/locales/routines/en.json +9 -0
  835. package/locales/routines/es.json +9 -0
  836. package/locales/routines/fa.json +9 -0
  837. package/locales/routines/fi.json +9 -0
  838. package/locales/routines/fr-CA.json +9 -0
  839. package/locales/routines/fr.json +9 -0
  840. package/locales/routines/ha.json +9 -0
  841. package/locales/routines/he.json +9 -0
  842. package/locales/routines/hi.json +9 -0
  843. package/locales/routines/hr.json +9 -0
  844. package/locales/routines/hu.json +9 -0
  845. package/locales/routines/id.json +9 -0
  846. package/locales/routines/it.json +9 -0
  847. package/locales/routines/ja.json +9 -0
  848. package/locales/routines/ko.json +9 -0
  849. package/locales/routines/mr.json +9 -0
  850. package/locales/routines/ms.json +9 -0
  851. package/locales/routines/nl.json +9 -0
  852. package/locales/routines/pl.json +9 -0
  853. package/locales/routines/pt.json +9 -0
  854. package/locales/routines/ro.json +9 -0
  855. package/locales/routines/ru.json +9 -0
  856. package/locales/routines/sk.json +9 -0
  857. package/locales/routines/sv.json +9 -0
  858. package/locales/routines/sw.json +9 -0
  859. package/locales/routines/ta.json +9 -0
  860. package/locales/routines/te.json +9 -0
  861. package/locales/routines/th.json +9 -0
  862. package/locales/routines/tl.json +9 -0
  863. package/locales/routines/tr.json +9 -0
  864. package/locales/routines/uk.json +9 -0
  865. package/locales/routines/ur.json +9 -0
  866. package/locales/routines/vi.json +9 -0
  867. package/locales/routines/yo.json +9 -0
  868. package/locales/routines/zh-Hans.json +9 -0
  869. package/locales/routines/zh-Hant.json +9 -0
  870. package/locales/ru.json +21 -3
  871. package/locales/scores/am.json +5 -1
  872. package/locales/scores/ar.json +5 -1
  873. package/locales/scores/bg.json +5 -1
  874. package/locales/scores/bn.json +5 -1
  875. package/locales/scores/br.json +5 -1
  876. package/locales/scores/co.json +5 -1
  877. package/locales/scores/cs.json +5 -1
  878. package/locales/scores/da.json +5 -1
  879. package/locales/scores/de.json +5 -1
  880. package/locales/scores/el.json +5 -1
  881. package/locales/scores/en.json +5 -1
  882. package/locales/scores/es.json +5 -1
  883. package/locales/scores/fa.json +5 -1
  884. package/locales/scores/fi.json +5 -1
  885. package/locales/scores/fr-CA.json +5 -1
  886. package/locales/scores/fr.json +5 -1
  887. package/locales/scores/ha.json +5 -1
  888. package/locales/scores/he.json +5 -1
  889. package/locales/scores/hi.json +5 -1
  890. package/locales/scores/hr.json +5 -1
  891. package/locales/scores/hu.json +5 -1
  892. package/locales/scores/id.json +5 -1
  893. package/locales/scores/it.json +5 -1
  894. package/locales/scores/ja.json +5 -1
  895. package/locales/scores/ko.json +5 -1
  896. package/locales/scores/mr.json +5 -1
  897. package/locales/scores/ms.json +5 -1
  898. package/locales/scores/nl.json +5 -1
  899. package/locales/scores/pl.json +5 -1
  900. package/locales/scores/pt.json +5 -1
  901. package/locales/scores/ro.json +5 -1
  902. package/locales/scores/ru.json +5 -1
  903. package/locales/scores/sk.json +5 -1
  904. package/locales/scores/sv.json +5 -1
  905. package/locales/scores/sw.json +5 -1
  906. package/locales/scores/ta.json +5 -1
  907. package/locales/scores/te.json +5 -1
  908. package/locales/scores/th.json +5 -1
  909. package/locales/scores/tl.json +5 -1
  910. package/locales/scores/tr.json +5 -1
  911. package/locales/scores/uk.json +5 -1
  912. package/locales/scores/ur.json +5 -1
  913. package/locales/scores/vi.json +5 -1
  914. package/locales/scores/yo.json +5 -1
  915. package/locales/scores/zh-Hans.json +5 -1
  916. package/locales/scores/zh-Hant.json +5 -1
  917. package/locales/search/am.json +10 -1
  918. package/locales/search/ar.json +10 -1
  919. package/locales/search/bg.json +10 -1
  920. package/locales/search/bn.json +10 -1
  921. package/locales/search/br.json +10 -1
  922. package/locales/search/co.json +10 -1
  923. package/locales/search/cs.json +10 -1
  924. package/locales/search/da.json +10 -1
  925. package/locales/search/de.json +10 -1
  926. package/locales/search/el.json +10 -1
  927. package/locales/search/en.json +10 -1
  928. package/locales/search/es.json +10 -1
  929. package/locales/search/fa.json +10 -1
  930. package/locales/search/fi.json +10 -1
  931. package/locales/search/fr-CA.json +10 -1
  932. package/locales/search/fr.json +10 -1
  933. package/locales/search/ha.json +10 -1
  934. package/locales/search/he.json +10 -1
  935. package/locales/search/hi.json +10 -1
  936. package/locales/search/hr.json +10 -1
  937. package/locales/search/hu.json +10 -1
  938. package/locales/search/id.json +10 -1
  939. package/locales/search/it.json +10 -1
  940. package/locales/search/ja.json +10 -1
  941. package/locales/search/ko.json +10 -1
  942. package/locales/search/mr.json +10 -1
  943. package/locales/search/ms.json +10 -1
  944. package/locales/search/nl.json +10 -1
  945. package/locales/search/pl.json +10 -1
  946. package/locales/search/pt.json +10 -1
  947. package/locales/search/ro.json +10 -1
  948. package/locales/search/ru.json +10 -1
  949. package/locales/search/sk.json +10 -1
  950. package/locales/search/sv.json +10 -1
  951. package/locales/search/sw.json +10 -1
  952. package/locales/search/ta.json +10 -1
  953. package/locales/search/te.json +10 -1
  954. package/locales/search/th.json +10 -1
  955. package/locales/search/tl.json +10 -1
  956. package/locales/search/tr.json +10 -1
  957. package/locales/search/uk.json +10 -1
  958. package/locales/search/ur.json +10 -1
  959. package/locales/search/vi.json +10 -1
  960. package/locales/search/yo.json +10 -1
  961. package/locales/search/zh-Hans.json +10 -1
  962. package/locales/search/zh-Hant.json +10 -1
  963. package/locales/signin/am.json +3 -1
  964. package/locales/signin/ar.json +3 -1
  965. package/locales/signin/bg.json +3 -1
  966. package/locales/signin/bn.json +3 -1
  967. package/locales/signin/br.json +3 -1
  968. package/locales/signin/co.json +3 -1
  969. package/locales/signin/cs.json +3 -1
  970. package/locales/signin/da.json +3 -1
  971. package/locales/signin/de.json +3 -1
  972. package/locales/signin/el.json +3 -1
  973. package/locales/signin/en.json +3 -1
  974. package/locales/signin/es.json +3 -1
  975. package/locales/signin/fa.json +3 -1
  976. package/locales/signin/fi.json +3 -1
  977. package/locales/signin/fr-CA.json +3 -1
  978. package/locales/signin/fr.json +3 -1
  979. package/locales/signin/ha.json +3 -1
  980. package/locales/signin/he.json +3 -1
  981. package/locales/signin/hi.json +3 -1
  982. package/locales/signin/hr.json +3 -1
  983. package/locales/signin/hu.json +3 -1
  984. package/locales/signin/id.json +3 -1
  985. package/locales/signin/it.json +3 -1
  986. package/locales/signin/ja.json +3 -1
  987. package/locales/signin/ko.json +3 -1
  988. package/locales/signin/mr.json +3 -1
  989. package/locales/signin/ms.json +3 -1
  990. package/locales/signin/nl.json +3 -1
  991. package/locales/signin/pl.json +3 -1
  992. package/locales/signin/pt.json +3 -1
  993. package/locales/signin/ro.json +3 -1
  994. package/locales/signin/ru.json +3 -1
  995. package/locales/signin/sk.json +3 -1
  996. package/locales/signin/sv.json +3 -1
  997. package/locales/signin/sw.json +3 -1
  998. package/locales/signin/ta.json +3 -1
  999. package/locales/signin/te.json +3 -1
  1000. package/locales/signin/th.json +3 -1
  1001. package/locales/signin/tl.json +3 -1
  1002. package/locales/signin/tr.json +3 -1
  1003. package/locales/signin/uk.json +3 -1
  1004. package/locales/signin/ur.json +3 -1
  1005. package/locales/signin/vi.json +3 -1
  1006. package/locales/signin/yo.json +3 -1
  1007. package/locales/signin/zh-Hans.json +3 -1
  1008. package/locales/signin/zh-Hant.json +3 -1
  1009. package/locales/sk.json +21 -3
  1010. package/locales/slides/am.json +16 -11
  1011. package/locales/slides/ar.json +16 -11
  1012. package/locales/slides/bg.json +16 -11
  1013. package/locales/slides/bn.json +16 -11
  1014. package/locales/slides/br.json +16 -11
  1015. package/locales/slides/co.json +16 -11
  1016. package/locales/slides/cs.json +16 -11
  1017. package/locales/slides/da.json +16 -11
  1018. package/locales/slides/de.json +16 -11
  1019. package/locales/slides/el.json +16 -11
  1020. package/locales/slides/en.json +16 -11
  1021. package/locales/slides/es.json +16 -11
  1022. package/locales/slides/fa.json +16 -11
  1023. package/locales/slides/fi.json +16 -11
  1024. package/locales/slides/fr-CA.json +16 -11
  1025. package/locales/slides/fr.json +16 -11
  1026. package/locales/slides/ha.json +16 -11
  1027. package/locales/slides/he.json +16 -11
  1028. package/locales/slides/hi.json +16 -11
  1029. package/locales/slides/hr.json +16 -11
  1030. package/locales/slides/hu.json +16 -11
  1031. package/locales/slides/id.json +16 -11
  1032. package/locales/slides/it.json +16 -11
  1033. package/locales/slides/ja.json +16 -11
  1034. package/locales/slides/ko.json +16 -11
  1035. package/locales/slides/mr.json +16 -11
  1036. package/locales/slides/ms.json +16 -11
  1037. package/locales/slides/nl.json +16 -11
  1038. package/locales/slides/pl.json +16 -11
  1039. package/locales/slides/pt.json +16 -11
  1040. package/locales/slides/ro.json +16 -11
  1041. package/locales/slides/ru.json +16 -11
  1042. package/locales/slides/sk.json +16 -11
  1043. package/locales/slides/sv.json +16 -11
  1044. package/locales/slides/sw.json +16 -11
  1045. package/locales/slides/ta.json +16 -11
  1046. package/locales/slides/te.json +16 -11
  1047. package/locales/slides/th.json +16 -11
  1048. package/locales/slides/tl.json +16 -11
  1049. package/locales/slides/tr.json +16 -11
  1050. package/locales/slides/uk.json +16 -11
  1051. package/locales/slides/ur.json +16 -11
  1052. package/locales/slides/vi.json +16 -11
  1053. package/locales/slides/yo.json +16 -11
  1054. package/locales/slides/zh-Hans.json +16 -11
  1055. package/locales/slides/zh-Hant.json +16 -11
  1056. package/locales/sv.json +19 -3
  1057. package/locales/sw.json +19 -3
  1058. package/locales/sync/am.json +1 -0
  1059. package/locales/sync/ar.json +1 -0
  1060. package/locales/sync/bg.json +1 -0
  1061. package/locales/sync/bn.json +1 -0
  1062. package/locales/sync/br.json +1 -0
  1063. package/locales/sync/co.json +1 -0
  1064. package/locales/sync/cs.json +1 -0
  1065. package/locales/sync/da.json +1 -0
  1066. package/locales/sync/de.json +1 -0
  1067. package/locales/sync/el.json +1 -0
  1068. package/locales/sync/en.json +1 -0
  1069. package/locales/sync/es.json +1 -0
  1070. package/locales/sync/fa.json +1 -0
  1071. package/locales/sync/fi.json +1 -0
  1072. package/locales/sync/fr-CA.json +1 -0
  1073. package/locales/sync/fr.json +1 -0
  1074. package/locales/sync/ha.json +1 -0
  1075. package/locales/sync/he.json +1 -0
  1076. package/locales/sync/hi.json +1 -0
  1077. package/locales/sync/hr.json +1 -0
  1078. package/locales/sync/hu.json +1 -0
  1079. package/locales/sync/id.json +1 -0
  1080. package/locales/sync/it.json +1 -0
  1081. package/locales/sync/ja.json +1 -0
  1082. package/locales/sync/ko.json +1 -0
  1083. package/locales/sync/mr.json +1 -0
  1084. package/locales/sync/ms.json +1 -0
  1085. package/locales/sync/nl.json +1 -0
  1086. package/locales/sync/pl.json +1 -0
  1087. package/locales/sync/pt.json +1 -0
  1088. package/locales/sync/ro.json +1 -0
  1089. package/locales/sync/ru.json +1 -0
  1090. package/locales/sync/sk.json +1 -0
  1091. package/locales/sync/sv.json +1 -0
  1092. package/locales/sync/sw.json +1 -0
  1093. package/locales/sync/ta.json +1 -0
  1094. package/locales/sync/te.json +1 -0
  1095. package/locales/sync/th.json +1 -0
  1096. package/locales/sync/tl.json +1 -0
  1097. package/locales/sync/tr.json +1 -0
  1098. package/locales/sync/uk.json +1 -0
  1099. package/locales/sync/ur.json +1 -0
  1100. package/locales/sync/vi.json +1 -0
  1101. package/locales/sync/yo.json +1 -0
  1102. package/locales/sync/zh-Hans.json +1 -0
  1103. package/locales/sync/zh-Hant.json +1 -0
  1104. package/locales/ta.json +19 -3
  1105. package/locales/tables/am.json +27 -2
  1106. package/locales/tables/ar.json +35 -2
  1107. package/locales/tables/bg.json +27 -2
  1108. package/locales/tables/bn.json +27 -2
  1109. package/locales/tables/br.json +33 -2
  1110. package/locales/tables/co.json +29 -2
  1111. package/locales/tables/cs.json +33 -4
  1112. package/locales/tables/da.json +27 -2
  1113. package/locales/tables/de.json +27 -2
  1114. package/locales/tables/el.json +27 -2
  1115. package/locales/tables/en.json +27 -2
  1116. package/locales/tables/es.json +29 -2
  1117. package/locales/tables/fa.json +27 -2
  1118. package/locales/tables/fi.json +27 -2
  1119. package/locales/tables/fr-CA.json +29 -2
  1120. package/locales/tables/fr.json +29 -2
  1121. package/locales/tables/ha.json +27 -2
  1122. package/locales/tables/he.json +31 -4
  1123. package/locales/tables/hi.json +27 -2
  1124. package/locales/tables/hr.json +29 -2
  1125. package/locales/tables/hu.json +27 -2
  1126. package/locales/tables/id.json +25 -2
  1127. package/locales/tables/it.json +29 -2
  1128. package/locales/tables/ja.json +25 -2
  1129. package/locales/tables/ko.json +25 -2
  1130. package/locales/tables/mr.json +27 -2
  1131. package/locales/tables/ms.json +25 -2
  1132. package/locales/tables/nl.json +27 -2
  1133. package/locales/tables/pl.json +31 -2
  1134. package/locales/tables/pt.json +29 -2
  1135. package/locales/tables/ro.json +29 -2
  1136. package/locales/tables/ru.json +31 -2
  1137. package/locales/tables/sk.json +33 -4
  1138. package/locales/tables/sv.json +29 -4
  1139. package/locales/tables/sw.json +27 -2
  1140. package/locales/tables/ta.json +27 -2
  1141. package/locales/tables/te.json +29 -4
  1142. package/locales/tables/th.json +25 -2
  1143. package/locales/tables/tl.json +29 -4
  1144. package/locales/tables/tr.json +27 -2
  1145. package/locales/tables/uk.json +31 -2
  1146. package/locales/tables/ur.json +27 -2
  1147. package/locales/tables/vi.json +27 -4
  1148. package/locales/tables/yo.json +27 -4
  1149. package/locales/tables/zh-Hans.json +27 -4
  1150. package/locales/tables/zh-Hant.json +27 -4
  1151. package/locales/te.json +19 -3
  1152. package/locales/th.json +18 -3
  1153. package/locales/tl.json +19 -3
  1154. package/locales/tr.json +19 -3
  1155. package/locales/uk.json +21 -3
  1156. package/locales/ur.json +19 -3
  1157. package/locales/vi.json +18 -3
  1158. package/locales/yo.json +18 -3
  1159. package/locales/zh-Hans.json +18 -3
  1160. package/locales/zh-Hant.json +18 -3
  1161. package/package.json +5 -1
  1162. package/ui/caps.js +9 -4
  1163. package/ui/csp.js +1 -1
  1164. package/ui/export.js +10 -4
  1165. package/ui/icons.js +2 -1
  1166. package/ui/kit.js +44 -10
  1167. package/ui/language.js +172 -0
  1168. package/ui/looks/classic.css +3 -2
  1169. package/ui/looks/human.css +7 -9
  1170. package/ui/looks/mail.css +1 -1
  1171. package/ui/looks/minimal.css +1 -1
  1172. package/ui/looks.js +1 -1
  1173. package/ui/markdown.js +17 -6
  1174. package/ui/model.js +6 -0
  1175. package/ui/reader-state.js +1 -1
  1176. package/ui/review.js +1 -1
  1177. package/ui/save.js +16 -0
  1178. package/ui/seal.js +5 -4
  1179. package/ui/sheet.js +21 -2
  1180. package/ui/style.css +54 -32
  1181. package/ui/touches.js +4 -1
  1182. package/ui/view.css +1 -1
  1183. package/ui/view.js +10 -8
  1184. package/vendor/LICENSES/babylonjs-core.txt +2 -0
  1185. package/vendor/LICENSES/eventemitter3.txt +21 -0
  1186. package/vendor/LICENSES/maplibre-gl.txt +1 -1
  1187. package/vendor/LICENSES/phaser.txt +20 -0
  1188. package/vendor/LICENSES/zzfx.txt +21 -0
  1189. package/vendor/abcjs/abcjs.mjs +2 -2
  1190. package/vendor/babylon/babylon.mjs +8122 -0
  1191. package/vendor/deck/deck.css +2 -2
  1192. package/vendor/deck/deck.mjs +37 -37
  1193. package/vendor/deck/pptx.mjs +1 -1
  1194. package/vendor/maplibre/maplibre-gl-worker.js +3 -3
  1195. package/vendor/maplibre/maplibre-gl.css +1 -1
  1196. package/vendor/maplibre/maplibre-gl.mjs +37 -37
  1197. package/vendor/marked.esm.js +40 -38
  1198. package/vendor/ooxml/abort-JztSoyw2.js +8 -0
  1199. package/vendor/ooxml/{hyperlink-Cxzhet30.js → bounded-raw-part-cache-B8t03tSP.js} +4460 -7080
  1200. package/vendor/ooxml/bundled-asset-url-BMJ8vNHP.js +13 -0
  1201. package/vendor/ooxml/canvas-viewer-mechanics-DI38gHNV.js +653 -0
  1202. package/vendor/ooxml/cfb-guard-BIaHdonq.js +516 -0
  1203. package/vendor/ooxml/{chunk-DmhlhrBa.js → chunk-D5OxutzX.js} +0 -2
  1204. package/vendor/ooxml/comment-overlay-controller-Crm5Syhx.js +974 -0
  1205. package/vendor/ooxml/{comment-ui-runtime-CWGqn5Vr.js → comment-ui-runtime-BfEPgl5r.js} +5 -7
  1206. package/vendor/ooxml/comment-ui-runtime-BtP_TpvT.js +2 -0
  1207. package/vendor/ooxml/{comment-ui-runtime-DcJOYlw-.js → comment-ui-runtime-hfewTmVJ.js} +5 -7
  1208. package/vendor/ooxml/delimited-text-worker-host-RwvuSsP2.js +21 -0
  1209. package/vendor/ooxml/document-model-source-BUTSwkyP.js +247 -0
  1210. package/vendor/ooxml/document-pull-client-C_D779tO.js +36230 -0
  1211. package/vendor/ooxml/docx-BfLZeiwa.js +3509 -0
  1212. package/vendor/ooxml/docx.mjs +7 -7
  1213. package/vendor/ooxml/docx_parser_bg.wasm +0 -0
  1214. package/vendor/ooxml/drawingml-shape-BcXkRayC.js +306 -0
  1215. package/vendor/ooxml/duotone-BI7CoghW.js +122 -0
  1216. package/vendor/ooxml/emf-DgUBx9BU.js +1788 -0
  1217. package/vendor/ooxml/font-preload-demand-B6HPFxDp.js +2052 -0
  1218. package/vendor/ooxml/graph.json +1 -1
  1219. package/vendor/ooxml/grid-geometry-CqTDvpDr.js +379 -0
  1220. package/vendor/ooxml/host-layout-Cz_lCuTZ.js +55 -0
  1221. package/vendor/ooxml/line-distribute-DR9Qwd3u.js +2783 -0
  1222. package/vendor/ooxml/{mathjax-DoyWZbSp.js → mathjax-DvwccQ8e.js} +0 -2
  1223. package/vendor/ooxml/model-source-COXegBNA.js +177 -0
  1224. package/vendor/ooxml/{pixel-budget-9P63Bsk5.js → pixel-budget-DI82Hn3R.js} +13 -12
  1225. package/vendor/ooxml/plot-area-frame-D3JtHvov.js +41645 -0
  1226. package/vendor/ooxml/pptx-CfCiVlNB.js +2888 -0
  1227. package/vendor/ooxml/pptx.mjs +8 -7
  1228. package/vendor/ooxml/pptx_parser_bg.wasm +0 -0
  1229. package/vendor/ooxml/presentation-model-source-DL6duh5l.js +75 -0
  1230. package/vendor/ooxml/raster-target-Ca3tyA0L.js +40 -0
  1231. package/vendor/ooxml/{read-only-comment-decoration-Dz7eTQ4d.js → read-only-comment-decoration-B06YO2zk.js} +0 -4
  1232. package/vendor/ooxml/{read-only-comment-margin-DkgzASAl.js → read-only-comment-margin-Ee9Y6vPg.js} +0 -2
  1233. package/vendor/ooxml/renderer-IFuBkPvF.js +5197 -0
  1234. package/vendor/ooxml/{renderer-module-contract-D91rkYHH.js → renderer-module-contract-BuTx2FWJ.js} +0 -2
  1235. package/vendor/ooxml/renderer-xdugdcMd.js +5769 -0
  1236. package/vendor/ooxml/resource-measurement-D2bu0Qfx.js +756 -0
  1237. package/vendor/ooxml/slide-pull-client-BUuJQQVE.js +6431 -0
  1238. package/vendor/ooxml/three-d-ByHGsYrX.js +868 -0
  1239. package/vendor/ooxml/tiff-contract-DEd8CGuz.js +48 -0
  1240. package/vendor/ooxml/{visible-index-BgiHEc1z.js → visible-index-vN-4BNn7.js} +0 -2
  1241. package/vendor/ooxml/workbook-model-source-DBfVsWj7.js +92 -0
  1242. package/vendor/ooxml/worker-source-C29EQNUj.js +18 -0
  1243. package/vendor/ooxml/worker-source-D3NwPe6l.js +18 -0
  1244. package/vendor/ooxml/worker-source-ZQE9C1j6.js +18 -0
  1245. package/vendor/ooxml/worksheet-pull-client-Du0MuIro.js +565 -0
  1246. package/vendor/ooxml/xlsx-CCMRAxPB.js +5812 -0
  1247. package/vendor/ooxml/xlsx.mjs +8 -7
  1248. package/vendor/ooxml/xlsx_parser_bg.wasm +0 -0
  1249. package/vendor/pele/chunks/2CHDFZHC.js +1 -0
  1250. package/vendor/pele/chunks/{GAP5KXLD.js → 2S3JPEOY.js} +1 -1
  1251. package/vendor/pele/chunks/2U463FD2.js +11 -0
  1252. package/vendor/pele/chunks/3OKCTCH7.js +1 -0
  1253. package/vendor/pele/chunks/42UK3TL6.js +8 -0
  1254. package/vendor/pele/chunks/43YPWK3Q.js +1 -0
  1255. package/vendor/pele/chunks/45MVAN6X.js +1 -0
  1256. package/vendor/pele/chunks/46GJKBLZ.js +1 -0
  1257. package/vendor/pele/chunks/4WR52FRP.js +4 -0
  1258. package/vendor/pele/chunks/63WH7YNF.js +1 -0
  1259. package/vendor/pele/chunks/{2TH3V34D.js → 673H7YBG.js} +1 -1
  1260. package/vendor/pele/chunks/6DDU7VKX.js +1 -0
  1261. package/vendor/pele/chunks/{3MKGV5HX.js → 6Y6FML25.js} +1 -1
  1262. package/vendor/pele/chunks/{4AG6A4TK.js → 7HQPULDG.js} +1 -1
  1263. package/vendor/pele/chunks/7N3VAIG2.js +2 -0
  1264. package/vendor/pele/chunks/{QFOMM5LR.js → 7NY54ILO.js} +1 -1
  1265. package/vendor/pele/chunks/{VHJMZXCQ.js → BJNHMTN6.js} +1 -1
  1266. package/vendor/pele/chunks/{6PEWY3TN.js → BK7N5KMP.js} +1 -1
  1267. package/vendor/pele/chunks/CLQLV5VT.js +1 -0
  1268. package/vendor/pele/chunks/CUSPXG5M.js +1 -0
  1269. package/vendor/pele/chunks/D3L7O4X2.js +1 -0
  1270. package/vendor/pele/chunks/{D4V2MWCI.js → D5TW5CPZ.js} +1 -1
  1271. package/vendor/pele/chunks/DDVFZY3L.js +7 -0
  1272. package/vendor/pele/chunks/{3S2YGJBL.js → DO6ND2WD.js} +5 -5
  1273. package/vendor/pele/chunks/EGADTWYV.js +1 -0
  1274. package/vendor/pele/chunks/EI4VGK5C.js +4 -0
  1275. package/vendor/pele/chunks/EOJSJZXM.js +1 -0
  1276. package/vendor/pele/chunks/F4O23KYR.js +5 -0
  1277. package/vendor/pele/chunks/G2OEIG6X.js +1 -0
  1278. package/vendor/pele/chunks/GER2CN75.js +2 -0
  1279. package/vendor/pele/chunks/{RGVCULFG.js → GP5YUCAR.js} +1 -1
  1280. package/vendor/pele/chunks/GXJ2T77W.js +1 -0
  1281. package/vendor/pele/chunks/HX3UMAK7.js +1 -0
  1282. package/vendor/pele/chunks/IU7WZTP6.js +4 -0
  1283. package/vendor/pele/chunks/J3JF2HV4.js +12 -0
  1284. package/vendor/pele/chunks/J5J2NR2G.js +1 -0
  1285. package/vendor/pele/chunks/JRCWTJEL.js +1 -0
  1286. package/vendor/pele/chunks/{M7II5KMO.js → K2ZHGJKH.js} +1 -1
  1287. package/vendor/pele/chunks/{E3FWOBN4.js → KHUP5TOH.js} +3 -3
  1288. package/vendor/pele/chunks/L74FQTH5.js +1 -0
  1289. package/vendor/pele/chunks/LAV4ZXOS.js +1 -0
  1290. package/vendor/pele/chunks/LBIZYCRR.js +1 -0
  1291. package/vendor/pele/chunks/LFFXNLRS.js +1 -0
  1292. package/vendor/pele/chunks/LJ44NU43.js +3 -0
  1293. package/vendor/pele/chunks/LLLWOAQD.js +1 -0
  1294. package/vendor/pele/chunks/LTY5LMQH.js +5 -0
  1295. package/vendor/pele/chunks/LTYQZ5U5.js +1 -0
  1296. package/vendor/pele/chunks/MJBOF5Q6.js +2 -0
  1297. package/vendor/pele/chunks/NDSCUZ25.js +1 -0
  1298. package/vendor/pele/chunks/NMN3IKWL.js +1 -0
  1299. package/vendor/pele/chunks/NMUA3R2D.js +1 -0
  1300. package/vendor/pele/chunks/NY5A6PPW.js +1 -0
  1301. package/vendor/pele/chunks/O3ACPFEJ.js +8 -0
  1302. package/vendor/pele/chunks/{A6VFOGAO.js → O4MQT6AV.js} +1 -1
  1303. package/vendor/pele/chunks/{DUZNPW7S.js → OHJ2EJXK.js} +1 -1
  1304. package/vendor/pele/chunks/OU2GIT2H.js +1 -0
  1305. package/vendor/pele/chunks/{E65FQMJL.js → PDMLSE6I.js} +1 -1
  1306. package/vendor/pele/chunks/PJ7X32S5.js +1 -0
  1307. package/vendor/pele/chunks/RLLQ44NJ.js +1 -0
  1308. package/vendor/pele/chunks/S6DWMCK5.js +1 -0
  1309. package/vendor/pele/chunks/STIOTUT7.js +1 -0
  1310. package/vendor/pele/chunks/{UO52YEYL.js → SXSLPWUD.js} +1 -1
  1311. package/vendor/pele/chunks/TBJXKAT4.js +3 -0
  1312. package/vendor/pele/chunks/TIVX74RS.js +2 -0
  1313. package/vendor/pele/chunks/{KIF544NL.js → TK23BXEA.js} +1 -1
  1314. package/vendor/pele/chunks/{STAXBNH4.js → TR4WJQGX.js} +1 -1
  1315. package/vendor/pele/chunks/UWRPUF3N.js +1 -0
  1316. package/vendor/pele/chunks/VMTWYMKQ.js +2 -0
  1317. package/vendor/pele/chunks/VSWIZJ7B.js +1 -0
  1318. package/vendor/pele/chunks/{STMK7JZH.js → W2WY5CQX.js} +2 -2
  1319. package/vendor/pele/chunks/W77N5H3K.js +2 -0
  1320. package/vendor/pele/chunks/WM7NR6YK.js +1 -0
  1321. package/vendor/pele/chunks/WSTWNLCU.js +4 -0
  1322. package/vendor/pele/chunks/WXKV2YEK.js +1 -0
  1323. package/vendor/pele/chunks/XQ5S3AI3.js +13 -0
  1324. package/vendor/pele/chunks/YNX532HU.js +1 -0
  1325. package/vendor/pele/chunks/{DHKBVIA3.js → YUPSMAUO.js} +1 -1
  1326. package/vendor/pele/chunks/{IHVFDU4A.js → YWXUFHC7.js} +7 -7
  1327. package/vendor/pele/chunks/Z3ZRV7NH.js +2 -0
  1328. package/vendor/pele/chunks/ZFRCZTLK.js +1 -0
  1329. package/vendor/pele/chunks/ZZDR4CN3.js +1 -0
  1330. package/vendor/pele/lazy.js +1 -1
  1331. package/vendor/phaser/phaser.mjs +1 -0
  1332. package/vendor/signals-core.mjs +1 -1
  1333. package/vendor/spessasynth/fflate.mjs +1 -0
  1334. package/vendor/spessasynth/spessasynth.mjs +37033 -15099
  1335. package/vendor/temml/temml.mjs +1 -1
  1336. package/vendor/zzfx/zzfx.mjs +1 -0
  1337. package/ui/acts.js +0 -12
  1338. package/vendor/ooxml/bounded-raw-part-cache-Cg1BsSZQ.js +0 -119
  1339. package/vendor/ooxml/canvas-viewer-mechanics-DbLz0rYW.js +0 -1384
  1340. package/vendor/ooxml/cjk-fallback-bLI3z70h.js +0 -46
  1341. package/vendor/ooxml/comment-occurrence-C8Y2uoVr.js +0 -6
  1342. package/vendor/ooxml/comment-ui-runtime-BsK8pmUT.js +0 -2
  1343. package/vendor/ooxml/comments-Diid5ujN.js +0 -246
  1344. package/vendor/ooxml/delimited-text-worker-host-BVY-Ecni.js +0 -25
  1345. package/vendor/ooxml/document-pull-client-B9PTM-pL.js +0 -27280
  1346. package/vendor/ooxml/docx-BF9WXrYH.js +0 -3101
  1347. package/vendor/ooxml/dom-interaction-boundary-Cnm8DSBN.js +0 -223
  1348. package/vendor/ooxml/highlight-rect-C5hkRqUr.js +0 -13
  1349. package/vendor/ooxml/line-distribute-D1WNHKz_.js +0 -1023
  1350. package/vendor/ooxml/line-metrics-B60C86uh.js +0 -60
  1351. package/vendor/ooxml/plot-area-frame-DLTYKHNP.js +0 -4354
  1352. package/vendor/ooxml/pptx-DkyYBYoL.js +0 -3063
  1353. package/vendor/ooxml/raster-target-ojDdQizC.js +0 -91
  1354. package/vendor/ooxml/renderer-B4GZb5We.js +0 -6492
  1355. package/vendor/ooxml/resource-measurement-SHQCbkh2.js +0 -150
  1356. package/vendor/ooxml/slide-pull-client-DiPnm240.js +0 -6253
  1357. package/vendor/ooxml/source-key-DIJG8BA0.js +0 -42
  1358. package/vendor/ooxml/three-d-DJBl8g8M.js +0 -1162
  1359. package/vendor/ooxml/transfer-p6iCC2R7.js +0 -6
  1360. package/vendor/ooxml/units-BzZ0gAxs.js +0 -4
  1361. package/vendor/ooxml/worksheet-pull-client-BM8ywvbu.js +0 -458
  1362. package/vendor/ooxml/xlsx-C9NVjgaV.js +0 -8482
  1363. package/vendor/pele/chunks/23I4SOAX.js +0 -1
  1364. package/vendor/pele/chunks/25ITEZ43.js +0 -2
  1365. package/vendor/pele/chunks/26H2HVXD.js +0 -1
  1366. package/vendor/pele/chunks/2IZ5MNOH.js +0 -1
  1367. package/vendor/pele/chunks/2P3CZEXH.js +0 -1
  1368. package/vendor/pele/chunks/3E5HRNYT.js +0 -1
  1369. package/vendor/pele/chunks/3JIRLDUO.js +0 -1
  1370. package/vendor/pele/chunks/5MJ3UKSG.js +0 -1
  1371. package/vendor/pele/chunks/63N73SV4.js +0 -1
  1372. package/vendor/pele/chunks/A255FCTW.js +0 -1
  1373. package/vendor/pele/chunks/AM43MQ64.js +0 -1
  1374. package/vendor/pele/chunks/AOZTNTMC.js +0 -1
  1375. package/vendor/pele/chunks/AQNLM6KG.js +0 -1
  1376. package/vendor/pele/chunks/BNU2RHQB.js +0 -1
  1377. package/vendor/pele/chunks/C5HTQT3I.js +0 -4
  1378. package/vendor/pele/chunks/CPKRWH5G.js +0 -1
  1379. package/vendor/pele/chunks/CPRVZL76.js +0 -11
  1380. package/vendor/pele/chunks/CUVCMPQX.js +0 -1
  1381. package/vendor/pele/chunks/D6K5RLPD.js +0 -5
  1382. package/vendor/pele/chunks/EENBF6R3.js +0 -5
  1383. package/vendor/pele/chunks/G3OATVW2.js +0 -1
  1384. package/vendor/pele/chunks/GFBBR3DD.js +0 -13
  1385. package/vendor/pele/chunks/IV52FOAS.js +0 -1
  1386. package/vendor/pele/chunks/JTJEEBDN.js +0 -1
  1387. package/vendor/pele/chunks/JX3HYMZ6.js +0 -8
  1388. package/vendor/pele/chunks/K3TAFXGN.js +0 -3
  1389. package/vendor/pele/chunks/K7FUICZ3.js +0 -1
  1390. package/vendor/pele/chunks/LHH2HHRB.js +0 -1
  1391. package/vendor/pele/chunks/LT5IS45C.js +0 -2
  1392. package/vendor/pele/chunks/MSPQPZZY.js +0 -1
  1393. package/vendor/pele/chunks/NY2EJWPH.js +0 -2
  1394. package/vendor/pele/chunks/OB6ZFVKF.js +0 -1
  1395. package/vendor/pele/chunks/OJBDHQO2.js +0 -4
  1396. package/vendor/pele/chunks/PLTZDMI2.js +0 -1
  1397. package/vendor/pele/chunks/R7EPXMMD.js +0 -1
  1398. package/vendor/pele/chunks/S4GSSVLN.js +0 -3
  1399. package/vendor/pele/chunks/SPBWZ4VS.js +0 -1
  1400. package/vendor/pele/chunks/SR7OOV3Q.js +0 -1
  1401. package/vendor/pele/chunks/STXEMZPJ.js +0 -2
  1402. package/vendor/pele/chunks/SXFARSFO.js +0 -1
  1403. package/vendor/pele/chunks/TC77ISAL.js +0 -1
  1404. package/vendor/pele/chunks/TXE3YXUM.js +0 -2
  1405. package/vendor/pele/chunks/TYIQQHVC.js +0 -1
  1406. package/vendor/pele/chunks/TZUXETIT.js +0 -1
  1407. package/vendor/pele/chunks/U7N72BGE.js +0 -1
  1408. package/vendor/pele/chunks/UFPIB6EZ.js +0 -1
  1409. package/vendor/pele/chunks/V52Z4AG3.js +0 -4
  1410. package/vendor/pele/chunks/VBDLARNP.js +0 -4
  1411. package/vendor/pele/chunks/VIK3ONSK.js +0 -1
  1412. package/vendor/pele/chunks/VPGC3RUM.js +0 -7
  1413. package/vendor/pele/chunks/VVVO4ZVP.js +0 -1
  1414. package/vendor/pele/chunks/WRGXZO53.js +0 -1
  1415. package/vendor/pele/chunks/X5SG7MGC.js +0 -1
  1416. package/vendor/pele/chunks/XXYPNCD5.js +0 -1
  1417. package/vendor/pele/chunks/XZO3CX7R.js +0 -12
  1418. package/vendor/pele/chunks/YZBJM2QT.js +0 -2
  1419. package/vendor/pele/chunks/YZHV477W.js +0 -2
  1420. package/vendor/pele/chunks/Z6WRYFJC.js +0 -1
  1421. package/vendor/pele/chunks/ZI2QNEGF.js +0 -8
@@ -0,0 +1,974 @@
1
+ import { An as e, En as t, Y as n, dn as r, jn as i, kn as a } from "ooxml/bounded-raw-part-cache-B8t03tSP.js";
2
+ import { C as o, S as s, _ as c, a as l, b as u, g as d, h as f, l as p, m, p as h, r as g, x as _, y as v } from "ooxml/canvas-viewer-mechanics-DI38gHNV.js";
3
+ function y(e, t = r) {
4
+ return e.byteLength > 0 && e.byteLength <= t;
5
+ }
6
+ function b(e, t) {
7
+ let n = x(t), r = e.slice(), i = Math.min(32, r.length);
8
+ for (let e = 0; e < i; e++) r[e] ^= n[e % 16];
9
+ return r;
10
+ }
11
+ function x(e) {
12
+ let t = e.replace(/[{}\-\s]/g, "");
13
+ if (t.length !== 32 || /[^0-9a-fA-F]/.test(t)) throw Error(`invalid fontKey GUID: ${e}`);
14
+ let n = new Uint8Array(16);
15
+ for (let e = 0; e < 16; e++) n[e] = parseInt(t.slice(e * 2, e * 2 + 2), 16);
16
+ return n.reverse();
17
+ }
18
+ function ee(e, t, n, r) {
19
+ let i = 2166136261;
20
+ for (let e = 0; e < r.length; e++) i ^= r[e], i = Math.imul(i, 16777619);
21
+ return `${e}|${t}|${n}|${r.length}|${(i >>> 0).toString(16)}`;
22
+ }
23
+ async function S(n, o = r) {
24
+ let s = t();
25
+ if (!s || typeof FontFace > "u") return [];
26
+ let c = [], l = /* @__PURE__ */ new Set(), u = [];
27
+ for (let e of n) try {
28
+ if (!y(e.bytes, o)) {
29
+ u.push(e.family);
30
+ continue;
31
+ }
32
+ let t = e.odttf ? b(e.bytes, e.fontKey ?? "") : e.bytes, n = `embedded:${ee(e.family, e.weight, e.style, t)}`;
33
+ if (l.has(n)) continue;
34
+ l.add(n);
35
+ let { face: r } = i(n, s, () => {
36
+ let n = t.buffer.slice(t.byteOffset, t.byteOffset + t.byteLength), r = new FontFace(e.family, n, {
37
+ weight: e.weight,
38
+ style: e.style
39
+ });
40
+ return s.add(r), r;
41
+ });
42
+ c.push(r);
43
+ } catch {
44
+ u.push(e.family);
45
+ }
46
+ let d = c;
47
+ if (c.length > 0) {
48
+ let t = await a(Promise.allSettled(c.map((e) => Promise.resolve().then(() => e.load()))));
49
+ Array.isArray(t) ? (d = [], t.forEach((t, n) => {
50
+ let r = c[n];
51
+ t.status === "fulfilled" ? d.push(r) : (u.push(r.family), e([r]));
52
+ })) : (u.push(...c.map((e) => e.family)), e(c), d = []);
53
+ }
54
+ return u.length > 0 && console.warn(`[ooxml] failed to register embedded font(s): ${[...new Set(u)].join(", ")}; falling back to substitute fonts (text may shift or differ).`), d;
55
+ }
56
+ function C(t) {
57
+ e(t);
58
+ }
59
+ function w(e, t, n) {
60
+ return e < t ? t : e > n ? n : e;
61
+ }
62
+ function T(e, t) {
63
+ return Math.min(Math.max(0, t), Math.ceil(Math.max(0, e)));
64
+ }
65
+ function E(e, t, n) {
66
+ let r = e.length;
67
+ if (r === 0) return {
68
+ offsets: [],
69
+ totalHeight: 0
70
+ };
71
+ let i = n?.leading ?? 0, a = n?.trailing ?? 0, o = Array(r), s = 0;
72
+ for (let n = 0; n < r; n++) o[n] = i + s + n * t, s += e[n];
73
+ return {
74
+ offsets: o,
75
+ totalHeight: i + s + (r - 1) * t + a
76
+ };
77
+ }
78
+ function D(e, t, n, r) {
79
+ let i = e.offsets, a = i.length;
80
+ if (a === 0) return {
81
+ start: 0,
82
+ end: -1,
83
+ topIndex: 0,
84
+ offsets: i,
85
+ totalHeight: 0
86
+ };
87
+ let o = 0, s = a;
88
+ for (; o < s;) {
89
+ let e = o + s >>> 1;
90
+ i[e] <= t ? o = e + 1 : s = e;
91
+ }
92
+ let c = w(o - 1, 0, a - 1), l = t + n;
93
+ for (o = 0, s = a; o < s;) {
94
+ let e = o + s >>> 1;
95
+ i[e] < l ? o = e + 1 : s = e;
96
+ }
97
+ let u = w(o - 1, 0, a - 1);
98
+ return {
99
+ start: w(c - r, 0, a - 1),
100
+ end: w(u + r, 0, a - 1),
101
+ topIndex: c,
102
+ offsets: i,
103
+ totalHeight: e.totalHeight
104
+ };
105
+ }
106
+ function O(e, t, n, r, i, a, o) {
107
+ if (e === 0) return {
108
+ start: 0,
109
+ end: -1,
110
+ topIndex: 0,
111
+ totalHeight: 0
112
+ };
113
+ let s = o?.leading ?? 0, c = o?.trailing ?? 0, l = t + n, u = w(r < s ? 0 : l > 0 ? Math.floor((r - s) / l) : e - 1, 0, e - 1), d = r + i, f = w(d <= s ? 0 : l > 0 ? Math.ceil((d - s) / l) - 1 : e - 1, 0, e - 1);
114
+ return {
115
+ start: w(u - a, 0, e - 1),
116
+ end: w(f + a, 0, e - 1),
117
+ topIndex: u,
118
+ totalHeight: s + e * t + (e - 1) * n + c
119
+ };
120
+ }
121
+ function k(e, t, n, r) {
122
+ let i = t <= 0 ? 0 : r(e.slice(0, t)), a = n >= e.length ? r(e) : r(e.slice(0, n));
123
+ return {
124
+ x: i,
125
+ width: Math.max(0, a - i)
126
+ };
127
+ }
128
+ function A(e, t) {
129
+ return t > 0 ? `${e / t * 100}%` : "0%";
130
+ }
131
+ function j(e, t, n) {
132
+ e.dataset ? n === void 0 ? delete e.dataset[t] : e.dataset[t] = n : n !== void 0 && e.setAttribute?.(`data-${t.replace(/[A-Z]/g, (e) => `-${e.toLowerCase()}`)}`, n);
133
+ }
134
+ function M(e) {
135
+ if (e === void 0 || !/^\d+$/.test(e)) return null;
136
+ let t = Number(e);
137
+ return Number.isSafeInteger(t) ? t : null;
138
+ }
139
+ var N = class {
140
+ _count;
141
+ _collectRuns;
142
+ _location;
143
+ _acceptMatch;
144
+ _runs = /* @__PURE__ */ new Map();
145
+ _matches = [];
146
+ _active = -1;
147
+ _generation = 0;
148
+ _runsRevision = 0;
149
+ constructor(e, t, n, r = () => !0) {
150
+ this._count = e, this._collectRuns = t, this._location = n, this._acceptMatch = r;
151
+ }
152
+ invalidate() {
153
+ this._generation++, this._runsRevision++, this._runs.clear(), this._matches = [], this._active = -1;
154
+ }
155
+ unitRuns(e) {
156
+ return this._runs.get(e);
157
+ }
158
+ setUnitRuns(e, t) {
159
+ this._runsRevision++, this._runs.set(e, t);
160
+ }
161
+ unitHighlights(e) {
162
+ let t = [];
163
+ for (let n = 0; n < this._matches.length; n++) {
164
+ let r = this._matches[n];
165
+ r.unit === e && t.push({
166
+ slices: r.slices,
167
+ active: n === this._active
168
+ });
169
+ }
170
+ return t;
171
+ }
172
+ activeUnit() {
173
+ return this._matches[this._active]?.unit ?? null;
174
+ }
175
+ matches() {
176
+ return this._matches.map((e, t) => ({
177
+ matchIndex: t,
178
+ text: e.text,
179
+ location: this._location(e.unit)
180
+ }));
181
+ }
182
+ async find(e, t = {}) {
183
+ let n = ++this._generation;
184
+ if (e.length === 0) return this._runsRevision++, this._runs.clear(), this._matches = [], this._active = -1, [];
185
+ let r = this._runsRevision, i = new Map(this._runs), a = this._count();
186
+ for (let e = 0; e < a; e++) {
187
+ let t = i.get(e);
188
+ if (!t) {
189
+ try {
190
+ t = await this._collectRuns(e);
191
+ } catch (e) {
192
+ if (n !== this._generation) return [];
193
+ throw e;
194
+ }
195
+ if (n !== this._generation) return [];
196
+ i.set(e, t);
197
+ }
198
+ }
199
+ if (n !== this._generation) return [];
200
+ let o = r === this._runsRevision ? i : new Map([...i, ...this._runs]), s = [];
201
+ for (let n = 0; n < a; n++) {
202
+ let r = o.get(n) ?? [];
203
+ for (let i of c(d(r), e, t)) {
204
+ if (!this._acceptMatch(r, i.slices)) continue;
205
+ let e = i.slices.map((e) => r[e.runIndex].text.slice(e.start, e.end)).join("");
206
+ s.push({
207
+ unit: n,
208
+ text: e,
209
+ slices: i.slices
210
+ });
211
+ }
212
+ }
213
+ return this._runsRevision++, this._runs = o, this._matches = s, this._active = -1, this.matches();
214
+ }
215
+ next() {
216
+ return this._active = m(this._active, this._matches.length), this._activePublic();
217
+ }
218
+ prev() {
219
+ return this._active = f(this._active, this._matches.length), this._activePublic();
220
+ }
221
+ _activePublic() {
222
+ let e = this._matches[this._active];
223
+ return e ? {
224
+ matchIndex: this._active,
225
+ text: e.text,
226
+ location: this._location(e.unit)
227
+ } : null;
228
+ }
229
+ }, P = class {
230
+ state = Object.freeze({ status: "complete" });
231
+ get complete() {
232
+ return this.state.status === "complete";
233
+ }
234
+ get settled() {
235
+ return this.state.status !== "pending";
236
+ }
237
+ begin() {
238
+ this.state = Object.freeze({ status: "pending" });
239
+ }
240
+ succeed() {
241
+ this.state = Object.freeze({ status: "complete" });
242
+ }
243
+ fail(e) {
244
+ let t = e instanceof Error ? e : Error(String(e));
245
+ return this.state = Object.freeze({
246
+ status: "failed",
247
+ error: t
248
+ }), t;
249
+ }
250
+ throwIfFailed() {
251
+ if (this.state.status === "failed") throw this.state.error;
252
+ }
253
+ }, F = class {
254
+ failed = /* @__PURE__ */ new WeakMap();
255
+ notify(e, t, ...n) {
256
+ if (!(!t || this.failed.get(t)?.has(e))) try {
257
+ let r = t(...n);
258
+ r && typeof r.then == "function" && Promise.resolve(r).catch((n) => this.reportOnce(e, t, n));
259
+ } catch (n) {
260
+ this.reportOnce(e, t, n);
261
+ }
262
+ }
263
+ reportOnce(e, t, n) {
264
+ let r = this.failed.get(t) ?? /* @__PURE__ */ new Set();
265
+ if (r.has(e)) return;
266
+ r.add(e), this.failed.has(t) || this.failed.set(t, r);
267
+ let i = n instanceof Error ? n : Error(String(n));
268
+ console.error(`[ooxml] ${e} callback failed and was disabled:`, i);
269
+ }
270
+ };
271
+ function I() {
272
+ let e, t;
273
+ return {
274
+ promise: new Promise((n, r) => {
275
+ e = n, t = r;
276
+ }),
277
+ resolve: e,
278
+ reject: t
279
+ };
280
+ }
281
+ var L = 65536;
282
+ function R(e) {
283
+ if (e !== void 0 && (!Number.isFinite(e) || e < 0)) throw RangeError("maxTextCharacters must be a finite non-negative number.");
284
+ return Math.min(L, Math.floor(e ?? 65536));
285
+ }
286
+ function z(e, t, n) {
287
+ let r = R(n), i = 0, a = !1, o = (e) => {
288
+ let t = h(e.text, Math.max(0, r - i));
289
+ return i += t.length, t.length < e.text.length && (a = !0), {
290
+ ...e,
291
+ text: t
292
+ };
293
+ }, s = Object.freeze({
294
+ root: Object.freeze(o(e)),
295
+ replies: Object.freeze(t.map((e) => Object.freeze(o(e))))
296
+ });
297
+ return Object.freeze({
298
+ thread: s,
299
+ truncated: a,
300
+ textCharacters: i,
301
+ maxTextCharacters: r
302
+ });
303
+ }
304
+ function B(e, t) {
305
+ return e.dataset?.[t] !== void 0;
306
+ }
307
+ function V(e, t, n) {
308
+ let r = typeof e.composedPath == "function" ? e.composedPath() : [];
309
+ if (r.length > 0) {
310
+ let e = !1;
311
+ for (let i of r) {
312
+ if (i === t) return e;
313
+ B(i, n) && (e = !0);
314
+ }
315
+ }
316
+ let i = e.target;
317
+ if (!i || !t.contains(i)) return !1;
318
+ let a = i;
319
+ for (; a;) {
320
+ if (B(a, n)) return !0;
321
+ if (a === t) break;
322
+ a = a.parentElement;
323
+ }
324
+ return !1;
325
+ }
326
+ var H = class {
327
+ wrapper;
328
+ scrollHost;
329
+ spacer;
330
+ onScroll;
331
+ onPointerDown;
332
+ constructor(e, t) {
333
+ let n = e.ownerDocument ?? document;
334
+ this.wrapper = n.createElement("div"), this.wrapper.style.cssText = "position:relative;width:100%;height:100%;overflow:hidden;", this.scrollHost = n.createElement("div"), this.scrollHost.style.cssText = "position:absolute;inset:0;overflow:auto;", this.scrollHost.style.scrollbarGutter = "stable", t.background && (this.scrollHost.style.background = t.background), this.spacer = n.createElement("div"), this.spacer.style.cssText = "position:absolute;top:0;left:0;width:1px;height:0;pointer-events:none;", this.scrollHost.appendChild(this.spacer), this.wrapper.appendChild(this.scrollHost), e.appendChild(this.wrapper), this.onScroll = t.onScroll, this.scrollHost.addEventListener("scroll", this.onScroll), this.onPointerDown = t.comments ? (e) => {
335
+ V(e, this.wrapper, "ooxmlCommentId") || t.onOutsideComment();
336
+ } : null, this.onPointerDown && n.addEventListener("pointerdown", this.onPointerDown);
337
+ }
338
+ destroy() {
339
+ this.scrollHost.removeEventListener("scroll", this.onScroll), this.onPointerDown && this.wrapper.ownerDocument.removeEventListener("pointerdown", this.onPointerDown), this.wrapper.remove();
340
+ }
341
+ }, U = class {
342
+ hooks;
343
+ measureContext;
344
+ constructor(e) {
345
+ this.hooks = e;
346
+ }
347
+ redrawAll() {
348
+ for (let [e, t] of this.hooks.slots()) this.redrawSlot(e, t);
349
+ }
350
+ redrawSlot(e, t) {
351
+ let n = this.hooks.active() ? this.hooks.runs(e) : void 0;
352
+ if (!n) {
353
+ t.highlightLayer.innerHTML = "";
354
+ return;
355
+ }
356
+ this.hooks.paint(e, t, n, (e) => this.measure(e));
357
+ }
358
+ refreshRuns(e, t) {
359
+ this.hooks.active() && this.hooks.setRuns(e, t);
360
+ }
361
+ async activate(e) {
362
+ return e && this.hooks.reveal(this.hooks.unitOf(e.location)), this.redrawAll(), e;
363
+ }
364
+ measure(e) {
365
+ if (this.measureContext === void 0) {
366
+ let e = document.createElement("canvas");
367
+ this.measureContext = e.getContext("2d");
368
+ }
369
+ let t = this.measureContext;
370
+ return !t || typeof t.measureText != "function" ? (e) => e.length : (t.font = e, (e) => t.measureText(e).width);
371
+ }
372
+ destroy() {
373
+ this.measureContext = void 0;
374
+ }
375
+ }, W = class {
376
+ hooks;
377
+ constructor(e) {
378
+ this.hooks = e;
379
+ }
380
+ async render(e, t, n, r, i, a = this.hooks.nextToken(t), o = t.dispatcher, s = o.begin(), c = !0) {
381
+ let l = this.hooks.inFlight();
382
+ if (l.has(e) || this.hooks.slots().get(e) !== t) return;
383
+ let u = this.hooks.epoch(), d = t.canvas;
384
+ l.add(e);
385
+ let f = !1, p = [], m = this.hooks.wantRuns(t);
386
+ try {
387
+ let c = await this.hooks.render(e, d, n, r, m ? (e) => p.push(e) : void 0);
388
+ if (!this.isCurrent(e, t, a, o, s, d, u)) {
389
+ c.close();
390
+ return;
391
+ }
392
+ if (!this.hooks.commitBitmap(e, t, o, s, c, n)) return;
393
+ t.renderedScale = i, this.hooks.commitRuns(e, t, p, n, m), f = !0;
394
+ } catch (n) {
395
+ if (this.isCurrent(e, t, a, o, s, d, u)) if (c) this.hooks.reportError(n);
396
+ else throw n;
397
+ } finally {
398
+ l.delete(e);
399
+ let n = this.hooks.slots().get(e);
400
+ if (!f && n && this.hooks.canRetry(n) && (n !== t || u !== this.hooks.epoch() || a !== this.hooks.token(n) || !o.isCurrent(s)) && !l.has(e) && !this.hooks.destroyed()) {
401
+ let t = n.dispatcher;
402
+ await this.render(e, n, this.hooks.width(e), this.hooks.dpr(), this.hooks.scale(), this.hooks.nextToken(n), t, t.begin(), c);
403
+ }
404
+ }
405
+ }
406
+ isCurrent(e, t, n, r, i, a, o) {
407
+ return n === this.hooks.token(t) && r.isCurrent(i) && a === t.canvas && o === this.hooks.epoch() && this.hooks.slots().get(e) === t && this.hooks.slotIndex(t) === e;
408
+ }
409
+ }, G = class {
410
+ hooks;
411
+ constructor(e) {
412
+ this.hooks = e;
413
+ }
414
+ render(e, t, n, r, i, a, o, s) {
415
+ let c = this.hooks.epoch(), l = this.hooks.scale(), u = t.canvas, d = [], f = this.hooks.wantRuns(t), p;
416
+ try {
417
+ p = this.hooks.render(e, u, n, r, f ? (e) => d.push(e) : void 0, !1);
418
+ } catch (e) {
419
+ return s ? (this.hooks.reportError(e), Promise.resolve()) : Promise.reject(e);
420
+ }
421
+ return p.then(() => {
422
+ this.isCurrent(e, t, i, a, o, u, c) && (t.renderedScale = l, this.hooks.commitRuns(e, t, d, u, n, f, !1));
423
+ }).catch((n) => {
424
+ if (this.isCurrent(e, t, i, a, o, u, c)) if (s) this.hooks.reportError(n);
425
+ else throw n;
426
+ });
427
+ }
428
+ settle(e, t, n, r) {
429
+ let i = this.hooks.scale(), a = this.hooks.epoch(), o = document.createElement("canvas");
430
+ o.style.cssText = "display:block;background:#fff;";
431
+ let s = this.hooks.shadow();
432
+ s !== !1 && (o.style.boxShadow = s);
433
+ let c = this.hooks.nextToken(t), u = new l(o, !1), d = u.begin(), f = [], p = this.hooks.wantRuns(t), m;
434
+ try {
435
+ m = this.hooks.render(e, o, n, r, p ? (e) => f.push(e) : void 0, !0);
436
+ } catch (n) {
437
+ this.isCurrent(e, t, c, u, d, o, a, !0) && this.hooks.reportError(n), u.destroy();
438
+ return;
439
+ }
440
+ m.then(() => {
441
+ if (!this.isCurrent(e, t, c, u, d, o, a, !0)) {
442
+ u.destroy();
443
+ return;
444
+ }
445
+ let r = t.canvas;
446
+ t.dispatcher.destroy(), t.wrapper.insertBefore(o, r), r.remove(), t.canvas = o, t.dispatcher = u, t.renderedScale = i, this.hooks.commitRuns(e, t, f, o, n, p, !0);
447
+ }).catch((n) => {
448
+ this.isCurrent(e, t, c, u, d, o, a, !0) && this.hooks.reportError(n), u.destroy();
449
+ });
450
+ }
451
+ isCurrent(e, t, n, r, i, a, o, s = !1) {
452
+ return n === this.hooks.token(t) && r.isCurrent(i) && (s || a === t.canvas) && o === this.hooks.epoch() && this.hooks.slots().get(e) === t && this.hooks.slotIndex(t) === e;
453
+ }
454
+ }, K = class {
455
+ hooks;
456
+ slots = /* @__PURE__ */ new Map();
457
+ free = [];
458
+ inFlight = /* @__PURE__ */ new Set();
459
+ lastRange = null;
460
+ renderEpoch = 0;
461
+ _settleTimer = null;
462
+ _destroyed = !1;
463
+ constructor(e) {
464
+ this.hooks = e;
465
+ }
466
+ syncSpacer() {
467
+ let e = this.hooks.range();
468
+ this.lastRange = e, this.hooks.spacer().style.height = `${e.totalHeight}px`, this.hooks.syncSpacerWidth();
469
+ }
470
+ acquireSlot() {
471
+ let e = this.free.pop();
472
+ return e ? (this.hooks.attachSlot(e), e) : this.hooks.createSlot();
473
+ }
474
+ recycleSlot(e, t) {
475
+ this.slots.delete(e), this.hooks.resetSlot(e, t), this.free.push(t);
476
+ }
477
+ mount(e, t = !0) {
478
+ if (this._destroyed || this.hooks.count() === 0) return;
479
+ let n = this.hooks.range();
480
+ this.lastRange = n;
481
+ for (let [e, t] of [...this.slots]) (e < n.start || e > n.end) && this.recycleSlot(e, t);
482
+ for (let r = n.start; r <= n.end; r++) {
483
+ let i = this.slots.get(r);
484
+ if (i) {
485
+ if (!t) continue;
486
+ this.hooks.positionSlot(r, i, n);
487
+ let a = this.hooks.onExistingSlot?.(r, i, e === void 0);
488
+ e && a && e.push(a);
489
+ continue;
490
+ }
491
+ let a = this.acquireSlot();
492
+ this.hooks.positionSlot(r, a, n), this.slots.set(r, a), this.hooks.onNewSlot?.(r, a);
493
+ let o = this.hooks.renderSlot(r, a, e === void 0);
494
+ e && o && (this.hooks.awaitInitialRender?.(r) ?? !0) && e.push(o);
495
+ }
496
+ this.hooks.afterMount?.(n), this.hooks.onRange(n);
497
+ }
498
+ preview() {
499
+ if (this._destroyed || this.hooks.count() === 0) return;
500
+ let e = this.hooks.range();
501
+ this.lastRange = e;
502
+ for (let [t, n] of [...this.slots]) (t < e.start || t > e.end) && this.recycleSlot(t, n);
503
+ for (let t = e.start; t <= e.end; t++) {
504
+ let n = this.slots.get(t);
505
+ if (n) {
506
+ this.hooks.previewSlot(t, n, e);
507
+ continue;
508
+ }
509
+ let r = this.acquireSlot();
510
+ this.hooks.positionSlot(t, r, e), this.slots.set(t, r), this.hooks.onNewSlot?.(t, r), this.hooks.renderSlot(t, r, !0);
511
+ }
512
+ this.hooks.afterMount?.(e), this.hooks.onRange(e);
513
+ }
514
+ scheduleSettle(e) {
515
+ this._settleTimer !== null && clearTimeout(this._settleTimer), this._settleTimer = setTimeout(() => {
516
+ this._settleTimer = null, this.settle();
517
+ }, e);
518
+ }
519
+ settle() {
520
+ if (!(this._destroyed || this.hooks.count() === 0)) for (let [e, t] of [...this.slots]) this.hooks.renderedScale(t) !== this.hooks.scale() && (this.hooks.shouldSettle && !this.hooks.shouldSettle(e, t) || this.hooks.settleSlot(e, t));
521
+ }
522
+ destroy() {
523
+ if (!this._destroyed) {
524
+ this._destroyed = !0, this._settleTimer !== null && clearTimeout(this._settleTimer), this._settleTimer = null;
525
+ for (let [e, t] of [...this.slots]) this.recycleSlot(e, t);
526
+ this.inFlight.clear(), this.free.length = 0;
527
+ }
528
+ }
529
+ };
530
+ function q(e) {
531
+ e.style.transform = "", e.style.transformOrigin = "", e.style.width = "100%", e.style.height = "100%";
532
+ }
533
+ function J(e, t, n) {
534
+ let r = e.ownerDocument, i = r.createElement("div");
535
+ i.style.cssText = "position:absolute;";
536
+ let a = r.createElement("canvas");
537
+ a.style.cssText = "display:block;background:#fff;", n !== !1 && (a.style.boxShadow = n), i.appendChild(a);
538
+ let { textLayer: o, highlightLayer: s } = new g(i, t);
539
+ return {
540
+ wrapper: i,
541
+ canvas: a,
542
+ textLayer: o,
543
+ highlightLayer: s
544
+ };
545
+ }
546
+ function Y(e, t, n, r) {
547
+ if (e.canvas.style.width = `${t}px`, e.canvas.style.height = `${n}px`, e.renderedScale <= 0) return null;
548
+ let i = r / e.renderedScale;
549
+ return e.textLayer && (e.textLayer.style.transformOrigin = "0 0", e.textLayer.style.width = `${t / i}px`, e.textLayer.style.height = `${n / i}px`, e.textLayer.style.transform = `scale(${i})`), i;
550
+ }
551
+ function X(e) {
552
+ e.textLayer && (e.textLayer.innerHTML = "", q(e.textLayer)), e.highlightLayer.innerHTML = "", e.highlightLayer.style.transform = "", e.highlightLayer.style.transformOrigin = "";
553
+ }
554
+ function Z(e, t, n, r, i) {
555
+ if (!t) return {
556
+ markerLayer: null,
557
+ margin: null,
558
+ decorationLayer: null
559
+ };
560
+ let a = e.ownerDocument, o = a.createElement("div");
561
+ if (o.setAttribute("data-overlay", "comment-marker"), o.style.cssText = "position:absolute;inset:0;overflow:hidden;pointer-events:none;", e.appendChild(o), !n) return {
562
+ markerLayer: o,
563
+ margin: null,
564
+ decorationLayer: null
565
+ };
566
+ let s = a.createElement("div");
567
+ s.style.cssText = "position:absolute;top:0;height:100%;box-sizing:border-box;overflow-x:hidden;overflow-y:auto;pointer-events:auto;", i(s);
568
+ let c = null;
569
+ return r && (c = a.createElement("div"), c.style.cssText = "position:absolute;top:0;left:0;overflow:visible;pointer-events:none;", e.appendChild(c)), e.appendChild(s), {
570
+ markerLayer: o,
571
+ margin: s,
572
+ decorationLayer: c
573
+ };
574
+ }
575
+ var Q = class {
576
+ hooks;
577
+ constructor(e) {
578
+ this.hooks = e;
579
+ }
580
+ position(e, t, n, r, i, a, o) {
581
+ if (t.wrapper.style.top = `${n}px`, t.wrapper.style.width = `${r}px`, t.wrapper.style.height = `${i}px`, this.hooks.syncMargin(t.commentMargin), t.commentDecorationLayer) {
582
+ let e = this.hooks.marginExtent();
583
+ t.commentDecorationLayer.style.left = this.hooks.marginSide() === "left" ? `${-e}px` : "0px", t.commentDecorationLayer.style.width = `${r + e}px`, t.commentDecorationLayer.style.height = `${i}px`;
584
+ }
585
+ this.hooks.redrawOutline(e, t);
586
+ let s = Math.max(o, (a - r) / 2);
587
+ t.wrapper.style.left = this.hooks.marginSide() === "left" && this.hooks.commentsEnabled() ? `calc(${s}px + var(--ooxml-review-origin-x, 0px))` : `${s}px`;
588
+ }
589
+ preview(e, t, n, r) {
590
+ let i = Y(e, t, n, r), a = this.hooks.markerLayer(e);
591
+ if (i !== null) {
592
+ e.commentMargin && this.hooks.previewMargin(e.commentMargin, i);
593
+ for (let e of a?.children ?? []) e.dataset.ooxmlCommentMarker !== void 0 && (e.style.transform = `translate(-50%,-50%) scale(${this.hooks.markerRatio(i)})`);
594
+ }
595
+ let o = i === null ? "hidden" : "";
596
+ a && (a.style.visibility = o), e.commentMargin && (e.commentMargin.style.visibility = o), e.commentDecorationLayer && (e.commentDecorationLayer.style.visibility = o);
597
+ }
598
+ reset(e) {
599
+ X(e);
600
+ let t = this.hooks.markerLayer(e);
601
+ t && (t.replaceChildren(), this.hooks.resetMarkerTransform() && (t.style.transform = "", t.style.transformOrigin = ""), t.style.visibility = ""), e.commentMargin && (this.hooks.disposeMargin(e.commentMargin), e.commentMargin.style.visibility = ""), e.commentDecorationLayer && (this.hooks.disposeDecoration(e.commentDecorationLayer), this.hooks.resetDecorationVisibility() && (e.commentDecorationLayer.style.visibility = "")), p(e.elementLayer, null);
602
+ }
603
+ }, $ = class {
604
+ hooks;
605
+ constructor(e) {
606
+ this.hooks = e;
607
+ }
608
+ scrollToUnit(e, t) {
609
+ if (this.hooks.count() === 0 || !this.hooks.established()) return;
610
+ let n = Math.max(0, Math.min(e, this.hooks.count() - 1)), r = this.hooks.host(), i = Math.max(0, this.hooks.totalHeight() - r.clientHeight), a = T(this.hooks.offset(n), i);
611
+ typeof r.scrollTo == "function" ? r.scrollTo({
612
+ top: a,
613
+ behavior: t?.behavior ?? "auto"
614
+ }) : r.scrollTop = a, this.hooks.mount();
615
+ }
616
+ scrollToPoint(e, t, n, r) {
617
+ let i = this.hooks.host(), a = Math.max(this.hooks.padLeft(), (i.clientWidth - this.hooks.width(e)) / 2) + this.hooks.marginOrigin(), o = Math.max(0, this.hooks.totalHeight() - i.clientHeight), s = this.hooks.spacer(), c = s.offsetWidth || Number.parseFloat(s.style.width) || 0, l = Math.max(0, c - i.clientWidth), u = Math.min(o, Math.max(0, this.hooks.offset(e) + n - i.clientHeight / 2)), d = Math.min(l, Math.max(0, a + t - i.clientWidth / 2));
618
+ typeof i.scrollTo == "function" ? i.scrollTo({
619
+ top: u,
620
+ left: d,
621
+ behavior: r?.behavior ?? "auto"
622
+ }) : (i.scrollTop = u, i.scrollLeft = d), this.hooks.mount();
623
+ }
624
+ contentAtViewportY(e) {
625
+ let t = this.hooks.host().scrollTop + e, n = this.hooks.indexAt(t), r = this.hooks.height(n);
626
+ return {
627
+ unit: n,
628
+ frac: r > 0 ? Math.min(1, Math.max(0, (t - this.hooks.offset(n)) / r)) : 0
629
+ };
630
+ }
631
+ viewportYOf(e, t) {
632
+ return this.hooks.offset(e) + t * this.hooks.height(e) - this.hooks.host().scrollTop;
633
+ }
634
+ }, te = "0 1px 3px rgba(0,0,0,0.2)", ne = class {
635
+ hooks;
636
+ constructor(e) {
637
+ this.hooks = e;
638
+ }
639
+ gap() {
640
+ return this.hooks.options().gap ?? 16;
641
+ }
642
+ overscan() {
643
+ return this.hooks.options().overscan ?? 1;
644
+ }
645
+ verticalPadding() {
646
+ let e = this.hooks.options(), t = this.gap();
647
+ return {
648
+ leading: e.paddingTop ?? t,
649
+ trailing: e.paddingBottom ?? t
650
+ };
651
+ }
652
+ horizontalPadding() {
653
+ let e = this.hooks.options(), t = this.gap();
654
+ return {
655
+ left: e.paddingLeft ?? t,
656
+ right: e.paddingRight ?? t
657
+ };
658
+ }
659
+ fitWidth() {
660
+ let e = this.hooks.options().width;
661
+ if (e && e > 0) return e;
662
+ let t = this.hooks.scrollHost().clientWidth || this.hooks.container().clientWidth;
663
+ if (t <= 0) return 0;
664
+ let { left: n, right: r } = this.horizontalPadding();
665
+ return Math.max(0, t - n - r);
666
+ }
667
+ dpr() {
668
+ return this.hooks.options().dpr ?? n();
669
+ }
670
+ }, re = class {
671
+ notify;
672
+ lastIndex = -1;
673
+ lastTotal = -1;
674
+ lastComplete = null;
675
+ constructor(e) {
676
+ this.notify = e;
677
+ }
678
+ publish(e, t, n) {
679
+ e.topIndex === this.lastIndex && t === this.lastTotal && n === this.lastComplete || (this.lastIndex = e.topIndex, this.lastTotal = t, this.lastComplete = n, this.notify(e.topIndex, t, n));
680
+ }
681
+ reset() {
682
+ this.lastIndex = -1, this.lastTotal = -1, this.lastComplete = null;
683
+ }
684
+ resetIndex() {
685
+ this.lastIndex = -1;
686
+ }
687
+ }, ie = class {
688
+ hooks;
689
+ constructor(e) {
690
+ this.hooks = e;
691
+ }
692
+ async load(e) {
693
+ let t = this.hooks.name();
694
+ if (this.hooks.destroyed()) throw Error(`${t} is destroyed`);
695
+ if (this.hooks.borrowed()) throw Error(this.hooks.borrowedMessage());
696
+ let n = this.hooks.beginLoad?.(), r = !1;
697
+ try {
698
+ let i = await this.hooks.owner().replace(() => this.hooks.acquire(e, n), (e) => {
699
+ this.hooks.beforeReplace(e), r = !0;
700
+ });
701
+ if (!i) return;
702
+ if (this.hooks.destroyed()) throw Error(`${t} is destroyed`);
703
+ if (this.hooks.isCurrentLoad && !this.hooks.isCurrentLoad(n) || (this.hooks.afterReplace(i, n), await this.hooks.mountOpeningWindow(), this.hooks.isCurrentLoad && !this.hooks.isCurrentLoad(n))) return;
704
+ } catch (e) {
705
+ if (this.hooks.destroyed()) throw Error(`${t} is destroyed`);
706
+ if (this.hooks.isCurrentLoad && !this.hooks.isCurrentLoad(n)) return;
707
+ throw e instanceof Error ? e : Error(String(e));
708
+ } finally {
709
+ this.hooks.finishLoad?.(n);
710
+ }
711
+ r && !this.hooks.destroyed() && this.hooks.selectionChanged();
712
+ }
713
+ }, ae = class {
714
+ hooks;
715
+ _originPx = 0;
716
+ constructor(e) {
717
+ this.hooks = e;
718
+ }
719
+ enabled() {
720
+ return this.hooks.enabled();
721
+ }
722
+ zoom() {
723
+ return this.hooks.zoom();
724
+ }
725
+ get originPx() {
726
+ return this._originPx;
727
+ }
728
+ hasMargin() {
729
+ return this.hooks.enabled() && this.hooks.cards() && this.hooks.hasDisplayableComments();
730
+ }
731
+ side() {
732
+ let e = this.hooks.requestedSide();
733
+ if (e === "left" || e === "right") return e;
734
+ let t = this.hooks.container();
735
+ return (t.ownerDocument.defaultView?.getComputedStyle?.(t).direction || t.dir || t.style.direction) === "rtl" ? "left" : "right";
736
+ }
737
+ extent() {
738
+ return this.hasMargin() ? (this.hooks.gapPx + this.hooks.widthPx) * this.hooks.zoom() : 0;
739
+ }
740
+ syncMargin(e) {
741
+ if (!e) return;
742
+ e.style.display = this.hasMargin() ? "" : "none";
743
+ let t = this.hooks.zoom(), n = `calc(100% + ${this.hooks.gapPx * t}px)`;
744
+ e.style.left = this.side() === "right" ? n : "", e.style.right = this.side() === "left" ? n : "", e.style.width = `${this.hooks.widthPx * t}px`, e.style.fontSize = `${this.hooks.fontSizePx}px`, e.dataset.ooxmlCommentZoom = String(t);
745
+ }
746
+ syncSpacerWidth(e, t, n) {
747
+ let r = this.extent(), i = this.side() === "left" ? r : 0, a = i - this._originPx, o = this.hooks.scrollHost(), s = Math.max(0, o.scrollLeft + a);
748
+ this.hooks.spacer().style.width = `${e + r + t + n}px`, a !== 0 && (this._originPx = i, o.style["--ooxml-review-origin-x"] = `${i}px`, o.scrollLeft = s);
749
+ }
750
+ destroy() {
751
+ this._originPx = 0;
752
+ }
753
+ }, oe = class {
754
+ hooks;
755
+ scale = 1;
756
+ established = !1;
757
+ pendingScale = null;
758
+ pendingAnchor = null;
759
+ prevBase = 0;
760
+ lastFitWidth = 0;
761
+ _wheelListener = null;
762
+ _resizeObserver = null;
763
+ constructor(e) {
764
+ this.hooks = e;
765
+ }
766
+ bind(e, t, n) {
767
+ n && (this._wheelListener = (e) => {
768
+ if (!(e.ctrlKey || e.metaKey) || (e.preventDefault(), e.deltaY === 0)) return;
769
+ let n = t.getBoundingClientRect(), r = e.clientX - n.left, i = e.clientY - n.top;
770
+ this.pendingAnchor = Number.isFinite(r) && Number.isFinite(i) ? {
771
+ x: r,
772
+ y: i
773
+ } : null, this.setScale(o(this.scale, e.deltaY, e.deltaMode));
774
+ }, t.addEventListener("wheel", this._wheelListener, { passive: !1 })), typeof ResizeObserver < "u" && (this._resizeObserver = new ResizeObserver(() => this.onResize()), this._resizeObserver.observe(e));
775
+ }
776
+ establishBase() {
777
+ let e = this.hooks.baseScale();
778
+ if (e <= 0) return !1;
779
+ if (this.scale = e, this.prevBase = e, this.lastFitWidth = this.hooks.fitWidthPx(), this.established = !0, this.pendingScale !== null) {
780
+ let e = this.pendingScale;
781
+ this.pendingScale = null, e !== this.scale && (this.scale = e, this.hooks.onScaleChange(e));
782
+ }
783
+ return !0;
784
+ }
785
+ setScale(e) {
786
+ let t = Math.min(this.hooks.zoomMax(), Math.max(this.effectiveMin(), e)), n = this.pendingAnchor;
787
+ if (this.pendingAnchor = null, this.hooks.count() === 0 || !this.established) {
788
+ this.pendingScale = t;
789
+ return;
790
+ }
791
+ if (t === this.scale) return;
792
+ let r = this.scale, i = n?.y ?? 0, a = this.hooks.scrollHost(), o = a.scrollTop, c = o + i, l = this.hooks.indexAt(c), u = this.hooks.height(l), d = this.hooks.offset(l), f = Math.min(1, Math.max(0, u > 0 ? (c - d) / u : 0)), p = this.hooks.padLeft(), m = a.scrollLeft || 0;
793
+ this.hooks.invalidateRender(), this.scale = t, this.hooks.recomputeHeights();
794
+ let h = this.hooks.totalHeight();
795
+ this.hooks.spacer().style.height = `${h}px`, this.hooks.syncSpacerWidth();
796
+ let g = Math.max(0, h - a.clientHeight), _ = this.hooks.offset(l) + f * this.hooks.height(l), v = c < d && l === 0 ? o : _ - i;
797
+ if (a.scrollTop = Math.min(g, Math.max(0, v)), n) {
798
+ let e = Math.max(0, (this.hooks.spacer().offsetWidth || 0) - a.clientWidth);
799
+ a.scrollLeft = s(m, n.x - p, r, t, { maxScroll: e });
800
+ }
801
+ this.hooks.preview(), this.hooks.scheduleSettle(), this.hooks.onScaleChange(t);
802
+ }
803
+ getScale() {
804
+ return this.established ? this.scale : this.pendingScale ?? 1;
805
+ }
806
+ zoomIn() {
807
+ this.setScale(u(this.getScale()));
808
+ }
809
+ zoomOut() {
810
+ this.setScale(_(this.getScale(), this.effectiveMin()));
811
+ }
812
+ effectiveMin() {
813
+ let e = this.hooks.zoomMin();
814
+ return this.established && this.prevBase > 0 ? Math.min(e, this.prevBase) : e;
815
+ }
816
+ fit(e) {
817
+ if (this.hooks.count() === 0) return;
818
+ let t = this.hooks.fitContentSize(e);
819
+ if (!t) return;
820
+ let n = v({
821
+ contentWidth: t.width,
822
+ contentHeight: t.height,
823
+ containerWidth: this.hooks.fitWidthPx(),
824
+ containerHeight: this.hooks.scrollHost().clientHeight
825
+ }, e);
826
+ n > 0 && this.setScale(n);
827
+ }
828
+ onResize() {
829
+ if (this.hooks.count() === 0) return;
830
+ if (!this.established) {
831
+ this.hooks.relayout();
832
+ return;
833
+ }
834
+ if (!this.hooks.refitOnResize()) {
835
+ this.lastFitWidth = this.hooks.fitWidthPx(), this.hooks.mountVisible();
836
+ return;
837
+ }
838
+ let e = this.hooks.baseScale();
839
+ if (e <= 0) return;
840
+ let t = this.hooks.fitWidthPx();
841
+ if (t === this.lastFitWidth) {
842
+ this.hooks.mountVisible();
843
+ return;
844
+ }
845
+ this.lastFitWidth = t;
846
+ let n = this.prevBase > 0 ? this.scale / this.prevBase : 1;
847
+ this.prevBase = e, this.setScale(e * n), this.hooks.mountVisible();
848
+ }
849
+ destroy() {
850
+ this.pendingAnchor = null, this._wheelListener &&= (this.hooks.scrollHost().removeEventListener("wheel", this._wheelListener), null), this._resizeObserver?.disconnect(), this._resizeObserver = null;
851
+ }
852
+ }, se = class {
853
+ hooks;
854
+ elementContext = null;
855
+ _generation = 0;
856
+ _contextKey = "null";
857
+ _selectionChangeListener = null;
858
+ _elementClickListener = null;
859
+ _contextMenuListener = null;
860
+ constructor(e) {
861
+ this.hooks = e;
862
+ }
863
+ bind(e, t) {
864
+ let n = this.hooks.wrapper(), r = this.hooks.scrollHost();
865
+ this.hooks.textSelectionEnabled() && (e || this.hooks.elementSelectionEnabled()) && (this._selectionChangeListener = () => this.emitChange(), n.ownerDocument.addEventListener("selectionchange", this._selectionChangeListener)), this.hooks.elementSelectionEnabled() && (this._elementClickListener = (e) => {
866
+ this.onElementClick(e).catch((e) => this.hooks.reportError(e));
867
+ }, r.addEventListener("click", this._elementClickListener)), t && this.hooks.onContextMenu && (this._contextMenuListener = (e) => {
868
+ let t;
869
+ this.hooks.onContextMenu?.(e, () => t ??= this.resolveContextAt(e));
870
+ }, r.addEventListener("contextmenu", this._contextMenuListener));
871
+ }
872
+ emitChange() {
873
+ let e = this.hooks.getContext();
874
+ e?.kind === "text" && (this._generation++, this.elementContext = null, this.redrawOutlines());
875
+ let t = JSON.stringify(e);
876
+ t !== this._contextKey && (this._contextKey = t, this.hooks.onChange(e ? structuredClone(e) : null));
877
+ }
878
+ setElementContext(e) {
879
+ this.elementContext = e ? structuredClone(e) : null, this.redrawOutlines(), this.emitChange();
880
+ }
881
+ invalidateElementContext(e = !0) {
882
+ this._generation++, this.elementContext = null, this.redrawOutlines(), e && this.emitChange();
883
+ }
884
+ clearElementContext() {
885
+ this.elementContext = null;
886
+ }
887
+ redrawOutlines() {
888
+ for (let [e, t] of this.hooks.slots()) this.redrawOutlineForSlot(e, t);
889
+ }
890
+ redrawOutlineForSlot(e, t) {
891
+ let n = this.elementContext, r = this.hooks.resource();
892
+ p(t.elementLayer, n && r ? this.hooks.outline(r, e, n) : null);
893
+ }
894
+ async onElementClick(e) {
895
+ this.hooks.destroyed() || e.defaultPrevented || e.button !== 0 || await this.resolveContextAt(e);
896
+ }
897
+ async resolveContextAt(e) {
898
+ let t = this.hooks.resource();
899
+ if (this.hooks.destroyed() || !t) return null;
900
+ if (this.hooks.textSelectionEnabled() && this.hooks.textSelected()) return this.emitChange(), this.hooks.destroyed() ? null : this.hooks.getContext();
901
+ if (!this.hooks.elementSelectionEnabled()) return this.hooks.getContext();
902
+ let n = e.target, r = [...this.hooks.slots()].find(([, e]) => n !== null && e.wrapper.contains(n));
903
+ if (!r) return this.invalidateElementContext(), null;
904
+ let [i, a] = r, o = a.canvas.getBoundingClientRect();
905
+ if (o.width <= 0 || o.height <= 0) return this.invalidateElementContext(), null;
906
+ let s = e.clientX - o.left, c = e.clientY - o.top;
907
+ if (s < 0 || c < 0 || s > o.width || c > o.height) return this.invalidateElementContext(), null;
908
+ let l = ++this._generation, u;
909
+ try {
910
+ u = await this.hooks.hitTest(t, i, s / o.width, c / o.height, o.width);
911
+ } catch (e) {
912
+ if (this.hooks.destroyed() || l !== this._generation || t !== this.hooks.resource()) return null;
913
+ throw e;
914
+ }
915
+ return this.hooks.destroyed() || l !== this._generation || t !== this.hooks.resource() ? null : (this.setElementContext(u), this.hooks.destroyed() ? null : this.hooks.getContext());
916
+ }
917
+ destroy() {
918
+ this._generation++;
919
+ let e = this.hooks.wrapper(), t = this.hooks.scrollHost();
920
+ this._selectionChangeListener &&= (e.ownerDocument.removeEventListener("selectionchange", this._selectionChangeListener), null), this._elementClickListener &&= (t.removeEventListener("click", this._elementClickListener), null), this._contextMenuListener &&= (t.removeEventListener("contextmenu", this._contextMenuListener), null), this.elementContext = null;
921
+ }
922
+ }, ce = class {
923
+ hooks;
924
+ _scheduled = !1;
925
+ _frame = null;
926
+ _pending = /* @__PURE__ */ new Map();
927
+ constructor(e) {
928
+ this.hooks = e;
929
+ }
930
+ drawConnectors(e, t) {
931
+ let n = t.commentDecorationLayer, r = t.commentMargin, i = t.commentGeometry, a = this.hooks.connectorOptions(), o = this.hooks.runtime();
932
+ if (!n || !r || !i || !a || !o) return;
933
+ let s = this.hooks.width(e), c = this.hooks.height(e), l = this.hooks.side(), u = this.hooks.marginExtent();
934
+ o.buildReadOnlyCommentDecoration(n, Object.freeze({
935
+ surfaceBounds: Object.freeze({
936
+ x: l === "left" ? -u : 0,
937
+ y: 0,
938
+ width: s + u,
939
+ height: c
940
+ }),
941
+ contentBounds: Object.freeze({
942
+ x: 0,
943
+ y: 0,
944
+ width: s,
945
+ height: c
946
+ }),
947
+ side: l,
948
+ threads: o.projectReadOnlyCommentMarginScroll(i, r.scrollTop)
949
+ }), {
950
+ route: a.route ?? "bezier",
951
+ stroke: a.stroke ?? "solid",
952
+ color: a.color,
953
+ activeColor: a.activeColor
954
+ });
955
+ }
956
+ schedule(e, t, n = !1) {
957
+ let r = this._pending.get(e);
958
+ if (this._pending.set(e, {
959
+ slot: t,
960
+ connectorsOnly: r?.slot === t ? r.connectorsOnly && n : n
961
+ }), this._scheduled) return;
962
+ this._scheduled = !0;
963
+ let i = () => {
964
+ this._scheduled = !1, this._frame = null;
965
+ let e = [...this._pending];
966
+ if (this._pending.clear(), !this.hooks.destroyed()) for (let [t, n] of e) this.hooks.slots().get(t) !== n.slot || n.slot.renderedScale !== this.hooks.scale() || (n.connectorsOnly ? this.drawConnectors(t, n.slot) : this.hooks.redrawComments(t, n.slot));
967
+ }, a = this.hooks.ownerWindow();
968
+ a?.requestAnimationFrame ? this._frame = a.requestAnimationFrame(i) : queueMicrotask(i);
969
+ }
970
+ destroy() {
971
+ this._frame !== null && this.hooks.ownerWindow()?.cancelAnimationFrame?.(this._frame), this._frame = null, this._scheduled = !1, this._pending.clear();
972
+ }
973
+ };
974
+ export { E as A, N as C, k as D, A as E, y as M, S as N, O, C as P, P as S, j as T, U as _, ie as a, I as b, ne as c, K as d, q as f, W as g, G as h, ae as i, b as j, D as k, $ as l, J as m, se as n, re as o, Z as p, oe as r, te as s, ce as t, Q as u, H as v, M as w, F as x, z as y };