@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.
- package/brand.js +3 -1
- package/caps/charts/charts.css +5 -2
- package/caps/charts/charts.js +45 -24
- package/caps/charts/option.js +11 -1
- package/caps/files/midi.js +1 -1
- package/caps/files/office.js +4 -4
- package/caps/games/file.js +56 -0
- package/caps/games/frame.css +22 -0
- package/caps/games/guard.js +86 -0
- package/caps/games/page.js +52 -0
- package/caps/games/shell.js +260 -0
- package/caps/interactive/apps.js +23 -8
- package/caps/interactive/diagram.js +96 -22
- package/caps/interactive/interactive.css +22 -6
- package/caps/interactive/interactive.js +25 -10
- package/caps/interactive/live.js +96 -0
- package/caps/interactive/map.js +22 -2
- package/caps/interactive/mode.js +9 -6
- package/caps/interactive/page-diagram.js +6 -2
- package/caps/interactive/parts.js +124 -0
- package/caps/interactive/view-parts.js +209 -0
- package/caps/layouts/layouts.css +12 -12
- package/caps/layouts/layouts.js +25 -17
- package/caps/layouts/shapes.js +1 -1
- package/caps/made/formats.js +84 -46
- package/caps/made/paper.js +142 -0
- package/caps/math/math.js +2 -2
- package/caps/scores/scores.css +10 -4
- package/caps/scores/scores.js +99 -51
- package/caps/share/view.js +1 -1
- package/caps/skills/directory.js +6 -3
- package/caps/skills/sources.js +4 -2
- package/caps/slides/edit.js +2 -2
- package/caps/slides/kit-page.css +8 -2
- package/caps/slides/kit-page.js +47 -38
- package/caps/slides/kit-sample.js +36 -0
- package/caps/slides/kit-slot.js +10 -0
- package/caps/slides/kit.js +3 -0
- package/caps/slides/save.js +24 -58
- package/caps/slides/slides.css +9 -9
- package/caps/slides/slides.js +24 -24
- package/caps/tables/formula.js +133 -0
- package/core/conversations.js +151 -0
- package/core/deferred.js +36 -16
- package/core/events.js +1 -1
- package/core/files.js +9 -3
- package/core/fs.js +3 -11
- package/core/hooks.js +2 -2
- package/core/i18n.js +1 -1
- package/core/llm.js +34 -45
- package/core/loop.js +15 -17
- package/core/oauth.js +31 -0
- package/core/search.js +1 -1
- package/core/settings.js +12 -11
- package/core/skills.js +3 -3
- package/core/vertex.js +37 -0
- package/locales/am.json +19 -3
- package/locales/approvals/am.json +2 -1
- package/locales/approvals/ar.json +2 -1
- package/locales/approvals/bg.json +2 -1
- package/locales/approvals/bn.json +2 -1
- package/locales/approvals/br.json +2 -1
- package/locales/approvals/co.json +2 -1
- package/locales/approvals/cs.json +2 -1
- package/locales/approvals/da.json +2 -1
- package/locales/approvals/de.json +2 -1
- package/locales/approvals/el.json +2 -1
- package/locales/approvals/en.json +2 -1
- package/locales/approvals/es.json +2 -1
- package/locales/approvals/fa.json +2 -1
- package/locales/approvals/fi.json +2 -1
- package/locales/approvals/fr-CA.json +2 -1
- package/locales/approvals/fr.json +2 -1
- package/locales/approvals/ha.json +2 -1
- package/locales/approvals/he.json +2 -1
- package/locales/approvals/hi.json +2 -1
- package/locales/approvals/hr.json +2 -1
- package/locales/approvals/hu.json +2 -1
- package/locales/approvals/id.json +2 -1
- package/locales/approvals/it.json +2 -1
- package/locales/approvals/ja.json +2 -1
- package/locales/approvals/ko.json +2 -1
- package/locales/approvals/mr.json +2 -1
- package/locales/approvals/ms.json +2 -1
- package/locales/approvals/nl.json +2 -1
- package/locales/approvals/pl.json +2 -1
- package/locales/approvals/pt.json +2 -1
- package/locales/approvals/ro.json +2 -1
- package/locales/approvals/ru.json +2 -1
- package/locales/approvals/sk.json +2 -1
- package/locales/approvals/sv.json +2 -1
- package/locales/approvals/sw.json +2 -1
- package/locales/approvals/ta.json +2 -1
- package/locales/approvals/te.json +2 -1
- package/locales/approvals/th.json +2 -1
- package/locales/approvals/tl.json +2 -1
- package/locales/approvals/tr.json +2 -1
- package/locales/approvals/uk.json +2 -1
- package/locales/approvals/ur.json +2 -1
- package/locales/approvals/vi.json +2 -1
- package/locales/approvals/yo.json +2 -1
- package/locales/approvals/zh-Hans.json +2 -1
- package/locales/approvals/zh-Hant.json +2 -1
- package/locales/ar.json +23 -3
- package/locales/bg.json +19 -3
- package/locales/bn.json +19 -3
- package/locales/br.json +22 -3
- package/locales/brains/am.json +6 -3
- package/locales/brains/ar.json +6 -3
- package/locales/brains/bg.json +6 -3
- package/locales/brains/bn.json +6 -3
- package/locales/brains/br.json +6 -3
- package/locales/brains/co.json +6 -3
- package/locales/brains/cs.json +6 -3
- package/locales/brains/da.json +6 -3
- package/locales/brains/de.json +6 -3
- package/locales/brains/el.json +6 -3
- package/locales/brains/en.json +6 -3
- package/locales/brains/es.json +6 -3
- package/locales/brains/fa.json +6 -3
- package/locales/brains/fi.json +6 -3
- package/locales/brains/fr-CA.json +6 -3
- package/locales/brains/fr.json +6 -3
- package/locales/brains/ha.json +6 -3
- package/locales/brains/he.json +6 -3
- package/locales/brains/hi.json +6 -3
- package/locales/brains/hr.json +6 -3
- package/locales/brains/hu.json +6 -3
- package/locales/brains/id.json +6 -3
- package/locales/brains/it.json +6 -3
- package/locales/brains/ja.json +6 -3
- package/locales/brains/ko.json +6 -3
- package/locales/brains/mr.json +6 -3
- package/locales/brains/ms.json +6 -3
- package/locales/brains/nl.json +6 -3
- package/locales/brains/pl.json +6 -3
- package/locales/brains/pt.json +6 -3
- package/locales/brains/ro.json +6 -3
- package/locales/brains/ru.json +6 -3
- package/locales/brains/sk.json +6 -3
- package/locales/brains/sv.json +6 -3
- package/locales/brains/sw.json +6 -3
- package/locales/brains/ta.json +6 -3
- package/locales/brains/te.json +6 -3
- package/locales/brains/th.json +6 -3
- package/locales/brains/tl.json +6 -3
- package/locales/brains/tr.json +6 -3
- package/locales/brains/uk.json +6 -3
- package/locales/brains/ur.json +6 -3
- package/locales/brains/vi.json +6 -3
- package/locales/brains/yo.json +6 -3
- package/locales/brains/zh-Hans.json +6 -3
- package/locales/brains/zh-Hant.json +6 -3
- package/locales/camera/am.json +20 -0
- package/locales/camera/ar.json +20 -0
- package/locales/camera/bg.json +20 -0
- package/locales/camera/bn.json +20 -0
- package/locales/camera/br.json +20 -0
- package/locales/camera/co.json +20 -0
- package/locales/camera/cs.json +20 -0
- package/locales/camera/da.json +20 -0
- package/locales/camera/de.json +20 -0
- package/locales/camera/el.json +20 -0
- package/locales/camera/en.json +20 -0
- package/locales/camera/es.json +20 -0
- package/locales/camera/fa.json +20 -0
- package/locales/camera/fi.json +20 -0
- package/locales/camera/fr-CA.json +20 -0
- package/locales/camera/fr.json +20 -0
- package/locales/camera/ha.json +20 -0
- package/locales/camera/he.json +20 -0
- package/locales/camera/hi.json +20 -0
- package/locales/camera/hr.json +20 -0
- package/locales/camera/hu.json +20 -0
- package/locales/camera/id.json +20 -0
- package/locales/camera/it.json +20 -0
- package/locales/camera/ja.json +20 -0
- package/locales/camera/ko.json +20 -0
- package/locales/camera/mr.json +20 -0
- package/locales/camera/ms.json +20 -0
- package/locales/camera/nl.json +20 -0
- package/locales/camera/pl.json +20 -0
- package/locales/camera/pt.json +20 -0
- package/locales/camera/ro.json +20 -0
- package/locales/camera/ru.json +20 -0
- package/locales/camera/sk.json +20 -0
- package/locales/camera/sv.json +20 -0
- package/locales/camera/sw.json +20 -0
- package/locales/camera/ta.json +20 -0
- package/locales/camera/te.json +20 -0
- package/locales/camera/th.json +20 -0
- package/locales/camera/tl.json +20 -0
- package/locales/camera/tr.json +20 -0
- package/locales/camera/uk.json +20 -0
- package/locales/camera/ur.json +20 -0
- package/locales/camera/vi.json +20 -0
- package/locales/camera/yo.json +20 -0
- package/locales/camera/zh-Hans.json +20 -0
- package/locales/camera/zh-Hant.json +20 -0
- package/locales/charts/am.json +2 -0
- package/locales/charts/ar.json +2 -0
- package/locales/charts/bg.json +2 -0
- package/locales/charts/bn.json +2 -0
- package/locales/charts/br.json +2 -0
- package/locales/charts/co.json +2 -0
- package/locales/charts/cs.json +2 -0
- package/locales/charts/da.json +2 -0
- package/locales/charts/de.json +2 -0
- package/locales/charts/el.json +2 -0
- package/locales/charts/en.json +2 -0
- package/locales/charts/es.json +2 -0
- package/locales/charts/fa.json +2 -0
- package/locales/charts/fi.json +2 -0
- package/locales/charts/fr-CA.json +2 -0
- package/locales/charts/fr.json +2 -0
- package/locales/charts/ha.json +2 -0
- package/locales/charts/he.json +2 -0
- package/locales/charts/hi.json +2 -0
- package/locales/charts/hr.json +2 -0
- package/locales/charts/hu.json +2 -0
- package/locales/charts/id.json +2 -0
- package/locales/charts/it.json +2 -0
- package/locales/charts/ja.json +2 -0
- package/locales/charts/ko.json +2 -0
- package/locales/charts/mr.json +2 -0
- package/locales/charts/ms.json +2 -0
- package/locales/charts/nl.json +2 -0
- package/locales/charts/pl.json +2 -0
- package/locales/charts/pt.json +2 -0
- package/locales/charts/ro.json +2 -0
- package/locales/charts/ru.json +2 -0
- package/locales/charts/sk.json +2 -0
- package/locales/charts/sv.json +2 -0
- package/locales/charts/sw.json +2 -0
- package/locales/charts/ta.json +2 -0
- package/locales/charts/te.json +2 -0
- package/locales/charts/th.json +2 -0
- package/locales/charts/tl.json +2 -0
- package/locales/charts/tr.json +2 -0
- package/locales/charts/uk.json +2 -0
- package/locales/charts/ur.json +2 -0
- package/locales/charts/vi.json +2 -0
- package/locales/charts/yo.json +2 -0
- package/locales/charts/zh-Hans.json +2 -0
- package/locales/charts/zh-Hant.json +2 -0
- package/locales/co.json +20 -3
- package/locales/creations/am.json +4 -0
- package/locales/creations/ar.json +4 -0
- package/locales/creations/bg.json +4 -0
- package/locales/creations/bn.json +4 -0
- package/locales/creations/br.json +4 -0
- package/locales/creations/co.json +4 -0
- package/locales/creations/cs.json +4 -0
- package/locales/creations/da.json +4 -0
- package/locales/creations/de.json +4 -0
- package/locales/creations/el.json +4 -0
- package/locales/creations/en.json +4 -0
- package/locales/creations/es.json +4 -0
- package/locales/creations/fa.json +4 -0
- package/locales/creations/fi.json +4 -0
- package/locales/creations/fr-CA.json +4 -0
- package/locales/creations/fr.json +4 -0
- package/locales/creations/ha.json +4 -0
- package/locales/creations/he.json +4 -0
- package/locales/creations/hi.json +4 -0
- package/locales/creations/hr.json +4 -0
- package/locales/creations/hu.json +4 -0
- package/locales/creations/id.json +4 -0
- package/locales/creations/it.json +4 -0
- package/locales/creations/ja.json +4 -0
- package/locales/creations/ko.json +4 -0
- package/locales/creations/mr.json +4 -0
- package/locales/creations/ms.json +4 -0
- package/locales/creations/nl.json +4 -0
- package/locales/creations/pl.json +4 -0
- package/locales/creations/pt.json +4 -0
- package/locales/creations/ro.json +4 -0
- package/locales/creations/ru.json +4 -0
- package/locales/creations/sk.json +4 -0
- package/locales/creations/sv.json +4 -0
- package/locales/creations/sw.json +4 -0
- package/locales/creations/ta.json +4 -0
- package/locales/creations/te.json +4 -0
- package/locales/creations/th.json +4 -0
- package/locales/creations/tl.json +4 -0
- package/locales/creations/tr.json +4 -0
- package/locales/creations/uk.json +4 -0
- package/locales/creations/ur.json +4 -0
- package/locales/creations/vi.json +4 -0
- package/locales/creations/yo.json +4 -0
- package/locales/creations/zh-Hans.json +4 -0
- package/locales/creations/zh-Hant.json +4 -0
- package/locales/cs.json +21 -3
- package/locales/da.json +19 -3
- package/locales/de.json +19 -3
- package/locales/designs/am.json +0 -14
- package/locales/designs/ar.json +0 -14
- package/locales/designs/bg.json +0 -14
- package/locales/designs/bn.json +0 -14
- package/locales/designs/br.json +0 -14
- package/locales/designs/co.json +0 -14
- package/locales/designs/cs.json +0 -14
- package/locales/designs/da.json +0 -14
- package/locales/designs/de.json +0 -14
- package/locales/designs/el.json +0 -14
- package/locales/designs/en.json +0 -14
- package/locales/designs/es.json +0 -14
- package/locales/designs/fa.json +0 -14
- package/locales/designs/fi.json +0 -14
- package/locales/designs/fr-CA.json +0 -14
- package/locales/designs/fr.json +0 -14
- package/locales/designs/ha.json +0 -14
- package/locales/designs/he.json +0 -14
- package/locales/designs/hi.json +0 -14
- package/locales/designs/hr.json +0 -14
- package/locales/designs/hu.json +0 -14
- package/locales/designs/id.json +0 -14
- package/locales/designs/it.json +0 -14
- package/locales/designs/ja.json +0 -14
- package/locales/designs/ko.json +0 -14
- package/locales/designs/mr.json +0 -14
- package/locales/designs/ms.json +0 -14
- package/locales/designs/nl.json +0 -14
- package/locales/designs/pl.json +0 -14
- package/locales/designs/pt.json +0 -14
- package/locales/designs/ro.json +0 -14
- package/locales/designs/ru.json +0 -14
- package/locales/designs/sk.json +0 -14
- package/locales/designs/sv.json +0 -14
- package/locales/designs/sw.json +0 -14
- package/locales/designs/ta.json +0 -14
- package/locales/designs/te.json +0 -14
- package/locales/designs/th.json +0 -14
- package/locales/designs/tl.json +0 -14
- package/locales/designs/tr.json +0 -14
- package/locales/designs/uk.json +0 -14
- package/locales/designs/ur.json +0 -14
- package/locales/designs/vi.json +0 -14
- package/locales/designs/yo.json +0 -14
- package/locales/designs/zh-Hans.json +0 -14
- package/locales/designs/zh-Hant.json +0 -14
- package/locales/dialogs/am.json +7 -0
- package/locales/dialogs/ar.json +7 -0
- package/locales/dialogs/bg.json +7 -0
- package/locales/dialogs/bn.json +7 -0
- package/locales/dialogs/br.json +7 -0
- package/locales/dialogs/co.json +7 -0
- package/locales/dialogs/cs.json +7 -0
- package/locales/dialogs/da.json +7 -0
- package/locales/dialogs/de.json +7 -0
- package/locales/dialogs/el.json +7 -0
- package/locales/dialogs/en.json +7 -0
- package/locales/dialogs/es.json +7 -0
- package/locales/dialogs/fa.json +7 -0
- package/locales/dialogs/fi.json +7 -0
- package/locales/dialogs/fr-CA.json +9 -2
- package/locales/dialogs/fr.json +9 -2
- package/locales/dialogs/ha.json +7 -0
- package/locales/dialogs/he.json +7 -0
- package/locales/dialogs/hi.json +7 -0
- package/locales/dialogs/hr.json +7 -0
- package/locales/dialogs/hu.json +7 -0
- package/locales/dialogs/id.json +7 -0
- package/locales/dialogs/it.json +7 -0
- package/locales/dialogs/ja.json +7 -0
- package/locales/dialogs/ko.json +7 -0
- package/locales/dialogs/mr.json +7 -0
- package/locales/dialogs/ms.json +7 -0
- package/locales/dialogs/nl.json +7 -0
- package/locales/dialogs/pl.json +7 -0
- package/locales/dialogs/pt.json +7 -0
- package/locales/dialogs/ro.json +7 -0
- package/locales/dialogs/ru.json +7 -0
- package/locales/dialogs/sk.json +7 -0
- package/locales/dialogs/sv.json +7 -0
- package/locales/dialogs/sw.json +7 -0
- package/locales/dialogs/ta.json +7 -0
- package/locales/dialogs/te.json +7 -0
- package/locales/dialogs/th.json +7 -0
- package/locales/dialogs/tl.json +7 -0
- package/locales/dialogs/tr.json +7 -0
- package/locales/dialogs/uk.json +7 -0
- package/locales/dialogs/ur.json +7 -0
- package/locales/dialogs/vi.json +7 -0
- package/locales/dialogs/yo.json +7 -0
- package/locales/dialogs/zh-Hans.json +7 -0
- package/locales/dialogs/zh-Hant.json +7 -0
- package/locales/documents/am.json +6 -0
- package/locales/documents/ar.json +6 -0
- package/locales/documents/bg.json +6 -0
- package/locales/documents/bn.json +6 -0
- package/locales/documents/br.json +6 -0
- package/locales/documents/co.json +6 -0
- package/locales/documents/cs.json +6 -0
- package/locales/documents/da.json +6 -0
- package/locales/documents/de.json +6 -0
- package/locales/documents/el.json +6 -0
- package/locales/documents/en.json +6 -0
- package/locales/documents/es.json +6 -0
- package/locales/documents/fa.json +6 -0
- package/locales/documents/fi.json +6 -0
- package/locales/documents/fr-CA.json +6 -0
- package/locales/documents/fr.json +6 -0
- package/locales/documents/ha.json +6 -0
- package/locales/documents/he.json +6 -0
- package/locales/documents/hi.json +6 -0
- package/locales/documents/hr.json +6 -0
- package/locales/documents/hu.json +6 -0
- package/locales/documents/id.json +6 -0
- package/locales/documents/it.json +6 -0
- package/locales/documents/ja.json +6 -0
- package/locales/documents/ko.json +6 -0
- package/locales/documents/mr.json +6 -0
- package/locales/documents/ms.json +6 -0
- package/locales/documents/nl.json +6 -0
- package/locales/documents/pl.json +6 -0
- package/locales/documents/pt.json +6 -0
- package/locales/documents/ro.json +6 -0
- package/locales/documents/ru.json +6 -0
- package/locales/documents/sk.json +6 -0
- package/locales/documents/sv.json +6 -0
- package/locales/documents/sw.json +6 -0
- package/locales/documents/ta.json +6 -0
- package/locales/documents/te.json +6 -0
- package/locales/documents/th.json +6 -0
- package/locales/documents/tl.json +6 -0
- package/locales/documents/tr.json +6 -0
- package/locales/documents/uk.json +6 -0
- package/locales/documents/ur.json +6 -0
- package/locales/documents/vi.json +6 -0
- package/locales/documents/yo.json +6 -0
- package/locales/documents/zh-Hans.json +6 -0
- package/locales/documents/zh-Hant.json +6 -0
- package/locales/el.json +19 -3
- package/locales/en.json +19 -3
- package/locales/enterprise/am.json +29 -1
- package/locales/enterprise/ar.json +29 -1
- package/locales/enterprise/bg.json +29 -1
- package/locales/enterprise/bn.json +29 -1
- package/locales/enterprise/br.json +29 -1
- package/locales/enterprise/co.json +29 -1
- package/locales/enterprise/cs.json +29 -1
- package/locales/enterprise/da.json +29 -1
- package/locales/enterprise/de.json +29 -1
- package/locales/enterprise/el.json +29 -1
- package/locales/enterprise/en.json +29 -1
- package/locales/enterprise/es.json +29 -1
- package/locales/enterprise/fa.json +29 -1
- package/locales/enterprise/fi.json +29 -1
- package/locales/enterprise/fr-CA.json +29 -1
- package/locales/enterprise/fr.json +29 -1
- package/locales/enterprise/ha.json +29 -1
- package/locales/enterprise/he.json +29 -1
- package/locales/enterprise/hi.json +29 -1
- package/locales/enterprise/hr.json +29 -1
- package/locales/enterprise/hu.json +29 -1
- package/locales/enterprise/id.json +29 -1
- package/locales/enterprise/it.json +29 -1
- package/locales/enterprise/ja.json +29 -1
- package/locales/enterprise/ko.json +29 -1
- package/locales/enterprise/mr.json +29 -1
- package/locales/enterprise/ms.json +29 -1
- package/locales/enterprise/nl.json +29 -1
- package/locales/enterprise/pl.json +29 -1
- package/locales/enterprise/pt.json +29 -1
- package/locales/enterprise/ro.json +29 -1
- package/locales/enterprise/ru.json +29 -1
- package/locales/enterprise/sk.json +29 -1
- package/locales/enterprise/sv.json +29 -1
- package/locales/enterprise/sw.json +29 -1
- package/locales/enterprise/ta.json +29 -1
- package/locales/enterprise/te.json +29 -1
- package/locales/enterprise/th.json +29 -1
- package/locales/enterprise/tl.json +29 -1
- package/locales/enterprise/tr.json +29 -1
- package/locales/enterprise/uk.json +29 -1
- package/locales/enterprise/ur.json +29 -1
- package/locales/enterprise/vi.json +29 -1
- package/locales/enterprise/yo.json +29 -1
- package/locales/enterprise/zh-Hans.json +29 -1
- package/locales/enterprise/zh-Hant.json +29 -1
- package/locales/es.json +20 -3
- package/locales/fa.json +19 -3
- package/locales/fi.json +19 -3
- package/locales/fr-CA.json +21 -4
- package/locales/fr.json +21 -4
- package/locales/games/am.json +16 -0
- package/locales/games/ar.json +16 -0
- package/locales/games/bg.json +16 -0
- package/locales/games/bn.json +16 -0
- package/locales/games/br.json +16 -0
- package/locales/games/co.json +16 -0
- package/locales/games/cs.json +16 -0
- package/locales/games/da.json +16 -0
- package/locales/games/de.json +16 -0
- package/locales/games/el.json +16 -0
- package/locales/games/en.json +16 -0
- package/locales/games/es.json +16 -0
- package/locales/games/fa.json +16 -0
- package/locales/games/fi.json +16 -0
- package/locales/games/fr-CA.json +16 -0
- package/locales/games/fr.json +16 -0
- package/locales/games/ha.json +16 -0
- package/locales/games/he.json +16 -0
- package/locales/games/hi.json +16 -0
- package/locales/games/hr.json +16 -0
- package/locales/games/hu.json +16 -0
- package/locales/games/id.json +16 -0
- package/locales/games/it.json +16 -0
- package/locales/games/ja.json +16 -0
- package/locales/games/ko.json +16 -0
- package/locales/games/mr.json +16 -0
- package/locales/games/ms.json +16 -0
- package/locales/games/nl.json +16 -0
- package/locales/games/pl.json +16 -0
- package/locales/games/pt.json +16 -0
- package/locales/games/ro.json +16 -0
- package/locales/games/ru.json +16 -0
- package/locales/games/sk.json +16 -0
- package/locales/games/sv.json +16 -0
- package/locales/games/sw.json +16 -0
- package/locales/games/ta.json +16 -0
- package/locales/games/te.json +16 -0
- package/locales/games/th.json +16 -0
- package/locales/games/tl.json +16 -0
- package/locales/games/tr.json +16 -0
- package/locales/games/uk.json +16 -0
- package/locales/games/ur.json +16 -0
- package/locales/games/vi.json +16 -0
- package/locales/games/yo.json +16 -0
- package/locales/games/zh-Hans.json +16 -0
- package/locales/games/zh-Hant.json +16 -0
- package/locales/ha.json +19 -3
- package/locales/he.json +20 -3
- package/locales/hi.json +19 -3
- package/locales/hr.json +20 -3
- package/locales/hu.json +19 -3
- package/locales/id.json +18 -3
- package/locales/interactive/am.json +11 -2
- package/locales/interactive/ar.json +11 -2
- package/locales/interactive/bg.json +11 -2
- package/locales/interactive/bn.json +11 -2
- package/locales/interactive/br.json +11 -2
- package/locales/interactive/co.json +11 -2
- package/locales/interactive/cs.json +11 -2
- package/locales/interactive/da.json +11 -2
- package/locales/interactive/de.json +11 -2
- package/locales/interactive/el.json +11 -2
- package/locales/interactive/en.json +11 -2
- package/locales/interactive/es.json +11 -2
- package/locales/interactive/fa.json +11 -2
- package/locales/interactive/fi.json +11 -2
- package/locales/interactive/fr-CA.json +11 -2
- package/locales/interactive/fr.json +11 -2
- package/locales/interactive/ha.json +11 -2
- package/locales/interactive/he.json +11 -2
- package/locales/interactive/hi.json +11 -2
- package/locales/interactive/hr.json +11 -2
- package/locales/interactive/hu.json +11 -2
- package/locales/interactive/id.json +11 -2
- package/locales/interactive/it.json +11 -2
- package/locales/interactive/ja.json +11 -2
- package/locales/interactive/ko.json +11 -2
- package/locales/interactive/mr.json +11 -2
- package/locales/interactive/ms.json +11 -2
- package/locales/interactive/nl.json +11 -2
- package/locales/interactive/pl.json +11 -2
- package/locales/interactive/pt.json +11 -2
- package/locales/interactive/ro.json +11 -2
- package/locales/interactive/ru.json +11 -2
- package/locales/interactive/sk.json +11 -2
- package/locales/interactive/sv.json +11 -2
- package/locales/interactive/sw.json +11 -2
- package/locales/interactive/ta.json +11 -2
- package/locales/interactive/te.json +11 -2
- package/locales/interactive/th.json +11 -2
- package/locales/interactive/tl.json +11 -2
- package/locales/interactive/tr.json +11 -2
- package/locales/interactive/uk.json +11 -2
- package/locales/interactive/ur.json +11 -2
- package/locales/interactive/vi.json +11 -2
- package/locales/interactive/yo.json +11 -2
- package/locales/interactive/zh-Hans.json +11 -2
- package/locales/interactive/zh-Hant.json +11 -2
- package/locales/it.json +20 -3
- package/locales/ja.json +18 -3
- package/locales/ko.json +18 -3
- package/locales/lock/am.json +6 -3
- package/locales/lock/ar.json +6 -3
- package/locales/lock/bg.json +6 -3
- package/locales/lock/bn.json +6 -3
- package/locales/lock/br.json +6 -3
- package/locales/lock/co.json +6 -3
- package/locales/lock/cs.json +6 -3
- package/locales/lock/da.json +6 -3
- package/locales/lock/de.json +6 -3
- package/locales/lock/el.json +6 -3
- package/locales/lock/en.json +6 -3
- package/locales/lock/es.json +6 -3
- package/locales/lock/fa.json +6 -3
- package/locales/lock/fi.json +6 -3
- package/locales/lock/fr-CA.json +6 -3
- package/locales/lock/fr.json +6 -3
- package/locales/lock/ha.json +6 -3
- package/locales/lock/he.json +6 -3
- package/locales/lock/hi.json +6 -3
- package/locales/lock/hr.json +6 -3
- package/locales/lock/hu.json +6 -3
- package/locales/lock/id.json +6 -3
- package/locales/lock/it.json +6 -3
- package/locales/lock/ja.json +6 -3
- package/locales/lock/ko.json +6 -3
- package/locales/lock/mr.json +6 -3
- package/locales/lock/ms.json +6 -3
- package/locales/lock/nl.json +6 -3
- package/locales/lock/pl.json +6 -3
- package/locales/lock/pt.json +6 -3
- package/locales/lock/ro.json +6 -3
- package/locales/lock/ru.json +6 -3
- package/locales/lock/sk.json +6 -3
- package/locales/lock/sv.json +6 -3
- package/locales/lock/sw.json +6 -3
- package/locales/lock/ta.json +6 -3
- package/locales/lock/te.json +6 -3
- package/locales/lock/th.json +6 -3
- package/locales/lock/tl.json +6 -3
- package/locales/lock/tr.json +6 -3
- package/locales/lock/uk.json +6 -3
- package/locales/lock/ur.json +6 -3
- package/locales/lock/vi.json +6 -3
- package/locales/lock/yo.json +6 -3
- package/locales/lock/zh-Hans.json +6 -3
- package/locales/lock/zh-Hant.json +6 -3
- package/locales/look/am.json +5 -0
- package/locales/look/ar.json +5 -0
- package/locales/look/bg.json +5 -0
- package/locales/look/bn.json +5 -0
- package/locales/look/br.json +5 -0
- package/locales/look/co.json +5 -0
- package/locales/look/cs.json +5 -0
- package/locales/look/da.json +5 -0
- package/locales/look/de.json +5 -0
- package/locales/look/el.json +5 -0
- package/locales/look/en.json +5 -0
- package/locales/look/es.json +5 -0
- package/locales/look/fa.json +5 -0
- package/locales/look/fi.json +5 -0
- package/locales/look/fr-CA.json +5 -0
- package/locales/look/fr.json +5 -0
- package/locales/look/ha.json +5 -0
- package/locales/look/he.json +5 -0
- package/locales/look/hi.json +5 -0
- package/locales/look/hr.json +5 -0
- package/locales/look/hu.json +5 -0
- package/locales/look/id.json +5 -0
- package/locales/look/it.json +5 -0
- package/locales/look/ja.json +5 -0
- package/locales/look/ko.json +5 -0
- package/locales/look/mr.json +5 -0
- package/locales/look/ms.json +5 -0
- package/locales/look/nl.json +5 -0
- package/locales/look/pl.json +5 -0
- package/locales/look/pt.json +5 -0
- package/locales/look/ro.json +5 -0
- package/locales/look/ru.json +5 -0
- package/locales/look/sk.json +5 -0
- package/locales/look/sv.json +5 -0
- package/locales/look/sw.json +5 -0
- package/locales/look/ta.json +5 -0
- package/locales/look/te.json +5 -0
- package/locales/look/th.json +5 -0
- package/locales/look/tl.json +5 -0
- package/locales/look/tr.json +5 -0
- package/locales/look/uk.json +5 -0
- package/locales/look/ur.json +5 -0
- package/locales/look/vi.json +5 -0
- package/locales/look/yo.json +5 -0
- package/locales/look/zh-Hans.json +5 -0
- package/locales/look/zh-Hant.json +5 -0
- package/locales/made/am.json +6 -1
- package/locales/made/ar.json +6 -1
- package/locales/made/bg.json +6 -1
- package/locales/made/bn.json +6 -1
- package/locales/made/br.json +6 -1
- package/locales/made/co.json +6 -1
- package/locales/made/cs.json +6 -1
- package/locales/made/da.json +6 -1
- package/locales/made/de.json +6 -1
- package/locales/made/el.json +6 -1
- package/locales/made/en.json +6 -1
- package/locales/made/es.json +6 -1
- package/locales/made/fa.json +6 -1
- package/locales/made/fi.json +6 -1
- package/locales/made/fr-CA.json +6 -1
- package/locales/made/fr.json +6 -1
- package/locales/made/ha.json +6 -1
- package/locales/made/he.json +6 -1
- package/locales/made/hi.json +6 -1
- package/locales/made/hr.json +6 -1
- package/locales/made/hu.json +6 -1
- package/locales/made/id.json +6 -1
- package/locales/made/it.json +6 -1
- package/locales/made/ja.json +6 -1
- package/locales/made/ko.json +6 -1
- package/locales/made/mr.json +6 -1
- package/locales/made/ms.json +6 -1
- package/locales/made/nl.json +6 -1
- package/locales/made/pl.json +6 -1
- package/locales/made/pt.json +6 -1
- package/locales/made/ro.json +6 -1
- package/locales/made/ru.json +6 -1
- package/locales/made/sk.json +6 -1
- package/locales/made/sv.json +6 -1
- package/locales/made/sw.json +6 -1
- package/locales/made/ta.json +6 -1
- package/locales/made/te.json +6 -1
- package/locales/made/th.json +6 -1
- package/locales/made/tl.json +6 -1
- package/locales/made/tr.json +6 -1
- package/locales/made/uk.json +6 -1
- package/locales/made/ur.json +6 -1
- package/locales/made/vi.json +6 -1
- package/locales/made/yo.json +6 -1
- package/locales/made/zh-Hans.json +6 -1
- package/locales/made/zh-Hant.json +6 -1
- package/locales/mr.json +19 -3
- package/locales/ms.json +18 -3
- package/locales/nl.json +19 -3
- package/locales/out/am.json +13 -0
- package/locales/out/ar.json +13 -0
- package/locales/out/bg.json +13 -0
- package/locales/out/bn.json +13 -0
- package/locales/out/br.json +13 -0
- package/locales/out/co.json +13 -0
- package/locales/out/cs.json +13 -0
- package/locales/out/da.json +13 -0
- package/locales/out/de.json +13 -0
- package/locales/out/el.json +13 -0
- package/locales/out/en.json +13 -0
- package/locales/out/es.json +13 -0
- package/locales/out/fa.json +13 -0
- package/locales/out/fi.json +13 -0
- package/locales/out/fr-CA.json +13 -0
- package/locales/out/fr.json +13 -0
- package/locales/out/ha.json +13 -0
- package/locales/out/he.json +13 -0
- package/locales/out/hi.json +13 -0
- package/locales/out/hr.json +13 -0
- package/locales/out/hu.json +13 -0
- package/locales/out/id.json +13 -0
- package/locales/out/it.json +13 -0
- package/locales/out/ja.json +13 -0
- package/locales/out/ko.json +13 -0
- package/locales/out/mr.json +13 -0
- package/locales/out/ms.json +13 -0
- package/locales/out/nl.json +13 -0
- package/locales/out/pl.json +13 -0
- package/locales/out/pt.json +13 -0
- package/locales/out/ro.json +13 -0
- package/locales/out/ru.json +13 -0
- package/locales/out/sk.json +13 -0
- package/locales/out/sv.json +13 -0
- package/locales/out/sw.json +13 -0
- package/locales/out/ta.json +13 -0
- package/locales/out/te.json +13 -0
- package/locales/out/th.json +13 -0
- package/locales/out/tl.json +13 -0
- package/locales/out/tr.json +13 -0
- package/locales/out/uk.json +13 -0
- package/locales/out/ur.json +13 -0
- package/locales/out/vi.json +13 -0
- package/locales/out/yo.json +13 -0
- package/locales/out/zh-Hans.json +13 -0
- package/locales/out/zh-Hant.json +13 -0
- package/locales/pl.json +21 -3
- package/locales/profiles/am.json +5 -0
- package/locales/profiles/ar.json +5 -0
- package/locales/profiles/bg.json +5 -0
- package/locales/profiles/bn.json +5 -0
- package/locales/profiles/br.json +5 -0
- package/locales/profiles/co.json +5 -0
- package/locales/profiles/cs.json +5 -0
- package/locales/profiles/da.json +5 -0
- package/locales/profiles/de.json +5 -0
- package/locales/profiles/el.json +5 -0
- package/locales/profiles/en.json +5 -0
- package/locales/profiles/es.json +5 -0
- package/locales/profiles/fa.json +5 -0
- package/locales/profiles/fi.json +5 -0
- package/locales/profiles/fr-CA.json +5 -0
- package/locales/profiles/fr.json +5 -0
- package/locales/profiles/ha.json +5 -0
- package/locales/profiles/he.json +5 -0
- package/locales/profiles/hi.json +5 -0
- package/locales/profiles/hr.json +5 -0
- package/locales/profiles/hu.json +5 -0
- package/locales/profiles/id.json +5 -0
- package/locales/profiles/it.json +5 -0
- package/locales/profiles/ja.json +5 -0
- package/locales/profiles/ko.json +5 -0
- package/locales/profiles/mr.json +5 -0
- package/locales/profiles/ms.json +5 -0
- package/locales/profiles/nl.json +5 -0
- package/locales/profiles/pl.json +5 -0
- package/locales/profiles/pt.json +5 -0
- package/locales/profiles/ro.json +5 -0
- package/locales/profiles/ru.json +5 -0
- package/locales/profiles/sk.json +5 -0
- package/locales/profiles/sv.json +5 -0
- package/locales/profiles/sw.json +5 -0
- package/locales/profiles/ta.json +5 -0
- package/locales/profiles/te.json +5 -0
- package/locales/profiles/th.json +5 -0
- package/locales/profiles/tl.json +5 -0
- package/locales/profiles/tr.json +5 -0
- package/locales/profiles/uk.json +5 -0
- package/locales/profiles/ur.json +5 -0
- package/locales/profiles/vi.json +5 -0
- package/locales/profiles/yo.json +5 -0
- package/locales/profiles/zh-Hans.json +5 -0
- package/locales/profiles/zh-Hant.json +5 -0
- package/locales/pt.json +20 -3
- package/locales/ro.json +20 -3
- package/locales/routines/am.json +9 -0
- package/locales/routines/ar.json +9 -0
- package/locales/routines/bg.json +9 -0
- package/locales/routines/bn.json +9 -0
- package/locales/routines/br.json +9 -0
- package/locales/routines/co.json +9 -0
- package/locales/routines/cs.json +9 -0
- package/locales/routines/da.json +9 -0
- package/locales/routines/de.json +9 -0
- package/locales/routines/el.json +9 -0
- package/locales/routines/en.json +9 -0
- package/locales/routines/es.json +9 -0
- package/locales/routines/fa.json +9 -0
- package/locales/routines/fi.json +9 -0
- package/locales/routines/fr-CA.json +9 -0
- package/locales/routines/fr.json +9 -0
- package/locales/routines/ha.json +9 -0
- package/locales/routines/he.json +9 -0
- package/locales/routines/hi.json +9 -0
- package/locales/routines/hr.json +9 -0
- package/locales/routines/hu.json +9 -0
- package/locales/routines/id.json +9 -0
- package/locales/routines/it.json +9 -0
- package/locales/routines/ja.json +9 -0
- package/locales/routines/ko.json +9 -0
- package/locales/routines/mr.json +9 -0
- package/locales/routines/ms.json +9 -0
- package/locales/routines/nl.json +9 -0
- package/locales/routines/pl.json +9 -0
- package/locales/routines/pt.json +9 -0
- package/locales/routines/ro.json +9 -0
- package/locales/routines/ru.json +9 -0
- package/locales/routines/sk.json +9 -0
- package/locales/routines/sv.json +9 -0
- package/locales/routines/sw.json +9 -0
- package/locales/routines/ta.json +9 -0
- package/locales/routines/te.json +9 -0
- package/locales/routines/th.json +9 -0
- package/locales/routines/tl.json +9 -0
- package/locales/routines/tr.json +9 -0
- package/locales/routines/uk.json +9 -0
- package/locales/routines/ur.json +9 -0
- package/locales/routines/vi.json +9 -0
- package/locales/routines/yo.json +9 -0
- package/locales/routines/zh-Hans.json +9 -0
- package/locales/routines/zh-Hant.json +9 -0
- package/locales/ru.json +21 -3
- package/locales/scores/am.json +5 -1
- package/locales/scores/ar.json +5 -1
- package/locales/scores/bg.json +5 -1
- package/locales/scores/bn.json +5 -1
- package/locales/scores/br.json +5 -1
- package/locales/scores/co.json +5 -1
- package/locales/scores/cs.json +5 -1
- package/locales/scores/da.json +5 -1
- package/locales/scores/de.json +5 -1
- package/locales/scores/el.json +5 -1
- package/locales/scores/en.json +5 -1
- package/locales/scores/es.json +5 -1
- package/locales/scores/fa.json +5 -1
- package/locales/scores/fi.json +5 -1
- package/locales/scores/fr-CA.json +5 -1
- package/locales/scores/fr.json +5 -1
- package/locales/scores/ha.json +5 -1
- package/locales/scores/he.json +5 -1
- package/locales/scores/hi.json +5 -1
- package/locales/scores/hr.json +5 -1
- package/locales/scores/hu.json +5 -1
- package/locales/scores/id.json +5 -1
- package/locales/scores/it.json +5 -1
- package/locales/scores/ja.json +5 -1
- package/locales/scores/ko.json +5 -1
- package/locales/scores/mr.json +5 -1
- package/locales/scores/ms.json +5 -1
- package/locales/scores/nl.json +5 -1
- package/locales/scores/pl.json +5 -1
- package/locales/scores/pt.json +5 -1
- package/locales/scores/ro.json +5 -1
- package/locales/scores/ru.json +5 -1
- package/locales/scores/sk.json +5 -1
- package/locales/scores/sv.json +5 -1
- package/locales/scores/sw.json +5 -1
- package/locales/scores/ta.json +5 -1
- package/locales/scores/te.json +5 -1
- package/locales/scores/th.json +5 -1
- package/locales/scores/tl.json +5 -1
- package/locales/scores/tr.json +5 -1
- package/locales/scores/uk.json +5 -1
- package/locales/scores/ur.json +5 -1
- package/locales/scores/vi.json +5 -1
- package/locales/scores/yo.json +5 -1
- package/locales/scores/zh-Hans.json +5 -1
- package/locales/scores/zh-Hant.json +5 -1
- package/locales/search/am.json +10 -1
- package/locales/search/ar.json +10 -1
- package/locales/search/bg.json +10 -1
- package/locales/search/bn.json +10 -1
- package/locales/search/br.json +10 -1
- package/locales/search/co.json +10 -1
- package/locales/search/cs.json +10 -1
- package/locales/search/da.json +10 -1
- package/locales/search/de.json +10 -1
- package/locales/search/el.json +10 -1
- package/locales/search/en.json +10 -1
- package/locales/search/es.json +10 -1
- package/locales/search/fa.json +10 -1
- package/locales/search/fi.json +10 -1
- package/locales/search/fr-CA.json +10 -1
- package/locales/search/fr.json +10 -1
- package/locales/search/ha.json +10 -1
- package/locales/search/he.json +10 -1
- package/locales/search/hi.json +10 -1
- package/locales/search/hr.json +10 -1
- package/locales/search/hu.json +10 -1
- package/locales/search/id.json +10 -1
- package/locales/search/it.json +10 -1
- package/locales/search/ja.json +10 -1
- package/locales/search/ko.json +10 -1
- package/locales/search/mr.json +10 -1
- package/locales/search/ms.json +10 -1
- package/locales/search/nl.json +10 -1
- package/locales/search/pl.json +10 -1
- package/locales/search/pt.json +10 -1
- package/locales/search/ro.json +10 -1
- package/locales/search/ru.json +10 -1
- package/locales/search/sk.json +10 -1
- package/locales/search/sv.json +10 -1
- package/locales/search/sw.json +10 -1
- package/locales/search/ta.json +10 -1
- package/locales/search/te.json +10 -1
- package/locales/search/th.json +10 -1
- package/locales/search/tl.json +10 -1
- package/locales/search/tr.json +10 -1
- package/locales/search/uk.json +10 -1
- package/locales/search/ur.json +10 -1
- package/locales/search/vi.json +10 -1
- package/locales/search/yo.json +10 -1
- package/locales/search/zh-Hans.json +10 -1
- package/locales/search/zh-Hant.json +10 -1
- package/locales/signin/am.json +3 -1
- package/locales/signin/ar.json +3 -1
- package/locales/signin/bg.json +3 -1
- package/locales/signin/bn.json +3 -1
- package/locales/signin/br.json +3 -1
- package/locales/signin/co.json +3 -1
- package/locales/signin/cs.json +3 -1
- package/locales/signin/da.json +3 -1
- package/locales/signin/de.json +3 -1
- package/locales/signin/el.json +3 -1
- package/locales/signin/en.json +3 -1
- package/locales/signin/es.json +3 -1
- package/locales/signin/fa.json +3 -1
- package/locales/signin/fi.json +3 -1
- package/locales/signin/fr-CA.json +3 -1
- package/locales/signin/fr.json +3 -1
- package/locales/signin/ha.json +3 -1
- package/locales/signin/he.json +3 -1
- package/locales/signin/hi.json +3 -1
- package/locales/signin/hr.json +3 -1
- package/locales/signin/hu.json +3 -1
- package/locales/signin/id.json +3 -1
- package/locales/signin/it.json +3 -1
- package/locales/signin/ja.json +3 -1
- package/locales/signin/ko.json +3 -1
- package/locales/signin/mr.json +3 -1
- package/locales/signin/ms.json +3 -1
- package/locales/signin/nl.json +3 -1
- package/locales/signin/pl.json +3 -1
- package/locales/signin/pt.json +3 -1
- package/locales/signin/ro.json +3 -1
- package/locales/signin/ru.json +3 -1
- package/locales/signin/sk.json +3 -1
- package/locales/signin/sv.json +3 -1
- package/locales/signin/sw.json +3 -1
- package/locales/signin/ta.json +3 -1
- package/locales/signin/te.json +3 -1
- package/locales/signin/th.json +3 -1
- package/locales/signin/tl.json +3 -1
- package/locales/signin/tr.json +3 -1
- package/locales/signin/uk.json +3 -1
- package/locales/signin/ur.json +3 -1
- package/locales/signin/vi.json +3 -1
- package/locales/signin/yo.json +3 -1
- package/locales/signin/zh-Hans.json +3 -1
- package/locales/signin/zh-Hant.json +3 -1
- package/locales/sk.json +21 -3
- package/locales/slides/am.json +16 -11
- package/locales/slides/ar.json +16 -11
- package/locales/slides/bg.json +16 -11
- package/locales/slides/bn.json +16 -11
- package/locales/slides/br.json +16 -11
- package/locales/slides/co.json +16 -11
- package/locales/slides/cs.json +16 -11
- package/locales/slides/da.json +16 -11
- package/locales/slides/de.json +16 -11
- package/locales/slides/el.json +16 -11
- package/locales/slides/en.json +16 -11
- package/locales/slides/es.json +16 -11
- package/locales/slides/fa.json +16 -11
- package/locales/slides/fi.json +16 -11
- package/locales/slides/fr-CA.json +16 -11
- package/locales/slides/fr.json +16 -11
- package/locales/slides/ha.json +16 -11
- package/locales/slides/he.json +16 -11
- package/locales/slides/hi.json +16 -11
- package/locales/slides/hr.json +16 -11
- package/locales/slides/hu.json +16 -11
- package/locales/slides/id.json +16 -11
- package/locales/slides/it.json +16 -11
- package/locales/slides/ja.json +16 -11
- package/locales/slides/ko.json +16 -11
- package/locales/slides/mr.json +16 -11
- package/locales/slides/ms.json +16 -11
- package/locales/slides/nl.json +16 -11
- package/locales/slides/pl.json +16 -11
- package/locales/slides/pt.json +16 -11
- package/locales/slides/ro.json +16 -11
- package/locales/slides/ru.json +16 -11
- package/locales/slides/sk.json +16 -11
- package/locales/slides/sv.json +16 -11
- package/locales/slides/sw.json +16 -11
- package/locales/slides/ta.json +16 -11
- package/locales/slides/te.json +16 -11
- package/locales/slides/th.json +16 -11
- package/locales/slides/tl.json +16 -11
- package/locales/slides/tr.json +16 -11
- package/locales/slides/uk.json +16 -11
- package/locales/slides/ur.json +16 -11
- package/locales/slides/vi.json +16 -11
- package/locales/slides/yo.json +16 -11
- package/locales/slides/zh-Hans.json +16 -11
- package/locales/slides/zh-Hant.json +16 -11
- package/locales/sv.json +19 -3
- package/locales/sw.json +19 -3
- package/locales/sync/am.json +1 -0
- package/locales/sync/ar.json +1 -0
- package/locales/sync/bg.json +1 -0
- package/locales/sync/bn.json +1 -0
- package/locales/sync/br.json +1 -0
- package/locales/sync/co.json +1 -0
- package/locales/sync/cs.json +1 -0
- package/locales/sync/da.json +1 -0
- package/locales/sync/de.json +1 -0
- package/locales/sync/el.json +1 -0
- package/locales/sync/en.json +1 -0
- package/locales/sync/es.json +1 -0
- package/locales/sync/fa.json +1 -0
- package/locales/sync/fi.json +1 -0
- package/locales/sync/fr-CA.json +1 -0
- package/locales/sync/fr.json +1 -0
- package/locales/sync/ha.json +1 -0
- package/locales/sync/he.json +1 -0
- package/locales/sync/hi.json +1 -0
- package/locales/sync/hr.json +1 -0
- package/locales/sync/hu.json +1 -0
- package/locales/sync/id.json +1 -0
- package/locales/sync/it.json +1 -0
- package/locales/sync/ja.json +1 -0
- package/locales/sync/ko.json +1 -0
- package/locales/sync/mr.json +1 -0
- package/locales/sync/ms.json +1 -0
- package/locales/sync/nl.json +1 -0
- package/locales/sync/pl.json +1 -0
- package/locales/sync/pt.json +1 -0
- package/locales/sync/ro.json +1 -0
- package/locales/sync/ru.json +1 -0
- package/locales/sync/sk.json +1 -0
- package/locales/sync/sv.json +1 -0
- package/locales/sync/sw.json +1 -0
- package/locales/sync/ta.json +1 -0
- package/locales/sync/te.json +1 -0
- package/locales/sync/th.json +1 -0
- package/locales/sync/tl.json +1 -0
- package/locales/sync/tr.json +1 -0
- package/locales/sync/uk.json +1 -0
- package/locales/sync/ur.json +1 -0
- package/locales/sync/vi.json +1 -0
- package/locales/sync/yo.json +1 -0
- package/locales/sync/zh-Hans.json +1 -0
- package/locales/sync/zh-Hant.json +1 -0
- package/locales/ta.json +19 -3
- package/locales/tables/am.json +27 -2
- package/locales/tables/ar.json +35 -2
- package/locales/tables/bg.json +27 -2
- package/locales/tables/bn.json +27 -2
- package/locales/tables/br.json +33 -2
- package/locales/tables/co.json +29 -2
- package/locales/tables/cs.json +33 -4
- package/locales/tables/da.json +27 -2
- package/locales/tables/de.json +27 -2
- package/locales/tables/el.json +27 -2
- package/locales/tables/en.json +27 -2
- package/locales/tables/es.json +29 -2
- package/locales/tables/fa.json +27 -2
- package/locales/tables/fi.json +27 -2
- package/locales/tables/fr-CA.json +29 -2
- package/locales/tables/fr.json +29 -2
- package/locales/tables/ha.json +27 -2
- package/locales/tables/he.json +31 -4
- package/locales/tables/hi.json +27 -2
- package/locales/tables/hr.json +29 -2
- package/locales/tables/hu.json +27 -2
- package/locales/tables/id.json +25 -2
- package/locales/tables/it.json +29 -2
- package/locales/tables/ja.json +25 -2
- package/locales/tables/ko.json +25 -2
- package/locales/tables/mr.json +27 -2
- package/locales/tables/ms.json +25 -2
- package/locales/tables/nl.json +27 -2
- package/locales/tables/pl.json +31 -2
- package/locales/tables/pt.json +29 -2
- package/locales/tables/ro.json +29 -2
- package/locales/tables/ru.json +31 -2
- package/locales/tables/sk.json +33 -4
- package/locales/tables/sv.json +29 -4
- package/locales/tables/sw.json +27 -2
- package/locales/tables/ta.json +27 -2
- package/locales/tables/te.json +29 -4
- package/locales/tables/th.json +25 -2
- package/locales/tables/tl.json +29 -4
- package/locales/tables/tr.json +27 -2
- package/locales/tables/uk.json +31 -2
- package/locales/tables/ur.json +27 -2
- package/locales/tables/vi.json +27 -4
- package/locales/tables/yo.json +27 -4
- package/locales/tables/zh-Hans.json +27 -4
- package/locales/tables/zh-Hant.json +27 -4
- package/locales/te.json +19 -3
- package/locales/th.json +18 -3
- package/locales/tl.json +19 -3
- package/locales/tr.json +19 -3
- package/locales/uk.json +21 -3
- package/locales/ur.json +19 -3
- package/locales/vi.json +18 -3
- package/locales/yo.json +18 -3
- package/locales/zh-Hans.json +18 -3
- package/locales/zh-Hant.json +18 -3
- package/package.json +5 -1
- package/ui/caps.js +9 -4
- package/ui/csp.js +1 -1
- package/ui/export.js +10 -4
- package/ui/icons.js +2 -1
- package/ui/kit.js +44 -10
- package/ui/language.js +172 -0
- package/ui/looks/classic.css +3 -2
- package/ui/looks/human.css +7 -9
- package/ui/looks/mail.css +1 -1
- package/ui/looks/minimal.css +1 -1
- package/ui/looks.js +1 -1
- package/ui/markdown.js +17 -6
- package/ui/model.js +6 -0
- package/ui/reader-state.js +1 -1
- package/ui/review.js +1 -1
- package/ui/save.js +16 -0
- package/ui/seal.js +5 -4
- package/ui/sheet.js +21 -2
- package/ui/style.css +54 -32
- package/ui/touches.js +4 -1
- package/ui/view.css +1 -1
- package/ui/view.js +10 -8
- package/vendor/LICENSES/babylonjs-core.txt +2 -0
- package/vendor/LICENSES/eventemitter3.txt +21 -0
- package/vendor/LICENSES/maplibre-gl.txt +1 -1
- package/vendor/LICENSES/phaser.txt +20 -0
- package/vendor/LICENSES/zzfx.txt +21 -0
- package/vendor/abcjs/abcjs.mjs +2 -2
- package/vendor/babylon/babylon.mjs +8122 -0
- package/vendor/deck/deck.css +2 -2
- package/vendor/deck/deck.mjs +37 -37
- package/vendor/deck/pptx.mjs +1 -1
- package/vendor/maplibre/maplibre-gl-worker.js +3 -3
- package/vendor/maplibre/maplibre-gl.css +1 -1
- package/vendor/maplibre/maplibre-gl.mjs +37 -37
- package/vendor/marked.esm.js +40 -38
- package/vendor/ooxml/abort-JztSoyw2.js +8 -0
- package/vendor/ooxml/{hyperlink-Cxzhet30.js → bounded-raw-part-cache-B8t03tSP.js} +4460 -7080
- package/vendor/ooxml/bundled-asset-url-BMJ8vNHP.js +13 -0
- package/vendor/ooxml/canvas-viewer-mechanics-DI38gHNV.js +653 -0
- package/vendor/ooxml/cfb-guard-BIaHdonq.js +516 -0
- package/vendor/ooxml/{chunk-DmhlhrBa.js → chunk-D5OxutzX.js} +0 -2
- package/vendor/ooxml/comment-overlay-controller-Crm5Syhx.js +974 -0
- package/vendor/ooxml/{comment-ui-runtime-CWGqn5Vr.js → comment-ui-runtime-BfEPgl5r.js} +5 -7
- package/vendor/ooxml/comment-ui-runtime-BtP_TpvT.js +2 -0
- package/vendor/ooxml/{comment-ui-runtime-DcJOYlw-.js → comment-ui-runtime-hfewTmVJ.js} +5 -7
- package/vendor/ooxml/delimited-text-worker-host-RwvuSsP2.js +21 -0
- package/vendor/ooxml/document-model-source-BUTSwkyP.js +247 -0
- package/vendor/ooxml/document-pull-client-C_D779tO.js +36230 -0
- package/vendor/ooxml/docx-BfLZeiwa.js +3509 -0
- package/vendor/ooxml/docx.mjs +7 -7
- package/vendor/ooxml/docx_parser_bg.wasm +0 -0
- package/vendor/ooxml/drawingml-shape-BcXkRayC.js +306 -0
- package/vendor/ooxml/duotone-BI7CoghW.js +122 -0
- package/vendor/ooxml/emf-DgUBx9BU.js +1788 -0
- package/vendor/ooxml/font-preload-demand-B6HPFxDp.js +2052 -0
- package/vendor/ooxml/graph.json +1 -1
- package/vendor/ooxml/grid-geometry-CqTDvpDr.js +379 -0
- package/vendor/ooxml/host-layout-Cz_lCuTZ.js +55 -0
- package/vendor/ooxml/line-distribute-DR9Qwd3u.js +2783 -0
- package/vendor/ooxml/{mathjax-DoyWZbSp.js → mathjax-DvwccQ8e.js} +0 -2
- package/vendor/ooxml/model-source-COXegBNA.js +177 -0
- package/vendor/ooxml/{pixel-budget-9P63Bsk5.js → pixel-budget-DI82Hn3R.js} +13 -12
- package/vendor/ooxml/plot-area-frame-D3JtHvov.js +41645 -0
- package/vendor/ooxml/pptx-CfCiVlNB.js +2888 -0
- package/vendor/ooxml/pptx.mjs +8 -7
- package/vendor/ooxml/pptx_parser_bg.wasm +0 -0
- package/vendor/ooxml/presentation-model-source-DL6duh5l.js +75 -0
- package/vendor/ooxml/raster-target-Ca3tyA0L.js +40 -0
- package/vendor/ooxml/{read-only-comment-decoration-Dz7eTQ4d.js → read-only-comment-decoration-B06YO2zk.js} +0 -4
- package/vendor/ooxml/{read-only-comment-margin-DkgzASAl.js → read-only-comment-margin-Ee9Y6vPg.js} +0 -2
- package/vendor/ooxml/renderer-IFuBkPvF.js +5197 -0
- package/vendor/ooxml/{renderer-module-contract-D91rkYHH.js → renderer-module-contract-BuTx2FWJ.js} +0 -2
- package/vendor/ooxml/renderer-xdugdcMd.js +5769 -0
- package/vendor/ooxml/resource-measurement-D2bu0Qfx.js +756 -0
- package/vendor/ooxml/slide-pull-client-BUuJQQVE.js +6431 -0
- package/vendor/ooxml/three-d-ByHGsYrX.js +868 -0
- package/vendor/ooxml/tiff-contract-DEd8CGuz.js +48 -0
- package/vendor/ooxml/{visible-index-BgiHEc1z.js → visible-index-vN-4BNn7.js} +0 -2
- package/vendor/ooxml/workbook-model-source-DBfVsWj7.js +92 -0
- package/vendor/ooxml/worker-source-C29EQNUj.js +18 -0
- package/vendor/ooxml/worker-source-D3NwPe6l.js +18 -0
- package/vendor/ooxml/worker-source-ZQE9C1j6.js +18 -0
- package/vendor/ooxml/worksheet-pull-client-Du0MuIro.js +565 -0
- package/vendor/ooxml/xlsx-CCMRAxPB.js +5812 -0
- package/vendor/ooxml/xlsx.mjs +8 -7
- package/vendor/ooxml/xlsx_parser_bg.wasm +0 -0
- package/vendor/pele/chunks/2CHDFZHC.js +1 -0
- package/vendor/pele/chunks/{GAP5KXLD.js → 2S3JPEOY.js} +1 -1
- package/vendor/pele/chunks/2U463FD2.js +11 -0
- package/vendor/pele/chunks/3OKCTCH7.js +1 -0
- package/vendor/pele/chunks/42UK3TL6.js +8 -0
- package/vendor/pele/chunks/43YPWK3Q.js +1 -0
- package/vendor/pele/chunks/45MVAN6X.js +1 -0
- package/vendor/pele/chunks/46GJKBLZ.js +1 -0
- package/vendor/pele/chunks/4WR52FRP.js +4 -0
- package/vendor/pele/chunks/63WH7YNF.js +1 -0
- package/vendor/pele/chunks/{2TH3V34D.js → 673H7YBG.js} +1 -1
- package/vendor/pele/chunks/6DDU7VKX.js +1 -0
- package/vendor/pele/chunks/{3MKGV5HX.js → 6Y6FML25.js} +1 -1
- package/vendor/pele/chunks/{4AG6A4TK.js → 7HQPULDG.js} +1 -1
- package/vendor/pele/chunks/7N3VAIG2.js +2 -0
- package/vendor/pele/chunks/{QFOMM5LR.js → 7NY54ILO.js} +1 -1
- package/vendor/pele/chunks/{VHJMZXCQ.js → BJNHMTN6.js} +1 -1
- package/vendor/pele/chunks/{6PEWY3TN.js → BK7N5KMP.js} +1 -1
- package/vendor/pele/chunks/CLQLV5VT.js +1 -0
- package/vendor/pele/chunks/CUSPXG5M.js +1 -0
- package/vendor/pele/chunks/D3L7O4X2.js +1 -0
- package/vendor/pele/chunks/{D4V2MWCI.js → D5TW5CPZ.js} +1 -1
- package/vendor/pele/chunks/DDVFZY3L.js +7 -0
- package/vendor/pele/chunks/{3S2YGJBL.js → DO6ND2WD.js} +5 -5
- package/vendor/pele/chunks/EGADTWYV.js +1 -0
- package/vendor/pele/chunks/EI4VGK5C.js +4 -0
- package/vendor/pele/chunks/EOJSJZXM.js +1 -0
- package/vendor/pele/chunks/F4O23KYR.js +5 -0
- package/vendor/pele/chunks/G2OEIG6X.js +1 -0
- package/vendor/pele/chunks/GER2CN75.js +2 -0
- package/vendor/pele/chunks/{RGVCULFG.js → GP5YUCAR.js} +1 -1
- package/vendor/pele/chunks/GXJ2T77W.js +1 -0
- package/vendor/pele/chunks/HX3UMAK7.js +1 -0
- package/vendor/pele/chunks/IU7WZTP6.js +4 -0
- package/vendor/pele/chunks/J3JF2HV4.js +12 -0
- package/vendor/pele/chunks/J5J2NR2G.js +1 -0
- package/vendor/pele/chunks/JRCWTJEL.js +1 -0
- package/vendor/pele/chunks/{M7II5KMO.js → K2ZHGJKH.js} +1 -1
- package/vendor/pele/chunks/{E3FWOBN4.js → KHUP5TOH.js} +3 -3
- package/vendor/pele/chunks/L74FQTH5.js +1 -0
- package/vendor/pele/chunks/LAV4ZXOS.js +1 -0
- package/vendor/pele/chunks/LBIZYCRR.js +1 -0
- package/vendor/pele/chunks/LFFXNLRS.js +1 -0
- package/vendor/pele/chunks/LJ44NU43.js +3 -0
- package/vendor/pele/chunks/LLLWOAQD.js +1 -0
- package/vendor/pele/chunks/LTY5LMQH.js +5 -0
- package/vendor/pele/chunks/LTYQZ5U5.js +1 -0
- package/vendor/pele/chunks/MJBOF5Q6.js +2 -0
- package/vendor/pele/chunks/NDSCUZ25.js +1 -0
- package/vendor/pele/chunks/NMN3IKWL.js +1 -0
- package/vendor/pele/chunks/NMUA3R2D.js +1 -0
- package/vendor/pele/chunks/NY5A6PPW.js +1 -0
- package/vendor/pele/chunks/O3ACPFEJ.js +8 -0
- package/vendor/pele/chunks/{A6VFOGAO.js → O4MQT6AV.js} +1 -1
- package/vendor/pele/chunks/{DUZNPW7S.js → OHJ2EJXK.js} +1 -1
- package/vendor/pele/chunks/OU2GIT2H.js +1 -0
- package/vendor/pele/chunks/{E65FQMJL.js → PDMLSE6I.js} +1 -1
- package/vendor/pele/chunks/PJ7X32S5.js +1 -0
- package/vendor/pele/chunks/RLLQ44NJ.js +1 -0
- package/vendor/pele/chunks/S6DWMCK5.js +1 -0
- package/vendor/pele/chunks/STIOTUT7.js +1 -0
- package/vendor/pele/chunks/{UO52YEYL.js → SXSLPWUD.js} +1 -1
- package/vendor/pele/chunks/TBJXKAT4.js +3 -0
- package/vendor/pele/chunks/TIVX74RS.js +2 -0
- package/vendor/pele/chunks/{KIF544NL.js → TK23BXEA.js} +1 -1
- package/vendor/pele/chunks/{STAXBNH4.js → TR4WJQGX.js} +1 -1
- package/vendor/pele/chunks/UWRPUF3N.js +1 -0
- package/vendor/pele/chunks/VMTWYMKQ.js +2 -0
- package/vendor/pele/chunks/VSWIZJ7B.js +1 -0
- package/vendor/pele/chunks/{STMK7JZH.js → W2WY5CQX.js} +2 -2
- package/vendor/pele/chunks/W77N5H3K.js +2 -0
- package/vendor/pele/chunks/WM7NR6YK.js +1 -0
- package/vendor/pele/chunks/WSTWNLCU.js +4 -0
- package/vendor/pele/chunks/WXKV2YEK.js +1 -0
- package/vendor/pele/chunks/XQ5S3AI3.js +13 -0
- package/vendor/pele/chunks/YNX532HU.js +1 -0
- package/vendor/pele/chunks/{DHKBVIA3.js → YUPSMAUO.js} +1 -1
- package/vendor/pele/chunks/{IHVFDU4A.js → YWXUFHC7.js} +7 -7
- package/vendor/pele/chunks/Z3ZRV7NH.js +2 -0
- package/vendor/pele/chunks/ZFRCZTLK.js +1 -0
- package/vendor/pele/chunks/ZZDR4CN3.js +1 -0
- package/vendor/pele/lazy.js +1 -1
- package/vendor/phaser/phaser.mjs +1 -0
- package/vendor/signals-core.mjs +1 -1
- package/vendor/spessasynth/fflate.mjs +1 -0
- package/vendor/spessasynth/spessasynth.mjs +37033 -15099
- package/vendor/temml/temml.mjs +1 -1
- package/vendor/zzfx/zzfx.mjs +1 -0
- package/ui/acts.js +0 -12
- package/vendor/ooxml/bounded-raw-part-cache-Cg1BsSZQ.js +0 -119
- package/vendor/ooxml/canvas-viewer-mechanics-DbLz0rYW.js +0 -1384
- package/vendor/ooxml/cjk-fallback-bLI3z70h.js +0 -46
- package/vendor/ooxml/comment-occurrence-C8Y2uoVr.js +0 -6
- package/vendor/ooxml/comment-ui-runtime-BsK8pmUT.js +0 -2
- package/vendor/ooxml/comments-Diid5ujN.js +0 -246
- package/vendor/ooxml/delimited-text-worker-host-BVY-Ecni.js +0 -25
- package/vendor/ooxml/document-pull-client-B9PTM-pL.js +0 -27280
- package/vendor/ooxml/docx-BF9WXrYH.js +0 -3101
- package/vendor/ooxml/dom-interaction-boundary-Cnm8DSBN.js +0 -223
- package/vendor/ooxml/highlight-rect-C5hkRqUr.js +0 -13
- package/vendor/ooxml/line-distribute-D1WNHKz_.js +0 -1023
- package/vendor/ooxml/line-metrics-B60C86uh.js +0 -60
- package/vendor/ooxml/plot-area-frame-DLTYKHNP.js +0 -4354
- package/vendor/ooxml/pptx-DkyYBYoL.js +0 -3063
- package/vendor/ooxml/raster-target-ojDdQizC.js +0 -91
- package/vendor/ooxml/renderer-B4GZb5We.js +0 -6492
- package/vendor/ooxml/resource-measurement-SHQCbkh2.js +0 -150
- package/vendor/ooxml/slide-pull-client-DiPnm240.js +0 -6253
- package/vendor/ooxml/source-key-DIJG8BA0.js +0 -42
- package/vendor/ooxml/three-d-DJBl8g8M.js +0 -1162
- package/vendor/ooxml/transfer-p6iCC2R7.js +0 -6
- package/vendor/ooxml/units-BzZ0gAxs.js +0 -4
- package/vendor/ooxml/worksheet-pull-client-BM8ywvbu.js +0 -458
- package/vendor/ooxml/xlsx-C9NVjgaV.js +0 -8482
- package/vendor/pele/chunks/23I4SOAX.js +0 -1
- package/vendor/pele/chunks/25ITEZ43.js +0 -2
- package/vendor/pele/chunks/26H2HVXD.js +0 -1
- package/vendor/pele/chunks/2IZ5MNOH.js +0 -1
- package/vendor/pele/chunks/2P3CZEXH.js +0 -1
- package/vendor/pele/chunks/3E5HRNYT.js +0 -1
- package/vendor/pele/chunks/3JIRLDUO.js +0 -1
- package/vendor/pele/chunks/5MJ3UKSG.js +0 -1
- package/vendor/pele/chunks/63N73SV4.js +0 -1
- package/vendor/pele/chunks/A255FCTW.js +0 -1
- package/vendor/pele/chunks/AM43MQ64.js +0 -1
- package/vendor/pele/chunks/AOZTNTMC.js +0 -1
- package/vendor/pele/chunks/AQNLM6KG.js +0 -1
- package/vendor/pele/chunks/BNU2RHQB.js +0 -1
- package/vendor/pele/chunks/C5HTQT3I.js +0 -4
- package/vendor/pele/chunks/CPKRWH5G.js +0 -1
- package/vendor/pele/chunks/CPRVZL76.js +0 -11
- package/vendor/pele/chunks/CUVCMPQX.js +0 -1
- package/vendor/pele/chunks/D6K5RLPD.js +0 -5
- package/vendor/pele/chunks/EENBF6R3.js +0 -5
- package/vendor/pele/chunks/G3OATVW2.js +0 -1
- package/vendor/pele/chunks/GFBBR3DD.js +0 -13
- package/vendor/pele/chunks/IV52FOAS.js +0 -1
- package/vendor/pele/chunks/JTJEEBDN.js +0 -1
- package/vendor/pele/chunks/JX3HYMZ6.js +0 -8
- package/vendor/pele/chunks/K3TAFXGN.js +0 -3
- package/vendor/pele/chunks/K7FUICZ3.js +0 -1
- package/vendor/pele/chunks/LHH2HHRB.js +0 -1
- package/vendor/pele/chunks/LT5IS45C.js +0 -2
- package/vendor/pele/chunks/MSPQPZZY.js +0 -1
- package/vendor/pele/chunks/NY2EJWPH.js +0 -2
- package/vendor/pele/chunks/OB6ZFVKF.js +0 -1
- package/vendor/pele/chunks/OJBDHQO2.js +0 -4
- package/vendor/pele/chunks/PLTZDMI2.js +0 -1
- package/vendor/pele/chunks/R7EPXMMD.js +0 -1
- package/vendor/pele/chunks/S4GSSVLN.js +0 -3
- package/vendor/pele/chunks/SPBWZ4VS.js +0 -1
- package/vendor/pele/chunks/SR7OOV3Q.js +0 -1
- package/vendor/pele/chunks/STXEMZPJ.js +0 -2
- package/vendor/pele/chunks/SXFARSFO.js +0 -1
- package/vendor/pele/chunks/TC77ISAL.js +0 -1
- package/vendor/pele/chunks/TXE3YXUM.js +0 -2
- package/vendor/pele/chunks/TYIQQHVC.js +0 -1
- package/vendor/pele/chunks/TZUXETIT.js +0 -1
- package/vendor/pele/chunks/U7N72BGE.js +0 -1
- package/vendor/pele/chunks/UFPIB6EZ.js +0 -1
- package/vendor/pele/chunks/V52Z4AG3.js +0 -4
- package/vendor/pele/chunks/VBDLARNP.js +0 -4
- package/vendor/pele/chunks/VIK3ONSK.js +0 -1
- package/vendor/pele/chunks/VPGC3RUM.js +0 -7
- package/vendor/pele/chunks/VVVO4ZVP.js +0 -1
- package/vendor/pele/chunks/WRGXZO53.js +0 -1
- package/vendor/pele/chunks/X5SG7MGC.js +0 -1
- package/vendor/pele/chunks/XXYPNCD5.js +0 -1
- package/vendor/pele/chunks/XZO3CX7R.js +0 -12
- package/vendor/pele/chunks/YZBJM2QT.js +0 -2
- package/vendor/pele/chunks/YZHV477W.js +0 -2
- package/vendor/pele/chunks/Z6WRYFJC.js +0 -1
- package/vendor/pele/chunks/ZI2QNEGF.js +0 -8
|
@@ -0,0 +1,756 @@
|
|
|
1
|
+
import { _o as e } from "ooxml/plot-area-frame-D3JtHvov.js";
|
|
2
|
+
import { C as t, Qt as n, b as r, g as i, h as a, on as o, sn as s, tn as c, w as l, x as u } from "ooxml/bounded-raw-part-cache-B8t03tSP.js";
|
|
3
|
+
function d(e, t, n, r, i, a = 0) {
|
|
4
|
+
let o = e.map((e) => e.width), s = (t) => {
|
|
5
|
+
let n = 0;
|
|
6
|
+
for (let r = t; r < e.length && !e[r].isTab; r++) n += o[r];
|
|
7
|
+
return n;
|
|
8
|
+
}, c = n;
|
|
9
|
+
for (let n = 0; n < e.length; n++) {
|
|
10
|
+
if (!e[n].isTab) {
|
|
11
|
+
c += o[n];
|
|
12
|
+
continue;
|
|
13
|
+
}
|
|
14
|
+
let l = null;
|
|
15
|
+
for (let e of t) e.pos > c && (l === null || e.pos < l.pos) && (l = e);
|
|
16
|
+
if (l === null) if (a > 0) l = {
|
|
17
|
+
pos: (Math.floor(c / a) + 1) * a,
|
|
18
|
+
algn: "l"
|
|
19
|
+
};
|
|
20
|
+
else {
|
|
21
|
+
o[n] = i, c += i;
|
|
22
|
+
continue;
|
|
23
|
+
}
|
|
24
|
+
let u = s(n + 1), d = l.algn === "ctr" ? .5 : +(l.algn === "r" || l.algn === "dec"), f = l.pos - u * d;
|
|
25
|
+
f + u > r && (f = r - u), f < c && (f = c), o[n] = f - c, c = f;
|
|
26
|
+
}
|
|
27
|
+
return o;
|
|
28
|
+
}
|
|
29
|
+
var f = /^\p{Script_Extensions=Latin}$/u, p = (e) => e.type === "text" && e.text === " ", m = (e) => e.type === "text" && s(e.text.codePointAt(0) ?? 0);
|
|
30
|
+
function h(e, i) {
|
|
31
|
+
let a = i.sameStyle ?? ((e, t) => e === t), s = [[]], h = [], g = [-1], _ = [], v = 0;
|
|
32
|
+
for (let t of e) {
|
|
33
|
+
if (h.push(s.length - 1), t.type === "break") {
|
|
34
|
+
_[s.length - 1] = v, s.push([]), g.push(-1), v++;
|
|
35
|
+
continue;
|
|
36
|
+
}
|
|
37
|
+
if (t.type === "object") {
|
|
38
|
+
t.display && s.at(-1).length > 0 && (s.push([]), g.push(-1)), s.at(-1).push({
|
|
39
|
+
type: "object",
|
|
40
|
+
style: t.style,
|
|
41
|
+
run: v,
|
|
42
|
+
width: t.width,
|
|
43
|
+
payload: t.payload
|
|
44
|
+
}), t.display && (s.push([]), g.push(-1)), v++;
|
|
45
|
+
continue;
|
|
46
|
+
}
|
|
47
|
+
let e = [
|
|
48
|
+
0,
|
|
49
|
+
...c(t.text),
|
|
50
|
+
t.text.length
|
|
51
|
+
];
|
|
52
|
+
for (let n = 0; n + 1 < e.length; n++) {
|
|
53
|
+
let r = t.text.slice(e[n], e[n + 1]);
|
|
54
|
+
r === "\n" ? (s.push([]), g.push(v)) : r === " " ? s.at(-1).push({
|
|
55
|
+
type: "tab",
|
|
56
|
+
style: t.style,
|
|
57
|
+
run: v
|
|
58
|
+
}) : r !== "\r" && s.at(-1).push({
|
|
59
|
+
type: "text",
|
|
60
|
+
text: r,
|
|
61
|
+
style: t.style,
|
|
62
|
+
run: v
|
|
63
|
+
});
|
|
64
|
+
}
|
|
65
|
+
v++;
|
|
66
|
+
}
|
|
67
|
+
let y = [], b = [], x = [], S = new Uint8Array(e.length);
|
|
68
|
+
for (let e = 0; e < s.length; e++) {
|
|
69
|
+
let c = s[e];
|
|
70
|
+
if (b.push(y.length), e === s.length - 1) for (; c.length > 0 && p(c.at(-1));) c.pop();
|
|
71
|
+
let h = c.length, v = /* @__PURE__ */ new Set();
|
|
72
|
+
if (c.some((e) => e.type === "text" && n(e.text))) {
|
|
73
|
+
let e = "", t = [0];
|
|
74
|
+
for (let n of c) e += n.type === "text" ? n.text : "", t.push(e.length);
|
|
75
|
+
let n = new Set(o(e, { cjk: !0 }));
|
|
76
|
+
for (let e = 1; e < t.length; e++) n.has(t[e]) && v.add(e);
|
|
77
|
+
}
|
|
78
|
+
let C = i.eastAsianLineBreak !== !1, w = (e) => e === 160 || e === 8239 || e === 8288 || e === 65279, T = (e) => {
|
|
79
|
+
if (e <= 0 || e >= h) return !1;
|
|
80
|
+
let t = c[e - 1], n = c[e];
|
|
81
|
+
if (n.type === "tab") return !0;
|
|
82
|
+
if (t.type === "tab") return !1;
|
|
83
|
+
if (p(t) || p(n) || v.has(e) || t.type === "object" || n.type === "object") return !0;
|
|
84
|
+
let i = [...t.text].at(-1)?.codePointAt(0), a = n.text.codePointAt(0);
|
|
85
|
+
if (i === void 0 || a === void 0) return !1;
|
|
86
|
+
if (i === 8203 || !C && (m(t) || m(n)) && !w(i) && !w(a)) return !0;
|
|
87
|
+
if (r(i, a)) return !1;
|
|
88
|
+
if (m(t) || m(n)) return !0;
|
|
89
|
+
if (e > 1 && (u(i) === "HY" || u(i) === "HH")) {
|
|
90
|
+
let t = c[e - 2];
|
|
91
|
+
if (t.type === "text" && f.test([...t.text].at(-1) ?? "") && f.test([...n.text][0] ?? "")) return !0;
|
|
92
|
+
}
|
|
93
|
+
return !1;
|
|
94
|
+
}, E = new Uint8Array(h + 1);
|
|
95
|
+
for (let e = 1; e < h; e++) E[e] = +!!T(e);
|
|
96
|
+
let D = c[0]?.style, O = h > 0 && c.every((e) => e.type === "text" && a(D, e.style)) ? c.map((e) => e.type === "text" ? e.text : "").join("") : null, k = O === null ? null : new Int32Array(h + 1);
|
|
97
|
+
if (k) for (let e = 0; e < h; e++) {
|
|
98
|
+
let t = c[e];
|
|
99
|
+
k[e + 1] = k[e] + (t.type === "text" ? t.text.length : 0);
|
|
100
|
+
}
|
|
101
|
+
let A = null, j = 0, M = (e) => {
|
|
102
|
+
let t = c[e], n = c[e + 1];
|
|
103
|
+
if (t?.type !== "tab" || !i.tabStops?.length || n?.type !== "text" || !/^[\p{Script_Extensions=Latin}\p{Number}]$/u.test(n.text)) return !1;
|
|
104
|
+
if (A === null) {
|
|
105
|
+
j = $, A = new Uint8Array(h - j + 1), A[h - j] = 1;
|
|
106
|
+
for (let e = h - 1; e >= j; e--) {
|
|
107
|
+
let t = c[e], n = e - j;
|
|
108
|
+
A[n] = A[n + 1] && t.type === "text" && !p(t) && !m(t) ? 1 : 0;
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
return A[e + 1 - j] === 1;
|
|
112
|
+
}, N = null, P = 0, F = () => {
|
|
113
|
+
if (N === null) {
|
|
114
|
+
P = $;
|
|
115
|
+
let e = [], t = new Int32Array(h - P + 1);
|
|
116
|
+
for (let n = P; n < h; n++) {
|
|
117
|
+
let r = c[n];
|
|
118
|
+
if (r.type === "text") for (let t of r.text) e.push(t);
|
|
119
|
+
t[n + 1 - P] = e.length;
|
|
120
|
+
}
|
|
121
|
+
N = {
|
|
122
|
+
chars: e,
|
|
123
|
+
offsets: t
|
|
124
|
+
};
|
|
125
|
+
}
|
|
126
|
+
return N;
|
|
127
|
+
}, I = (e, t) => e.type === "text" && t.type === "text" && i.kinsokuAcrossRuns?.(e.style, t.style, e.text, t.text) === !0, L = null, R = 0, z = (e) => {
|
|
128
|
+
if (L === null) {
|
|
129
|
+
R = $, L = new Int32Array(h - $ + 1);
|
|
130
|
+
let e = $ + 1;
|
|
131
|
+
for (let t = $ + 1; t < h; t++) {
|
|
132
|
+
let n = c[t - 1], r = c[t];
|
|
133
|
+
(n.type !== "text" || r.type !== "text" || n.run !== r.run && !I(n, r)) && (e = t), L[t - R] = e;
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
return Math.max($ + 1, L[e - R]);
|
|
137
|
+
}, B = (e, t) => {
|
|
138
|
+
if (t.type === "text") {
|
|
139
|
+
let n = e.at(-1);
|
|
140
|
+
if (n?.type === "text" && a(n.style, t.style)) {
|
|
141
|
+
n.text += t.text;
|
|
142
|
+
return;
|
|
143
|
+
}
|
|
144
|
+
e.push({
|
|
145
|
+
type: "text",
|
|
146
|
+
text: t.text,
|
|
147
|
+
style: t.style,
|
|
148
|
+
width: 0
|
|
149
|
+
});
|
|
150
|
+
} else t.type === "tab" ? e.push({
|
|
151
|
+
type: "tab",
|
|
152
|
+
style: t.style,
|
|
153
|
+
width: 0
|
|
154
|
+
}) : e.push({
|
|
155
|
+
type: "object",
|
|
156
|
+
style: t.style,
|
|
157
|
+
width: t.width,
|
|
158
|
+
payload: t.payload
|
|
159
|
+
});
|
|
160
|
+
}, V = (e, t) => {
|
|
161
|
+
let n = 0, r = e.map((t, r) => {
|
|
162
|
+
if (t.type === "text") {
|
|
163
|
+
t.width = i.measureText(t.text, t.style);
|
|
164
|
+
let n = e[r - 1];
|
|
165
|
+
n?.type === "text" && (t.width += i.boundaryAdvance?.(n.style, t.style) ?? 0);
|
|
166
|
+
}
|
|
167
|
+
return t.type === "tab" && (t.width = 0, n = i.measureText(" ", t.style)), {
|
|
168
|
+
isTab: t.type === "tab",
|
|
169
|
+
width: t.width
|
|
170
|
+
};
|
|
171
|
+
});
|
|
172
|
+
if (r.some((e) => e.isTab)) {
|
|
173
|
+
let a = d(r, i.tabStops ?? [], i.tabStartPen?.(t) ?? (t === 0 ? i.firstLineIndent ?? 0 : 0), Infinity, n, i.defaultTabSize ?? 0);
|
|
174
|
+
for (let t = 0; t < e.length; t++) e[t].width = a[t];
|
|
175
|
+
}
|
|
176
|
+
return e.reduce((e, t) => e + t.width, 0);
|
|
177
|
+
}, H = (e, t, n) => {
|
|
178
|
+
if (O !== null && k && D !== void 0) {
|
|
179
|
+
let n = O.slice(k[e], k[t]), r = i.measureText(n, D);
|
|
180
|
+
return {
|
|
181
|
+
segments: [{
|
|
182
|
+
type: "text",
|
|
183
|
+
text: n,
|
|
184
|
+
style: D,
|
|
185
|
+
width: r
|
|
186
|
+
}],
|
|
187
|
+
width: r
|
|
188
|
+
};
|
|
189
|
+
}
|
|
190
|
+
let r = [];
|
|
191
|
+
for (let n = e; n < t; n++) B(r, c[n]);
|
|
192
|
+
return {
|
|
193
|
+
segments: r,
|
|
194
|
+
width: V(r, n)
|
|
195
|
+
};
|
|
196
|
+
}, U = null, W = (e, t) => {
|
|
197
|
+
let n = "";
|
|
198
|
+
for (let r = e; r < t; r++) {
|
|
199
|
+
let e = c[r];
|
|
200
|
+
e.type === "text" && (n += e.text);
|
|
201
|
+
}
|
|
202
|
+
return n;
|
|
203
|
+
}, G = (e) => {
|
|
204
|
+
let t = new Float64Array(Math.ceil(e.length / 32)).fill(Infinity);
|
|
205
|
+
for (let n = 0; n < e.length; n++) {
|
|
206
|
+
let r = Math.floor(n / 32);
|
|
207
|
+
e[n] < t[r] && (t[r] = e[n]);
|
|
208
|
+
}
|
|
209
|
+
return t;
|
|
210
|
+
}, K = () => {
|
|
211
|
+
let e = new Int32Array(h).fill(-1), t = new Int32Array(h).fill(-1), n = new Float64Array(h).fill(NaN), r = new Float64Array(h), o = new Float64Array(h + 1), s = new Float64Array(h + 1), l = new Int32Array(h + 1), u = -1, d, f = null, p = 0, m = 0, g = (e) => {
|
|
212
|
+
for (let n = u; u >= 0 && n < e; n++) t[n] = e;
|
|
213
|
+
};
|
|
214
|
+
for (let t = 0; t < h; t++) {
|
|
215
|
+
let h = c[t];
|
|
216
|
+
if (l[t + 1] = l[t] + +(h.type === "tab"), h.type === "text" && u >= 0 && a(d, h.style) || (g(t), p = s[t], h.type === "text" ? (f = u >= 0 ? i.boundaryAdvance?.(d, h.style) ?? 0 : null, u = t, d = h.style) : (u = -1, d = void 0)), h.type === "text") {
|
|
217
|
+
let a = d;
|
|
218
|
+
if (e[t] = u, t - u <= 8) m = i.measureText(W(u, t + 1), a), n[t] = m;
|
|
219
|
+
else {
|
|
220
|
+
let e = W(t - 8, t);
|
|
221
|
+
r[t] = i.measureText(e + h.text, a) - i.measureText(e, a), m += r[t];
|
|
222
|
+
}
|
|
223
|
+
s[t + 1] = p + (f === null ? m : m + f);
|
|
224
|
+
} else s[t + 1] = p + (h.type === "object" ? h.width : 0);
|
|
225
|
+
o[t + 1] = o[t] + r[t];
|
|
226
|
+
}
|
|
227
|
+
g(h);
|
|
228
|
+
let _ = new Float64Array(h + 1);
|
|
229
|
+
_[h] = s[h];
|
|
230
|
+
for (let e = h - 1; e >= 0; e--) _[e] = Math.min(s[e], _[e + 1]);
|
|
231
|
+
let v = new Float64Array(h + 1).fill(Infinity);
|
|
232
|
+
for (let e = h; e >= 1; e--) c[e - 1].type === "text" && (v[e] = e === t[e - 1] ? o[e] : Math.min(o[e], v[e + 1]));
|
|
233
|
+
let y = new Int32Array(h), b = [];
|
|
234
|
+
for (let e = 0; e < h; e++) {
|
|
235
|
+
let t = c[e];
|
|
236
|
+
if (t.type !== "tab" || (i.defaultTabSize ?? 0) > 0) continue;
|
|
237
|
+
let n = i.measureText(" ", t.style), r = b.indexOf(n);
|
|
238
|
+
r < 0 && (r = b.push(n) - 1), y[e] = r;
|
|
239
|
+
}
|
|
240
|
+
return b.length === 0 && b.push(0), {
|
|
241
|
+
segStart: e,
|
|
242
|
+
segEnd: t,
|
|
243
|
+
head: n,
|
|
244
|
+
tail: r,
|
|
245
|
+
tailSum: o,
|
|
246
|
+
tailBlockMin: G(o),
|
|
247
|
+
natural: s,
|
|
248
|
+
naturalBlockMin: G(s),
|
|
249
|
+
naturalSuffixMin: _,
|
|
250
|
+
tailSuffixMin: v,
|
|
251
|
+
tabsBefore: l,
|
|
252
|
+
tabGap: y,
|
|
253
|
+
gapValues: b
|
|
254
|
+
};
|
|
255
|
+
}, q = (e, t, n, r, i, a) => {
|
|
256
|
+
let o = i;
|
|
257
|
+
for (; o > r;) {
|
|
258
|
+
let i = Math.floor(o / 32) * 32;
|
|
259
|
+
if (i > r && n + t[i / 32] > a) {
|
|
260
|
+
o = i - 1;
|
|
261
|
+
continue;
|
|
262
|
+
}
|
|
263
|
+
if (n + e[o] <= a) return o;
|
|
264
|
+
o--;
|
|
265
|
+
}
|
|
266
|
+
return -1;
|
|
267
|
+
}, J = /* @__PURE__ */ new Map(), Y = (e, t, n) => {
|
|
268
|
+
if (t === e.segStart[t]) {
|
|
269
|
+
let r = Math.min(n, t + 8 + 1) - 1;
|
|
270
|
+
return e.head[r] + (e.tailSum[n] - e.tailSum[r + 1]);
|
|
271
|
+
}
|
|
272
|
+
let r = Math.min(n, t + 8 + 1), a = J.get(r);
|
|
273
|
+
return a === void 0 && (a = i.measureText(W(t, r), c[t].style), J.set(r, a)), a + (e.tailSum[n] - e.tailSum[r]);
|
|
274
|
+
}, ee = (e, t, n) => {
|
|
275
|
+
let r = U ??= K();
|
|
276
|
+
if (J.clear(), r.tabsBefore[h] !== r.tabsBefore[e]) return te(r, e, t, n);
|
|
277
|
+
let a = c[e], o = a.type === "text" ? r.segEnd[e] : e + 1, s = a.type === "text" ? Y(r, e, o) : a.type === "object" ? a.width : 0;
|
|
278
|
+
if (o < h) {
|
|
279
|
+
let t = c[o], l = a.type === "text" && t.type === "text" && i.boundaryAdvance ? i.boundaryAdvance(a.style, t.style) - i.boundaryAdvance(c[r.segStart[e]].style, t.style) : 0, u = q(r.natural, r.naturalBlockMin, s + l - r.natural[o], o, h, n);
|
|
280
|
+
if (u >= 0) return u;
|
|
281
|
+
}
|
|
282
|
+
if (s <= n) return o;
|
|
283
|
+
if (a.type !== "text") return e;
|
|
284
|
+
let l = e + 8 + 1;
|
|
285
|
+
if (o - 1 > l) {
|
|
286
|
+
let t = Y(r, e, l) - r.tailSum[l], i = q(r.tailSum, r.tailBlockMin, t, l, o - 1, n);
|
|
287
|
+
if (i >= 0) return i;
|
|
288
|
+
}
|
|
289
|
+
for (let t = Math.min(o - 1, l); t > e; t--) if (Y(r, e, t) <= n) return t;
|
|
290
|
+
return e;
|
|
291
|
+
}, te = (e, t, n, r) => {
|
|
292
|
+
let a = i.tabStartPen?.(n) ?? (n === 0 ? i.firstLineIndent ?? 0 : 0), o = i.tabStops ?? [], s = i.defaultTabSize ?? 0, l = e.gapValues, u = l.length, d = new Float64Array(u), f = new Float64Array(u).fill(a), p = new Float64Array(u), m = new Float64Array(u), g = new Float64Array(u), _ = new Uint8Array(u), v = new Float64Array(u), y = !1, b = 0, x = 0, S = !1, C = c[t], w = C.type === "text" ? e.segEnd[t] : t + 1, T = C.type === "text" ? Y(e, t, w) : C.type === "object" ? C.width : 0, E = c[w], D = T + (w < h && C.type === "text" && E.type === "text" && i.boundaryAdvance ? i.boundaryAdvance(C.style, E.style) - i.boundaryAdvance(c[e.segStart[t]].style, E.style) : 0) - e.natural[w], O = t + 8 + 1, k = C.type === "text" && w > O ? Y(e, t, O) - e.tailSum[O] : 0, A = l.every((e) => e >= 0), j = 1e-9 * Math.max(1, Math.abs(r)), M = (t) => {
|
|
293
|
+
if (!A || t < O && t < w) return !1;
|
|
294
|
+
let n = Infinity;
|
|
295
|
+
return t < w && (n = k + e.tailSuffixMin[t + 1]), w < h && (n = Math.min(n, D + e.naturalSuffixMin[Math.max(t + 1, w + 1)])), n > r + j;
|
|
296
|
+
}, N = t, P = -1, F = null;
|
|
297
|
+
for (let n = t + 1; n <= h; n++) {
|
|
298
|
+
let a = n - 1, C = c[a];
|
|
299
|
+
if (C.type === "text" && P >= 0 && e.segStart[a] === e.segStart[a - 1]) {
|
|
300
|
+
let r = X(e, P, t, n);
|
|
301
|
+
x = F === null ? r : r + F;
|
|
302
|
+
} else {
|
|
303
|
+
if (S) for (let e = 0; e < u; e++) y ? v[e] += x : (d[e] += x, f[e] += x);
|
|
304
|
+
if (C.type === "tab") {
|
|
305
|
+
for (let e = 0; e < u; e++) {
|
|
306
|
+
if (y) {
|
|
307
|
+
let t = v[e], n = p[e] + l[e];
|
|
308
|
+
_[e] || (n = m[e] - t * g[e], n < p[e] && (n = p[e])), d[e] += n - p[e] + t, f[e] = n + t;
|
|
309
|
+
}
|
|
310
|
+
p[e] = f[e];
|
|
311
|
+
let t = null;
|
|
312
|
+
for (let n of o) n.pos > f[e] && (t === null || n.pos < t.pos) && (t = n);
|
|
313
|
+
t === null && s > 0 && (t = {
|
|
314
|
+
pos: (Math.floor(f[e] / s) + 1) * s,
|
|
315
|
+
algn: "l"
|
|
316
|
+
}), _[e] = +(t === null), m[e] = t?.pos ?? 0, g[e] = t?.algn === "ctr" ? .5 : +(t?.algn === "r" || t?.algn === "dec"), v[e] = 0;
|
|
317
|
+
}
|
|
318
|
+
y = !0, b = e.tabGap[a], P = -1, x = 0, S = !1;
|
|
319
|
+
} else if (C.type === "text") {
|
|
320
|
+
let r = P >= 0 ? c[P] : void 0;
|
|
321
|
+
F = r?.type === "text" ? i.boundaryAdvance?.(r.style, C.style) ?? 0 : null, P = a;
|
|
322
|
+
let o = X(e, P, t, n);
|
|
323
|
+
x = F === null ? o : o + F, S = !0;
|
|
324
|
+
} else P = -1, x = C.width, S = !0;
|
|
325
|
+
}
|
|
326
|
+
let w;
|
|
327
|
+
if (!y) w = d[b] + x;
|
|
328
|
+
else {
|
|
329
|
+
let e = v[b] + x, t = l[b];
|
|
330
|
+
if (!_[b]) {
|
|
331
|
+
let n = m[b] - e * g[b];
|
|
332
|
+
n < p[b] && (n = p[b]), t = n - p[b];
|
|
333
|
+
}
|
|
334
|
+
w = d[b] + t + e;
|
|
335
|
+
}
|
|
336
|
+
if (w <= r) {
|
|
337
|
+
if (n === h) return h;
|
|
338
|
+
N = n;
|
|
339
|
+
}
|
|
340
|
+
if (n < h && M(n)) break;
|
|
341
|
+
}
|
|
342
|
+
return N;
|
|
343
|
+
}, X = (e, t, n, r) => t === n ? Y(e, n, r) : Y(e, t, r), Z = new Int32Array(h).fill(-1);
|
|
344
|
+
x.push(Z);
|
|
345
|
+
let Q = (e, t) => {
|
|
346
|
+
for (let n = e; n < t; n++) Z[n] = y.length - 1, S[c[n].run] = 1;
|
|
347
|
+
}, $ = 0;
|
|
348
|
+
if (h === 0) {
|
|
349
|
+
y.push({
|
|
350
|
+
segments: [],
|
|
351
|
+
width: 0,
|
|
352
|
+
...e + 1 < s.length ? { endsWithBreak: !0 } : {},
|
|
353
|
+
...g[e] >= 0 ? { lineFeedRun: g[e] } : {},
|
|
354
|
+
..._[e] === void 0 ? {} : { endBreakRun: _[e] }
|
|
355
|
+
});
|
|
356
|
+
continue;
|
|
357
|
+
}
|
|
358
|
+
for (; $ < h;) {
|
|
359
|
+
let n = y.length, r = i.maxWidth - (n === 0 ? i.firstLineIndent ?? 0 : 0), a = (e) => O !== null && k && D !== void 0 ? i.measureText(O.slice(k[$], k[e]), D) : H($, e, n).width, o = h;
|
|
360
|
+
if (Number.isFinite(r) && i.nonMonotoneMeasure) o = ee($, n, r);
|
|
361
|
+
else if (Number.isFinite(r)) {
|
|
362
|
+
let e = $, t = h, n = 1;
|
|
363
|
+
for (; e < h;) {
|
|
364
|
+
let i = Math.min(h, $ + n);
|
|
365
|
+
if (a(i) <= r) {
|
|
366
|
+
if (e = i, i === h) break;
|
|
367
|
+
n *= 2;
|
|
368
|
+
} else {
|
|
369
|
+
t = i - 1;
|
|
370
|
+
break;
|
|
371
|
+
}
|
|
372
|
+
}
|
|
373
|
+
for (; e < t;) {
|
|
374
|
+
let n = Math.ceil((e + t) / 2);
|
|
375
|
+
a(n) <= r ? e = n : t = n - 1;
|
|
376
|
+
}
|
|
377
|
+
o = e;
|
|
378
|
+
}
|
|
379
|
+
if (o >= h) {
|
|
380
|
+
let t = H($, h, n);
|
|
381
|
+
e + 1 < s.length && (t.endsWithBreak = !0), y.push(t), Q($, h);
|
|
382
|
+
break;
|
|
383
|
+
}
|
|
384
|
+
let u = 0;
|
|
385
|
+
for (let e = $ + 1; e <= o; e++) E[e] && (u = e);
|
|
386
|
+
if (u > $ && M(u) && (u = h), M($)) for (u = $ + 2; u < h && !p(c[u]) && c[u].type !== "tab";) u++;
|
|
387
|
+
if (u === 0) if (c[$].type === "tab" && o <= $ + 1) {
|
|
388
|
+
if (u = $ + 1, u < h && c[u].type === "text") for (u++; u < h && !E[u];) u++;
|
|
389
|
+
} else u = Math.max($ + 1, o);
|
|
390
|
+
let d = c[u - 1], f = u < h ? c[u] : void 0;
|
|
391
|
+
if (C && f && (m(d) || m(f)) && (d.run === f.run || I(d, f))) {
|
|
392
|
+
let { chars: e, offsets: n } = F(), r = n[$ - P], i = n[u - P];
|
|
393
|
+
if (i - r > 1 && i < e.length) {
|
|
394
|
+
let a = d.run !== f.run, o = a ? z(u) : $ + 1, s = t(e, i, l, a ? n[o - P] : r + 1), c = i - s;
|
|
395
|
+
if (c > 0) if (a) {
|
|
396
|
+
let e = o, t = u;
|
|
397
|
+
for (; e < t;) {
|
|
398
|
+
let r = Math.floor((e + t) / 2);
|
|
399
|
+
n[r - P] < s ? e = r + 1 : t = r;
|
|
400
|
+
}
|
|
401
|
+
u = e;
|
|
402
|
+
} else u - c > $ && (u -= c);
|
|
403
|
+
}
|
|
404
|
+
}
|
|
405
|
+
for (y.push(H($, u, n)), Q($, u), $ = u; $ < h && p(c[$]);) $++;
|
|
406
|
+
}
|
|
407
|
+
}
|
|
408
|
+
for (let e = 0; e < _.length; e++) {
|
|
409
|
+
let t = _[e];
|
|
410
|
+
if (t === void 0) continue;
|
|
411
|
+
let n = b[e], r = e + 1 < b.length ? b[e + 1] : y.length;
|
|
412
|
+
r > n && (y[r - 1].endBreakRun = t);
|
|
413
|
+
}
|
|
414
|
+
for (let t = 0; t < e.length; t++) {
|
|
415
|
+
if (e[t].type !== "text" || S[t]) continue;
|
|
416
|
+
let n = h[t], r = s[n], i = x[n], a = 0, o = r.length;
|
|
417
|
+
for (; a < o;) {
|
|
418
|
+
let e = a + o >> 1;
|
|
419
|
+
r[e].run < t ? a = e + 1 : o = e;
|
|
420
|
+
}
|
|
421
|
+
let c = b[n];
|
|
422
|
+
for (let e = a - 1; e >= 0; e--) if (i[e] >= 0) {
|
|
423
|
+
c = i[e];
|
|
424
|
+
break;
|
|
425
|
+
}
|
|
426
|
+
(y[c].hiddenRuns ??= []).push(t);
|
|
427
|
+
}
|
|
428
|
+
return y;
|
|
429
|
+
}
|
|
430
|
+
function g(e, t, n, r) {
|
|
431
|
+
let i = n.lIns * r, a = n.rIns * r, o = n.tIns * r, s = n.bIns * r;
|
|
432
|
+
return {
|
|
433
|
+
left: i,
|
|
434
|
+
top: o,
|
|
435
|
+
width: Math.max(0, e - i - a),
|
|
436
|
+
height: Math.max(0, t - o - s)
|
|
437
|
+
};
|
|
438
|
+
}
|
|
439
|
+
function _(e, t, n, r = 0) {
|
|
440
|
+
let i = t?.type === "pts" ? t.val * n : e * (t?.type === "pct" ? t.val / 1e5 : 1);
|
|
441
|
+
return t?.type === "pts" ? i : i * (1 - r);
|
|
442
|
+
}
|
|
443
|
+
function v(e, t, n, r = 0) {
|
|
444
|
+
let i = e.ascent + e.descent, a = _(i, t, n, r);
|
|
445
|
+
if (a === i) return {
|
|
446
|
+
ascent: e.ascent,
|
|
447
|
+
descent: e.descent
|
|
448
|
+
};
|
|
449
|
+
let o = Math.max(0, e.descent - .25 * i), s = a < i ? Math.min(e.descent, .25 * a + o) : .25 * a <= e.descent ? e.descent : .25 * a + o;
|
|
450
|
+
return {
|
|
451
|
+
ascent: a - s,
|
|
452
|
+
descent: s
|
|
453
|
+
};
|
|
454
|
+
}
|
|
455
|
+
function y(e, t, n) {
|
|
456
|
+
return e ? e.type === "pts" ? e.val * n : t * (e.val / 1e5) : 0;
|
|
457
|
+
}
|
|
458
|
+
function b(e, t, n) {
|
|
459
|
+
return e === "ctr" ? t.top + (t.height - n) / 2 : e === "b" ? t.top + Math.max(0, t.height - n) : t.top;
|
|
460
|
+
}
|
|
461
|
+
function x(e, t, n, r, i = !1, a = !1) {
|
|
462
|
+
let o = a ? n - r : Math.max(0, n - r);
|
|
463
|
+
return e === "ctr" ? t + o / 2 : e === "r" || i && (e === "l" || e == null) ? t + o : t;
|
|
464
|
+
}
|
|
465
|
+
function S(e, t, n) {
|
|
466
|
+
return e === "dist" || e === "thaiDist" ? !0 : e === "just" || e === "justLow" ? !t && !n : !1;
|
|
467
|
+
}
|
|
468
|
+
var C = (e) => e.reduce((e, t) => e + t.advance, 0);
|
|
469
|
+
function w(e) {
|
|
470
|
+
let t = e.length;
|
|
471
|
+
for (; t > 0 && e[t - 1].space;) t--;
|
|
472
|
+
return t;
|
|
473
|
+
}
|
|
474
|
+
function T(e, t) {
|
|
475
|
+
let { rect: n, pxPerPt: r } = t, i = t.lnSpcReduction ?? 0, a = [], o = [];
|
|
476
|
+
e.forEach((s, c) => {
|
|
477
|
+
let l = h(s.runs, {
|
|
478
|
+
maxWidth: t.wrap ? Math.max(0, n.height - (s.marginStart ?? 0) - (s.marginEnd ?? 0)) : Infinity,
|
|
479
|
+
firstLineIndent: (s.firstLineIndent ?? 0) + (s.firstLinePrefix?.advance ?? 0),
|
|
480
|
+
measureText: (e, n) => C(t.glyphs(e, n)),
|
|
481
|
+
sameStyle: t.sameStyle,
|
|
482
|
+
eastAsianLineBreak: s.eastAsianLineBreak
|
|
483
|
+
}), u = l.map((e, n) => {
|
|
484
|
+
let a = e.segments.flatMap((e) => {
|
|
485
|
+
if (e.type === "text") return t.glyphs(e.text, e.style);
|
|
486
|
+
if (e.type === "object") {
|
|
487
|
+
if (!t.objectGlyph) throw Error("Stacked inline objects require a host object adapter");
|
|
488
|
+
let n = t.objectGlyph(e);
|
|
489
|
+
return n.advance === 0 && n.thickness === 0 ? [] : [n];
|
|
490
|
+
}
|
|
491
|
+
return [];
|
|
492
|
+
}), o = a.length > 0 ? 0 : s.emptyThickness;
|
|
493
|
+
for (let e of a) e.thickness > o && (o = e.thickness);
|
|
494
|
+
n === 0 && s.firstLinePrefix && (o = Math.max(o, s.firstLinePrefix.thickness));
|
|
495
|
+
let u = v({
|
|
496
|
+
ascent: o / 2,
|
|
497
|
+
descent: o / 2
|
|
498
|
+
}, s.lineSpacing, r, i);
|
|
499
|
+
return {
|
|
500
|
+
glyphs: a,
|
|
501
|
+
paragraph: c,
|
|
502
|
+
firstInParagraph: n === 0,
|
|
503
|
+
lastInParagraph: n === l.length - 1,
|
|
504
|
+
endsWithBreak: e.endsWithBreak === !0,
|
|
505
|
+
thickness: o,
|
|
506
|
+
ascent: u.ascent,
|
|
507
|
+
descent: u.descent
|
|
508
|
+
};
|
|
509
|
+
});
|
|
510
|
+
if (u.length === 0) {
|
|
511
|
+
let e = s.emptyThickness, t = v({
|
|
512
|
+
ascent: e / 2,
|
|
513
|
+
descent: e / 2
|
|
514
|
+
}, s.lineSpacing, r, i);
|
|
515
|
+
u.push({
|
|
516
|
+
glyphs: [],
|
|
517
|
+
paragraph: c,
|
|
518
|
+
firstInParagraph: !0,
|
|
519
|
+
lastInParagraph: !0,
|
|
520
|
+
endsWithBreak: !1,
|
|
521
|
+
thickness: e,
|
|
522
|
+
ascent: t.ascent,
|
|
523
|
+
descent: t.descent
|
|
524
|
+
});
|
|
525
|
+
}
|
|
526
|
+
let d = c === 0, f = c === e.length - 1, p = t.spcFirstLastPara === !0, m = d && !p ? 0 : y(s.spaceBefore, u[0].thickness, r), g = f && !p ? 0 : y(s.spaceAfter, u[u.length - 1].thickness, r), _ = [];
|
|
527
|
+
m && _.push({
|
|
528
|
+
type: "gap",
|
|
529
|
+
size: m
|
|
530
|
+
});
|
|
531
|
+
for (let e of u) _.push({
|
|
532
|
+
type: "line",
|
|
533
|
+
line: e
|
|
534
|
+
}), a.push(e);
|
|
535
|
+
g && _.push({
|
|
536
|
+
type: "gap",
|
|
537
|
+
size: g
|
|
538
|
+
}), o.push(_);
|
|
539
|
+
});
|
|
540
|
+
let s = a[a.length - 1];
|
|
541
|
+
s && s.descent < s.thickness / 2 && (s.descent = s.thickness / 2);
|
|
542
|
+
let c = t.direction === "wordArtVertRtl", l = [], u = 0;
|
|
543
|
+
for (let e of o) {
|
|
544
|
+
let t = c ? e : e.slice().reverse(), n = e.filter((e) => e.type === "line"), r = 0;
|
|
545
|
+
for (let e of t) {
|
|
546
|
+
if (e.type === "gap") {
|
|
547
|
+
u += e.size;
|
|
548
|
+
continue;
|
|
549
|
+
}
|
|
550
|
+
let t = n[r++].line;
|
|
551
|
+
l.push(u + (c ? t.ascent : t.descent)), u += t.ascent + t.descent;
|
|
552
|
+
}
|
|
553
|
+
}
|
|
554
|
+
let d = u, f = n.width - d, p = t.anchor === "ctr" ? f / 2 : t.anchor === "b" ? Math.max(0, f) : 0, m = n.top, g = n.height;
|
|
555
|
+
if (t.anchorCtr) {
|
|
556
|
+
let t = 0;
|
|
557
|
+
for (let n of a) t = Math.max(t, C(n.glyphs.slice(0, w(n.glyphs))) + (n.firstInParagraph ? e[n.paragraph].firstLinePrefix?.advance ?? 0 : 0));
|
|
558
|
+
m = n.top + (n.height - t) / 2, g = t;
|
|
559
|
+
}
|
|
560
|
+
let _ = [], b = [];
|
|
561
|
+
return a.forEach((t, r) => {
|
|
562
|
+
let i = c ? n.left + n.width - p - l[r] : n.left + p + l[r], a = e[t.paragraph], o = a.alignment, s = t.firstInParagraph ? a.firstLinePrefix : void 0, u = s?.advance ?? 0, d = (a.marginStart ?? 0) + (t.firstInParagraph ? a.firstLineIndent ?? 0 : 0) + u, f = a.marginEnd ?? 0, h = m + d, v = w(t.glyphs), y = C(t.glyphs.slice(0, v)), x = g - d - f - y, T = h, E = () => 0, D = t.lastInParagraph;
|
|
563
|
+
if (o === "dist" || o === "thaiDist") v <= 1 ? T = h + x / 2 : E = (e) => e < v - 1 ? Math.max(0, x) / (v - 1) : 0;
|
|
564
|
+
else if (S(o, D, t.endsWithBreak)) {
|
|
565
|
+
let e = t.glyphs.slice(0, v).filter((e) => e.space).length;
|
|
566
|
+
e > 0 && (E = (n) => n < v && t.glyphs[n].space ? Math.max(0, x) / e : 0);
|
|
567
|
+
} else o === "ctr" ? T = h + x / 2 : o === "r" && (T = h + x);
|
|
568
|
+
b.push({
|
|
569
|
+
axisX: i,
|
|
570
|
+
thickness: t.thickness,
|
|
571
|
+
paragraph: t.paragraph,
|
|
572
|
+
...s ? { prefixTop: T - u } : {}
|
|
573
|
+
});
|
|
574
|
+
let O = T;
|
|
575
|
+
t.glyphs.forEach((e, t) => {
|
|
576
|
+
_.push({
|
|
577
|
+
...e,
|
|
578
|
+
axisX: i,
|
|
579
|
+
cellTop: O,
|
|
580
|
+
column: r
|
|
581
|
+
}), O += e.advance + E(t);
|
|
582
|
+
});
|
|
583
|
+
}), {
|
|
584
|
+
glyphs: _,
|
|
585
|
+
columns: b,
|
|
586
|
+
blockWidth: d
|
|
587
|
+
};
|
|
588
|
+
}
|
|
589
|
+
var E = 7 / 6;
|
|
590
|
+
function D(t, n, r) {
|
|
591
|
+
let i = n ? 700 : 400, a = e(t, {
|
|
592
|
+
weight: i,
|
|
593
|
+
style: r ? "italic" : "normal"
|
|
594
|
+
});
|
|
595
|
+
return a.length === 0 && (a = e(t, { weight: i })), a.length === 0 && (a = e(t)), a.find((e) => e.source === "macos-supplemental") ?? a.find((e) => e.source === "office-mac") ?? a[0];
|
|
596
|
+
}
|
|
597
|
+
function O(e, t, n) {
|
|
598
|
+
let r = D(e, t, n);
|
|
599
|
+
if (!(!r || !(r.unitsPerEm > 0))) {
|
|
600
|
+
if (r.typoMetrics) {
|
|
601
|
+
let [e, t, n] = r.typoMetrics;
|
|
602
|
+
return {
|
|
603
|
+
ascent: (e + Math.max(0, n)) / r.unitsPerEm,
|
|
604
|
+
descent: -t / r.unitsPerEm
|
|
605
|
+
};
|
|
606
|
+
}
|
|
607
|
+
if (r.win) return {
|
|
608
|
+
ascent: r.win[0] / r.unitsPerEm,
|
|
609
|
+
descent: r.win[1] / r.unitsPerEm
|
|
610
|
+
};
|
|
611
|
+
}
|
|
612
|
+
}
|
|
613
|
+
var k = new Set([..."()<>[]{}…‥‐←→↑↓―∥、。ー~=_ ̄|()〔〕[]{}〈〉《》「」『』【】〖〗"].map((e) => e.codePointAt(0)));
|
|
614
|
+
function A(e) {
|
|
615
|
+
return k.has(e);
|
|
616
|
+
}
|
|
617
|
+
function j(e, t, n = !1, r = !1) {
|
|
618
|
+
if (!k.has(t)) return;
|
|
619
|
+
let i = D(e, n, r), a = String.fromCodePoint(t);
|
|
620
|
+
return i?.stackedVerticalGlyphs?.includes(a) ? "vert" : t >= 128 && i?.stackedVrt2OnlyGlyphs?.includes(a) ? "nominal" : void 0;
|
|
621
|
+
}
|
|
622
|
+
function M(e, t, n, r = !1) {
|
|
623
|
+
let i = [], a = c(e);
|
|
624
|
+
a.push(e.length);
|
|
625
|
+
let o = 0;
|
|
626
|
+
for (let s of a) {
|
|
627
|
+
let a = e.slice(o, s);
|
|
628
|
+
if (o = s, !a) continue;
|
|
629
|
+
let c = a.codePointAt(0) ?? 0, l = r ? void 0 : j(t.family, c, t.bold, t.italic);
|
|
630
|
+
r || !A(c) ? i.push({
|
|
631
|
+
text: a,
|
|
632
|
+
kind: "upright",
|
|
633
|
+
advance: n.upright
|
|
634
|
+
}) : l ? i.push({
|
|
635
|
+
text: a,
|
|
636
|
+
kind: "verticalGlyph",
|
|
637
|
+
advance: n.verticalGlyph,
|
|
638
|
+
...l === "nominal" ? { nominal: !0 } : {}
|
|
639
|
+
}) : i.push({
|
|
640
|
+
text: a,
|
|
641
|
+
kind: "rotated",
|
|
642
|
+
advance: n.rotated(a)
|
|
643
|
+
});
|
|
644
|
+
}
|
|
645
|
+
return i;
|
|
646
|
+
}
|
|
647
|
+
function N(e) {
|
|
648
|
+
return e.nominal ? e.text : P(e.text);
|
|
649
|
+
}
|
|
650
|
+
function P(e) {
|
|
651
|
+
let t = e.codePointAt(0) ?? 0;
|
|
652
|
+
if (String.fromCodePoint(t) !== e) return null;
|
|
653
|
+
let n = i(t) ?? a(t);
|
|
654
|
+
return n === null ? null : String.fromCodePoint(n);
|
|
655
|
+
}
|
|
656
|
+
function F(e, t, n, r) {
|
|
657
|
+
return e + t - n.descent * r;
|
|
658
|
+
}
|
|
659
|
+
function I(e, t, n, r, i, a, o) {
|
|
660
|
+
let s = n - (i.ascent + i.descent) * a / 2, c = r + i.ascent * a;
|
|
661
|
+
e.textAlign = "left", e.textBaseline = "alphabetic", o?.(s, c), e.fillText(t, s, c);
|
|
662
|
+
}
|
|
663
|
+
function L(e, t, n, r, i, a, o) {
|
|
664
|
+
e.save(), e.translate(n - (i.ascent - i.descent) * a / 2, r), e.rotate(Math.PI / 2), e.textAlign = "left", e.textBaseline = "alphabetic", o?.(), e.fillText(t, 0, 0), e.restore();
|
|
665
|
+
}
|
|
666
|
+
function R(e, t) {
|
|
667
|
+
if (!Number.isSafeInteger(e) || e < 0) throw Error(`${t} must be a non-negative safe integer`);
|
|
668
|
+
}
|
|
669
|
+
function z(e, t, n) {
|
|
670
|
+
return R(e, "resource measurement"), R(t, "resource measurement"), R(n, "resource measurement limit"), e > n || t > n || t > n - e ? n === 2 ** 53 - 1 ? n : n + 1 : e + t;
|
|
671
|
+
}
|
|
672
|
+
function B(e, t = 2 ** 53 - 1) {
|
|
673
|
+
R(t, "resource measurement limit");
|
|
674
|
+
let n = 0;
|
|
675
|
+
for (let r = 0; r < e.length; r += 1) {
|
|
676
|
+
let i = e.charCodeAt(r), a;
|
|
677
|
+
if (i <= 127) a = 1;
|
|
678
|
+
else if (i <= 2047) a = 2;
|
|
679
|
+
else if (i >= 55296 && i <= 56319 && r + 1 < e.length) {
|
|
680
|
+
let t = e.charCodeAt(r + 1);
|
|
681
|
+
t >= 56320 && t <= 57343 ? (a = 4, r += 1) : a = 3;
|
|
682
|
+
} else a = 3;
|
|
683
|
+
if (n = z(n, a, t), n > t) return n;
|
|
684
|
+
}
|
|
685
|
+
return n;
|
|
686
|
+
}
|
|
687
|
+
function V(e, t = 2 ** 53 - 1) {
|
|
688
|
+
R(t, "resource measurement limit");
|
|
689
|
+
let n = z(0, 2, t);
|
|
690
|
+
if (n > t) return n;
|
|
691
|
+
for (let r = 0; r < e.length; r += 1) {
|
|
692
|
+
let i = e.charCodeAt(r), a;
|
|
693
|
+
if (i === 34 || i === 92 || i === 8 || i === 9 || i === 10 || i === 12 || i === 13) a = 2;
|
|
694
|
+
else if (i <= 31) a = 6;
|
|
695
|
+
else if (i <= 127) a = 1;
|
|
696
|
+
else if (i <= 2047) a = 2;
|
|
697
|
+
else if (i >= 55296 && i <= 56319 && r + 1 < e.length) {
|
|
698
|
+
let t = e.charCodeAt(r + 1);
|
|
699
|
+
t >= 56320 && t <= 57343 ? (a = 4, r += 1) : a = 6;
|
|
700
|
+
} else a = i >= 55296 && i <= 57343 ? 6 : 3;
|
|
701
|
+
if (n = z(n, a, t), n > t) return n;
|
|
702
|
+
}
|
|
703
|
+
return n;
|
|
704
|
+
}
|
|
705
|
+
function H(e, t) {
|
|
706
|
+
return z(0, e, t);
|
|
707
|
+
}
|
|
708
|
+
function U(e, t = 2 ** 53 - 1, n = !1) {
|
|
709
|
+
if (R(t, "resource measurement limit"), e === null) return {
|
|
710
|
+
jsonBytes: H(4, t),
|
|
711
|
+
stringValueUtf8Bytes: 0
|
|
712
|
+
};
|
|
713
|
+
if (typeof e == "string") return {
|
|
714
|
+
jsonBytes: V(e, t),
|
|
715
|
+
stringValueUtf8Bytes: B(e, t)
|
|
716
|
+
};
|
|
717
|
+
if (typeof e == "boolean") return {
|
|
718
|
+
jsonBytes: H(e ? 4 : 5, t),
|
|
719
|
+
stringValueUtf8Bytes: 0
|
|
720
|
+
};
|
|
721
|
+
if (typeof e == "number") return {
|
|
722
|
+
jsonBytes: H((Number.isFinite(e) ? String(Object.is(e, -0) ? 0 : e) : "null").length, t),
|
|
723
|
+
stringValueUtf8Bytes: 0
|
|
724
|
+
};
|
|
725
|
+
if (typeof e == "bigint") throw TypeError("BigInt values cannot be serialized to JSON");
|
|
726
|
+
if (Array.isArray(e)) {
|
|
727
|
+
let n = H(2, t), r = 0;
|
|
728
|
+
for (let i = 0; i < e.length; i += 1) {
|
|
729
|
+
i !== 0 && (n = z(n, 1, t));
|
|
730
|
+
let a = U(e[i], t, !0);
|
|
731
|
+
n = z(n, a.jsonBytes, t), r = z(r, a.stringValueUtf8Bytes, t);
|
|
732
|
+
}
|
|
733
|
+
return {
|
|
734
|
+
jsonBytes: n,
|
|
735
|
+
stringValueUtf8Bytes: r
|
|
736
|
+
};
|
|
737
|
+
}
|
|
738
|
+
if (typeof e == "object") {
|
|
739
|
+
let n = H(2, t), r = 0, i = 0;
|
|
740
|
+
for (let [a, o] of Object.entries(e)) {
|
|
741
|
+
if (o === void 0 || typeof o == "function" || typeof o == "symbol") continue;
|
|
742
|
+
i++ !== 0 && (n = z(n, 1, t)), n = z(n, V(a, t), t), n = z(n, 1, t);
|
|
743
|
+
let e = U(o, t);
|
|
744
|
+
n = z(n, e.jsonBytes, t), r = z(r, e.stringValueUtf8Bytes, t);
|
|
745
|
+
}
|
|
746
|
+
return {
|
|
747
|
+
jsonBytes: n,
|
|
748
|
+
stringValueUtf8Bytes: r
|
|
749
|
+
};
|
|
750
|
+
}
|
|
751
|
+
return {
|
|
752
|
+
jsonBytes: n ? H(4, t) : 0,
|
|
753
|
+
stringValueUtf8Bytes: 0
|
|
754
|
+
};
|
|
755
|
+
}
|
|
756
|
+
export { v as _, I as a, N as c, T as d, S as f, y as g, _ as h, L as i, E as l, b as m, U as n, M as o, x as p, B as r, F as s, z as t, O as u, g as v, h as y };
|